From nobody Mon Jun 26 09:33:24 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QqN1w3rvBz4jWNy; Mon, 26 Jun 2023 09:33:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QqN1w3KGZz4Zxm; Mon, 26 Jun 2023 09:33:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687772004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fNWfgVjvtNqwYw8Eb785goRLXiteJCWHKFHodE7gNaw=; b=l7ObBCFUSphq/60e67PNh0X6Zq7KQo+Uiy053ac05SBVMIBmWbpMnyiFiDK9dfermikg4q PcVzYPMK27Uye4eqwFCKhIQ4P3vXlMCxkBTnA0dbh1caRLoJnF3zTKVSPxFwN8pPh3sSJe +IDFOHvRM5VZNf8m2jCOmbdAP/CqrkrwpP7NubTEFsWM+VjEVPVU7xR3mt/ORSrbqRap4q aJJsZUaLZMQKaVSlHxQqOw6E7UoH6FKTNwbvIbeTymcvdL+nJj2N8Dli6hx+KAke/izPaK 2fQm5pEwi5wkBs/d78lVeRu8SXjKfloXMv2Rn3BqFLKEFQhEJ+/cZlyXx2v+rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687772004; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fNWfgVjvtNqwYw8Eb785goRLXiteJCWHKFHodE7gNaw=; b=fL10/7b1/Hm0ZbEQAzpgDbjvXy53EA66iiUNFLLJoIx1RZ9Sp+AGNpXCy69m8TvYYshpq9 p4EwMiNqFpuk6tgHbCPKiJyLCTPRt2zxa+NPfMTHM0C3vpL45y+FaGHWtnCQSq+irnCOei RUsAvePe4aHv+yr/eeELamIA18Uh0khUbG2h0pCehY9Kvo13kpq4P2r4z+FOQtg+1+Pf9S n8vXFmsTRSGbQV17c7EB4/GA9qlYqbxH2RGZ+xarkBo+C/Kd0SZEuc8muC6wM9TmaaK5RG IKKOyanGYhhLnOgMprrmm7Syy6iBdusKum/5rcG2xPu+iuwIk8JBH3JQwpG9Bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687772004; a=rsa-sha256; cv=none; b=i38HnJ6DKGDmZEJwjdyQa8VxhCpCnRYSwMB5qyTKBCxV3TQ7A0xcVDuDZ6v/04aI4EG1wT +STdnoKToYrQGZwL/cHOZX1PCqfFw3cNrawRMEJUoKWAJaS/F0IJFD3SIrUy5U78vqx9fI lkNxADpESGhuWMjnOQ6qubWfocUEq/D1/JdoQ5LE27JH8AVvZ1voz/eAPTAIV4hirKi5Ry Ol3LZ2SDh2mC4h4ptcUbwhkJ3sZjiDaOCrBSJMBSW+NhSDMkJRAy7gxBlxbGqvWDW5FXCP b58UWtUeJ5lBxn0dcmYuOkdvGCr1p9JHhAvj2QGKAOnKID+FmNuhfLC5xF6TYw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QqN1w1qfqz14Yw; Mon, 26 Jun 2023 09:33:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35Q9XOfE033411; Mon, 26 Jun 2023 09:33:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35Q9XOiS033410; Mon, 26 Jun 2023 09:33:24 GMT (envelope-from git) Date: Mon, 26 Jun 2023 09:33:24 GMT Message-Id: <202306260933.35Q9XOiS033410@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 9c1fa59c5c89 - main - dns/mDNSResponder_nss: Convert port as a slave to net/mDNSResponder List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9c1fa59c5c8914145c95c66517604addfd36b27f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=9c1fa59c5c8914145c95c66517604addfd36b27f commit 9c1fa59c5c8914145c95c66517604addfd36b27f Author: Matthieu Volat AuthorDate: 2023-06-26 09:25:55 +0000 Commit: Nuno Teixeira 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 +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 +.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