1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

Update to 1.4.9.

Sponsored by: Sippy Software, Inc. ( http://www.sippysoft.com/ )

Enable SQLite support.

PR:		114720
Submitted by:	VipeR
This commit is contained in:
Maxim Sobolev 2007-07-27 02:41:10 +00:00
parent 1350a1110b
commit cf24da0ea7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196359
16 changed files with 84 additions and 40 deletions

View File

@ -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

View File

@ -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

View File

@ -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))

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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))

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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))

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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))

View File

@ -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