diff options
author | sobomax <sobomax@FreeBSD.org> | 2006-10-04 12:41:27 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2006-10-04 12:41:27 +0800 |
commit | b4ace171444003b21b2beb4fd3817fb6421ddaf1 (patch) | |
tree | 61fd4ab23730bc9da171e45b0f0e2ba035b1e687 /net/asterisk14 | |
parent | 4bd7898d6bbc210b982f4a9689b46935462b8e4b (diff) | |
download | freebsd-ports-gnome-b4ace171444003b21b2beb4fd3817fb6421ddaf1.tar.gz freebsd-ports-gnome-b4ace171444003b21b2beb4fd3817fb6421ddaf1.tar.zst freebsd-ports-gnome-b4ace171444003b21b2beb4fd3817fb6421ddaf1.zip |
Update to 1.2.12.1.
PR: 103426
Submitted by: Thomas Sandford
Diffstat (limited to 'net/asterisk14')
-rw-r--r-- | net/asterisk14/Makefile | 5 | ||||
-rw-r--r-- | net/asterisk14/distinfo | 12 | ||||
-rw-r--r-- | net/asterisk14/files/patch-Makefile | 71 | ||||
-rw-r--r-- | net/asterisk14/files/patch-asterisk.c | 23 | ||||
-rw-r--r-- | net/asterisk14/pkg-plist | 3 |
5 files changed, 34 insertions, 80 deletions
diff --git a/net/asterisk14/Makefile b/net/asterisk14/Makefile index a5c0982ab70a..144881e08906 100644 --- a/net/asterisk14/Makefile +++ b/net/asterisk14/Makefile @@ -6,13 +6,12 @@ # PORTNAME= asterisk -PORTVERSION= 1.2.9.1 -PORTREVISION= 2 +PORTVERSION= 1.2.12.1 CATEGORIES= net MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \ http://ftp.digium.com/pub/asterisk/old-releases/ -PATCHFILES= asterisk129_codec_negotiation-20060615.diff.gz +PATCHFILES= asterisk-1.2.12.1-codec-negotiation-20060926.diff.gz PATCH_SITES= http://unofficial.portaone.com/~bamby/public/ # ${PORTNAME}-1.2.4-${BRIVER}.patch.gz:bristuff diff --git a/net/asterisk14/distinfo b/net/asterisk14/distinfo index 23cb73fdf8a3..98980a1c6c26 100644 --- a/net/asterisk14/distinfo +++ b/net/asterisk14/distinfo @@ -1,6 +1,6 @@ -MD5 (asterisk-1.2.9.1.tar.gz) = d98fc3dc5ee8df691ca2b0bd309bb251 -SHA256 (asterisk-1.2.9.1.tar.gz) = 6569080ee10a6dd9b554fc04a33641bc0964abc0502f797cdfefadafe2b6e71d -SIZE (asterisk-1.2.9.1.tar.gz) = 10568287 -MD5 (asterisk129_codec_negotiation-20060615.diff.gz) = 4f1b5dd22ba393a9bc2b384f98ff9c1d -SHA256 (asterisk129_codec_negotiation-20060615.diff.gz) = 8e031323d1fc55e81a5748d9474e4c7c2480328ef5785ff964aa6618f3e7ce1b -SIZE (asterisk129_codec_negotiation-20060615.diff.gz) = 32749 +MD5 (asterisk-1.2.12.1.tar.gz) = 9c0d427f96c740163a22f5e0dbcb101d +SHA256 (asterisk-1.2.12.1.tar.gz) = e54fc05f30764ad6678337ae386918481dd99347cfaa2d85fed3d0dc3a548d56 +SIZE (asterisk-1.2.12.1.tar.gz) = 10576676 +MD5 (asterisk-1.2.12.1-codec-negotiation-20060926.diff.gz) = b4db85eaa78fd3e716cd9d074233e8ae +SHA256 (asterisk-1.2.12.1-codec-negotiation-20060926.diff.gz) = d438f741e83c64590c149c64482cb9ef93669b1d5cb3b43577405be25d1e818e +SIZE (asterisk-1.2.12.1-codec-negotiation-20060926.diff.gz) = 32857 diff --git a/net/asterisk14/files/patch-Makefile b/net/asterisk14/files/patch-Makefile index 6b482dfc0268..876ddddd5cd6 100644 --- a/net/asterisk14/files/patch-Makefile +++ b/net/asterisk14/files/patch-Makefile @@ -1,8 +1,5 @@ - -$FreeBSD$ - ---- Makefile.orig -+++ Makefile +--- Makefile.orig Tue Sep 26 18:41:55 2006 ++++ Makefile Tue Sep 26 18:47:32 2006 @@ -19,8 +19,8 @@ # CROSS_COMPILE=/opt/montavista/pro/devkit/arm/xscale_be/bin/xscale_be- # CROSS_COMPILE_BIN=/opt/montavista/pro/devkit/arm/xscale_be/bin/ @@ -14,7 +11,7 @@ $FreeBSD$ # CROSS_ARCH=Linux # CROSS_PROC=arm # SUB_PROC=xscale # or maverick -@@ -46,14 +46,14 @@ +@@ -47,14 +47,14 @@ #K6OPT = -DK6OPT #Tell gcc to optimize the code @@ -32,7 +29,7 @@ $FreeBSD$ #Set NOCRYPTO to yes if you do not want to have crypto support or #dependencies -@@ -85,7 +85,7 @@ +@@ -88,7 +88,7 @@ # Where to install asterisk after compiling # Default -> leave empty @@ -41,7 +38,7 @@ $FreeBSD$ # Staging directory # Files are copied here temporarily during the install process -@@ -108,17 +108,17 @@ +@@ -111,17 +111,17 @@ BUSYDETECT+= #-DBUSYDETECT_COMPARE_TONE_AND_SILENCE ifneq ($(OSARCH),SunOS) @@ -68,7 +65,7 @@ $FreeBSD$ MODULES_DIR=$(ASTLIBDIR)/modules AGI_DIR=$(ASTVARLIBDIR)/agi-bin else -@@ -220,25 +220,25 @@ +@@ -226,25 +226,25 @@ endif INCLUDE+=-Iinclude -I../include @@ -100,7 +97,7 @@ $FreeBSD$ else ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h),) ASTCFLAGS+=-DOSP_SUPPORT -I$(CROSS_COMPILE_TARGET)/usr/include/osp -@@ -247,27 +247,24 @@ +@@ -253,27 +253,24 @@ ifeq ($(OSARCH),FreeBSD) BSDVERSION=$(shell make -V OSVERSION -f $(CROSS_COMPILE_TARGET)/usr/share/mk/bsd.port.subdir.mk) @@ -142,16 +139,7 @@ $FreeBSD$ endif # FreeBSD -@@ -283,7 +280,7 @@ - - ifeq ($(OSARCH),SunOS) - ASTCFLAGS+=-Wcast-align -DSOLARIS -- INCLUDE+=-Iinclude/solaris-compat -I$(CROSS_COMPILE_TARGET)/usr/local/ssl/include -+ INCLUDE+=-Iinclude/solaris-compat -I$(CROSS_COMPILE_TARGET)$(LOCALBASE)/ssl/include - endif - - ifeq ($(findstring CYGWIN,$(OSARCH)),CYGWIN) -@@ -298,7 +295,7 @@ +@@ -307,7 +304,7 @@ ifndef WITHOUT_ZAPTEL @@ -160,20 +148,7 @@ $FreeBSD$ ASTCFLAGS+=-DZAPTEL_OPTIMIZATIONS endif -@@ -390,10 +387,10 @@ - endif - - ifeq ($(OSARCH),SunOS) -- LIBS+=-lpthread -ldl -lnsl -lsocket -lresolv -L$(CROSS_COMPILE_TARGET)/usr/local/ssl/lib -+ LIBS+=-lpthread -ldl -lnsl -lsocket -lresolv -L$(CROSS_COMPILE_TARGET)$(LOCALBASE)/ssl/lib - OBJS+=strcompat.o - ASTLINK= -- SOLINK=-shared -fpic -L$(CROSS_COMPILE_TARGET)/usr/local/ssl/lib -+ SOLINK=-shared -fpic -L$(CROSS_COMPILE_TARGET)$(LOCALBASE)/ssl/lib - endif - - ifeq ($(MAKETOPLEVEL),$(MAKELEVEL)) -@@ -401,7 +398,7 @@ +@@ -414,7 +411,7 @@ endif # This is used when generating the doxygen documentation @@ -182,7 +157,7 @@ $FreeBSD$ HAVEDOT=yes else HAVEDOT=no -@@ -420,7 +417,7 @@ +@@ -431,7 +428,7 @@ @echo " + $(MAKE) install +" @echo " +-------------------------------------------+" @@ -191,7 +166,7 @@ $FreeBSD$ #ifneq ($(wildcard tags),) ctags: tags -@@ -439,13 +436,13 @@ +@@ -450,13 +447,13 @@ cd editline && unset CFLAGS LIBS && test -f config.h || CFLAGS="$(OPTIMIZE)" ./configure $(MAKE) -C editline libedit.a @@ -212,7 +187,7 @@ $FreeBSD$ ifneq ($(wildcard .depend),) include .depend -@@ -469,10 +466,10 @@ +@@ -480,10 +477,10 @@ manpage: asterisk.8 @@ -227,7 +202,7 @@ $FreeBSD$ asterisk.pdf: asterisk.sgml docbook2pdf asterisk.sgml -@@ -512,14 +509,14 @@ +@@ -523,14 +520,14 @@ cygwin_a: $(MAKE) -C cygwin all @@ -244,7 +219,7 @@ $FreeBSD$ muted: muted.o $(CC) $(AUDIO_LIBS) -o muted muted.o -@@ -541,38 +538,38 @@ +@@ -552,38 +549,38 @@ datafiles: all if [ x`$(ID) -un` = xroot ]; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi @@ -292,9 +267,9 @@ $FreeBSD$ else \ echo "No description for $$x"; \ exit 1; \ -@@ -580,18 +577,18 @@ +@@ -591,18 +588,18 @@ done - for x in sounds/demo-* sounds/vm-* sounds/transfer* sounds/pbx-* sounds/ss-* sounds/beep* sounds/dir-* sounds/conf-* sounds/agent-* sounds/invalid* sounds/tt-* sounds/auth-* sounds/privacy-* sounds/queue-* sounds/spy-* sounds/priv-* sounds/screen-* sounds/hello-*; do \ + for x in sounds/demo-* sounds/vm-* sounds/transfer* sounds/pbx-* sounds/ss-* sounds/beep* sounds/dir-* sounds/conf-* sounds/agent-* sounds/invalid* sounds/tt-* sounds/auth-* sounds/privacy-* sounds/queue-* sounds/spy-* sounds/priv-* sounds/screen-* sounds/hello-* sounds/hours* sounds/minute* sounds/second* ; do \ if $(GREP) -q "^%`basename $$x`%" sounds.txt; then \ - $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \ + $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTVARLIBDIR)/sounds ; \ @@ -316,7 +291,7 @@ $FreeBSD$ update: @if [ -d .svn ]; then \ -@@ -620,47 +617,47 @@ +@@ -631,47 +628,47 @@ OLDHEADERS=$(filter-out $(NEWHEADERS),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h))) bininstall: all @@ -348,7 +323,7 @@ $FreeBSD$ + if [ -f asterisk ]; then $(BSD_INSTALL_PROGRAM) asterisk $(DESTDIR)$(ASTSBINDIR)/; fi + if [ -f cygwin/asterisk.exe ]; then $(BSD_INSTALL_PROGRAM) cygwin/asterisk.exe $(DESTDIR)$(ASTSBINDIR)/; fi + if [ -f asterisk.dll ]; then $(BSD_INSTALL_PROGRAM) asterisk.dll $(DESTDIR)$(ASTSBINDIR)/; fi - ln -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk + $(LN) -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk - $(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/ - $(INSTALL) -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/ + $(BSD_INSTALL_SCRIPT) contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/ @@ -396,7 +371,7 @@ $FreeBSD$ else \ echo "You need to do cvs update -d not just cvs update" ; \ fi -@@ -690,46 +687,28 @@ +@@ -701,46 +698,28 @@ echo " WARNING WARNING WARNING" ;\ fi @@ -450,7 +425,7 @@ $FreeBSD$ if [ -f $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample` ]; then \ if [ "$(OVERWRITE)" = "y" ]; then \ if cmp -s $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample` $$x ; then \ -@@ -742,7 +721,7 @@ +@@ -753,7 +732,7 @@ continue; \ fi ;\ fi ; \ @@ -459,7 +434,7 @@ $FreeBSD$ done if [ "$(OVERWRITE)" = "y" ] || [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \ ( \ -@@ -802,25 +781,25 @@ +@@ -813,25 +792,25 @@ echo "; Default: strict"; \ echo ";"; \ echo ";translation_algorithm = strict"; \ @@ -491,7 +466,7 @@ $FreeBSD$ :> $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/unavail.gsm for x in vm-theperson digits/1 digits/2 digits/3 digits/4 vm-isunavail; do \ cat $(DESTDIR)$(ASTVARLIBDIR)/sounds/$$x.gsm >> $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/unavail.gsm ; \ -@@ -834,9 +813,9 @@ +@@ -845,9 +824,9 @@ @[ -d $(DESTDIR)$(HTTP_DOCSDIR)/ ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 ) @[ -d $(DESTDIR)$(HTTP_CGIDIR) ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 ) $(INSTALL) -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi @@ -503,7 +478,7 @@ $FreeBSD$ done @echo " +--------- Asterisk Web Voicemail ----------+" @echo " + +" -@@ -863,10 +842,10 @@ +@@ -874,10 +853,10 @@ __rpm: include/asterisk/version.h spec rm -rf /tmp/asterisk ; \ diff --git a/net/asterisk14/files/patch-asterisk.c b/net/asterisk14/files/patch-asterisk.c deleted file mode 100644 index 125b6ca9db1c..000000000000 --- a/net/asterisk14/files/patch-asterisk.c +++ /dev/null @@ -1,23 +0,0 @@ - -$FreeBSD$ - ---- asterisk.c.orig -+++ asterisk.c -@@ -1803,7 +1804,6 @@ - - if (option_exec && data) { /* hack to print output then exit if asterisk -rx is used */ - char tempchar; --#ifdef __Darwin__ - struct pollfd fds[0]; - fds[0].fd = ast_consock; - fds[0].events = POLLIN; -@@ -1811,9 +1811,6 @@ - while (poll(fds, 1, 100) > 0) { - ast_el_read_char(el, &tempchar); - } --#else -- while (!ast_el_read_char(el, &tempchar)); --#endif - return; - } - for(;;) { diff --git a/net/asterisk14/pkg-plist b/net/asterisk14/pkg-plist index 6c09cd059ec4..16397e7e2238 100644 --- a/net/asterisk14/pkg-plist +++ b/net/asterisk14/pkg-plist @@ -532,6 +532,7 @@ sbin/streamplayer %%DATADIR%%/sounds/dir-nomatch.gsm %%DATADIR%%/sounds/dir-nomore.gsm %%DATADIR%%/sounds/hello-world.gsm +%%DATADIR%%/sounds/hours.gsm %%DATADIR%%/sounds/invalid.gsm %%DATADIR%%/sounds/letters/a.gsm %%DATADIR%%/sounds/letters/at.gsm @@ -569,6 +570,7 @@ sbin/streamplayer %%DATADIR%%/sounds/letters/y.gsm %%DATADIR%%/sounds/letters/z.gsm %%DATADIR%%/sounds/letters/zed.gsm +%%DATADIR%%/sounds/minutes.gsm %%DATADIR%%/sounds/pbx-invalid.gsm %%DATADIR%%/sounds/pbx-invalidpark.gsm %%DATADIR%%/sounds/pbx-transfer.gsm @@ -618,6 +620,7 @@ sbin/streamplayer %%DATADIR%%/sounds/queue-thereare.gsm %%DATADIR%%/sounds/queue-youarenext.gsm %%DATADIR%%/sounds/screen-callee-options.gsm +%%DATADIR%%/sounds/seconds.gsm %%DATADIR%%/sounds/spy-agent.gsm %%DATADIR%%/sounds/spy-h323.gsm %%DATADIR%%/sounds/spy-iax.gsm |