Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174352797
D17684.id49551.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D17684.id49551.diff
View Options
Index: net-p2p/libswift/Makefile
===================================================================
--- net-p2p/libswift/Makefile
+++ net-p2p/libswift/Makefile
@@ -1,12 +1,12 @@
-# Created by: Dave Cottlehuber <dch@skunkwerks.at>
+# Created by: Dave Cottlehuber <dch@FreeBSD.org>
# $FreeBSD$
-PORTNAME= libswift
+PORTNAME= libswift
PORTVERSION= 20160817
-PORTREVISION= 2
-CATEGORIES= net-p2p
+PORTREVISION= 3
+CATEGORIES= net-p2p
-MAINTAINER= dch@skunkwerks.at
+MAINTAINER= dch@FreeBSD.org
COMMENT= IETF Peer-to-Peer Streaming Peer Protocol implementation
LICENSE= LGPL21
@@ -15,33 +15,35 @@
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
+BUILD_DEPENDS= libevent.so:devel/libevent
-USE_GITHUB= yes
-GH_TAGNAME= dda307f
+USES= gmake ssl:build
-USES= gmake ssl
+USE_GITHUB= yes
+GH_TAGNAME= dda307f
-PORTDOCS= README.md
+ALL_TARGET= swift-static
-SUB_FILES= ${PORTNAME}
-SUB_LIST+= SWIFT_USER=${SWIFT_USER} \
- SWIFT_GROUP=${SWIFT_GROUP} \
- SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \
- SWIFT_PIDDIR=${SWIFT_PIDDIR}
+PORTDOCS= README.md
-PLIST_SUB= SWIFT_USER=${SWIFT_USER} \
- SWIFT_GROUP=${SWIFT_GROUP} \
- SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \
- SWIFT_PIDDIR=${SWIFT_PIDDIR}
+SUB_FILES= ${PORTNAME}
+SUB_LIST+= SWIFT_USER=${SWIFT_USER} \
+ SWIFT_GROUP=${SWIFT_GROUP} \
+ SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \
+ SWIFT_PIDDIR=${SWIFT_PIDDIR}
-SWIFT_USER?= www
-SWIFT_GROUP?= www
+PLIST_SUB= SWIFT_USER=${SWIFT_USER} \
+ SWIFT_GROUP=${SWIFT_GROUP} \
+ SWIFT_SHAREDIR=${SWIFT_SHAREDIR} \
+ SWIFT_PIDDIR=${SWIFT_PIDDIR}
-SWIFT_SHAREDIR= /var/db/${PORTNAME}/
-SWIFT_PIDDIR= /var/run/${PORTNAME}/
+SWIFT_USER?= www
+SWIFT_GROUP?= www
-USE_RC_SUBR= ${PORTNAME}
+SWIFT_SHAREDIR= /var/db/${PORTNAME}/
+SWIFT_PIDDIR= /var/run/${PORTNAME}/
+
+USE_RC_SUBR= ${PORTNAME}
OPTIONS_DEFINE= DOCS
Index: net-p2p/libswift/pkg-descr
===================================================================
--- net-p2p/libswift/pkg-descr
+++ net-p2p/libswift/pkg-descr
@@ -6,4 +6,14 @@
and data integrity is checked cryptographically with Merkle hash
trees.
+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 ....
+
WWW: https://tools.ietf.org/html/rfc7574
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 3:25 PM (35 m, 46 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40134760
Default Alt Text
D17684.id49551.diff (2 KB)
Attached To
Mode
D17684: net-p2p/libswift: unbreak builds on 12.x
Attached
Detach File
Event Timeline
Log In to Comment