git: 881ef4e0878e - main - net/nsscache: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 31 Mar 2025 14:39:57 UTC
The branch main has been updated by rene:

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

commit 881ef4e0878e558937948f2863d43f4fc3d9f30c
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-03-31 14:39:53 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-03-31 14:39:53 +0000

    net/nsscache: Remove expired port
    
    2025-03-31 net/nsscache: Depends on expired devel/py-pytest-runner
---
 MOVED                                  |  1 +
 net/Makefile                           |  1 -
 net/nsscache/Makefile                  | 51 ----------------------------------
 net/nsscache/distinfo                  |  3 --
 net/nsscache/files/patch-nsscache.conf | 20 -------------
 net/nsscache/pkg-descr                 |  5 ----
 6 files changed, 1 insertion(+), 80 deletions(-)

diff --git a/MOVED b/MOVED
index c201c19c5ef5..ab8f5f0919ae 100644
--- a/MOVED
+++ b/MOVED
@@ -4245,3 +4245,4 @@ textproc/m17n-im-config||2025-03-31|Has expired: Upstream disapeared and distfil
 databases/pgfouine||2025-03-31|Has expired: Upstream project disappeared in 2010
 multimedia/spook||2025-03-31|Has expired: Abandonware and obsolete, consider using multimedia/ffmpeg or multimedia/vlc
 finance/odoo14||2025-03-31|Has expired: Depends on expired converters/wkhtmltopdf and print/py-pypdf2
+net/nsscache||2025-03-31|Has expired: Depends on expired devel/py-pytest-runner
diff --git a/net/Makefile b/net/Makefile
index fc7e39d7756f..38ddf1219c58 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -552,7 +552,6 @@
     SUBDIR += nss-pam-ldapd
     SUBDIR += nss-pam-ldapd-sasl
     SUBDIR += nss_ldap
-    SUBDIR += nsscache
     SUBDIR += ntimed
     SUBDIR += ntopng
     SUBDIR += ntp
diff --git a/net/nsscache/Makefile b/net/nsscache/Makefile
deleted file mode 100644
index 78fa30d8d71b..000000000000
--- a/net/nsscache/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-PORTNAME=	nsscache
-PORTVERSION=	0.49
-PORTREVISION=	3
-DISTVERSIONPREFIX=	version/
-CATEGORIES=	net python
-
-MAINTAINER=	kbowling@FreeBSD.org
-COMMENT=	Python utility to create a local cache of directory services
-WWW=		https://github.com/google/nsscache
-
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-DEPRECATED=	Depends on expired devel/py-pytest-runner
-EXPIRATION_DATE=2025-03-31
-
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}python-ldap>0:net/py-python-ldap@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pycurl>0:ftp/py-pycurl@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-
-USES=		python
-USE_GITHUB=	yes
-GH_ACCOUNT=	google
-USE_PYTHON=	autoplist distutils noflavors
-
-NO_ARCH=	yes
-
-PLIST_FILES=	'@dir /var/db/nsscache' \
-		'@sample etc/nsscache.conf.sample' \
-		share/man/man1/nsscache.1.gz \
-		share/man/man5/nsscache.conf.5.gz
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|/etc/nsscache.conf|${PREFIX}/etc/nsscache.conf|g' ${WRKSRC}/nss_cache/config.py
-	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/nsscache.conf
-	@${REINPLACE_CMD} -e "s|/var/lib/misc|/var/db/nsscache|g" ${WRKSRC}/nsscache.conf.5
-
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/nsscache.conf ${STAGEDIR}${PREFIX}/etc/nsscache.conf.sample
-	${INSTALL_MAN} ${WRKSRC}/nsscache.1 ${STAGEDIR}${PREFIX}/share/man/man1
-	${INSTALL_MAN} ${WRKSRC}/nsscache.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5
-	@${MKDIR} ${STAGEDIR}/var/db/nsscache
-
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} setup.py test
-
-.include <bsd.port.mk>
diff --git a/net/nsscache/distinfo b/net/nsscache/distinfo
deleted file mode 100644
index fad68730f861..000000000000
--- a/net/nsscache/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1685973238
-SHA256 (google-nsscache-version-0.49_GH0.tar.gz) = 256bd1ba9e6cb250dd91409b815c8b4d35775e87e0e2b04b8cf66158b3886ce9
-SIZE (google-nsscache-version-0.49_GH0.tar.gz) = 128598
diff --git a/net/nsscache/files/patch-nsscache.conf b/net/nsscache/files/patch-nsscache.conf
deleted file mode 100644
index afa0d5ae453b..000000000000
--- a/net/nsscache/files/patch-nsscache.conf
+++ /dev/null
@@ -1,20 +0,0 @@
---- nsscache.conf.orig	2022-08-26 06:25:28 UTC
-+++ nsscache.conf
-@@ -2,7 +2,7 @@
- #
- # nsscache loads a config file from the environment variable NSSCACHE_CONFIG
- #
--# By default this is /etc/nsscache.conf
-+# By default this is %%PREFIX%%/etc/nsscache.conf
- #
- # Commented values are overrideable defaults, uncommented values
- # require you to set them.
-@@ -20,7 +20,7 @@ maps = passwd, group, shadow, netgroup, automount
- maps = passwd, group, shadow, netgroup, automount
- 
- # Directory to store our update/modify timestamps
--timestamp_dir = /var/lib/nsscache
-+timestamp_dir = /var/db/nsscache
- 
- # Lockfile to use for update/repair operations
- #lockfile = /var/run/nsscache
diff --git a/net/nsscache/pkg-descr b/net/nsscache/pkg-descr
deleted file mode 100644
index da1ab271005f..000000000000
--- a/net/nsscache/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-nsscache is a utility for caching directory service information into local
-cache files.
-
-On FreeBSD, it is intended to be used with the net/libnss-cache port but it
-can also output BDB files for use by other operating systems.