diff Makefile @ 41:a0a10f5bbe05

Update all the script examples
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 17 Mar 2025 13:52:26 +0100
parents bbc1de47fe9b
children 986f63aa4bdd
line wrap: on
line diff
--- a/Makefile	Mon Mar 17 13:24:21 2025 +0100
+++ b/Makefile	Mon Mar 17 13:52:26 2025 +0100
@@ -16,7 +16,7 @@
 LIB_DEPENDS=	libevent.so:devel/libevent
 
 USES=		perl5 pkgconfig shebangfix ssl
-SHEBANG_FILES=	examples/scripts/restapi/shared_secret_maintainer.pl
+SHEBANG_FILES=	examples/scripts/restapi/shared_secret_maintainer.pl examples/scripts/oauth.sh
 HAS_CONFIGURE=	yes
 CONFIGURE_ENV+=	PTHREAD_LIBS=-pthread TURN_DISABLE_RPATH=1
 # MongoDB support is disabled until devel/mongo-c-driver is updated
@@ -45,7 +45,7 @@
 
 _ETC_EXAMPLES=	turnserver.conf turn_client_cert.pem \
 		turn_client_pkey.pem turn_server_cert.pem turn_server_pkey.pem
-_SCRIPT_EXAMPLES=	peer.sh	\
+_SCRIPT_EXAMPLES=	peer.sh	oauth.sh pack.sh rfc5769.sh \
 	basic/relay.sh basic/dos_attack.sh \
 	basic/tcp_client_c2c_tcp_relay.sh basic/udp_c2c_client.sh \
 	basic/udp_client.sh basic/tcp_client.sh \
@@ -75,7 +75,12 @@
 	restapi/secure_relay_secret_with_db_psql.sh \
 	restapi/shared_secret_maintainer.pl \
 	selfloadbalance/secure_dos_attack.sh \
-	selfloadbalance/secure_relay.sh
+	selfloadbalance/secure_relay.sh \
+	mobile/mobile_dtls_client.sh \
+	mobile/mobile_relay.sh \
+	mobile/mobile_tcp_client.sh \
+	mobile/mobile_tls_client_c2c_tcp_relay.sh \
+	mobile/mobile_udp_client.sh
 
 OPTIONS_DEFINE=	DOCS EXAMPLES MYSQL PGSQL REDIS SQLITE PROMETHEUS
 OPTIONS_DEFAULT=	REDIS SQLITE
@@ -125,7 +130,7 @@
 	${INSTALL_DATA} ${WRKSRC}/sqlite/turndb ${STAGEDIR}/var/lib/turn/turndb.sample
 
 do-install-EXAMPLES-on:
-.for dir in basic loadbalance longtermsecure longtermsecuredb restapi selfloadbalance
+.for dir in basic loadbalance longtermsecure longtermsecuredb mobile restapi selfloadbalance
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/scripts/${dir}
 .endfor
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/etc