Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681154 - net-misc/asterisk-16.2.1 version bump
Summary: net-misc/asterisk-16.2.1 version bump
Status: RESOLVED DUPLICATE of bug 597082
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-21 13:21 UTC by Erik Wallin
Modified: 2019-03-21 14:28 UTC (History)
0 users

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


Attachments
Preliminary ebuild for Asterisk 16 - needs more work (asterisk-16.2.1.ebuild,9.83 KB, text/plain)
2019-03-21 13:21 UTC, Erik Wallin
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***