summaryrefslogtreecommitdiff
path: root/package/tcp_wrappers
diff options
context:
space:
mode:
Diffstat (limited to 'package/tcp_wrappers')
-rw-r--r--package/tcp_wrappers/Makefile1
-rw-r--r--package/tcp_wrappers/patches/patch-cflags4
-rw-r--r--package/tcp_wrappers/patches/patch-scaffold_c11
3 files changed, 13 insertions, 3 deletions
diff --git a/package/tcp_wrappers/Makefile b/package/tcp_wrappers/Makefile
index fb042c6b0..0f7516b45 100644
--- a/package/tcp_wrappers/Makefile
+++ b/package/tcp_wrappers/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= e6fa25f71226d090f34de3f6b122fb5a
PKG_DESCR:= IP based access control
PKG_SECTION:= libs
+PKG_URL:= ftp://ftp.porcupine.org/pub/security/index.html
PKG_SITES:= ftp://ftp.porcupine.org/pub/security/
PKG_NOPARALLEL:= 1
diff --git a/package/tcp_wrappers/patches/patch-cflags b/package/tcp_wrappers/patches/patch-cflags
index 3748203fe..0581a2679 100644
--- a/package/tcp_wrappers/patches/patch-cflags
+++ b/package/tcp_wrappers/patches/patch-cflags
@@ -1,4 +1,4 @@
--- tcp_wrappers_7.6.orig/cflags 1970-01-01 00:00:00.000000000 +0100
-+++ tcp_wrappers_7.6/cflags 2009-06-05 18:45:36.000000000 +0200
++++ tcp_wrappers_7.6/cflags 2010-11-11 20:03:51.771239624 +0100
@@ -0,0 +1 @@
-+-fwrapv -fno-ident -Os -pipe -march=geode -fomit-frame-pointer -fstack-protector-all -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR="/usr/sbin" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY="/etc/hosts.deny" -DHOSTS_ALLOW="/etc/hosts.allow" -DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len
++-fno-ident -march=pentium-m -fomit-frame-pointer -O2 -pipe -fwrapv -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR="/usr/sbin" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY="/etc/hosts.deny" -DHOSTS_ALLOW="/etc/hosts.allow" -DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len
diff --git a/package/tcp_wrappers/patches/patch-scaffold_c b/package/tcp_wrappers/patches/patch-scaffold_c
index 40b7de4f7..2f8fb8ea5 100644
--- a/package/tcp_wrappers/patches/patch-scaffold_c
+++ b/package/tcp_wrappers/patches/patch-scaffold_c
@@ -1,5 +1,14 @@
--- tcp_wrappers_7.6.orig/scaffold.c 1997-03-21 19:27:24.000000000 +0100
-+++ tcp_wrappers_7.6/scaffold.c 2009-06-05 18:45:03.000000000 +0200
++++ tcp_wrappers_7.6/scaffold.c 2010-11-11 20:08:39.264995798 +0100
+@@ -25,7 +25,7 @@ static char sccs_id[] = "@(#) scaffold.c
+ #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
+ #endif
+
+-extern char *malloc();
++//extern char *malloc();
+
+ /* Application-specific. */
+
@@ -180,10 +180,12 @@ struct request_info *request;
/* ARGSUSED */