Hi,
On Wed, 21 Apr 2010, Rick van Rein wrote:
the rpm spec i've send here, builds perfectly as far as i remember.
Most of it went smoothly on RHEL5 after creating dependent RPMs
for ldns and python-4Suite-XML, indeed. Thanks a lot!
Another improvement to your spec would be to require "ruby >= 1.43":
checking for dnsruby version 1.43 or greater... not found
configure: error: Missing dnsruby version 1.43 or greater
configure: error: ./configure failed for auditor
When installing, I got lots of
warning: user opendnssec does not exist - using root
warning: group opendnssec does not exist - using root
warning: user opendnssec does not exist - using root
warning: group opendnssec does not exist - using root
warning: user opendnssec does not exist - using root
warning: group opendnssec does not exist - using root
warning: user opendnssec does not exist - using root
I am solving this with %pre and %postun sections:
%pre
/usr/sbin/useradd -r -l -g opendnssec -s /sbin/nologin -c 'OpenDNSSEC signer
daemons' opendnssec
%postun
/usr/sbin/userdel opendnssec
I am trying these out, but seem to have caused a build error elsewhere
that I haven't pinpointed yet.
You may want to have a look at
http://staff.csc.fi/vmattila/software/packages/el5/opendnssec.spec
All of these problems you've described (plus some others) were hit by us,
too, as discussed here just last week in thread "CentOS RPM distribution"
(see e.g.
http://lists.nominet.org.uk/pipermail/opendnssec-user/2010-April/thread.html)
and suggested resolutions to the problems you noted above (and others)
exist there already. Feel free to merge whatever you might find useful
from our package into the official / your own ones. I'd appreciate
feedback as well to improve the packaging.
BTW, is someone actually coordinating the development of RHEL/CentOS
RPM packaging? Personally I was hoping the opendnssec.spec could be
improved to meet Fedora/EPEL Packaging Guidelines to eventually have
OpenDNSSEC distributed and maintained by Fedora (and EPEL).
Ville
--
Ville Mattila, System Specialist, Funet network, CSC
PO Box 405, FIN-02101 Espoo, Finland, fax +358 9 457 2302
CSC is the Finnish IT Center for Science, http://www.csc.fi/, email:
[email protected]
_______________________________________________
Opendnssec-user mailing list
[email protected]
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user