diff options
-rw-r--r-- | pkgs/development/libraries/nspr/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/nss/default.nix | 6 | ||||
-rw-r--r-- | pkgs/development/tools/misc/elfutils/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/package-management/rpm/default.nix | 35 | ||||
-rw-r--r-- | pkgs/tools/package-management/rpm/no-lua.patch | 15 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 3 |
6 files changed, 24 insertions, 43 deletions
diff --git a/pkgs/development/libraries/nspr/default.nix b/pkgs/development/libraries/nspr/default.nix index 41103e58bb1ed..84f891d94fe53 100644 --- a/pkgs/development/libraries/nspr/default.nix +++ b/pkgs/development/libraries/nspr/default.nix @@ -1,13 +1,13 @@ {stdenv, fetchurl}: -let version = "4.8"; in +let version = "4.8.2"; in stdenv.mkDerivation { name = "nspr-${version}"; src = fetchurl { url = "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${version}/src/nspr-${version}.tar.gz"; - sha256 = "1znvc7fb4f6318kbn1w86p134r4cslij25sg7kcspfx746m89pm2"; + sha256 = "1klv656ha97ysm4d0863sq2f1xyr5rijrh7k07gvdi7f88m1iv13"; }; preConfigure = "cd mozilla/nsprpub"; diff --git a/pkgs/development/libraries/nss/default.nix b/pkgs/development/libraries/nss/default.nix index 03d4c2241d0fe..ecdcc57a1068f 100644 --- a/pkgs/development/libraries/nss/default.nix +++ b/pkgs/development/libraries/nss/default.nix @@ -10,11 +10,11 @@ let in stdenv.mkDerivation { - name = "nss-3.12.3"; + name = "nss-3.12.4"; src = fetchurl { - url = http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_3_RTM/src/nss-3.12.3.tar.bz2; - sha1 = "eeca14a37629287baa10eb7562a5fb927e9dd171"; + url = http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_4_RTM/src/nss-3.12.4.tar.gz; + sha1 = "a152bf980f3a3dcf575c2d149fb279058ef2e757"; }; buildInputs = [nspr perl zlib]; diff --git a/pkgs/development/tools/misc/elfutils/default.nix b/pkgs/development/tools/misc/elfutils/default.nix index c4098b47e97dc..655fff50a5bc1 100644 --- a/pkgs/development/tools/misc/elfutils/default.nix +++ b/pkgs/development/tools/misc/elfutils/default.nix @@ -1,11 +1,11 @@ {stdenv, fetchurl, m4}: stdenv.mkDerivation rec { - name = "elfutils-0.140"; + name = "elfutils-0.143"; src = fetchurl { url = "https://fedorahosted.org/releases/e/l/elfutils/${name}.tar.bz2"; - sha256 = "5479c0a0b50b4a370a2baa0f8e906e7e51c403ce3afe3a4cbc6aea7c34eebffd"; + sha256 = "1zrqs93m6frg7j70a96xdhdb4mnzmqgh91f9bbm39jnmgs50qp23"; }; buildInputs = [m4]; diff --git a/pkgs/tools/package-management/rpm/default.nix b/pkgs/tools/package-management/rpm/default.nix index cc0a841144318..50f495ec8a621 100644 --- a/pkgs/tools/package-management/rpm/default.nix +++ b/pkgs/tools/package-management/rpm/default.nix @@ -1,31 +1,26 @@ -{stdenv, fetchurl, cpio, zlib, bzip2, file, sqlite, beecrypt, neon, elfutils}: +{ stdenv, fetchurl, cpio, zlib, bzip2, xz, file, elfutils, nspr, nss, popt, db4 }: -stdenv.mkDerivation { - name = "rpm-4.4.8"; +stdenv.mkDerivation rec { + name = "rpm-4.7.2"; src = fetchurl { - url = http://wraptastic.org/pub/rpm-4.4.x/rpm-4.4.8.tar.gz; - sha256 = "02ddf076bwcpxzxq9i0ii1fzw2r69fk0gjkk2yrzgzsmb01na230"; + url = "http://rpm.org/releases/rpm-4.7.x/${name}.tar.bz2"; + sha1 = "07b90f653775329ea726ce0005c4c82f56167ca0"; }; + buildInputs = [ cpio zlib bzip2 xz file nspr nss popt db4 ]; + # Note: we don't add elfutils to buildInputs, since it provides a # bad `ld' and other stuff. - buildInputs = [cpio zlib bzip2 file sqlite beecrypt neon]; - - NIX_CFLAGS_COMPILE = "-I${beecrypt}/include/beecrypt -I${neon}/include/neon -I${elfutils}/include"; + NIX_CFLAGS_COMPILE = "-I${nspr}/include/nspr -I${nss}/include/nss -I${elfutils}/include"; NIX_CFLAGS_LINK = "-L${elfutils}/lib"; + + configureFlags = "--with-external-db --without-lua"; - preConfigure = '' - rm -rf zlib file sqlite - - substituteInPlace ./installplatform --replace /usr/bin/env $(type -tp env) - substituteInPlace Makefile.in --replace /var/tmp $(pwd)/dummy - ''; - - dontDisableStatic = true; - - configureFlags = "--without-selinux --without-lua --without-python --without-perl"; - - patches = [./no-lua.patch]; + meta = { + homepage = http://www.rpm.org/; + license = "GPLv2"; + description = "The RPM Package Manager"; + }; } diff --git a/pkgs/tools/package-management/rpm/no-lua.patch b/pkgs/tools/package-management/rpm/no-lua.patch deleted file mode 100644 index 6df48b38bc55b..0000000000000 --- a/pkgs/tools/package-management/rpm/no-lua.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -rc rpm-4.4.8-orig/lib/poptALL.c rpm-4.4.8/lib/poptALL.c -*** rpm-4.4.8-orig/lib/poptALL.c 2007-03-21 19:46:31.000000000 +0100 ---- rpm-4.4.8/lib/poptALL.c 2007-03-21 19:44:45.000000000 +0100 -*************** -*** 483,489 **** ---- 483,491 ---- - rpmFreeMacros(NULL); - /*@i@*/ rpmFreeMacros(rpmCLIMacroContext); - rpmFreeRpmrc(); -+ #ifdef WITH_LUA - (void) rpmluaFree(NULL); -+ #endif - rpmFreeFilesystems(); - /*@i@*/ urlFreeCache(); - rpmlogClose(); diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 69d3466f7175f..2f866e4211a6e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1339,7 +1339,8 @@ let }; rpm = import ../tools/package-management/rpm { - inherit fetchurl stdenv cpio zlib bzip2 file sqlite beecrypt neon elfutils; + inherit fetchurl stdenv cpio zlib bzip2 xz file elfutils nspr nss popt; + db4 = db45; }; rrdtool = import ../tools/misc/rrdtool { |