Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2010 22:30:06 GMT
From:      Florian Smeets <flo@smeets.im>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/144066: Upgrade net/asterisk16-addons to 1.6.2.0
Message-ID:  <201009242230.o8OMU5ws080527@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@smeets.im>
To: bug-followup@FreeBSD.org
Cc: TAKATSU Tomonari <tota@FreeBSD.org>
Subject: Re: ports/144066: Upgrade net/asterisk16-addons to 1.6.2.0
Date: Sat, 25 Sep 2010 00:21:56 +0200

 This is a multi-part message in MIME format.
 --------------050605040306090103030305
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Here is the update to 1.6.2.2.
 
 Cheers,
 Florian
 
 --------------050605040306090103030305
 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
  name="asterisk16-addons-1.6.2.2.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="asterisk16-addons-1.6.2.2.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-24 14:19:23.000000000 +0200
 @@ -6,8 +6,7 @@
  #
  
  PORTNAME=	asterisk16-addons
 -PORTVERSION=	1.6.0.4
 -PORTREVISION=	2
 +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/
 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-24 14:19:29.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.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 -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
 
 --------------050605040306090103030305--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009242230.o8OMU5ws080527>