Monday, December 10, 2018

UPDATE net/maradns-deadwood

Simple diff for bringing maradns-deadwood to the latest version. From
Changelog [1]:

"Security fix: There was a theoretical issue with the cryptographic code
in Deadwood, where a standards-compliant compiler might not generate
correct secure random numbers (used for the query ID and query source
port)."

While here switch HOMEPAGE to https.

OK?


[1] https://maradns.samiam.org/deadwood/doc/CHANGELOG


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/maradns-deadwood/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile 8 Feb 2018 22:26:48 -0000 1.14
+++ Makefile 11 Dec 2018 05:37:53 -0000
@@ -2,20 +2,20 @@

COMMENT= recursive DNS resolver

-DISTNAME= deadwood-3.2.11
+DISTNAME= deadwood-3.2.13
PKGNAME= ${DISTNAME:S/^/maradns-/}
EXTRACT_SUFX= .tar.bz2
CATEGORIES= net

-HOMEPAGE= http://maradns.samiam.org/deadwood
+HOMEPAGE= https://maradns.samiam.org/deadwood

# BSD
PERMIT_PACKAGE_CDROM= Yes

WANTLIB += c

-MASTER_SITES= http://maradns.samiam.org/deadwood/stable/ \
- http://maradns.samiam.org/deadwood/stable/old/
+MASTER_SITES= ${HOMEPAGE}/stable/ \
+ ${HOMEPAGE}/stable/old/

MAKE_FLAGS= FLAGS="${CFLAGS} -DIPV6" CC="${CC}"
WRKSRC= ${WRKDIST}/src
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/maradns-deadwood/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo 8 Feb 2018 22:26:48 -0000 1.8
+++ distinfo 11 Dec 2018 05:37:53 -0000
@@ -1,2 +1,2 @@
-SHA256 (deadwood-3.2.11.tar.bz2) = LPem/uM0UdqKH9dZ+Ss/PmVrN1LbxvLj20rXki0Hjbs=
-SIZE (deadwood-3.2.11.tar.bz2) = 295660
+SHA256 (deadwood-3.2.13.tar.bz2) = MSl/KHop64iiuLX/jSgRpxEzgsLPyCdZSO/cAQtZTYI=
+SIZE (deadwood-3.2.13.tar.bz2) = 311129
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/maradns-deadwood/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 21 Mar 2012 16:17:58 -0000 1.1.1.1
+++ pkg/PLIST 11 Dec 2018 05:37:53 -0000
@@ -1,14 +1,12 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/03/21 16:17:58 sthen Exp $
@newgroup _deadwood:695
@newuser _deadwood:695:_deadwood:daemon:maradns-deadwood user:/nonexistent:/sbin/nologin
+@rcscript ${RCDIR}/deadwood
@man man/man1/Deadwood.1
@bin sbin/Deadwood
share/examples/maradns-deadwood/
share/examples/maradns-deadwood/dwood3rc
@sample ${SYSCONFDIR}/dwood3rc
-@group _deadwood
@mode 770
+@group _deadwood
@sample /var/deadwood/
-@group
-@mode
-@rcscript ${RCDIR}/deadwood

No comments:

Post a Comment