View | Details | Raw Unified | Return to bug 269632 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-im/gotosocial/Makefile (-12 / +10 lines)
Lines 1-7 Link Here
1
PORTNAME=	gotosocial
1
PORTNAME=	gotosocial
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	0.6.0
3
DISTVERSION=	0.7.0
4
PORTREVISION=	2
5
CATEGORIES=	net-im
4
CATEGORIES=	net-im
6
MASTER_SITES?=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/:web
5
MASTER_SITES?=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/:web
7
DISTFILES?=	${PORTNAME}_${DISTVERSION}_web-assets.tar.gz:web
6
DISTFILES?=	${PORTNAME}_${DISTVERSION}_web-assets.tar.gz:web
Lines 13-22 WWW= https://docs.gotosocial.org/en/latest/ Link Here
13
LICENSE=	AGPLv3
12
LICENSE=	AGPLv3
14
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
15
14
16
ONLY_FOR_ARCHS=	amd64
15
ONLY_FOR_ARCHS=	i386 amd64 armv7 arm64
16
ONLY_FOR_ARCHS_REASON=	https://gitlab.com/cznic/libc/-/issues/15
17
18
USES=		go:modules
19
GO_TARGET=	./cmd/gotosocial
20
GO_BUILDFLAGS=	-trimpath -tags "netgo osusergo static_build kvformat ${WITH_DEBUG:Ddebugenv}" \
21
	-ldflags="${STRIP} -w -extldflags '-static' -X 'main.Version=${PKGVERSION}'"
22
CGO_ENABLED=	0
17
23
18
# Note: we don't use go:modules, because this project vendors all deps
19
USES=		go
20
USE_RC_SUBR=	${PORTNAME}
24
USE_RC_SUBR=	${PORTNAME}
21
25
22
USE_GITHUB=	yes
26
USE_GITHUB=	yes
Lines 34-46 DBDIR= /var/db/${PORTNAME} Link Here
34
38
35
PLIST_SUB=	WWWDIR="${WWWDIR}"
39
PLIST_SUB=	WWWDIR="${WWWDIR}"
36
40
37
do-build:
41
post-install:
38
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
39
		VERSION=${DISTVERSION} COMMIT=${GH_TAGNAME} scripts/build.sh )
40
41
do-install:
42
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
43
		${STAGEDIR}${PREFIX}/bin/
44
	${MKDIR} ${STAGEDIR}${DOCSDIR}
42
	${MKDIR} ${STAGEDIR}${DOCSDIR}
45
.for x in LICENSE README.md
43
.for x in LICENSE README.md
46
	${INSTALL_DATA} ${WRKSRC}/${x} \
44
	${INSTALL_DATA} ${WRKSRC}/${x} \
(-)b/net-im/gotosocial/distinfo (-5 / +5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1670334530
1
TIMESTAMP = 1676654810
2
SHA256 (gotosocial_0.6.0_web-assets.tar.gz) = 4407c90e2d464778037f2493069cf2b60871f2ee6eba40b5096a748e8cb74e9f
2
SHA256 (gotosocial_0.7.0_web-assets.tar.gz) = bff859922ce38c79fe121d9a2aa83683d3c5d2f08ca1bcf4adad8524e305b918
3
SIZE (gotosocial_0.6.0_web-assets.tar.gz) = 1630400
3
SIZE (gotosocial_0.7.0_web-assets.tar.gz) = 1314007
4
SHA256 (superseriousbusiness-gotosocial-v0.6.0_GH0.tar.gz) = a0dedaf73015f739c6bbe8d9cc7cf0b16b3132b2586ef9b44faf80b6849b3ac1
4
SHA256 (superseriousbusiness-gotosocial-v0.7.0_GH0.tar.gz) = b0a97517f8a61387be165f880430fe28e5ca592e865207c03b798aec3f424517
5
SIZE (superseriousbusiness-gotosocial-v0.6.0_GH0.tar.gz) = 43666836
5
SIZE (superseriousbusiness-gotosocial-v0.7.0_GH0.tar.gz) = 51866249
(-)b/net-im/gotosocial/pkg-plist (-4 / +8 lines)
Lines 16-22 Link Here
16
%%WWWDIR%%/template/404.tmpl
16
%%WWWDIR%%/template/404.tmpl
17
%%WWWDIR%%/template/error.tmpl
17
%%WWWDIR%%/template/error.tmpl
18
%%WWWDIR%%/template/authorize.tmpl
18
%%WWWDIR%%/template/authorize.tmpl
19
%%WWWDIR%%/assets/NotoSans-Regular.ttf
19
%%WWWDIR%%/template/domain-blocklist.tmpl
20
%%WWWDIR%%/template/finalize.tmpl
20
%%WWWDIR%%/assets/default_avatars/GoToSocial_icon5.png
21
%%WWWDIR%%/assets/default_avatars/GoToSocial_icon5.png
21
%%WWWDIR%%/assets/default_avatars/GoToSocial_icon2.png
22
%%WWWDIR%%/assets/default_avatars/GoToSocial_icon2.png
22
%%WWWDIR%%/assets/default_avatars/GoToSocial_icon3.png
23
%%WWWDIR%%/assets/default_avatars/GoToSocial_icon3.png
Lines 24-32 Link Here
24
%%WWWDIR%%/assets/default_avatars/GoToSocial_icon1.png
25
%%WWWDIR%%/assets/default_avatars/GoToSocial_icon1.png
25
%%WWWDIR%%/assets/default_avatars/GoToSocial_icon6.png
26
%%WWWDIR%%/assets/default_avatars/GoToSocial_icon6.png
26
%%WWWDIR%%/assets/mastodon.svg
27
%%WWWDIR%%/assets/mastodon.svg
27
%%WWWDIR%%/assets/OFL.txt
28
%%WWWDIR%%/assets/logo.svg
28
%%WWWDIR%%/assets/NotoSans-Bold.ttf
29
%%WWWDIR%%/assets/default_header.png
29
%%WWWDIR%%/assets/default_header.png
30
%%WWWDIR%%/assets/fonts/OFL.txt
31
%%WWWDIR%%/assets/fonts/noto-sans-v27-latin-700.woff
32
%%WWWDIR%%/assets/fonts/noto-sans-v27-latin-700.woff2
33
%%WWWDIR%%/assets/fonts/noto-sans-v27-latin-regular.woff
34
%%WWWDIR%%/assets/fonts/noto-sans-v27-latin-regular.woff2
30
%%WWWDIR%%/assets/Fork-Awesome/CONTRIBUTORS.md
35
%%WWWDIR%%/assets/Fork-Awesome/CONTRIBUTORS.md
31
%%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.ttf
36
%%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.ttf
32
%%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.woff2
37
%%WWWDIR%%/assets/Fork-Awesome/fonts/forkawesome-webfont.woff2
33
- 

Return to bug 269632