Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342225 - net-misc/asterisk-1.8.0 version bump
Summary: net-misc/asterisk-1.8.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Tony Vroon (RETIRED)
URL: http://www.asterisk.org/node/51454
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 17:58 UTC by Oliver Jaksch
Modified: 2010-10-28 19:49 UTC (History)
3 users (show)

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


Attachments
ebuild for asterisk-1.8.0 (asterisk-1.8.0.ebuild,8.02 KB, text/plain)
2010-10-22 17:58 UTC, Oliver Jaksch
Details
gsm-pic.patch (asterisk-1.8.0-gsm-pic.patch,2.29 KB, patch)
2010-10-22 17:59 UTC, Oliver Jaksch
Details | Diff
inband-indications.patch (asterisk-1.8.0-inband-indications.patch,539 bytes, patch)
2010-10-22 17:59 UTC, Oliver Jaksch
Details | Diff
uclibc.patch (asterisk-1.8.0-uclibc.patch,471 bytes, patch)
2010-10-22 18:00 UTC, Oliver Jaksch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Jaksch 2010-10-22 17:58:33 UTC
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.
Comment 1 Oliver Jaksch 2010-10-22 17:58:58 UTC
Created attachment 251623 [details]
ebuild for asterisk-1.8.0
Comment 2 Oliver Jaksch 2010-10-22 17:59:26 UTC
Created attachment 251625 [details, diff]
gsm-pic.patch
Comment 3 Oliver Jaksch 2010-10-22 17:59:52 UTC
Created attachment 251627 [details, diff]
inband-indications.patch
Comment 4 Oliver Jaksch 2010-10-22 18:00:15 UTC
Created attachment 251629 [details, diff]
uclibc.patch
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-23 08:54:06 UTC
No need to CC: herds or maintainers (unless you are explicitly requested to do so).
Comment 6 Thomas Stein 2010-10-23 15:32:56 UTC
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.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2010-10-26 23:39:42 UTC
(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.
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2010-10-27 00:32:11 UTC
+*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.
Comment 9 Oliver Jaksch 2010-10-27 04:06:30 UTC
(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...
Comment 10 Tony Vroon (RETIRED) gentoo-dev 2010-10-27 08:55:11 UTC
(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) 

Comment 11 Oliver Jaksch 2010-10-28 19:49:59 UTC
(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...