diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-12-28 11:06:34 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-12-28 11:06:34 +0000 |
commit | a62470f40d1cc88733c97b760b6861574f873a69 (patch) | |
tree | babc2cdc15faeb9037c411439f27a9ce546f7272 /sys-apps | |
parent | Move libwrap.a to /usr/lib/ where it belongs. (diff) | |
download | gentoo-2-a62470f40d1cc88733c97b760b6861574f873a69.tar.gz gentoo-2-a62470f40d1cc88733c97b760b6861574f873a69.tar.bz2 gentoo-2-a62470f40d1cc88733c97b760b6861574f873a69.zip |
Move libwrap.a to /usr/lib/ where it belongs.
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/tcp-wrappers/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/tcp-wrappers/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r8 | 2 | ||||
-rw-r--r-- | sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild | 84 |
4 files changed, 95 insertions, 4 deletions
diff --git a/sys-apps/tcp-wrappers/ChangeLog b/sys-apps/tcp-wrappers/ChangeLog index 16eba1742859..095c5d68bc33 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.19 2003/12/21 09:37:24 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/ChangeLog,v 1.20 2003/12/28 11:06:09 azarah Exp $ + +*tcp-wrappers-7.6-r8 (28 Dec 2003) + + 28 Dec 2003; Martin Schlemmer <azarah@gentoo.org> + tcp-wrappers-7.6-r8.ebuild: + Move libwrap.a to /usr/lib/ where it belongs. *tcp-wrappers-7.6-r7 (21 Dec 2003) diff --git a/sys-apps/tcp-wrappers/Manifest b/sys-apps/tcp-wrappers/Manifest index b95e4e399804..521e7db3e75f 100644 --- a/sys-apps/tcp-wrappers/Manifest +++ b/sys-apps/tcp-wrappers/Manifest @@ -1,10 +1,9 @@ MD5 e3d27da8b38f864b85dd31f4173d2a70 tcp-wrappers-7.6-r3.ebuild 1232 MD5 bf1e0626dc5042d6e774f43a70464db1 tcp-wrappers-7.6-r7.ebuild 1961 -MD5 c984d77f220e62f00189c81b19cf08ed ChangeLog 3426 +MD5 d41f62757207239474129683721dbe8a ChangeLog 3592 MD5 67af1108e493cb53ffaae37405d91a93 tcp-wrappers-7.6-r6.ebuild 1954 -MD5 9dcabc937de5d31668863dc8c5850aa0 tcp-wrappers-7.6-r8.ebuild 1980 +MD5 ab4d1a66f65e7da90a18c4b927399136 tcp-wrappers-7.6-r8.ebuild 2055 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 7718940cef3b9199e01d04d65a2bc44b .tcp-wrappers-7.6-r8.ebuild.swp 12288 MD5 dfceee65816e04a79c0f84a468cc118a tcp-wrappers-7.6-r4.ebuild 1288 MD5 dfac556cbaad927748c6d2345fb44e1b files/digest-tcp-wrappers-7.6-r6 142 MD5 d8f39ad34a5d8154665fb5bf431a781d files/digest-tcp-wrappers-7.6-r4 145 diff --git a/sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r8 b/sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r8 new file mode 100644 index 000000000000..cf41066fb0fd --- /dev/null +++ b/sys-apps/tcp-wrappers/files/digest-tcp-wrappers-7.6-r8 @@ -0,0 +1,2 @@ +MD5 e6fa25f71226d090f34de3f6b122fb5a tcp_wrappers_7.6.tar.gz 99438 +MD5 faaced29890e6095a3667edc21ce8d2b tcp-wrappers-7.6-r7-patches.tar.bz2 18987 diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild new file mode 100644 index 000000000000..d303cc89ecd2 --- /dev/null +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r8.ebuild @@ -0,0 +1,84 @@ +# 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-r8.ebuild,v 1.1 2003/12/28 11:06:09 azarah 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/${P}-r7-patches.tar.bz2" +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 ~ia64 ~ppc64" + +DEPEND="virtual/glibc + >=sys-apps/sed-4" +RDEPEND="virtual/glibc" + +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 + + insinto /usr/include + doins tcpd.h + + into /usr + dolib.a libwrap.a + + if [ -z `use static` ]; then + into / + newlib.so libwrap.so libwrap.so.0.${PV} + dosym /lib/libwrap.so.0.${PV} /lib/libwrap.so.0 + dosym /lib/libwrap.so.0 /lib/libwrap.so + # bug #4411 + gen_usr_ldscript libwrap.so || die "gen_usr_ldscript failed" + fi + + dodoc BLURB CHANGES DISCLAIMER README* +} + |