diff --git a/databases/litestream/Makefile b/databases/litestream/Makefile index 5046548a1b09..c9f8ea7fb1d9 100644 --- a/databases/litestream/Makefile +++ b/databases/litestream/Makefile @@ -1,21 +1,24 @@ PORTNAME= litestream PORTVERSION= 0.5.8 DISTVERSIONPREFIX= v CATEGORIES= databases MAINTAINER= sunpoet@FreeBSD.org COMMENT= Streaming replication for SQLite WWW= https://litestream.io/ \ https://github.com/benbjohnson/litestream LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 + USES= go:modules GO_MODULE= github.com/benbjohnson/litestream GO_TARGET= ./cmd/litestream PLIST_FILES= bin/litestream .include diff --git a/dns/amass/Makefile b/dns/amass/Makefile index fe1b58eab6d6..5e0dfb86fe53 100644 --- a/dns/amass/Makefile +++ b/dns/amass/Makefile @@ -1,26 +1,27 @@ PORTNAME= amass DISTVERSIONPREFIX= v DISTVERSION= 5.0.1 PORTREVISION= 8 CATEGORIES= dns MAINTAINER= yuri@FreeBSD.org COMMENT= In-depth DNS enumeration WWW= https://owasp.org/www-project-amass/ \ https://github.com/owasp-amass/amass LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_i386= compilation fails: cgo_specific.go:100:2: type [1073741824]*_Ctype_char larger than address space +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 LIB_DEPENDS= libpostal.so:misc/libpostal USES= go:1.24+,modules pkgconfig GO_MODULE= github.com/owasp-amass/amass/v5 GO_TARGET= ./cmd/${PORTNAME} PLIST_FILES= ${GO_TARGET:C/.\/cmd/bin/} .include diff --git a/finance/homebox/Makefile b/finance/homebox/Makefile index fb51ca4bef41..710e9a47e888 100644 --- a/finance/homebox/Makefile +++ b/finance/homebox/Makefile @@ -1,58 +1,59 @@ PORTNAME= homebox DISTVERSIONPREFIX= v DISTVERSION= 0.23.1 PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/:assets # For instructions on how to create assets: # https://github.com/DtxdF/port-assets-makejails/tree/main/homebox DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX}:assets MAINTAINER= dtxdf@FreeBSD.org COMMENT= Inventory and organization system built for the Home User WWW= https://homebox.software LICENSE= AGPLv3 -BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 USES= go:modules USE_GITHUB= yes GH_ACCOUNT= sysadminsmedia USE_RC_SUBR= ${PORTNAME} GO_MOD_DIST= github GO_MODULE= github.com/sysadminsmedia/${PORTNAME} GO_TARGET= ./app/api:${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -X 'main.commit=${GITID}' \ -X 'main.buildTime=${BUILD_TIME}' \ -X 'main.version=${DISTVERSIONPREFIX}${DISTVERSION}'" SUB_LIST= USER=${USERS:[1]} WRKSRC_SUBDIR= backend USERS= ${HOMEBOX_USER} GROUPS= ${HOMEBOX_GROUP} PLIST_FILES= bin/${PORTNAME} \ "@dir(${HOMEBOX_USER},${HOMEBOX_GROUP},0700) /var/db/${PORTNAME}" # Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION} && git rev-parse HEAD' # in the Homebox repository to get the value of GITID. GITID= 27e9eb2277b90783f6d3a03d4895ce7dec6f0fe9 HOMEBOX_USER= ${PORTNAME} HOMEBOX_GROUP= ${HOMEBOX_USER} pre-build: @${RM} -r ${WRKSRC}/app/api/static/public @${MKDIR} ${WRKSRC}/app/api/static/public @cd ${WRKDIR}/homebox-frontend && ${COPYTREE_SHARE} . ${WRKSRC}/app/api/static/public post-install: @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} .include diff --git a/security/trivy/Makefile b/security/trivy/Makefile index 40c586dded7f..91ff9bb33adf 100644 --- a/security/trivy/Makefile +++ b/security/trivy/Makefile @@ -1,40 +1,41 @@ PORTNAME= trivy DISTVERSIONPREFIX= v DISTVERSION= 0.69.3 CATEGORIES= security MAINTAINER= mfechner@FreeBSD.org COMMENT= Security scanner written in go WWW= https://github.com/aquasecurity/trivy LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_i386= not supported, see https://github.com/aquasecurity/trivy/pull/9102 +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 USES= go:modules USE_GITHUB= yes GH_ACCOUNT= aquasecurity GH_PROJECT= trivy GO_MOD_DIST= github GO_MODULE= github.com/aquasecurity/trivy GO_TARGET= ./cmd/trivy GO_BUILDFLAGS= -ldflags=" \ -extldflags '-static' \ -X github.com/aquasecurity/trivy/pkg/version.ver=${DISTVERSION} \ -s -w" MAKE_ENV= GOEXPERIMENT=jsonv2 PLIST_FILES= bin/${PORTNAME} post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/contrib/*.tpl ${STAGEDIR}${DATADIR}/ ${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' | \ ${SED} -E -e '/sample$$/ s#^#@sample #; \ s#${DATADIR_REL}/bin#@(,,555) ${DATADIR_REL}/bin#; ' >> ${TMPPLIST} cat ${TMPPLIST} .include diff --git a/security/vuls/Makefile b/security/vuls/Makefile index 3f58420ae323..290a0c1b1022 100644 --- a/security/vuls/Makefile +++ b/security/vuls/Makefile @@ -1,55 +1,55 @@ PORTNAME= vuls DISTVERSIONPREFIX=v DISTVERSION= 0.38.6 CATEGORIES= security MAINTAINER= girgen@FreeBSD.org COMMENT= Agentless vulnerability scanner WWW= https://vuls.io LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 + USES= go:1.26+,modules GO_MODULE= github.com/future-architect/vuls GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags "-X main.version=${PORTVERSION}" USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message periodic-vuls SUB_LIST= PORTNAME=${PORTNAME} USERS=${USERS} GROUPS=${GROUPS} USERS= vuls GROUPS= vuls -NOT_FOR_ARCHS= i386 -NOT_FOR_ARCHS_REASON_i386= https://gitlab.com/cznic/libc/-/issues/45 - MAKE_ENV= GOEXPERIMENT=jsonv2 post-patch: @${REINPLACE_CMD} -e 's,%%ETCDIR%%,${ETCDIR},' \ ${WRKSRC}/subcmds/configtest.go \ ${WRKSRC}/subcmds/report_windows.go \ ${WRKSRC}/subcmds/report.go \ ${WRKSRC}/subcmds/saas.go \ ${WRKSRC}/subcmds/scan.go \ ${WRKSRC}/subcmds/server.go \ ${WRKSRC}/subcmds/tui.go post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}/var/db/vuls/results \ ${STAGEDIR}/var/log/vuls \ ${STAGEDIR}${PREFIX}/etc/periodic/daily \ ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${INSTALL_DATA} ${FILESDIR}/newsyslog-${PORTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/${PORTNAME}.conf.sample ${INSTALL_DATA} ${FILESDIR}/config.toml \ ${STAGEDIR}${ETCDIR}/config.toml.sample ${INSTALL_SCRIPT} ${WRKDIR}/periodic-${PORTNAME} \ ${STAGEDIR}${PREFIX}/etc/periodic/daily/${PORTNAME} .include diff --git a/sysutils/k9s/Makefile b/sysutils/k9s/Makefile index 18f47e11deb7..71f1b9335c92 100644 --- a/sysutils/k9s/Makefile +++ b/sysutils/k9s/Makefile @@ -1,24 +1,25 @@ PORTNAME= k9s DISTVERSIONPREFIX= v DISTVERSION= 0.50.18 PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= gogolok@gmail.com COMMENT= Kubernetes command-line tool WWW= https://github.com/derailed/k9s LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -NOT_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 USES= go:1.25+,modules GO_MODULE= github.com/derailed/k9s GO_BUILDFLAGS= -ldflags="-X github.com/derailed/k9s/cmd.version=${DISTVERSIONFULL} \ -X github.com/derailed/k9s/cmd.date=$$(date +'%Y-%m-%dT%H:%M:%SZ') \ -X github.com/derailed/k9s/cmd.commit=6dbf571c59fd48dc5b384aa46ee7f3e5decfae2b" PLIST_FILES= bin/${PORTNAME} .include diff --git a/sysutils/zot/Makefile b/sysutils/zot/Makefile index ca36535f7974..1062fc313577 100644 --- a/sysutils/zot/Makefile +++ b/sysutils/zot/Makefile @@ -1,47 +1,48 @@ PORTNAME= zot DISTVERSIONPREFIX=v DISTVERSION= 2.1.15 CATEGORIES= sysutils MASTER_SITES= https://github.com/project-zot/zui/releases/download/commit-${ZUI_VERSION}/:ui DISTFILES= zui.tgz:ui MAINTAINER= decke@FreeBSD.org COMMENT= Production ready and vendor neutral OCI image registry WWW= https://zotregistry.dev/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_i386= modernc.org/libc does not compile on i386 +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 USES= go:1.25+,modules USE_GITHUB= yes GH_ACCOUNT= project-zot ZUI_VERSION= 111cb8e GO_MODULE= zotproject.dev/zot GO_MOD_DIST= https://raw.githubusercontent.com/project-zot/zot/refs/tags/v${DISTVERSION}/ GO_TARGET= ./cmd/zot GO_ENV+= GOEXPERIMENT=jsonv2 GO_BUILDFLAGS= -ldflags " \ -X zotregistry.dev/zot/pkg/api/config.ReleaseTag=${DISTVERSION} \ -X zotregistry.dev/zot/pkg/api/config.BinaryType=full \ -X zotregistry.dev/zot/pkg/api/config.GoVersion=${GO_VERSION}" \ -tags sync,search,scrub,metrics,lint,ui,mgmt,profile,userprefs,imagetrust,events,search,mgmt,userprefs USE_RC_SUBR= zot PLIST_FILES= bin/zot \ etc/zot/config-minimal.json.sample \ etc/zot/config-ui.json.sample post-extract: ${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/zui.tgz -C ${WRKSRC}/pkg/extensions post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${PATCHDIR}/config-minimal.json ${STAGEDIR}${ETCDIR}/config-minimal.json.sample ${INSTALL_DATA} ${PATCHDIR}/config-ui.json ${STAGEDIR}${ETCDIR}/config-ui.json.sample .include diff --git a/textproc/qo/Makefile b/textproc/qo/Makefile index 494ee2e4fa79..fa8c4355cce5 100644 --- a/textproc/qo/Makefile +++ b/textproc/qo/Makefile @@ -1,21 +1,22 @@ PORTNAME= qo DISTVERSIONPREFIX= v DISTVERSION= 0.3.1 CATEGORIES= textproc MAINTAINER= adamw@FreeBSD.org COMMENT= TUI to query JSON/CSV/TSV with SQL WWW= https://github.com/kiki-ki/go-qo LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_i386= vendor/modernc.org/libc/libc_freebsd.go:1638:17: invalid operation: Uint64(Uint64FromInt32(-1)) / uint64(255) * size_t(c) (mismatched types uint64 and size_t) +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 USES= go:1.26+,modules GO_MODULE= github.com/kiki-ki/go-qo GO_TARGET= ./cmd/qo PLIST_FILES= bin/qo .include diff --git a/www/filebrowser-quantum/Makefile b/www/filebrowser-quantum/Makefile index 096b172d4360..b8e18f200cc5 100644 --- a/www/filebrowser-quantum/Makefile +++ b/www/filebrowser-quantum/Makefile @@ -1,69 +1,70 @@ PORTNAME= filebrowser-quantum DISTVERSIONPREFIX= v DISTVERSION= 1.1.2 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ # For instructions on how to create assets: # https://github.com/DtxdF/port-assets-makejails/tree/main/filebrowser-quantum DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}-${FILEBROWSER_QUANTUM_CHANNEL}.frontend${EXTRACT_SUFX} \ ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}-${FILEBROWSER_QUANTUM_CHANNEL}.vendor${EXTRACT_SUFX} MAINTAINER= dtxdf@FreeBSD.org COMMENT= Web File Browser WWW= https://filebrowserquantum.com \ https://github.com/gtsteffaniak/filebrowser LICENSE= APACHE20 -BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 USES= go:1.25+,modules USE_GITHUB= yes GH_ACCOUNT= gtsteffaniak GH_PROJECT= filebrowser GH_TAGNAME= ${DISTVERSIONPREFIX}${DISTVERSION}-${FILEBROWSER_QUANTUM_CHANNEL} USE_RC_SUBR= ${PORTNAME} GO_TARGET= ./main.go:${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -X 'github.com/gtsteffaniak/filebrowser/backend/common/version.Version=${DISTVERSIONPREFIX}${DISTVERSION}-${FILEBROWSER_QUANTUM_CHANNEL}' \ -X 'github.com/gtsteffaniak/filebrowser/backend/common/version.CommitSHA=${GITID}'" SUB_FILES= ${PORTNAME}.yaml SUB_LIST= USER=${FILEBROWSER_QUANTUM_USER} WRKSRC_SUBDIR= backend PLIST_SUB= GROUP=${FILEBROWSER_QUANTUM_USER} \ USER=${FILEBROWSER_QUANTUM_GROUP} OPTIONS_DEFINE= FFMPEG OPTIONS_DEFAULT= FFMPEG FFMPEG_DESC= Enable video thumbnail generation support FFMPEG_RUN_DEPENDS= ffmpeg>=0:multimedia/ffmpeg # Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION}-${FILEBROWSER_QUANTUM_CHANNEL} && git rev-parse HEAD' # in the FileBrowser Quantum repository to get the value of GITID. GITID= 207bc39 FILEBROWSER_QUANTUM_USER= www FILEBROWSER_QUANTUM_GROUP= ${FILEBROWSER_QUANTUM_USER} FILEBROWSER_QUANTUM_CHANNEL= stable post-extract: @${MKDIR} ${WRKSRC}/vendor @cd ${WRKDIR}/filebrowser-quantum-vendor && ${COPYTREE_SHARE} . ${WRKSRC}/vendor @${MKDIR} ${WRKSRC}/http/embed @cd ${WRKDIR}/filebrowser-quantum-frontend && ${COPYTREE_SHARE} . ${WRKSRC}/http/embed post-install: @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} @${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.yaml ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.yaml.sample .include diff --git a/www/gatus/Makefile b/www/gatus/Makefile index baefc2a7cb35..720b3eb1950f 100644 --- a/www/gatus/Makefile +++ b/www/gatus/Makefile @@ -1,41 +1,42 @@ PORTNAME= gatus DISTVERSIONPREFIX= v DISTVERSION= 5.35.0 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ # For instructions on how to create assets: # https://github.com/DtxdF/port-assets-makejails/tree/main/gatus DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.vendor${EXTRACT_SUFX} MAINTAINER= dtxdf@FreeBSD.org COMMENT= Automated developer-oriented status page WWW= https://gatus.io LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 USES= go:modules USE_GITHUB= yes GH_ACCOUNT= TwiN USE_RC_SUBR= ${PORTNAME} SUB_LIST= USER=${GATUS_USER} PLIST_FILES= bin/${PORTNAME} \ "@sample etc/${PORTNAME}.yaml.sample" GATUS_USER= www post-extract: @${MKDIR} ${WRKSRC}/vendor @cd ${WRKDIR}/${PORTNAME}-vendor && ${COPYTREE_SHARE} . ${WRKSRC}/vendor post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/config.yaml ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.yaml.sample .include diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile index ae8fe0c612a7..9b666ff922b4 100644 --- a/www/mattermost-server/Makefile +++ b/www/mattermost-server/Makefile @@ -1,48 +1,50 @@ PORTNAME= mattermost PORTVERSION= 10.11.12 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= LOCAL/decke PKGNAMESUFFIX= -server MAINTAINER= decke@FreeBSD.org COMMENT= Open source Slack-alternative in Golang and React WWW= https://mattermost.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE.txt -ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 + RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ mattermost-webapp>=${PORTVERSION}:www/mattermost-webapp USES= go:modules tar:xz USE_RC_SUBR= mattermostd GO_TARGET= ./cmd/mattermost ./cmd/mmctl ./scripts/config_generator GO_BUILDFLAGS= -ldflags=" \ -X github.com/mattermost/mattermost/server/public/model.BuildNumber=${PORTVERSION} \ -X github.com/mattermost/mattermost/server/public/model.BuildHashEnterprise=none \ -X github.com/mattermost/mattermost/server/public/model.BuildEnterpriseReady=false" WRKSRC_SUBDIR= server WWWDIR= ${PREFIX}/www/mattermost MATTERMOSTD_USER= mattermost MATTERMOSTD_GROUP= mattermost USERS= ${MATTERMOSTD_USER} GROUPS= ${MATTERMOSTD_GROUP} post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/mattermost ${STAGEDIR}${PREFIX}/bin/mattermostd ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mattermost ${SETENV} OUTPUT_CONFIG=${WRKSRC}/config/default.json ${WRKDIR}/bin/config_generator ${INSTALL_DATA} ${WRKSRC}/config/default.json ${STAGEDIR}${PREFIX}/etc/mattermost/config.json.sample ${RM} ${STAGEDIR}${PREFIX}/bin/config_generator ${MKDIR} ${STAGEDIR}${WWWDIR}/templates cd ${GO_WRKSRC} && ${COPYTREE_SHARE} 'fonts i18n' ${STAGEDIR}${WWWDIR} cd ${GO_WRKSRC}/templates && ${CP} *.html *.js ${STAGEDIR}${WWWDIR}/templates .include diff --git a/www/pocket-id/Makefile b/www/pocket-id/Makefile index 76510a6e97e4..8073b3e121e3 100644 --- a/www/pocket-id/Makefile +++ b/www/pocket-id/Makefile @@ -1,43 +1,44 @@ PORTNAME= pocket-id DISTVERSIONPREFIX= v DISTVERSION= 2.4.0 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ # For instructions on how to create assets: # https://github.com/DtxdF/port-assets-makejails/tree/main/pocket-id DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX} MAINTAINER= dtxdf@FreeBSD.org COMMENT= OIDC provider that allows users to authenticate with their passkeys WWW= https://pocket-id.org LICENSE= BSD2CLAUSE -BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 USES= go:1.26+,modules USE_GITHUB= yes USE_RC_SUBR= ${PORTNAME} GO_MOD_DIST= github GO_MODULE= https://github.com/pocket-id/${PORTNAME} GO_TARGET= ./cmd:${PORTNAME} GO_BUILDFLAGS= -ldflags "-X github.com/pocket-id/pocket-id/backend/internal/common.Version=${DISTVERSION} -buildid=${DISTVERSION}" SUB_FILES= pkg-message SUB_LIST= USER=${USERS:[1]} WRKSRC_SUBDIR= backend USERS= ${POCKET_ID_USER} GROUPS= ${POCKET_ID_GROUP} PLIST_FILES= bin/${PORTNAME} POCKET_ID_USER= ${PORTNAME} POCKET_ID_GROUP= ${POCKET_ID_USER} pre-build: @cd ${WRKDIR}/pocket-id-frontend && ${COPYTREE_SHARE} . ${WRKSRC}/frontend/dist .include diff --git a/www/tinyauth/Makefile b/www/tinyauth/Makefile index dc9b1858109a..7176879c5982 100644 --- a/www/tinyauth/Makefile +++ b/www/tinyauth/Makefile @@ -1,58 +1,59 @@ PORTNAME= tinyauth DISTVERSIONPREFIX= v DISTVERSION= 4.0.1 PORTREVISION= 6 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ # For instructions on how to create assets: # https://github.com/DtxdF/port-assets-makejails/tree/main/tinyauth DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX} MAINTAINER= dtxdf@FreeBSD.org COMMENT= Simplest way to protect your apps with a login screen WWW= https://tinyauth.app LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64 USES= go:modules USE_GITHUB= yes GH_ACCOUNT= steveiliop56 USE_RC_SUBR= ${PORTNAME} GO_MOD_DIST= github GO_MODULE= github.com/steveiliop56/${PORTNAME} GO_BUILDFLAGS= -ldflags "\ -X 'tinyauth/internal/constants.Version=${DISTVERSIONPREFIX}${DISTVERSION}' \ -X 'tinyauth/internal/constants.CommitHash=${GITID}' \ -X 'tinyauth/internal/constants.BuildTimestamp=${BUILD_DATE}'" SUB_FILES= pkg-message SUB_LIST= USER=${USERS:[1]} USERS= ${TINYAUTH_USER} GROUPS= ${TINYAUTH_GROUP} PLIST_FILES= bin/${PORTNAME} \ "@dir(${TINYAUTH_USER},${TINYAUTH_GROUP},0750) /var/db/${PORTNAME}" # Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION} && git rev-parse HEAD' # in the Tinyauth repository to get the value of GITID. GITID= 5f7f88421ee0d2cc8fd17316fa378b958386a000 BUILD_DATE= $$(date -u '+%Y-%m-%dT%H:%M:%S') TINYAUTH_USER= ${PORTNAME} TINYAUTH_GROUP= ${TINYAUTH_USER} pre-build: @${MKDIR} ${WRKSRC}/internal/assets/dist @cd ${WRKDIR}/tinyauth-frontend && ${COPYTREE_SHARE} . ${WRKSRC}/internal/assets/dist post-install: @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} .include