summaryrefslogtreecommitdiff
path: root/net/teddycloud/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/teddycloud/Makefile')
-rw-r--r--net/teddycloud/Makefile47
1 files changed, 24 insertions, 23 deletions
diff --git a/net/teddycloud/Makefile b/net/teddycloud/Makefile
index a222aaec2336..a1750d0242a9 100644
--- a/net/teddycloud/Makefile
+++ b/net/teddycloud/Makefile
@@ -1,10 +1,11 @@
PORTNAME= teddycloud
DISTVERSIONPREFIX= tc_v
-DISTVERSION= 0.6.3
+DISTVERSION= 0.6.4
+PORTREVISION= 2
CATEGORIES= net
# Get the latest commit hashes here: https://github.com/toniebox-reverse-engineering/tonies-json/commits/release/
# NOTE: remove the existing tonies.json and tonieboxes.json from DISTDIR before you do a `make makesum`
-MASTER_SITES= https://raw.githubusercontent.com/toniebox-reverse-engineering/tonies-json/85a888e355f20ef300e581ad11feb4ac623e62d6/:toniesjson
+MASTER_SITES= https://raw.githubusercontent.com/toniebox-reverse-engineering/tonies-json/c874ca0c33eb929ee1c94983f53f3f8a55445c6b/:toniesjson
DISTFILES= tonies.json:toniesjson \
tonieboxes.json:toniesjson
EXTRACT_ONLY= ${DISTFILES:N*\:toniesjson:C/\:.*//}
@@ -16,7 +17,7 @@ WWW= https://tonies-wiki.revvox.de/docs/tools/teddycloud/
LICENSE= GPLv2+
NOT_FOR_ARCHS= armv6 armv7 i386 powerpc powerpcspe
-NOT_FOR_ARCHS_REASON= 32bit targets do not build due to type issues, upstream library assumes FreeBSD to be 64bit
+NOT_FOR_ARCHS_REASON= 32bit targets do not build due to type issues. Upstream library assumes FreeBSD to be 64bit.
BUILD_DEPENDS+= curl:ftp/curl \
protoc-c:devel/protobuf-c
@@ -25,22 +26,22 @@ USES= gmake
USE_GCC= yes
USE_GITHUB= yes
GH_ACCOUNT= toniebox-reverse-engineering:DEFAULT,teddycloud_web \
- DaveGamble:cJSON \
- xiph:ogg,opus \
- Oryx-Embedded:cyclone_common,cyclone_crypto,cyclone_ssl,cyclone_tcp
+ DaveGamble:cJSON \
+ xiph:ogg,opus \
+ Oryx-Embedded:cyclone_common,cyclone_crypto,cyclone_ssl,cyclone_tcp
GH_PROJECT= cJSON:cJSON ogg:ogg opus:opus teddycloud_web:teddycloud_web \
- Common:cyclone_common CycloneCRYPTO:cyclone_crypto \
- CycloneSSL:cyclone_ssl CycloneTCP:cyclone_tcp
+ Common:cyclone_common CycloneCRYPTO:cyclone_crypto \
+ CycloneSSL:cyclone_ssl CycloneTCP:cyclone_tcp
GH_SUBDIR= cJSON:cJSON ogg:ogg opus:opus teddycloud_web:teddycloud_web \
- cyclone/common:cyclone_common cyclone/cyclone_crypto:cyclone_crypto \
- cyclone/cyclone_ssl:cyclone_ssl cyclone/cyclone_tcp:cyclone_tcp
+ cyclone/common:cyclone_common cyclone/cyclone_crypto:cyclone_crypto \
+ cyclone/cyclone_ssl:cyclone_ssl cyclone/cyclone_tcp:cyclone_tcp
# find versions here clone the repository and switch to tag
# git submodule update
# git submodule
-GH_TAGNAME= v1.7.15-33-gacc7623:cJSON \
+GH_TAGNAME= v1.7.18:cJSON \
v1.3.5-9-gdb5c7a4:ogg \
v1.4-7-g101a71e0:opus \
- tcw_v0.6.3:teddycloud_web \
+ tcw_v${DISTVERSION}:teddycloud_web \
v2.3.2:cyclone_common,cyclone_crypto,cyclone_ssl,cyclone_tcp
USE_RC_SUBR= teddycloudd
@@ -48,15 +49,15 @@ MAKE_ENV+= CONFIG_RUNTIME_BASE_PATH=${PREFIX}/etc/teddycloud \
RUNTIME_BASE_PATH=${PREFIX}/share/teddycloud \
NO_SANITIZERS=1 \
GIT_DIRTY=0 \
- GIT_BUILD_TIME="2025-01-06 08:31:53 +0000" \
- GIT_SHORT_SHA=39b2f89 \
- GIT_SHA=39b2f89bb0c4f7e40cea0efdced012c5715c1f59 \
- GIT_TAG=tc_v0.6.3 \
+ GIT_BUILD_TIME="2025-03-05 08:01:37 +0000" \
+ GIT_SHORT_SHA=f13703a \
+ GIT_SHA=f13703ad110b6c42f693d35b7ac211e487d37c83 \
+ GIT_TAG=tc_v${DISTVERSION} \
WEB_GIT_DIRTY=0 \
- WEB_GIT_BUILD_TIME="2025-01-06 09:28:23 +0100" \
- WEB_GIT_SHORT_SHA=514140d \
- WEB_GIT_SHA=514140d169f5e821299a452fa33dac155eef3a85 \
- WEB_GIT_TAG=tcw_v0.6.3
+ WEB_GIT_BUILD_TIME="2025-03-03 18:54:08 +0000" \
+ WEB_GIT_SHORT_SHA=d24276e \
+ WEB_GIT_SHA=d24276e8d0972477d988449c566879974795d02a \
+ WEB_GIT_TAG=tcw_v${DISTVERSION}
# This did reliably fail due to some unknown deps when using parallel build
MAKE_JOBS_UNSAFE= yes
ALL_TARGET= preinstall
@@ -64,7 +65,7 @@ ALL_TARGET= preinstall
post-extract:
pre-install:
- @${CP} ${DISTFILES:M*\:toniesjson:C/\:.*//:S,^,${_DISTDIR},} ${WRKSRC}/install/pre/config/
+ @${CP} ${DISTFILES:M*\:toniesjson:C/\:.*//:S,^,${_DISTDIR}/,} ${WRKSRC}/install/pre/config/
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/install/pre/teddycloud ${STAGEDIR}${PREFIX}/bin
@@ -74,7 +75,7 @@ do-install:
@(cd ${WRKSRC}/install/pre/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/data)
@${MKDIR} ${STAGEDIR}${DATADIR}/certs
@(cd ${WRKSRC}/install/pre/certs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/certs)
- @${MKDIR} ${STAGEDIR}${PREFIX}/etc/teddycloud
- @(cd ${WRKSRC}/install/pre/config && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/etc/teddycloud)
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/install/pre/config && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>