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.
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.
Created attachment 18886 [details, diff] Patch for Makefile This patch will resolve issues with asterisk.conf's paths reflecting those in the sandbox.
Created attachment 18887 [details, diff] Patch for GCC3.3 string termination issue This fixes a string termination issue. Why won't people learn! :)
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.
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)
Created attachment 20373 [details] readme file for the devkit config README.DevKitLite is what you'd think it is...
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.
this bug seems to be outdated. asterisk-0.9.0 is in portage and marked stable. thanks