aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk13
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2018-09-06 15:32:53 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2018-09-06 15:32:53 +0000
commit93a9398a2abce4779974b7900c548e1b596aa518 (patch)
tree76fa79ef1d843de5c10875015588c6ebb01e921c /net/asterisk13
parent193b04d9e6e1b5ad946f7c1f0980a28ac85211f6 (diff)
Notes
Diffstat (limited to 'net/asterisk13')
-rw-r--r--net/asterisk13/Makefile2
-rw-r--r--net/asterisk13/distinfo6
-rw-r--r--net/asterisk13/files/patch-Makefile26
3 files changed, 17 insertions, 17 deletions
diff --git a/net/asterisk13/Makefile b/net/asterisk13/Makefile
index 7e1be681847f..6298aa0f2db3 100644
--- a/net/asterisk13/Makefile
+++ b/net/asterisk13/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= asterisk
-PORTVERSION= 13.22.0
+PORTVERSION= 13.23.0
CATEGORIES= net
MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
MASTER_SITE_SUBDIR= asterisk/ \
diff --git a/net/asterisk13/distinfo b/net/asterisk13/distinfo
index 6bd05c299286..6a07769cd88a 100644
--- a/net/asterisk13/distinfo
+++ b/net/asterisk13/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1531425953
-SHA256 (asterisk-13.22.0.tar.gz) = bd5922f19e37c4cfc368e007b15e440bd8c709b5ed53e55496a030429ed7759e
-SIZE (asterisk-13.22.0.tar.gz) = 33036487
+TIMESTAMP = 1536226018
+SHA256 (asterisk-13.23.0.tar.gz) = d01e7336a72f9ea5df977dd3ee8af581f2b2a17a270d56f85defc15597667378
+SIZE (asterisk-13.23.0.tar.gz) = 33078545
SHA256 (asterisk-core-sounds-en-g729-1.5.tar.gz) = 8b28a59cfa53b59c76e0a191704f0708e3d83acffab8c5e6f25dfc599f0123f9
SIZE (asterisk-core-sounds-en-g729-1.5.tar.gz) = 1551123
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 6de9ab60e7f2..4d6fd01a7633 100644
--- a/net/asterisk13/files/patch-Makefile
+++ b/net/asterisk13/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2017-10-13 17:46:56 UTC
+--- Makefile.orig 2018-08-28 19:07:13 UTC
+++ Makefile
-@@ -138,7 +138,7 @@ ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR))
+@@ -141,7 +141,7 @@ ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR))
OVERWRITE=y
# Include debug and macro symbols in the executables (-g) and profiling info (-pg)
@@ -9,7 +9,7 @@
# Asterisk.conf is located in ASTETCDIR or by using the -C flag
# when starting Asterisk
-@@ -162,7 +162,7 @@ LINKER_SYMBOL_PREFIX=
+@@ -165,7 +165,7 @@ LINKER_SYMBOL_PREFIX=
#_ASTCFLAGS+=-DOLD_DSP_ROUTINES
# Default install directory for DAHDI hooks.
@@ -18,7 +18,7 @@
# 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.
-@@ -219,7 +219,7 @@ endif
+@@ -226,7 +226,7 @@ endif
ifeq ($(OSARCH),FreeBSD)
# -V is understood by BSD Make, not by GNU make.
@@ -27,7 +27,7 @@
_ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
endif
-@@ -445,8 +445,12 @@ datafiles: _all doc/core-en_US.xml
+@@ -466,8 +466,12 @@ endif
$(INSTALL) -m 644 $$n "$(DESTDIR)$(ASTDATADIR)/static-http/docs" ; \
done \
fi
@@ -41,7 +41,7 @@
done
$(MAKE) -C sounds install
find rest-api -name "*.json" | while read x; do \
-@@ -541,7 +545,7 @@ INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDI
+@@ -566,7 +570,7 @@ INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDI
"$(ASTDATADIR)/firmware/iax" "$(ASTDATADIR)/images" "$(ASTDATADIR)/keys" \
"$(ASTDATADIR)/phoneprov" "$(ASTDATADIR)/rest-api" "$(ASTDATADIR)/static-http" \
"$(ASTDATADIR)/sounds" "$(ASTDATADIR)/moh" "$(ASTMANDIR)/man8" "$(AGI_DIR)" "$(ASTDBDIR)" \
@@ -50,7 +50,7 @@
installdirs:
@for i in $(INSTALLDIRS); do \
-@@ -578,10 +582,10 @@ bininstall: _all installdirs $(SUBDIRS_INSTALL) main-b
+@@ -605,10 +609,10 @@ endif
if [ -f contrib/firmware/iax/iaxy.bin ] ; then \
$(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin "$(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin"; \
fi
@@ -65,7 +65,7 @@
$(SUBDIRS_INSTALL):
+@DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" ASTDATADIR="$(ASTDATADIR)" $(SUBMAKE) -C $(@:-install=) install
-@@ -689,7 +693,7 @@ ifneq ($(filter ~%,$(DESTDIR)),)
+@@ -723,7 +727,7 @@ ifneq ($(filter ~%,$(DESTDIR)),)
@exit 1
endif
@@ -74,10 +74,10 @@
@if [ -x /usr/sbin/asterisk-post-install ]; then \
/usr/sbin/asterisk-post-install "$(DESTDIR)" . ; \
fi
-@@ -734,23 +738,10 @@ upgrade: bininstall
+@@ -768,23 +772,10 @@ upgrade: bininstall
# (2) the extension to strip off
define INSTALL_CONFIGS
- @for x in configs/$(1)/*$(2); do \
+ @for x in $(1)/*$(2); do \
- dst="$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x $(2)`"; \
- if [ -f "$${dst}" ]; then \
- if [ "$(OVERWRITE)" = "y" ]; then \
@@ -93,14 +93,14 @@
- fi ; \
echo "Installing file $$x"; \
- $(INSTALL) -m 644 "$$x" "$${dst}" ;\
-+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.sample ; \
++ $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.sample" ; \
done ; \
- if [ "$(OVERWRITE)" = "y" ]; then \
+ if true; then \
echo "Updating asterisk.conf" ; \
sed -e 's|^astetcdir.*$$|astetcdir => $(ASTETCDIR)|' \
-e 's|^astmoddir.*$$|astmoddir => $(ASTMODDIR)|' \
-@@ -763,8 +754,8 @@ define INSTALL_CONFIGS
+@@ -797,8 +788,8 @@ define INSTALL_CONFIGS
-e 's|^astrundir.*$$|astrundir => $(ASTVARRUNDIR)|' \
-e 's|^astlogdir.*$$|astlogdir => $(ASTLOGDIR)|' \
-e 's|^astsbindir.*$$|astsbindir => $(ASTSBINDIR)|' \
@@ -111,7 +111,7 @@
rm -f "$(DESTDIR)$(ASTCONFPATH).tmp" ; \
fi
endef
-@@ -780,7 +771,7 @@ adsi:
+@@ -822,7 +813,7 @@ adsi:
else \
echo "Installing $$x" ; \
fi ; \