aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk16
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2007-07-27 10:41:10 +0800
committersobomax <sobomax@FreeBSD.org>2007-07-27 10:41:10 +0800
commitb89e672113f0abbd70e1fb2b5729bd8790136bc8 (patch)
tree47f1e9fb3e37885431d62e11d4cce88f5b434de4 /net/asterisk16
parent334b846f8761b87654c176b85a3e539756b03f04 (diff)
downloadfreebsd-ports-gnome-b89e672113f0abbd70e1fb2b5729bd8790136bc8.tar.gz
freebsd-ports-gnome-b89e672113f0abbd70e1fb2b5729bd8790136bc8.tar.zst
freebsd-ports-gnome-b89e672113f0abbd70e1fb2b5729bd8790136bc8.zip
Update to 1.4.9.
Sponsored by: Sippy Software, Inc. ( http://www.sippysoft.com/ ) Enable SQLite support. PR: 114720 Submitted by: VipeR
Diffstat (limited to 'net/asterisk16')
-rw-r--r--net/asterisk16/Makefile14
-rw-r--r--net/asterisk16/distinfo6
-rw-r--r--net/asterisk16/files/patch-channels::chan_skinny.c10
-rw-r--r--net/asterisk16/pkg-plist1
4 files changed, 21 insertions, 10 deletions
diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile
index 732667320e8b..89af2f33a488 100644
--- a/net/asterisk16/Makefile
+++ b/net/asterisk16/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= asterisk
-PORTVERSION= 1.4.8
+PORTVERSION= 1.4.9
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
@@ -45,7 +45,8 @@ OPTIONS= OGGVORBIS "Enable Ogg Vorbis support" on \
SNMP "Enable SNMP support" on \
H323 "Enable H.323 support" on \
FREETDS "Enable FreeTDS support" on \
- JABBER "Enable Jabber and Gtalk support" on
+ JABBER "Enable Jabber and Gtalk support" on \
+ SQLITE "Enable SQLITE support" on
.include <bsd.port.pre.mk>
@@ -144,6 +145,15 @@ CONFIGURE_ARGS+= --with-iksemel
LIB_DEPENDS+= iksemel.3:${PORTSDIR}/textproc/iksemel
.endif
+.if defined(WITHOUT_SQLITE)
+PLIST_SUB+= WITH_SQLITE="@comment "
+CONFIGURE_ARGS+= --without-sqlite
+.else
+PLIST_SUB+= WITH_SQLITE=""
+CONFIGURE_ARGS+= --with-sqlite
+LIB_DEPENDS+= sqlite:${PORTSDIR}/databases/sqlite2
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
diff --git a/net/asterisk16/distinfo b/net/asterisk16/distinfo
index fe6532ba67ba..a5eef5ec94ab 100644
--- a/net/asterisk16/distinfo
+++ b/net/asterisk16/distinfo
@@ -1,3 +1,3 @@
-MD5 (asterisk-1.4.8.tar.gz) = 7263ff56ad93cbb5efb971a536ee6a51
-SHA256 (asterisk-1.4.8.tar.gz) = 3eabdf2c52d366abe7dd1e303b982fa7aad12945b1ac32ee97dc4b652041a43f
-SIZE (asterisk-1.4.8.tar.gz) = 11171190
+MD5 (asterisk-1.4.9.tar.gz) = e47f5b3cb5323318dc8c6fb7311b767e
+SHA256 (asterisk-1.4.9.tar.gz) = c1b41503a0c29fd1f5172c834a60a3c5aacf472fd60a1272f743672af36602a6
+SIZE (asterisk-1.4.9.tar.gz) = 11182148
diff --git a/net/asterisk16/files/patch-channels::chan_skinny.c b/net/asterisk16/files/patch-channels::chan_skinny.c
index acefb8f7222c..e2d94821c558 100644
--- a/net/asterisk16/files/patch-channels::chan_skinny.c
+++ b/net/asterisk16/files/patch-channels::chan_skinny.c
@@ -3,12 +3,12 @@ $FreeBSD$
--- channels/chan_skinny.c.orig
+++ channels/chan_skinny.c
-@@ -99,7 +99,7 @@
+@@ -107,7 +107,7 @@
#define htolel(x) (x)
#define htoles(x) (x)
#else
--#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__)
-+#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__FreeBSD__)
+-#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
#define __bswap_16(x) \
- ((((x) & 0xff00) >> 8) | \
- (((x) & 0x00ff) << 8))
+ ((((x) & 0xff00) >> 8) | \
+ (((x) & 0x00ff) << 8))
diff --git a/net/asterisk16/pkg-plist b/net/asterisk16/pkg-plist
index 43ac54d37b72..edbe0b3759ba 100644
--- a/net/asterisk16/pkg-plist
+++ b/net/asterisk16/pkg-plist
@@ -281,6 +281,7 @@ lib/asterisk/modules/cdr_custom.so
lib/asterisk/modules/cdr_manager.so
%%WITH_POSTGRES%%lib/asterisk/modules/cdr_pgsql.so
%%WITH_RADIUS%%lib/asterisk/modules/cdr_radius.so
+%%WITH_SQLITE%%lib/asterisk/modules/cdr_sqlite.so
lib/asterisk/modules/chan_agent.so
%%WITH_JABBER%%lib/asterisk/modules/chan_gtalk.so
lib/asterisk/modules/chan_iax2.so