Date: Mon, 26 Jun 2023 09:33:24 GMT From: Nuno Teixeira <eduardo@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9c1fa59c5c89 - main - dns/mDNSResponder_nss: Convert port as a slave to net/mDNSResponder Message-ID: <202306260933.35Q9XOiS033410@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=9c1fa59c5c8914145c95c66517604addfd36b27f commit 9c1fa59c5c8914145c95c66517604addfd36b27f Author: Matthieu Volat <mazhe@alkumuna.eu> AuthorDate: 2023-06-26 09:25:55 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-06-26 09:33:11 +0000 dns/mDNSResponder_nss: Convert port as a slave to net/mDNSResponder PR: 256955 --- dns/mDNSResponder_nss/Makefile | 29 ++++++++++++----------------- dns/mDNSResponder_nss/distinfo | 3 --- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/dns/mDNSResponder_nss/Makefile b/dns/mDNSResponder_nss/Makefile index 4db810662aa9..3f3c2104b2f2 100644 --- a/dns/mDNSResponder_nss/Makefile +++ b/dns/mDNSResponder_nss/Makefile @@ -1,38 +1,33 @@ -PORTNAME= mDNSResponder -PORTVERSION= 1310.40.42 CATEGORIES= dns net -MASTER_SITES= http://opensource.apple.com/tarballs/mDNSResponder/ +# Always set PORTREVISION explicitly as otherwise it is inherited from net/mDNSResponder +PORTREVISION= 0 PKGNAMESUFFIX= _nss MAINTAINER= mazhe@alkumuna.eu COMMENT= Apple mDNS responder - FreeBSD nsswitch module WWW= https://opensource.apple.com/tarballs/mDNSResponder/ -LICENSE= APACHE20 BSD3CLAUSE -LICENSE_COMB= dual - LIB_DEPENDS= libdns_sd.so:net/mDNSResponder -USES= cpe - -CPE_VENDOR= apple - CONFLICTS_INSTALL= nss_mdns -WRKSRC= ${WRKDIR}/${PORTNAME:S/_nss//}-${PORTVERSION} - -.include <bsd.port.pre.mk> +MASTERDIR= ${.CURDIR}/../../net/mDNSResponder +EXTRA_PATCHES= ${.CURDIR}/files/patch-mDNSPosix__nss_mdns.c +PLIST= ${.CURDIR}/pkg-plist +PKGMESSAGE= ${.CURDIR}/pkg-message +DESCR= ${.CURDIR}/pkg-descr -LD=${CC} +# Disable some master port targets +TARGET_ORDER_OVERRIDE= -1:post-install -1:install-rc-script post-extract: - @${CP} ${FILESDIR}/nss_mdns_freebsd.c ${WRKSRC}/mDNSPosix + @${CP} ${.CURDIR}/files/nss_mdns_freebsd.c ${WRKSRC}/mDNSPosix do-build: (cd ${WRKSRC}/mDNSPosix && ${CC} ${CFLAGS} -c -std=c99 -Wall -fPIC \ -I. -I${PREFIX}/include -DPREFIX=\"${PREFIX}\" \ nss_mdns.c nss_mdns_freebsd.c) - (cd ${WRKSRC}/mDNSPosix && ${LD} -shared -Wl,-soname=nss_mdns.so.1 nss_mdns.o nss_mdns_freebsd.o \ + (cd ${WRKSRC}/mDNSPosix && ${CC} -shared -Wl,-soname=nss_mdns.so.1 nss_mdns.o nss_mdns_freebsd.o \ -o nss_mdns.so.1 -L${PREFIX}/lib -R${PREFIX}/lib -ldns_sd) post-build: @@ -52,4 +47,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \ ${STAGEDIR}${PREFIX}/etc/nss_mdns.conf.sample -.include <bsd.port.post.mk> +.include "${MASTERDIR}/Makefile" diff --git a/dns/mDNSResponder_nss/distinfo b/dns/mDNSResponder_nss/distinfo deleted file mode 100644 index ec649a959f84..000000000000 --- a/dns/mDNSResponder_nss/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1612128021 -SHA256 (mDNSResponder-1310.40.42.tar.gz) = bea29e1616cd56ccb8f88c0fad2bcdc4031f4deb2d899c793e2f27a8384f0b34 -SIZE (mDNSResponder-1310.40.42.tar.gz) = 2626867
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306260933.35Q9XOiS033410>