aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk10
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2012-11-16 01:06:17 +0800
committerflo <flo@FreeBSD.org>2012-11-16 01:06:17 +0800
commit4ee3981267fd098f26885500648e2eb1a045e0b4 (patch)
tree74f032ba4cd1ce82c206888b608763ea6f698f98 /net/asterisk10
parent0d9c44b735efb38be50335dc174a64743a0be215 (diff)
downloadfreebsd-ports-gnome-4ee3981267fd098f26885500648e2eb1a045e0b4.tar.gz
freebsd-ports-gnome-4ee3981267fd098f26885500648e2eb1a045e0b4.tar.zst
freebsd-ports-gnome-4ee3981267fd098f26885500648e2eb1a045e0b4.zip
- Really enable chan_h323 if H323 is selected [1]
- Bump PORTREVISION as H323 is on by default - fix a few portlint Tab/Whitespace warnings Submitted by: st41ker@st41ker.net [1] Feature safe: yes
Diffstat (limited to 'net/asterisk10')
-rw-r--r--net/asterisk10/Makefile22
-rw-r--r--net/asterisk10/pkg-plist1
2 files changed, 14 insertions, 9 deletions
diff --git a/net/asterisk10/Makefile b/net/asterisk10/Makefile
index 53f0b5629ae9..179bf9f2db30 100644
--- a/net/asterisk10/Makefile
+++ b/net/asterisk10/Makefile
@@ -7,6 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 10.10.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -45,21 +46,21 @@ MAN8= asterisk.8 astgenkey.8 autosupport.8 safe_asterisk.8
CONFLICTS_BUILD= linuxthreads-*
CONFLICTS_INSTALL= asterisk*-1.4* asterisk*-1.6* asterisk*-1.8*
-OPTIONS_DEFINE= VORBIS PGSQL MYSQL RADIUS SNMP H323 FREETDS JABBER SQLITE GSM \
+OPTIONS_DEFINE= VORBIS PGSQL MYSQL RADIUS SNMP H323 FREETDS JABBER SQLITE GSM \
CURL SPANDSP EXCHANGE NEWG711 SRTP LUA LDAP ODBC OOH323
-OPTIONS_DEFAULT= VORBIS ODBC UNIXODBC PGSQL RADIUS SNMP H323 FREETDS JABBER GSM \
+OPTIONS_DEFAULT= VORBIS ODBC UNIXODBC PGSQL RADIUS SNMP H323 FREETDS JABBER GSM \
SQLITE CURL
OPTIONS_SINGLE= ODBC
OPTIONS_SINGLE_ODBC= IODBC UNIXODBC
-OPTIONS_DEFINE_i386= DAHDI
-OPTIONS_DEFINE_amd64= DAHDI
-OPTIONS_DEFINE_sparc64= DAHDI
+OPTIONS_DEFINE_i386= DAHDI
+OPTIONS_DEFINE_amd64= DAHDI
+OPTIONS_DEFINE_sparc64= DAHDI
-OPTIONS_DEFAULT_i386= DAHDI
-OPTIONS_DEFAULT_amd64= DAHDI
-OPTIONS_DEFAULT_sparc64= DAHDI
+OPTIONS_DEFAULT_i386= DAHDI
+OPTIONS_DEFAULT_amd64= DAHDI
+OPTIONS_DEFAULT_sparc64= DAHDI
EXCHANGE_DESC?= Exchange calendar support
NEWG711_DESC?= New G711 Codec
@@ -281,13 +282,16 @@ post-patch:
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
post-configure:
-.if !empty(PORT_OPTIONS:MMYSQL) || !empty(PORT_OPTIONS:MNEWG711) || !empty(PORT_OPTIONS:MOOH323)
+.if !empty(PORT_OPTIONS:MMYSQL) || !empty(PORT_OPTIONS:MNEWG711) || !empty(PORT_OPTIONS:MOOH323) || !empty(PORT_OPTIONS:MH323)
@cd ${WRKSRC} && make menuselect.makeopts
.if ${PORT_OPTIONS:MMYSQL}
@cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts
@cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts
@cd ${WRKSRC} && ./menuselect/menuselect --enable cdr_mysql menuselect.makeopts
.endif
+.if ${PORT_OPTIONS:MH323}
+ @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_h323 menuselect.makeopts
+.endif
.if ${PORT_OPTIONS:MOOH323}
@cd ${WRKSRC} && ./menuselect/menuselect --enable chan_ooh323 menuselect.makeopts
.endif
diff --git a/net/asterisk10/pkg-plist b/net/asterisk10/pkg-plist
index e77ea2cdda4f..b30986b0043f 100644
--- a/net/asterisk10/pkg-plist
+++ b/net/asterisk10/pkg-plist
@@ -550,6 +550,7 @@ lib/asterisk/modules/cel_sqlite3_custom.so
%%WITH_FREETDS%%lib/asterisk/modules/cel_tds.so
lib/asterisk/modules/chan_agent.so
%%WITH_JABBER%%lib/asterisk/modules/chan_gtalk.so
+%%WITH_H323%%lib/asterisk/modules/chan_h323.so
lib/asterisk/modules/chan_iax2.so
lib/asterisk/modules/chan_local.so
lib/asterisk/modules/chan_mgcp.so