Re: [gentoo-dev] openssl and preserve_old_lib_notify pitfall

2010-09-30 Thread Mike Frysinger
On Thursday, September 30, 2010 13:32:07 Zac Medico wrote: > The preserve_old_lib_notify message in postinst is invalid if the > package doesn't actually own the file. It would be safer to check > for the file in $D during preinst than to check in $ROOT in postinst > like that function does. that

Re: [gentoo-dev] openssl and preserve_old_lib_notify pitfall

2010-09-30 Thread Mike Frysinger
On Thursday, September 30, 2010 12:31:16 Andreas K. Huettel wrote: > Just by accident I noticed during emerge something that may lead to major > confusion: the just stabilized openssl-1.0.0-r3 contains the following > code: fix your e-mail client. its line wrapping is broken. > pkg_postinst() {

Re: [gentoo-dev] openssl and preserve_old_lib_notify pitfall

2010-09-30 Thread Samuli Suominen
On 09/30/2010 08:25 PM, Zac Medico wrote: > On 09/30/2010 09:40 AM, Samuli Suominen wrote: >> Get Portage 2.2_rcX (with preserved-libs) feature released into ~arch. ;-) > > We probably won't be able to stabilize portage-2.2 at the same time > as openssl, so we should probably be thinking of more s

Re: [gentoo-dev] openssl and preserve_old_lib_notify pitfall

2010-09-30 Thread Zac Medico
On 09/30/2010 09:31 AM, Andreas K. Huettel wrote: > > Hi, > > Just by accident I noticed during emerge something that may lead to major > confusion: the just stabilized openssl-1.0.0-r3 contains the following code: > > pkg_postinst() { > ... > has_version ${CATEGORY}/${PN}:0.9.

Re: [gentoo-dev] openssl and preserve_old_lib_notify pitfall

2010-09-30 Thread Zac Medico
On 09/30/2010 09:40 AM, Samuli Suominen wrote: > Get Portage 2.2_rcX (with preserved-libs) feature released into ~arch. ;-) We probably won't be able to stabilize portage-2.2 at the same time as openssl, so we should probably be thinking of more short-term solutions if this openssl thing is a real

Re: [gentoo-dev] openssl and preserve_old_lib_notify pitfall

2010-09-30 Thread Samuli Suominen
On 09/30/2010 07:31 PM, Andreas K. Huettel wrote: > > Hi, > > Just by accident I noticed during emerge something that may lead to major > confusion: the just stabilized openssl-1.0.0-r3 contains the following code: > > pkg_postinst() { > ... > has_version ${CATEGORY}/${PN}:0.9.

[gentoo-dev] openssl and preserve_old_lib_notify pitfall

2010-09-30 Thread Andreas K. Huettel
Hi, Just by accident I noticed during emerge something that may lead to major confusion: the just stabilized openssl-1.0.0-r3 contains the following code: pkg_postinst() { ... has_version ${CATEGORY}/${PN}:0.9.8 && return 0 preserve_old_lib_notify /usr/$(get_libdir)/lib