Index: head/net-p2p/libswift/Makefile =================================================================== --- head/net-p2p/libswift/Makefile (revision 502294) +++ head/net-p2p/libswift/Makefile (revision 502295) @@ -1,62 +1,56 @@ # Created by: Dave Cottlehuber # $FreeBSD$ PORTNAME= libswift -PORTVERSION= 20160817 -PORTREVISION= 2 +PORTVERSION= 20190302 CATEGORIES= net-p2p MAINTAINER= dch@FreeBSD.org -COMMENT= IETF Peer-to-Peer Streaming Peer Protocol implementation +COMMENT= IETF Peer-to-Peer Streaming Peer Protocol implementation -LICENSE= LGPL21 +LICENSE= LGPL21 BROKEN_mips= fails to build: gmake: clang++: Command not found BROKEN_mips64= fails to build: gmake: clang++: Command not found BROKEN_powerpc64= fails to build: gmake: clang++: Command not found LIB_DEPENDS= libevent.so:devel/libevent -USE_GITHUB= yes -GH_TAGNAME= dda307f +USES= gmake ssl -USES= 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} + 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_GROUP=${SWIFT_GROUP} \ + SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \ + SWIFT_PIDDIR=${SWIFT_PIDDIR} -SWIFT_USER?= www -SWIFT_GROUP?= www +SWIFT_USER?= www +SWIFT_GROUP?= www -SWIFT_SHAREDIR= /var/db/${PORTNAME}/ -SWIFT_PIDDIR= /var/run/${PORTNAME}/ +SWIFT_SHAREDIR= /var/db/${PORTNAME}/ +SWIFT_PIDDIR= /var/run/${PORTNAME}/ -USE_RC_SUBR= ${PORTNAME} +USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= DOCS .include - -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_12= member access into incomplete type 'EVP_PKEY' (aka 'evp_pkey_st') -BROKEN_FreeBSD_13= member access into incomplete type 'EVP_PKEY' (aka 'evp_pkey_st') -.endif 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 Index: head/net-p2p/libswift/distinfo =================================================================== --- head/net-p2p/libswift/distinfo (revision 502294) +++ head/net-p2p/libswift/distinfo (revision 502295) @@ -1,3 +1,3 @@ -TIMESTAMP = 1471446348 -SHA256 (libswift-libswift-20160817-dda307f_GH0.tar.gz) = 3ba3153097bb2c516c94393f3d376b8c5bc36c284138b49219ec45bbcd821281 -SIZE (libswift-libswift-20160817-dda307f_GH0.tar.gz) = 3329674 +TIMESTAMP = 1551561964 +SHA256 (skunkwerks-libswift-20190302-dc0cbcc_GH0.tar.gz) = 2da59582b62a331934e87189327fdb4e72f10737dd3ba4b888c19fe2380b0255 +SIZE (skunkwerks-libswift-20190302-dc0cbcc_GH0.tar.gz) = 3330071 Index: head/net-p2p/libswift/pkg-descr =================================================================== --- head/net-p2p/libswift/pkg-descr (revision 502294) +++ head/net-p2p/libswift/pkg-descr (revision 502295) @@ -1,9 +1,9 @@ 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. -WWW: https://tools.ietf.org/html/rfc7574 +WWW: https://github.com/skunkwerks/libswift Index: head/net-p2p/libswift/pkg-message =================================================================== --- head/net-p2p/libswift/pkg-message (nonexistent) +++ head/net-p2p/libswift/pkg-message (revision 502295) @@ -0,0 +1,12 @@ +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. Property changes on: head/net-p2p/libswift/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property