From nobody Fri Apr 22 09:43:07 2022 X-Original-To: dev-commits-ports-all@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 DB381199C6BC; Fri, 22 Apr 2022 09:43:07 +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 4Kl8bb5bNfz527H; Fri, 22 Apr 2022 09:43:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650620587; 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=zIo40XmkuoRzMgjJyUWGN0YfT8Gpz2jVgSnOLYQZliI=; b=VhX+K0CoB65vj+onftaf84ZKfZzi+VMFwqxzJ/ZZlvqeHAZUw5YNggwMoKpvQPCEiLVYC/ lEzHZRdUWPAHAW0AEq2+C6kKyehwEWkKpCSbxbpk2edqX7z0zI0QdiJxvEvrAN8SRoPj6m UbiejmBnzArKxG4AxaxmmVQjJkZHGuQlEIpg8zvxWyDFA8UkYin3rh2/Cpw1tKJjMtVTEg e3Vu3nQjQ2v2ZGQXWqKlrMPaVGIshxyKmXQ+9wNgksE6mjRP/YnYTQjAmZXjkplbXh0Qqp aZ4fFSIXfEDudMJ2Ke2UxcXj1d297lbQI28Uq2jSesdGYCxGL7upc5v3TJ6A6A== 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 987E51B14F; Fri, 22 Apr 2022 09:43:07 +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 23M9h7NK023146; Fri, 22 Apr 2022 09:43:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23M9h7PQ023145; Fri, 22 Apr 2022 09:43:07 GMT (envelope-from git) Date: Fri, 22 Apr 2022 09:43:07 GMT Message-Id: <202204220943.23M9h7PQ023145@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: "Lev A. Serebryakov" Subject: git: a38010434ba7 - 2022Q2 - devel/subversion-lts: Make all binaries stripping explicit. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lev X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q2 X-Git-Reftype: branch X-Git-Commit: a38010434ba7bd4196e8dea23d14dfddd804593a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650620587; 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=zIo40XmkuoRzMgjJyUWGN0YfT8Gpz2jVgSnOLYQZliI=; b=RHrt0arLAZk2Vf+c2qFhIdOlnzUFt7hJJDK9Iex2DdovWeWKDmRZJUQLlr7tHEaZXdcGjR HjrfT5uVsf7ZbDb88l1ELEidgTWz4w2xWw4rVrGa8da4ym+xhfNjbXZI8EcGlfNJJ5GZZx 6xmtocUYKJ9dD2jbe45aRVfkIUG2zvqdTWDtXMfAqyAE79+NfkdS9YiYfQlM9Yo4kgCNGd fotrnHC7EVIlLz/KByXL6Zt87jVwxAkvKylaG7d5DlTkUviC5VRad+ocJpsDkXM2FUvOxX E9GpOi4b3gFNO3UgY/Jz65h90osz8UIG4JPKRCDBjcNPkNDRmS+POh2SoyOU+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650620587; a=rsa-sha256; cv=none; b=eWTgjliUf/fJ476tyDdhL1sAhdEtLBbE/f4v2AFZHNl0vJys8Tgzs8j4rmZPlP0rYpVD91 mshiWkTs4Gz9iiwRsIeJ5u37Tb6OtPM2np3FbaWCg5KcZfx0Bp+6CNxkdmEjgTdzkbhIvY hG3dpE+b3KomfCbaBAooHfcEHG+mTxtYcMyvYXoLwYICwZnNvkW1LrbDXKcHq4k20qp1qa +FaacuDhySqafNxMp/iMJZUwcMfVkS0zf5oGg6nuvuSRHSj55A2YPA1FQd2SULssQGfjt1 LtTLhJ52hvWKdgRpOKp0dW3yPXa5BUdEHVrRR6P44UkjMfR8FLZ0mgWP/UIEpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q2 has been updated by lev: URL: https://cgit.FreeBSD.org/ports/commit/?id=a38010434ba7bd4196e8dea23d14dfddd804593a commit a38010434ba7bd4196e8dea23d14dfddd804593a Author: Lev A. Serebryakov AuthorDate: 2022-04-13 18:25:49 +0000 Commit: Lev A. Serebryakov CommitDate: 2022-04-22 09:42:34 +0000 devel/subversion-lts: Make all binaries stripping explicit. Running ${STRIP_CMD} on non-binary file can left zero-length temporary file. Strip all binaries explicitly, with list of them and loop, instead of calling ${STRIP_CMD} with '*'. (cherry picked from commit 655a704986632b3404272af46d8389274f5c25b8) --- devel/subversion-lts/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/devel/subversion-lts/Makefile b/devel/subversion-lts/Makefile index 67031041bdb9..4e9dbc9b1535 100644 --- a/devel/subversion-lts/Makefile +++ b/devel/subversion-lts/Makefile @@ -132,6 +132,14 @@ LIBS+= ${LIBS_SQLITE3} LIBS+= -lc++ -lm .endif +BINS_TO_STRIP= svn svnadmin svnbench svndumpfilter svnfsfs svnlook svnmucc \ + svnrdump svnserve svnsync svnversion + +TOOLS_TO_STRIP= fsfs-access-map svn-mergeinfo-normalizer \ + svn-populate-node-origins-index svnauthz \ + svnauthz-validate svnconflict svndiff svndiff3 \ + svndiff4 svnmover svnraisetreeconflict x509-parser + post-configure: # Enable GNOME Keyring / KWallet support in main code, as it is harmless @${REINPLACE_CMD} -E 's%.*#undef SVN_HAVE_(GNOME_KEYRING|KWALLET).*%#define SVN_HAVE_\1 1%' ${WRKSRC}/subversion/svn_private_config.h @@ -149,7 +157,9 @@ post-build-TOOLS-on: @${MAKE} -C ${WRKSRC} tools ${MAKE_ARGS} post-install: ${MKREPOS_TARGET} - -@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* + for F in ${BINS_TO_STRIP} ; do \ + ${STRIP_CMD} "${STAGEDIR}${PREFIX}/bin/$${F}" ; \ + done @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/tools.examples && ${TAR} --exclude '*.in' -cf - * | ${TAR} -C ${STAGEDIR}${DATADIR} -xof - ) @${MKDIR} ${STAGEDIR}${DOCSDIR} @@ -163,7 +173,9 @@ post-install-SVNSERVE_WRAPPER-on: post-install-TOOLS-on: @${MAKE} -C ${WRKSRC} install-tools ${MAKE_ARGS} - -@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* + for F in ${TOOLS_TO_STRIP} ; do \ + ${STRIP_CMD} "${STAGEDIR}${PREFIX}/bin/$${F}" ; \ + done # =============================================================================== repository: _mkrepos