summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-09-19 18:24:06 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-09-19 18:24:06 +0000
commit5061b67c7ae50fb99e2ce94bdcfbb9d0d1952a77 (patch)
tree31bb9089e2e22ccc1b4ea0f51f7a549b9003ec26 /net-misc/asterisk-chan_unistim
parentold (diff)
downloadhistorical-5061b67c7ae50fb99e2ce94bdcfbb9d0d1952a77.tar.gz
historical-5061b67c7ae50fb99e2ce94bdcfbb9d0d1952a77.tar.bz2
historical-5061b67c7ae50fb99e2ce94bdcfbb9d0d1952a77.zip
Added code to fix permissions of config files and marked stable on x86.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-misc/asterisk-chan_unistim')
-rw-r--r--net-misc/asterisk-chan_unistim/ChangeLog6
-rw-r--r--net-misc/asterisk-chan_unistim/Manifest6
-rw-r--r--net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.2.ebuild11
3 files changed, 17 insertions, 6 deletions
diff --git a/net-misc/asterisk-chan_unistim/ChangeLog b/net-misc/asterisk-chan_unistim/ChangeLog
index a5d0a80aa7f0..5cbfc73edbef 100644
--- a/net-misc/asterisk-chan_unistim/ChangeLog
+++ b/net-misc/asterisk-chan_unistim/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/asterisk-chan_unistim
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_unistim/ChangeLog,v 1.3 2005/08/27 20:27:25 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_unistim/ChangeLog,v 1.4 2005/09/19 18:24:06 stkn Exp $
+
+ 19 Sep 2005; Stefan Knoblich <stkn@gentoo.org>
+ asterisk-chan_unistim-0.9.2.ebuild:
+ Added code to fix permissions of config files and marked stable on x86.
27 Aug 2005; <stkn@gentoo.org> asterisk-chan_unistim-0.9.2.ebuild:
Added blocker for >=1.1.0 (does not work with 1.2.0 at the moment)
diff --git a/net-misc/asterisk-chan_unistim/Manifest b/net-misc/asterisk-chan_unistim/Manifest
index 12ac46884735..9d96a90de629 100644
--- a/net-misc/asterisk-chan_unistim/Manifest
+++ b/net-misc/asterisk-chan_unistim/Manifest
@@ -1,5 +1,5 @@
-MD5 1387de55dbc6aa05d4e4d432d1819101 asterisk-chan_unistim-0.9.2.ebuild 1040
+MD5 917f0f4d1ea3db95d5c2da7ef53af2b9 asterisk-chan_unistim-0.9.2.ebuild 1226
MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248
-MD5 e17ab1dbafd0ec493a27cf2ee21f8583 ChangeLog 676
-MD5 9ae3094eb04050f9e75039f3b326bac8 files/chan_unistim-0.9.2-gentoo.diff 1367
+MD5 d182b91f1f7be0407a58e75ee2e0d6d4 ChangeLog 838
MD5 f0678d1843ce2d23377a81330b2e16d4 files/digest-asterisk-chan_unistim-0.9.2 70
+MD5 9ae3094eb04050f9e75039f3b326bac8 files/chan_unistim-0.9.2-gentoo.diff 1367
diff --git a/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.2.ebuild b/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.2.ebuild
index 7242541a2cc6..344ca2e8c495 100644
--- a/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.2.ebuild
+++ b/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.2.ebuild,v 1.3 2005/08/27 20:27:25 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_unistim/asterisk-chan_unistim-0.9.2.ebuild,v 1.4 2005/09/19 18:24:06 stkn Exp $
inherit eutils
@@ -12,7 +12,7 @@ SRC_URI="http://mlkj.net/asterisk/${MY_PN}-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~ppc x86"
IUSE=""
@@ -36,6 +36,13 @@ src_install() {
make INSTALL_PREFIX=${D} install config || die "make install failed"
dodoc README unistim.conf
+
+ # fix permissions
+ if [[ -n "$(egetent group asterisk)" ]]; then
+ einfo "Fixing permissions..."
+ chown -R root:asterisk ${D}etc/asterisk
+ chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
+ fi
}
pkg_postinst() {