Unbreak: rename and update form go-ipfs-0.11.0 to kubo-0.16.0.
This commit is contained in:
parent
58642e1c4f
commit
bd4324dba3
|
@ -1,15 +1,12 @@
|
|||
BROKEN = error during build "quic-go doesn't build on Go 1.18 yet"
|
||||
COMMENT = IPFS implementation in Go
|
||||
|
||||
COMMENT = global, versioned, peer-to-peer filesystem
|
||||
MODGO_MODNAME = github.com/ipfs/kubo
|
||||
MODGO_VERSION = v0.16.0
|
||||
|
||||
MODGO_MODNAME = github.com/ipfs/go-ipfs
|
||||
MODGO_VERSION = v0.11.0
|
||||
|
||||
DISTNAME = go-ipfs-${MODGO_VERSION}
|
||||
REVISION = 2
|
||||
DISTNAME = kubo-${MODGO_VERSION}
|
||||
|
||||
CATEGORIES = net
|
||||
HOMEPAGE = https://ipfs.io
|
||||
HOMEPAGE = https://ipfs.tech/
|
||||
|
||||
# both MIT and Apache 2.0
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
|
1432
net/go-ipfs/distinfo
1432
net/go-ipfs/distinfo
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,13 +1,15 @@
|
|||
@newgroup _go-ipfs:825
|
||||
@newuser _go-ipfs:825:825::IPFS Account:/var/empty:/sbin/nologin
|
||||
@rcscript ${RCDIR}/go_ipfs
|
||||
@newuser _go-ipfs:825:825::Kubo IPFS Account:/var/empty:/sbin/nologin
|
||||
@mode 750
|
||||
@owner _go-ipfs
|
||||
@group _go-ipfs
|
||||
@sample ${VARBASE}/go-ipfs/
|
||||
@sample ${VARBASE}/kubo/
|
||||
@mode
|
||||
@owner
|
||||
@group
|
||||
@rcscript ${RCDIR}/ipfs
|
||||
@bin bin/ipfs
|
||||
@bin bin/ipfswatch
|
||||
share/doc/pkg-readmes/${PKGSTEM}
|
||||
share/examples/login.conf.d/ipfs
|
||||
@sample ${SYSCONFDIR}/login.conf.d/ipfs
|
||||
|
|
|
@ -11,21 +11,7 @@ its database first.
|
|||
Run as root:
|
||||
|
||||
# su -l -s /bin/sh _go-ipfs -c \
|
||||
"IPFS_PATH=${VARBASE}/go-ipfs ${LOCALBASE}/bin/ipfs init"
|
||||
|
||||
File Descriptors
|
||||
================
|
||||
|
||||
${PKGSTEM} needs a lot of file descriptors. You will need an entry like this in
|
||||
your login.conf(5):
|
||||
|
||||
go_ipfs:\
|
||||
:openfiles=2048:\
|
||||
:tc=daemon:
|
||||
|
||||
Don't forget to rebuild the login.conf.db file (if necessary):
|
||||
|
||||
# [ -f /etc/login.conf.db ] && cap_mkdb /etc/login.conf
|
||||
"IPFS_PATH=${VARBASE}/kubo ${LOCALBASE}/bin/ipfs init"
|
||||
|
||||
Web Interface
|
||||
=============
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
ipfs:\
|
||||
:openfiles-cur=1024:\
|
||||
:openfiles-max=2048:\
|
||||
:tc=daemon:
|
|
@ -3,6 +3,7 @@
|
|||
daemon="${TRUEPREFIX}/bin/ipfs daemon"
|
||||
daemon_user="_go-ipfs"
|
||||
daemon_timeout=60
|
||||
daemon_logger="daemon.info"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
|
@ -10,7 +11,7 @@ rc_bg=YES
|
|||
rc_reload=NO
|
||||
|
||||
rc_start() {
|
||||
rc_exec "IPFS_PATH=\"${VARBASE}/go-ipfs\" ${daemon} ${daemon_flags}"
|
||||
rc_exec "IPFS_PATH=\"${VARBASE}/kubo\" ${daemon} ${daemon_flags}"
|
||||
}
|
||||
|
||||
rc_cmd $1
|
Loading…
Reference in New Issue