tcp-wrappers: Remove support
PATCH 1/1 tcp-wrappers: Remove support
It has been removed in 2001, The code does not compile with new compilers, it has to be fixed/patched with every compiler release
This has long gone in other distributions too e.g. fedora removed it in F28 [1]
[1] https://fedoraproject.org/wiki/Changes/Deprecate_TCP_wrappers
--- meta/conf/distro/include/maintainers.inc | 1 - .../inetutils/inetutils_2.6.bb | 2 +- .../nfs-utils/nfs-utils_2.8.4.bb | 5 +- .../socat/socat_1.8.0.3.bb | 3 +- meta/recipes-extended/quota/quota_4.10.bb | 5 +- .../recipes-extended/rpcbind/rpcbind_1.2.8.bb | 3 - .../0001-Fix-build-with-clang.patch | 65 - ...plicit-function-declaration-warnings.patch | 114 -- ...0001-Remove-fgets-extern-declaration.patch | 43 - .../tcp-wrappers-7.6/00_man_quoting.diff | 77 - .../tcp-wrappers-7.6/01_man_portability.patch | 250 ---- .../05_wildcard_matching.patch | 105 -- .../06_fix_gethostbyname.patch | 32 - .../tcp-wrappers-7.6/10_usagi-ipv6.patch | 1255 ----------------- .../tcp-wrappers-7.6/11_tcpd_blacklist.patch | 153 -- .../tcp-wrappers-7.6/11_usagi_fix.patch | 47 - .../tcp-wrappers-7.6/12_makefile_config.patch | 85 -- .../tcp-wrappers-7.6/13_shlib_weaksym.patch | 255 ---- .../tcp-wrappers-7.6/14_cidr_support.patch | 68 - .../tcp-wrappers-7.6/15_match_clarify.patch | 14 - .../tcp-wrappers-7.6/expand_remote_port.patch | 73 - .../tcp-wrappers-7.6/fix_warnings.patch | 25 - .../tcp-wrappers-7.6/fix_warnings2.patch | 200 --- .../tcp-wrappers-7.6/have_strerror.patch | 21 - .../tcp-wrappers-7.6/ldflags.patch | 45 - .../makefile-fix-parallel.patch | 54 - .../tcp-wrappers-7.6/man_fromhost.patch | 23 - .../tcp-wrappers-7.6/musl-decls.patch | 31 - .../rename_strings_variable.patch | 35 - .../tcp-wrappers-7.6/restore_sigalarm.patch | 39 - .../tcp-wrappers/tcp-wrappers-7.6/rfc931.diff | 41 - .../tcp-wrappers-7.6/safe_finger.8 | 34 - .../tcp-wrappers-7.6/safe_finger.patch | 31 - .../tcp-wrappers-7.6/sig_fix.patch | 36 - .../tcp-wrappers-7.6/siglongjmp.patch | 32 - .../tcp-wrappers-7.6/socklen_t.patch | 58 - .../tcp-wrappers-7.6/tcpdchk_libwrapped.patch | 41 - .../tcp-wrappers/tcp-wrappers-7.6/try-from.8 | 28 - .../tcp-wrappers/tcp-wrappers_7.6.bb | 135 -- .../xinetd/xinetd_2.3.15.4.bb | 3 - 40 files changed, 5 insertions(+), 3562 deletions(-) delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-build-with-clang.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-implicit-function-declaration-warnings.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Remove-fgets-extern-declaration.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/00_man_quoting.diff delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/01_man_portability.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/05_wildcard_matching.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/06_fix_gethostbyname.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/10_usagi-ipv6.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/11_tcpd_blacklist.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/11_usagi_fix.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/12_makefile_config.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/13_shlib_weaksym.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/14_cidr_support.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/15_match_clarify.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/expand_remote_port.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings2.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/have_strerror.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/ldflags.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/makefile-fix-parallel.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/musl-decls.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/rename_strings_variable.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/restore_sigalarm.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/rfc931.diff delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/safe_finger.8 delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/safe_finger.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/sig_fix.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/siglongjmp.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/socklen_t.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/tcpdchk_libwrapped.patch delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/try-from.8 delete mode 100644 meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
meta/conf/distro/include/maintainers.inc +0 -1
@@ -833,7 +833,6 @@ RECIPE_MAINTAINER:pn-target-sdk-provides-dummy = "Richard Purdie <richard.purdie RECIPE_MAINTAINER:pn-tcf-agent = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-tcl = "Yi Zhao <[email protected]>" RECIPE_MAINTAINER:pn-tcl8 = "Yi Zhao <[email protected]>" -RECIPE_MAINTAINER:pn-tcp-wrappers = "Robert Yang <[email protected]>" RECIPE_MAINTAINER:pn-testexport-tarball = "Richard Purdie <[email protected]>" RECIPE_MAINTAINER:pn-texinfo = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-texinfo-dummy-native = "Unassigned <[email protected]>"
meta/recipes-connectivity/inetutils/inetutils_2.6.bb +1 -1
@@ -192,7 +192,7 @@ RPROVIDES:${PN}-rsh = "rsh" FILES:${PN}-rshd = "${sbindir}/in.rshd ${sbindir}/in.rlogind ${sbindir}/in.rexecd \ ${sysconfdir}/xinetd.d/rsh ${sysconfdir}/xinetd.d/rlogin ${sysconfdir}/xinetd.d/rexec" FILES:${PN}-rshd-dbg = "${sbindir}/.debug/in.rshd ${sbindir}/.debug/in.rlogind ${sbindir}/.debug/in.rexecd" -RDEPENDS:${PN}-rshd += "xinetd tcp-wrappers" +RDEPENDS:${PN}-rshd += "xinetd" RCONFLICTS:${PN}-rshd += "netkit-rshd-server" RPROVIDES:${PN}-rshd = "rshd"
meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.4.bb +1 -4
@@ -55,14 +55,11 @@ EXTRA_OECONF = "--with-statduser=rpcuser \ LDFLAGS += "-lsqlite3 -levent" -PACKAGECONFIG ??= "tcp-wrappers \ - ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} \ +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} \ " -PACKAGECONFIG:remove:libc-musl = "tcp-wrappers" #krb5 is available in meta-oe PACKAGECONFIG[gssapi] = "--with-krb5=${STAGING_EXECPREFIXDIR} --enable-gss --enable-svcgss,--disable-gss --disable-svcgss,krb5" -PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers,tcp-wrappers" PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," # libdevmapper is available in meta-oe PACKAGECONFIG[nfsv41] = "--enable-nfsv41,--disable-nfsv41,libdevmapper,libdevmapper"
meta/recipes-connectivity/socat/socat_1.8.0.3.bb +1 -2
@@ -37,9 +37,8 @@ TERMBITS_SHIFTS:powerpc64 = "sc_cv_sys_crdly_shift=12 \ sc_cv_sys_tabdly_shift=10 \ sc_cv_sys_csize_shift=8" -PACKAGECONFIG:class-target ??= "tcp-wrappers readline openssl" +PACKAGECONFIG:class-target ??= "readline openssl" PACKAGECONFIG ??= "readline openssl" -PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
meta/recipes-extended/quota/quota_4.10.bb +2 -3
@@ -25,10 +25,9 @@ CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-I${STAGING_INCDIR}/tir LDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-ltirpc', '', d)}" ASNEEDED = "" -PACKAGECONFIG ??= "tcp-wrappers rpc bsd" -PACKAGECONFIG:libc-musl = "tcp-wrappers rpc" +PACKAGECONFIG ??= "rpc bsd" +PACKAGECONFIG:libc-musl = "rpc" -PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" PACKAGECONFIG[rpc] = "--enable-rpc,--disable-rpc,libtirpc" PACKAGECONFIG[bsd] = "--enable-bsd_behaviour=yes,--enable-bsd_behaviour=no," PACKAGECONFIG[ldapmail] = "--enable-ldapmail,--disable-ldapmail,openldap"
meta/recipes-extended/rpcbind/rpcbind_1.2.8.bb +0 -3
@@ -22,9 +22,6 @@ SRC_URI[sha256sum] = "964132c389918e8964d7334936b6dd10ef025b300c6b29e693ba0f2955 inherit autotools update-rc.d systemd pkgconfig update-alternatives sourceforge-releases -PACKAGECONFIG ??= "tcp-wrappers" -PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" - INITSCRIPT_NAME = "rpcbind" INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ."
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-build-with-clang.patch deleted +0 -65
65 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Fix-implicit-function-declaration-warnings.patch deleted +0 -114
114 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/0001-Remove-fgets-extern-declaration.patch deleted +0 -43
43 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/00_man_quoting.diff deleted +0 -77
77 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/01_man_portability.patch deleted +0 -250
250 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/05_wildcard_matching.patch deleted +0 -105
105 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/06_fix_gethostbyname.patch deleted +0 -32
@@ -1,32 +0,0 @@ -Upstream-Status: Inactive-Upstream [current release is from 1997; no vcs anywhere] - -* Mon Feb 5 2001 Preston Brown <[email protected]> -- fix gethostbyname to work better with dot "." notation (#16949) - ---- tcp_wrappers_7.6/socket.c.fixgethostbyname Fri Mar 21 13:27:25 1997 -+++ tcp_wrappers_7.6/socket.c Mon Feb 5 14:09:40 2001 -@@ -52,7 +52,8 @@ - char *name; - { - char dot_name[MAXHOSTNAMELEN + 1]; -- -+ struct hostent *hp; -+ - /* - * Don't append dots to unqualified names. Such names are likely to come - * from local hosts files or from NIS. -@@ -61,8 +62,12 @@ - if (strchr(name, '.') == 0 || strlen(name) >= MAXHOSTNAMELEN - 1) { - return (gethostbyname(name)); - } else { -- sprintf(dot_name, "%s.", name); -- return (gethostbyname(dot_name)); -+ sprintf(dot_name, "%s.", name); -+ hp = gethostbyname(dot_name); -+ if (hp) -+ return hp; -+ else -+ return (gethostbyname(name)); - } - } -
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/10_usagi-ipv6.patch deleted +0 -1255
1,255 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/11_tcpd_blacklist.patch deleted +0 -153
153 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/11_usagi_fix.patch deleted +0 -47
47 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/12_makefile_config.patch deleted +0 -85
85 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/13_shlib_weaksym.patch deleted +0 -255
255 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/14_cidr_support.patch deleted +0 -68
68 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/15_match_clarify.patch deleted +0 -14
@@ -1,14 +0,0 @@ -Upstream-Status: Inactive-Upstream [current release is from 1997; no vcs anywhere] - -diff -ruN tcp_wrappers_7.6.orig/hosts_access.5 tcp_wrappers_7.6/hosts_access.5 ---- tcp_wrappers_7.6.orig/hosts_access.5 2004-04-25 12:17:59.000000000 +0200 -+++ tcp_wrappers_7.6/hosts_access.5 2004-04-25 12:17:53.000000000 +0200 -@@ -89,6 +89,8 @@ - bitwise AND of the address and the `mask\'. For example, the net/mask - pattern `131.155.72.0/255.255.254.0\' matches every address in the - range `131.155.72.0\' through `131.155.73.255\'. -+`255.255.255.255\' is not a valid mask value, so a single host can be -+matched just by its IP. - .IP \(bu - An expression of the form `n.n.n.n/mm' is interpreted as a - `net/masklength' pair, where `mm' is the number of consecutive `1'
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/expand_remote_port.patch deleted +0 -73
73 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings.patch deleted +0 -25
@@ -1,25 +0,0 @@ -Compile warning fixes from Debian - -Signed-off-by: Adrian Bunk <[email protected]> -Upstream-Status: Inactive-Upstream [current release is from 1997; no vcs anywhere] - ---- a/options.c -+++ b/options.c -@@ -41,6 +41,7 @@ static char sccsid[] = "@(#) options.c 1 - #include <netinet/in.h> - #include <netdb.h> - #include <stdio.h> -+#include <unistd.h> - #include <syslog.h> - #include <pwd.h> - #include <grp.h> ---- a/scaffold.c -+++ b/scaffold.c -@@ -17,6 +17,7 @@ static char sccs_id[] = "@(#) scaffold.c - #include <arpa/inet.h> - #include <netdb.h> - #include <stdio.h> -+#include <stdlib.h> - #include <syslog.h> - #include <setjmp.h> - #include <string.h>
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/fix_warnings2.patch deleted +0 -200
200 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/have_strerror.patch deleted +0 -21
@@ -1,21 +0,0 @@ -Upstream-Status: Inactive-Upstream [current release is from 1997; no vcs anywhere] - -diff -ruN tcp_wrappers_7.6.orig/percent_m.c tcp_wrappers_7.6/percent_m.c ---- tcp_wrappers_7.6.orig/percent_m.c 1994-12-28 17:42:37.000000000 +0100 -+++ tcp_wrappers_7.6/percent_m.c 2003-08-21 02:45:31.000000000 +0200 -@@ -29,11 +29,15 @@ - - while (*bp = *cp) - if (*cp == '%' && cp[1] == 'm') { -+#ifdef HAVE_STRERROR -+ strcpy(bp, strerror(errno)); -+#else - if (errno < sys_nerr && errno > 0) { - strcpy(bp, sys_errlist[errno]); - } else { - sprintf(bp, "Unknown error %d", errno); - } -+#endif - bp += strlen(bp); - cp += 2; - } else {
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/ldflags.patch deleted +0 -45
45 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/makefile-fix-parallel.patch deleted +0 -54
12 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/man_fromhost.patch deleted +0 -23
Lines of this file are not shown. View the raw message.
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/musl-decls.patch deleted +0 -31
Lines of this file are not shown. View the raw message.
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/rename_strings_variable.patch deleted +0 -35
Lines of this file are not shown. View the raw message.
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/restore_sigalarm.patch deleted +0 -39
Lines of this file are not shown. View the raw message.
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/rfc931.diff deleted +0 -41
41 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/safe_finger.8 deleted +0 -34
Lines of this file are not shown. View the raw message.
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/safe_finger.patch deleted +0 -31
Lines of this file are not shown. View the raw message.
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/sig_fix.patch deleted +0 -36
Lines of this file are not shown. View the raw message.
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/siglongjmp.patch deleted +0 -32
Lines of this file are not shown. View the raw message.
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/socklen_t.patch deleted +0 -58
58 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/tcpdchk_libwrapped.patch deleted +0 -41
41 lines not on this page · raw message
meta/recipes-extended/tcp-wrappers/tcp-wrappers-7.6/try-from.8 deleted +0 -28
Lines of this file are not shown. View the raw message.
meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb deleted +0 -135
135 lines not on this page · raw message
meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb +0 -3
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.