tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xfsprogs: 4.2.0 -> 4.5.0
Tuomas Tynkkynen
9 years ago
f80508df
34086084
+15
-26
2 changed files
expand all
collapse all
unified
split
pkgs
tools
filesystems
xfsprogs
4.3.0-sharedlibs.patch
default.nix
+12
-23
pkgs/tools/filesystems/xfsprogs/4.2.0-sharedlibs.patch
pkgs/tools/filesystems/xfsprogs/4.3.0-sharedlibs.patch
···
1
1
-
--- xfsprogs-4.2.0/include/buildmacros
2
2
-
+++ xfsprogs-4.2.0/include/buildmacros
1
1
+
--- xfsprogs-4.3.0/include/buildmacros
2
2
+
+++ xfsprogs-4.3.0/include/buildmacros
3
3
@@ -70,18 +70,9 @@
4
4
# /usr/lib.
5
5
ifeq ($(ENABLE_SHARED),yes)
···
22
22
else
23
23
INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
24
24
endif
25
25
-
--- xfsprogs-4.2.0/libxcmd/Makefile
26
26
-
+++ xfsprogs-4.2.0/libxcmd/Makefile
25
25
+
--- xfsprogs-4.3.0/libxcmd/Makefile
26
26
+
+++ xfsprogs-4.3.0/libxcmd/Makefile
27
27
@@ -34,6 +34,9 @@
28
28
29
29
include $(BUILDRULES)
···
35
35
+ $(INSTALL_LTLIB_DEV)
36
36
37
37
-include .ltdep
38
38
-
--- xfsprogs-4.2.0/libxfs/Makefile
39
39
-
+++ xfsprogs-4.2.0/libxfs/Makefile
38
38
+
--- xfsprogs-4.3.0/libxfs/Makefile
39
39
+
+++ xfsprogs-4.3.0/libxfs/Makefile
40
40
@@ -138,6 +138,7 @@
41
41
42
42
install-dev: install
···
45
45
46
46
# We need to install the headers before building the dependencies. If we
47
47
# include the .ltdep file, the makefile decides that it needs to build the
48
48
-
--- xfsprogs-4.2.0/libxlog/Makefile
49
49
-
+++ xfsprogs-4.2.0/libxlog/Makefile
48
48
+
--- xfsprogs-4.3.0/libxlog/Makefile
49
49
+
+++ xfsprogs-4.3.0/libxlog/Makefile
50
50
@@ -12,6 +12,8 @@
51
51
52
52
CFILES = xfs_log_recover.c util.c
···
67
67
+ $(INSTALL_LTLIB_DEV)
68
68
69
69
-include .ltdep
70
70
-
--- xfsprogs-4.2.0/Makefile
71
71
-
+++ xfsprogs-4.2.0/Makefile
72
72
-
@@ -81,6 +81,8 @@
73
73
-
io: libxcmd libhandle
74
74
-
quota: libxcmd
75
75
-
repair: libxlog
76
76
-
+libxlog: libxfs
77
77
-
+libxlog-install-dev: libxfs-install-dev
78
78
-
79
79
-
80
80
-
ifeq ($(HAVE_BUILDDEFS), yes)
81
81
-
--- xfsprogs-4.2.0/quota/Makefile
82
82
-
+++ xfsprogs-4.2.0/quota/Makefile
70
70
+
--- xfsprogs-4.3.0/quota/Makefile
71
71
+
+++ xfsprogs-4.3.0/quota/Makefile
83
72
@@ -16,7 +16,6 @@ LSRCFILES = $(shell echo $(PCFILES) | sed -e "s/$(PKG_PLATFORM).c//g")
84
73
85
74
LLDLIBS = $(LIBXCMD)
···
88
77
89
78
ifeq ($(ENABLE_READLINE),yes)
90
79
LLDLIBS += $(LIBREADLINE) $(LIBTERMCAP)
91
91
-
--- xfsprogs-4.2.0/mdrestore/Makefile
92
92
-
+++ xfsprogs-4.2.0/mdrestore/Makefile
80
80
+
--- xfsprogs-4.3.0/mdrestore/Makefile
81
81
+
+++ xfsprogs-4.3.0/mdrestore/Makefile
93
82
@@ -10,7 +10,6 @@ CFILES = xfs_mdrestore.c
94
83
95
84
LLDLIBS = $(LIBXFS) $(LIBRT) $(LIBPTHREAD) $(LIBUUID)
+3
-3
pkgs/tools/filesystems/xfsprogs/default.nix
···
1
1
{ stdenv, fetchurl, gettext, libuuid, readline }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
-
name = "xfsprogs-4.2.0";
4
4
+
name = "xfsprogs-4.5.0";
5
5
6
6
src = fetchurl {
7
7
urls = map (dir: "ftp://oss.sgi.com/projects/xfs/${dir}/${name}.tar.gz")
8
8
[ "cmd_tars" "previous" ];
9
9
-
sha256 = "0q2j1rrh37kqyihaq5lc31xdi36lgg9asidaad0fada61ynv3six";
9
9
+
sha256 = "1y49rwvbbvqdq2a1x7p5i05bcfyv6xhmrfwafl6vvvw494qyp6z4";
10
10
};
11
11
12
12
prePatch = ''
···
21
21
22
22
patches = [
23
23
# This patch fixes shared libs installation, still not fixed in 4.2.0
24
24
-
./4.2.0-sharedlibs.patch
24
24
+
./4.3.0-sharedlibs.patch
25
25
];
26
26
27
27
buildInputs = [ gettext libuuid readline ];