Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 212306

Summary: net-misc/asterisk-1.2.26.2 ebuild version bump and/or new use flag
Product: Gentoo Linux Reporter: Vieri <rentorbuy>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: himbeere
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-misc/asterisk-1.2.26.2.diff
asterisk-1.2.26.2-patches-1.0.tar.bz2
asterisk-1.2.26.2-bristuff-0.3.0-PRE-1y-h.diff.bz2
net-misc/asterisk-1.2.26.2 diff for ebuild version bump and files dir
asterisk-1.2.26.2-bristuff-0.3.0-PRE-1y-p.diff.bz2
asterisk-1.2.27-bristuff-0.3.0-PRE-1y-p.diff.bz2 distfile
net-misc/asterisk-1.2.27 ebuild patch
net-misc/asterisk-1.2.27 ebuild patch with backports
net-misc/asterisk 1.2.27 with backports (tgz)
net-misc/asterisk 1.2.27 ebuild

Description Vieri 2008-03-04 19:10:29 UTC
Proposing net-misc/asterisk-1.2.26.2 ebuild patch for two reasons:

1) fix upstream security issues

2) add useful backports (especially func_odbc)

If 2) is of little interest to most users then at least it should be considered for 1).


Reproducible: Always

Steps to Reproduce:
1. apply the ebuild patch to custom overlay based on current asterisk ebuild 1.2.21.1-r1
2. copy the two packaged files to /usr/portage/distfiles/
3. emerge asterisk




I am using this asterisk version in a production server and it is stable.
Comment 1 Vieri 2008-03-04 19:11:02 UTC
Created attachment 145296 [details, diff]
net-misc/asterisk-1.2.26.2.diff
Comment 2 Vieri 2008-03-04 19:12:05 UTC
Created attachment 145298 [details]
asterisk-1.2.26.2-patches-1.0.tar.bz2

same as current distfile but removed security patches.
Comment 3 Vieri 2008-03-04 19:12:53 UTC
Created attachment 145299 [details]
asterisk-1.2.26.2-bristuff-0.3.0-PRE-1y-h.diff.bz2

The same. Just renamed file.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-03-04 19:13:46 UTC
Handling this on the security bug; thanks.

*** This bug has been marked as a duplicate of bug 200792 ***
Comment 5 Vieri 2008-03-16 20:30:14 UTC
Created attachment 146339 [details, diff]
net-misc/asterisk-1.2.26.2 diff for ebuild version bump and files dir

This new diff now works with latest bristuff.
Comment 6 Vieri 2008-03-16 20:30:59 UTC
Created attachment 146341 [details, diff]
asterisk-1.2.26.2-bristuff-0.3.0-PRE-1y-p.diff.bz2
Comment 7 Vieri 2008-03-16 20:33:33 UTC
Previous ebuild did not emerge correctly with bristuff.
I setup a test box and now it emerges fine with/without bri/backports, etc.
If someone gets errors while emerging then please let me know.
Comment 8 Vieri 2008-03-19 09:10:50 UTC
Created attachment 146557 [details]
asterisk-1.2.27-bristuff-0.3.0-PRE-1y-p.diff.bz2 distfile
Comment 9 Vieri 2008-03-19 09:12:54 UTC
Created attachment 146558 [details, diff]
net-misc/asterisk-1.2.27 ebuild patch

If you don't want the backports then just use this trivial patch.
Comment 10 Vieri 2008-03-19 09:13:53 UTC
Created attachment 146559 [details, diff]
net-misc/asterisk-1.2.27 ebuild patch with backports
Comment 11 Thomas Stein 2008-03-20 10:10:15 UTC
Thank you for your work Vieri but may i kindly ask you to publish a complete ebuild set for 1.2.27? The diffs are nice but you know. :-) Thank you again.

regards
t.
Comment 12 Vieri 2008-03-20 12:23:01 UTC
Created attachment 146645 [details]
net-misc/asterisk 1.2.27 with backports (tgz)

himbeere,
copy the asterisk subtree to your custom overlay and unpack this tgz.
Before performing an ebuild digest, make sure you copied 1.2.26.2-patches.tbz2 and bristuff.diff.bz2 to /usr/portage/distfiles/.
Comment 13 Vieri 2008-03-20 12:25:48 UTC
Created attachment 146646 [details]
net-misc/asterisk 1.2.27 ebuild

himbeere,
if you don't need the backports then this ebuild should do.
Comment 14 Thomas Stein 2008-03-20 12:54:51 UTC
Thank you very much Vieri.
Comment 15 Vieri 2008-03-25 13:47:44 UTC
* 1.2.27 is in the official portage tree.

However, if users need the func_odbc backport they can install it seperately, as a plugin module:

http://bugs.gentoo.org/show_bug.cgi?id=214693