diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-08-02 17:10:30 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-08-02 17:10:30 +0000 |
commit | ab9cdd91d48875135409fb078723737951cd9a10 (patch) | |
tree | f401ca860c7bf724ebd005e0c3d891b82c7a7567 /sys-apps/tcp-wrappers | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-ab9cdd91d48875135409fb078723737951cd9a10.tar.gz gentoo-2-ab9cdd91d48875135409fb078723737951cd9a10.tar.bz2 gentoo-2-ab9cdd91d48875135409fb078723737951cd9a10.zip |
*** empty log message ***
Diffstat (limited to 'sys-apps/tcp-wrappers')
-rw-r--r-- | sys-apps/tcp-wrappers/files/digest | 1 | ||||
-rw-r--r-- | sys-apps/tcp-wrappers/files/tcp_wrappers_7.6.patch | 24 | ||||
-rw-r--r-- | sys-apps/tcp-wrappers/tcp-wrappers-7.6-r1.ebuild | 45 |
3 files changed, 70 insertions, 0 deletions
diff --git a/sys-apps/tcp-wrappers/files/digest b/sys-apps/tcp-wrappers/files/digest new file mode 100644 index 000000000000..61c8414280b9 --- /dev/null +++ b/sys-apps/tcp-wrappers/files/digest @@ -0,0 +1 @@ +MD5 e6fa25f71226d090f34de3f6b122fb5a tcp_wrappers_7.6.tar.gz diff --git a/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6.patch b/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6.patch new file mode 100644 index 000000000000..e5241b10ae47 --- /dev/null +++ b/sys-apps/tcp-wrappers/files/tcp_wrappers_7.6.patch @@ -0,0 +1,24 @@ +diff -u -2 -r tcp_wrappers_7.6.orig/Makefile tcp_wrappers_7.6/Makefile +--- tcp_wrappers_7.6.orig/Makefile Fri Mar 21 19:27:21 1997 ++++ tcp_wrappers_7.6/Makefile Sun May 7 16:16:06 2000 +@@ -45,5 +45,5 @@ + # + # SysV.4 Solaris 2.x OSF AIX +-#REAL_DAEMON_DIR=/usr/sbin ++REAL_DAEMON_DIR=/usr/sbin + # + # BSD 4.4 +diff -u -2 -r tcp_wrappers_7.6.orig/percent_m.c tcp_wrappers_7.6/percent_m.c +--- tcp_wrappers_7.6.orig/percent_m.c Wed Dec 28 17:42:37 1994 ++++ tcp_wrappers_7.6/percent_m.c Sun May 7 16:16:17 2000 +@@ -14,8 +14,8 @@ + + extern int errno; +-#ifndef SYS_ERRLIST_DEFINED ++/*#ifndef SYS_ERRLIST_DEFINED + extern char *sys_errlist[]; + extern int sys_nerr; +-#endif ++#endif*/ + + #include "mystdarg.h" diff --git a/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r1.ebuild b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r1.ebuild new file mode 100644 index 000000000000..774a8551fa2f --- /dev/null +++ b/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcp-wrappers/tcp-wrappers-7.6-r1.ebuild,v 1.1 2000/08/02 17:07:15 achim Exp $ + +P=tcp-wrappers-7.6 +A=tcp_wrappers_7.6.tar.gz +A0="tcp_wrappers_7.6.patch" +S=${WORKDIR}/tcp_wrappers_7.6 +DESCRIPTION="tcp wrappers" +CATEGORY="sys-apps" +SRC_URI="ftp://ftp.porcupine.org/pub/security/${A}" + + +src_unpack() { + unpack ${A} + cd ${S}/ + patch -p1 < ${O}/files/${A0} + cp Makefile Makefile.orig + sed -e "s/-O/${CFLAGS}/" \ + -e "s:AUX_OBJ=.*:AUX_OBJ= \\\:" Makefile.orig > Makefile +} + +src_compile() { + make REAL_DAEMON_DIR=/usr/sbin linux +} + +src_install() { + into /usr + mkdir -p ${D}/usr/sbin + for i in tcpd tcpdchk tcpdmatch safe_finger try-from; + do + dosbin ${i} + done + doman *.[358] + dolib.a libwrap.a + insinto /usr/include + doins tcpd.h + dodoc BLURB CHANGES DISCLAIMER README* +} + + + + + |