1 |
On 02/04/2017 07:00 AM, Fernando Rodriguez wrote: |
2 |
> On Sat, Feb 04, 2017 at 07:12:01AM +0100, Floyd Anderson wrote: |
3 |
>> On Fri, 03 Feb 18:34:22 -0700 |
4 |
>> thelma@×××××××××××.com wrote: |
5 |
>>> I have an old version of asterisk-1.8.28.2 (it is no longer in portage). |
6 |
>>> I want to keep this version, temporarily (till I have a chance to test a |
7 |
>>> new one 11.25.1-ver. |
8 |
>> |
9 |
>> If you have the asterisk-ebuild (and all related files) still available, |
10 |
>> you could try to migrate it to a local overlay [1][2]. Otherwise, tell |
11 |
>> Portage you are handle this package yourself by adding it to: |
12 |
>> /etc/portage/profile/package.provided |
13 |
>> |
14 |
>> This file can be used to hold a specific version — even the package is |
15 |
>> no longer in tree. But notice, this isn’t the whole truth as mentioned |
16 |
>> in [3]. Portage will not update listed packages unless another package |
17 |
>> requires a newer version of it. |
18 |
> |
19 |
> I don't think package.provided will help in this case. He needs to |
20 |
> rebuild the package to get rid of the old library so he needs the old |
21 |
> ebuild and mask newer versions. |
22 |
> |
23 |
> But linking against a new library version can also cause problems so he |
24 |
> might as well update it. If you *must* keep this build try adding |
25 |
> --exclude='net-misc/asterisk' to the emerge @preserved-rebuild command |
26 |
> and the old libraries used by asterisk will be preserved until you get a |
27 |
> chance to update it but all other packages will use the new versions. |
28 |
> |
29 |
>> |
30 |
>> Give it a try and invoke: |
31 |
>> emerge --pretend --verbose net-misc/asterisk |
32 |
>> to ensure if it’ll work as expected. |
33 |
>> |
34 |
>> References: |
35 |
>> [1] <https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/CustomTree#Defining_a_custom_repository> |
36 |
>> [2] <https://wiki.gentoo.org/wiki/Overlay/Local_overlay> |
37 |
>> [3] <https://wiki.gentoo.org/wiki//etc/portage/profile/package.provided> |
38 |
>> |
39 |
>> -- |
40 |
>> Best regards, |
41 |
>> Floyd Anderson |
42 |
|
43 |
I've tried to keep the asterisk-1.8.28.2 but the ebuild from "atic" |
44 |
wouldn't even manifest. There was some security patch missing preventing |
45 |
it from making manifest. |
46 |
So more work for me upgrading to 11-ver. |
47 |
|
48 |
-- |
49 |
Thelma |