Date: Tue, 21 Sep 2010 19:00:13 GMT From: Florian Smeets <flo@kasimir.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/144066: Upgrade net/asterisk16-addons to 1.6.2.0 Message-ID: <201009211900.o8LJ0Ddh029596@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/144066; it has been noted by GNATS. From: Florian Smeets <flo@kasimir.com> To: bug-followup@FreeBSD.org, tjudge@mintel.com Cc: TAKATSU Tomonari <tota@FreeBSD.org> Subject: Re: ports/144066: Upgrade net/asterisk16-addons to 1.6.2.0 Date: Tue, 21 Sep 2010 20:52:33 +0200 This is a multi-part message in MIME format. --------------060309070402030907090307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, here is an updated patch for 1.6.2.1 Cheers, Florian --------------060309070402030907090307 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="asterisk16-addons-1.6.2.1.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="asterisk16-addons-1.6.2.1.diff" diff -ruN --exclude=CVS /usr/ports/net/asterisk16-addons.orig/Makefile /usr/ports/net/asterisk16-addons/Makefile --- /usr/ports/net/asterisk16-addons.orig/Makefile 2010-09-21 07:43:02.000000000 +0200 +++ /usr/ports/net/asterisk16-addons/Makefile 2010-09-21 08:23:21.000000000 +0200 @@ -6,8 +6,7 @@ # PORTNAME= asterisk16-addons -PORTVERSION= 1.6.0.4 -PORTREVISION= 2 +PORTVERSION= 1.6.2.1 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ diff -ruN --exclude=CVS /usr/ports/net/asterisk16-addons.orig/distinfo /usr/ports/net/asterisk16-addons/distinfo --- /usr/ports/net/asterisk16-addons.orig/distinfo 2010-09-21 07:43:02.000000000 +0200 +++ /usr/ports/net/asterisk16-addons/distinfo 2010-09-21 08:23:26.000000000 +0200 @@ -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.1.tar.gz) = 95e33f22f53d58ac95c54d2c8b8d9d76 +SHA256 (asterisk-addons-1.6.2.1.tar.gz) = b45003a96cbcb5d7e22b312c2a8be1442f6dc105bf37df04f18e9b288771b83b +SIZE (asterisk-addons-1.6.2.1.tar.gz) = 880340 diff -ruN --exclude=CVS /usr/ports/net/asterisk16-addons.orig/files/patch-Makefile /usr/ports/net/asterisk16-addons/files/patch-Makefile --- /usr/ports/net/asterisk16-addons.orig/files/patch-Makefile 2010-09-21 07:43:01.000000000 +0200 +++ /usr/ports/net/asterisk16-addons/files/patch-Makefile 2010-09-21 16:03:29.000000000 +0200 @@ -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 -ruN --exclude=CVS /usr/ports/net/asterisk16-addons.orig/pkg-plist /usr/ports/net/asterisk16-addons/pkg-plist --- /usr/ports/net/asterisk16-addons.orig/pkg-plist 2010-09-21 07:43:02.000000000 +0200 +++ /usr/ports/net/asterisk16-addons/pkg-plist 2010-09-21 16:10:03.000000000 +0200 @@ -4,5 +4,9 @@ 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 --------------060309070402030907090307--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009211900.o8LJ0Ddh029596>