diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-03-15 22:41:31 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-03-15 22:41:31 +0000 |
commit | ac2f2f6cc51ed5dd1131612da309646a1051243c (patch) | |
tree | dfd6a43f0973627bc864ea30caceeeb83926becc /pkgs/os-specific/linux/tcp-wrapper/default.nix | |
parent | 8a72053717592b80b34da0346130ae7e426e5f8d (diff) | |
download | nixpkgs-ac2f2f6cc51ed5dd1131612da309646a1051243c.tar nixpkgs-ac2f2f6cc51ed5dd1131612da309646a1051243c.tar.gz nixpkgs-ac2f2f6cc51ed5dd1131612da309646a1051243c.tar.bz2 nixpkgs-ac2f2f6cc51ed5dd1131612da309646a1051243c.tar.lz nixpkgs-ac2f2f6cc51ed5dd1131612da309646a1051243c.tar.xz nixpkgs-ac2f2f6cc51ed5dd1131612da309646a1051243c.tar.zst nixpkgs-ac2f2f6cc51ed5dd1131612da309646a1051243c.zip |
Add `tcp-wrapper'.
svn path=/nixpkgs/trunk/; revision=11136
Diffstat (limited to 'pkgs/os-specific/linux/tcp-wrapper/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/tcp-wrapper/default.nix | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/pkgs/os-specific/linux/tcp-wrapper/default.nix b/pkgs/os-specific/linux/tcp-wrapper/default.nix index 9c952bcabf8..d5984e649a5 100644 --- a/pkgs/os-specific/linux/tcp-wrapper/default.nix +++ b/pkgs/os-specific/linux/tcp-wrapper/default.nix @@ -1,26 +1,14 @@ -args: with args; +{ fetchurl, stdenv }: + stdenv.mkDerivation { name = "tcp-wrappers-7.6"; src = fetchurl { - url = http://ftp.debian.org/debian/pool/main/t/tcp-wrappers/tcp-wrappers_7.6.dbs.orig.tar.gz; + url = mirror://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 = [kernelHeaders gnused]; + builder = ./builder.sh; # meta = ... } |