aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk13
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2016-01-16 17:18:29 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2016-01-16 17:18:29 +0000
commitf53255f3a95606c750652e05609c5a2ccf0bdc73 (patch)
treec670bff83f1832a542e4e1574444431d46fe120d /net/asterisk13
parente8ba5779a2802251e7dd5d932c8cd02358f7ea7d (diff)
downloadports-f53255f3a95606c750652e05609c5a2ccf0bdc73.tar.gz
ports-f53255f3a95606c750652e05609c5a2ccf0bdc73.zip
- Update net/asterisk11 to 11.21.0
- Update net/asterisk13 to 13.7.0
Notes
Notes: svn path=/head/; revision=406243
Diffstat (limited to 'net/asterisk13')
-rw-r--r--net/asterisk13/Makefile3
-rw-r--r--net/asterisk13/distinfo4
-rw-r--r--net/asterisk13/files/patch-Makefile50
3 files changed, 25 insertions, 32 deletions
diff --git a/net/asterisk13/Makefile b/net/asterisk13/Makefile
index a8513ecb9514..0dbb072111dd 100644
--- a/net/asterisk13/Makefile
+++ b/net/asterisk13/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= asterisk
-PORTVERSION= 13.6.0
-PORTREVISION= 1
+PORTVERSION= 13.7.0
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/%SUBDIR%/:main,g729
MASTER_SITE_SUBDIR= asterisk/:main \
diff --git a/net/asterisk13/distinfo b/net/asterisk13/distinfo
index 963891e5eaef..04688cf4c954 100644
--- a/net/asterisk13/distinfo
+++ b/net/asterisk13/distinfo
@@ -1,5 +1,5 @@
-SHA256 (asterisk-13.6.0.tar.gz) = 8a01b53c946d092ac561c11b404f68cd328306d0e3b434a7485a11d4b175005a
-SIZE (asterisk-13.6.0.tar.gz) = 32146107
+SHA256 (asterisk-13.7.0.tar.gz) = d04c783e18a41de5fd6d8dc375533633995ea5a11437df727f0f6a32bfdbcd7a
+SIZE (asterisk-13.7.0.tar.gz) = 32198169
SHA256 (asterisk-core-sounds-en-g729-1.4.27.tar.gz) = f5d21ca8305b29ea84fb4603c65c041483ea3a9cd0bf313eb4f098342a29af5f
SIZE (asterisk-core-sounds-en-g729-1.4.27.tar.gz) = 1408055
SHA256 (asterisk-moh-opsound-g729-2.03.tar.gz) = 0147ca9a97f0c550227aacb7793499057c4d2c64e021c95f93722f27d5549585
diff --git a/net/asterisk13/files/patch-Makefile b/net/asterisk13/files/patch-Makefile
index 5497444fd954..597680e2e2e6 100644
--- a/net/asterisk13/files/patch-Makefile
+++ b/net/asterisk13/files/patch-Makefile
@@ -1,4 +1,4 @@
---- Makefile.orig 2015-07-24 22:20:17 UTC
+--- Makefile.orig 2015-12-15 18:01:38 UTC
+++ Makefile
@@ -128,7 +128,7 @@ ASTTOPDIR:=$(subst $(space),\$(space),$(
OVERWRITE=y
@@ -14,7 +14,7 @@
# Default install directory for DAHDI hooks.
-DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/span_config.d
-+# DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/span_config.d
++#DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/span_config.d
# This Makefile previously contained a note about the ability to use .asterisk.makeopts
# from your home directory or /etc/asterisk.makeopts to set defaults for menuselect.
@@ -51,7 +51,7 @@
installdirs:
@for i in $(INSTALLDIRS); do \
-@@ -602,10 +607,10 @@ bininstall: _all installdirs $(SUBDIRS_I
+@@ -603,10 +608,10 @@ bininstall: _all installdirs $(SUBDIRS_I
if [ -f contrib/firmware/iax/iaxy.bin ] ; then \
$(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin "$(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin"; \
fi
@@ -66,7 +66,7 @@
$(SUBDIRS_INSTALL):
+@DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" $(SUBMAKE) -C $(@:-install=) install
-@@ -638,7 +643,7 @@ ifneq ($(filter ~%,$(DESTDIR)),)
+@@ -639,7 +644,7 @@ ifneq ($(filter ~%,$(DESTDIR)),)
@exit 1
endif
@@ -75,18 +75,11 @@
@if [ -x /usr/sbin/asterisk-post-install ]; then \
/usr/sbin/asterisk-post-install "$(DESTDIR)" . ; \
fi
-@@ -680,29 +685,16 @@ adsi:
- else \
- echo "Installing $$x" ; \
- fi ; \
-- $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \
-+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`.sample ; \
- done
-
- samples: adsi
- @echo Installing other config files...
- @for x in configs/samples/*.sample; do \
-- dst="$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`" ; \
+@@ -682,23 +687,10 @@ upgrade: bininstall
+ # (2) the extension to strip off
+ define INSTALL_CONFIGS
+ @for x in configs/$(1)/*$(2); do \
+- dst="$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x $(2)`"; \
- if [ -f "$${dst}" ]; then \
- if [ "$(OVERWRITE)" = "y" ]; then \
- if cmp -s "$${dst}" "$$x" ; then \
@@ -102,13 +95,13 @@
echo "Installing file $$x"; \
- $(INSTALL) -m 644 "$$x" "$${dst}" ;\
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.sample ; \
- done
+ done ; \
- if [ "$(OVERWRITE)" = "y" ]; then \
-+ @if true; then \
++ if true; then \
echo "Updating asterisk.conf" ; \
sed -e 's|^astetcdir.*$$|astetcdir => $(ASTETCDIR)|' \
-e 's|^astmoddir.*$$|astmoddir => $(ASTMODDIR)|' \
-@@ -715,15 +707,15 @@ samples: adsi
+@@ -711,8 +703,8 @@ define INSTALL_CONFIGS
-e 's|^astrundir.*$$|astrundir => $(ASTVARRUNDIR)|' \
-e 's|^astlogdir.*$$|astlogdir => $(ASTLOGDIR)|' \
-e 's|^astsbindir.*$$|astsbindir => $(ASTSBINDIR)|' \
@@ -117,13 +110,14 @@
+ "$(DESTDIR)$(ASTCONFPATH).sample" > "$(DESTDIR)$(ASTCONFPATH).tmp" ; \
+ $(INSTALL) -m 644 "$(DESTDIR)$(ASTCONFPATH).tmp" "$(DESTDIR)$(ASTCONFPATH).sample" ; \
rm -f "$(DESTDIR)$(ASTCONFPATH).tmp" ; \
- fi ; \
- $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX"
- build_tools/make_sample_voicemail "$(DESTDIR)/$(ASTDATADIR)" "$(DESTDIR)/$(ASTSPOOLDIR)"
+ fi
+ endef
+@@ -728,7 +720,7 @@ adsi:
+ else \
+ echo "Installing $$x" ; \
+ fi ; \
+- $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \
++ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`.sample ; \
+ done
- @for x in phoneprov/*; do \
-- dst="$(DESTDIR)$(ASTDATADIR)/$$x" ; \
-+ dst="$(DESTDIR)$(ASTDATADIR)/$$x" ; \
- if [ -f "$${dst}" ]; then \
- if [ "$(OVERWRITE)" = "y" ]; then \
- if cmp -s "$${dst}" "$$x" ; then \
+ samples: adsi