dns/dnsmasq: update to v2.91

Changelog:	https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blob_plain;f=CHANGELOG;hb=v2.91
This commit is contained in:
Matthias Andree 2025-03-20 22:49:15 +01:00
parent f435a6f8da
commit bbad368748
4 changed files with 6 additions and 29 deletions

View file

@ -1,7 +1,7 @@
PORTNAME= dnsmasq PORTNAME= dnsmasq
DISTVERSION= 2.90 DISTVERSION= 2.91
# Leave the PORTREVISION in even if 0 to avoid accidental PORTEPOCH bumps: # Leave the PORTREVISION in even if 0 to avoid accidental PORTEPOCH bumps:
PORTREVISION= 6 PORTREVISION= 0
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= dns CATEGORIES= dns
MASTER_SITES= https://www.thekelleys.org.uk/dnsmasq/ \ MASTER_SITES= https://www.thekelleys.org.uk/dnsmasq/ \
@ -26,8 +26,7 @@ MAKE_ARGS= CC="${CC}" \
PREFIX="${PREFIX}" \ PREFIX="${PREFIX}" \
RPM_OPT_FLAGS="${CPPFLAGS}" RPM_OPT_FLAGS="${CPPFLAGS}"
CFLAGS+= -Wall -Wno-unused-function -Wno-unused-parameter \ CFLAGS+= -Wall -Wno-unused-function -Wno-unused-parameter \
-Wno-unused-value -Wno-unused-variable \ -Wno-unused-value -Wno-unused-variable
-Wno-gnu-variable-sized-type-not-at-end
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
CONFLICTS_INSTALL= dnsmasq-devel CONFLICTS_INSTALL= dnsmasq-devel

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1707863813 TIMESTAMP = 1742506571
SHA256 (dnsmasq-2.90.tar.xz) = 8e50309bd837bfec9649a812e066c09b6988b73d749b7d293c06c57d46a109e4 SHA256 (dnsmasq-2.91.tar.xz) = f622682848b33677adb2b6ad08264618a2ae0a01da486a93fd8cd91186b3d153
SIZE (dnsmasq-2.90.tar.xz) = 570672 SIZE (dnsmasq-2.91.tar.xz) = 576820

View file

@ -1,10 +0,0 @@
--- CHANGELOG.orig 2024-02-13 13:49:15 UTC
+++ CHANGELOG
@@ -1,3 +1,7 @@
+post version 2.90
+ Fix broken dhcp-relay on *BSD. Thanks to Harold for finding
+ this problem.
+
version 2.90
Fix reversion in --rev-server introduced in 2.88 which
caused breakage if the prefix length is not exactly divisible

View file

@ -1,12 +0,0 @@
--- src/dhcp.c.orig 2024-02-13 13:49:15 UTC
+++ src/dhcp.c
@@ -1121,6 +1121,9 @@ static int relay_upstream4(int iface_index, struct dhc
to.sa.sa_family = AF_INET;
to.in.sin_addr = relay->server.addr4;
to.in.sin_port = htons(relay->port);
+#ifdef HAVE_SOCKADDR_SA_LEN
+ to.in.sin_len = sizeof(struct sockaddr_in);
+#endif
/* Broadcasting to server. */
if (relay->server.addr4.s_addr == 0)