Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396413 - net-misc/asterisk-g729 installs .so into wrong location
Summary: net-misc/asterisk-g729 installs .so into wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-29 14:19 UTC by Jaco Kroon
Modified: 2012-01-03 13:05 UTC (History)
1 user (show)

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


Attachments
asterisk-g729-1.8.4.3.1.5.ebuild (asterisk-g729-1.8.4.3.1.5.ebuild,5.54 KB, text/plain)
2011-12-29 14:20 UTC, Jaco Kroon
Details
asterisk-g729-1.8.4.3.1.5.ebuild (asterisk-g729-1.8.4.3.1.5.ebuild,5.56 KB, text/plain)
2011-12-30 08:24 UTC, Jaco Kroon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2011-12-29 14:19:53 UTC
The asterisk-g729 ebuild as is in the portage tree incorrectly installs the code_g729a.so file into /usr/lib instead of /usr/lib/asterisk/modules.

This change was introduced by Agostino Sarubbo in bug 333277.

The updated ebuild just reverts the dolib.so back to a doins, the other option is to symlink it, but seeing that the library really is asterisk specific I see no reason why we can't just leave it in /usr/lib/asterisk/modules/.

I've also removed the big case statement near the top in preference of a simpler to read but requires 10 seconds more time to roll a new ebuild manner, and re-added the "local varname" statements to src_prepare.

Reproducible: Always
Comment 1 Jaco Kroon 2011-12-29 14:20:36 UTC
Created attachment 297301 [details]
asterisk-g729-1.8.4.3.1.5.ebuild
Comment 2 Jaco Kroon 2011-12-30 08:24:16 UTC
Created attachment 297367 [details]
asterisk-g729-1.8.4.3.1.5.ebuild

use get_libdir for determining the insinto location.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2012-01-03 13:05:21 UTC
+*asterisk-g729-1.8.4.3.1.5-r1 (03 Jan 2012)
+
+  03 Jan 2012; Tony Vroon <chainsaw@gentoo.org>
+  -asterisk-g729-1.8.4.3.1.5.ebuild, +asterisk-g729-1.8.4.3.1.5-r1.ebuild:
+  Install shared library to correct location (multilib-aware) and simplify
+  versioning now that 1.6.2 is no longer in the tree. Patch by Jaco Kroon
+  closes bug #396413.