Mercurial > hgrepos > FreeBSD > ports > net > turnserver
annotate Makefile @ 3:244ecaf25a6f
Apply patches for CVE-2020-6061/TALOS-2020-0984 and CVE-2020-6062/TALOS-2020-0985.
On GitHub these are the corresponding commits:
- CVE-2020-6061 / TALOS-2020-0984: commit 51a7c2b9bf924890c7a3ff4db9c4976c5a93340a
- CVE-2020-6062 / TALOS-2020-0985: commit e09bcd9f7af5b32c81b37f51835b384b5a7d03a8
These patches are required only when the Web admin interface is activated.
But better safe than sorry...
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 26 Mar 2020 22:25:41 +0100 |
| parents | 1a06bf451a04 |
| children | 8133ddc49506 f271ad092ec7 |
| rev | line source |
|---|---|
|
1
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
1 # $FreeBSD: head/net/turnserver/Makefile 507877 2019-08-02 13:30:40Z jbeich $ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
2 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
3 PORTNAME= turnserver |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
4 PORTVERSION= 4.5.1.1 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
5 PORTREVISION= 2 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
6 CATEGORIES= net |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
7 MASTER_SITES= http://turnserver.open-sys.org/downloads/extradocs/:xdocs \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
8 http://coturn.net/turnserver/extradocs/:xdocs |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
9 PKGNAMEPREFIX= |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
10 DISTFILES= turn.extra.docs-2.0.0.1.tar.gz:xdocs |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
11 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
12 MAINTAINER= bhughes@FreeBSD.org |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
13 COMMENT= STUN/TURN Server; IPv6, DTLS support; RFCs 5389, 5766, 6062, 6156 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
14 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
15 LICENSE= BSD3CLAUSE |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
16 LICENSE_FILE= ${WRKSRC}/LICENSE |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
17 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
18 LIB_DEPENDS= libevent.so:devel/libevent |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
19 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
20 USES= gettext-runtime perl5 shebangfix ssl |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
21 SHEBANG_FILES= examples/scripts/restapi/shared_secret_maintainer.pl |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
22 HAS_CONFIGURE= yes |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
23 CONFIGURE_ENV+= PTHREAD_LIBS=-pthread TURN_DISABLE_RPATH=1 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
24 # MongoDB support is disabled until devel/mongo-c-driver is updated |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
25 CONFIGURE_ENV+= TURN_NO_MONGO=1 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
26 TEST_TARGET= test |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
27 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
28 USE_GITHUB= yes |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
29 GH_ACCOUNT= coturn |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
30 GH_PROJECT= coturn |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
31 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
32 SUB_FILES= pkg-message |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
33 USE_RC_SUBR= turnserver |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
34 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
35 MANPAGES= turnserver.1 turnadmin.1 turnutils.1 turnutils_peer.1 \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
36 turnutils_stunclient.1 turnutils_uclient.1 coturn.1 \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
37 turnutils_oauth.1 turnutils_natdiscovery.1 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
38 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
39 DOCS= html TurnNetworks.pdf |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
40 PORTREADMEDOCS= LICENSE README.turnserver README.turnadmin README.turnutils INSTALL |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
41 PORTDOCS= ${DOCS} ${PORTREADMEDOCS} postinstall.txt schema.sql schema.mongo.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
42 schema.userdb.redis schema.stats.redis |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
43 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
44 _BIN_UTILS= peer stunclient uclient oauth natdiscovery |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
45 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
46 _ETC_EXAMPLES= turnserver.conf turn_client_cert.pem \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
47 turn_client_pkey.pem turn_server_cert.pem turn_server_pkey.pem |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
48 _SCRIPT_EXAMPLES= peer.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
49 basic/relay.sh basic/dos_attack.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
50 basic/tcp_client_c2c_tcp_relay.sh basic/udp_c2c_client.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
51 basic/udp_client.sh basic/tcp_client.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
52 loadbalance/master_relay.sh loadbalance/slave_relay_1.sh loadbalance/slave_relay_2.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
53 loadbalance/udp_c2c.sh loadbalance/tcp_c2c_tcp_relay.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
54 longtermsecure/secure_dtls_client.sh longtermsecure/secure_relay.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
55 longtermsecure/secure_tls_client_cert.sh longtermsecure/secure_dtls_client_cert.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
56 longtermsecure/secure_relay_cert.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
57 longtermsecure/secure_tcp_client_c2c_tcp_relay.sh longtermsecure/secure_tcp_client.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
58 longtermsecure/secure_tls_client_c2c_tcp_relay.sh longtermsecure/secure_tls_client.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
59 longtermsecure/secure_udp_c2c.sh longtermsecure/secure_udp_client.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
60 longtermsecure/secure_sctp_client.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
61 longtermsecure/secure_dos_attack.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
62 longtermsecuredb/secure_relay_with_db_psql.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
63 longtermsecuredb/secure_relay_with_db_mysql.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
64 longtermsecuredb/secure_relay_with_db_mysql_ssl.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
65 longtermsecuredb/secure_relay_with_db_mongo.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
66 longtermsecuredb/secure_relay_with_db_redis.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
67 longtermsecuredb/secure_relay_with_db_sqlite.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
68 restapi/secure_relay_secret.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
69 restapi/secure_relay_secret_with_db_mysql.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
70 restapi/secure_relay_secret_with_db_psql.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
71 restapi/secure_relay_secret_with_db_redis.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
72 restapi/secure_relay_secret_with_db_mongo.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
73 restapi/secure_relay_secret_with_db_sqlite.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
74 restapi/secure_udp_client_with_secret.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
75 restapi/secure_relay_secret_with_db_psql.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
76 restapi/shared_secret_maintainer.pl \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
77 selfloadbalance/secure_dos_attack.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
78 selfloadbalance/secure_relay.sh |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
79 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
80 OPTIONS_DEFINE= DOCS EXAMPLES MYSQL PGSQL REDIS SQLITE |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
81 OPTIONS_DEFAULT= MYSQL PGSQL REDIS SQLITE |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
82 OPTIONS_SUB= yes |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
83 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
84 MYSQL_DESC= MySQL database support |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
85 MYSQL_USES= mysql |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
86 MYSQL_CONFIGURE_ENV_OFF= TURN_NO_MYSQL=1 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
87 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
88 PGSQL_DESC= PostgreSQL database support |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
89 PGSQL_USES= pgsql |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
90 PGSQL_CONFIGURE_ENV_OFF= TURN_NO_PQ=1 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
91 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
92 REDIS_DESC= Redis support for user database and for status and statistics reporting |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
93 REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
94 REDIS_CONFIGURE_ENV_OFF= TURN_NO_HIREDIS=1 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
95 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
96 SQLITE_DESC= SQLite database support |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
97 SQLITE_USES= sqlite |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
98 SQLITE_CONFIGURE_ENV_OFF= TURN_NO_SQLITE=1 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
99 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
100 do-install: |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
101 ${INSTALL_PROGRAM} ${WRKSRC}/bin/turnserver ${STAGEDIR}${PREFIX}/bin/turnserver |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
102 ${INSTALL_PROGRAM} ${WRKSRC}/bin/turnadmin ${STAGEDIR}${PREFIX}/bin/turnadmin |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
103 .for f in ${_BIN_UTILS} |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
104 ${INSTALL_PROGRAM} ${WRKSRC}/bin/turnutils_${f} ${STAGEDIR}${PREFIX}/bin/ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
105 .endfor |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
106 (cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${MANPAGES} \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
107 ${STAGEDIR}${PREFIX}/man/man1) |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
108 ${MKDIR} ${STAGEDIR}${DATADIR} |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
109 (cd ${WRKSRC}/turndb && ${INSTALL_DATA} schema.sql schema.userdb.redis \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
110 schema.stats.redis ${STAGEDIR}${DATADIR}) |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
111 (cd ${WRKSRC}/turndb && ${INSTALL_SCRIPT} testredisdbsetup.sh schema.mongo.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
112 testmongosetup.sh ${STAGEDIR}${DATADIR}) |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
113 ${INSTALL_DATA} ${WRKSRC}/lib/libturnclient.a ${STAGEDIR}${PREFIX}/lib |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
114 ${INSTALL_DATA} ${WRKSRC}/examples/etc/turnserver.conf \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
115 ${STAGEDIR}${PREFIX}/etc/turnserver.conf.default |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
116 ${MKDIR} ${STAGEDIR}${PREFIX}/include/turn |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
117 (cd ${WRKSRC}/include/turn && ${COPYTREE_SHARE} "client ns_turn_defs.h" \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
118 ${STAGEDIR}${PREFIX}/include/turn) |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
119 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
120 do-install-SQLITE-on: |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
121 ${MKDIR} ${STAGEDIR}${PREFIX}/var/db |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
122 ${INSTALL_DATA} ${WRKSRC}/sqlite/turndb ${STAGEDIR}${PREFIX}/var/db/turndb |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
123 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
124 do-install-EXAMPLES-on: |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
125 .for dir in basic loadbalance longtermsecure longtermsecuredb restapi selfloadbalance |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
126 ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/scripts/${dir} |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
127 .endfor |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
128 ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/etc |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
129 ${INSTALL_DATA} ${WRKSRC}/examples/scripts/readme.txt \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
130 ${STAGEDIR}${EXAMPLESDIR}/scripts |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
131 (cd ${WRKSRC}/examples/etc && ${INSTALL_DATA} ${_ETC_EXAMPLES} \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
132 ${STAGEDIR}${EXAMPLESDIR}/etc) |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
133 .for f in ${_SCRIPT_EXAMPLES} |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
134 ${INSTALL_SCRIPT} ${WRKSRC}/examples/scripts/${f} \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
135 ${STAGEDIR}${EXAMPLESDIR}/scripts/${f} |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
136 .endfor |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
137 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
138 do-install-DOCS-on: |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
139 ${MKDIR} ${STAGEDIR}${DOCSDIR} |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
140 (cd ${WRKDIR}/turndocs/docs && ${COPYTREE_SHARE} "${DOCS}" ${STAGEDIR}${DOCSDIR}) |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
141 (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTREADMEDOCS} ${STAGEDIR}${DOCSDIR}) |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
142 ${INSTALL_DATA} ${PKGMESSAGE} ${STAGEDIR}${DOCSDIR}/postinstall.txt |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
143 (cd ${WRKSRC}/turndb && ${INSTALL_DATA} schema.sql schema.mongo.sh \ |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
144 schema.userdb.redis schema.stats.redis ${STAGEDIR}${DOCSDIR}) |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
145 |
|
1a06bf451a04
ADD: net/turnserver: the original upstream version 4.5.1.1_2 from the ports tree as of 2020-03-26
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
146 .include <bsd.port.mk> |
