Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30531 - asterisk-0.5_pre20031006 Ebuild. CVS Snapshot, verified to work.
Summary: asterisk-0.5_pre20031006 Ebuild. CVS Snapshot, verified to work.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-06 19:25 UTC by Ray Russell Reese III (RETIRED)
Modified: 2004-07-26 21:18 UTC (History)
0 users

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


Attachments
The ebuild. (asterisk-0.5_pre20031006.ebuild,721 bytes, application/octet-stream)
2003-10-06 19:26 UTC, Ray Russell Reese III (RETIRED)
Details
Patch for Makefile (asterisk-Makefile-samples.patch,1.87 KB, patch)
2003-10-06 19:26 UTC, Ray Russell Reese III (RETIRED)
Details | Diff
Patch for GCC3.3 string termination issue (asterisk-frame.patch,483 bytes, patch)
2003-10-06 19:27 UTC, Ray Russell Reese III (RETIRED)
Details | Diff
same ebuild but with mpg123 dependency added (asterisk-0.5_pre20031006.ebuild,741 bytes, text/plain)
2003-11-05 22:47 UTC, Dorian Gray
Details
Asterisk config files specific to the devkit (asterisk.new.dev.kit.files.tgz,22.04 KB, application/x-tar)
2003-11-07 03:53 UTC, Dorian Gray
Details
readme file for the devkit config (README.DevKitLite,5.04 KB, text/plain)
2003-11-07 03:53 UTC, Dorian Gray
Details
installer script for devkit-specific config (astinstall,3.69 KB, text/plain)
2003-11-07 03:55 UTC, Dorian Gray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Russell Reese III (RETIRED) gentoo-dev 2003-10-06 19:25:21 UTC
CVS Snapshot ebuild for Asterisk.

The Asterisk currently in Portage, asterisk-0.2.0.ebuild doesn't build due to access violations.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-asterisk-0.2.0-27620.log"

unlink:    /usr/sbin/astman
--------------------------------------------------------------------------------

Also, even if you manage to get the ebuild to merge properly, the asterisk.conf file has paths that reflect the sandbox image and not the proper install directory.

This CVS snapshot resolves that. Included are two patches, one for gcc3.3 string termination issues and the other is for the Makefile to fix the building of the config file and it's paths. I had to patch the Makefile because Asterisk doesn't use autoconf/automake, rather just a plain old Makefile.
Comment 1 Ray Russell Reese III (RETIRED) gentoo-dev 2003-10-06 19:26:18 UTC
Created attachment 18885 [details]
The ebuild.

Here's the ebuild, I'm currently personally hosting the CVS snapshot. I can
do
that indefinitely if need be.
Comment 2 Ray Russell Reese III (RETIRED) gentoo-dev 2003-10-06 19:26:44 UTC
Created attachment 18886 [details, diff]
Patch for Makefile

This patch will resolve issues with asterisk.conf's paths reflecting those
in
the sandbox.
Comment 3 Ray Russell Reese III (RETIRED) gentoo-dev 2003-10-06 19:27:27 UTC
Created attachment 18887 [details, diff]
Patch for GCC3.3 string termination issue

This fixes a string termination issue. Why won't people learn! :)
Comment 4 Dorian Gray 2003-11-05 22:47:54 UTC
Created attachment 20320 [details]
same ebuild but with mpg123 dependency added

only difference from the original 0.5_pre20031006 ebuild is that
media-sound/mpg123 has been added as dependency (asterisk's musiconhold feature
requires mpg123 as a runtime dependency, which I found out through painful
experience ;-)

NB: some users may have mpg321 installed, which provides a symlink for mpg123
(and possibly satisfies virtual/mpg123). however, mpg321 is known not to
work
with musiconhold in asterisk -- only the actual mpg123 application will work.
it may be possible to change media-sound/mpg123 to virtual/mpg123 in future.
Comment 5 Dorian Gray 2003-11-07 03:53:06 UTC
Created attachment 20372 [details]
Asterisk config files specific to the devkit

asterisk.new.dev.kit.files.tgz contains a set of .conf files more appropriate
to the development kits (1 fxo + 1 fxs) sold by digium. (this tarball comes
on
a floppy disk included with the devkit)

does not really need to be part of the ebuild, I wanted to include them as
a
resource for anyone who might need them, or anyone who might want to see
alternate configurations (also, http://voip-info.org/wiki-Asterisk is a superb
resource for asterisk config)
Comment 6 Dorian Gray 2003-11-07 03:53:59 UTC
Created attachment 20373 [details]
readme file for the devkit config

README.DevKitLite is what you'd think it is...
Comment 7 Dorian Gray 2003-11-07 03:55:32 UTC
Created attachment 20374 [details]
installer script for devkit-specific config

I did not use this script so cannot say how well it works: I preferred to
keep
the default asterisk config, and modify relevant bits according to the
differences in the devkit config. but I will include it for completeness.
Comment 8 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-07-26 21:18:10 UTC
this bug seems to be outdated. asterisk-0.9.0 is in portage and marked stable. thanks