Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58439 - asterisk-CVS, zaptel-CVS, and libpri-CVS ebuilds.
Summary: asterisk-CVS, zaptel-CVS, and libpri-CVS ebuilds.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 09:58 UTC by Daniel Jimenez
Modified: 2005-11-25 03:39 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
asterisk-cvs-0.6.ebuild (asterisk-cvs-0.6.ebuild,1.59 KB, application/octet-stream)
2004-07-26 10:03 UTC, Daniel Jimenez
Details
asterisk.rc6 (asterisk.rc6,701 bytes, application/octet-stream)
2004-07-26 10:04 UTC, Daniel Jimenez
Details
zaptel-cvs-0.8.ebuild (zaptel-cvs-0.8.ebuild,2.33 KB, application/octet-stream)
2004-07-26 10:05 UTC, Daniel Jimenez
Details
zaptel-cvs-modulesd.patch (zaptel-cvs-modulesd.patch,1.61 KB, text/x-patch)
2004-07-26 10:05 UTC, Daniel Jimenez
Details
libpri-cvs-0.1.ebuild (libpri-cvs-0.1.ebuild,618 bytes, application/octet-stream)
2004-07-26 10:06 UTC, Daniel Jimenez
Details
modulesd patch failed (zaptel-cvs-modulesd.patch-11954.out,2.66 KB, text/plain)
2004-10-12 16:36 UTC, Salim Fadhley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Jimenez 2004-07-26 09:58:09 UTC
These ebuild pull from Digium's CVS for Asterisk. This is the primary means that a majority of Asterisk users use to keep Asterisk up-to-date. I realized that 1.0 is about to be released but some will still continue to use CVS.

There is a previous bug opened for this, but it has been ignored for quite some time.

Reproducible: Always
Steps to Reproduce:
Comment 1 Daniel Jimenez 2004-07-26 10:03:40 UTC
Created attachment 36203 [details]
asterisk-cvs-0.6.ebuild

Version 0.6 of the asterisk-cvs ebuild.
Comment 2 Daniel Jimenez 2004-07-26 10:04:38 UTC
Created attachment 36204 [details]
asterisk.rc6

asterisk-cvs initscript to go in net-misc/asterisk-cvs/files
Comment 3 Daniel Jimenez 2004-07-26 10:05:06 UTC
Created attachment 36205 [details]
zaptel-cvs-0.8.ebuild

Version 0.8 of the Zaptel-CVS ebuild
Comment 4 Daniel Jimenez 2004-07-26 10:05:58 UTC
Created attachment 36206 [details]
zaptel-cvs-modulesd.patch

Zaptel patch to go in net-misc/zaptel-cvs/files
Comment 5 Daniel Jimenez 2004-07-26 10:06:24 UTC
Created attachment 36207 [details]
libpri-cvs-0.1.ebuild

Version 0.1 of the libpri ebuild.
Comment 6 Daniel Jimenez 2004-07-26 10:08:46 UTC
This ebuild works perfectly. The asterisk-cvs ebuild will use libpri or zaptel based on use flags. It also has a "docs" and "samples" use flags for documentation and sample configs.
Comment 7 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-07-26 21:07:53 UTC
see also bug #33345.
Comment 8 Daniel Jimenez 2004-07-26 22:52:21 UTC
Yes, I know. I updated these ebuilds and that bug hasn't been looked at in the over 6 months it's been up.
Comment 9 Urgo 2004-07-31 19:49:04 UTC
After I got the files in the correct places both zaptel-cvs and asterisk-cvs installed without a hitch.  libpri-cvs had a sandbox access violation but I don't belive I need it anyway.  Thanks for the cvs ebuild.

*CLI> show version
Asterisk CVS-HEAD-07/31/04-22:25:26 built by root@moria.urgo.org on a i686 running Linux


# ACCEPT_KEYWORDS="~x86" emerge libpri-cvs                        
Calculating dependencies ...done!
>>> emerge (1 of 1) net-libs/libpri-cvs-0.1 to /
>>> Unpacking source...
 * Fetching CVS module libpri into /usr/portage/distfiles/cvs-src/libpri-cvs...
 * Running  cvs -q -f -z4 -d ":pserver:anoncvs:anoncvs@cvs.digium.com:/usr/cvsroot" login
Logging in to :pserver:anoncvs@cvs.digium.com:2401/usr/cvsroot
 * Running  cvs -q -f -z4 -d ":pserver:anoncvs@cvs.digium.com:/usr/cvsroot" update -dP libpri
 * Copying libpri from /usr/portage/distfiles/cvs-src/libpri-cvs...
 * CVS module libpri is now in /var/tmp/portage/libpri-cvs-0.1/work
>>> Source unpacked.
Makefile:83: .depend: No such file or directory
./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   `ls *.c`
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o pri.o pri.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o q921.o q921.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o prisched.o prisched.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g     -c -o q931.o q931.c
ar rcs libpri.a pri.o q921.o prisched.o q931.o
ranlib libpri.a
gcc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   -o pri.lo -c pri.c
gcc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   -o q921.lo -c q921.c
gcc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   -o prisched.lo -c prisched.c
gcc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g   -o q931.lo -c q931.c
gcc -shared -Wl,-soname,libpri.so.1 -o libpri.so.1.0 pri.lo q921.lo prisched.lo q931.lo
/sbin/ldconfig -n .
ln -sf libpri.so.1 libpri.so
make: Nothing to be done for `all'.

>>> Install libpri-cvs-0.1 into /var/tmp/portage/libpri-cvs-0.1/image/ category net-libs
mkdir -p /usr/lib
mkdir -p /usr/include
install -m 644 libpri.h /usr/include
ACCESS DENIED  open_wr:   /usr/include/libpri.h
install: cannot create regular file `/usr/include/libpri.h': Permission denied
make: *** [install] Error 1

!!! ERROR: net-libs/libpri-cvs-0.1 failed.
!!! Function src_install, Line 32, Exitcode 2
!!! make install failed

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-libs_-_libpri-cvs-0.1-2953.log"

open_wr:   /usr/include/libpri.h
--------------------------------------------------------------------------------
Comment 10 Tony Robin 2004-08-02 07:38:39 UTC
There is a typo in asterisk-cvs-0.6.ebuild : the IUSE flag used for the documentation is "doc" as usually seen in ebuilds, but anywhere else in this ebuild it appears as "docs". It is advisable to use "doc" anywhere.
Comment 11 Miguel Gimenez 2004-08-13 21:53:03 UTC
The problem with libpri-cvs is in the make install line

It should be:
make INSTALL_PREFIX=${D} ARCH=${MY_ARCH} install || die "make install failed"
Comment 12 Remco Barendse 2004-09-08 12:34:34 UTC
Asterisk 1.0 will be released / presented at Astricon. Will the ebuild be replaced by an ebuild for 1.0 then? (RC2 was already released about 2 weeks ago).
Comment 13 Urgo 2004-09-23 10:30:07 UTC
as Remco Barendse announced, 1.0 was released today and if you use the cvs ebuilds today you'll get version 1.0.

*CLI> show version
Asterisk CVS-HEAD-09/23/04-13:20:08

ftp://ftp.asterisk.org/pub/telephony/asterisk/
File: asterisk-1.0.0.tar.gz  	9332 KB  	9/23/2004  	8:06:00 AM
Comment 14 Remco Barendse 2004-09-24 11:04:29 UTC
Asterisk 1.00 stable is now in portage but zaptel is still at version 0.9.1 therefore Asterisk will not emerge.

Is this because I did emerge sync just a couple of minutes too soon or is zaptel lagging behind?
Comment 15 Remco Barendse 2004-09-30 01:12:29 UTC
Asterisk 1.0.1 is now available.
Comment 16 Salim Fadhley 2004-10-12 16:36:59 UTC
Created attachment 41682 [details]
modulesd patch failed

When trying to emerge the zaptel-cvs ebuild I had an error that seems to relate
to the modulesd patch I installed. Could it be that the CVS version of whatever
is being patched has moved on somewhat and that has now broken the patch?
Comment 17 Salim Fadhley 2004-10-12 16:38:08 UTC
Asterisk-cvs build does not seem to recognise the nozaptel use-flag.
Comment 18 Daniel Black (RETIRED) gentoo-dev 2005-11-25 03:39:09 UTC
I'm guessing you know these ebuilds are not going to happen. These packages 
are not stable enough for cvs ebuilds.