Mercurial > hgrepos > FreeBSD > ports > net > turnserver
annotate Makefile @ 45:72de9aba5808
Allow any version of PostgreSQL from 12 onwards
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 17 Mar 2025 16:09:36 +0100 |
| parents | a4a312be008d |
| children | e4f5fd3b2975 |
| 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 PORTNAME= turnserver |
|
31
6b0d33b8e6f4
Begin upgrading to coturn v4.6.3
Franz Glasner <fzglas.hg@dom66.de>
parents:
26
diff
changeset
|
2 PORTVERSION= 4.6.3 |
|
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
|
3 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
|
4 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
|
5 http://coturn.net/turnserver/extradocs/:xdocs |
|
42
986f63aa4bdd
Change the package name prefix and maintainer: now fag and freebsd-dev@dom66.de
Franz Glasner <fzglas.hg@dom66.de>
parents:
41
diff
changeset
|
6 PKGNAMEPREFIX= fag- |
|
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
|
7 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
|
8 |
|
42
986f63aa4bdd
Change the package name prefix and maintainer: now fag and freebsd-dev@dom66.de
Franz Glasner <fzglas.hg@dom66.de>
parents:
41
diff
changeset
|
9 MAINTAINER= freebsd-dev@dom66.de |
|
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
|
10 COMMENT= STUN/TURN Server; IPv6, DTLS support; RFCs 5389, 5766, 6062, 6156 |
|
24
5048fbca28e9
Move the "WWW" info into the Makefile
Franz Glasner <fzglas.hg@dom66.de>
parents:
20
diff
changeset
|
11 WWW= https://github.com/coturn/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
|
12 |
| 25 | 13 LICENSE= BSD3CLAUSE |
| 14 LICENSE_FILE= ${WRKSRC}/LICENSE | |
| 15 | |
|
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
|
16 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
|
17 |
|
43
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
18 FLAVORS= default mysql pgsql alldb |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
19 FLAVOR?= ${FLAVORS:[1]} |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
20 |
|
36
7b9aca232b72
Do not need gettext-runtime
Franz Glasner <fzglas.hg@dom66.de>
parents:
35
diff
changeset
|
21 USES= perl5 pkgconfig shebangfix ssl |
|
41
a0a10f5bbe05
Update all the script examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
40
diff
changeset
|
22 SHEBANG_FILES= examples/scripts/restapi/shared_secret_maintainer.pl examples/scripts/oauth.sh |
|
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
|
23 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
|
24 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
|
25 # 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
|
26 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
|
27 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
|
28 |
|
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 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
|
30 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
|
31 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
|
32 |
|
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 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
|
34 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
|
35 |
|
6
9dbd5a23ea47
Conflict with standard turnserver and coturn
Franz Glasner <fzglas.hg@dom66.de>
parents:
5
diff
changeset
|
36 CONFLICTS_INSTALL= turnserver coturn |
|
9dbd5a23ea47
Conflict with standard turnserver and coturn
Franz Glasner <fzglas.hg@dom66.de>
parents:
5
diff
changeset
|
37 |
|
44
a4a312be008d
Provide proper package descriptions for each FLAVOR
Franz Glasner <fzglas.hg@dom66.de>
parents:
43
diff
changeset
|
38 DESCR= pkg-descr.${FLAVOR} |
|
a4a312be008d
Provide proper package descriptions for each FLAVOR
Franz Glasner <fzglas.hg@dom66.de>
parents:
43
diff
changeset
|
39 |
|
43
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
40 default_PKGNAMESUFFIX= |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
41 default_CONFLICTS_INSTALL= ${PKGNAMEPREFIX}${PORTNAME}-mysql ${PKGNAMEPREFIX}${PORTNAME}-pgsql ${PKGNAMEPREFIX}${PORTNAME}-alldb |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
42 |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
43 alldb_PKGNAMESUFFIX= -alldb |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
44 alldb_CONFLICTS_INSTALL= ${PKGNAMEPREFIX}${PORTNAME} ${PKGNAMEPREFIX}${PORTNAME}-mysql ${PKGNAMEPREFIX}${PORTNAME}-pgsql |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
45 |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
46 mysql_PKGNAMESUFFIX= -mysql |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
47 mysql_CONFLICTS_INSTALL= ${PKGNAMEPREFIX}${PORTNAME} ${PKGNAMEPREFIX}${PORTNAME}-pgsql ${PKGNAMEPREFIX}${PORTNAME}-alldb |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
48 .if ${FLAVOR} == mysql || ${FLAVOR} == alldb |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
49 USES+= mysql |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
50 .else |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
51 CONFIGURE_ENV+= TURN_NO_MYSQL=1 |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
52 .endif |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
53 |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
54 pgsql_PKGNAMESUFFIX= -pgsql |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
55 pgsql_CONFLICTS_INSTALL= ${PKGNAMEPREFIX}${PORTNAME} ${PKGNAMEPREFIX}${PORTNAME}-mysql ${PKGNAMEPREFIX}${PORTNAME}-alldb |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
56 .if ${FLAVOR} == pgsql || ${FLAVOR} == alldb |
|
45
72de9aba5808
Allow any version of PostgreSQL from 12 onwards
Franz Glasner <fzglas.hg@dom66.de>
parents:
44
diff
changeset
|
57 USES+= pgsql:12+ |
|
43
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
58 .else |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
59 CONFIGURE_ENV+= TURN_NO_PQ=1 |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
60 .endif |
|
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
61 |
|
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
|
62 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
|
63 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
|
64 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
|
65 |
|
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 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
|
67 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
|
68 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
|
69 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
|
70 |
|
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 _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
|
72 |
|
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 _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
|
74 turn_client_pkey.pem turn_server_cert.pem turn_server_pkey.pem |
|
41
a0a10f5bbe05
Update all the script examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
40
diff
changeset
|
75 _SCRIPT_EXAMPLES= peer.sh oauth.sh pack.sh rfc5769.sh \ |
|
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
|
76 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
|
77 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
|
78 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
|
79 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
|
80 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
|
81 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
|
82 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
|
83 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
|
84 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
|
85 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
|
86 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
|
87 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
|
88 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
|
89 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
|
90 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
|
91 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
|
92 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
|
93 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
|
94 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
|
95 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
|
96 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
|
97 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
|
98 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
|
99 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
|
100 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
|
101 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
|
102 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
|
103 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
|
104 selfloadbalance/secure_dos_attack.sh \ |
|
41
a0a10f5bbe05
Update all the script examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
40
diff
changeset
|
105 selfloadbalance/secure_relay.sh \ |
|
a0a10f5bbe05
Update all the script examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
40
diff
changeset
|
106 mobile/mobile_dtls_client.sh \ |
|
a0a10f5bbe05
Update all the script examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
40
diff
changeset
|
107 mobile/mobile_relay.sh \ |
|
a0a10f5bbe05
Update all the script examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
40
diff
changeset
|
108 mobile/mobile_tcp_client.sh \ |
|
a0a10f5bbe05
Update all the script examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
40
diff
changeset
|
109 mobile/mobile_tls_client_c2c_tcp_relay.sh \ |
|
a0a10f5bbe05
Update all the script examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
40
diff
changeset
|
110 mobile/mobile_udp_client.sh |
|
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
|
111 |
|
43
95d5ae53d170
Flavorize the support for the major databases MySQL and PostgreSQL.
Franz Glasner <fzglas.hg@dom66.de>
parents:
42
diff
changeset
|
112 OPTIONS_DEFINE= DOCS EXAMPLES REDIS SQLITE PROMETHEUS |
|
40
bbc1de47fe9b
Do not compile with MYSQL and PGSQL as default.
Franz Glasner <fzglas.hg@dom66.de>
parents:
39
diff
changeset
|
113 OPTIONS_DEFAULT= REDIS 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
|
114 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
|
115 |
|
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 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
|
117 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
|
118 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
|
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 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
|
121 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
|
122 |
|
32
ede848cde37b
Allow to configure options whether to support the new Prometheus support in coturn.
Franz Glasner <fzglas.hg@dom66.de>
parents:
31
diff
changeset
|
123 PROMETHEUS_DESC= Prometheus monitoring and alerting support |
|
34
691d748c5811
More comments on PROMETHEUS in the Makefile
Franz Glasner <fzglas.hg@dom66.de>
parents:
32
diff
changeset
|
124 # We need a Prometheus C client to be linked with (-lprom) |
|
32
ede848cde37b
Allow to configure options whether to support the new Prometheus support in coturn.
Franz Glasner <fzglas.hg@dom66.de>
parents:
31
diff
changeset
|
125 # e.g https://github.com/digitalocean/prometheus-client-c |
|
34
691d748c5811
More comments on PROMETHEUS in the Makefile
Franz Glasner <fzglas.hg@dom66.de>
parents:
32
diff
changeset
|
126 # If enabled it will be automatically disabled again at configure time. |
|
32
ede848cde37b
Allow to configure options whether to support the new Prometheus support in coturn.
Franz Glasner <fzglas.hg@dom66.de>
parents:
31
diff
changeset
|
127 PROMETHEUS_CONFIGURE_ENV_OFF= TURN_NO_PROMETHEUS=1 |
|
ede848cde37b
Allow to configure options whether to support the new Prometheus support in coturn.
Franz Glasner <fzglas.hg@dom66.de>
parents:
31
diff
changeset
|
128 |
|
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
|
129 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
|
130 ${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
|
131 ${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
|
132 .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
|
133 ${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
|
134 .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
|
135 (cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${MANPAGES} \ |
|
35
1fd6802e0f54
FIX: Installation of man pages
Franz Glasner <fzglas.hg@dom66.de>
parents:
34
diff
changeset
|
136 ${STAGEDIR}${PREFIX}/share/man/man1) |
|
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
|
137 ${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
|
138 (cd ${WRKSRC}/turndb && ${INSTALL_DATA} schema.sql schema.userdb.redis \ |
|
37
7c9e66b5d3a8
Add missing file testsqldbsetup.sql
Franz Glasner <fzglas.hg@dom66.de>
parents:
36
diff
changeset
|
139 schema.stats.redis testsqldbsetup.sql ${STAGEDIR}${DATADIR}) |
|
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
|
140 (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
|
141 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
|
142 ${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
|
143 ${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
|
144 ${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
|
145 ${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
|
146 (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
|
147 ${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
|
148 |
|
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
|
149 do-install-SQLITE-on: |
|
38
d35eddaac1ed
Install sqlite/turndb into /var/lib/turn instead of /usr/local/var/db
Franz Glasner <fzglas.hg@dom66.de>
parents:
37
diff
changeset
|
150 ${MKDIR} ${STAGEDIR}/var/lib/turn |
|
d35eddaac1ed
Install sqlite/turndb into /var/lib/turn instead of /usr/local/var/db
Franz Glasner <fzglas.hg@dom66.de>
parents:
37
diff
changeset
|
151 ${INSTALL_DATA} ${WRKSRC}/sqlite/turndb ${STAGEDIR}/var/lib/turn/turndb.sample |
|
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
|
152 |
|
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
|
153 do-install-EXAMPLES-on: |
|
41
a0a10f5bbe05
Update all the script examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
40
diff
changeset
|
154 .for dir in basic loadbalance longtermsecure longtermsecuredb mobile restapi selfloadbalance |
|
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
|
155 ${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
|
156 .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
|
157 ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/etc |
|
39
06fcd6b9f091
Add var/db/turndb to the examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
38
diff
changeset
|
158 ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/var/db |
|
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
|
159 ${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
|
160 ${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
|
161 (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
|
162 ${STAGEDIR}${EXAMPLESDIR}/etc) |
|
39
06fcd6b9f091
Add var/db/turndb to the examples
Franz Glasner <fzglas.hg@dom66.de>
parents:
38
diff
changeset
|
163 (cd ${WRKSRC}/examples/var/db && ${INSTALL_DATA} turndb ${STAGEDIR}${EXAMPLESDIR}/var/db) |
|
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
|
164 .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
|
165 ${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
|
166 ${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
|
167 .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
|
168 |
|
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
|
169 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
|
170 ${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
|
171 (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
|
172 (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
|
173 ${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
|
174 (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
|
175 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
|
176 |
|
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
|
177 .include <bsd.port.mk> |
