net/libnss-cache: Update to 0.21

This commit is contained in:
Kevin Bowling 2022-05-15 21:19:48 -07:00
parent 1fc4f4193b
commit cc058705d6
2 changed files with 8 additions and 8 deletions

View File

@ -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>

View File

@ -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