git: 8e20ddc54529 - main - security/distcache: fix strip-related comment and take maintainership

Alexey Dokuchaev danfe at FreeBSD.org
Mon Jul 26 01:56:21 UTC 2021


The branch main has been updated by danfe:

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

commit 8e20ddc545290fe2036764bbf03e967a6cb06f06
Author:     Alexey Dokuchaev <danfe at FreeBSD.org>
AuthorDate: 2021-07-26 01:55:12 +0000
Commit:     Alexey Dokuchaev <danfe at 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 at FreeBSD.org
+MAINTAINER=	danfe at 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:


More information about the dev-commits-ports-main mailing list