diff options
6 files changed, 99 insertions, 0 deletions
diff --git a/net-misc/asterisk-app_authenticate_ldap/ChangeLog b/net-misc/asterisk-app_authenticate_ldap/ChangeLog new file mode 100644 index 000000000000..6651b9417218 --- /dev/null +++ b/net-misc/asterisk-app_authenticate_ldap/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-misc/asterisk-app_authenticate_ldap +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_authenticate_ldap/ChangeLog,v 1.1 2005/08/27 22:25:39 stkn Exp $ + +*asterisk-app_authenticate_ldap-0.1.3 (28 Aug 2005) + + 28 Aug 2005; Stefan Knoblich <stkn@gentoo.org> + +files/app_authenticate_ldap-0.1.3-astcfg.diff, +metadata.xml, + +asterisk-app_authenticate_ldap-0.1.3.ebuild: + Initial import. + diff --git a/net-misc/asterisk-app_authenticate_ldap/Manifest b/net-misc/asterisk-app_authenticate_ldap/Manifest new file mode 100644 index 000000000000..31ba92808cae --- /dev/null +++ b/net-misc/asterisk-app_authenticate_ldap/Manifest @@ -0,0 +1,5 @@ +MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217 +MD5 2e328a08142aaf854bc82cd7dcfa4134 ChangeLog 483 +MD5 b0d754405e1ce8015f192bc00acab12e asterisk-app_authenticate_ldap-0.1.3.ebuild 929 +MD5 c9076cee173573fe658a9609d0393d17 files/app_authenticate_ldap-0.1.3-astcfg.diff 664 +MD5 47a5d7381d6197fabb4b49eafdaad2a9 files/digest-asterisk-app_authenticate_ldap-0.1.3 77 diff --git a/net-misc/asterisk-app_authenticate_ldap/asterisk-app_authenticate_ldap-0.1.3.ebuild b/net-misc/asterisk-app_authenticate_ldap/asterisk-app_authenticate_ldap-0.1.3.ebuild new file mode 100644 index 000000000000..384ccef6cf96 --- /dev/null +++ b/net-misc/asterisk-app_authenticate_ldap/asterisk-app_authenticate_ldap-0.1.3.ebuild @@ -0,0 +1,42 @@ +# 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_authenticate_ldap/asterisk-app_authenticate_ldap-0.1.3.ebuild,v 1.1 2005/08/27 22:25:39 stkn Exp $ + +inherit eutils + +MY_PN="app_authenticate_ldap" + +DESCRIPTION="Asterisk application plugin for authentication using LDAP" +HOMEPAGE="http://www.ionidea.ua/oss/asterisk/" +SRC_URI="http://www.ionidea.ua/oss/asterisk/${MY_PN}-${PV}.tar.gz" + +IUSE="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +# depends on iconv support +DEPEND="sys-libs/glibc + >=net-misc/asterisk-1.0.7-r1 + net-misc/asterisk-app_ldap" + +S=${WORKDIR}/apps + +src_unpack() { + unpack ${A} + + cd ${S} + # use asterisk-config... + epatch ${FILESDIR}/${MY_PN}-0.1.3-astcfg.diff +} + +src_compile() { + emake -j1 || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc README.Authenticate_LDAP +} diff --git a/net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-astcfg.diff b/net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-astcfg.diff new file mode 100644 index 000000000000..1cda72e1523a --- /dev/null +++ b/net-misc/asterisk-app_authenticate_ldap/files/app_authenticate_ldap-0.1.3-astcfg.diff @@ -0,0 +1,32 @@ +--- Makefile.orig 1970-01-01 00:00:00.000000000 +0000 ++++ Makefile 2005-01-26 20:30:27.009331696 +0000 +@@ -0,0 +1,29 @@ ++ ++CC?=gcc ++ASTCONFIG?=/usr/bin/asterisk-config ++ ++TARGET=app_authenticate_ldap.so ++ ++CFLAGS=$(shell $(ASTCONFIG) --cflags) -fPIC -DPIC ++SOLINK=$(shell $(ASTCONFIG) --solink) ++LIBS= ++ ++ASTMODDIR=$(shell $(ASTCONFIG) --modulesdir) ++ ++all: .depend $(TARGET) ++ ++.depend: ++ @if [ ! -x $(ASTCONFIG) ]; then \ ++ echo "$(ASTCONFIG) not found!"; \ ++ exit 255; \ ++ fi ++ ++.c.o: ++ $(CC) -c $(CFLAGS) -o $@ $< ++ ++$(TARGET): $(TARGET:%.so=%.o) ++ $(CC) $(SOLINK) -o $@ $< $(LIBS) ++ ++install: ++ install -D -m755 $(TARGET) $(DESTDIR)$(ASTMODDIR)/$(TARGET) ++ diff --git a/net-misc/asterisk-app_authenticate_ldap/files/digest-asterisk-app_authenticate_ldap-0.1.3 b/net-misc/asterisk-app_authenticate_ldap/files/digest-asterisk-app_authenticate_ldap-0.1.3 new file mode 100644 index 000000000000..47d6ce8c1ee8 --- /dev/null +++ b/net-misc/asterisk-app_authenticate_ldap/files/digest-asterisk-app_authenticate_ldap-0.1.3 @@ -0,0 +1 @@ +MD5 4bfb79c08dfc2920435b1350f39f25c5 app_authenticate_ldap-0.1.3.tar.gz 2770 diff --git a/net-misc/asterisk-app_authenticate_ldap/metadata.xml b/net-misc/asterisk-app_authenticate_ldap/metadata.xml new file mode 100644 index 000000000000..a3cddc42f9cc --- /dev/null +++ b/net-misc/asterisk-app_authenticate_ldap/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>voip</herd> +<maintainer> + <email>stkn@gentoo.org</email> +</maintainer> +</pkgmetadata> |