Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2024 14:43:32 GMT
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 95b16c6c1e04 - main - dns/dnsmasq-devel: update to v2.91test1
Message-ID:  <202412201443.4BKEhWpX013508@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=95b16c6c1e04a5434202815965b9bce7d764b56e

commit 95b16c6c1e04a5434202815965b9bce7d764b56e
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-12-20 14:41:28 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-12-20 14:43:28 +0000

    dns/dnsmasq-devel: update to v2.91test1
    
    ChangeLog: https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blob;f=CHANGELOG;h=8982a93cb95c074e652a19b6f2a6a33dfffba04a;hb=5d32f35bdcd6105acc206e0afd0516dee2dd1439
    
    Note the test I've added has not seen serious testing, it's just
    to fix compiles, and might impair how we enumerate interfaces.
      I've sent it upstream to the dnsmasq-discuss@ mailing list so Simon or
    other people are aware and can provide a different fix.
    
    This is a TEST release, treat it as such.
---
 dns/dnsmasq-devel/Makefile          | 10 ++++------
 dns/dnsmasq-devel/distinfo          |  6 +++---
 dns/dnsmasq-devel/files/patch-bpf.c | 19 +++++++++++++++++++
 3 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/dns/dnsmasq-devel/Makefile b/dns/dnsmasq-devel/Makefile
index a853e2e25652..fae20417cefa 100644
--- a/dns/dnsmasq-devel/Makefile
+++ b/dns/dnsmasq-devel/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	dnsmasq
-DISTVERSION=	2.90test4 # remember to bump PORTEPOCH when going from test to rc!
+DISTVERSION=	2.91test1 # remember to bump PORTEPOCH when going from test to rc!
 # Leave the PORTREVISION in even if 0 to avoid accidental PORTEPOCH bumps:
-PORTREVISION=	1
+PORTREVISION=	0
 PORTEPOCH=	5
 CATEGORIES=	dns
 #MASTER_SITES=	https://www.thekelleys.org.uk/dnsmasq/release-candidates/ \
@@ -16,8 +16,7 @@ WWW=		https://www.thekelleys.org.uk/dnsmasq/doc.html
 
 LICENSE=	GPLv2
 
-DEPRECATED=	Short-lived test branch, to be removed after v2.90 release
-IGNORE=		please use dns/dnsmasq, which is newer
+DEPRECATED=	Short-lived test branch, to be removed after v2.91 release
 
 USES=		cpe shebangfix tar:xz
 CPE_VENDOR=	thekelleys
@@ -36,7 +35,6 @@ CFLAGS+=	-Wall -Wno-unused-function -Wno-unused-parameter \
 CPPFLAGS+=	-I${LOCALBASE}/include
 
 CONFLICTS_INSTALL=	dnsmasq-2*
-PATCH_STRIP=		-p1
 SUB_FILES=		pkg-message
 
 PORTDOCS=	CHANGELOG CHANGELOG.archive FAQ doc.html setup.html
@@ -106,7 +104,7 @@ USE_RC_SUBR=	dnsmasq
 LDFLAGS+=	-L${LOCALBASE}/lib ${_intllibs} ${ICONV_LIB}
 
 post-patch:
-	${REINPLACE_CMD} -e '/^lua_/s/lua/lua-${LUA_VER}/' ${WRKSRC}/Makefile
+	${REINPLACE_CMD} -e '/^LUA /s/lua/lua-${LUA_VER}/' ${WRKSRC}/Makefile
 
 pre-configure: pretty-print-config
 .if ${PORT_OPTIONS:MIDN}
diff --git a/dns/dnsmasq-devel/distinfo b/dns/dnsmasq-devel/distinfo
index 0eac2535b367..d83bf3e06fb4 100644
--- a/dns/dnsmasq-devel/distinfo
+++ b/dns/dnsmasq-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707806733
-SHA256 (dnsmasq-2.90test4.tar.xz) = 935177bede763c2a433b1a5700055a93f88913a6efadd461c4905c474d7cd69d
-SIZE (dnsmasq-2.90test4.tar.xz) = 593728
+TIMESTAMP = 1734696522
+SHA256 (dnsmasq-2.91test1.tar.xz) = 8687368b8e8632ffdc2e19a83197ac4aca703cb002e55fc8ac4017dbdc9d87ec
+SIZE (dnsmasq-2.91test1.tar.xz) = 570964
diff --git a/dns/dnsmasq-devel/files/patch-bpf.c b/dns/dnsmasq-devel/files/patch-bpf.c
new file mode 100644
index 000000000000..9f2082b5b0ac
--- /dev/null
+++ b/dns/dnsmasq-devel/files/patch-bpf.c
@@ -0,0 +1,19 @@
+--- src/bpf.c.orig	2024-12-19 00:36:42 UTC
++++ src/bpf.c
+@@ -100,14 +100,14 @@ int arp_enumerate(void *parm, callback_t callback)
+ #endif /* defined(HAVE_BSD_NETWORK) && !defined(__APPLE__) */
+ 
+ 
+-int iface_enumerate(int family, void *parm, int (*callback)())
++int iface_enumerate(int family, void *parm, callback_t callback)
+ {
+   struct ifaddrs *head, *addrs;
+   int errsave, fd = -1, ret = 0;
+ 
+   if (family == AF_UNSPEC)
+ #if defined(HAVE_BSD_NETWORK) && !defined(__APPLE__)
+-    return  arp_enumerate(parm, callback.af_unspec);
++    return  arp_enumerate(parm, callback);
+ #else
+   return 0; /* need code for Solaris and MacOS*/
+ #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412201443.4BKEhWpX013508>