[Opendnssec-user] Packaging for gentoo, several issues

Tom Hendrikx tom at whyscream.net
Mon Feb 8 22:50:44 UTC 2010


Hi,

I'm currently in the process of creating gentoo packages for softhsm and
opendnssec. Because gentoo builds from source on the users machine, I'm
trying to iron out some issues during configure/make/make install steps.

Gentoo uses flags that typically adapt the install by setting configure
flags, but because of scripted automation, both the --enable-foo and
--disable-foo switches should work. This gave me some issues to solve,
f.i. --enable-auditor does *not* build the auditor :)

Also (config) file installation does not respect ${DESTDIR}. It tests
for existence of dirs and files in /, and then tries to install into
$DESTDIR. This gives unreliable results (and even does not succeed with
$DESTDIR pointing to an empty directory currently).

Patches:
- softhsm-1.1.3-m4.patch: respect --disable-64bit
- softhsm-1.1.3-Makefile.am.patch: respect $DESTDIR for config files
- opendnssec-1.0.0_rc4-Makefile.am.patch: respect $DESTDIR for config files
- opendnssec-1.0.0_rc4-configure.ac.patch: respect --enable-auditor

NB Unlike the names suggest, all patches are against svn trunk.

-- 
Regards,
	Tom
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: softhsm-1.1.3-m4.patch
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20100208/ce92616e/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: softhsm-1.1.3-Makefile.am.patch
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20100208/ce92616e/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: opendnssec-1.0.0_rc4.ebuild
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20100208/ce92616e/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: opendnssec-1.0.0_rc4-configure.ac.patch
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20100208/ce92616e/attachment-0003.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20100208/ce92616e/attachment.bin>


More information about the Opendnssec-user mailing list