summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2002-10-07 22:09:41 +0000
committerjschauma <jschauma@pkgsrc.org>2002-10-07 22:09:41 +0000
commit86453d8a91c2811efa34cd026f1324ec9511d920 (patch)
tree1d8427e32ae622f8ec46663c867383b58c76f5e1 /security
parent2d1bf5ebf835e3fbbf03664f002ee2a8ba7e802d (diff)
downloadpkgsrc-86453d8a91c2811efa34cd026f1324ec9511d920.tar.gz
Allow this to build on Linux (the Debian flavor, at least)
Diffstat (limited to 'security')
-rw-r--r--security/tcp_wrappers/Makefile6
-rw-r--r--security/tcp_wrappers/distinfo4
-rw-r--r--security/tcp_wrappers/patches/patch-aa15
3 files changed, 17 insertions, 8 deletions
diff --git a/security/tcp_wrappers/Makefile b/security/tcp_wrappers/Makefile
index ed076c84168..55822a34790 100644
--- a/security/tcp_wrappers/Makefile
+++ b/security/tcp_wrappers/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/08/28 03:51:48 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2002/10/07 22:09:41 jschauma Exp $
DISTNAME= tcp_wrappers_7.6-ipv6.1
PKGNAME= tcp_wrappers-7.6.1
@@ -10,7 +10,7 @@ MAINTAINER= tron@netbsd.org
HOMEPAGE= ftp://ftp.porcupine.org/pub/security/index.html
COMMENT= Monitor and filter incoming requests for network services
-ONLY_FOR_PLATFORM= Darwin-*-* SunOS-*-* # in NetBSD base system
+ONLY_FOR_PLATFORM= Darwin-*-* SunOS-*-* Linux-*-* # in NetBSD base system
USE_BUILDLINK2= # defined
USE_LIBTOOL= # defined
@@ -21,6 +21,8 @@ USE_LIBTOOL= # defined
ALL_TARGET= netbsd
.elif ${OPSYS} == "SunOS"
ALL_TARGET= sunos5
+.elif ${OPSYS} == "Linux"
+ALL_TARGET= linux
.else
ALL_TARGET= generic # good luck!
.endif
diff --git a/security/tcp_wrappers/distinfo b/security/tcp_wrappers/distinfo
index 65dc64be137..e43b21d5ed9 100644
--- a/security/tcp_wrappers/distinfo
+++ b/security/tcp_wrappers/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 15:40:41 agc Exp $
+$NetBSD: distinfo,v 1.3 2002/10/07 22:09:41 jschauma Exp $
SHA1 (tcp_wrappers_7.6-ipv6.1.tar.gz) = d0b70d4f0c0ac0375d8283a18ec2b6d602f82fde
Size (tcp_wrappers_7.6-ipv6.1.tar.gz) = 144708 bytes
-SHA1 (patch-aa) = fa9764d666fe59baa495e0b8487d2beef0f96a83
+SHA1 (patch-aa) = af0ec390df43dbd621df8d15877f5cde6851ebf7
diff --git a/security/tcp_wrappers/patches/patch-aa b/security/tcp_wrappers/patches/patch-aa
index 2be4ac634fb..98414721825 100644
--- a/security/tcp_wrappers/patches/patch-aa
+++ b/security/tcp_wrappers/patches/patch-aa
@@ -1,7 +1,5 @@
-$NetBSD: patch-aa,v 1.2 2001/03/10 23:28:08 tron Exp $
-
---- Makefile~ Mon Aug 21 19:59:52 2000
-+++ Makefile Sat Mar 10 23:58:57 2001
+--- Makefile.orig Mon Aug 21 13:59:52 2000
++++ Makefile Mon Oct 7 17:50:50 2002
@@ -44,7 +44,7 @@
#REAL_DAEMON_DIR=/usr/etc
#
@@ -11,6 +9,15 @@ $NetBSD: patch-aa,v 1.2 2001/03/10 23:28:08 tron Exp $
#
# BSD 4.4
#REAL_DAEMON_DIR=/usr/libexec
+@@ -144,7 +144,7 @@
+ linux:
+ @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
+ LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \
+- NETGROUP= TLI= EXTRA_CFLAGS="-DBROKEN_SO_LINGER" all
++ NETGROUP= TLI= EXTRA_CFLAGS="-DBROKEN_SO_LINGER -DSYS_ERRLIST_DEFINED" all
+
+ # This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x.
+ hpux hpux8 hpux9 hpux10:
@@ -669,7 +669,7 @@
# Protection against weird shells or weird make programs.