diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-07-01 22:07:24 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-07-01 22:07:24 +0000 |
commit | 82febbddb1accb7817f1467b95d68b66eba14918 (patch) | |
tree | 183ed3560723ea7c2a4674034e3c570f24eb1779 /net-misc/asterisk-app_ldap | |
parent | add firefox local use flag for dev-util/devhelp (diff) | |
download | historical-82febbddb1accb7817f1467b95d68b66eba14918.tar.gz historical-82febbddb1accb7817f1467b95d68b66eba14918.tar.bz2 historical-82febbddb1accb7817f1467b95d68b66eba14918.zip |
Version bump and added permission fixup code
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-misc/asterisk-app_ldap')
5 files changed, 67 insertions, 4 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/Manifest b/net-misc/asterisk-app_ldap/Manifest index 1cbe8f33b356..824e6522bdb3 100644 --- a/net-misc/asterisk-app_ldap/Manifest +++ b/net-misc/asterisk-app_ldap/Manifest @@ -1,5 +1,7 @@ -MD5 4d433f737eb155e4b765d8970bc4dff8 ChangeLog 619 -MD5 2608b61d9b4bea7fb6dd764ae7e19646 asterisk-app_ldap-0.9.3.ebuild 881 +MD5 39a1ce4dc3f0d5799d3ff346783c350d asterisk-app_ldap-0.9.5.ebuild 1043 MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217 +MD5 54514e3351dedbaf91c63689b711c9fc ChangeLog 823 +MD5 3a225cdd07eee9b37cf65e5eff250e97 asterisk-app_ldap-0.9.3.ebuild 1035 MD5 0d0c9b47bd8720b3bb4bea7bfe2053ec files/app_ldap-0.9.3-astcfg.diff 941 MD5 f82fd8387708115040b7e9150ac8e645 files/digest-asterisk-app_ldap-0.9.3 61 +MD5 7b6dea3de0993b3fa31f6184ad83a054 files/digest-asterisk-app_ldap-0.9.5 61 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 |