Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2021 01:56:20 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8e20ddc54529 - main - security/distcache: fix strip-related comment and take maintainership
Message-ID:  <202107260156.16Q1uK3N052595@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8e20ddc545290fe2036764bbf03e967a6cb06f06

commit 8e20ddc545290fe2036764bbf03e967a6cb06f06
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-07-26 01:55:12 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-07-26 01:55:22 +0000

    security/distcache: fix strip-related comment and take maintainership
    
    The comment said ``INSTALL_TARGET=install-strip isn't working'', that
    is, does not strip shared libraries as expected, while actually this is
    not a bug but intended behavior, per this quote from the INSTALL file:
    
      [...] Fortunately, the GNU autotools have built-in support for this
      functionality, all you need to do is to specify "make install-strip"
      instead of "make install".  Note however that only executables are
      stripped, libraries are not touched [...]
---
 security/distcache/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/distcache/Makefile b/security/distcache/Makefile
index 28688e72397c..3078fd338ab3 100644
--- a/security/distcache/Makefile
+++ b/security/distcache/Makefile
@@ -5,7 +5,7 @@ DISTVERSION=	1.5.1
 CATEGORIES=	security www
 MASTER_SITES=	SF/distcache/1.%20distcache-devel/1.5.1
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Distributed OpenSSL session caching tools
 
 LICENSE=	LGPL21
@@ -29,7 +29,7 @@ pre-configure:	# yes, post-patch won't work in this case
 		${WRKSRC}/ssl/configure || :
 
 post-install:
-	# INSTALL_TARGET=install-strip isn't working!  Brute force it
+# Only executables are stripped with `install-strip', not the libraries
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
 
 post-install-DOCS-on:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107260156.16Q1uK3N052595>