aboutsummaryrefslogtreecommitdiff
path: root/net/freeswitch
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2020-05-21 12:12:47 +0000
committerKurt Jaeger <pi@FreeBSD.org>2020-05-21 12:12:47 +0000
commit6d76047acd82f33eb46ae2a4faddbf3ce659efc1 (patch)
tree71924f42dae5cb678923293a623209b5bd2e3489 /net/freeswitch
parentabdcb279fbc3fd5d770b69fc75635e8a40beaa1c (diff)
downloadports-6d76047acd82f33eb46ae2a4faddbf3ce659efc1.tar.gz
ports-6d76047acd82f33eb46ae2a4faddbf3ce659efc1.zip
net/freeswitch: update 1.10.2 -> 1.10.3, fix PGSQL=off case
- This is a major bugfix release, see Relnotes PR: 246202 Submitted by: vvd@unislabs.com, andrew@tao11.riddles.org.uk Reported by: Mark J Crane <markjcrane@fusionpbx.com> Relnotes: https://github.com/signalwire/freeswitch/releases/tag/v1.10.3
Notes
Notes: svn path=/head/; revision=536123
Diffstat (limited to 'net/freeswitch')
-rw-r--r--net/freeswitch/Makefile8
-rw-r--r--net/freeswitch/distinfo6
-rw-r--r--net/freeswitch/pkg-plist4
3 files changed, 12 insertions, 6 deletions
diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile
index 1966378d8383..6201030d725b 100644
--- a/net/freeswitch/Makefile
+++ b/net/freeswitch/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= freeswitch
-PORTVERSION= 1.10.2
+PORTVERSION= 1.10.3
CATEGORIES= net
MASTER_SITES= https://files.freeswitch.org/releases/freeswitch/ \
https://files.freeswitch.org/releases/sounds/:sounds
@@ -106,7 +106,8 @@ ALL_MODULES_USES= autoreconf xorg # required by mod_unimrcp
48K_VARS= BITRATES+=48000
PGSQL_USES= pgsql
-PGSQL_CONFIGURE_ENABLE= core-pgsql-support
+PGSQL_CONFIGURE_ENABLE= core-pgsql-support core-pgsql-pkgconfig
+PGSQL_CONFIGURE_ENV_OFF= ac_cv_lib_pq_PQgetvalue=false
# install-strip causes `make stage' to fail:
# libtool: install: strip --strip-debug /wrkdirs/usr/ports/net/freeswitch/work/stage/usr/local/lib/libfreeswitch.a
@@ -166,6 +167,9 @@ post-patch:
${REINPLACE_CMD} -Ee 's|^(applications/mod_signalwire)|#\1|' \
${WRKSRC}/modules.conf
+post-patch-PGSQL-off:
+ ${REINPLACE_CMD} -Ee 's|^(databases/mod_pgsql)|#\1|' ${WRKSRC}/modules.conf
+
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}/sounds
.for distfile in ${EXTRADISTFILES}
diff --git a/net/freeswitch/distinfo b/net/freeswitch/distinfo
index effec6b56056..4889ba4c9681 100644
--- a/net/freeswitch/distinfo
+++ b/net/freeswitch/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1588352620
-SHA256 (freeswitch-1.10.2.-release.tar.gz) = be6b294560ae66029b06ac3abbfaadee02095d588e1a7f93092dd1d4cbea8347
-SIZE (freeswitch-1.10.2.-release.tar.gz) = 48322632
+TIMESTAMP = 1590055652
+SHA256 (freeswitch-1.10.3.-release.tar.gz) = 15a1f741cc682d3161ff266d9fa4c568a0200d8bfcb5edf74611aeb620bfa917
+SIZE (freeswitch-1.10.3.-release.tar.gz) = 48818052
SHA256 (freeswitch-sounds-music-16000-1.0.52.tar.gz) = 93e0bf31797f4847dc19a94605c039ad4f0763616b6d819f5bddbfb6dd09718a
SIZE (freeswitch-sounds-music-16000-1.0.52.tar.gz) = 27991592
SHA256 (freeswitch-sounds-pt-BR-karina-16000-1.0.51.tar.gz) = 80432c1027f57e464cd899ed92216936cf48a3993dc1c168b1be2545b8f97aed
diff --git a/net/freeswitch/pkg-plist b/net/freeswitch/pkg-plist
index 6b1a87f1b2d1..570ce4f70d0d 100644
--- a/net/freeswitch/pkg-plist
+++ b/net/freeswitch/pkg-plist
@@ -199,7 +199,7 @@ lib/libfreeswitch.a
lib/libfreeswitch.so
lib/libfreeswitch.so.1
lib/libfreeswitch.so.1.0.0
-%%LUA_LIBDIR%%/freeswitch/mod/mod_pgsql.so
+%%PGSQL%%%%LUA_LIBDIR%%/freeswitch/mod/mod_pgsql.so
libdata/pkgconfig/freeswitch.pc
%%DATADIR%%/fonts/FreeMono.ttf
%%DATADIR%%/fonts/FreeMonoBold.ttf
@@ -574,6 +574,7 @@ libdata/pkgconfig/freeswitch.pc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testing/autoload_configs/pre_load_modules.conf.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testing/autoload_configs/presence_map.conf.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testing/autoload_configs/shout.conf.xml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testing/autoload_configs/sndfile.conf.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testing/autoload_configs/sofia.conf.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testing/autoload_configs/spandsp.conf.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testing/autoload_configs/switch.conf.xml
@@ -715,6 +716,7 @@ libdata/pkgconfig/freeswitch.pc
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vanilla/autoload_configs/skinny.conf.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vanilla/autoload_configs/smpp.conf.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vanilla/autoload_configs/sms_flowroute.conf.xml
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vanilla/autoload_configs/sndfile.conf.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vanilla/autoload_configs/sofia.conf.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vanilla/autoload_configs/spandsp.conf.xml
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vanilla/autoload_configs/switch.conf.xml