summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/tcp-wrappers/ChangeLog8
-rw-r--r--sys-apps/tcp-wrappers/Manifest4
-rw-r--r--sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r52
-rw-r--r--sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r62
-rw-r--r--sys-apps/tcp-wrappers/tcp-wrappers-7.6-r5.ebuild52
-rw-r--r--sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild74
6 files changed, 85 insertions, 57 deletions
diff --git a/sys-apps/tcp-wrappers/ChangeLog b/sys-apps/tcp-wrappers/ChangeLog
index 409dea7dca2b..20556bac01b7 100644
--- a/sys-apps/tcp-wrappers/ChangeLog
+++ b/sys-apps/tcp-wrappers/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/tcp-wrappers
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/ChangeLog,v 1.13 2003/02/22 02:18:35 zwelch Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/ChangeLog,v 1.14 2003/08/05 00:07:02 aliz Exp $
+
+*tcp-wrappers-7.6-r6 (05 Aug 2003)
+
+ 05 Aug 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ New version that has optional shared and ipv6 support. Patches are based on RedHat's tcp-wrappers
+ patches Hopefully closes #12014, #16091 and #25604.
*tcp-wrappers-7.6-r5.ebuild (16 Dec 2002)
diff --git a/sys-apps/tcp-wrappers/Manifest b/sys-apps/tcp-wrappers/Manifest
index 8dc8e379a840..5da2f5b98278 100644
--- a/sys-apps/tcp-wrappers/Manifest
+++ b/sys-apps/tcp-wrappers/Manifest
@@ -1,6 +1,6 @@
-MD5 9b827ce5fab2836d8ec7bf591c0b2f3d ChangeLog 2823
+MD5 4c9edc4b8bd4de64150964d2d483690e ChangeLog 2821
MD5 e3d27da8b38f864b85dd31f4173d2a70 tcp-wrappers-7.6-r3.ebuild 1232
-MD5 59240d100e4f3bdab981c505a2003e26 tcp-wrappers-7.6-r6.ebuild 1927
+MD5 f1512509ac6ee30566bbcc3bbb5238f2 tcp-wrappers-7.6-r6.ebuild 1922
MD5 3ee1b9f8b6e9317df1d72e5359b83c3f tcp-wrappers-7.6-r4.ebuild 1289
MD5 9ad8321e86bbd0c9a7bab821564b3fc1 files/digest-tcp-wrappers-7.6-r3 144
MD5 d8f39ad34a5d8154665fb5bf431a781d files/digest-tcp-wrappers-7.6-r4 145
diff --git a/sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r5 b/sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r5
deleted file mode 100644
index 84f78c5a2b81..000000000000
--- a/sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r5
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 e6fa25f71226d090f34de3f6b122fb5a tcp_wrappers_7.6.tar.gz 99438
-MD5 d926682ce0bc067251bc95e87c555ad2 tcp-wrappers-7.6-r5-gentoo.tar.bz2 14289
diff --git a/sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r6 b/sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r6
new file mode 100644
index 000000000000..fcc4df56e256
--- /dev/null
+++ b/sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r6
@@ -0,0 +1,2 @@
+MD5 e6fa25f71226d090f34de3f6b122fb5a tcp_wrappers_7.6.tar.gz 99438
+MD5 40e80f757149b18567135f32dc23707b tcp-wrappers-7.6-r6-patches.tar 30720
diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r5.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r5.ebuild
deleted file mode 100644
index 8297d292aa21..000000000000
--- a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r5.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r5.ebuild,v 1.5 2003/06/21 21:19:41 drobbins Exp $
-
-inherit eutils
-
-MY_P=${P//-/_}
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="tcp wrappers"
-SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz
- mirror://gentoo/${PF}-gentoo.tar.bz2"
-HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html"
-
-SLOT="0"
-LICENSE="freedist"
-KEYWORDS="x86 amd64 ~ppc ~sparc ~alpha ~hppa"
-
-DEPEND="virtual/glibc"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- epatch ${WORKDIR}/${PV}-patches
-
- cp Makefile Makefile.orig
- sed -e "s:-O:${CFLAGS} -fPIC:" \
- -e "s:AUX_OBJ=.*:AUX_OBJ= \\\:" \
- -e "s:SOMINOR = 7.6:SOMINOR = ${PV}:" Makefile.orig > Makefile
-
-}
-
-src_compile() {
- make ${MAKEOPTS} \
- REAL_DAEMON_DIR=/usr/sbin \
- linux || die
-}
-
-src_install() {
- dosbin tcpd tcpdchk tcpdmatch safe_finger try-from
- doman *.[358]
- dosym hosts_access.5.gz /usr/share/man/man5/hosts.allow.5.gz
- dosym hosts_access.5.gz /usr/share/man/man5/hosts.deny.5.gz
- dolib.a libwrap.a
- dolib.so shared/libwrap.so.0.${PV}
- dosym /usr/lib/libwrap.so.0.${PV} /usr/lib/libwrap.so.0
- dosym /usr/lib/libwrap.so.0 /usr/lib/libwrap.so
- insinto /usr/include
- doins tcpd.h
-
- dodoc BLURB CHANGES DISCLAIMER README*
-}
diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild
new file mode 100644
index 000000000000..c5d60d64409a
--- /dev/null
+++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r6.ebuild,v 1.1 2003/08/05 00:07:02 aliz Exp $
+
+inherit eutils
+
+MY_P=${P//-/_}
+
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="TCP Wrappers"
+SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz
+ mirror://gentoo/${PF}-patches.tar"
+HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html"
+IUSE="ipv6 static"
+SLOT="0"
+LICENSE="freedist"
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
+
+DEPEND="virtual/glibc
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ chmod ug+w Makefile
+ sed -i -e "s:-O:${CFLAGS}:" \
+ -e "s:AUX_OBJ=.*:AUX_OBJ= \\\:" \
+ Makefile
+
+ PATCHDIR=${WORKDIR}/${PV}-patches
+
+ epatch ${PATCHDIR}/${P}-makefile.patch.bz2
+
+ epatch ${PATCHDIR}/generic
+
+ use static || epatch ${PATCHDIR}/${P}-shared.patch.bz2
+ use ipv6 && epatch ${PATCHDIR}/${P}-ipv6-1.14.diff.bz2
+}
+
+src_compile() {
+ local myconf=""
+
+ use static || myconf="${myconf} -DHAVE_WEAKSYMS"
+ use ipv6 && myconf="${myconf} -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len"
+
+ make ${MAKEOPTS} \
+ REAL_DAEMON_DIR=/usr/sbin \
+ GENTOO_OPT="${myconf}" \
+ MAJOR=0 MINOR=${PV:0:1} REL=${PV:2:3} \
+ config-check || die
+
+ make ${MAKEOPTS} \
+ REAL_DAEMON_DIR=/usr/sbin \
+ GENTOO_OPT="${myconf}" \
+ MAJOR=0 MINOR=${PV:0:1} REL=${PV:2:3} \
+ linux || die
+}
+
+src_install() {
+ dosbin tcpd tcpdchk tcpdmatch safe_finger try-from
+ doman *.[358]
+ dosym hosts_access.5.gz /usr/share/man/man5/hosts.allow.5.gz
+ dosym hosts_access.5.gz /usr/share/man/man5/hosts.deny.5.gz
+ dolib.a libwrap.a
+ if [ -z `use static` ]; then
+ newlib.so libwrap.so libwrap.so.0.${PV}
+ dosym /usr/lib/libwrap.so.0.${PV} /usr/lib/libwrap.so.0
+ dosym /usr/lib/libwrap.so.0 /usr/lib/libwrap.so
+ fi
+ insinto /usr/include
+ doins tcpd.h
+
+ dodoc BLURB CHANGES DISCLAIMER README*
+}