diff options
author | flo <flo@FreeBSD.org> | 2011-01-18 01:51:02 +0800 |
---|---|---|
committer | flo <flo@FreeBSD.org> | 2011-01-18 01:51:02 +0800 |
commit | c32368735c79717fe4b12da2bca56fafc5c48c64 (patch) | |
tree | 780a10c4a311697bce32fd376888170d178ecf7f /net | |
parent | c251ba550d2a620ac5c8790ecad3ad2b6f5217e9 (diff) | |
download | freebsd-ports-gnome-c32368735c79717fe4b12da2bca56fafc5c48c64.tar.gz freebsd-ports-gnome-c32368735c79717fe4b12da2bca56fafc5c48c64.tar.zst freebsd-ports-gnome-c32368735c79717fe4b12da2bca56fafc5c48c64.zip |
- update to 1.8.2
- fix config file permissions
PR: ports/154002
Submitted by: Alexander Brovikov <alexander@brovikov.ru>
Approved by: jadawin (mentor)
Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r-- | net/asterisk/Makefile | 3 | ||||
-rw-r--r-- | net/asterisk/distinfo | 4 | ||||
-rw-r--r-- | net/asterisk/files/patch-Makefile | 24 | ||||
-rw-r--r-- | net/asterisk10/Makefile | 3 | ||||
-rw-r--r-- | net/asterisk10/distinfo | 4 | ||||
-rw-r--r-- | net/asterisk10/files/patch-Makefile | 24 |
6 files changed, 30 insertions, 32 deletions
diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile index 92fa3d13a758..b6e21e683de0 100644 --- a/net/asterisk/Makefile +++ b/net/asterisk/Makefile @@ -6,8 +6,7 @@ # PORTNAME= asterisk -PORTVERSION= 1.8.1.1 -PORTREVISION= 1 +PORTVERSION= 1.8.2 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ diff --git a/net/asterisk/distinfo b/net/asterisk/distinfo index fcaa48a51b0f..2d24845feee6 100644 --- a/net/asterisk/distinfo +++ b/net/asterisk/distinfo @@ -1,2 +1,2 @@ -SHA256 (asterisk-1.8.1.1.tar.gz) = 71016372d81dd6c0b2977b8994aa626afa8aa71a2379005fc8fe30625ceedafa -SIZE (asterisk-1.8.1.1.tar.gz) = 26198619 +SHA256 (asterisk-1.8.2.tar.gz) = 864a66bd2c6bed2799d5e42f3b71ad4ce13715aa615bf1a50fb7fb6233f4d42e +SIZE (asterisk-1.8.2.tar.gz) = 26237515 diff --git a/net/asterisk/files/patch-Makefile b/net/asterisk/files/patch-Makefile index 9d703bcc2ea5..20cf399c3504 100644 --- a/net/asterisk/files/patch-Makefile +++ b/net/asterisk/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig 2010-12-28 10:32:35.000000000 +0100 -+++ Makefile 2010-12-28 10:33:10.000000000 +0100 +--- Makefile.orig 2010-12-08 03:51:05.000000000 +0500 ++++ Makefile 2011-01-15 04:05:06.000000000 +0500 @@ -122,7 +122,7 @@ OVERWRITE=y @@ -23,16 +23,16 @@ ifeq ($(PROC),ppc) _ASTCFLAGS+=-fsigned-char -@@ -232,7 +234,7 @@ - - ifeq ($(OSARCH),FreeBSD) +@@ -235,7 +237,7 @@ + _ASTCFLAGS+=-march=i686 + endif # -V is understood by BSD Make, not by GNU make. - BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk) + BSDVERSION=$(OSVERSION) _ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi) endif -@@ -460,13 +462,17 @@ +@@ -463,13 +465,17 @@ done $(INSTALL) -m 644 doc/core-en_US.xml $(DESTDIR)$(ASTDATADIR)/static-http; if [ -d doc/tex/asterisk ] ; then \ @@ -53,7 +53,7 @@ done $(MAKE) -C sounds install -@@ -526,6 +532,7 @@ +@@ -529,6 +535,7 @@ $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/dictate" $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/meetme" $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/monitor" @@ -61,7 +61,7 @@ $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/system" $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/tmp" $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/voicemail" -@@ -547,6 +554,7 @@ +@@ -550,6 +557,7 @@ $(INSTALL) -d "$(DESTDIR)$(ASTDATADIR)/static-http" $(INSTALL) -d "$(DESTDIR)$(ASTMANDIR)/man8" $(INSTALL) -d "$(DESTDIR)$(AGI_DIR)" @@ -69,7 +69,7 @@ bininstall: _all installdirs $(SUBDIRS_INSTALL) $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/ -@@ -606,7 +614,7 @@ +@@ -609,7 +617,7 @@ @exit 1 endif @@ -78,7 +78,7 @@ @if [ -x /usr/sbin/asterisk-post-install ]; then \ /usr/sbin/asterisk-post-install $(DESTDIR) . ; \ fi -@@ -648,29 +656,18 @@ +@@ -651,29 +659,18 @@ else \ echo "Installing $$x" ; \ fi ; \ @@ -101,9 +101,9 @@ - echo "Skipping config file $$x"; \ - continue; \ - fi ;\ -+ $(INSTALL) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ; \ ++ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ; \ + if [ ! -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \ -+ $(INSTALL) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`; \ ++ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`; \ fi ; \ - echo "Installing file $$x"; \ - $(INSTALL) -m 644 $$x $${dst} ;\ diff --git a/net/asterisk10/Makefile b/net/asterisk10/Makefile index 92fa3d13a758..b6e21e683de0 100644 --- a/net/asterisk10/Makefile +++ b/net/asterisk10/Makefile @@ -6,8 +6,7 @@ # PORTNAME= asterisk -PORTVERSION= 1.8.1.1 -PORTREVISION= 1 +PORTVERSION= 1.8.2 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ diff --git a/net/asterisk10/distinfo b/net/asterisk10/distinfo index fcaa48a51b0f..2d24845feee6 100644 --- a/net/asterisk10/distinfo +++ b/net/asterisk10/distinfo @@ -1,2 +1,2 @@ -SHA256 (asterisk-1.8.1.1.tar.gz) = 71016372d81dd6c0b2977b8994aa626afa8aa71a2379005fc8fe30625ceedafa -SIZE (asterisk-1.8.1.1.tar.gz) = 26198619 +SHA256 (asterisk-1.8.2.tar.gz) = 864a66bd2c6bed2799d5e42f3b71ad4ce13715aa615bf1a50fb7fb6233f4d42e +SIZE (asterisk-1.8.2.tar.gz) = 26237515 diff --git a/net/asterisk10/files/patch-Makefile b/net/asterisk10/files/patch-Makefile index 9d703bcc2ea5..20cf399c3504 100644 --- a/net/asterisk10/files/patch-Makefile +++ b/net/asterisk10/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig 2010-12-28 10:32:35.000000000 +0100 -+++ Makefile 2010-12-28 10:33:10.000000000 +0100 +--- Makefile.orig 2010-12-08 03:51:05.000000000 +0500 ++++ Makefile 2011-01-15 04:05:06.000000000 +0500 @@ -122,7 +122,7 @@ OVERWRITE=y @@ -23,16 +23,16 @@ ifeq ($(PROC),ppc) _ASTCFLAGS+=-fsigned-char -@@ -232,7 +234,7 @@ - - ifeq ($(OSARCH),FreeBSD) +@@ -235,7 +237,7 @@ + _ASTCFLAGS+=-march=i686 + endif # -V is understood by BSD Make, not by GNU make. - BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk) + BSDVERSION=$(OSVERSION) _ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi) endif -@@ -460,13 +462,17 @@ +@@ -463,13 +465,17 @@ done $(INSTALL) -m 644 doc/core-en_US.xml $(DESTDIR)$(ASTDATADIR)/static-http; if [ -d doc/tex/asterisk ] ; then \ @@ -53,7 +53,7 @@ done $(MAKE) -C sounds install -@@ -526,6 +532,7 @@ +@@ -529,6 +535,7 @@ $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/dictate" $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/meetme" $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/monitor" @@ -61,7 +61,7 @@ $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/system" $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/tmp" $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/voicemail" -@@ -547,6 +554,7 @@ +@@ -550,6 +557,7 @@ $(INSTALL) -d "$(DESTDIR)$(ASTDATADIR)/static-http" $(INSTALL) -d "$(DESTDIR)$(ASTMANDIR)/man8" $(INSTALL) -d "$(DESTDIR)$(AGI_DIR)" @@ -69,7 +69,7 @@ bininstall: _all installdirs $(SUBDIRS_INSTALL) $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/ -@@ -606,7 +614,7 @@ +@@ -609,7 +617,7 @@ @exit 1 endif @@ -78,7 +78,7 @@ @if [ -x /usr/sbin/asterisk-post-install ]; then \ /usr/sbin/asterisk-post-install $(DESTDIR) . ; \ fi -@@ -648,29 +656,18 @@ +@@ -651,29 +659,18 @@ else \ echo "Installing $$x" ; \ fi ; \ @@ -101,9 +101,9 @@ - echo "Skipping config file $$x"; \ - continue; \ - fi ;\ -+ $(INSTALL) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ; \ ++ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ; \ + if [ ! -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \ -+ $(INSTALL) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`; \ ++ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`; \ fi ; \ - echo "Installing file $$x"; \ - $(INSTALL) -m 644 $$x $${dst} ;\ |