From nobody Wed Apr 13 18:26:10 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 A759F1B42993; Wed, 13 Apr 2022 18:26:10 +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 4KdrdG4GgTz3Dfp; Wed, 13 Apr 2022 18:26:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649874370; 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=Et/pRv/oIfseuWCod7wvt5eQfsaVNsdWAHWHJ+dhrVE=; b=WayHT9DGMEmGJVP5uGW4H+SxrzejRefOQbtXKeCPVEuO2hQU6WNVh4KyIkW19cQ6Irc+Jc yDRbF1LXxT91rtrZsuX9GLnf0EF+Xprct0HSX8v5z8gcH2ouAJur1vp6C+QZn4RL7ZMP/4 sLsphKxm3sJ+fE6YPZewwyRXSYy0jAN5s3wcdPg4WQJrx9EnFiDVNruEWcMm3wrjt9Flsp 6haaICZ++NiQQ0nsoTuX9zBVAwiCeIQX8vyadKG9dF3sOFqfayxgweMZ322s/qxC19knNm 6mg3iEbE+lUf6idPqb9L/tP2lpwaMF3QFY4akrFbD4fEer+dekWSilosGwXiEg== 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 679A411053; Wed, 13 Apr 2022 18:26:10 +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 23DIQAAC094100; Wed, 13 Apr 2022 18:26:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DIQAgs094099; Wed, 13 Apr 2022 18:26:10 GMT (envelope-from git) Date: Wed, 13 Apr 2022 18:26:10 GMT Message-Id: <202204131826.23DIQAgs094099@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Lev A. Serebryakov" Subject: git: 655a70498663 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 655a704986632b3404272af46d8389274f5c25b8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649874370; 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=Et/pRv/oIfseuWCod7wvt5eQfsaVNsdWAHWHJ+dhrVE=; b=S6fgITTjRcigAwHdxwOIr/4rvRqpSm8mOWH0XquNr5UNJz16zbbNBjxAoBjHboI+vJtuNx NkGz40IwtLVTPxomdHaDEWd+jEBPPqDmBlJYsSNYhB21SHtvb1DdB849LwX0QvImgJtEKW fMPU4cCawpxj2c1bn8XtQInoFMh1U+NKutlxA5U7tL0iXMZd2ImCzLJj4ydmD0jp3JCboD Xm6QfBXEPi5nTXKPOmccDKhnbkdh2WsA7/EzFm3J0/K3CI4FgkoQqtAAFrE2lDP2LHPqou 1BhmlTcIxHM+i0swe3w0vvlCp+QDT9sa8nuCLnyKQqpjgAS+fHPyrTl0HZFW4A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649874370; a=rsa-sha256; cv=none; b=Nqj+9n3vqHSxD5z6mMn+2Vw4JMmd7Iv9Jw/XvHOJOrL2Eg4/YGmW1/VjnQOBy8eSWpM6OK reMkCz5XAhfUwCnd+M/Mv0jHizhdUZ7Sc6rtKNPs9AQRu2rRq85mnp1rMc9PBErQJEtEt4 FhQ25fMkHG4Py/LJ9XqyL8irW1tOuHyBtqiMsr+eo8hjXvMblru68eUzJjQC7UXPqFbfTJ Y5Jl1GA6Pr99CGy4Uz/gAbtMRyJZm270ys1MzZgI0moo7AldOpTQdgr6bxc7FcyRSK9Ocr JIwZMm0/M9TK6N9TUYyJgRtah1CIWeCFUTsjl8/rgTAPAwub47g99Vb94yphfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lev: URL: https://cgit.FreeBSD.org/ports/commit/?id=655a704986632b3404272af46d8389274f5c25b8 commit 655a704986632b3404272af46d8389274f5c25b8 Author: Lev A. Serebryakov AuthorDate: 2022-04-13 18:25:49 +0000 Commit: Lev A. Serebryakov CommitDate: 2022-04-13 18:26:06 +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 '*'. --- 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