diff --git a/net/seaweedfs/Makefile b/net/seaweedfs/Makefile index 515981ff8a5d..ee2ca50f562a 100644 --- a/net/seaweedfs/Makefile +++ b/net/seaweedfs/Makefile @@ -1,70 +1,69 @@ PORTNAME= seaweedfs -DISTVERSION= 3.35 -PORTREVISION= 1 +DISTVERSION= 3.37 CATEGORIES= net sysutils MASTER_SITES= https://raw.githubusercontent.com/${PORTNAME}/${PORTNAME}/${DISTVERSIONFULL}/:gomod DISTFILES= go.mod:gomod MAINTAINER= drtr0jan@yandex.ru COMMENT= Distributed Object Store and Filesystem WWW= https://github.com/seaweedfs/seaweedfs/wiki LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules USE_GITHUB= yes USE_RC_SUBR= seaweedfs GO_MODULE= github.com/seaweedfs/seaweedfs GO_TARGET= ./weed CGO_CFLAGS= -I. +SEAWEEDFS_DIR?= /var/db/${PORTNAME} +SEAWEEDFS_USER?= seaweedfs +SEAWEEDFS_GROUP?= seaweedfs + SUB_FILES= pkg-message -SUB_LIST= GROUP=${SEAWEEDFS_GROUP} \ - SEAWEEDFS_DIR=${SEAWEEDFS_DIR} \ - USER=${SEAWEEDFS_USER} +SUB_LIST= SEAWEEDFS_DIR=${SEAWEEDFS_DIR} \ + USER=${SEAWEEDFS_USER} \ + GROUP=${SEAWEEDFS_GROUP} USERS= ${SEAWEEDFS_USER} GROUPS= ${SEAWEEDFS_GROUP} OPTIONS_DEFINE= GOCDK OPTIONS_DEFAULT= ELASTIC GOCDK SQLITE OPTIONS_GROUP= FILERS OPTIONS_GROUP_FILERS= ELASTIC SQLITE TIKV YDB ELASTIC_DESC= Elasticsearch support FILERS_DESC= Filer store engines GOCDK_DESC= Go CDK PubSub API support TIKV_DESC= TiKV database support YDB_DESC= YDB support ELASTIC_VARS= GO_TAGS+=elastic GOCDK_VARS= GO_TAGS+=gocdk SQLITE_VARS= GO_TAGS+=sqlite TIKV_VARS= GO_TAGS+=tikv YDB_VARS= GO_TAGS+=ydb -SEAWEEDFS_DIR?= /var/db/${PORTNAME} -SEAWEEDFS_GROUP?= seaweedfs -SEAWEEDFS_USER?= seaweedfs - .include .if !empty (GO_TAGS) GO_BUILDFLAGS+= -tags "${GO_TAGS}" .endif post-build: .for cfg in master filer security replication notification ${WRKDIR}/bin/weed scaffold -config ${cfg} -output ${WRKDIR}/ .endfor post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} .for cfg in filer master notification replication security ${INSTALL_DATA} ${WRKDIR}/${cfg}.toml \ ${STAGEDIR}${ETCDIR}/${cfg}.toml.sample .endfor .include diff --git a/net/seaweedfs/distinfo b/net/seaweedfs/distinfo index e2053e66cb9f..6d6d54b8bf18 100644 --- a/net/seaweedfs/distinfo +++ b/net/seaweedfs/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1668614689 -SHA256 (go/net_seaweedfs/seaweedfs-seaweedfs-3.35_GH0/go.mod) = fc5653ec03a011b87ee7ba6f90c79acd270d1b9829e285e9d91b8dde9a216212 -SIZE (go/net_seaweedfs/seaweedfs-seaweedfs-3.35_GH0/go.mod) = 11354 -SHA256 (go/net_seaweedfs/seaweedfs-seaweedfs-3.35_GH0/seaweedfs-seaweedfs-3.35_GH0.tar.gz) = 551f1c20e5308fc165d2bd240bcf9d6c69c2ae07da11a27e2534b5d9854c76c0 -SIZE (go/net_seaweedfs/seaweedfs-seaweedfs-3.35_GH0/seaweedfs-seaweedfs-3.35_GH0.tar.gz) = 29730545 +TIMESTAMP = 1671906106 +SHA256 (go/net_seaweedfs/seaweedfs-seaweedfs-3.37_GH0/go.mod) = f8c7b2f329b0e30c6f086ae11d81607604b139b54c7b5bfea745e42c62b9c8ce +SIZE (go/net_seaweedfs/seaweedfs-seaweedfs-3.37_GH0/go.mod) = 11354 +SHA256 (go/net_seaweedfs/seaweedfs-seaweedfs-3.37_GH0/seaweedfs-seaweedfs-3.37_GH0.tar.gz) = 9c44b65cdc7ba0e2a544c31aeed0acde0c0080439971212242588cad94cd600f +SIZE (go/net_seaweedfs/seaweedfs-seaweedfs-3.37_GH0/seaweedfs-seaweedfs-3.37_GH0.tar.gz) = 29732599