From nobody Mon May 23 19:50:22 2022 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 879931B473E0; Mon, 23 May 2022 19:50:22 +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 4L6Sby3NXnz3wB3; Mon, 23 May 2022 19:50:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653335422; 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=wfb0cutVol3EZHpa6mvfINftqXqfbsvp/aa+E7qwf0k=; b=c3oox/sOhbi8BLN9SPUbB8k+dtZZo2DFCjwJzpLuZ8PvlAMvMu5X+UOxQHKILG3conkq0w 1SMXFsRK1NJDm+YdCd3BWnTpvPWUUjYpcohxyXqFIRlPll4M0TWl6WzPN6V9LTSFvtXRs1 bGVwE4hdxoxp2ofjJxx0ore6wYXzMILVD8nlwq67DtLeh3KSaB6ekEcDNdcbza6SeltlCN PA0NLr6wZ8uSd6b5MZNmoEbXs1d7pn3fH+sG1f2rz5d2itSF9k+D21zAdFoGIm7Lj7uSsi R/F8BFUP4SU/W+MvUfrAmYr8buK/CmrKMNdh/vCBldFynlq2Xnslzu704a1fpQ== 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 50AB416404; Mon, 23 May 2022 19:50:22 +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 24NJoMkM003750; Mon, 23 May 2022 19:50:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24NJoMZf003744; Mon, 23 May 2022 19:50:22 GMT (envelope-from git) Date: Mon, 23 May 2022 19:50:22 GMT Message-Id: <202205231950.24NJoMZf003744@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: d8b81c2c885b - main - security/p5-openxpki: adjust REINPLACE_CMD warnings 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: d8b81c2c885b061e33e5975ee5e2eef71a7ddfce Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653335422; 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=wfb0cutVol3EZHpa6mvfINftqXqfbsvp/aa+E7qwf0k=; b=snPiZ6jTHou5oYzra+2H7oh6M8WCOsdhwEdE3Bp9WtyNMO//YqZ6ht71Jf93ITFoeKtVtt 43m5HcLE/z3aKDASm/y7eU51NK3nIhN9k6qXeKAQ2ZgvD4ckrJRuOqSPYfXEXLjyE8uVTP 9CL/c3piDYdBG5rXetZcjRIAXuUY5ZyLTaPbQA813VmH5pUvwAIjpm+D1mbWuvR5G4eV9g u52lOYECI680bG0jaN9xPZFSvXfSNNhJF0QMEoxAbVx5Vr1TLgruC5BmXunLjQqK5cccAs Zz48tGXwK3rkvasyBPsntw4fyOv5a/UMXS30Wdpxk0zCqwtP3wT+olClo2M0nQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653335422; a=rsa-sha256; cv=none; b=p50ufougGZm1lLqn621QUMEYWdllMcvLMLldft/u7NeOMf47yUAvStScj7Ugf7fifuSsjp ON3vsq04ik0lb9QsFr1CZyFZ+Zrmczrnabc4xNT6nL4FTxrtQN25Osht57iB26KAoHng/Z 7i46couHU03VLlDan4j8ZdgEgEkWvSp454pXgJEwru/fx975+7PODlOLpW3/DABuq9U3Pf Vn7p53kCoWrlxGvrQ7ghvkWORT8IxLDVryur6kZLqoGyRkYKAUFVefW2eXpJ0IHzdWfMcy rr70+ujQVsUEdrXffvnfgg/eUKkbpyH3nf8edjGvErVJejGTG/Kyucwu43Asaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=d8b81c2c885b061e33e5975ee5e2eef71a7ddfce commit d8b81c2c885b061e33e5975ee5e2eef71a7ddfce Author: Sergei Vyshenski AuthorDate: 2022-05-23 19:42:53 +0000 Commit: Nuno Teixeira CommitDate: 2022-05-23 19:49:19 +0000 security/p5-openxpki: adjust REINPLACE_CMD warnings - adjust REINPLACE_CMD for better hits and eliminate lots of warnings about files that it don't apply. - not bumping PORTREVISION since there are no funcionality changes. PR: 263795 --- security/p5-openxpki/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/security/p5-openxpki/Makefile b/security/p5-openxpki/Makefile index bdf0e017a33b..465e7566450c 100644 --- a/security/p5-openxpki/Makefile +++ b/security/p5-openxpki/Makefile @@ -123,11 +123,13 @@ post-patch: @${REINPLACE_CMD} -e 's|..vergen --format version.|"${PORTVERSION}"|g' ${WRKSRC}/Makefile.PL @( \ cd ${WRKSRC}/../..; \ - ${FIND} config core/server doc qatest tools -type f -print0 >filelist; \ - ${CAT} filelist | ${XARGS} -0 -I % ${REINPLACE_CMD} -e 's|/etc/openxpki|${PREFIX}/etc/openxpki|g' "%"; \ - ${CAT} filelist | ${XARGS} -0 -I % ${REINPLACE_CMD} -e 's|/var/run/openxpkid.pid|/var/openxpki/openxpkid.pid|g' "%"; \ - ${CAT} filelist | ${XARGS} -0 -I % ${REINPLACE_CMD} -e 's|/var/openxpki/\([^\.]*\)\.log|/var/log/openxpki/\1\.log|g' "%"; \ - ${CAT} filelist | ${XARGS} -0 -I % ${RM} "%.bak"; \ + ${ECHO} "Patching dir names..."; \ + ${GREP} -RIFl -e "/etc/openxpki" config core/server doc qatest tools >filelist; \ + ${CAT} filelist | ${XARGS} -I % ${REINPLACE_CMD} -e 's|/etc/openxpki|${PREFIX}/etc/openxpki|g' "%"; \ + ${CAT} filelist | ${XARGS} -I % ${RM} "%.bak"; \ + ${GREP} -RIFl -e "/var/run/openxpkid.pid" config core/server doc qatest tools >filelist; \ + ${CAT} filelist | ${XARGS} -I % ${REINPLACE_CMD} -e 's|/var/run/openxpkid.pid|/var/openxpki/openxpkid.pid|g' "%"; \ + ${CAT} filelist | ${XARGS} -I % ${RM} "%.bak"; \ ${RM} filelist; \ ) @${MKDIR} ${WRKSRC}/t/var/log/openxpki