diff options
Diffstat (limited to 'dns')
-rw-r--r-- | dns/dnsmasq-devel/Makefile | 6 | ||||
-rw-r--r-- | dns/dnsmasq-devel/distinfo | 6 | ||||
-rw-r--r-- | dns/dnsmasq-devel/files/patch-src_network.c | 34 |
3 files changed, 6 insertions, 40 deletions
diff --git a/dns/dnsmasq-devel/Makefile b/dns/dnsmasq-devel/Makefile index 9b51f589fce7..2c08176716f7 100644 --- a/dns/dnsmasq-devel/Makefile +++ b/dns/dnsmasq-devel/Makefile @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= dnsmasq -DISTVERSION= 2.85rc1 +DISTVERSION= 2.85rc2 # Leave the PORTREVISION in even if 0 to avoid accidental PORTEPOCH bumps: -PORTREVISION= 1 +PORTREVISION= 0 PORTEPOCH= 3 # attn - different between -devel and dnsmasq ports! CATEGORIES= dns MASTER_SITES= https://www.thekelleys.org.uk/dnsmasq/release-candidates/ \ @@ -17,7 +17,7 @@ COMMENT= Lightweight DNS forwarder, DHCP, and TFTP server LICENSE= GPLv2 DEPRECATED= short-lived development branch, to be removed once 2.85 is released -EXPIRATION_DATE=2021-03-31 # this is to keep dnsmasq-devel outside the quarterly branches +EXPIRATION_DATE=2021-04-10 USES= cpe shebangfix tar:xz CPE_VENDOR= thekelleys diff --git a/dns/dnsmasq-devel/distinfo b/dns/dnsmasq-devel/distinfo index 925def555089..c2a7e8fa1327 100644 --- a/dns/dnsmasq-devel/distinfo +++ b/dns/dnsmasq-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1616024487 -SHA256 (dnsmasq-2.85rc1.tar.xz) = 97bf5b606f0a5a9e439b464ac5d2296f64b0b19723985e5bc330beda6407a09a -SIZE (dnsmasq-2.85rc1.tar.xz) = 537632 +TIMESTAMP = 1616842199 +SHA256 (dnsmasq-2.85rc2.tar.xz) = d5f359e993b6f3f690faa829178a556550e6d309289359a7bee2bf24f516af43 +SIZE (dnsmasq-2.85rc2.tar.xz) = 538376 diff --git a/dns/dnsmasq-devel/files/patch-src_network.c b/dns/dnsmasq-devel/files/patch-src_network.c deleted file mode 100644 index 4518853d70eb..000000000000 --- a/dns/dnsmasq-devel/files/patch-src_network.c +++ /dev/null @@ -1,34 +0,0 @@ -commit 1de6bbc10872b67f9f54a2511e6750a6071f5544 -Author: Simon Kelley <simon@thekelleys.org.uk> -Date: Fri Mar 19 22:24:08 2021 +0000 - - Fix FTBS on FreeBSD due to Linux-specific optimisation of if_nametoindex() - -diff --git a/src/network.c b/src/network.c -index cca6ff2..b4a8d7d 100644 ---- a/src/network.c -+++ b/src/network.c -@@ -720,13 +720,17 @@ int enumerate_interfaces(int reset) - to a server is specified by an interface, so cache them. - Update the cache here. */ - for (serv = daemon->servers; serv; serv = serv->next) -- if (strlen(serv->interface) != 0) -+ if (serv->interface[0] != 0) - { -- struct ifreq ifr; -- -- safe_strncpy(ifr.ifr_name, serv->interface, IF_NAMESIZE); -- if (ioctl(param.fd, SIOCGIFINDEX, &ifr) != -1) -- serv->ifindex = ifr.ifr_ifindex; -+#ifdef HAVE_LINUX_NETWORK -+ struct ifreq ifr; -+ -+ safe_strncpy(ifr.ifr_name, serv->interface, IF_NAMESIZE); -+ if (ioctl(param.fd, SIOCGIFINDEX, &ifr) != -1) -+ serv->ifindex = ifr.ifr_ifindex; -+#else -+ serv->ifindex = if_nametoindex(serv->interface); -+#endif - } - - again: |