diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 21:24:02 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 21:24:02 +0100 |
commit | eaeed7d41411b002e3a876eb84a53957e302b21e (patch) | |
tree | 1e5f0ead36510ad9b10d89202ef0f4af42a71538 /tcp_wrappers | |
parent | 3830725cba31b4b5fb9ed502f3f453941f299b39 (diff) | |
download | base-eaeed7d41411b002e3a876eb84a53957e302b21e.tar.gz base-eaeed7d41411b002e3a876eb84a53957e302b21e.tar.bz2 base-eaeed7d41411b002e3a876eb84a53957e302b21e.tar.xz base-eaeed7d41411b002e3a876eb84a53957e302b21e.zip |
Recette de tcp_wrappers mise à jour.
NOTE: Footprint pas mis à jour, à cause d’une erreur d’assemblage chez
moi… (le _ pose problème à dpkg)
Diffstat (limited to 'tcp_wrappers')
-rw-r--r-- | tcp_wrappers/.sha256sum | 6 | ||||
-rw-r--r-- | tcp_wrappers/Pkgfile | 74 |
2 files changed, 45 insertions, 35 deletions
diff --git a/tcp_wrappers/.sha256sum b/tcp_wrappers/.sha256sum new file mode 100644 index 0000000..1e1a727 --- /dev/null +++ b/tcp_wrappers/.sha256sum @@ -0,0 +1,6 @@ +48d51350f795f80a65cc0a0d2c004e8606513d361242cc657fa61428ec3f1d8f hosts.allow +46b174eb55309a60a499449ed00c24c27e5a5c22374e751ef7b3d578c4647595 hosts.deny +a3621164f6e9315fb16acb0790053074f46f479e4fc2d4c0c847bf3743f14580 safe_finger.8 +dcb10f194684b16ae6aa9faf05dd8b063d81a3dde1431b664260dcf385089256 tcp-wrappers-7.6-patches-1.0.tar.bz2 +9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d tcp_wrappers_7.6.tar.gz +e2e1cbb01296bfb3fb264b7d749bcfbba115b759c6dbd4b4f8f5a9914fbe8401 try-from.8 diff --git a/tcp_wrappers/Pkgfile b/tcp_wrappers/Pkgfile index c209725..0803887 100644 --- a/tcp_wrappers/Pkgfile +++ b/tcp_wrappers/Pkgfile @@ -1,44 +1,48 @@ -description="Monitors and Controls incoming TCP connections" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Monitors and Controls incoming TCP connections." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="ftp://ftp.porcupine.org/pub/security/index.html" depends=() name=tcp_wrappers version=7.6 release=10 -source=(ftp://ftp.porcupine.org/pub/security/tcp_wrappers_7.6.tar.gz ftp://ftp.uni-frankfurt.de/pub/Mirrors/gentoo.org/distfiles/tcp-wrappers-7.6-patches-1.0.tar.bz2 hosts.allow hosts.deny try-from.8 safe_finger.8) +source=( + ftp://ftp.porcupine.org/pub/security/${name}_${version}.tar.gz + ftp://ftp.uni-frankfurt.de/pub/Mirrors/gentoo.org/distfiles/tcp-wrappers-$version-patches-1.0.tar.bz2 + hosts.allow hosts.deny try-from.8 safe_finger.8 +) build () { - cd ${name}_${version}; - patch -p1 -i $SRC/$version/tcp-wrappers-$version-makefile.patch; - patch -p1 -i $SRC/$version/generic/01_all_redhat-bug11881.patch; - patch -p0 -i $SRC/$version/generic/02_all_redhat-bug17795.patch; - patch -p0 -i $SRC/$version/generic/03_all_wildcard.patch; - patch -p1 -i $SRC/$version/generic/04_all_fixgethostbyname.patch; - patch -p1 -i $SRC/$version/generic/07_all_sig.patch; - patch -p1 -i $SRC/$version/generic/08_all_strerror.patch; - patch -p1 -i $SRC/$version/generic/09_all_gcc-3.4.patch; - patch -p1 -i $SRC/$version/generic/10_all_more-headers.patch; - patch -p1 -i $SRC/$version/tcp-wrappers-$version-shared.patch; - patch -p2 -i $SRC/$version/tcp-wrappers-$version-ipv6-1.14.diff; - export GENTOO_OPT="-DHAVE_WEAKSYMS -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len"; - export RANLIB=ranlib; - export MAJOR=0 MINOR=${version:0:1} REL=${version:2:3}; - make config-check; - make linux; - install -d $PKG/{etc,usr/{sbin,lib,include,man/{man3,man5,man8}}}; - install -m 0755 safe_finger tcpd tcpdchk tcpdmatch try-from $PKG/usr/sbin; - install -m 0644 tcpd.h $PKG/usr/include; - install -m 0644 libwrap.a $PKG/usr/lib; - cp --no-dereference --preserve=links libwrap.so* $PKG/usr/lib; - install -m 0644 *.3 $PKG/usr/man/man3; - install -m 0644 *.5 $PKG/usr/man/man5; - install -m 0644 $SRC/*.8 *.8 $PKG/usr/man/man8; - ln -s hosts_access.3.gz $PKG/usr/man/man3/hosts_ctl.3.gz; - ln -s hosts_access.3.gz $PKG/usr/man/man3/request_init.3.gz; - ln -s hosts_access.3.gz $PKG/usr/man/man3/request_set.3.gz; - ln -s hosts_access.5.gz $PKG/usr/man/man5/host.allow.5.gz; - ln -s hosts_access.5.gz $PKG/usr/man/man5/host.deny.5.gz; - install -m 0644 $SRC/hosts.{deny,allow} $PKG/etc + cd ${name}_${version}; + patch -p1 -i $SRC/$version/tcp-wrappers-$version-makefile.patch; + patch -p1 -i $SRC/$version/generic/01_all_redhat-bug11881.patch; + patch -p0 -i $SRC/$version/generic/02_all_redhat-bug17795.patch; + patch -p0 -i $SRC/$version/generic/03_all_wildcard.patch; + patch -p1 -i $SRC/$version/generic/04_all_fixgethostbyname.patch; + patch -p1 -i $SRC/$version/generic/07_all_sig.patch; + patch -p1 -i $SRC/$version/generic/08_all_strerror.patch; + patch -p1 -i $SRC/$version/generic/09_all_gcc-3.4.patch; + patch -p1 -i $SRC/$version/generic/10_all_more-headers.patch; + patch -p1 -i $SRC/$version/tcp-wrappers-$version-shared.patch; + patch -p2 -i $SRC/$version/tcp-wrappers-$version-ipv6-1.14.diff; + export GENTOO_OPT="-DHAVE_WEAKSYMS -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len"; + export RANLIB=ranlib; + export MAJOR=0 MINOR=${version:0:1} REL=${version:2:3}; + make config-check; + make linux; + install -d $PKG/{etc,usr/{sbin,lib,include,},$mandir/{man3,man5,man8}}; + install -m 0755 safe_finger tcpd tcpdchk tcpdmatch try-from $PKG/usr/sbin; + install -m 0644 tcpd.h $PKG/usr/include; + install -m 0644 libwrap.a $PKG/usr/lib; + cp --no-dereference --preserve=links libwrap.so* $PKG/usr/lib; + install -m 0644 *.3 $PKG$mandir/man3; + install -m 0644 *.5 $PKG$mandir/man5; + install -m 0644 $SRC/*.8 *.8 $PKG$mandir/man8; + ln -s hosts_access.3.gz $PKG$mandir/man3/hosts_ctl.3.gz; + ln -s hosts_access.3.gz $PKG$mandir/man3/request_init.3.gz; + ln -s hosts_access.3.gz $PKG$mandir/man3/request_set.3.gz; + ln -s hosts_access.5.gz $PKG$mandir/man5/host.allow.5.gz; + ln -s hosts_access.5.gz $PKG$mandir/man5/host.deny.5.gz; + install -m 0644 $SRC/hosts.{deny,allow} $PKG/etc } |