aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2006-03-15 16:09:24 +0800
committerfjoe <fjoe@FreeBSD.org>2006-03-15 16:09:24 +0800
commitfdcc0a1c429e3d05ebaca496d0c0f44bd2e82c60 (patch)
treeb8e2ad9b85908c9ce9d5d57e70f8e61a8d5243a4 /net
parentbfa9403258d869f60eb85fda517d2a3b64cb8f74 (diff)
downloadfreebsd-ports-gnome-fdcc0a1c429e3d05ebaca496d0c0f44bd2e82c60.tar.gz
freebsd-ports-gnome-fdcc0a1c429e3d05ebaca496d0c0f44bd2e82c60.tar.zst
freebsd-ports-gnome-fdcc0a1c429e3d05ebaca496d0c0f44bd2e82c60.zip
- Bring back bristuff support (bristuff-0.3.0-PRE-1l).
- Bump PORTREVISIONs Approved by: sobomax
Diffstat (limited to 'net')
-rw-r--r--net/asterisk-bristuff/Makefile12
-rw-r--r--net/asterisk-bristuff/distinfo9
-rw-r--r--net/asterisk-bristuff/files/patch-agi::Makefile11
-rw-r--r--net/asterisk-bristuff/files/patch-res-res_watchdog.c13
-rw-r--r--net/asterisk-bristuff/pkg-plist31
-rw-r--r--net/asterisk/Makefile12
-rw-r--r--net/asterisk/distinfo9
-rw-r--r--net/asterisk/files/patch-agi::Makefile11
-rw-r--r--net/asterisk/files/patch-res-res_watchdog.c13
-rw-r--r--net/asterisk/pkg-plist31
-rw-r--r--net/asterisk10/Makefile12
-rw-r--r--net/asterisk10/distinfo9
-rw-r--r--net/asterisk10/files/patch-agi::Makefile11
-rw-r--r--net/asterisk10/files/patch-res-res_watchdog.c13
-rw-r--r--net/asterisk10/pkg-plist31
-rw-r--r--net/asterisk12/Makefile12
-rw-r--r--net/asterisk12/distinfo9
-rw-r--r--net/asterisk12/files/patch-agi::Makefile11
-rw-r--r--net/asterisk12/files/patch-res-res_watchdog.c13
-rw-r--r--net/asterisk12/pkg-plist31
-rw-r--r--net/asterisk14/Makefile12
-rw-r--r--net/asterisk14/distinfo9
-rw-r--r--net/asterisk14/files/patch-agi::Makefile11
-rw-r--r--net/asterisk14/files/patch-res-res_watchdog.c13
-rw-r--r--net/asterisk14/pkg-plist31
-rw-r--r--net/asterisk16/Makefile12
-rw-r--r--net/asterisk16/distinfo9
-rw-r--r--net/asterisk16/files/patch-agi::Makefile11
-rw-r--r--net/asterisk16/files/patch-res-res_watchdog.c13
-rw-r--r--net/asterisk16/pkg-plist31
30 files changed, 324 insertions, 132 deletions
diff --git a/net/asterisk-bristuff/Makefile b/net/asterisk-bristuff/Makefile
index 10d4cd2b786f..9f36afcfb1af 100644
--- a/net/asterisk-bristuff/Makefile
+++ b/net/asterisk-bristuff/Makefile
@@ -7,19 +7,22 @@
PORTNAME= asterisk
PORTVERSION= 1.2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
+PATCHFILES= ${PORTNAME}-${PORTVERSION}-${BRIVER}.patch.gz\
+ asterisk124_codec_negotiation-20060202_2-${BRIVER}.diff.gz
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= fjoe/
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= sobomax@FreeBSD.org
COMMENT= An Open Source PBX and telephony toolkit
-PATCHFILES= asterisk124_codec_negotiation-20060202_2.diff.gz
-PATCH_SITES= http://www.portaone.com/~bamby/public/
-
BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
LIB_DEPENDS= speex.3:${PORTSDIR}/audio/speex \
newt.51:${PORTSDIR}/devel/newt \
@@ -28,6 +31,7 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
ONLY_FOR_ARCHS= i386 sparc64 amd64
+BRIVER= bristuff-0.3.0-PRE-1l
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/editline
USE_GMAKE= yes
diff --git a/net/asterisk-bristuff/distinfo b/net/asterisk-bristuff/distinfo
index 6b4fba28f1df..f2d5ef781f4a 100644
--- a/net/asterisk-bristuff/distinfo
+++ b/net/asterisk-bristuff/distinfo
@@ -1,6 +1,9 @@
MD5 (asterisk-1.2.4.tar.gz) = 14721abdc85fc3381db275b61dffce2d
SHA256 (asterisk-1.2.4.tar.gz) = a386a6cd587a84afd534d35be26758a9e64fff4d679960ebd82ddc7142bb083c
SIZE (asterisk-1.2.4.tar.gz) = 10536366
-MD5 (asterisk124_codec_negotiation-20060202_2.diff.gz) = 1f00b43fd1db77ac783c2573d847f398
-SHA256 (asterisk124_codec_negotiation-20060202_2.diff.gz) = f30106056aed3c050ac81c4ec8cdab0b69c1ac73440257d5480aea02c92e0fb6
-SIZE (asterisk124_codec_negotiation-20060202_2.diff.gz) = 28543
+MD5 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 72a17e513b085d868c638503857d2512
+SHA256 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 5e42e611c9e123a6d8513ab59a56a157976e7a7544e86ee1775e018f47d629f8
+SIZE (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 94989
+MD5 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = df6de1135788f06d72f94b8ec42676e7
+SHA256 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 6f25be043ab518cd876afd7750951ec7dd4870f5d293871965b097250557f17f
+SIZE (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 28577
diff --git a/net/asterisk-bristuff/files/patch-agi::Makefile b/net/asterisk-bristuff/files/patch-agi::Makefile
index b35976526f59..82b11dbfde30 100644
--- a/net/asterisk-bristuff/files/patch-agi::Makefile
+++ b/net/asterisk-bristuff/files/patch-agi::Makefile
@@ -1,14 +1,11 @@
-
-$FreeBSD$
-
---- agi/Makefile.orig Thu Jan 12 15:42:07 2006
-+++ agi/Makefile Thu Jan 12 15:44:39 2006
+--- agi/Makefile.orig Sun Jan 22 17:53:44 2006
++++ agi/Makefile Sun Jan 22 17:55:53 2006
@@ -11,7 +11,9 @@
# the GNU General Public License
#
--AGIS=agi-test.agi eagi-test eagi-sphinx-test
-+AGIS_BIN=eagi-test eagi-sphinx-test
+-AGIS=agi-test.agi eagi-test eagi-sphinx-test xagi-test
++AGIS_BIN=eagi-test eagi-sphinx-test xagi-test
+AGIS_SCR=agi-test.agi
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
diff --git a/net/asterisk-bristuff/files/patch-res-res_watchdog.c b/net/asterisk-bristuff/files/patch-res-res_watchdog.c
new file mode 100644
index 000000000000..8372764ed3e4
--- /dev/null
+++ b/net/asterisk-bristuff/files/patch-res-res_watchdog.c
@@ -0,0 +1,13 @@
+--- res/res_watchdog.c.orig Mon Jan 23 23:55:25 2006
++++ res/res_watchdog.c Mon Jan 23 23:55:10 2006
+@@ -37,6 +37,10 @@
+ #include <asterisk/utils.h>
+ #include <asterisk/adsi.h>
+
++#if defined(__FreeBSD__) && !defined(O_SYNC)
++#define O_SYNC O_FSYNC
++#endif
++
+ static struct watchdog_pvt *watchdogs = NULL;
+
+ STANDARD_LOCAL_USER;
diff --git a/net/asterisk-bristuff/pkg-plist b/net/asterisk-bristuff/pkg-plist
index 3af861f7a135..ad61ad74f72f 100644
--- a/net/asterisk-bristuff/pkg-plist
+++ b/net/asterisk-bristuff/pkg-plist
@@ -19,6 +19,9 @@ etc/asterisk/asterisk.adsi-dist
@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi
etc/asterisk/asterisk.conf-dist
@exec [ -f %B/asterisk.conf ] || cp %B/%f %B/asterisk.conf
+@unexec if cmp -s %D/etc/asterisk/capi.conf %D/etc/asterisk/capi.conf-dist; then rm -f %D/etc/asterisk/capi.conf; fi
+etc/asterisk/capi.conf-dist
+@exec [ -f %B/capi.conf ] || cp %B/%f %B/capi.conf
@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi
etc/asterisk/cdr.conf-dist
@exec [ -f %B/cdr.conf ] || cp %B/%f %B/cdr.conf
@@ -49,12 +52,12 @@ etc/asterisk/dundi.conf-dist
@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi
etc/asterisk/enum.conf-dist
@exec [ -f %B/enum.conf ] || cp %B/%f %B/enum.conf
-@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
-etc/asterisk/extensions.ael-dist
-@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi
etc/asterisk/extconfig.conf-dist
@exec [ -f %B/extconfig.conf ] || cp %B/%f %B/extconfig.conf
+@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
+etc/asterisk/extensions.ael-dist
+@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi
etc/asterisk/extensions.conf-dist
@exec [ -f %B/extensions.conf ] || cp %B/%f %B/extensions.conf
@@ -139,6 +142,9 @@ etc/asterisk/voicemail.conf-dist
@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi
etc/asterisk/vpb.conf-dist
@exec [ -f %B/vpb.conf ] || cp %B/%f %B/vpb.conf
+@unexec if cmp -s %D/etc/asterisk/watchdog.conf %D/etc/asterisk/watchdog.conf-dist; then rm -f %D/etc/asterisk/watchdog.conf; fi
+etc/asterisk/watchdog.conf-dist
+@exec [ -f %B/watchdog.conf ] || cp %B/%f %B/watchdog.conf
@unexec if cmp -s %D/etc/asterisk/zapata.conf %D/etc/asterisk/zapata.conf-dist; then rm -f %D/etc/asterisk/zapata.conf; fi
etc/asterisk/zapata.conf-dist
@exec [ -f %B/zapata.conf ] || cp %B/%f %B/zapata.conf
@@ -157,13 +163,15 @@ include/asterisk/build.h
include/asterisk/callerid.h
include/asterisk/causes.h
include/asterisk/cdr.h
+include/asterisk/chan_capi.h
+include/asterisk/chan_capi_app.h
include/asterisk/channel.h
include/asterisk/chanspy.h
include/asterisk/chanvars.h
include/asterisk/cli.h
include/asterisk/compat.h
-include/asterisk/config.h
include/asterisk/compiler.h
+include/asterisk/config.h
include/asterisk/crypto.h
include/asterisk/devicestate.h
include/asterisk/dlfcn-compat.h
@@ -172,8 +180,8 @@ include/asterisk/dnsmgr.h
include/asterisk/doxyref.h
include/asterisk/dsp.h
include/asterisk/dundi.h
-include/asterisk/enum.h
include/asterisk/endian.h
+include/asterisk/enum.h
include/asterisk/features.h
include/asterisk/file.h
include/asterisk/frame.h
@@ -214,9 +222,11 @@ include/asterisk/unaligned.h
include/asterisk/utils.h
include/asterisk/version.h
include/asterisk/vmodem.h
+include/asterisk/xlaw.h
lib/asterisk/modules/app_adsiprog.so
lib/asterisk/modules/app_alarmreceiver.so
lib/asterisk/modules/app_authenticate.so
+lib/asterisk/modules/app_callingpres.so
lib/asterisk/modules/app_cdr.so
lib/asterisk/modules/app_chanisavail.so
lib/asterisk/modules/app_chanspy.so
@@ -224,6 +234,7 @@ lib/asterisk/modules/app_controlplayback.so
lib/asterisk/modules/app_curl.so
lib/asterisk/modules/app_cut.so
lib/asterisk/modules/app_db.so
+lib/asterisk/modules/app_devstate.so
lib/asterisk/modules/app_dial.so
lib/asterisk/modules/app_dictate.so
lib/asterisk/modules/app_directed_pickup.so
@@ -255,6 +266,7 @@ lib/asterisk/modules/app_mp3.so
lib/asterisk/modules/app_nbscat.so
%%WITH_ZAPTEL%%lib/asterisk/modules/app_page.so
lib/asterisk/modules/app_parkandannounce.so
+lib/asterisk/modules/app_pickup.so
lib/asterisk/modules/app_playback.so
lib/asterisk/modules/app_privacy.so
lib/asterisk/modules/app_queue.so
@@ -265,6 +277,7 @@ lib/asterisk/modules/app_realtime.so
lib/asterisk/modules/app_record.so
%%WITH_FAX%%lib/asterisk/modules/app_rxfax.so
lib/asterisk/modules/app_sayunixtime.so
+lib/asterisk/modules/app_segfault.so
lib/asterisk/modules/app_senddtmf.so
lib/asterisk/modules/app_sendtext.so
lib/asterisk/modules/app_setcallerid.so
@@ -347,8 +360,9 @@ lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
lib/asterisk/modules/res_monitor.so
-lib/asterisk/modules/res_odbc.so
lib/asterisk/modules/res_musiconhold.so
+lib/asterisk/modules/res_odbc.so
+lib/asterisk/modules/res_watchdog.so
sbin/asterisk
sbin/astgenkey
sbin/astman
@@ -361,6 +375,7 @@ sbin/streamplayer
%%DATADIR%%/agi-bin/agi-test.agi
%%DATADIR%%/agi-bin/eagi-sphinx-test
%%DATADIR%%/agi-bin/eagi-test
+%%DATADIR%%/agi-bin/xagi-test
%%DATADIR%%/firmware/iax/iaxy.bin
%%DATADIR%%/images/asterisk-intro.jpg
%%DATADIR%%/keys/freeworlddialup.pub
@@ -717,11 +732,11 @@ sbin/streamplayer
%%DATADIR%%/sounds/vm-whichbox.gsm
%%DATADIR%%/sounds/vm-youhave.gsm
%%DATADIR%%/sounds/voicemail
-@dirrm %%DATADIR%%/sounds/dictate
+@dirrm %%DATADIR%%/sounds/priv-callerintros
@dirrm %%DATADIR%%/sounds/phonetic
@dirrm %%DATADIR%%/sounds/letters
@dirrm %%DATADIR%%/sounds/digits
-@dirrm %%DATADIR%%/sounds/priv-callerintros
+@dirrm %%DATADIR%%/sounds/dictate
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/mohmp3
@dirrm %%DATADIR%%/keys
diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile
index 10d4cd2b786f..9f36afcfb1af 100644
--- a/net/asterisk/Makefile
+++ b/net/asterisk/Makefile
@@ -7,19 +7,22 @@
PORTNAME= asterisk
PORTVERSION= 1.2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
+PATCHFILES= ${PORTNAME}-${PORTVERSION}-${BRIVER}.patch.gz\
+ asterisk124_codec_negotiation-20060202_2-${BRIVER}.diff.gz
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= fjoe/
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= sobomax@FreeBSD.org
COMMENT= An Open Source PBX and telephony toolkit
-PATCHFILES= asterisk124_codec_negotiation-20060202_2.diff.gz
-PATCH_SITES= http://www.portaone.com/~bamby/public/
-
BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
LIB_DEPENDS= speex.3:${PORTSDIR}/audio/speex \
newt.51:${PORTSDIR}/devel/newt \
@@ -28,6 +31,7 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
ONLY_FOR_ARCHS= i386 sparc64 amd64
+BRIVER= bristuff-0.3.0-PRE-1l
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/editline
USE_GMAKE= yes
diff --git a/net/asterisk/distinfo b/net/asterisk/distinfo
index 6b4fba28f1df..f2d5ef781f4a 100644
--- a/net/asterisk/distinfo
+++ b/net/asterisk/distinfo
@@ -1,6 +1,9 @@
MD5 (asterisk-1.2.4.tar.gz) = 14721abdc85fc3381db275b61dffce2d
SHA256 (asterisk-1.2.4.tar.gz) = a386a6cd587a84afd534d35be26758a9e64fff4d679960ebd82ddc7142bb083c
SIZE (asterisk-1.2.4.tar.gz) = 10536366
-MD5 (asterisk124_codec_negotiation-20060202_2.diff.gz) = 1f00b43fd1db77ac783c2573d847f398
-SHA256 (asterisk124_codec_negotiation-20060202_2.diff.gz) = f30106056aed3c050ac81c4ec8cdab0b69c1ac73440257d5480aea02c92e0fb6
-SIZE (asterisk124_codec_negotiation-20060202_2.diff.gz) = 28543
+MD5 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 72a17e513b085d868c638503857d2512
+SHA256 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 5e42e611c9e123a6d8513ab59a56a157976e7a7544e86ee1775e018f47d629f8
+SIZE (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 94989
+MD5 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = df6de1135788f06d72f94b8ec42676e7
+SHA256 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 6f25be043ab518cd876afd7750951ec7dd4870f5d293871965b097250557f17f
+SIZE (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 28577
diff --git a/net/asterisk/files/patch-agi::Makefile b/net/asterisk/files/patch-agi::Makefile
index b35976526f59..82b11dbfde30 100644
--- a/net/asterisk/files/patch-agi::Makefile
+++ b/net/asterisk/files/patch-agi::Makefile
@@ -1,14 +1,11 @@
-
-$FreeBSD$
-
---- agi/Makefile.orig Thu Jan 12 15:42:07 2006
-+++ agi/Makefile Thu Jan 12 15:44:39 2006
+--- agi/Makefile.orig Sun Jan 22 17:53:44 2006
++++ agi/Makefile Sun Jan 22 17:55:53 2006
@@ -11,7 +11,9 @@
# the GNU General Public License
#
--AGIS=agi-test.agi eagi-test eagi-sphinx-test
-+AGIS_BIN=eagi-test eagi-sphinx-test
+-AGIS=agi-test.agi eagi-test eagi-sphinx-test xagi-test
++AGIS_BIN=eagi-test eagi-sphinx-test xagi-test
+AGIS_SCR=agi-test.agi
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
diff --git a/net/asterisk/files/patch-res-res_watchdog.c b/net/asterisk/files/patch-res-res_watchdog.c
new file mode 100644
index 000000000000..8372764ed3e4
--- /dev/null
+++ b/net/asterisk/files/patch-res-res_watchdog.c
@@ -0,0 +1,13 @@
+--- res/res_watchdog.c.orig Mon Jan 23 23:55:25 2006
++++ res/res_watchdog.c Mon Jan 23 23:55:10 2006
+@@ -37,6 +37,10 @@
+ #include <asterisk/utils.h>
+ #include <asterisk/adsi.h>
+
++#if defined(__FreeBSD__) && !defined(O_SYNC)
++#define O_SYNC O_FSYNC
++#endif
++
+ static struct watchdog_pvt *watchdogs = NULL;
+
+ STANDARD_LOCAL_USER;
diff --git a/net/asterisk/pkg-plist b/net/asterisk/pkg-plist
index 3af861f7a135..ad61ad74f72f 100644
--- a/net/asterisk/pkg-plist
+++ b/net/asterisk/pkg-plist
@@ -19,6 +19,9 @@ etc/asterisk/asterisk.adsi-dist
@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi
etc/asterisk/asterisk.conf-dist
@exec [ -f %B/asterisk.conf ] || cp %B/%f %B/asterisk.conf
+@unexec if cmp -s %D/etc/asterisk/capi.conf %D/etc/asterisk/capi.conf-dist; then rm -f %D/etc/asterisk/capi.conf; fi
+etc/asterisk/capi.conf-dist
+@exec [ -f %B/capi.conf ] || cp %B/%f %B/capi.conf
@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi
etc/asterisk/cdr.conf-dist
@exec [ -f %B/cdr.conf ] || cp %B/%f %B/cdr.conf
@@ -49,12 +52,12 @@ etc/asterisk/dundi.conf-dist
@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi
etc/asterisk/enum.conf-dist
@exec [ -f %B/enum.conf ] || cp %B/%f %B/enum.conf
-@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
-etc/asterisk/extensions.ael-dist
-@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi
etc/asterisk/extconfig.conf-dist
@exec [ -f %B/extconfig.conf ] || cp %B/%f %B/extconfig.conf
+@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
+etc/asterisk/extensions.ael-dist
+@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi
etc/asterisk/extensions.conf-dist
@exec [ -f %B/extensions.conf ] || cp %B/%f %B/extensions.conf
@@ -139,6 +142,9 @@ etc/asterisk/voicemail.conf-dist
@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi
etc/asterisk/vpb.conf-dist
@exec [ -f %B/vpb.conf ] || cp %B/%f %B/vpb.conf
+@unexec if cmp -s %D/etc/asterisk/watchdog.conf %D/etc/asterisk/watchdog.conf-dist; then rm -f %D/etc/asterisk/watchdog.conf; fi
+etc/asterisk/watchdog.conf-dist
+@exec [ -f %B/watchdog.conf ] || cp %B/%f %B/watchdog.conf
@unexec if cmp -s %D/etc/asterisk/zapata.conf %D/etc/asterisk/zapata.conf-dist; then rm -f %D/etc/asterisk/zapata.conf; fi
etc/asterisk/zapata.conf-dist
@exec [ -f %B/zapata.conf ] || cp %B/%f %B/zapata.conf
@@ -157,13 +163,15 @@ include/asterisk/build.h
include/asterisk/callerid.h
include/asterisk/causes.h
include/asterisk/cdr.h
+include/asterisk/chan_capi.h
+include/asterisk/chan_capi_app.h
include/asterisk/channel.h
include/asterisk/chanspy.h
include/asterisk/chanvars.h
include/asterisk/cli.h
include/asterisk/compat.h
-include/asterisk/config.h
include/asterisk/compiler.h
+include/asterisk/config.h
include/asterisk/crypto.h
include/asterisk/devicestate.h
include/asterisk/dlfcn-compat.h
@@ -172,8 +180,8 @@ include/asterisk/dnsmgr.h
include/asterisk/doxyref.h
include/asterisk/dsp.h
include/asterisk/dundi.h
-include/asterisk/enum.h
include/asterisk/endian.h
+include/asterisk/enum.h
include/asterisk/features.h
include/asterisk/file.h
include/asterisk/frame.h
@@ -214,9 +222,11 @@ include/asterisk/unaligned.h
include/asterisk/utils.h
include/asterisk/version.h
include/asterisk/vmodem.h
+include/asterisk/xlaw.h
lib/asterisk/modules/app_adsiprog.so
lib/asterisk/modules/app_alarmreceiver.so
lib/asterisk/modules/app_authenticate.so
+lib/asterisk/modules/app_callingpres.so
lib/asterisk/modules/app_cdr.so
lib/asterisk/modules/app_chanisavail.so
lib/asterisk/modules/app_chanspy.so
@@ -224,6 +234,7 @@ lib/asterisk/modules/app_controlplayback.so
lib/asterisk/modules/app_curl.so
lib/asterisk/modules/app_cut.so
lib/asterisk/modules/app_db.so
+lib/asterisk/modules/app_devstate.so
lib/asterisk/modules/app_dial.so
lib/asterisk/modules/app_dictate.so
lib/asterisk/modules/app_directed_pickup.so
@@ -255,6 +266,7 @@ lib/asterisk/modules/app_mp3.so
lib/asterisk/modules/app_nbscat.so
%%WITH_ZAPTEL%%lib/asterisk/modules/app_page.so
lib/asterisk/modules/app_parkandannounce.so
+lib/asterisk/modules/app_pickup.so
lib/asterisk/modules/app_playback.so
lib/asterisk/modules/app_privacy.so
lib/asterisk/modules/app_queue.so
@@ -265,6 +277,7 @@ lib/asterisk/modules/app_realtime.so
lib/asterisk/modules/app_record.so
%%WITH_FAX%%lib/asterisk/modules/app_rxfax.so
lib/asterisk/modules/app_sayunixtime.so
+lib/asterisk/modules/app_segfault.so
lib/asterisk/modules/app_senddtmf.so
lib/asterisk/modules/app_sendtext.so
lib/asterisk/modules/app_setcallerid.so
@@ -347,8 +360,9 @@ lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
lib/asterisk/modules/res_monitor.so
-lib/asterisk/modules/res_odbc.so
lib/asterisk/modules/res_musiconhold.so
+lib/asterisk/modules/res_odbc.so
+lib/asterisk/modules/res_watchdog.so
sbin/asterisk
sbin/astgenkey
sbin/astman
@@ -361,6 +375,7 @@ sbin/streamplayer
%%DATADIR%%/agi-bin/agi-test.agi
%%DATADIR%%/agi-bin/eagi-sphinx-test
%%DATADIR%%/agi-bin/eagi-test
+%%DATADIR%%/agi-bin/xagi-test
%%DATADIR%%/firmware/iax/iaxy.bin
%%DATADIR%%/images/asterisk-intro.jpg
%%DATADIR%%/keys/freeworlddialup.pub
@@ -717,11 +732,11 @@ sbin/streamplayer
%%DATADIR%%/sounds/vm-whichbox.gsm
%%DATADIR%%/sounds/vm-youhave.gsm
%%DATADIR%%/sounds/voicemail
-@dirrm %%DATADIR%%/sounds/dictate
+@dirrm %%DATADIR%%/sounds/priv-callerintros
@dirrm %%DATADIR%%/sounds/phonetic
@dirrm %%DATADIR%%/sounds/letters
@dirrm %%DATADIR%%/sounds/digits
-@dirrm %%DATADIR%%/sounds/priv-callerintros
+@dirrm %%DATADIR%%/sounds/dictate
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/mohmp3
@dirrm %%DATADIR%%/keys
diff --git a/net/asterisk10/Makefile b/net/asterisk10/Makefile
index 10d4cd2b786f..9f36afcfb1af 100644
--- a/net/asterisk10/Makefile
+++ b/net/asterisk10/Makefile
@@ -7,19 +7,22 @@
PORTNAME= asterisk
PORTVERSION= 1.2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
+PATCHFILES= ${PORTNAME}-${PORTVERSION}-${BRIVER}.patch.gz\
+ asterisk124_codec_negotiation-20060202_2-${BRIVER}.diff.gz
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= fjoe/
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= sobomax@FreeBSD.org
COMMENT= An Open Source PBX and telephony toolkit
-PATCHFILES= asterisk124_codec_negotiation-20060202_2.diff.gz
-PATCH_SITES= http://www.portaone.com/~bamby/public/
-
BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
LIB_DEPENDS= speex.3:${PORTSDIR}/audio/speex \
newt.51:${PORTSDIR}/devel/newt \
@@ -28,6 +31,7 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
ONLY_FOR_ARCHS= i386 sparc64 amd64
+BRIVER= bristuff-0.3.0-PRE-1l
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/editline
USE_GMAKE= yes
diff --git a/net/asterisk10/distinfo b/net/asterisk10/distinfo
index 6b4fba28f1df..f2d5ef781f4a 100644
--- a/net/asterisk10/distinfo
+++ b/net/asterisk10/distinfo
@@ -1,6 +1,9 @@
MD5 (asterisk-1.2.4.tar.gz) = 14721abdc85fc3381db275b61dffce2d
SHA256 (asterisk-1.2.4.tar.gz) = a386a6cd587a84afd534d35be26758a9e64fff4d679960ebd82ddc7142bb083c
SIZE (asterisk-1.2.4.tar.gz) = 10536366
-MD5 (asterisk124_codec_negotiation-20060202_2.diff.gz) = 1f00b43fd1db77ac783c2573d847f398
-SHA256 (asterisk124_codec_negotiation-20060202_2.diff.gz) = f30106056aed3c050ac81c4ec8cdab0b69c1ac73440257d5480aea02c92e0fb6
-SIZE (asterisk124_codec_negotiation-20060202_2.diff.gz) = 28543
+MD5 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 72a17e513b085d868c638503857d2512
+SHA256 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 5e42e611c9e123a6d8513ab59a56a157976e7a7544e86ee1775e018f47d629f8
+SIZE (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 94989
+MD5 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = df6de1135788f06d72f94b8ec42676e7
+SHA256 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 6f25be043ab518cd876afd7750951ec7dd4870f5d293871965b097250557f17f
+SIZE (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 28577
diff --git a/net/asterisk10/files/patch-agi::Makefile b/net/asterisk10/files/patch-agi::Makefile
index b35976526f59..82b11dbfde30 100644
--- a/net/asterisk10/files/patch-agi::Makefile
+++ b/net/asterisk10/files/patch-agi::Makefile
@@ -1,14 +1,11 @@
-
-$FreeBSD$
-
---- agi/Makefile.orig Thu Jan 12 15:42:07 2006
-+++ agi/Makefile Thu Jan 12 15:44:39 2006
+--- agi/Makefile.orig Sun Jan 22 17:53:44 2006
++++ agi/Makefile Sun Jan 22 17:55:53 2006
@@ -11,7 +11,9 @@
# the GNU General Public License
#
--AGIS=agi-test.agi eagi-test eagi-sphinx-test
-+AGIS_BIN=eagi-test eagi-sphinx-test
+-AGIS=agi-test.agi eagi-test eagi-sphinx-test xagi-test
++AGIS_BIN=eagi-test eagi-sphinx-test xagi-test
+AGIS_SCR=agi-test.agi
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
diff --git a/net/asterisk10/files/patch-res-res_watchdog.c b/net/asterisk10/files/patch-res-res_watchdog.c
new file mode 100644
index 000000000000..8372764ed3e4
--- /dev/null
+++ b/net/asterisk10/files/patch-res-res_watchdog.c
@@ -0,0 +1,13 @@
+--- res/res_watchdog.c.orig Mon Jan 23 23:55:25 2006
++++ res/res_watchdog.c Mon Jan 23 23:55:10 2006
+@@ -37,6 +37,10 @@
+ #include <asterisk/utils.h>
+ #include <asterisk/adsi.h>
+
++#if defined(__FreeBSD__) && !defined(O_SYNC)
++#define O_SYNC O_FSYNC
++#endif
++
+ static struct watchdog_pvt *watchdogs = NULL;
+
+ STANDARD_LOCAL_USER;
diff --git a/net/asterisk10/pkg-plist b/net/asterisk10/pkg-plist
index 3af861f7a135..ad61ad74f72f 100644
--- a/net/asterisk10/pkg-plist
+++ b/net/asterisk10/pkg-plist
@@ -19,6 +19,9 @@ etc/asterisk/asterisk.adsi-dist
@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi
etc/asterisk/asterisk.conf-dist
@exec [ -f %B/asterisk.conf ] || cp %B/%f %B/asterisk.conf
+@unexec if cmp -s %D/etc/asterisk/capi.conf %D/etc/asterisk/capi.conf-dist; then rm -f %D/etc/asterisk/capi.conf; fi
+etc/asterisk/capi.conf-dist
+@exec [ -f %B/capi.conf ] || cp %B/%f %B/capi.conf
@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi
etc/asterisk/cdr.conf-dist
@exec [ -f %B/cdr.conf ] || cp %B/%f %B/cdr.conf
@@ -49,12 +52,12 @@ etc/asterisk/dundi.conf-dist
@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi
etc/asterisk/enum.conf-dist
@exec [ -f %B/enum.conf ] || cp %B/%f %B/enum.conf
-@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
-etc/asterisk/extensions.ael-dist
-@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi
etc/asterisk/extconfig.conf-dist
@exec [ -f %B/extconfig.conf ] || cp %B/%f %B/extconfig.conf
+@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
+etc/asterisk/extensions.ael-dist
+@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi
etc/asterisk/extensions.conf-dist
@exec [ -f %B/extensions.conf ] || cp %B/%f %B/extensions.conf
@@ -139,6 +142,9 @@ etc/asterisk/voicemail.conf-dist
@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi
etc/asterisk/vpb.conf-dist
@exec [ -f %B/vpb.conf ] || cp %B/%f %B/vpb.conf
+@unexec if cmp -s %D/etc/asterisk/watchdog.conf %D/etc/asterisk/watchdog.conf-dist; then rm -f %D/etc/asterisk/watchdog.conf; fi
+etc/asterisk/watchdog.conf-dist
+@exec [ -f %B/watchdog.conf ] || cp %B/%f %B/watchdog.conf
@unexec if cmp -s %D/etc/asterisk/zapata.conf %D/etc/asterisk/zapata.conf-dist; then rm -f %D/etc/asterisk/zapata.conf; fi
etc/asterisk/zapata.conf-dist
@exec [ -f %B/zapata.conf ] || cp %B/%f %B/zapata.conf
@@ -157,13 +163,15 @@ include/asterisk/build.h
include/asterisk/callerid.h
include/asterisk/causes.h
include/asterisk/cdr.h
+include/asterisk/chan_capi.h
+include/asterisk/chan_capi_app.h
include/asterisk/channel.h
include/asterisk/chanspy.h
include/asterisk/chanvars.h
include/asterisk/cli.h
include/asterisk/compat.h
-include/asterisk/config.h
include/asterisk/compiler.h
+include/asterisk/config.h
include/asterisk/crypto.h
include/asterisk/devicestate.h
include/asterisk/dlfcn-compat.h
@@ -172,8 +180,8 @@ include/asterisk/dnsmgr.h
include/asterisk/doxyref.h
include/asterisk/dsp.h
include/asterisk/dundi.h
-include/asterisk/enum.h
include/asterisk/endian.h
+include/asterisk/enum.h
include/asterisk/features.h
include/asterisk/file.h
include/asterisk/frame.h
@@ -214,9 +222,11 @@ include/asterisk/unaligned.h
include/asterisk/utils.h
include/asterisk/version.h
include/asterisk/vmodem.h
+include/asterisk/xlaw.h
lib/asterisk/modules/app_adsiprog.so
lib/asterisk/modules/app_alarmreceiver.so
lib/asterisk/modules/app_authenticate.so
+lib/asterisk/modules/app_callingpres.so
lib/asterisk/modules/app_cdr.so
lib/asterisk/modules/app_chanisavail.so
lib/asterisk/modules/app_chanspy.so
@@ -224,6 +234,7 @@ lib/asterisk/modules/app_controlplayback.so
lib/asterisk/modules/app_curl.so
lib/asterisk/modules/app_cut.so
lib/asterisk/modules/app_db.so
+lib/asterisk/modules/app_devstate.so
lib/asterisk/modules/app_dial.so
lib/asterisk/modules/app_dictate.so
lib/asterisk/modules/app_directed_pickup.so
@@ -255,6 +266,7 @@ lib/asterisk/modules/app_mp3.so
lib/asterisk/modules/app_nbscat.so
%%WITH_ZAPTEL%%lib/asterisk/modules/app_page.so
lib/asterisk/modules/app_parkandannounce.so
+lib/asterisk/modules/app_pickup.so
lib/asterisk/modules/app_playback.so
lib/asterisk/modules/app_privacy.so
lib/asterisk/modules/app_queue.so
@@ -265,6 +277,7 @@ lib/asterisk/modules/app_realtime.so
lib/asterisk/modules/app_record.so
%%WITH_FAX%%lib/asterisk/modules/app_rxfax.so
lib/asterisk/modules/app_sayunixtime.so
+lib/asterisk/modules/app_segfault.so
lib/asterisk/modules/app_senddtmf.so
lib/asterisk/modules/app_sendtext.so
lib/asterisk/modules/app_setcallerid.so
@@ -347,8 +360,9 @@ lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
lib/asterisk/modules/res_monitor.so
-lib/asterisk/modules/res_odbc.so
lib/asterisk/modules/res_musiconhold.so
+lib/asterisk/modules/res_odbc.so
+lib/asterisk/modules/res_watchdog.so
sbin/asterisk
sbin/astgenkey
sbin/astman
@@ -361,6 +375,7 @@ sbin/streamplayer
%%DATADIR%%/agi-bin/agi-test.agi
%%DATADIR%%/agi-bin/eagi-sphinx-test
%%DATADIR%%/agi-bin/eagi-test
+%%DATADIR%%/agi-bin/xagi-test
%%DATADIR%%/firmware/iax/iaxy.bin
%%DATADIR%%/images/asterisk-intro.jpg
%%DATADIR%%/keys/freeworlddialup.pub
@@ -717,11 +732,11 @@ sbin/streamplayer
%%DATADIR%%/sounds/vm-whichbox.gsm
%%DATADIR%%/sounds/vm-youhave.gsm
%%DATADIR%%/sounds/voicemail
-@dirrm %%DATADIR%%/sounds/dictate
+@dirrm %%DATADIR%%/sounds/priv-callerintros
@dirrm %%DATADIR%%/sounds/phonetic
@dirrm %%DATADIR%%/sounds/letters
@dirrm %%DATADIR%%/sounds/digits
-@dirrm %%DATADIR%%/sounds/priv-callerintros
+@dirrm %%DATADIR%%/sounds/dictate
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/mohmp3
@dirrm %%DATADIR%%/keys
diff --git a/net/asterisk12/Makefile b/net/asterisk12/Makefile
index 10d4cd2b786f..9f36afcfb1af 100644
--- a/net/asterisk12/Makefile
+++ b/net/asterisk12/Makefile
@@ -7,19 +7,22 @@
PORTNAME= asterisk
PORTVERSION= 1.2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
+PATCHFILES= ${PORTNAME}-${PORTVERSION}-${BRIVER}.patch.gz\
+ asterisk124_codec_negotiation-20060202_2-${BRIVER}.diff.gz
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= fjoe/
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= sobomax@FreeBSD.org
COMMENT= An Open Source PBX and telephony toolkit
-PATCHFILES= asterisk124_codec_negotiation-20060202_2.diff.gz
-PATCH_SITES= http://www.portaone.com/~bamby/public/
-
BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
LIB_DEPENDS= speex.3:${PORTSDIR}/audio/speex \
newt.51:${PORTSDIR}/devel/newt \
@@ -28,6 +31,7 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
ONLY_FOR_ARCHS= i386 sparc64 amd64
+BRIVER= bristuff-0.3.0-PRE-1l
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/editline
USE_GMAKE= yes
diff --git a/net/asterisk12/distinfo b/net/asterisk12/distinfo
index 6b4fba28f1df..f2d5ef781f4a 100644
--- a/net/asterisk12/distinfo
+++ b/net/asterisk12/distinfo
@@ -1,6 +1,9 @@
MD5 (asterisk-1.2.4.tar.gz) = 14721abdc85fc3381db275b61dffce2d
SHA256 (asterisk-1.2.4.tar.gz) = a386a6cd587a84afd534d35be26758a9e64fff4d679960ebd82ddc7142bb083c
SIZE (asterisk-1.2.4.tar.gz) = 10536366
-MD5 (asterisk124_codec_negotiation-20060202_2.diff.gz) = 1f00b43fd1db77ac783c2573d847f398
-SHA256 (asterisk124_codec_negotiation-20060202_2.diff.gz) = f30106056aed3c050ac81c4ec8cdab0b69c1ac73440257d5480aea02c92e0fb6
-SIZE (asterisk124_codec_negotiation-20060202_2.diff.gz) = 28543
+MD5 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 72a17e513b085d868c638503857d2512
+SHA256 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 5e42e611c9e123a6d8513ab59a56a157976e7a7544e86ee1775e018f47d629f8
+SIZE (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 94989
+MD5 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = df6de1135788f06d72f94b8ec42676e7
+SHA256 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 6f25be043ab518cd876afd7750951ec7dd4870f5d293871965b097250557f17f
+SIZE (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 28577
diff --git a/net/asterisk12/files/patch-agi::Makefile b/net/asterisk12/files/patch-agi::Makefile
index b35976526f59..82b11dbfde30 100644
--- a/net/asterisk12/files/patch-agi::Makefile
+++ b/net/asterisk12/files/patch-agi::Makefile
@@ -1,14 +1,11 @@
-
-$FreeBSD$
-
---- agi/Makefile.orig Thu Jan 12 15:42:07 2006
-+++ agi/Makefile Thu Jan 12 15:44:39 2006
+--- agi/Makefile.orig Sun Jan 22 17:53:44 2006
++++ agi/Makefile Sun Jan 22 17:55:53 2006
@@ -11,7 +11,9 @@
# the GNU General Public License
#
--AGIS=agi-test.agi eagi-test eagi-sphinx-test
-+AGIS_BIN=eagi-test eagi-sphinx-test
+-AGIS=agi-test.agi eagi-test eagi-sphinx-test xagi-test
++AGIS_BIN=eagi-test eagi-sphinx-test xagi-test
+AGIS_SCR=agi-test.agi
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
diff --git a/net/asterisk12/files/patch-res-res_watchdog.c b/net/asterisk12/files/patch-res-res_watchdog.c
new file mode 100644
index 000000000000..8372764ed3e4
--- /dev/null
+++ b/net/asterisk12/files/patch-res-res_watchdog.c
@@ -0,0 +1,13 @@
+--- res/res_watchdog.c.orig Mon Jan 23 23:55:25 2006
++++ res/res_watchdog.c Mon Jan 23 23:55:10 2006
+@@ -37,6 +37,10 @@
+ #include <asterisk/utils.h>
+ #include <asterisk/adsi.h>
+
++#if defined(__FreeBSD__) && !defined(O_SYNC)
++#define O_SYNC O_FSYNC
++#endif
++
+ static struct watchdog_pvt *watchdogs = NULL;
+
+ STANDARD_LOCAL_USER;
diff --git a/net/asterisk12/pkg-plist b/net/asterisk12/pkg-plist
index 3af861f7a135..ad61ad74f72f 100644
--- a/net/asterisk12/pkg-plist
+++ b/net/asterisk12/pkg-plist
@@ -19,6 +19,9 @@ etc/asterisk/asterisk.adsi-dist
@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi
etc/asterisk/asterisk.conf-dist
@exec [ -f %B/asterisk.conf ] || cp %B/%f %B/asterisk.conf
+@unexec if cmp -s %D/etc/asterisk/capi.conf %D/etc/asterisk/capi.conf-dist; then rm -f %D/etc/asterisk/capi.conf; fi
+etc/asterisk/capi.conf-dist
+@exec [ -f %B/capi.conf ] || cp %B/%f %B/capi.conf
@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi
etc/asterisk/cdr.conf-dist
@exec [ -f %B/cdr.conf ] || cp %B/%f %B/cdr.conf
@@ -49,12 +52,12 @@ etc/asterisk/dundi.conf-dist
@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi
etc/asterisk/enum.conf-dist
@exec [ -f %B/enum.conf ] || cp %B/%f %B/enum.conf
-@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
-etc/asterisk/extensions.ael-dist
-@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi
etc/asterisk/extconfig.conf-dist
@exec [ -f %B/extconfig.conf ] || cp %B/%f %B/extconfig.conf
+@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
+etc/asterisk/extensions.ael-dist
+@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi
etc/asterisk/extensions.conf-dist
@exec [ -f %B/extensions.conf ] || cp %B/%f %B/extensions.conf
@@ -139,6 +142,9 @@ etc/asterisk/voicemail.conf-dist
@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi
etc/asterisk/vpb.conf-dist
@exec [ -f %B/vpb.conf ] || cp %B/%f %B/vpb.conf
+@unexec if cmp -s %D/etc/asterisk/watchdog.conf %D/etc/asterisk/watchdog.conf-dist; then rm -f %D/etc/asterisk/watchdog.conf; fi
+etc/asterisk/watchdog.conf-dist
+@exec [ -f %B/watchdog.conf ] || cp %B/%f %B/watchdog.conf
@unexec if cmp -s %D/etc/asterisk/zapata.conf %D/etc/asterisk/zapata.conf-dist; then rm -f %D/etc/asterisk/zapata.conf; fi
etc/asterisk/zapata.conf-dist
@exec [ -f %B/zapata.conf ] || cp %B/%f %B/zapata.conf
@@ -157,13 +163,15 @@ include/asterisk/build.h
include/asterisk/callerid.h
include/asterisk/causes.h
include/asterisk/cdr.h
+include/asterisk/chan_capi.h
+include/asterisk/chan_capi_app.h
include/asterisk/channel.h
include/asterisk/chanspy.h
include/asterisk/chanvars.h
include/asterisk/cli.h
include/asterisk/compat.h
-include/asterisk/config.h
include/asterisk/compiler.h
+include/asterisk/config.h
include/asterisk/crypto.h
include/asterisk/devicestate.h
include/asterisk/dlfcn-compat.h
@@ -172,8 +180,8 @@ include/asterisk/dnsmgr.h
include/asterisk/doxyref.h
include/asterisk/dsp.h
include/asterisk/dundi.h
-include/asterisk/enum.h
include/asterisk/endian.h
+include/asterisk/enum.h
include/asterisk/features.h
include/asterisk/file.h
include/asterisk/frame.h
@@ -214,9 +222,11 @@ include/asterisk/unaligned.h
include/asterisk/utils.h
include/asterisk/version.h
include/asterisk/vmodem.h
+include/asterisk/xlaw.h
lib/asterisk/modules/app_adsiprog.so
lib/asterisk/modules/app_alarmreceiver.so
lib/asterisk/modules/app_authenticate.so
+lib/asterisk/modules/app_callingpres.so
lib/asterisk/modules/app_cdr.so
lib/asterisk/modules/app_chanisavail.so
lib/asterisk/modules/app_chanspy.so
@@ -224,6 +234,7 @@ lib/asterisk/modules/app_controlplayback.so
lib/asterisk/modules/app_curl.so
lib/asterisk/modules/app_cut.so
lib/asterisk/modules/app_db.so
+lib/asterisk/modules/app_devstate.so
lib/asterisk/modules/app_dial.so
lib/asterisk/modules/app_dictate.so
lib/asterisk/modules/app_directed_pickup.so
@@ -255,6 +266,7 @@ lib/asterisk/modules/app_mp3.so
lib/asterisk/modules/app_nbscat.so
%%WITH_ZAPTEL%%lib/asterisk/modules/app_page.so
lib/asterisk/modules/app_parkandannounce.so
+lib/asterisk/modules/app_pickup.so
lib/asterisk/modules/app_playback.so
lib/asterisk/modules/app_privacy.so
lib/asterisk/modules/app_queue.so
@@ -265,6 +277,7 @@ lib/asterisk/modules/app_realtime.so
lib/asterisk/modules/app_record.so
%%WITH_FAX%%lib/asterisk/modules/app_rxfax.so
lib/asterisk/modules/app_sayunixtime.so
+lib/asterisk/modules/app_segfault.so
lib/asterisk/modules/app_senddtmf.so
lib/asterisk/modules/app_sendtext.so
lib/asterisk/modules/app_setcallerid.so
@@ -347,8 +360,9 @@ lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
lib/asterisk/modules/res_monitor.so
-lib/asterisk/modules/res_odbc.so
lib/asterisk/modules/res_musiconhold.so
+lib/asterisk/modules/res_odbc.so
+lib/asterisk/modules/res_watchdog.so
sbin/asterisk
sbin/astgenkey
sbin/astman
@@ -361,6 +375,7 @@ sbin/streamplayer
%%DATADIR%%/agi-bin/agi-test.agi
%%DATADIR%%/agi-bin/eagi-sphinx-test
%%DATADIR%%/agi-bin/eagi-test
+%%DATADIR%%/agi-bin/xagi-test
%%DATADIR%%/firmware/iax/iaxy.bin
%%DATADIR%%/images/asterisk-intro.jpg
%%DATADIR%%/keys/freeworlddialup.pub
@@ -717,11 +732,11 @@ sbin/streamplayer
%%DATADIR%%/sounds/vm-whichbox.gsm
%%DATADIR%%/sounds/vm-youhave.gsm
%%DATADIR%%/sounds/voicemail
-@dirrm %%DATADIR%%/sounds/dictate
+@dirrm %%DATADIR%%/sounds/priv-callerintros
@dirrm %%DATADIR%%/sounds/phonetic
@dirrm %%DATADIR%%/sounds/letters
@dirrm %%DATADIR%%/sounds/digits
-@dirrm %%DATADIR%%/sounds/priv-callerintros
+@dirrm %%DATADIR%%/sounds/dictate
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/mohmp3
@dirrm %%DATADIR%%/keys
diff --git a/net/asterisk14/Makefile b/net/asterisk14/Makefile
index 10d4cd2b786f..9f36afcfb1af 100644
--- a/net/asterisk14/Makefile
+++ b/net/asterisk14/Makefile
@@ -7,19 +7,22 @@
PORTNAME= asterisk
PORTVERSION= 1.2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
+PATCHFILES= ${PORTNAME}-${PORTVERSION}-${BRIVER}.patch.gz\
+ asterisk124_codec_negotiation-20060202_2-${BRIVER}.diff.gz
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= fjoe/
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= sobomax@FreeBSD.org
COMMENT= An Open Source PBX and telephony toolkit
-PATCHFILES= asterisk124_codec_negotiation-20060202_2.diff.gz
-PATCH_SITES= http://www.portaone.com/~bamby/public/
-
BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
LIB_DEPENDS= speex.3:${PORTSDIR}/audio/speex \
newt.51:${PORTSDIR}/devel/newt \
@@ -28,6 +31,7 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
ONLY_FOR_ARCHS= i386 sparc64 amd64
+BRIVER= bristuff-0.3.0-PRE-1l
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/editline
USE_GMAKE= yes
diff --git a/net/asterisk14/distinfo b/net/asterisk14/distinfo
index 6b4fba28f1df..f2d5ef781f4a 100644
--- a/net/asterisk14/distinfo
+++ b/net/asterisk14/distinfo
@@ -1,6 +1,9 @@
MD5 (asterisk-1.2.4.tar.gz) = 14721abdc85fc3381db275b61dffce2d
SHA256 (asterisk-1.2.4.tar.gz) = a386a6cd587a84afd534d35be26758a9e64fff4d679960ebd82ddc7142bb083c
SIZE (asterisk-1.2.4.tar.gz) = 10536366
-MD5 (asterisk124_codec_negotiation-20060202_2.diff.gz) = 1f00b43fd1db77ac783c2573d847f398
-SHA256 (asterisk124_codec_negotiation-20060202_2.diff.gz) = f30106056aed3c050ac81c4ec8cdab0b69c1ac73440257d5480aea02c92e0fb6
-SIZE (asterisk124_codec_negotiation-20060202_2.diff.gz) = 28543
+MD5 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 72a17e513b085d868c638503857d2512
+SHA256 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 5e42e611c9e123a6d8513ab59a56a157976e7a7544e86ee1775e018f47d629f8
+SIZE (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 94989
+MD5 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = df6de1135788f06d72f94b8ec42676e7
+SHA256 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 6f25be043ab518cd876afd7750951ec7dd4870f5d293871965b097250557f17f
+SIZE (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 28577
diff --git a/net/asterisk14/files/patch-agi::Makefile b/net/asterisk14/files/patch-agi::Makefile
index b35976526f59..82b11dbfde30 100644
--- a/net/asterisk14/files/patch-agi::Makefile
+++ b/net/asterisk14/files/patch-agi::Makefile
@@ -1,14 +1,11 @@
-
-$FreeBSD$
-
---- agi/Makefile.orig Thu Jan 12 15:42:07 2006
-+++ agi/Makefile Thu Jan 12 15:44:39 2006
+--- agi/Makefile.orig Sun Jan 22 17:53:44 2006
++++ agi/Makefile Sun Jan 22 17:55:53 2006
@@ -11,7 +11,9 @@
# the GNU General Public License
#
--AGIS=agi-test.agi eagi-test eagi-sphinx-test
-+AGIS_BIN=eagi-test eagi-sphinx-test
+-AGIS=agi-test.agi eagi-test eagi-sphinx-test xagi-test
++AGIS_BIN=eagi-test eagi-sphinx-test xagi-test
+AGIS_SCR=agi-test.agi
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
diff --git a/net/asterisk14/files/patch-res-res_watchdog.c b/net/asterisk14/files/patch-res-res_watchdog.c
new file mode 100644
index 000000000000..8372764ed3e4
--- /dev/null
+++ b/net/asterisk14/files/patch-res-res_watchdog.c
@@ -0,0 +1,13 @@
+--- res/res_watchdog.c.orig Mon Jan 23 23:55:25 2006
++++ res/res_watchdog.c Mon Jan 23 23:55:10 2006
+@@ -37,6 +37,10 @@
+ #include <asterisk/utils.h>
+ #include <asterisk/adsi.h>
+
++#if defined(__FreeBSD__) && !defined(O_SYNC)
++#define O_SYNC O_FSYNC
++#endif
++
+ static struct watchdog_pvt *watchdogs = NULL;
+
+ STANDARD_LOCAL_USER;
diff --git a/net/asterisk14/pkg-plist b/net/asterisk14/pkg-plist
index 3af861f7a135..ad61ad74f72f 100644
--- a/net/asterisk14/pkg-plist
+++ b/net/asterisk14/pkg-plist
@@ -19,6 +19,9 @@ etc/asterisk/asterisk.adsi-dist
@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi
etc/asterisk/asterisk.conf-dist
@exec [ -f %B/asterisk.conf ] || cp %B/%f %B/asterisk.conf
+@unexec if cmp -s %D/etc/asterisk/capi.conf %D/etc/asterisk/capi.conf-dist; then rm -f %D/etc/asterisk/capi.conf; fi
+etc/asterisk/capi.conf-dist
+@exec [ -f %B/capi.conf ] || cp %B/%f %B/capi.conf
@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi
etc/asterisk/cdr.conf-dist
@exec [ -f %B/cdr.conf ] || cp %B/%f %B/cdr.conf
@@ -49,12 +52,12 @@ etc/asterisk/dundi.conf-dist
@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi
etc/asterisk/enum.conf-dist
@exec [ -f %B/enum.conf ] || cp %B/%f %B/enum.conf
-@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
-etc/asterisk/extensions.ael-dist
-@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi
etc/asterisk/extconfig.conf-dist
@exec [ -f %B/extconfig.conf ] || cp %B/%f %B/extconfig.conf
+@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
+etc/asterisk/extensions.ael-dist
+@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi
etc/asterisk/extensions.conf-dist
@exec [ -f %B/extensions.conf ] || cp %B/%f %B/extensions.conf
@@ -139,6 +142,9 @@ etc/asterisk/voicemail.conf-dist
@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi
etc/asterisk/vpb.conf-dist
@exec [ -f %B/vpb.conf ] || cp %B/%f %B/vpb.conf
+@unexec if cmp -s %D/etc/asterisk/watchdog.conf %D/etc/asterisk/watchdog.conf-dist; then rm -f %D/etc/asterisk/watchdog.conf; fi
+etc/asterisk/watchdog.conf-dist
+@exec [ -f %B/watchdog.conf ] || cp %B/%f %B/watchdog.conf
@unexec if cmp -s %D/etc/asterisk/zapata.conf %D/etc/asterisk/zapata.conf-dist; then rm -f %D/etc/asterisk/zapata.conf; fi
etc/asterisk/zapata.conf-dist
@exec [ -f %B/zapata.conf ] || cp %B/%f %B/zapata.conf
@@ -157,13 +163,15 @@ include/asterisk/build.h
include/asterisk/callerid.h
include/asterisk/causes.h
include/asterisk/cdr.h
+include/asterisk/chan_capi.h
+include/asterisk/chan_capi_app.h
include/asterisk/channel.h
include/asterisk/chanspy.h
include/asterisk/chanvars.h
include/asterisk/cli.h
include/asterisk/compat.h
-include/asterisk/config.h
include/asterisk/compiler.h
+include/asterisk/config.h
include/asterisk/crypto.h
include/asterisk/devicestate.h
include/asterisk/dlfcn-compat.h
@@ -172,8 +180,8 @@ include/asterisk/dnsmgr.h
include/asterisk/doxyref.h
include/asterisk/dsp.h
include/asterisk/dundi.h
-include/asterisk/enum.h
include/asterisk/endian.h
+include/asterisk/enum.h
include/asterisk/features.h
include/asterisk/file.h
include/asterisk/frame.h
@@ -214,9 +222,11 @@ include/asterisk/unaligned.h
include/asterisk/utils.h
include/asterisk/version.h
include/asterisk/vmodem.h
+include/asterisk/xlaw.h
lib/asterisk/modules/app_adsiprog.so
lib/asterisk/modules/app_alarmreceiver.so
lib/asterisk/modules/app_authenticate.so
+lib/asterisk/modules/app_callingpres.so
lib/asterisk/modules/app_cdr.so
lib/asterisk/modules/app_chanisavail.so
lib/asterisk/modules/app_chanspy.so
@@ -224,6 +234,7 @@ lib/asterisk/modules/app_controlplayback.so
lib/asterisk/modules/app_curl.so
lib/asterisk/modules/app_cut.so
lib/asterisk/modules/app_db.so
+lib/asterisk/modules/app_devstate.so
lib/asterisk/modules/app_dial.so
lib/asterisk/modules/app_dictate.so
lib/asterisk/modules/app_directed_pickup.so
@@ -255,6 +266,7 @@ lib/asterisk/modules/app_mp3.so
lib/asterisk/modules/app_nbscat.so
%%WITH_ZAPTEL%%lib/asterisk/modules/app_page.so
lib/asterisk/modules/app_parkandannounce.so
+lib/asterisk/modules/app_pickup.so
lib/asterisk/modules/app_playback.so
lib/asterisk/modules/app_privacy.so
lib/asterisk/modules/app_queue.so
@@ -265,6 +277,7 @@ lib/asterisk/modules/app_realtime.so
lib/asterisk/modules/app_record.so
%%WITH_FAX%%lib/asterisk/modules/app_rxfax.so
lib/asterisk/modules/app_sayunixtime.so
+lib/asterisk/modules/app_segfault.so
lib/asterisk/modules/app_senddtmf.so
lib/asterisk/modules/app_sendtext.so
lib/asterisk/modules/app_setcallerid.so
@@ -347,8 +360,9 @@ lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
lib/asterisk/modules/res_monitor.so
-lib/asterisk/modules/res_odbc.so
lib/asterisk/modules/res_musiconhold.so
+lib/asterisk/modules/res_odbc.so
+lib/asterisk/modules/res_watchdog.so
sbin/asterisk
sbin/astgenkey
sbin/astman
@@ -361,6 +375,7 @@ sbin/streamplayer
%%DATADIR%%/agi-bin/agi-test.agi
%%DATADIR%%/agi-bin/eagi-sphinx-test
%%DATADIR%%/agi-bin/eagi-test
+%%DATADIR%%/agi-bin/xagi-test
%%DATADIR%%/firmware/iax/iaxy.bin
%%DATADIR%%/images/asterisk-intro.jpg
%%DATADIR%%/keys/freeworlddialup.pub
@@ -717,11 +732,11 @@ sbin/streamplayer
%%DATADIR%%/sounds/vm-whichbox.gsm
%%DATADIR%%/sounds/vm-youhave.gsm
%%DATADIR%%/sounds/voicemail
-@dirrm %%DATADIR%%/sounds/dictate
+@dirrm %%DATADIR%%/sounds/priv-callerintros
@dirrm %%DATADIR%%/sounds/phonetic
@dirrm %%DATADIR%%/sounds/letters
@dirrm %%DATADIR%%/sounds/digits
-@dirrm %%DATADIR%%/sounds/priv-callerintros
+@dirrm %%DATADIR%%/sounds/dictate
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/mohmp3
@dirrm %%DATADIR%%/keys
diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile
index 10d4cd2b786f..9f36afcfb1af 100644
--- a/net/asterisk16/Makefile
+++ b/net/asterisk16/Makefile
@@ -7,19 +7,22 @@
PORTNAME= asterisk
PORTVERSION= 1.2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
+PATCHFILES= ${PORTNAME}-${PORTVERSION}-${BRIVER}.patch.gz\
+ asterisk124_codec_negotiation-20060202_2-${BRIVER}.diff.gz
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= fjoe/
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= sobomax@FreeBSD.org
COMMENT= An Open Source PBX and telephony toolkit
-PATCHFILES= asterisk124_codec_negotiation-20060202_2.diff.gz
-PATCH_SITES= http://www.portaone.com/~bamby/public/
-
BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
LIB_DEPENDS= speex.3:${PORTSDIR}/audio/speex \
newt.51:${PORTSDIR}/devel/newt \
@@ -28,6 +31,7 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
ONLY_FOR_ARCHS= i386 sparc64 amd64
+BRIVER= bristuff-0.3.0-PRE-1l
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/editline
USE_GMAKE= yes
diff --git a/net/asterisk16/distinfo b/net/asterisk16/distinfo
index 6b4fba28f1df..f2d5ef781f4a 100644
--- a/net/asterisk16/distinfo
+++ b/net/asterisk16/distinfo
@@ -1,6 +1,9 @@
MD5 (asterisk-1.2.4.tar.gz) = 14721abdc85fc3381db275b61dffce2d
SHA256 (asterisk-1.2.4.tar.gz) = a386a6cd587a84afd534d35be26758a9e64fff4d679960ebd82ddc7142bb083c
SIZE (asterisk-1.2.4.tar.gz) = 10536366
-MD5 (asterisk124_codec_negotiation-20060202_2.diff.gz) = 1f00b43fd1db77ac783c2573d847f398
-SHA256 (asterisk124_codec_negotiation-20060202_2.diff.gz) = f30106056aed3c050ac81c4ec8cdab0b69c1ac73440257d5480aea02c92e0fb6
-SIZE (asterisk124_codec_negotiation-20060202_2.diff.gz) = 28543
+MD5 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 72a17e513b085d868c638503857d2512
+SHA256 (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 5e42e611c9e123a6d8513ab59a56a157976e7a7544e86ee1775e018f47d629f8
+SIZE (asterisk-1.2.4-bristuff-0.3.0-PRE-1l.patch.gz) = 94989
+MD5 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = df6de1135788f06d72f94b8ec42676e7
+SHA256 (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 6f25be043ab518cd876afd7750951ec7dd4870f5d293871965b097250557f17f
+SIZE (asterisk124_codec_negotiation-20060202_2-bristuff-0.3.0-PRE-1l.diff.gz) = 28577
diff --git a/net/asterisk16/files/patch-agi::Makefile b/net/asterisk16/files/patch-agi::Makefile
index b35976526f59..82b11dbfde30 100644
--- a/net/asterisk16/files/patch-agi::Makefile
+++ b/net/asterisk16/files/patch-agi::Makefile
@@ -1,14 +1,11 @@
-
-$FreeBSD$
-
---- agi/Makefile.orig Thu Jan 12 15:42:07 2006
-+++ agi/Makefile Thu Jan 12 15:44:39 2006
+--- agi/Makefile.orig Sun Jan 22 17:53:44 2006
++++ agi/Makefile Sun Jan 22 17:55:53 2006
@@ -11,7 +11,9 @@
# the GNU General Public License
#
--AGIS=agi-test.agi eagi-test eagi-sphinx-test
-+AGIS_BIN=eagi-test eagi-sphinx-test
+-AGIS=agi-test.agi eagi-test eagi-sphinx-test xagi-test
++AGIS_BIN=eagi-test eagi-sphinx-test xagi-test
+AGIS_SCR=agi-test.agi
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
diff --git a/net/asterisk16/files/patch-res-res_watchdog.c b/net/asterisk16/files/patch-res-res_watchdog.c
new file mode 100644
index 000000000000..8372764ed3e4
--- /dev/null
+++ b/net/asterisk16/files/patch-res-res_watchdog.c
@@ -0,0 +1,13 @@
+--- res/res_watchdog.c.orig Mon Jan 23 23:55:25 2006
++++ res/res_watchdog.c Mon Jan 23 23:55:10 2006
+@@ -37,6 +37,10 @@
+ #include <asterisk/utils.h>
+ #include <asterisk/adsi.h>
+
++#if defined(__FreeBSD__) && !defined(O_SYNC)
++#define O_SYNC O_FSYNC
++#endif
++
+ static struct watchdog_pvt *watchdogs = NULL;
+
+ STANDARD_LOCAL_USER;
diff --git a/net/asterisk16/pkg-plist b/net/asterisk16/pkg-plist
index 3af861f7a135..ad61ad74f72f 100644
--- a/net/asterisk16/pkg-plist
+++ b/net/asterisk16/pkg-plist
@@ -19,6 +19,9 @@ etc/asterisk/asterisk.adsi-dist
@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi
etc/asterisk/asterisk.conf-dist
@exec [ -f %B/asterisk.conf ] || cp %B/%f %B/asterisk.conf
+@unexec if cmp -s %D/etc/asterisk/capi.conf %D/etc/asterisk/capi.conf-dist; then rm -f %D/etc/asterisk/capi.conf; fi
+etc/asterisk/capi.conf-dist
+@exec [ -f %B/capi.conf ] || cp %B/%f %B/capi.conf
@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi
etc/asterisk/cdr.conf-dist
@exec [ -f %B/cdr.conf ] || cp %B/%f %B/cdr.conf
@@ -49,12 +52,12 @@ etc/asterisk/dundi.conf-dist
@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi
etc/asterisk/enum.conf-dist
@exec [ -f %B/enum.conf ] || cp %B/%f %B/enum.conf
-@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
-etc/asterisk/extensions.ael-dist
-@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi
etc/asterisk/extconfig.conf-dist
@exec [ -f %B/extconfig.conf ] || cp %B/%f %B/extconfig.conf
+@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
+etc/asterisk/extensions.ael-dist
+@exec [ -f %B/extensions.ael ] || cp %B/%f %B/extensions.ael
@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi
etc/asterisk/extensions.conf-dist
@exec [ -f %B/extensions.conf ] || cp %B/%f %B/extensions.conf
@@ -139,6 +142,9 @@ etc/asterisk/voicemail.conf-dist
@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi
etc/asterisk/vpb.conf-dist
@exec [ -f %B/vpb.conf ] || cp %B/%f %B/vpb.conf
+@unexec if cmp -s %D/etc/asterisk/watchdog.conf %D/etc/asterisk/watchdog.conf-dist; then rm -f %D/etc/asterisk/watchdog.conf; fi
+etc/asterisk/watchdog.conf-dist
+@exec [ -f %B/watchdog.conf ] || cp %B/%f %B/watchdog.conf
@unexec if cmp -s %D/etc/asterisk/zapata.conf %D/etc/asterisk/zapata.conf-dist; then rm -f %D/etc/asterisk/zapata.conf; fi
etc/asterisk/zapata.conf-dist
@exec [ -f %B/zapata.conf ] || cp %B/%f %B/zapata.conf
@@ -157,13 +163,15 @@ include/asterisk/build.h
include/asterisk/callerid.h
include/asterisk/causes.h
include/asterisk/cdr.h
+include/asterisk/chan_capi.h
+include/asterisk/chan_capi_app.h
include/asterisk/channel.h
include/asterisk/chanspy.h
include/asterisk/chanvars.h
include/asterisk/cli.h
include/asterisk/compat.h
-include/asterisk/config.h
include/asterisk/compiler.h
+include/asterisk/config.h
include/asterisk/crypto.h
include/asterisk/devicestate.h
include/asterisk/dlfcn-compat.h
@@ -172,8 +180,8 @@ include/asterisk/dnsmgr.h
include/asterisk/doxyref.h
include/asterisk/dsp.h
include/asterisk/dundi.h
-include/asterisk/enum.h
include/asterisk/endian.h
+include/asterisk/enum.h
include/asterisk/features.h
include/asterisk/file.h
include/asterisk/frame.h
@@ -214,9 +222,11 @@ include/asterisk/unaligned.h
include/asterisk/utils.h
include/asterisk/version.h
include/asterisk/vmodem.h
+include/asterisk/xlaw.h
lib/asterisk/modules/app_adsiprog.so
lib/asterisk/modules/app_alarmreceiver.so
lib/asterisk/modules/app_authenticate.so
+lib/asterisk/modules/app_callingpres.so
lib/asterisk/modules/app_cdr.so
lib/asterisk/modules/app_chanisavail.so
lib/asterisk/modules/app_chanspy.so
@@ -224,6 +234,7 @@ lib/asterisk/modules/app_controlplayback.so
lib/asterisk/modules/app_curl.so
lib/asterisk/modules/app_cut.so
lib/asterisk/modules/app_db.so
+lib/asterisk/modules/app_devstate.so
lib/asterisk/modules/app_dial.so
lib/asterisk/modules/app_dictate.so
lib/asterisk/modules/app_directed_pickup.so
@@ -255,6 +266,7 @@ lib/asterisk/modules/app_mp3.so
lib/asterisk/modules/app_nbscat.so
%%WITH_ZAPTEL%%lib/asterisk/modules/app_page.so
lib/asterisk/modules/app_parkandannounce.so
+lib/asterisk/modules/app_pickup.so
lib/asterisk/modules/app_playback.so
lib/asterisk/modules/app_privacy.so
lib/asterisk/modules/app_queue.so
@@ -265,6 +277,7 @@ lib/asterisk/modules/app_realtime.so
lib/asterisk/modules/app_record.so
%%WITH_FAX%%lib/asterisk/modules/app_rxfax.so
lib/asterisk/modules/app_sayunixtime.so
+lib/asterisk/modules/app_segfault.so
lib/asterisk/modules/app_senddtmf.so
lib/asterisk/modules/app_sendtext.so
lib/asterisk/modules/app_setcallerid.so
@@ -347,8 +360,9 @@ lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
lib/asterisk/modules/res_monitor.so
-lib/asterisk/modules/res_odbc.so
lib/asterisk/modules/res_musiconhold.so
+lib/asterisk/modules/res_odbc.so
+lib/asterisk/modules/res_watchdog.so
sbin/asterisk
sbin/astgenkey
sbin/astman
@@ -361,6 +375,7 @@ sbin/streamplayer
%%DATADIR%%/agi-bin/agi-test.agi
%%DATADIR%%/agi-bin/eagi-sphinx-test
%%DATADIR%%/agi-bin/eagi-test
+%%DATADIR%%/agi-bin/xagi-test
%%DATADIR%%/firmware/iax/iaxy.bin
%%DATADIR%%/images/asterisk-intro.jpg
%%DATADIR%%/keys/freeworlddialup.pub
@@ -717,11 +732,11 @@ sbin/streamplayer
%%DATADIR%%/sounds/vm-whichbox.gsm
%%DATADIR%%/sounds/vm-youhave.gsm
%%DATADIR%%/sounds/voicemail
-@dirrm %%DATADIR%%/sounds/dictate
+@dirrm %%DATADIR%%/sounds/priv-callerintros
@dirrm %%DATADIR%%/sounds/phonetic
@dirrm %%DATADIR%%/sounds/letters
@dirrm %%DATADIR%%/sounds/digits
-@dirrm %%DATADIR%%/sounds/priv-callerintros
+@dirrm %%DATADIR%%/sounds/dictate
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/mohmp3
@dirrm %%DATADIR%%/keys