From 9291e062cb24bac5d7c7059d4dc64669c1917b33 Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:12:28 +0100 Subject: aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tcp_wrappers/Pkgfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 tcp_wrappers/Pkgfile (limited to 'tcp_wrappers/Pkgfile') diff --git a/tcp_wrappers/Pkgfile b/tcp_wrappers/Pkgfile new file mode 100755 index 000000000..81ca71986 --- /dev/null +++ b/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 +} -- cgit v1.2.3-70-g09d2