diff options
author | John Crispin <john@openwrt.org> | 2015-12-17 09:29:54 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-12-17 09:29:54 +0000 |
commit | a418d03d6d3c9ec8028c72b08f46c0a89c16e5f1 (patch) | |
tree | d8bb41baa80a79726946452335a1c24cb0dd40a7 /package/network/utils/dante/patches/100-do-not-use-defdname.patch | |
parent | 68ff0d3d788eeb1880c997a8a9053bb6fdc37755 (diff) | |
download | upstream-a418d03d6d3c9ec8028c72b08f46c0a89c16e5f1.tar.gz upstream-a418d03d6d3c9ec8028c72b08f46c0a89c16e5f1.tar.bz2 upstream-a418d03d6d3c9ec8028c72b08f46c0a89c16e5f1.zip |
dante: update to 1.4.1
- 1.4.x has IPv6 support
- set C std explicitly due to gcc 5 changes/old code style of dante
- disable pam via configure vars since detection of without pam option
is broken (-lpam gets linked in if available)
- remove and refresh patches
only compile tested
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 47926
Diffstat (limited to 'package/network/utils/dante/patches/100-do-not-use-defdname.patch')
-rw-r--r-- | package/network/utils/dante/patches/100-do-not-use-defdname.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/package/network/utils/dante/patches/100-do-not-use-defdname.patch b/package/network/utils/dante/patches/100-do-not-use-defdname.patch deleted file mode 100644 index 37b91a9ffc..0000000000 --- a/package/network/utils/dante/patches/100-do-not-use-defdname.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/lib/addressmatch.c -+++ b/lib/addressmatch.c -@@ -399,18 +399,6 @@ addrmatch(rule, address, protocol, alias - if (hostareeq(rule->addr.domain, hostent->h_name) - || hostisinlist(rule->addr.domain, (const char **)hostent->h_aliases)) - matched = 1; --#if !HAVE_NO_RESOLVESTUFF -- else if (strchr(hostent->h_name, '.') == NULL) { -- /* if hostname we got is non-qualified, try to qualify it. */ -- char fqdn[MAXHOSTNAMELEN]; -- -- snprintf(fqdn, sizeof(fqdn), "%s.%s", -- hostent->h_name, _res.defdname); -- -- if (hostareeq(rule->addr.domain, fqdn)) -- matched = 1; -- } --#endif /* !HAVE_NO_RESOLVESTUFF */ - } - - if (!matched && alias) { -@@ -465,20 +453,6 @@ addrmatch(rule, address, protocol, alias - matched = 1; - break; - } --#if !HAVE_NO_RESOLVESTUFF -- else if (strchr(ip->h_name, '.') == NULL) { -- /* if hostname we got is non-qualified, try to qualify it. */ -- char fqdn[MAXHOSTNAMELEN]; -- -- snprintf(fqdn, sizeof(fqdn), "%s.%s", -- ip->h_name, _res.defdname); -- -- if (hostareeq(rule->addr.domain, fqdn)) { -- matched = 1; -- break; -- } -- } --#endif /* !HAVE_NO_RESOLVESTUFF */ - } - - hostentfree(host); |