Description of problem: The current Fedora package is based on the initial release of tcp_wrappers 7.6 from Wietse. Since then, an intermediate (re-)release of that same version with IPv6 came out. The Fedora packaging uses a series of patches to add IPv6. Releasing based on this (re-)release would eliminate a few patches: ftp://ftp.porcupine.org/pub/security/tcp_wrappers_7.6-ipv6.4.tar.gz I spoke to Wietse recently and he said its not impossible that another release of tcp_wrappers might come out (even though the last one was 14 years ago). Version-Release number of selected component (if applicable): 7.6-60 How reproducible: N/A Steps to Reproduce: 1. 2. 3. Actual results: N/A Expected results: N/A Additional info:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
hello?
There are several conflicts in existing patches and the new tcp_wrappers_7.6-ipv6.4.tar.gz code which need to be solved. I'm working on it and I'll send soon (definitely before F18 Beta) rebased package for testing.
I tried to compile the vanilla ipv6 version of tcp_wrappers, but it failed: $ make REAL_DAEMON_DIR=/usr/bin IPV6=-DHAVE_IPV6 linux ... cc -O -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/bin\" -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DBROKEN_SO_LINGER -DUSE_STRERROR -Dvsyslog=myvsyslog -DALWAYS_HOSTNAME -DHAVE_IPV6 -c hosts_access.c hosts_access.c: In function ‘ipv6_mask’: hosts_access.c:408:5: error: unknown type name ‘uchar_t’ hosts_access.c:408:19: error: ‘uchar_t’ undeclared (first use in this function) hosts_access.c:408:19: note: each undeclared identifier is reported only once for each function it appears in hosts_access.c:408:27: error: expected expression before ‘)’ token hosts_access.c:419:27: error: expected expression before ‘)’ token After fixing this small issue (replacing uchar_t with unsigned char) another issue presents itself: misc.c:(.text+0x1e6): undefined reference to `freehostent' misc.c:(.text+0x202): undefined reference to `getipnodebyname' misc.c:(.text+0x22f): undefined reference to `freehostent' misc.c:(.text+0x24b): undefined reference to `getipnodebyname' These functions are (according to the manpage) deprecated and removed from glibc.
Created attachment 690801 [details] Update to official IPv6 codebase Attached a patch with the proposed changes. The patch uses the official codebase w/ IPv6 support. Both issues are solved in it.
Applied, thanks. http://pkgs.fedoraproject.org/cgit/tcp_wrappers.git/commit/?id=cf076b1867b6310182b72007111dfb89612eedcf