Move all db4 packages to the default db5

This commit is contained in:
William A. Kennington III 2014-01-31 14:05:37 -06:00 committed by Bjørn Forsman
parent 99f5d2edb4
commit bdb842d5eb
37 changed files with 81 additions and 85 deletions

View file

@ -108,7 +108,7 @@ a <varname>preConfigure</varname> hook to generate a configuration
file used by <filename>Makefile.PL</filename>: file used by <filename>Makefile.PL</filename>:
<programlisting> <programlisting>
{buildPerlPackage, fetchurl, db4}: {buildPerlPackage, fetchurl, db}:
buildPerlPackage rec { buildPerlPackage rec {
name = "BerkeleyDB-0.36"; name = "BerkeleyDB-0.36";
@ -119,8 +119,8 @@ buildPerlPackage rec {
}; };
preConfigure = '' preConfigure = ''
echo "LIB = ${db4}/lib" > config.in echo "LIB = ${db}/lib" > config.in
echo "INCLUDE = ${db4}/include" >> config.in echo "INCLUDE = ${db}/include" >> config.in
''; '';
} }
</programlisting> </programlisting>

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg_0_10, libvorbis, mpc, libsndfile, jackaudio, db4, libmodplug, timidity, libid3tag, libtool }: { stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg_0_10, libvorbis, mpc, libsndfile, jackaudio, db, libmodplug, timidity, libid3tag, libtool }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "moc-${version}"; name = "moc-${version}";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
configurePhase = "./configure prefix=$out"; configurePhase = "./configure prefix=$out";
buildInputs = [ ncurses pkgconfig alsaLib flac libmad speex ffmpeg_0_10 libvorbis mpc libsndfile jackaudio db4 libmodplug timidity libid3tag libtool ]; buildInputs = [ ncurses pkgconfig alsaLib flac libmad speex ffmpeg_0_10 libvorbis mpc libsndfile jackaudio db libmodplug timidity libid3tag libtool ];
meta = { meta = {
description = "MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use."; description = "MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use.";

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, openssl, db4, boost, zlib, miniupnpc, qt4 }: { fetchurl, stdenv, openssl, db, boost, zlib, miniupnpc, qt4 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.8.6"; version = "0.8.6";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "036xx06gyrfh65rpdapff3viz1f38vzkj7lnhil6fc0s7pjmsjbk"; sha256 = "036xx06gyrfh65rpdapff3viz1f38vzkj7lnhil6fc0s7pjmsjbk";
}; };
buildInputs = [ openssl db4 boost zlib miniupnpc qt4 ]; buildInputs = [ openssl db boost zlib miniupnpc qt4 ];
configurePhase = '' configurePhase = ''
cd src cd src

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, db4, boost, gmp, mpfr, miniupnpc, qt4, unzip }: { fetchurl, stdenv, db, boost, gmp, mpfr, miniupnpc, qt4, unzip }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.8.3-1"; version = "0.8.3-1";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
# I think that openssl and zlib are required, but come through other # I think that openssl and zlib are required, but come through other
# packages # packages
buildInputs = [ db4 boost gmp mpfr miniupnpc qt4 unzip ]; buildInputs = [ db boost gmp mpfr miniupnpc qt4 unzip ];
configurePhase = "qmake"; configurePhase = "qmake";

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, db4, gtk, bzip2 }: { stdenv, fetchurl, db, gtk, bzip2 }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "jigdo-0.7.3"; name = "jigdo-0.7.3";
@ -14,7 +14,7 @@ stdenv.mkDerivation {
sha256 = "0jnlzm9m2hjlnw0zs2fv456ml5r2jj2q1lncqbrgg52lq18f6fa3"; sha256 = "0jnlzm9m2hjlnw0zs2fv456ml5r2jj2q1lncqbrgg52lq18f6fa3";
}; };
buildInputs = [ db4 gtk bzip2 ]; buildInputs = [ db gtk bzip2 ];
configureFlags = "--without-libdb"; configureFlags = "--without-libdb";

View file

@ -2,7 +2,7 @@ x@{builderDefsPackage
, cyrus_sasl, gettext, openldap, ptlib, opal, GConf, libXv, rarian, intltool , cyrus_sasl, gettext, openldap, ptlib, opal, GConf, libXv, rarian, intltool
, perl, perlXMLParser, evolution_data_server, gnome_doc_utils, avahi , perl, perlXMLParser, evolution_data_server, gnome_doc_utils, avahi
, libsigcxx, gtk, dbus_glib, libnotify, libXext, xextproto, automake , libsigcxx, gtk, dbus_glib, libnotify, libXext, xextproto, automake
, autoconf, pkgconfig, libxml2, videoproto, unixODBC, db4, nspr, nss, zlib , autoconf, pkgconfig, libxml2, videoproto, unixODBC, db, nspr, nss, zlib
, libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle , libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle
, ...}: , ...}:
builderDefsPackage builderDefsPackage

View file

@ -6,7 +6,7 @@
{ stdenv, fetchurl, pam, python3, tcsh, libxslt, perl, ArchiveZip { stdenv, fetchurl, pam, python3, tcsh, libxslt, perl, ArchiveZip
, CompressZlib, zlib, libjpeg, expat, pkgconfigUpstream, freetype, libwpd , CompressZlib, zlib, libjpeg, expat, pkgconfigUpstream, freetype, libwpd
, libxml2, db4, sablotron, curl, libXaw, fontconfig, libsndfile, neon , libxml2, db, sablotron, curl, libXaw, fontconfig, libsndfile, neon
, bison, flex, zip, unzip, gtk, libmspack, getopt, file, cairo, which , bison, flex, zip, unzip, gtk, libmspack, getopt, file, cairo, which
, icu, boost, jdk, ant, libXext, libX11, libXtst, libXi, cups , icu, boost, jdk, ant, libXext, libX11, libXtst, libXi, cups
, libXinerama, openssl, gperf, cppunit, GConf, ORBit2, poppler , libXinerama, openssl, gperf, cppunit, GConf, ORBit2, poppler
@ -248,7 +248,7 @@ stdenv.mkDerivation rec {
buildInputs = buildInputs =
[ ant ArchiveZip autoconf automake bison boost cairo clucene_core [ ant ArchiveZip autoconf automake bison boost cairo clucene_core
CompressZlib cppunit cups curl db4 dbus_glib expat file flex fontconfig CompressZlib cppunit cups curl db dbus_glib expat file flex fontconfig
freetype GConf getopt gnome_vfs gperf gst_plugins_base gstreamer gtk freetype GConf getopt gnome_vfs gperf gst_plugins_base gstreamer gtk
hunspell icu jdk kde4.kdelibs lcms libcdr libexttextcat unixODBC libjpeg hunspell icu jdk kde4.kdelibs lcms libcdr libexttextcat unixODBC libjpeg
libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11 libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11

View file

@ -1,6 +1,6 @@
args : with args; args : with args;
if (! python ? db4Support) || (! python.db4Support) then if (! python ? dbSupport) || (! python.dbSupport) then
throw ''Python DB4 support is required for codeville.'' throw ''Python DB4 support is required for codeville.''
else else

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, gettext, apr, aprutil, subversion, db4, kdelibs, expat }: { stdenv, fetchurl, gettext, apr, aprutil, subversion, db, kdelibs, expat }:
# the homepage mentions this is the final release. # the homepage mentions this is the final release.
# from now on, kdesvn will be part of the official kde software distribution # from now on, kdesvn will be part of the official kde software distribution
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sed -i -e "s|/usr|${subversion}|g" src/svnqt/cmakemodules/FindSubversion.cmake sed -i -e "s|/usr|${subversion}|g" src/svnqt/cmakemodules/FindSubversion.cmake
''; '';
buildInputs = [ apr aprutil subversion db4 kdelibs expat ]; buildInputs = [ apr aprutil subversion db kdelibs expat ];
nativeBuildInputs = [ gettext ]; nativeBuildInputs = [ gettext ];

View file

@ -1,5 +1,5 @@
{ fetchurl, stdenv, pkgconfig, gnome3, python, intltool, libsoup, libxml2, libsecret { fetchurl, stdenv, pkgconfig, gnome3, python, intltool, libsoup, libxml2, libsecret
, p11_kit, db4, nspr, nss, libical, gperf }: , p11_kit, db, nspr, nss, libical, gperf }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = with gnome3; buildInputs = with gnome3;
[ pkgconfig glib python intltool libsoup libxml2 gtk gnome_online_accounts libsecret [ pkgconfig glib python intltool libsoup libxml2 gtk gnome_online_accounts libsecret
gcr p11_kit db4 nspr nss libgweather libical libgdata gperf ]; gcr p11_kit db nspr nss libgweather libical libgdata gperf ];
# uoa irrelevant for now # uoa irrelevant for now
configureFlags = "--disable-uoa --with-nspr-includes=${nspr}/include/nspr --with-nss-includes=${nss}/include/nss"; configureFlags = "--disable-uoa --with-nspr-includes=${nspr}/include/nspr --with-nss-includes=${nss}/include/nss";

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2 { stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2
, sqlite, tcl, tk, x11, openssl, readline, db45, ncurses, gdbm , sqlite, tcl, tk, x11, openssl, readline, db, ncurses, gdbm
}: }:
assert zlibSupport -> zlib != null; assert zlibSupport -> zlib != null;
@ -146,7 +146,7 @@ let
bsddb = buildInternalPythonModule { bsddb = buildInternalPythonModule {
moduleName = "bsddb"; moduleName = "bsddb";
deps = [ db45 ]; deps = [ db ];
}; };
crypt = buildInternalPythonModule { crypt = buildInternalPythonModule {

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2 { stdenv, fetchurl, zlib ? null, zlibSupport ? true, bzip2
, sqlite, tcl, tk, x11, openssl, readline, db4, ncurses, gdbm, libX11 }: , sqlite, tcl, tk, x11, openssl, readline, db, ncurses, gdbm, libX11 }:
assert zlibSupport -> zlib != null; assert zlibSupport -> zlib != null;
@ -156,7 +156,7 @@ let
bsddb = buildInternalPythonModule { bsddb = buildInternalPythonModule {
moduleName = "bsddb"; moduleName = "bsddb";
deps = [ db4 ]; deps = [ db ];
}; };
curses = buildInternalPythonModule { curses = buildInternalPythonModule {

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl { stdenv, fetchurl
, bzip2 , bzip2
, db4 , db
, gdbm , gdbm
, libX11, xproto , libX11, xproto
, ncurses , ncurses
@ -20,7 +20,7 @@ let
version = "${majorVersion}.5"; version = "${majorVersion}.5";
buildInputs = filter (p: p != null) [ buildInputs = filter (p: p != null) [
zlib bzip2 gdbm sqlite db4 readline ncurses openssl tcl tk libX11 xproto zlib bzip2 gdbm sqlite db readline ncurses openssl tcl tk libX11 xproto
]; ];
in in
stdenv.mkDerivation { stdenv.mkDerivation {
@ -57,7 +57,7 @@ stdenv.mkDerivation {
passthru = { passthru = {
zlibSupport = zlib != null; zlibSupport = zlib != null;
sqliteSupport = sqlite != null; sqliteSupport = sqlite != null;
db4Support = db4 != null; dbSupport = db != null;
readlineSupport = readline != null; readlineSupport = readline != null;
opensslSupport = openssl != null; opensslSupport = openssl != null;
tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null);

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl { stdenv, fetchurl
, bzip2 , bzip2
, db4 , db
, gdbm , gdbm
, libX11, xproto , libX11, xproto
, ncurses , ncurses
@ -20,7 +20,7 @@ let
version = "${majorVersion}.3"; version = "${majorVersion}.3";
buildInputs = filter (p: p != null) [ buildInputs = filter (p: p != null) [
zlib bzip2 gdbm sqlite db4 readline ncurses openssl tcl tk libX11 xproto zlib bzip2 gdbm sqlite db readline ncurses openssl tcl tk libX11 xproto
]; ];
in in
stdenv.mkDerivation { stdenv.mkDerivation {
@ -57,7 +57,7 @@ stdenv.mkDerivation {
passthru = { passthru = {
zlibSupport = zlib != null; zlibSupport = zlib != null;
sqliteSupport = sqlite != null; sqliteSupport = sqlite != null;
db4Support = db4 != null; dbSupport = db != null;
readlineSupport = readline != null; readlineSupport = readline != null;
opensslSupport = openssl != null; opensslSupport = openssl != null;
tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null); tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null);

View file

@ -1,11 +1,11 @@
{ stdenv, fetchurl, makeWrapper, apr, expat, gnused { stdenv, fetchurl, makeWrapper, apr, expat, gnused
, sslSupport ? true, openssl , sslSupport ? true, openssl
, bdbSupport ? false, db4 , bdbSupport ? false, db
, ldapSupport ? true, openldap , ldapSupport ? true, openldap
}: }:
assert sslSupport -> openssl != null; assert sslSupport -> openssl != null;
assert bdbSupport -> db4 != null; assert bdbSupport -> db != null;
assert ldapSupport -> openldap != null; assert ldapSupport -> openldap != null;
let let
@ -24,13 +24,13 @@ stdenv.mkDerivation rec {
--with-apr=${apr} --with-expat=${expat} --with-apr=${apr} --with-expat=${expat}
--with-crypto --with-crypto
${stdenv.lib.optionalString sslSupport "--with-openssl=${openssl}"} ${stdenv.lib.optionalString sslSupport "--with-openssl=${openssl}"}
${stdenv.lib.optionalString bdbSupport "--with-berkeley-db=${db4}"} ${stdenv.lib.optionalString bdbSupport "--with-berkeley-db=${db}"}
${stdenv.lib.optionalString ldapSupport "--with-ldap"} ${stdenv.lib.optionalString ldapSupport "--with-ldap"}
''; '';
propagatedBuildInputs = [ makeWrapper apr expat ] propagatedBuildInputs = [ makeWrapper apr expat ]
++ optional sslSupport openssl ++ optional sslSupport openssl
++ optional bdbSupport db4 ++ optional bdbSupport db
++ optional ldapSupport openldap; ++ optional ldapSupport openldap;
# Give apr1 access to sed for runtime invocations # Give apr1 access to sed for runtime invocations

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, db4, gettext, pam }: { stdenv, fetchurl, openssl, db, gettext, pam }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cyrus-sasl-2.1.26"; name = "cyrus-sasl-2.1.26";
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "1hvvbcsg21nlncbgs0cgn3iwlnb3vannzwsp6rwvnn9ba4v53g4g"; sha256 = "1hvvbcsg21nlncbgs0cgn3iwlnb3vannzwsp6rwvnn9ba4v53g4g";
}; };
buildInputs = [ openssl db4 gettext ] ++ stdenv.lib.optional stdenv.isLinux pam; buildInputs = [ openssl db gettext ] ++ stdenv.lib.optional stdenv.isLinux pam;
patches = [ ./missing-size_t.patch ]; # https://bugzilla.redhat.com/show_bug.cgi?id=906519 patches = [ ./missing-size_t.patch ]; # https://bugzilla.redhat.com/show_bug.cgi?id=906519
patchFlags = "-p0"; patchFlags = "-p0";

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openldap, readline, db4, openssl, cyrus_sasl, sqlite} : { stdenv, fetchurl, openldap, readline, db, openssl, cyrus_sasl, sqlite} :
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "heimdal-1.5.3"; name = "heimdal-1.5.3";
@ -23,5 +23,5 @@ stdenv.mkDerivation rec {
rmdir $out/libexec rmdir $out/libexec
''; '';
propagatedBuildInputs = [ readline db4 openssl openldap cyrus_sasl sqlite]; propagatedBuildInputs = [ readline db openssl openldap cyrus_sasl sqlite];
} }

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, zlib, bzip2, libgcrypt, gdbm, gperf, tdb, gnutls, db4 { fetchurl, stdenv, zlib, bzip2, libgcrypt, gdbm, gperf, tdb, gnutls, db
, libuuid, lzo, pkgconfig, guile }: , libuuid, lzo, pkgconfig, guile }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = buildInputs =
[ zlib bzip2 lzo [ zlib bzip2 lzo
libgcrypt libgcrypt
gdbm db4 tdb gdbm db tdb
gnutls libuuid gnutls libuuid
guile guile
]; ];

View file

@ -3,7 +3,7 @@
, mysql, withMysql ? false , mysql, withMysql ? false
, postgresql, withPostgresql ? false , postgresql, withPostgresql ? false
, sqlite, withSqlite ? true , sqlite, withSqlite ? true
, db4, withBdb ? false , db, withBdb ? false
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional withMysql mysql ++ stdenv.lib.optional withMysql mysql
++ stdenv.lib.optional withSqlite sqlite ++ stdenv.lib.optional withSqlite sqlite
++ stdenv.lib.optional withPostgresql postgresql ++ stdenv.lib.optional withPostgresql postgresql
++ stdenv.lib.optional withBdb db4; ++ stdenv.lib.optional withBdb db;
propagatedBuildInputs = [ librdf_rasqal ]; propagatedBuildInputs = [ librdf_rasqal ];
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
configureFlags = configureFlags =
[ "--with-threads" ] [ "--with-threads" ]
++ stdenv.lib.optional withBdb "--with-bdb=${db4}"; ++ stdenv.lib.optional withBdb "--with-bdb=${db}";
meta = { meta = {
homepage = http://librdf.org/; homepage = http://librdf.org/;

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, autoconf, automake, libtool, libxml2, cppunit, boost { stdenv, fetchurl, autoconf, automake, libtool, libxml2, cppunit, boost
, apr, aprutil, db4, expat , apr, aprutil, db, expat
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
src/main/cpp/socketoutputstream.cpp src/main/cpp/socketoutputstream.cpp
''; '';
buildInputs = [autoconf automake libtool libxml2 cppunit boost apr aprutil db4 expat]; buildInputs = [autoconf automake libtool libxml2 cppunit boost apr aprutil db expat];
meta = { meta = {
homepage = http://logging.apache.org/log4cxx/index.html; homepage = http://logging.apache.org/log4cxx/index.html;

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, openssl, cyrus_sasl, db4, groff}: {stdenv, fetchurl, openssl, cyrus_sasl, db, groff}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "openldap-2.4.38"; name = "openldap-2.4.38";
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "1l8zng86alhcmmmw09r1c4dzl7yvk6dy5fq9zia96pgck4srl848"; sha256 = "1l8zng86alhcmmmw09r1c4dzl7yvk6dy5fq9zia96pgck4srl848";
}; };
buildInputs = [ openssl cyrus_sasl db4 groff ]; buildInputs = [ openssl cyrus_sasl db groff ];
configureFlags = configureFlags =
[ "--enable-overlays" [ "--enable-overlays"

View file

@ -1,4 +1,4 @@
{buildPerlPackage, fetchurl, db4}: {buildPerlPackage, fetchurl, db}:
buildPerlPackage rec { buildPerlPackage rec {
name = "BerkeleyDB-0.54"; name = "BerkeleyDB-0.54";
@ -9,7 +9,7 @@ buildPerlPackage rec {
}; };
preConfigure = '' preConfigure = ''
echo "LIB = ${db4}/lib" > config.in echo "LIB = ${db}/lib" > config.in
echo "INCLUDE = ${db4}/include" >> config.in echo "INCLUDE = ${db}/include" >> config.in
''; '';
} }

View file

@ -1,4 +1,4 @@
{fetchurl, buildPerlPackage, db4}: {fetchurl, buildPerlPackage, db}:
buildPerlPackage rec { buildPerlPackage rec {
name = "DB_File-1.831"; name = "DB_File-1.831";
@ -12,8 +12,8 @@ buildPerlPackage rec {
cat > config.in <<EOF cat > config.in <<EOF
PREFIX = size_t PREFIX = size_t
HASH = u_int32_t HASH = u_int32_t
LIB = ${db4}/lib LIB = ${db}/lib
INCLUDE = ${db4}/include INCLUDE = ${db}/include
EOF EOF
''; '';

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, python, db4}: {stdenv, fetchurl, python, db}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "bsddb3-6.0.1"; name = "bsddb3-6.0.1";
@ -8,5 +8,5 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [python]; buildInputs = [python];
buildPhase = "true"; buildPhase = "true";
installPhase = "python ./setup.py install --prefix=$out --berkeley-db=${db4}"; installPhase = "python ./setup.py install --prefix=$out --berkeley-db=${db}";
} }

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, flex, bison, db4, iptables, pkgconfig }: { fetchurl, stdenv, flex, bison, db, iptables, pkgconfig }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "iproute2-3.12.0"; name = "iproute2-3.12.0";
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
+ " CONFDIR=$(out)/etc DOCDIR=$(out)/share/doc/${name}" + " CONFDIR=$(out)/etc DOCDIR=$(out)/share/doc/${name}"
+ " MANDIR=$(out)/share/man"; + " MANDIR=$(out)/share/man";
buildInputs = [ db4 iptables ]; buildInputs = [ db iptables ];
nativeBuildInputs = [ bison flex pkgconfig ]; nativeBuildInputs = [ bison flex pkgconfig ];
enableParallelBuilding = true; enableParallelBuilding = true;

View file

@ -1,10 +1,10 @@
{ stdenv, fetchurl, libevent, zlib, openssl, db4, bison, pam }: { stdenv, fetchurl, libevent, zlib, openssl, db, bison, pam }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "opensmtpd-${version}"; name = "opensmtpd-${version}";
version = "201307151923p1"; version = "201307151923p1";
buildInputs = [ libevent zlib openssl db4 bison pam ]; buildInputs = [ libevent zlib openssl db bison pam ];
src = fetchurl { src = fetchurl {
url = "http://www.opensmtpd.org/archives/${name}.tar.gz"; url = "http://www.opensmtpd.org/archives/${name}.tar.gz";

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, db4, glibc, openssl, cyrus_sasl { stdenv, fetchurl, db, glibc, openssl, cyrus_sasl
, coreutils, findutils, gnused, gnugrep, bison, perl , coreutils, findutils, gnused, gnugrep, bison, perl
}: }:
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "11z07mjy53l1fnl7k4101yk4ilibgqr1164628mqcbmmr8bh2szl"; sha256 = "11z07mjy53l1fnl7k4101yk4ilibgqr1164628mqcbmmr8bh2szl";
}; };
buildInputs = [db4 openssl cyrus_sasl bison perl]; buildInputs = [db openssl cyrus_sasl bison perl];
patches = [ ./postfix-2.2.9-db.patch ./postfix-2.2.9-lib.patch ./db-linux3.patch ]; patches = [ ./postfix-2.2.9-db.patch ./postfix-2.2.9-lib.patch ./db-linux3.patch ];

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, openssl, db4, zlib, uwimap, htmlTidy, pam}: { stdenv, fetchurl, perl, openssl, db, zlib, uwimap, htmlTidy, pam}:
let let
ssl = stdenv.lib.optionals uwimap.withSSL ssl = stdenv.lib.optionals uwimap.withSSL
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "135fjbxjn385b6cjys6qhbwfw61mdcl2akkll4jfpdzfvhbxlyda"; sha256 = "135fjbxjn385b6cjys6qhbwfw61mdcl2akkll4jfpdzfvhbxlyda";
}; };
buildInputs = [ openssl db4 zlib uwimap htmlTidy pam ]; buildInputs = [ openssl db zlib uwimap htmlTidy pam ];
nativeBuildInputs = [ perl ]; nativeBuildInputs = [ perl ];
NIX_LDFLAGS = "-lpam"; NIX_LDFLAGS = "-lpam";

View file

@ -35,7 +35,7 @@ rec {
url = "http://www.squid-cache.org/Versions/v3/3.2/${name}.tar.bz2"; url = "http://www.squid-cache.org/Versions/v3/3.2/${name}.tar.bz2";
sha256 = "0dafqv00dr3nyrm9k47d6r7gv2r3f9hjd1ykl3kkvjca11r4n54j"; sha256 = "0dafqv00dr3nyrm9k47d6r7gv2r3f9hjd1ykl3kkvjca11r4n54j";
}; };
buildInputs = [openldap pam db4 cyrus_sasl libcap expat libxml2 buildInputs = [openldap pam db cyrus_sasl libcap expat libxml2
libtool openssl]; libtool openssl];
}; };

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, pkgconfig, db4, libgcrypt, avahi, libiconv, pam, openssl }: { fetchurl, stdenv, pkgconfig, db, libgcrypt, avahi, libiconv, pam, openssl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "netatalk-3.1.0"; name = "netatalk-3.1.0";
@ -8,10 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "1d8dc8ysslkis4yl1xab1w9p0pz7a1kg0i6fds4wxsp4fhb6wqhq"; sha256 = "1d8dc8ysslkis4yl1xab1w9p0pz7a1kg0i6fds4wxsp4fhb6wqhq";
}; };
buildInputs = [ pkgconfig db4 libgcrypt avahi libiconv pam openssl ]; buildInputs = [ pkgconfig db libgcrypt avahi libiconv pam openssl ];
configureFlags = [ configureFlags = [
"--with-bdb=${db4}" "--with-bdb=${db}"
"--with-openssl=${openssl}" "--with-openssl=${openssl}"
]; ];

View file

@ -1,4 +1,4 @@
{fetchurl, stdenv, flex, db4}: {fetchurl, stdenv, flex, db}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "bogofilter-1.2.4"; name = "bogofilter-1.2.4";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
# FIXME: We would need `pax' as a "propagated build input" (for use # FIXME: We would need `pax' as a "propagated build input" (for use
# by the `bf_tar' script) but we don't have it currently. # by the `bf_tar' script) but we don't have it currently.
buildInputs = [ flex db4 ]; buildInputs = [ flex db ];
meta = { meta = {
homepage = http://bogofilter.sourceforge.net/; homepage = http://bogofilter.sourceforge.net/;

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, db4, groff}: {stdenv, fetchurl, db, groff}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "man-db-2.5.1"; name = "man-db-2.5.1";
@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "178w1fk23ffh8vabj29cn0yyg5ps7bwy1zrrrcsw8aypbh3sfjy3"; sha256 = "178w1fk23ffh8vabj29cn0yyg5ps7bwy1zrrrcsw8aypbh3sfjy3";
}; };
buildInputs = [db4 groff]; buildInputs = [db groff];
configureFlags = '' configureFlags = ''
--disable-setuid --disable-setuid

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, openssl, pkgconfig, db4 }: { fetchurl, stdenv, openssl, pkgconfig, db }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "isync-1.0.6"; name = "isync-1.0.6";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
}; };
patches = [ ./isync-recursice-imap.patch ]; # usefull patch to enable subfolders listing patches = [ ./isync-recursice-imap.patch ]; # usefull patch to enable subfolders listing
buildInputs = [ openssl pkgconfig db4 ]; buildInputs = [ openssl pkgconfig db ];
meta = { meta = {
homepage = http://isync.sourceforge.net/; homepage = http://isync.sourceforge.net/;

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, zlib, libpng, gd, geoip, db4}: {stdenv, fetchurl, zlib, libpng, gd, geoip, db}:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "webalizer-2.23-05"; name = "webalizer-2.23-05";
@ -14,7 +14,7 @@ stdenv.mkDerivation {
--replace "--static" "" --replace "--static" ""
''; '';
buildInputs = [zlib libpng gd geoip db4]; buildInputs = [zlib libpng gd geoip db];
configureFlags = "--enable-dns --enable-geoip --disable-static --enable-shared"; configureFlags = "--enable-dns --enable-geoip --disable-static --enable-shared";
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cpio, zlib, bzip2, file, elfutils, nspr, nss, popt, db4, xz, python }: { stdenv, fetchurl, cpio, zlib, bzip2, file, elfutils, nspr, nss, popt, db, xz, python }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "rpm-4.7.2"; name = "rpm-4.7.2";
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha1 = "07b90f653775329ea726ce0005c4c82f56167ca0"; sha1 = "07b90f653775329ea726ce0005c4c82f56167ca0";
}; };
buildInputs = [ cpio zlib bzip2 file nspr nss popt db4 xz python ]; buildInputs = [ cpio zlib bzip2 file nspr nss popt db xz python ];
# Note: we don't add elfutils to buildInputs, since it provides a # Note: we don't add elfutils to buildInputs, since it provides a
# bad `ld' and other stuff. # bad `ld' and other stuff.

View file

@ -1795,9 +1795,7 @@ let
inherit ppp; inherit ppp;
}; };
rpm = callPackage ../tools/package-management/rpm { rpm = callPackage ../tools/package-management/rpm { };
db4 = db45;
};
rrdtool = callPackage ../tools/misc/rrdtool { }; rrdtool = callPackage ../tools/misc/rrdtool { };
@ -6378,7 +6376,7 @@ let
squids = recurseIntoAttrs( import ../servers/squid/squids.nix { squids = recurseIntoAttrs( import ../servers/squid/squids.nix {
inherit fetchurl stdenv perl lib composableDerivation inherit fetchurl stdenv perl lib composableDerivation
openldap pam db4 cyrus_sasl kerberos libcap expat libxml2 libtool openldap pam db cyrus_sasl kerberos libcap expat libxml2 libtool
openssl; openssl;
}); });
squid = squids.squid31; # has ipv6 support squid = squids.squid31; # has ipv6 support
@ -6956,9 +6954,7 @@ let
# pam_bioapi ( see http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader ) # pam_bioapi ( see http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader )
pam_ccreds = callPackage ../os-specific/linux/pam_ccreds { pam_ccreds = callPackage ../os-specific/linux/pam_ccreds { };
db = db4;
};
pam_console = callPackage ../os-specific/linux/pam_console { pam_console = callPackage ../os-specific/linux/pam_console {
libtool = libtool_1_5; libtool = libtool_1_5;

View file

@ -306,7 +306,7 @@ let self = _self // overrides; _self = with self; {
BerkeleyDB = import ../development/perl-modules/BerkeleyDB { BerkeleyDB = import ../development/perl-modules/BerkeleyDB {
inherit buildPerlPackage fetchurl; inherit buildPerlPackage fetchurl;
inherit (pkgs) db4; inherit (pkgs) db;
}; };
BHooksEndOfScope = buildPerlPackage { BHooksEndOfScope = buildPerlPackage {
@ -2201,7 +2201,7 @@ let self = _self // overrides; _self = with self; {
DBFile = import ../development/perl-modules/DB_File { DBFile = import ../development/perl-modules/DB_File {
inherit fetchurl buildPerlPackage; inherit fetchurl buildPerlPackage;
inherit (pkgs) db4; inherit (pkgs) db;
}; };
DBI = buildPerlPackage { DBI = buildPerlPackage {