diff options
Diffstat (limited to 'net/gotify-server')
| -rw-r--r-- | net/gotify-server/Makefile | 16 | ||||
| -rw-r--r-- | net/gotify-server/distinfo | 14 | ||||
| -rw-r--r-- | net/gotify-server/files/patch-config.example.yml | 10 | ||||
| -rw-r--r-- | net/gotify-server/files/patch-config_config.go | 4 | ||||
| -rw-r--r-- | net/gotify-server/files/patch-ui_tsconfig.json | 4 |
5 files changed, 25 insertions, 23 deletions
diff --git a/net/gotify-server/Makefile b/net/gotify-server/Makefile index 791b99b9f633..e790540588bc 100644 --- a/net/gotify-server/Makefile +++ b/net/gotify-server/Makefile @@ -1,7 +1,7 @@ PORTNAME= gotify-server -PORTVERSION= 2.6.1 +PORTVERSION= 2.7.3 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://github.com/mfechner/freebsd-net-gotify-server/raw/refs/heads/main/:yarn_cache DISTNAME= server @@ -13,9 +13,11 @@ WWW= https://github.com/gotify/server LICENSE= MIT +BROKEN_i386= Build does not succeed (timeout in poudriere) + BUILD_DEPENDS= yarn${NODEJS_SUFFIX}>=1.10.0:www/yarn${NODEJS_SUFFIX} \ -USES= go:modules,1.22 nodejs:build +USES= go:modules,1.25 nodejs:build USE_RC_SUBR= gotify_server GO_MODULE= github.com/gotify/server/v2 @@ -44,7 +46,7 @@ post-patch: @${ECHO_CMD} 'yarn-offline-mirror "${WRKDIR}/yarn-offline-cache"' >> ${WRKSRC}/ui/.yarnrc pre-build: - @cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} HOME=${WRKDIR} PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true yarn install --offline + @cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} HOME=${WRKDIR} PUPPETEER_SKIP_DOWNLOAD=true yarn install --offline @cd ${WRKSRC}/ui && ${SETENV} ${MAKE_ENV} yarn build #${RM} -r ${STAGEDIR}${PREFIX}/share/.cache @@ -70,9 +72,9 @@ post-install: # To update # 1. comment DISTFILES # 2. Run 'make makesum' -# 3. Uncomment DITSFILES -# 4. Run 'make make-yarn-cache' -# 5. Upload yarn cache +# 3. Run 'make make-yarn-cache' +# 4. Upload yarn cache +# 5. Uncomment DITSFILES # 6. Run 'make makesum' make-yarn-cache: patch diff --git a/net/gotify-server/distinfo b/net/gotify-server/distinfo index cd495b0d9e1e..10ed750ab2e7 100644 --- a/net/gotify-server/distinfo +++ b/net/gotify-server/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1734332740 -SHA256 (go/net_gotify-server/server/gotify-server-yarn-offline-cache-2.6.1.tar.gz) = 30438c27e2b8edde804b43ffe74999e7e8f33e694fbee6c03018d19ad4523191 -SIZE (go/net_gotify-server/server/gotify-server-yarn-offline-cache-2.6.1.tar.gz) = 54030953 -SHA256 (go/net_gotify-server/server/v2.6.1.mod) = acf7ba5da9fc000080647ad2ae0a58e7d35feb2b63bc75f7eb5df8e8fdcd3c0e -SIZE (go/net_gotify-server/server/v2.6.1.mod) = 2141 -SHA256 (go/net_gotify-server/server/v2.6.1.zip) = 92a5d60d2120a3cfe3d7f910d4abfed695489199b243186e644d3ef10942b397 -SIZE (go/net_gotify-server/server/v2.6.1.zip) = 727645 +TIMESTAMP = 1760251977 +SHA256 (go/net_gotify-server/server/gotify-server-yarn-offline-cache-2.7.3.tar.gz) = fb5d008a93f7ff5f63d8668401444449bfad0d6fca8a61e5d1c60de867852a59 +SIZE (go/net_gotify-server/server/gotify-server-yarn-offline-cache-2.7.3.tar.gz) = 160736290 +SHA256 (go/net_gotify-server/server/v2.7.3.mod) = bfdb293d34ee4a0c595a86df5633a3aa202b334db9c0c8dc77ab006a994a3adb +SIZE (go/net_gotify-server/server/v2.7.3.mod) = 2411 +SHA256 (go/net_gotify-server/server/v2.7.3.zip) = 84ada62b7c53e0487cf991175bb41575e476c0a04acf751adfa4e96ddefef8c3 +SIZE (go/net_gotify-server/server/v2.7.3.zip) = 589444 diff --git a/net/gotify-server/files/patch-config.example.yml b/net/gotify-server/files/patch-config.example.yml index ccfd46addd3d..cf6470cfd400 100644 --- a/net/gotify-server/files/patch-config.example.yml +++ b/net/gotify-server/files/patch-config.example.yml @@ -1,4 +1,4 @@ ---- config.example.yml.orig 1979-11-29 22:00:00 UTC +--- config.example.yml.orig 1979-11-29 23:00:00 UTC +++ config.example.yml @@ -4,7 +4,7 @@ server: server: @@ -15,10 +15,10 @@ accepttos: false # if you accept the tos from letsencrypt - cache: data/certs # the directory of the cache from letsencrypt + cache: /var/db/gotify/certs # the directory of the cache from letsencrypt - hosts: # the hosts for which letsencrypt should request certificates - # - mydomain.tld - # - myotherdomain.tld -@@ -46,12 +46,12 @@ database: # for database see (configure database secti + directoryurl: # override the directory url of the ACME server + # Let's Encrypt highly recommend testing against their staging environment before using their production environment. + # Staging server has high rate limits for testing and debugging, issued certificates are not valid +@@ -50,12 +50,12 @@ database: # for database see (configure database secti database: # for database see (configure database section) dialect: sqlite3 diff --git a/net/gotify-server/files/patch-config_config.go b/net/gotify-server/files/patch-config_config.go index dce728c6700b..fc561187840a 100644 --- a/net/gotify-server/files/patch-config_config.go +++ b/net/gotify-server/files/patch-config_config.go @@ -1,6 +1,6 @@ ---- config/config.go.orig 2024-10-11 14:37:05 UTC +--- config/config.go.orig 1979-11-29 23:00:00 UTC +++ config/config.go -@@ -60,7 +60,7 @@ func configFiles() []string { +@@ -61,7 +61,7 @@ func configFiles() []string { if mode.Get() == mode.TestDev { return []string{"config.yml"} } diff --git a/net/gotify-server/files/patch-ui_tsconfig.json b/net/gotify-server/files/patch-ui_tsconfig.json index 065235c0f35f..67b8c2844c69 100644 --- a/net/gotify-server/files/patch-ui_tsconfig.json +++ b/net/gotify-server/files/patch-ui_tsconfig.json @@ -1,6 +1,6 @@ ---- ui/tsconfig.json.orig 2024-10-11 13:53:39 UTC +--- ui/tsconfig.json.orig 1979-11-29 23:00:00 UTC +++ ui/tsconfig.json -@@ -38,7 +38,8 @@ +@@ -32,7 +32,8 @@ "acceptance-tests", "webpack", "jest", |
