aboutsummaryrefslogtreecommitdiff
path: root/net/turnserver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/turnserver/Makefile')
-rw-r--r--net/turnserver/Makefile66
1 files changed, 32 insertions, 34 deletions
diff --git a/net/turnserver/Makefile b/net/turnserver/Makefile
index b2b075735093..61e139ae1254 100644
--- a/net/turnserver/Makefile
+++ b/net/turnserver/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= turnserver
-PORTVERSION= 3.2.5.2
+PORTVERSION= 3.2.5.3
CATEGORIES= net
MASTER_SITES= http://turnserver.open-sys.org/downloads/v${PORTVERSION}/:prog \
http://turnserver.open-sys.org/downloads/extradocs/:xdocs \
@@ -41,44 +41,46 @@ REDIS_DESC= Redis support for user database and for status and statistics report
OPTIONS_DEFAULT= MYSQL PGSQL REDIS
-.include <bsd.port.options.mk>
-
-PORTDOCS= html TURNServerRESTAPI.pdf TurnNetworks.pdf
+DOCS= html TURNServerRESTAPI.pdf TurnNetworks.pdf
PORTREADMEDOCS= LICENSE README.turnserver README.turnadmin README.turnutils INSTALL
+PORTDOCS= ${DOCS} ${PORTREADMEDOCS} postinstall.txt schema.sql \
+ schema.userdb.redis schema.stats.redis
_BIN_UTILS= peer stunclient uclient
_ETC_EXAMPLES= turnserver.conf turnuserdb.conf turn_client_cert.pem \
turn_client_pkey.pem turn_server_cert.pem turn_server_pkey.pem
_SCRIPT_EXAMPLES= peer.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 \
-loadbalance/master_relay.sh loadbalance/slave_relay_1.sh loadbalance/slave_relay_2.sh \
-loadbalance/udp_c2c.sh loadbalance/tcp_c2c_tcp_relay.sh \
-longtermsecure/secure_dtls_client.sh longtermsecure/secure_relay.sh \
-longtermsecure/secure_tls_client_cert.sh longtermsecure/secure_dtls_client_cert.sh \
-longtermsecure/secure_relay_cert.sh \
-longtermsecure/secure_tcp_client_c2c_tcp_relay.sh longtermsecure/secure_tcp_client.sh \
-longtermsecure/secure_tls_client_c2c_tcp_relay.sh longtermsecure/secure_tls_client.sh \
-longtermsecure/secure_udp_c2c.sh longtermsecure/secure_udp_client.sh \
-longtermsecure/secure_dos_attack.sh longtermsecure/secure_udp_client.sh \
-longtermsecuredb/secure_relay_with_db_psql.sh longtermsecuredb/secure_relay_with_db_mysql.sh \
-longtermsecuredb/secure_relay_with_db_mysql_ssl.sh \
-longtermsecuredb/secure_relay_with_db_redis.sh \
-restapi/secure_relay_secret.sh restapi/secure_relay_secret_with_db_mysql.sh \
-restapi/secure_relay_secret.sh restapi/secure_relay_secret_with_db_redis.sh \
-restapi/secure_udp_client_with_secret.sh \
-restapi/secure_relay_secret_with_db_psql.sh \
-restapi/shared_secret_maintainer.pl \
-shorttermsecure/secure_tcp_client_c2c_tcp_relay_short_term.sh \
-shorttermsecure/secure_udp_client_short_term.sh \
-shorttermsecure/secure_relay_short_term_mech.sh \
-selfloadbalance/secure_dos_attack.sh \
-selfloadbalance/secure_relay.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 \
+ loadbalance/master_relay.sh loadbalance/slave_relay_1.sh loadbalance/slave_relay_2.sh \
+ loadbalance/udp_c2c.sh loadbalance/tcp_c2c_tcp_relay.sh \
+ longtermsecure/secure_dtls_client.sh longtermsecure/secure_relay.sh \
+ longtermsecure/secure_tls_client_cert.sh longtermsecure/secure_dtls_client_cert.sh \
+ longtermsecure/secure_relay_cert.sh \
+ longtermsecure/secure_tcp_client_c2c_tcp_relay.sh longtermsecure/secure_tcp_client.sh \
+ longtermsecure/secure_tls_client_c2c_tcp_relay.sh longtermsecure/secure_tls_client.sh \
+ longtermsecure/secure_udp_c2c.sh longtermsecure/secure_udp_client.sh \
+ longtermsecure/secure_dos_attack.sh longtermsecure/secure_udp_client.sh \
+ longtermsecuredb/secure_relay_with_db_psql.sh longtermsecuredb/secure_relay_with_db_mysql.sh \
+ longtermsecuredb/secure_relay_with_db_mysql_ssl.sh \
+ longtermsecuredb/secure_relay_with_db_redis.sh \
+ restapi/secure_relay_secret.sh restapi/secure_relay_secret_with_db_mysql.sh \
+ restapi/secure_relay_secret.sh restapi/secure_relay_secret_with_db_redis.sh \
+ restapi/secure_udp_client_with_secret.sh \
+ restapi/secure_relay_secret_with_db_psql.sh \
+ restapi/shared_secret_maintainer.pl \
+ shorttermsecure/secure_tcp_client_c2c_tcp_relay_short_term.sh \
+ shorttermsecure/secure_udp_client_short_term.sh \
+ shorttermsecure/secure_relay_short_term_mech.sh \
+ selfloadbalance/secure_dos_attack.sh \
+ selfloadbalance/secure_relay.sh
CONFIGURE_ENV+= PTHREAD_LIBS=-pthread TURN_DISABLE_RPATH=1
+.include <bsd.port.options.mk>
+
.if ${PORT_OPTIONS:MPGSQL}
USES+= pgsql
.else
@@ -137,7 +139,7 @@ do-install:
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in ${PORTDOCS}
+.for f in ${DOCS}
(cd ${WRKSRC}/../turndocs/docs/ && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${DOCSDIR})
.endfor
.for f in ${PORTREADMEDOCS}
@@ -147,12 +149,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/turndb/schema.sql ${STAGEDIR}${DOCSDIR}/schema.sql
${INSTALL_DATA} ${WRKSRC}/turndb/schema.userdb.redis ${STAGEDIR}${DOCSDIR}/schema.userdb.redis
${INSTALL_DATA} ${WRKSRC}/turndb/schema.stats.redis ${STAGEDIR}${DOCSDIR}/schema.stats.redis
-PORTDOCS+= postinstall.txt ${PORTREADMEDOCS} schema.sql schema.userdb.redis schema.stats.redis
.endif
-post-install:
- ${CAT} ${PKGMESSAGE}
-
regression-test: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test)