git: cc058705d67c - main - net/libnss-cache: Update to 0.21

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Mon, 16 May 2022 04:20:36 UTC
The branch main has been updated by kbowling:

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

commit cc058705d67cfc0461c56de8c5a5659fb07591e8
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2022-05-16 04:19:48 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2022-05-16 04:20:28 +0000

    net/libnss-cache: Update to 0.21
---
 net/libnss-cache/Makefile | 10 +++++-----
 net/libnss-cache/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net/libnss-cache/Makefile b/net/libnss-cache/Makefile
index 0535f7918067..1bab4c22c356 100644
--- a/net/libnss-cache/Makefile
+++ b/net/libnss-cache/Makefile
@@ -1,7 +1,7 @@
 # Created by: Kevin Bowling <k@kev009.com>
 
 PORTNAME=	libnss-cache
-PORTVERSION=	0.20
+PORTVERSION=	0.21
 DISTVERSIONPREFIX=	version/
 CATEGORIES=	net
 
@@ -16,16 +16,16 @@ USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
 
-PLIST_FILES=	lib/nss_nsscache.so lib/nss_nsscache.so.1
+PLIST_FILES=	lib/nss_nsscache.so.1
 
 post-patch:
 	${REINPLACE_CMD} -e 's|PREFIX=$$(DESTDIR)/usr|PREFIX=${STAGEDIR}${PREFIX}|g' \
-		-e 's|LIBRARY=libnss_cache.so.2.0|LIBRARY=nss_nsscache.so.1|g' \
-		-e 's|BASE_LIBRARY=libnss_cache.so.2|BASE_LIBRARY=nss_nsscache.so|g' \
-		-e 's|SONAME=libnss_cache.so.2|SONAME=nss_nsscahe.so.1|g' \
+		-e 's|LIBRARY=libnss_cache.so|LIBRARY=nss_nsscache.so|g' \
+		-e 's|SONAME=libnss_cache.so.2|SONAME=nss_nsscache.so.1|g' \
 		${WRKSRC}/Makefile
 
 post-install:
+	${RM} ${STAGEDIR}${PREFIX}/lib/nss_nsscache.so ${STAGEDIR}${PREFIX}/lib/nss_nsscache.so.1.0
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/nss_nsscache.so.1
 
 .include <bsd.port.mk>
diff --git a/net/libnss-cache/distinfo b/net/libnss-cache/distinfo
index 28eb434d3ab9..144f2fde2a37 100644
--- a/net/libnss-cache/distinfo
+++ b/net/libnss-cache/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637774732
-SHA256 (google-libnss-cache-version-0.20_GH0.tar.gz) = 71324b6035674028a0f39c98aedfbaed94adbcddd72dc1c4ab81308b135dd586
-SIZE (google-libnss-cache-version-0.20_GH0.tar.gz) = 20396
+TIMESTAMP = 1652670751
+SHA256 (google-libnss-cache-version-0.21_GH0.tar.gz) = 8bb0b1b196f5d18a2629bf7e1ee7c90ea693e02ff2f157c6de56898e146a10ed
+SIZE (google-libnss-cache-version-0.21_GH0.tar.gz) = 22580