summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-07-01 22:07:24 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-07-01 22:07:24 +0000
commitccc07a32b2c2c7069d80332335b5e2cd93463edd (patch)
treed3d6ab641c6ed26b3bfaae8c192c5fbe8af6e747 /net-misc/asterisk-app_ldap
parentadd firefox local use flag for dev-util/devhelp (diff)
downloadgentoo-2-ccc07a32b2c2c7069d80332335b5e2cd93463edd.tar.gz
gentoo-2-ccc07a32b2c2c7069d80332335b5e2cd93463edd.tar.bz2
gentoo-2-ccc07a32b2c2c7069d80332335b5e2cd93463edd.zip
Version bump and added permission fixup code
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc/asterisk-app_ldap')
-rw-r--r--net-misc/asterisk-app_ldap/ChangeLog8
-rw-r--r--net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.3.ebuild8
-rw-r--r--net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.5.ebuild48
-rw-r--r--net-misc/asterisk-app_ldap/files/digest-asterisk-app_ldap-0.9.51
4 files changed, 63 insertions, 2 deletions
diff --git a/net-misc/asterisk-app_ldap/ChangeLog b/net-misc/asterisk-app_ldap/ChangeLog
index 91813c91d130..a595d95cc5a2 100644
--- a/net-misc/asterisk-app_ldap/ChangeLog
+++ b/net-misc/asterisk-app_ldap/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/asterisk-app_ldap
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_ldap/ChangeLog,v 1.3 2005/05/10 11:59:22 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_ldap/ChangeLog,v 1.4 2005/07/01 22:07:24 stkn Exp $
+
+*asterisk-app_ldap-0.9.5 (02 Jul 2005)
+
+ 02 Jul 2005; Stefan Knoblich <stkn@gentoo.org>
+ asterisk-app_ldap-0.9.3.ebuild, +asterisk-app_ldap-0.9.5.ebuild:
+ Version bump and added permission fixup code.
10 May 2005; David Holm <dholm@gentoo.org> asterisk-app_ldap-0.9.3.ebuild:
Added to ~ppc.
diff --git a/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.3.ebuild b/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.3.ebuild
index 2574dbede739..0de3135c9db6 100644
--- a/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.3.ebuild
+++ b/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.3.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-app_ldap/asterisk-app_ldap-0.9.3.ebuild,v 1.2 2005/05/10 11:59:22 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.3.ebuild,v 1.3 2005/07/01 22:07:24 stkn Exp $
inherit eutils
@@ -39,4 +39,10 @@ src_install() {
make DESTDIR=${D} install || die
dodoc README ldap.conf
+
+ # fix permissions
+ if [[ -n "$(egetent group asterisk)" ]]; then
+ chown -R root:asterisk ${D}etc/asterisk
+ chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
+ fi
}
diff --git a/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.5.ebuild b/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.5.ebuild
new file mode 100644
index 000000000000..f8f5914288f5
--- /dev/null
+++ b/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_ldap/asterisk-app_ldap-0.9.5.ebuild,v 1.1 2005/07/01 22:07:24 stkn Exp $
+
+inherit eutils
+
+MY_PN="app_ldap"
+
+DESCRIPTION="Asterisk application plugin to do lookups in a LDAP directory"
+HOMEPAGE="http://www.mezzo.net/asterisk/"
+SRC_URI="http://www.mezzo.net/asterisk/${MY_PN}-${PV}.tgz"
+
+IUSE=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+# depends on iconv support
+DEPEND="sys-libs/glibc
+ >=net-nds/openldap-2.0.0
+ >=net-misc/asterisk-1.0.7-r1"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # use asterisk-config...
+ epatch ${FILESDIR}/${MY_PN}-0.9.3-astcfg.diff
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc CHANGES README ldap.conf
+
+ # fix permissions
+ if [[ -n "$(egetent group asterisk)" ]]; then
+ chown -R root:asterisk ${D}etc/asterisk
+ chmod -R u=rwX,g=rX,o= ${D}etc/asterisk
+ fi
+}
diff --git a/net-misc/asterisk-app_ldap/files/digest-asterisk-app_ldap-0.9.5 b/net-misc/asterisk-app_ldap/files/digest-asterisk-app_ldap-0.9.5
new file mode 100644
index 000000000000..35d1a9449059
--- /dev/null
+++ b/net-misc/asterisk-app_ldap/files/digest-asterisk-app_ldap-0.9.5
@@ -0,0 +1 @@
+MD5 4088dc85cb9dab4c9a320099c77dfbdb app_ldap-0.9.5.tgz 4887