Re: Expressing iptables/nftables dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sandro

Thanks for your response. I don't really like to use sub packages for
this especially not with weak dependencies as I'm normally the first to
disable weak dependencies. And in my case `iptables-legacy` or
`nftables` are by no means optional. One of them is required otherwise
the application won't start.

In the meantime I found a solution:

    Requires: iptables, ebtables
    Requires: (nftables if iptables-nft)

I didn't fully figure out why this works as I remember having tested
`iptables` by itself and it would install `iptables-legacy`. But as
`iptables-nft` provides both `iptables` and `ebtables` and this
expression uses a comma instead of two separate 'Requires' expressions
this might make a difference.

Like this I still end up with `iptables-nft` that I actually don't need
but still better than installing `iptables-legacy`.

Happy New Year!
Reto
--
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux