The current asterisk ebuild is for version 0.2. Since Apr 11, 2003 there is v0.4 available (see ftp://ftp.asterisk.org/pub/telephony/asterisk). Please note that asterisk.org suggests to download a cvs version (see http://www.asterisk.org/index.php?menu=download) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 16401 [details] Asterisk 0.4.0 ebuild
Created attachment 16402 [details] Asterisk 0.4.0 ebuild
--- snip --- nefeli tmp # emerge /tmp/asterisk-0.4.0.ebuild Calculating dependencies \!!! aux_get(): ebuild for '/asterisk-0.4.0' does not exist at: !!! /usr/portage//asterisk/asterisk-0.4.0.ebuild emerge: create(): aux_get() error on /asterisk-0.4.0; aborting... nefeli tmp # --- snip --- Am I doing something wrong?
Any chance you could post an ebuild for Astersk 0.5.0? Thanks.
Using your 0.4.0 ebuild, the system compiled up okay but I get this error when rebooting asterisk: WARNING[16384]: File asterisk.c, Line 1334 (main): Unable to open pid file '/var/tmp/portage/asterisk-0.5.0/image//var/run/asterisk.pid': No such file or directory WARNING[16384]: File asterisk.c, Line 285 (ast_makesocket): Unable to bind socket to /var/tmp/portage/asterisk-0.5.0/image//var/run/asterisk.ctl: No such file or directory == Parsing '/etc/asterisk/asterisk.conf': Found Asterisk 0.5.0, Copyright (C) 1999-2001 Linux Support Services, Inc. Written by Mark Spencer <markster@linux-support.net> ========================================================================= ERROR[16384]: File logger.c, Line 194 (init_logger): Unable to create event log: No such file or directory == Parsing '/var/tmp/portage/asterisk-0.5.0/image//etc/asterisk/logger.conf': Not found (No such file or directory) bash-2.05b$ There seems to be some kind of comfusion here. BTW, I just renamed your 0.4.0 ebuild to see if it works with 0.5. Any help you can offer getting this ebuild to work would be much appreciated. Sal
Hi, could you try this diff ? <DIFF> diff -ur asterisk-0.2.0.ebuild asterisk-0.5.0.ebuild --- asterisk-0.2.0.ebuild 2003-11-30 01:35:27.000000000 +0100 +++ asterisk-0.5.0.ebuild 2003-11-30 02:51:43.307244888 +0100 @@ -1,4 +1,4 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +#Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-0.2.0.ebuild,v 1.6 2003/10/03 07:17:55 seemant Exp $ @@ -18,17 +18,17 @@ doc? ( app-doc/doxygen )" src_compile() { - - emake || die - - # One small error in Makefile - sed -i 's:mkdir -p /etc/asterisk:mkdir -p $(INSTALL_PREFIX)/etc/asterisk:' \ - ${S}/Makefile + #For some reason emake dies for me, because it cannot find ringtone.h + make || die "emake failed." } src_install () { - make INSTALL_PREFIX=${D} install || die make INSTALL_PREFIX=${D} samples || die use doc && make INSTALL_PREFIX=${D} progdocs } + +pkg_preinst() { + sed -i 's:\/var\/tmp\/portage\/asterisk-0.5.0\/image\/::' \ + ${D}etc/${PN}/asterisk.conf +} </DIFF> Good luck, Rigo
Created attachment 21487 [details] asterisk-0.5.0.ebuild
Asterisk has a new maintainer, this is fixed for awhile.. closing.