Bug 1518759 - [F28 change] cyrus-imapd should not require tcp_wrappers
Summary: [F28 change] cyrus-imapd should not require tcp_wrappers
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cyrus-imapd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Zhukov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1518768
Blocks: 1495181 1596070
TreeView+ depends on / blocked
 
Reported: 2017-11-29 14:49 UTC by Jakub Jelen
Modified: 2018-06-28 08:10 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-18 17:00:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jakub Jelen 2017-11-29 14:49:07 UTC
As announced earlier this year, we plan to deprecate TCP wrappers out of Fedora services in a single release (Fedora 28) to avoid user confusion that some of the tools will be using it and some not.

For more information about the change or possible migration paths outside of the package itself, see the linked accepted Fedora 28 change.

This report is for a source package, that has "BuildRequires tcp_wrappers" in spec file and resulting packages depend on "libwrap.so.0". The changes to remove the dependency should be minimal, usually a configure switch, but let me know if you will need some assistance with the changes.

Additional info:

https://fedoraproject.org/wiki/Changes/Deprecate_TCP_wrappers

Comment 1 Pavel Zhukov 2017-11-29 21:32:46 UTC
(In reply to Jakub Jelen from comment #0)
> As announced earlier this year, we plan to deprecate TCP wrappers out of
> Fedora services in a single release (Fedora 28) to avoid user confusion that
> some of the tools will be using it and some not.
> 
> For more information about the change or possible migration paths outside of
> the package itself, see the linked accepted Fedora 28 change.
> 
> This report is for a source package, that has "BuildRequires tcp_wrappers"
> in spec file and resulting packages depend on "libwrap.so.0". The changes to
> remove the dependency should be minimal, usually a configure switch, but let
> me know if you will need some assistance with the changes.
> 
> Additional info:
> 
> https://fedoraproject.org/wiki/Changes/Deprecate_TCP_wrappers

cyrus-imapd consumes flags provided by /usr/bin/net-snmp-config --agent-libs
 output even if --without-libwrap was specified. I cannot find but filled against net-snmp to disable libwrap to set it as blocker of this bug. Are you going to fill one? 

[1]
/usr/bin/net-snmp-config --agent-libs
-Wl,-z,relro -Wl,-z,now -L/usr/lib64 -lnetsnmpmibs -lsensors -ldl -lrpm -lrpmio -lnetsnmpagent -lwrap -Wl,--enable-new-dtags -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lnetsnmp -lssl -lssl -lcrypto -lm

net-snmp-devel-5.7.3-27.fc28.x86_64

Comment 2 Jakub Jelen 2017-11-30 08:43:43 UTC
Thank you for information. I missed this part while I went through your spec file. net-snmp bug is here:

https://bugzilla.redhat.com/show_bug.cgi?id=1518768

I added to the depends-on list.


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