aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2010-09-29 22:39:32 +0800
committertota <tota@FreeBSD.org>2010-09-29 22:39:32 +0800
commitd73eba310ff6325ad45e625defc2dd7931a62ef9 (patch)
treee60ab32008da41a32b763b44dc01baaa016dca17 /net
parent02328dd79a1dbf0d0a18621c127c5277e2840f78 (diff)
downloadfreebsd-ports-gnome-d73eba310ff6325ad45e625defc2dd7931a62ef9.tar.gz
freebsd-ports-gnome-d73eba310ff6325ad45e625defc2dd7931a62ef9.tar.zst
freebsd-ports-gnome-d73eba310ff6325ad45e625defc2dd7931a62ef9.zip
- Upgrade to 1.6.2.2, partially based on [2]
- Make portlint happier PR: ports/144066 [1] Submitted by: Tom Judge <tjudge_AT_mintel_DOT_com> [1] Patched by: Florian Smeets (maintainer) [2]
Diffstat (limited to 'net')
-rw-r--r--net/asterisk16-addons/Makefile8
-rw-r--r--net/asterisk16-addons/distinfo6
-rw-r--r--net/asterisk16-addons/files/patch-Makefile29
-rw-r--r--net/asterisk16-addons/pkg-plist8
4 files changed, 39 insertions, 12 deletions
diff --git a/net/asterisk16-addons/Makefile b/net/asterisk16-addons/Makefile
index 355dabb9996a..2aa5605fa8ad 100644
--- a/net/asterisk16-addons/Makefile
+++ b/net/asterisk16-addons/Makefile
@@ -5,13 +5,13 @@
# $FreeBSD$
#
-PORTNAME= asterisk16-addons
-PORTVERSION= 1.6.0.4
-PORTREVISION= 2
+PORTNAME= asterisk16
+PORTVERSION= 1.6.2.2
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
-DISTNAME= asterisk-addons-${DISTVERSION}
+PKGNAMESUFFIX= -addons
+DISTNAME= asterisk${PKGNAMESUFFIX}-${DISTVERSION}
MAINTAINER= flo@smeets.im
COMMENT= GPL modules for the Asterisk Open Source PBX
diff --git a/net/asterisk16-addons/distinfo b/net/asterisk16-addons/distinfo
index 7ebdb55fbabb..555c916a802a 100644
--- a/net/asterisk16-addons/distinfo
+++ b/net/asterisk16-addons/distinfo
@@ -1,3 +1,3 @@
-MD5 (asterisk-addons-1.6.0.4.tar.gz) = e713b13592759743e0e5cd9a687f4747
-SHA256 (asterisk-addons-1.6.0.4.tar.gz) = 5cfa64cecd0cfa57285496fba225de33fc5961612bb74af0dfb149af76c1c4c3
-SIZE (asterisk-addons-1.6.0.4.tar.gz) = 860428
+MD5 (asterisk-addons-1.6.2.2.tar.gz) = cc1967111965a4c5515d1b6be7c16a0a
+SHA256 (asterisk-addons-1.6.2.2.tar.gz) = 99c42d58f2bb83cccaf152a9dd863463c016e3ffc9cff01bf34ea454975d7d93
+SIZE (asterisk-addons-1.6.2.2.tar.gz) = 885514
diff --git a/net/asterisk16-addons/files/patch-Makefile b/net/asterisk16-addons/files/patch-Makefile
index c72ec60cbf09..bb6a1850c473 100644
--- a/net/asterisk16-addons/files/patch-Makefile
+++ b/net/asterisk16-addons/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 2008-09-12 18:21:53.000000000 +0000
-+++ Makefile 2009-02-17 12:48:55.000000000 +0000
+--- Makefile.orig 2009-12-19 14:51:24.000000000 +0100
++++ Makefile 2010-09-21 16:03:27.000000000 +0200
@@ -26,7 +26,9 @@
ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR))
@@ -11,4 +11,27 @@
# If the file .asteriskaddons.makeopts is present in your home directory, you can
# include all of your favorite menuselect options so that every time you download
-
+@@ -218,19 +220,19 @@
+ samples:
+ mkdir -p $(DESTDIR)$(ASTETCDIR)
+ for x in configs/*.sample; do \
+- if [ -f $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample` ]; then \
++ if [ -f $(DESTDIR)$(ASTETCDIR)/`basename $$x` ]; then \
+ if [ "$(OVERWRITE)" = "y" ]; then \
+- if cmp -s $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample` $$x ; then \
++ if cmp -s $(DESTDIR)$(ASTETCDIR)/`basename $$x` $$x ; then \
+ echo "Config file $$x is unchanged"; \
+ continue; \
+ fi ; \
+- mv -f $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample` $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample`.old ; \
++ mv -f $(DESTDIR)$(ASTETCDIR)/`basename $$x` $(DESTDIR)$(ASTETCDIR)/`basename $$x`.old ; \
+ else \
+ echo "Skipping config file $$x"; \
+ continue; \
+ fi ;\
+ fi ; \
+- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`basename $$x .sample` ;\
++ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`basename $$x` ;\
+ done
+
+ doc/addons-en_US.xml: $(foreach dir,$(MOD_SUBDIRS),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc))
diff --git a/net/asterisk16-addons/pkg-plist b/net/asterisk16-addons/pkg-plist
index f53cedf9e3fb..7a53fdc2f314 100644
--- a/net/asterisk16-addons/pkg-plist
+++ b/net/asterisk16-addons/pkg-plist
@@ -4,5 +4,9 @@ lib/asterisk/modules/cdr_addon_mysql.so
lib/asterisk/modules/res_config_mysql.so
lib/asterisk/modules/format_mp3.so
lib/asterisk/modules/chan_ooh323.so
-%%SAMPLE_CONFIG%%etc/asterisk/cdr_mysql.conf
-%%SAMPLE_CONFIG%%etc/asterisk/res_mysql.conf
+share/asterisk/documentation/addons-en_US.xml
+%%SAMPLE_CONFIG%%etc/asterisk/cdr_mysql.conf.sample
+%%SAMPLE_CONFIG%%etc/asterisk/mobile.conf.sample
+%%SAMPLE_CONFIG%%etc/asterisk/mysql.conf.sample
+%%SAMPLE_CONFIG%%etc/asterisk/ooh323.conf.sample
+%%SAMPLE_CONFIG%%etc/asterisk/res_mysql.conf.sample