what does it mean for a pkg to both require and provide "config(pkg)"?

Robert P. J. Day rpjday at crashcourse.ca
Thu Feb 20 14:15:33 UTC 2014


  another packaging question, if i may. first, what does it mean when
a package provides "config(packagename)"? for instance, firewalld:

$ rpm -q --provides firewalld
config(firewalld) = 0.3.9.3-1.fc20    <-- ???
firewalld = 0.3.9.3-1.fc20
$

  so firewalld apparently provides ... what? a configuration component
for itself? i can see that that package includes the command-line
config command /usr/bin/firewall-cmd -- is that what that line refers
to? that firewalld installs its own configuration utility? or does it
mean something different?

  and then what does it mean when a package both provides and requires
the same thing? firewalld again:

$ rpm -qR firewalld
/bin/sh
/bin/sh
/bin/sh
/usr/bin/python
config(firewalld) = 0.3.9.3-1.fc20     <---
... snip ...

  so the firewalld package apparently both requires and provides the
same thing -- "config(firewalld) = 0.3.9.3-1.fc20". can someone
clarify what that means? thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the users mailing list