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

Bug 681154

Summary: net-misc/asterisk-16.2.1 version bump
Product: Gentoo Linux Reporter: Erik Wallin <erikw>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Preliminary ebuild for Asterisk 16 - needs more work

Description Erik Wallin 2019-03-21 13:21:42 UTC
Created attachment 570104 [details]
Preliminary ebuild for Asterisk 16 - needs more work

Asterisk-16 was been released some time ago. 2018-10-09 according to asterisk.org. It's the next LTS (Long Term Support) version, so it would be worth supporting it.

This is not urgent, since Asterisk-13 is still supported for another year and a half. Still, there would be a bit of migration effort to go from 13 to 16, so I think it's good timing to start working on an ebuild for 16 now.

I'm opening this bug, so we can discuss and track the progress of getting it supported in gentoo. I've attached an ebuild that compiles, but there are a few things to work on before this is ready for release.

To use it you need to manually download pjproject. I'm not sure why yet, but I suspect it's either a race condition or a permissions problem. Setting MAKEOPTS="-j1" didn't help, so I'm leaning towards a permissions problem.

Steps to build.

> ebuild asterisk-16.2.1.ebuild prepare
# Download pjproject to the temp-directory
> cd /tmp/portage/net-misc/asterisk-16.2.1/temp
> wget https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.8/pjproject-2.8.tar.bz2
# Now, configure and compile should work
> ebuild asterisk-16.2.1.ebuild compile

I've not tried installing or running yet.

Also, note the comments in the ebuild. I've disabled the gentoo patches. We need to check if they are still valid/needed.

Also, I've set a depencency on libedit. Either it no longer builds without it or we need to configure without it.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-21 14:28:53 UTC

*** This bug has been marked as a duplicate of bug 597082 ***