From 6ffc4f2e04f2d405b14f198220a3613d386489e7 Mon Sep 17 00:00:00 2001 From: Qing He Date: Wed, 11 Aug 2010 10:04:25 +0800 Subject: tcp-wrappers: add new package version 7.6 based on tcp-wrappers recipe of openembedded changes from openembedded version: - set -DUSE_GETDOMAIN in NETGROUP to fix build error - install libwrap into ${base_libdir}, since it's required by some essential components (e.g. portmap is in ${base_sbindir}) - distribute libwrap.a as well in libwrap-dev Signed-off-by: Qing He --- .../tcp-wrappers/tcp-wrappers-7.6/sig_fix.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta/packages/tcp-wrappers/tcp-wrappers-7.6/sig_fix.patch (limited to 'meta/packages/tcp-wrappers/tcp-wrappers-7.6/sig_fix.patch') diff --git a/meta/packages/tcp-wrappers/tcp-wrappers-7.6/sig_fix.patch b/meta/packages/tcp-wrappers/tcp-wrappers-7.6/sig_fix.patch new file mode 100644 index 0000000000..f286605bfd --- /dev/null +++ b/meta/packages/tcp-wrappers/tcp-wrappers-7.6/sig_fix.patch @@ -0,0 +1,34 @@ +* Mon Feb 10 2003 Harald Hoyer 7.6-29 +- added security patch tcp_wrappers-7.6-sig.patch + +--- tcp_wrappers_7.6/hosts_access.c.sig 2003-02-10 16:18:31.000000000 +0100 ++++ tcp_wrappers_7.6/hosts_access.c 2003-02-10 16:50:38.000000000 +0100 +@@ -66,6 +66,7 @@ + + #define YES 1 + #define NO 0 ++#define ERR -1 + + /* + * These variables are globally visible so that they can be redirected in +@@ -129,9 +129,9 @@ + return (verdict == AC_PERMIT); + if (table_match(hosts_allow_table, request)) + return (YES); +- if (table_match(hosts_deny_table, request)) +- return (NO); +- return (YES); ++ if (table_match(hosts_deny_table, request) == NO) ++ return (YES); ++ return (NO); + } + + /* table_match - match table entries with (daemon, client) pair */ +@@ -175,6 +175,7 @@ + (void) fclose(fp); + } else if (errno != ENOENT) { + tcpd_warn("cannot open %s: %m", table); ++ match = ERR; + } + if (match) { + if (hosts_access_verbose > 1) -- cgit v1.2.3