git: 8e18c01407a2 - main - net-p2p/libswift: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sun, 04 May 2025 11:40:47 UTC
The branch main has been updated by rene:

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

commit 8e18c01407a236d1061762c543362878451f1f74
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-05-04 11:40:43 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-05-04 11:40:43 +0000

    net-p2p/libswift: Remove expired port
    
    2025-04-30 net-p2p/libswift: Upstream archived repo on Feb 19, 2024 and no active development in several years
---
 MOVED                              |  1 +
 net-p2p/Makefile                   |  1 -
 net-p2p/libswift/Makefile          | 57 --------------------------------------
 net-p2p/libswift/distinfo          |  3 --
 net-p2p/libswift/files/libswift.in | 48 --------------------------------
 net-p2p/libswift/pkg-descr         |  7 -----
 net-p2p/libswift/pkg-message       | 18 ------------
 net-p2p/libswift/pkg-plist         |  3 --
 8 files changed, 1 insertion(+), 137 deletions(-)

diff --git a/MOVED b/MOVED
index 3c48ef60af7c..135891872769 100644
--- a/MOVED
+++ b/MOVED
@@ -4380,3 +4380,4 @@ security/libuecc||2025-05-04|Has expired: Deprecated, only user was some never p
 net-p2p/p5-Net-BitTorrent-PeerPacket||2025-05-04|Has expired: Deprecated, no active development in more than a decade so any "new" functionality is missing and interoperability with recent software is very limited if not completely broken
 net-p2p/p5-Net-BitTorrent||2025-05-04|Has expired: Deprecated, no active development in more than a decade so any "new" functionality is missing and interoperability with recent software is very limited if not completely broken
 net-p2p/p5-Net-BitTorrent-File||2025-05-04|Has expired: Deprecated, no active development in more than a decade so any "new" functionality is missing and interoperability with recent software is very limited if not completely broken
+net-p2p/libswift||2025-05-04|Has expired: Upstream archived repo on Feb 19, 2024 and no active development in several years
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 162fb1a52b12..8d0a764b7e2f 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -41,7 +41,6 @@
     SUBDIR += jigdo
     SUBDIR += ktorrent
     SUBDIR += libktorrent
-    SUBDIR += libswift
     SUBDIR += libtorrent
     SUBDIR += libtorrent-rasterbar
     SUBDIR += libtorrent-rasterbar2
diff --git a/net-p2p/libswift/Makefile b/net-p2p/libswift/Makefile
deleted file mode 100644
index 30d79802652e..000000000000
--- a/net-p2p/libswift/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
-PORTNAME=		libswift
-PORTVERSION=		20190302
-PORTREVISION=		1
-CATEGORIES=		net-p2p
-
-MAINTAINER=		dch@FreeBSD.org
-COMMENT=		IETF Peer-to-Peer Streaming Peer Protocol implementation
-WWW=		https://github.com/skunkwerks/libswift
-
-LICENSE=		LGPL21
-
-DEPRECATED=	Upstream archived repo on Feb 19, 2024 and no active development in several years
-EXPIRATION_DATE=2025-04-30
-
-LIB_DEPENDS=		libevent.so:devel/libevent
-
-USES=			compiler:c++11-lang gmake ssl
-
-USE_GITHUB=		yes
-GH_ACCOUNT=		skunkwerks
-GH_TAGNAME=		dc0cbcc
-PORTDOCS=		README.md
-
-SUB_FILES=		${PORTNAME}
-SUB_LIST+=		SWIFT_USER=${SWIFT_USER} \
-				SWIFT_GROUP=${SWIFT_GROUP} \
-				SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \
-				SWIFT_PIDDIR=${SWIFT_PIDDIR}
-
-PLIST_SUB=		SWIFT_USER=${SWIFT_USER} \
-				SWIFT_GROUP=${SWIFT_GROUP} \
-				SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \
-				SWIFT_PIDDIR=${SWIFT_PIDDIR}
-
-SWIFT_USER?=	www
-SWIFT_GROUP?=	www
-
-SWIFT_SHAREDIR=	/var/db/${PORTNAME}/
-SWIFT_PIDDIR=	/var/run/${PORTNAME}/
-
-USE_RC_SUBR=	${PORTNAME}
-
-OPTIONS_DEFINE=	DOCS
-
-.include <bsd.port.pre.mk>
-
-post-patch:
-	${REINPLACE_CMD} -e 's/CXX=clang++/CXX?=clang++/' ${WRKSRC}/Makefile
-
-do-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR} \
-		${STAGEDIR}${SWIFT_SHAREDIR} \
-		${STAGEDIR}${SWIFT_PIDDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/swift ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
-.include <bsd.port.post.mk>
diff --git a/net-p2p/libswift/distinfo b/net-p2p/libswift/distinfo
deleted file mode 100644
index 4e633dd35bed..000000000000
--- a/net-p2p/libswift/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1551561964
-SHA256 (skunkwerks-libswift-20190302-dc0cbcc_GH0.tar.gz) = 2da59582b62a331934e87189327fdb4e72f10737dd3ba4b888c19fe2380b0255
-SIZE (skunkwerks-libswift-20190302-dc0cbcc_GH0.tar.gz) = 3330071
diff --git a/net-p2p/libswift/files/libswift.in b/net-p2p/libswift/files/libswift.in
deleted file mode 100644
index 9bc41cdf9fb7..000000000000
--- a/net-p2p/libswift/files/libswift.in
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: libswift
-# REQUIRE: LOGIN NETWORKING SERVERS
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# libswift_enable (bool):   Set to NO by default.
-# Set it to YES to enable swift.
-#
-# libswift_user   (user):   Set to www by default.
-# libswift_group  (group):  Set to www by default.
-# libswift_port   (num):    Port for daemon to listen on, 7777 by default.
-# libswift_dir    (string): Optional full path to streaming content directory.
-
-. /etc/rc.subr
-
-name=libswift
-rcvar=libswift_enable
-
-load_rc_config ${name}
-
-# defaults
-libswift_enable=${libswift_enable:-"NO"}
-libswift_user=${libswift_user:-"www"}
-libswift_port=${libswift_port:-"7777"}
-libswift_dir=${libswift_dir:-"/var/db/${name}"}
-libswift_options=${libswift_options:-" --dir ${libswift_dir} --listen ${libswift_port}"}
-
-# daemon
-
-libswift_pidfile="%%SWIFT_PIDDIR%%${name}.pid"
-procname="%%PREFIX%%/bin/${name}"
-
-command=/usr/sbin/daemon
-command_args=" -c -f -p ${libswift_pidfile} ${procname} ${libswift_flags} ${libswift_options}"
-
-start_precmd=libswift_precmd
-
-libswift_precmd()
-{
-	# create empty pidfile with correct permissions
-	install -o ${libswift_user} /dev/null ${libswift_pidfile}
-}
-
-run_rc_command "$1"
diff --git a/net-p2p/libswift/pkg-descr b/net-p2p/libswift/pkg-descr
deleted file mode 100644
index b1862434968a..000000000000
--- a/net-p2p/libswift/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-LibSwift is the reference UDP-based implementation of IETF RFC7574,
-a multi-peer transport layer protocol. Its mission is to disseminate
-content among a swarm of peers.
-
-Given a root hash, the data is received from whatever source available
-and data integrity is checked cryptographically with Merkle hash
-trees.
diff --git a/net-p2p/libswift/pkg-message b/net-p2p/libswift/pkg-message
deleted file mode 100644
index 3c06a1d864d4..000000000000
--- a/net-p2p/libswift/pkg-message
+++ /dev/null
@@ -1,18 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-To run a server, copy any files you wish to share into /var/db/libswift,
-ensure that it is read and writable by the appropriate user, and
-start the libswift daemon:
-
-# service libswift onestart
-
-To retrieve a file, use:
-
-$ libswift --tracker  127.0.0.1:7777 --hash ....
-
-To view the root hashes, use `grep root *.mbinmap` in the share dir once
-hashing is complete. For large files this may take some time.
-EOM
-}
-]
diff --git a/net-p2p/libswift/pkg-plist b/net-p2p/libswift/pkg-plist
deleted file mode 100644
index 9e724aa7bf2f..000000000000
--- a/net-p2p/libswift/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/libswift
-@dir(%%SWIFT_USER%%,%%SWIFT_GROUP%%,0750) %%SWIFT_PIDDIR%%
-@dir(%%SWIFT_USER%%,%%SWIFT_GROUP%%,0755) %%SWIFT_SHAREDIR%%