Own compiled packages and official updates

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Own compiled packages and official updates

Postby truls » Oct 20th, '11, 15:24

I wonder what happens when official updates arrives, if my custom kernel and other compiled packages will survive? E.g. I have custom openvpn package, will Mageia "overwrite" this with an update?
truls
 
Posts: 52
Joined: Aug 12th, '11, 08:43

Re: Own compiled packages and official updates

Postby doktor5000 » Oct 20th, '11, 15:59

kernel packages are always installed, not updated (so not replace by newer packages) so no there.
But for openvpn, yes, if the new Mageia package has a higher epoch/version/release tuple.

You could put it in /etc/urpmi/skip.list to ensure it never get's replaced.

FWIW, would you mind telling why you need a custom openvpn package?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Own compiled packages and official updates

Postby truls » Oct 20th, '11, 17:29

The Mageia openvpn package is compiled without support for reading username/passwd from a file, then I have to enter username/password manual, impractical at e.g. reboot. I compiled a custom openvpn package allowing me this "freedom". :)
truls
 
Posts: 52
Joined: Aug 12th, '11, 08:43

Re: Own compiled packages and official updates

Postby doktor5000 » Oct 20th, '11, 17:40

And you have written a bugreport or enhancement request about the issue?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Own compiled packages and official updates

Postby truls » Oct 20th, '11, 20:27

It's not a bug, but a choice done before compile: ./configure --enable-password-save

Some distros have this option enabled, but not Mageia. For me (and my wife) it is most convenient to automate login with openvpn (we like privacy) rather than type username/password. May be I am some nut to enable this, is it a security problem? How do I request an enhancement?
truls
 
Posts: 52
Joined: Aug 12th, '11, 08:43

Re: Own compiled packages and official updates

Postby doktor5000 » Oct 20th, '11, 21:06

enhancement request is technically still a bug report. You can file it here:
https://bugs.mageia.org/enter_bug.cgi?p ... mat=guided
As Component choose "RPM packages" in the details area post your wish
"openvpn should be compiled with --enable-password-save to add support for reading username/passwd from a file"
or something the like and when you come all the way down to Severity select "Enhancement".
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest