diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 14:27:14 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 14:27:14 +0200 |
commit | 60b34ce67a39b1e4a2b69e4149a6c0a9ed62b20b (patch) | |
tree | bf8d116ca0bde1b4d69083c63c45db1b8ca98188 /base/tcp_wrappers/Pkgfile | |
parent | 06d94ceda9d39aab5a87877ed79f89d4001b5138 (diff) | |
download | nutyx-extra-60b34ce67a39b1e4a2b69e4149a6c0a9ed62b20b.tar.gz nutyx-extra-60b34ce67a39b1e4a2b69e4149a6c0a9ed62b20b.tar.bz2 nutyx-extra-60b34ce67a39b1e4a2b69e4149a6c0a9ed62b20b.tar.xz nutyx-extra-60b34ce67a39b1e4a2b69e4149a6c0a9ed62b20b.zip |
Ajout de tcp_wrappers#7.6-1
Diffstat (limited to 'base/tcp_wrappers/Pkgfile')
-rwxr-xr-x | base/tcp_wrappers/Pkgfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/base/tcp_wrappers/Pkgfile b/base/tcp_wrappers/Pkgfile new file mode 100755 index 000000000..81ca71986 --- /dev/null +++ b/base/tcp_wrappers/Pkgfile @@ -0,0 +1,24 @@ +# Description: Supervise et contrôle les flux TCP entrants +# URL: http://ftp.porcupine.org/pub/security/index.html +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=tcp_wrappers +version=7.6 +release=1 +source=( ftp://ftp.porcupine.org/pub/security/tcp_wrappers_$version.tar.gz\ + http://www.linuxfromscratch.org/patches/blfs/svn/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch\ + hosts.allow hosts.deny) + + +build() { + cd tcp_wrappers_$version + patch -Np1 -i ../tcp_wrappers-7.6-shared_lib_plus_plus-1.patch + sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c + make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux + mkdir -p $PKG/usr/{sbin,lib,include,share/man/man{3,5,8}} + mkdir $PKG/etc + mv ../hosts.{allow,deny} $PKG/etc + make DESTDIR=$PKG install +} |