diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2006-05-06 15:23:38 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2006-05-06 15:23:38 +0000 |
commit | 27c7c90a0cfe4e125cc2e5bed573fe46e4744cc0 (patch) | |
tree | 136b418e59cae541697ffd0eee699c8210fef6a8 /net-misc/asterisk-cdr_shell | |
parent | Version bump, 0.6.4 is asterisk-1.2.x only, 0.6.5 verified to compile with 1.... (diff) | |
download | historical-27c7c90a0cfe4e125cc2e5bed573fe46e4744cc0.tar.gz historical-27c7c90a0cfe4e125cc2e5bed573fe46e4744cc0.tar.bz2 historical-27c7c90a0cfe4e125cc2e5bed573fe46e4744cc0.zip |
Version bump, 20060120 verified to compile with asterisk-1.2.x, block unsupported versions in DEPEND.
Package-Manager: portage-2.1_pre10
Diffstat (limited to 'net-misc/asterisk-cdr_shell')
5 files changed, 67 insertions, 5 deletions
diff --git a/net-misc/asterisk-cdr_shell/ChangeLog b/net-misc/asterisk-cdr_shell/ChangeLog index 9670d085b5b6..500760103442 100644 --- a/net-misc/asterisk-cdr_shell/ChangeLog +++ b/net-misc/asterisk-cdr_shell/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/asterisk-cdr_shell -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/ChangeLog,v 1.3 2005/08/16 16:45:07 stkn Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/ChangeLog,v 1.4 2006/05/06 15:16:25 stkn Exp $ + +*asterisk-cdr_shell-20060120 (06 May 2006) + + 06 May 2006; Stefan Knoblich <stkn@gentoo.org> + asterisk-cdr_shell-20050626.ebuild, +asterisk-cdr_shell-20060120.ebuild: + Version bump, 20060120 verified to compile with asterisk-1.2.x, block + unsupported versions in DEPEND. 16 Aug 2005; Stefan Knoblich <stkn@gentoo.org> +files/cdr_shell-20050626-ast1.2.diff, asterisk-cdr_shell-20050626.ebuild: diff --git a/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild index 54c6bb591712..2a479417a18a 100644 --- a/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild +++ b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild,v 1.3 2005/08/16 16:45:07 stkn Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20050626.ebuild,v 1.4 2006/05/06 15:16:25 stkn Exp $ inherit eutils @@ -14,7 +14,8 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~ppc ~x86" -DEPEND=">=net-misc/asterisk-1.0.7-r1" +DEPEND=">=net-misc/asterisk-1.0.7-r1 + !>=net-misc/asterisk-1.2.0" S=${WORKDIR}/${MY_PN} diff --git a/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild new file mode 100644 index 000000000000..6b49755209b0 --- /dev/null +++ b/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-cdr_shell/asterisk-cdr_shell-20060120.ebuild,v 1.1 2006/05/06 15:16:25 stkn Exp $ + +inherit eutils toolchain-funcs + +MY_PN="cdr_shell" + +DESCRIPTION="Asterisk plugin to use an external shell script for cdr handling" +HOMEPAGE="http://www.pbxfreeware.org/" +SRC_URI="http://www.netdomination.org/pub/asterisk/${P}.tar.bz2 + mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" + +DEPEND=">=net-misc/asterisk-1.2.0 + !=net-misc/asterisk-1.0*" + +S=${WORKDIR}/${MY_PN} + +src_unpack() { + unpack ${A} + cd ${S} + + # use asterisk-config + epatch ${FILESDIR}/${MY_PN}-20050626-astcfg.diff + + # <asterisk.h> -> <asterisk/asterisk.h> + sed -i -e "s:<asterisk\.h>:<asterisk/asterisk.h>:" \ + cdr_shell.c +} + +src_compile() { + emake -j1 || die "make failed" +} + +src_install() { + insinto /usr/$(get_libdir)/asterisk/modules + doins cdr_shell.so + + insinto /etc/asterisk + doins ${FILESDIR}/cdr.conf + + # fix permissions + chown -R root:asterisk ${D}etc/asterisk + chmod -R u=rwX,g=rX,o= ${D}etc/asterisk +} diff --git a/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20050626 b/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20050626 index 39c48e71ac38..4eaeb2a49ae3 100644 --- a/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20050626 +++ b/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20050626 @@ -1 +1,3 @@ MD5 98a327d774b60f49b7c823279206dcc1 asterisk-cdr_shell-20050626.tar.bz2 2505 +RMD160 e87c243c1b3220b5a2cf218c71d808e7747cf8b9 asterisk-cdr_shell-20050626.tar.bz2 2505 +SHA256 693cc7a50706770d4fcb218b17529aab0f204ea9287af62099a49e3913220c51 asterisk-cdr_shell-20050626.tar.bz2 2505 diff --git a/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20060120 b/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20060120 new file mode 100644 index 000000000000..d5ac00bf9bca --- /dev/null +++ b/net-misc/asterisk-cdr_shell/files/digest-asterisk-cdr_shell-20060120 @@ -0,0 +1,3 @@ +MD5 b5e028001e504a8460a82bbae614434d asterisk-cdr_shell-20060120.tar.bz2 2499 +RMD160 11a7563952868305a052702ad51a306fbfef0c07 asterisk-cdr_shell-20060120.tar.bz2 2499 +SHA256 cbfdd1f54dcc4eb5c4d23a90bbad82dad5e74e1f75a291155f0105c4544f783c asterisk-cdr_shell-20060120.tar.bz2 2499 |