svn commit: r531034 - in head: dns/openmdns dns/openmdns/files net/openmdns

Jan Beich jbeich at FreeBSD.org
Tue Apr 7 21:49:08 UTC 2020


Author: jbeich
Date: Tue Apr  7 21:49:07 2020
New Revision: 531034
URL: https://svnweb.freebsd.org/changeset/ports/531034

Log:
  dns/openmdns: update to 0.7.10
  
  Changes:	https://github.com/haesbaert/mdnsd/compare/0.7...b1c3540

Added:
  head/dns/openmdns/
  head/dns/openmdns/files/
  head/dns/openmdns/files/patch-libmdns_Makefile   (contents, props changed)
Modified:
  head/net/openmdns/Makefile   (contents, props changed)
  head/net/openmdns/distinfo   (contents, props changed)

Added: head/dns/openmdns/files/patch-libmdns_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/openmdns/files/patch-libmdns_Makefile	Tue Apr  7 21:49:07 2020	(r531034)
@@ -0,0 +1,14 @@
+ld: error: cannot open WRKSRC/libmdns/../libmdns: Is a directory
+ld: error: unable to find library -lmdns
+cc: error: linker command failed with exit code 1 (use -v to see invocation)
+
+--- libmdns/Makefile.orig	2018-05-27 08:03:30 UTC
++++ libmdns/Makefile
+@@ -7,7 +7,6 @@ CFLAGS+= -Wmissing-declarations
+ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+ CFLAGS+= -Wsign-compare
+ CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../mdnsd
+-LDADD+= ${.CURDIR}/../libmdns -lmdns
+ LDADD+= -lutil
+ DPADD+=  ${LIBUTIL}
+ 

Modified: head/net/openmdns/Makefile
==============================================================================
--- head/net/openmdns/Makefile	Tue Apr  7 21:43:48 2020	(r531033)
+++ head/net/openmdns/Makefile	Tue Apr  7 21:49:07 2020	(r531034)
@@ -1,8 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	openmdns
-DISTVERSION=	0.7
-PORTREVISION=	1
+DISTVERSION=	0.7-10
+DISTVERSIONSUFFIX=	-gb1c3540
 CATEGORIES=	net
 
 MAINTAINER=	jbeich at FreeBSD.org
@@ -18,15 +18,19 @@ CONFLICTS_INSTALL=	mDNSResponder # sbin/mdnsd
 
 USES=		localbase uidfix
 USE_RC_SUBR=	mdnsd
-MAKE_ENV=	LDADD="${LIBS}"
+USE_LDCONFIG=	yes
+# Add SHLIB_MAJOR=0 and drop @comment if the library is desired
+MAKE_ENV=	LDADD="${LIBS}" NO_PROFILE=1
 MAKE_ARGS=	BINDIR="${PREFIX}/sbin" \
+		LIBDIR="${PREFIX}/lib" \
 		MANDIR="${PREFIX}/share/man/man"
 CFLAGS+=	-D__dead=__dead2
 LDFLAGS+=	-Wl,--as-needed # -lutil
-LIBS+=		-lopenbsd
+LIBS+=		-lmdns -lopenbsd
 SUB_LIST=	COMMENT="${COMMENT}"
 PLIST_FILES=	sbin/mdnsctl \
 		sbin/mdnsd \
+		"@comment lib/libmdns.a" \
 		share/man/man8/mdnsctl.8.gz \
 		share/man/man8/mdnsd.8.gz
 PORTDOCS=	*
@@ -48,6 +52,6 @@ post-patch:
 
 post-install-DOCS-on:
 	(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/net/openmdns/distinfo
==============================================================================
--- head/net/openmdns/distinfo	Tue Apr  7 21:43:48 2020	(r531033)
+++ head/net/openmdns/distinfo	Tue Apr  7 21:49:07 2020	(r531034)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1489137852
-SHA256 (haesbaert-mdnsd-0.7_GH0.tar.gz) = cb552f3431e57a3ad09b011f91ebdb8cc100a5c38978fcdb0fea27fc5ebd2880
-SIZE (haesbaert-mdnsd-0.7_GH0.tar.gz) = 2935140
+TIMESTAMP = 1527408210
+SHA256 (haesbaert-mdnsd-0.7-10-gb1c3540_GH0.tar.gz) = 6eee2b5a6349b8285be7090848eee65193da4e3ec7f861321020687b292b98f3
+SIZE (haesbaert-mdnsd-0.7-10-gb1c3540_GH0.tar.gz) = 2935524


More information about the svn-ports-head mailing list