diff options
author | fjoe <fjoe@FreeBSD.org> | 2005-07-12 18:11:17 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2005-07-12 18:11:17 +0800 |
commit | 5d5984775c3b8074a17d21c7eb9fb16c0e47012b (patch) | |
tree | 7cc1aa608ec7d3120b39d0fbf30e784e2e669f61 /net/asterisk10/files | |
parent | 13ee989560c6874b4258358847cef5684c218d99 (diff) | |
download | freebsd-ports-gnome-5d5984775c3b8074a17d21c7eb9fb16c0e47012b.tar.gz freebsd-ports-gnome-5d5984775c3b8074a17d21c7eb9fb16c0e47012b.tar.zst freebsd-ports-gnome-5d5984775c3b8074a17d21c7eb9fb16c0e47012b.zip |
Update to 1.0.9 and bristuff-0.2.0-RC8h.
Approved by: MAINTAINER
Diffstat (limited to 'net/asterisk10/files')
-rw-r--r-- | net/asterisk10/files/patch-Makefile | 12 | ||||
-rw-r--r-- | net/asterisk10/files/patch-res::Makefile | 19 | ||||
-rw-r--r-- | net/asterisk10/files/patch-rtp.c | 22 |
3 files changed, 20 insertions, 33 deletions
diff --git a/net/asterisk10/files/patch-Makefile b/net/asterisk10/files/patch-Makefile index c509623ce46a..176c4ba74d4e 100644 --- a/net/asterisk10/files/patch-Makefile +++ b/net/asterisk10/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Thu Apr 14 00:05:14 2005 -+++ Makefile Thu Apr 14 00:05:14 2005 +--- Makefile.orig Tue Jul 12 00:36:27 2005 ++++ Makefile Tue Jul 12 01:24:50 2005 @@ -45,6 +45,15 @@ PROC=$(shell uname -m) endif @@ -225,7 +225,7 @@ update: @if [ -d CVS ]; then \ -@@ -367,125 +372,90 @@ +@@ -367,127 +372,90 @@ fi bininstall: all @@ -325,6 +325,8 @@ - @echo " + a stable release, remember to delete +" - @echo " + everything from your asterisk modules +" - @echo " + directory (/usr/lib/asterisk/modules/) +" +- @echo " + and the asterisk header directory +" +- @echo " + (/usr/include/asterisk/) +" - @echo " + before doing a '$(MAKE) install'. +" - @echo " + +" - @echo " +-------------------------------------------+" @@ -403,7 +405,7 @@ :> $(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 ; \ -@@ -500,7 +470,7 @@ +@@ -502,7 +470,7 @@ @[ -d $(DESTDIR)$(HTTPDIR)/html ] || ( echo "No http directory" && exit 1 ) @[ -d $(DESTDIR)$(HTTPDIR)/cgi-bin ] || ( echo "No cgi-bin directory" && exit 1 ) install -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTPDIR)/cgi-bin/vmail.cgi @@ -412,7 +414,7 @@ for x in images/*.gif; do \ install -m 644 $$x $(DESTDIR)$(HTTPDIR)/html/_asterisk/; \ done -@@ -520,10 +490,10 @@ +@@ -522,10 +490,10 @@ __rpm: _version rm -rf /tmp/asterisk ; \ diff --git a/net/asterisk10/files/patch-res::Makefile b/net/asterisk10/files/patch-res::Makefile index 3377b4aa1c8e..2b920da8ea3f 100644 --- a/net/asterisk10/files/patch-res::Makefile +++ b/net/asterisk10/files/patch-res::Makefile @@ -1,9 +1,16 @@ - -$FreeBSD$ - ---- res/Makefile.orig -+++ res/Makefile -@@ -21,7 +21,10 @@ +--- res/Makefile.orig Tue Jul 12 01:28:04 2005 ++++ res/Makefile Tue Jul 12 01:58:11 2005 +@@ -13,15 +13,18 @@ + + MODS=res_adsi.so res_features.so res_crypto.so res_musiconhold.so res_indications.so res_monitor.so \ + res_agi.so res_watchdog.so +-MODS+=$(shell if [ -f "/usr/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi) +-MODS+=$(shell if [ -f "/usr/local/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi) ++#MODS+=$(shell if [ -f "/usr/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi) ++#MODS+=$(shell if [ -f "/usr/local/include/odbcinst.h" ]; then echo "res_odbc.so res_config_odbc.so"; fi) + MODS+=$(shell if [ -f "/usr/include/osp/osp.h" ]; then echo "res_osp.so"; fi) + + CRYPTO_LIBS=-lssl -lcrypto CFLAGS+= CFLAGS+=$(shell [ -f /usr/include/linux/zaptel.h ] && echo " -DZAPATA_MOH") diff --git a/net/asterisk10/files/patch-rtp.c b/net/asterisk10/files/patch-rtp.c index 36c4bea2f7ea..c652add6a2f2 100644 --- a/net/asterisk10/files/patch-rtp.c +++ b/net/asterisk10/files/patch-rtp.c @@ -9,28 +9,6 @@ break; case TYPE_SILENCE: return 4; -@@ -351,9 +351,7 @@ - 0, (struct sockaddr *)&sin, &len); - - if (res < 0) { -- if (errno == EAGAIN) -- ast_log(LOG_NOTICE, "RTP: Received packet with bad UDP checksum\n"); -- else -+ if (errno != EAGAIN) - ast_log(LOG_WARNING, "RTP Read error: %s\n", strerror(errno)); - if (errno == EBADF) - CRASH; -@@ -431,9 +429,7 @@ - - rtpheader = (unsigned int *)(rtp->rawdata + AST_FRIENDLY_OFFSET); - if (res < 0) { -- if (errno == EAGAIN) -- ast_log(LOG_NOTICE, "RTP: Received packet with bad UDP checksum\n"); -- else -+ if (errno != EAGAIN) - ast_log(LOG_WARNING, "RTP Read error: %s\n", strerror(errno)); - if (errno == EBADF) - CRASH; @@ -862,8 +858,10 @@ /* Must be an even port number by RTP spec */ rtp->us.sin_port = htons(x); |