Bug 377731 - drop or subpackage static library
Summary: drop or subpackage static library
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libesmtp
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Pawel Salek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-12 13:32 UTC by Patrice Dumas
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-15 21:30:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Patrice Dumas 2007-11-12 13:32:50 UTC
Description of problem:

There is a static library in libesmtp. I think it should be either
dropped or put in libesmtp-static. In the case of libesmtp, I 
am in favor of dropping it, since dlsym is used, the ABI is
stable and security issues are relevant for libesmtp.

I can do a patch once a solution is agreed.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Pawel Salek 2007-11-12 22:16:10 UTC
I see this library is a part of libesmtp-devel package. This is similar to many
other libraries (openssl, libxslt, to name two of them). Is there any reason to
deviate from this apparent convention?

Comment 2 Patrice Dumas 2007-11-12 22:43:07 UTC
It is in the guidelines since a few months. Also, in 
general, the packages from core that haven't finished
their merge review are in bad state with respect with 
guidelines. I don't know about those packages, but in 
any case static libs should be in -static subpackages
or not shipped.

http://fedoraproject.org/wiki/Packaging/Guidelines#head-2302ec1e1f44202c9cc4bcce24cb711266557ad7

You can see that I am not an opponent of static libs:
http://fedoraproject.org/wiki/PatriceDumas

Comment 3 Pawel Salek 2007-11-15 21:30:40 UTC
Patch commited - thank you!

Comment 4 Patrice Dumas 2007-11-15 21:49:17 UTC
An alternative way to avoid the static library,
including avoiding to build it in the first place 
is to pass to %configure:

--disable-static

Comment 5 Patrice Dumas 2007-11-15 22:20:12 UTC
also %{_libdir}/libesmtp.a is still listed

Comment 6 Patrice Dumas 2007-11-18 13:52:24 UTC
Can I implement myself the fixes I propose?

Comment 7 Pawel Salek 2007-11-18 14:30:02 UTC
Go ahead - I am currently out, travelling.


Note You need to log in before you can comment on or make changes to this bug.