Not yet working nfs-utils with dependency
svn path=/nixpkgs/trunk/; revision=9764
This commit is contained in:
parent
b98c67b1c3
commit
42ee316fcc
17
pkgs/os-specific/linux/nfs-utils/default.nix
Normal file
17
pkgs/os-specific/linux/nfs-utils/default.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
args:
|
||||||
|
args.stdenv.mkDerivation {
|
||||||
|
name = "nfs-utils-1.1.1";
|
||||||
|
|
||||||
|
src = args.fetchurl {
|
||||||
|
url = mirror://sourceforge/nfs/nfs-utils-1.1.1.tar.gz;
|
||||||
|
sha256 = "0aa434cv7lgbrhks0rzhwxvbk2zsa17kjwxqjrrh87zrv9d2sr1x";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs =(with args; [kernelHeaders tcp_wrapper]);
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "nfs utils";
|
||||||
|
homepage = http://nfs.sourceforge.net/;
|
||||||
|
license = "GPL2";
|
||||||
|
};
|
||||||
|
}
|
26
pkgs/os-specific/linux/tcp-wrapper/default.nix
Normal file
26
pkgs/os-specific/linux/tcp-wrapper/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
args:
|
||||||
|
args.stdenv.mkDerivation {
|
||||||
|
name = "tcp-wrappers-7.6";
|
||||||
|
|
||||||
|
src = args.fetchurl {
|
||||||
|
url = http://ftp.debian.org/debian/pool/main/t/tcp-wrappers/tcp-wrappers_7.6.dbs.orig.tar.gz;
|
||||||
|
sha256 = "0k68ziinx6biwar5lcb9jvv0rp6b3vmj6861n75bvrz4w1piwkdp";
|
||||||
|
};
|
||||||
|
|
||||||
|
# we need to set REAL_DAEMON_DIR somehow. I'm getting compilation errors
|
||||||
|
# I've managed to compile tcpd manually using
|
||||||
|
# make CFLAGS='-DSYS_ERRLIST_DEFINED=1 -Dvsyslog=1' tcpd
|
||||||
|
# see Makefile target all for details
|
||||||
|
|
||||||
|
postUnpack="cd upstream/tarballs; tar xfz *; cd tcp_wrappers_7.6;
|
||||||
|
sed -i -e 's=#REAL_DAEMON_DIR=/usr/sbin=REAL_DAEMON_DIR=/usr/sbin=' Makefile
|
||||||
|
";
|
||||||
|
|
||||||
|
buildPhase="
|
||||||
|
make CFLAGS='-DSYS_ERRLIST_DEFINED=1 -Dvsyslog=1' tcpd
|
||||||
|
"
|
||||||
|
|
||||||
|
buildInputs =(with args; [kernelHeaders gnused]);
|
||||||
|
|
||||||
|
# meta = ...
|
||||||
|
}
|
@ -1192,25 +1192,24 @@ rec {
|
|||||||
perl = if !stdenv.isLinux then sysPerl else realPerl;
|
perl = if !stdenv.isLinux then sysPerl else realPerl;
|
||||||
|
|
||||||
# FIXME: unixODBC needs patching on Darwin (see darwinports)
|
# FIXME: unixODBC needs patching on Darwin (see darwinports)
|
||||||
php = import ../development/interpreters/php {
|
#php = import ../development/interpreters/php {
|
||||||
inherit stdenv fetchurl flex bison libxml2 apacheHttpd;
|
#inherit stdenv fetchurl flex bison libxml2 apacheHttpd;
|
||||||
unixODBC =
|
#unixODBC =
|
||||||
if stdenv.isDarwin then null else unixODBC;
|
#if stdenv.isDarwin then null else unixODBC;
|
||||||
};
|
#};
|
||||||
|
|
||||||
# FIXME somehow somewhen: We need to recompile php if the ini file changes because the only way to
|
# FIXME somehow somewhen: We need to recompile php if the ini file changes because the only way to
|
||||||
# tell the apache module where to look for this file is using a compile time flag ;-(
|
# tell the apache module where to look for this file is using a compile time flag ;-(
|
||||||
# perhaps this can be done setting php_value in apache don't have time to investigate any further ?
|
# perhaps this can be done setting php_value in apache don't have time to investigate any further ?
|
||||||
# This expression is a quick hack now. But perhaps it helps you adding the configuration flags you need?
|
# This expression is a quick hack now. But perhaps it helps you adding the configuration flags you need?
|
||||||
/*
|
php = (import ../development/interpreters/php_configurable) {
|
||||||
php_unstable = (import ../development/interpreters/php_configurable) {
|
|
||||||
inherit mkDerivationByConfiguration;
|
inherit mkDerivationByConfiguration;
|
||||||
lib = lib_unstable;
|
lib = lib_unstable;
|
||||||
stdenv = stdenvUsingSetupNew2;
|
stdenv = stdenvUsingSetupNew2;
|
||||||
inherit fetchurl flex bison apacheHttpd mysql; # gettext;
|
inherit fetchurl flex bison apacheHttpd; # gettext;
|
||||||
|
mysql = mysql5;
|
||||||
inherit libxml2;
|
inherit libxml2;
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
|
|
||||||
python = getVersion "python" python_alts;
|
python = getVersion "python" python_alts;
|
||||||
|
|
||||||
@ -2810,9 +2809,11 @@ rec {
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
#nfsUtils = import ../os-specific/linux/nfs-utils {
|
/*
|
||||||
# inherit fetchurl stdenv;
|
nfsUtils = import ../os-specific/linux/nfs-utils {
|
||||||
#};
|
inherit fetchurl stdenv kernelHeaders tcp_wrapper;
|
||||||
|
};
|
||||||
|
*/
|
||||||
|
|
||||||
alsaLib = import ../os-specific/linux/alsa/library {
|
alsaLib = import ../os-specific/linux/alsa/library {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
@ -3348,6 +3349,13 @@ rec {
|
|||||||
withoutInitTools = true;
|
withoutInitTools = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
# needed for nfs utils
|
||||||
|
tcp_wrapper = import ../os-specific/linux/tcp-wrapper {
|
||||||
|
inherit fetchurl stdenv kernelHeaders gnused;
|
||||||
|
};
|
||||||
|
*/
|
||||||
|
|
||||||
udev = import ../os-specific/linux/udev {
|
udev = import ../os-specific/linux/udev {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user