Digium realeased Asterisk in Version 1.8 with Long-Term-Support. This is the 1st approach of an appropriate ebuild. It's based on the v1.6 ebuild but pimped with new/more USE-flags, as there will be no more 'asterisk-addons' for the 1.8 branch. The ebuild compiles fine, but I'm sure that there is somethin' that needs loving. Also, please have a closer look to the remarks after RDEPEND.
Created attachment 251623 [details] ebuild for asterisk-1.8.0
Created attachment 251625 [details, diff] gsm-pic.patch
Created attachment 251627 [details, diff] inband-indications.patch
Created attachment 251629 [details, diff] uclibc.patch
No need to CC: herds or maintainers (unless you are explicitly requested to do so).
Hello. Thanks for the ebuild Oliver. But it needs several improvements. For example format_mp3 and cdr_mysql modules are now included in this release. For mp3 to getting to work you have to run contrib/scripts/get_mp3_source.sh. That makes things a little bit difficult. Will report other findings. cheers t.
(In reply to comment #6) > For example format_mp3 and cdr_mysql modules are now included in this release. > For mp3 to getting to work you have to run contrib/scripts/get_mp3_source.sh. Ebuilds have to automatically fetch their sources; interactivity is not allowed. Neither is fetching anything outside out SRC_URI; so no MP3 support. Sorry. Same for iLBC.
+*asterisk-1.8.0 (27 Oct 2010) + + 27 Oct 2010; <chainsaw@gentoo.org> +asterisk-1.8.0.ebuild, + +files/1.8.0/asterisk-1.8.0-alarm-receiver-use-playtones.patch, + +files/1.8.0/asterisk-1.8.0-confbridge-menu-invocation.patch, + +files/1.8.0/asterisk-1.8.0-dahdiras-without-root.patch, + +files/1.8.0/asterisk-1.8.0-gsm-pic.patch, + +files/1.8.0/asterisk-1.8.0-iax2-peerstate.patch, + +files/1.8.0/asterisk-1.8.0-inband-indications.patch, + +files/1.8.0/asterisk-1.8.0-pbxstart-failed-spurious-bye.patch, + +files/1.8.0/asterisk-1.8.0-pri-missing-keyword.patch, + +files/1.8.0/asterisk-1.8.0-uclibc.patch, metadata.xml: + Initial 1.8 branch ebuild, masked for your protection. Extensive patch + rebasing, dropped oddball fax detection. Closes bug #342225 by Oliver + Jaksch. Ebuild changes inspired by Oliver, some additional work done.
(In reply to comment #7) > (In reply to comment #6) > > For example format_mp3 and cdr_mysql modules are now included in this release. > For mp3 to getting to work you have to run contrib/scripts/get_mp3_source.sh. > > Ebuilds have to automatically fetch their sources; interactivity is not > allowed. Neither is fetching anything outside out SRC_URI; so no MP3 support. > Sorry. > Same for iLBC. Comprehensible. But what about to deal with this by patch? I've done this for mp3 just for testing, but the patch reaches 110kb (26kb as gz). Another thing that might come into is patent/license-restriction for mp3 and ilbc...
(In reply to comment #9) > Comprehensible. But what about to deal with this by patch? I've done this for > mp3 just for testing, but the patch reaches 110kb (26kb as gz). The informal limit on in-tree patches is 20kb. > Another thing that might come into is patent/license-restriction for mp3 and > ilbc... This is the real reason for all the awkwardness with scripts. I can't risk running foul of license agreements, so unless you get written word from Digium that it is okay to patch MP3 support in with a compressed unified diff... there will be no MP3 support in Asterisk 1.8 in Gentoo. (This is an action on you, please file a new bug if you are successful)
(In reply to comment #10) > > Another thing that might come into is patent/license-restriction for mp3 and > > ilbc... > > This is the real reason for all the awkwardness with scripts. I can't risk > running foul of license agreements, I see. Thanks for clarifying this. > so unless you get written word from Digium > that it is okay to patch MP3 support in with a compressed unified diff... there > will be no MP3 support in Asterisk 1.8 in Gentoo. > (This is an action on you, please file a new bug if you are successful) I'll try to ask Digium about this these days. We'll see...