diff --git a/irc/soju/Makefile b/irc/soju/Makefile index 0b07f13b9abf..10c968d97565 100644 --- a/irc/soju/Makefile +++ b/irc/soju/Makefile @@ -1,72 +1,71 @@ PORTNAME= soju DISTVERSIONPREFIX= v -DISTVERSION= 0.6.2 -PORTREVISION= 2 +DISTVERSION= 0.7.0 CATEGORIES= irc MAINTAINER= ashish@FreeBSD.org COMMENT= IRC bouncer WWW= https://soju.im LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules,no_targets sqlite:3 USE_GITHUB= nodefault -GH_TUPLE= golang:sys:v0.6.0:sys +GH_TUPLE= golang:sys:v0.13.0:sys OPTIONS_DEFAULT= DOCS OPTIONS_DEFINE= DOCS USERS= soju GROUPS= soju SUB_LIST= USER=${USERS} USE_RC_SUBR= ${PORTNAME} GO_BUILDFLAGS+= -tags=libsqlite3 CGO_LDFLAGS+= -lsqlite3 GO_MODULE= git.sr.ht/~emersion/soju CONTRIBS= ./contrib/znc-import ./contrib/migrate-db \ ./contrib/migrate-logs MAKE_ENV+= ${GO_ENV} \ MANDIR=man \ PREFIX=${PREFIX} \ RUNDIR=/var/run \ SYSCONFDIR=${ETCDIR}/.. PLIST_FILES= ${CONTRIBS:T:C/^/bin\/soju-/g} \ ${DOCSDIR_REL}/getting-started.md \ "@sample ${ETCDIR_REL}/config.sample" \ "@dir(${USERS},${GROUPS},0711) /var/db/soju" \ bin/soju \ bin/sojuctl \ bin/sojudb DOCS_BUILD_DEPENDS= scdoc:textproc/scdoc DOCS_PLIST_FILES= man/man1/soju.1.gz \ man/man1/sojuctl.1.gz pre-patch: ${RM} -r ${WRKSRC}/vendor/golang.org/x/sys ${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys post-patch: @${REINPLACE_CMD} -r -e 's,/var/lib/soju,/var/db/soju,g' \ ${WRKSRC}/config.in @${REINPLACE_CMD} -r -e 's,[$$]\(([^)]+)\),$${\1},g' \ -e 's,(/cmd/sojuctl)$$,\1 ${CONTRIBS},' \ -e '/^config_path/s,=.*$$,= ${ETCDIR}/config,' \ -e '/^commands/s,$$, ${CONTRIBS:T},' \ -e '/^sojudb/s,^,${CONTRIBS:T} ,' \ -e '/^\.PHONY/s,$$, ${CONTRIBS:T},' \ -e '/^sharedstatedir/s,/var/lib,/var/db,' ${WRKSRC}/Makefile post-patch-DOCS-off: @${REINPLACE_CMD} -e 's,[$$]{man_pages},,' -e '/man1$$/d' ${WRKSRC}/Makefile post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/getting-started.md ${STAGEDIR}${DOCSDIR} .for EXE in ${CONTRIBS:T} ${MV} ${STAGEDIR}${PREFIX}/bin/${EXE} ${STAGEDIR}${PREFIX}/bin/soju-${EXE} .endfor ${MV} ${STAGEDIR}${ETCDIR}/config ${STAGEDIR}${ETCDIR}/config.sample .include diff --git a/irc/soju/distinfo b/irc/soju/distinfo index c2d6406cc61a..5e174e5ed495 100644 --- a/irc/soju/distinfo +++ b/irc/soju/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1685662532 -SHA256 (go/irc_soju/soju-v0.6.2/v0.6.2.mod) = cc7b31aaa68731f05deeeda682dbba98c927279ccd75b3140e75b2977f360fe0 -SIZE (go/irc_soju/soju-v0.6.2/v0.6.2.mod) = 2050 -SHA256 (go/irc_soju/soju-v0.6.2/v0.6.2.zip) = 12c7f202e147474af258a3260a6f641f7f94e40e09806f60516d49c97f568462 -SIZE (go/irc_soju/soju-v0.6.2/v0.6.2.zip) = 190205 -SHA256 (go/irc_soju/soju-v0.6.2/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54 -SIZE (go/irc_soju/soju-v0.6.2/golang-sys-v0.6.0_GH0.tar.gz) = 1434234 +TIMESTAMP = 1701113515 +SHA256 (go/irc_soju/soju-v0.7.0/v0.7.0.mod) = 97993c9163614d9675c14d58e844cb315498f1617cab327d9458b7de8d0a73d0 +SIZE (go/irc_soju/soju-v0.7.0/v0.7.0.mod) = 1939 +SHA256 (go/irc_soju/soju-v0.7.0/v0.7.0.zip) = 7a3dd079a72603d2087bdd60d9ed43476d38456bd7d90bfc8a4d17d4dc7b2039 +SIZE (go/irc_soju/soju-v0.7.0/v0.7.0.zip) = 178361 +SHA256 (go/irc_soju/soju-v0.7.0/golang-sys-v0.13.0_GH0.tar.gz) = 8877d20a8f1b2533ddef00e65b6b3b9cebbcbffa319ed525df0bc229f583e2b6 +SIZE (go/irc_soju/soju-v0.7.0/golang-sys-v0.13.0_GH0.tar.gz) = 1442250