git: b00a410bc3ad - main - security/libsectok: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 30 Jun 2025 11:22:04 UTC
The branch main has been updated by rene:

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

commit b00a410bc3ad650988a09cc26ca5d9638c702df4
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-06-30 11:21:52 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-06-30 11:21:52 +0000

    security/libsectok: Remove expired port
    
    2025-06-30 security/libsectok: Last upstream release in 2003 and no longer maintained
---
 MOVED                        |  1 +
 security/Makefile            |  1 -
 security/libsectok/Makefile  | 48 --------------------------------------------
 security/libsectok/distinfo  |  2 --
 security/libsectok/pkg-descr |  3 ---
 5 files changed, 1 insertion(+), 54 deletions(-)

diff --git a/MOVED b/MOVED
index 24affe1d14d4..18f2fe5ac2df 100644
--- a/MOVED
+++ b/MOVED
@@ -4603,3 +4603,4 @@ devel/ireport||2025-06-30|Has expired: Outdated, unsupported upstream and unmain
 www/ffsend||2025-06-30|Has expired: fails to build with rust 1.87.0
 devel/cgilib||2025-06-30|Has expired: Last upstream release in 2009, last upstream activity in 2017 and no consumers in tree
 security/sectok||2025-06-30|Has expired: Last upstream release in 2003 and no longer maintained
+security/libsectok||2025-06-30|Has expired: Last upstream release in 2003 and no longer maintained
diff --git a/security/Makefile b/security/Makefile
index abd3d354b634..fd6b6dafa7ea 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -323,7 +323,6 @@
     SUBDIR += libscep
     SUBDIR += libscrypt
     SUBDIR += libsecret
-    SUBDIR += libsectok
     SUBDIR += libsodium
     SUBDIR += libssh
     SUBDIR += libssh2
diff --git a/security/libsectok/Makefile b/security/libsectok/Makefile
deleted file mode 100644
index 6033a9ba69ac..000000000000
--- a/security/libsectok/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-PORTNAME=	libsectok
-DISTVERSION=	20030619
-PORTREVISION=	4
-CATEGORIES=	security
-MASTER_SITES=	http://www.citi.umich.edu/projects/smartcard/
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	ISO 7816 Smartcard API Library
-WWW=		http://www.citi.umich.edu/projects/smartcard/sectok.html
-
-LICENSE=	LicenseRef-UMich
-LICENSE_NAME=	University of Michigan License
-LICENSE_FILE=	${WRKSRC}/LICENSE
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-
-DEPRECATED=		Last upstream release in 2003 and no longer maintained
-EXPIRATION_DATE=	2025-06-30
-
-USE_LDCONFIG=	yes
-
-LDFLAGS+= -Wl,-soname=${PORTNAME}.so.3
-
-PLIST_FILES=	include/sectok.h lib/libsectok.a lib/libsectok.so \
-		lib/libsectok.so.3 share/man/man3/sectok.3.gz
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		'/^VERSION/s|3.1|3| ; \
-		 s|^CFLAGS=|CFLAGS+=| ; \
-		 s|-g |$${CPPFLAGS} | ; \
-		 s|^LDFLAGS=|LDFLAGS+=| ; \
-		 s|-x .* -shared|-shared| ; \
-		 s|^CC=|CC?=| ; \
-		 /^LD/s|ld|$$(CC)| ; \
-		 s|-fpic|-fPIC|' ${WRKSRC}/Makefile
-
-do-install:
-	(cd ${WRKSRC} && ${INSTALL_DATA} sectok.h \
-		${STAGEDIR}${PREFIX}/include)
-	(cd ${WRKSRC} && ${INSTALL_DATA} libsectok.a \
-		${STAGEDIR}${PREFIX}/lib)
-	(cd ${WRKSRC} && ${INSTALL_LIB} libsectok.so.3 \
-		${STAGEDIR}${PREFIX}/lib)
-	${LN} -s libsectok.so.3 ${STAGEDIR}${PREFIX}/lib/libsectok.so
-	(cd ${WRKSRC} && ${INSTALL_MAN} sectok.3 \
-		${STAGEDIR}${PREFIX}/share/man/man3)
-
-.include <bsd.port.mk>
diff --git a/security/libsectok/distinfo b/security/libsectok/distinfo
deleted file mode 100644
index 3fe44a7762c2..000000000000
--- a/security/libsectok/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (libsectok-20030619.tar.gz) = f00b216af71969d90fca089ad7f4255ccff1d985813e0b932c42ce2df82b6d15
-SIZE (libsectok-20030619.tar.gz) = 26633
diff --git a/security/libsectok/pkg-descr b/security/libsectok/pkg-descr
deleted file mode 100644
index 29048936bd09..000000000000
--- a/security/libsectok/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-This is the libsectok library from citi.umich.edu. Originally targeted
-for OpenBSD. This is a quick port of the library itself; it contains an
-API for working with ISO 7816 Smart Card devices.