FreeBSD Bugzilla – Attachment 163293 Details for
Bug 204660
net/opensips: Fix build with TLS and include Redis support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch made with diff -Nru
opensips.patch (text/plain), 3.07 KB, created by
Franz Bettag
on 2015-11-18 19:08:05 UTC
(
hide
)
Description:
patch made with diff -Nru
Filename:
MIME Type:
Creator:
Franz Bettag
Created:
2015-11-18 19:08:05 UTC
Size:
3.07 KB
patch
obsolete
>diff -Nru opensips.orig/Makefile opensips/Makefile >--- opensips.orig/Makefile 2015-10-01 18:34:41.000000000 +0200 >+++ opensips/Makefile 2015-11-18 14:51:00.386531000 +0100 >@@ -3,6 +3,7 @@ > > PORTNAME= opensips > PORTVERSION= 2.1.0 >+PORTREVISION= 1 > CATEGORIES= net > MASTER_SITES= http://opensips.org/pub/opensips/${PORTVERSION}/src/ > # DISTNAME= opensips-${PORTVERSION} >@@ -146,6 +147,12 @@ > EXTRA_MODULES+= db_unixodbc > .endif > >+.if ${PORT_OPTIONS:MTLS} >+EXTRA_MODULES+= proto_tls >+.endif >+ >+EXTRA_MODULES+= cachedb_redis >+ > OPENSIPS_MAKE_ENV= CC="${CC}" CXX="${CXX}" CPP="${CPP}" _GCC_RUNTIME="${_GCC_RUNTIME}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" > > do-configure: >@@ -202,7 +209,7 @@ > > .for i in aaa_radius.so acc.so alias_db.so auth.so auth_aaa.so auth_db.so auth_diameter.so \ > avpops.so b2b_entities.so b2b_logic.so b2b_sca.so benchmark.so cachedb_local.so \ >- cachedb_memcached.so cachedb_sql.so call_center.so call_control.so carrierroute.so \ >+ cachedb_memcached.so cachedb_sql.so cachedb_redis.so call_center.so call_control.so carrierroute.so \ > cfgutils.so closeddial.so cpl-c.so db_cachedb.so db_flatstore.so db_mysql.so \ > db_postgres.so db_text.so db_unixodbc.so db_virtual.so dialog.so dialplan.so \ > dispatcher.so diversion.so dns_cache.so domain.so domainpolicy.so drouting.so \ >diff -Nru opensips.orig/files/patch-modules__proto_tls__proto_tls.c opensips/files/patch-modules__proto_tls__proto_tls.c >--- opensips.orig/files/patch-modules__proto_tls__proto_tls.c 1970-01-01 01:00:00.000000000 +0100 >+++ opensips/files/patch-modules__proto_tls__proto_tls.c 2015-11-18 14:36:14.727192000 +0100 >@@ -0,0 +1,10 @@ >+--- modules/proto_tls/proto_tls.c.orig 2015-11-18 14:29:25.491217000 +0100 >++++ modules/proto_tls/proto_tls.c 2015-11-18 14:29:41.299403000 +0100 >+@@ -31,6 +31,7 @@ >+ >+ #include <netinet/in_systm.h> >+ #include <netinet/tcp.h> >++#include <netinet/in.h> >+ #include <netinet/ip.h> >+ #include <unistd.h> >+ >diff -Nru opensips.orig/pkg-plist opensips/pkg-plist >--- opensips.orig/pkg-plist 2015-10-01 18:34:41.000000000 +0200 >+++ opensips/pkg-plist 2015-11-18 14:41:48.045035000 +0100 >@@ -14,6 +14,7 @@ > lib/opensips/modules/benchmark.so > lib/opensips/modules/cachedb_local.so > lib/opensips/modules/cachedb_sql.so >+lib/opensips/modules/cachedb_redis.so > lib/opensips/modules/call_center.so > lib/opensips/modules/call_control.so > lib/opensips/modules/carrierroute.so >@@ -181,6 +182,7 @@ > %%PORTDOCS%%%%DOCSDIR%%/README.b2b_sca > %%PORTDOCS%%%%DOCSDIR%%/README.benchmark > %%PORTDOCS%%%%DOCSDIR%%/README.cachedb_local >+%%PORTDOCS%%%%DOCSDIR%%/README.cachedb_redis > %%PORTDOCS%%%%DOCSDIR%%/README.cachedb_sql > %%PORTDOCS%%%%DOCSDIR%%/README.call_center > %%PORTDOCS%%%%DOCSDIR%%/README.call_control >@@ -591,6 +593,8 @@ > %%DATADIR%%/dbtext/opensips/fraud_detection > %%DATADIR%%/pi_http/fraud_detection-mod > %%DATADIR%%/pi_http/fraud_detection-table >+%%TLS%%lib/opensips/modules/proto_tls.so >+%%TLS%%%%PORTDOCS%%%%DOCSDIR%%/README.proto_tls > %%PGSQL%%%%DATADIR%%/postgres/fraud_detection-create.sql > %%MYSQL%%%%DATADIR%%/mysql/fraud_detection-create.sql > @dir %%ETCDIR%%/tls/rootCA/certs
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204660
:
163291
| 163293