diff options
Diffstat (limited to 'net-p2p/libswift')
-rw-r--r-- | net-p2p/libswift/Makefile | 57 | ||||
-rw-r--r-- | net-p2p/libswift/distinfo | 3 | ||||
-rw-r--r-- | net-p2p/libswift/files/libswift.in | 48 | ||||
-rw-r--r-- | net-p2p/libswift/pkg-descr | 7 | ||||
-rw-r--r-- | net-p2p/libswift/pkg-message | 18 | ||||
-rw-r--r-- | net-p2p/libswift/pkg-plist | 3 |
6 files changed, 0 insertions, 136 deletions
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%% |