View | Details | Raw Unified | Return to bug 260486 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/kamailio/Makefile (-4 / +8 lines)
Lines 1-7 Link Here
1
# Created by: Oliver Mahmoudi <olivermahmoudi@gmail.com>
1
# Created by: Oliver Mahmoudi <olivermahmoudi@gmail.com>
2
2
3
PORTNAME=	kamailio
3
PORTNAME=	kamailio
4
PORTVERSION=	5.4.5
4
PORTVERSION=	5.5.3
5
CATEGORIES=	net
5
CATEGORIES=	net
6
MASTER_SITES=	http://www.kamailio.org/pub/kamailio/${PORTVERSION}/src/
6
MASTER_SITES=	http://www.kamailio.org/pub/kamailio/${PORTVERSION}/src/
7
DISTNAME=	${PORTNAME}-${PORTVERSION}_src
7
DISTNAME=	${PORTNAME}-${PORTVERSION}_src
Lines 44-52 GROUPS= ${KAMAILIO_GROUP} Link Here
44
44
45
OPTIONS_DEFINE=			DATABASE DIALPLAN DOCS KEMIX PERL PRESENCE \
45
OPTIONS_DEFINE=			DATABASE DIALPLAN DOCS KEMIX PERL PRESENCE \
46
				RADIUS SCTP TLS WEBSOCKET
46
				RADIUS SCTP TLS WEBSOCKET
47
OPTIONS_DEFAULT=		MYSQL PRESENCE RADIUS TLS
47
OPTIONS_DEFAULT=		SQLITE PRESENCE RADIUS TLS
48
OPTIONS_GROUP=			DATABASE_DRIVERS KEMI_LANGS
48
OPTIONS_GROUP=			DATABASE_DRIVERS KEMI_LANGS
49
OPTIONS_GROUP_DATABASE_DRIVERS=	MYSQL PGSQL UNIXODBC
49
OPTIONS_GROUP_DATABASE_DRIVERS=	MYSQL PGSQL UNIXODBC SQLITE
50
OPTIONS_GROUP_KEMI_LANGS=	LUAJIT PYTHON3
50
OPTIONS_GROUP_KEMI_LANGS=	LUAJIT PYTHON3
51
OPTIONS_SUB=			YES
51
OPTIONS_SUB=			YES
52
52
Lines 86-91 PGSQL_IMPLIES= DATABASE Link Here
86
PGSQL_USES=	pgsql
86
PGSQL_USES=	pgsql
87
PGSQL_VARS=	EXTRA_GROUPS+=postgres
87
PGSQL_VARS=	EXTRA_GROUPS+=postgres
88
88
89
SQLITE_IMPLIES=	DATABASE
90
SQLITE_USES=	sqlite
91
SQLITE_VARS=	EXTRA_GROUPS+=sqlite
92
89
PRESENCE_VARS=	EXTRA_GROUPS+=presence
93
PRESENCE_VARS=	EXTRA_GROUPS+=presence
90
94
91
PYTHON3_IMPLIES=	KEMIX
95
PYTHON3_IMPLIES=	KEMIX
Lines 138-144 do-install: Link Here
138
	@(cd ${STAGEDIR}${ETCDIR}; for i in `${FIND} . -type f`; do ${MV} $$i $$i.sample; done)
142
	@(cd ${STAGEDIR}${ETCDIR}; for i in `${FIND} . -type f`; do ${MV} $$i $$i.sample; done)
139
143
140
post-install:
144
post-install:
141
	@${RMDIR} ${STAGEDIR}${DATADIR} || true
145
	@${RM} -f ${STAGEDIR}${DATADIR} || true
142
	@${FIND} ${STAGEDIR}${PREFIX} -type f -name '*.so' -exec ${STRIP_CMD} {} +
146
	@${FIND} ${STAGEDIR}${PREFIX} -type f -name '*.so' -exec ${STRIP_CMD} {} +
143
	@${FIND} ${STAGEDIR}${PREFIX} -type f -name '*.so.1' -exec ${STRIP_CMD} {} +
147
	@${FIND} ${STAGEDIR}${PREFIX} -type f -name '*.so.1' -exec ${STRIP_CMD} {} +
144
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/kamailio
148
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/kamailio
(-)b/net/kamailio/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1618831304
1
TIMESTAMP = 1637759181
2
SHA256 (kamailio-5.4.5_src.tar.gz) = d7203228e75fb6250f79e28ff79ac2aff5b2907d5b5cd94c3407c7099bef0551
2
SHA256 (kamailio-5.5.3_src.tar.gz) = 6af30eabdbaa79dbbf7c21b1201f350a39c816010fca60e27cbb9de4589a4324
3
SIZE (kamailio-5.4.5_src.tar.gz) = 12659887
3
SIZE (kamailio-5.5.3_src.tar.gz) = 12782163
(-)b/net/kamailio/files/patch-src_Makefile.groups (+13 lines)
Added Link Here
1
--- src/Makefile.groups.orig	2021-11-24 13:06:16 UTC
2
+++ src/Makefile.groups
3
@@ -307,6 +307,10 @@ module_group_mysql=$(module_group_mysql_driver) $(modu
4
 module_group_postgres_driver=$(mod_list_postgres)
5
 module_group_postgres=$(module_group_postgres_driver) $(module_group_db)
6
 
7
+# For sqlite
8
+module_group_sqlite_driver=$(mod_list_sqlite)
9
+module_group_sqlite=$(module_group_sqlite_driver) $(module_group_db)
10
+
11
 # For radius
12
 module_group_radius=$(mod_list_radius)
13
 
(-)b/net/kamailio/pkg-plist (-7 / +56 lines)
Lines 20-26 Link Here
20
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/dr_groups
20
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/dr_groups
21
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/dr_gw_lists
21
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/dr_gw_lists
22
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/dr_rules
22
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/dr_rules
23
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/globalblacklist
23
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/globalblocklist
24
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/grp
24
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/grp
25
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/htable
25
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/htable
26
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/imc_members
26
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/imc_members
Lines 64-70 Link Here
64
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/uid_uri_attrs
64
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/uid_uri_attrs
65
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/uid_user_attrs
65
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/uid_user_attrs
66
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/uri
66
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/uri
67
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/userblacklist
67
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/userblocklist
68
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/usr_preferences
68
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/usr_preferences
69
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/version
69
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/version
70
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/watchers
70
%%DATABASE%%%%DATADIR%%/dbtext/kamailio/watchers
Lines 101-107 Link Here
101
%%DATABASE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.sqlops
101
%%DATABASE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.sqlops
102
%%DATABASE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.uac
102
%%DATABASE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.uac
103
%%DATABASE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.uri_db
103
%%DATABASE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.uri_db
104
%%DATABASE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.userblacklist
104
%%DATABASE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.userblocklist
105
%%DATABASE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.usrloc
105
%%DATABASE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.usrloc
106
%%DATABASE%%lib/kamailio/kamctl/dbtextdb/dbtextdb.py
106
%%DATABASE%%lib/kamailio/kamctl/dbtextdb/dbtextdb.py
107
%%DATABASE%%lib/kamailio/kamctl/kamctl.dbtext
107
%%DATABASE%%lib/kamailio/kamctl/kamctl.dbtext
Lines 140-146 Link Here
140
%%DATABASE%%lib/kamailio/modules/sqlops.so
140
%%DATABASE%%lib/kamailio/modules/sqlops.so
141
%%DATABASE%%lib/kamailio/modules/uac.so
141
%%DATABASE%%lib/kamailio/modules/uac.so
142
%%DATABASE%%lib/kamailio/modules/uri_db.so
142
%%DATABASE%%lib/kamailio/modules/uri_db.so
143
%%DATABASE%%lib/kamailio/modules/userblacklist.so
143
%%DATABASE%%lib/kamailio/modules/userblocklist.so
144
%%DATABASE%%lib/kamailio/modules/usrloc.so
144
%%DATABASE%%lib/kamailio/modules/usrloc.so
145
%%DIALPLAN%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.dialplan
145
%%DIALPLAN%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.dialplan
146
%%DIALPLAN%%lib/kamailio/modules/dialplan.so
146
%%DIALPLAN%%lib/kamailio/modules/dialplan.so
Lines 194-200 Link Here
194
%%MYSQL%%%%DATADIR%%/mysql/uid_gflags-create.sql
194
%%MYSQL%%%%DATADIR%%/mysql/uid_gflags-create.sql
195
%%MYSQL%%%%DATADIR%%/mysql/uid_uri_db-create.sql
195
%%MYSQL%%%%DATADIR%%/mysql/uid_uri_db-create.sql
196
%%MYSQL%%%%DATADIR%%/mysql/uri_db-create.sql
196
%%MYSQL%%%%DATADIR%%/mysql/uri_db-create.sql
197
%%MYSQL%%%%DATADIR%%/mysql/userblacklist-create.sql
197
%%MYSQL%%%%DATADIR%%/mysql/userblocklist-create.sql
198
%%MYSQL%%%%DATADIR%%/mysql/usrloc-create.sql
198
%%MYSQL%%%%DATADIR%%/mysql/usrloc-create.sql
199
%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.db_mysql
199
%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.db_mysql
200
%%MYSQL%%lib/kamailio/kamctl/kamctl.mysql
200
%%MYSQL%%lib/kamailio/kamctl/kamctl.mysql
Lines 264-275 Link Here
264
%%PGSQL%%%%DATADIR%%/postgres/uid_gflags-create.sql
264
%%PGSQL%%%%DATADIR%%/postgres/uid_gflags-create.sql
265
%%PGSQL%%%%DATADIR%%/postgres/uid_uri_db-create.sql
265
%%PGSQL%%%%DATADIR%%/postgres/uid_uri_db-create.sql
266
%%PGSQL%%%%DATADIR%%/postgres/uri_db-create.sql
266
%%PGSQL%%%%DATADIR%%/postgres/uri_db-create.sql
267
%%PGSQL%%%%DATADIR%%/postgres/userblacklist-create.sql
267
%%PGSQL%%%%DATADIR%%/postgres/userblocklist-create.sql
268
%%PGSQL%%%%DATADIR%%/postgres/usrloc-create.sql
268
%%PGSQL%%%%DATADIR%%/postgres/usrloc-create.sql
269
%%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.db_postgres
269
%%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.db_postgres
270
%%PGSQL%%lib/kamailio/kamctl/kamctl.pgsql
270
%%PGSQL%%lib/kamailio/kamctl/kamctl.pgsql
271
%%PGSQL%%lib/kamailio/kamctl/kamdbctl.pgsql
271
%%PGSQL%%lib/kamailio/kamctl/kamdbctl.pgsql
272
%%PGSQL%%lib/kamailio/modules/db_postgres.so
272
%%PGSQL%%lib/kamailio/modules/db_postgres.so
273
%%SQLITE%%%%DATADIR%%/db_sqlite/acc-create.sql
274
%%SQLITE%%%%DATADIR%%/db_sqlite/alias_db-create.sql
275
%%SQLITE%%%%DATADIR%%/db_sqlite/auth_db-create.sql
276
%%SQLITE%%%%DATADIR%%/db_sqlite/avpops-create.sql
277
%%SQLITE%%%%DATADIR%%/db_sqlite/carrierroute-create.sql
278
%%SQLITE%%%%DATADIR%%/db_sqlite/cpl-create.sql
279
%%SQLITE%%%%DATADIR%%/db_sqlite/dialog-create.sql
280
%%SQLITE%%%%DATADIR%%/db_sqlite/dialplan-create.sql
281
%%SQLITE%%%%DATADIR%%/db_sqlite/dispatcher-create.sql
282
%%SQLITE%%%%DATADIR%%/db_sqlite/domain-create.sql
283
%%SQLITE%%%%DATADIR%%/db_sqlite/domainpolicy-create.sql
284
%%SQLITE%%%%DATADIR%%/db_sqlite/drouting-create.sql
285
%%SQLITE%%%%DATADIR%%/db_sqlite/group-create.sql
286
%%SQLITE%%%%DATADIR%%/db_sqlite/htable-create.sql
287
%%SQLITE%%%%DATADIR%%/db_sqlite/imc-create.sql
288
%%SQLITE%%%%DATADIR%%/db_sqlite/lcr-create.sql
289
%%SQLITE%%%%DATADIR%%/db_sqlite/matrix-create.sql
290
%%SQLITE%%%%DATADIR%%/db_sqlite/mohqueue-create.sql
291
%%SQLITE%%%%DATADIR%%/db_sqlite/msilo-create.sql
292
%%SQLITE%%%%DATADIR%%/db_sqlite/mtree-create.sql
293
%%SQLITE%%%%DATADIR%%/db_sqlite/pdt-create.sql
294
%%SQLITE%%%%DATADIR%%/db_sqlite/permissions-create.sql
295
%%SQLITE%%%%DATADIR%%/db_sqlite/pipelimit-create.sql
296
%%SQLITE%%%%DATADIR%%/db_sqlite/presence-create.sql
297
%%SQLITE%%%%DATADIR%%/db_sqlite/purple-create.sql
298
%%SQLITE%%%%DATADIR%%/db_sqlite/registrar-create.sql
299
%%SQLITE%%%%DATADIR%%/db_sqlite/rls-create.sql
300
%%SQLITE%%%%DATADIR%%/db_sqlite/rtpengine-create.sql
301
%%SQLITE%%%%DATADIR%%/db_sqlite/rtpproxy-create.sql
302
%%SQLITE%%%%DATADIR%%/db_sqlite/sca-create.sql
303
%%SQLITE%%%%DATADIR%%/db_sqlite/secfilter-create.sql
304
%%SQLITE%%%%DATADIR%%/db_sqlite/siptrace-create.sql
305
%%SQLITE%%%%DATADIR%%/db_sqlite/speeddial-create.sql
306
%%SQLITE%%%%DATADIR%%/db_sqlite/standard-create.sql
307
%%SQLITE%%%%DATADIR%%/db_sqlite/topos-create.sql
308
%%SQLITE%%%%DATADIR%%/db_sqlite/uac-create.sql
309
%%SQLITE%%%%DATADIR%%/db_sqlite/uid_auth_db-create.sql
310
%%SQLITE%%%%DATADIR%%/db_sqlite/uid_avp_db-create.sql
311
%%SQLITE%%%%DATADIR%%/db_sqlite/uid_domain-create.sql
312
%%SQLITE%%%%DATADIR%%/db_sqlite/uid_gflags-create.sql
313
%%SQLITE%%%%DATADIR%%/db_sqlite/uid_uri_db-create.sql
314
%%SQLITE%%%%DATADIR%%/db_sqlite/uri_db-create.sql
315
%%SQLITE%%%%DATADIR%%/db_sqlite/userblocklist-create.sql
316
%%SQLITE%%%%DATADIR%%/db_sqlite/usrloc-create.sql
317
%%SQLITE%%%%PORTDOCS%%%%DOCSDIR%%/modules/README.db_sqlite
318
%%SQLITE%%lib/kamailio/kamctl/kamctl.sqlite
319
%%SQLITE%%lib/kamailio/kamctl/kamdbctl.sqlite
320
%%SQLITE%%lib/kamailio/modules/db_sqlite.so
273
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
321
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
274
%%PORTDOCS%%%%DOCSDIR%%/README
322
%%PORTDOCS%%%%DOCSDIR%%/README
275
%%PORTDOCS%%%%DOCSDIR%%/modules/README.acc_diameter
323
%%PORTDOCS%%%%DOCSDIR%%/modules/README.acc_diameter
Lines 304-309 Link Here
304
%%PORTDOCS%%%%DOCSDIR%%/modules/README.keepalive
352
%%PORTDOCS%%%%DOCSDIR%%/modules/README.keepalive
305
%%PORTDOCS%%%%DOCSDIR%%/modules/README.kex
353
%%PORTDOCS%%%%DOCSDIR%%/modules/README.kex
306
%%PORTDOCS%%%%DOCSDIR%%/modules/README.log_custom
354
%%PORTDOCS%%%%DOCSDIR%%/modules/README.log_custom
355
%%PORTDOCS%%%%DOCSDIR%%/modules/README.lrkproxy
307
%%PORTDOCS%%%%DOCSDIR%%/modules/README.malloc_test
356
%%PORTDOCS%%%%DOCSDIR%%/modules/README.malloc_test
308
%%PORTDOCS%%%%DOCSDIR%%/modules/README.mangler
357
%%PORTDOCS%%%%DOCSDIR%%/modules/README.mangler
309
%%PORTDOCS%%%%DOCSDIR%%/modules/README.maxfwd
358
%%PORTDOCS%%%%DOCSDIR%%/modules/README.maxfwd
Lines 461-466 lib/kamailio/modules/jsonrpcs.so Link Here
461
lib/kamailio/modules/keepalive.so
510
lib/kamailio/modules/keepalive.so
462
lib/kamailio/modules/kex.so
511
lib/kamailio/modules/kex.so
463
lib/kamailio/modules/log_custom.so
512
lib/kamailio/modules/log_custom.so
513
lib/kamailio/modules/lrkproxy.so
464
lib/kamailio/modules/malloc_test.so
514
lib/kamailio/modules/malloc_test.so
465
lib/kamailio/modules/mangler.so
515
lib/kamailio/modules/mangler.so
466
lib/kamailio/modules/maxfwd.so
516
lib/kamailio/modules/maxfwd.so
467
- 

Return to bug 260486