[csw-maintainers] packaging issue with multiple ISA

İhsan Doğan ihsan at opencsw.org
Sun Apr 14 16:18:42 CEST 2013


Hi,

I've build the unbound package with multiple ISA, but excluded the
parts, were CPU optimization is not necessary.

MERGE_DIRS_isa-sparcv8plus  = $(libdir)
MERGE_DIRS_isa-sparcv8plus += $(sbindir)
MERGE_DIRS_isa-pentium_pro  = $(libdir)
MERGE_DIRS_isa-pentium_pro += $(sbindir)

ISAXEC_DIRS                  = $(sbindir)
EXTRA_ISAEXEC_EXCLUDE_FILES  = $(sbindir)/unbound-anchor
EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/unbound-checkconf
EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/unbound-control
EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/unbound-control-setup
EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/unbound-host

EXTRA_MERGE_EXCLUDE_FILES_isa-pentium_pro  = $(prefix)/sbin/unbound-anchor
EXTRA_MERGE_EXCLUDE_FILES_isa-pentium_pro +=
$(prefix)/sbin/unbound-checkconf
EXTRA_MERGE_EXCLUDE_FILES_isa-pentium_pro += $(prefix)/sbin/unbound-control
EXTRA_MERGE_EXCLUDE_FILES_isa-pentium_pro +=
$(prefix)/sbin/unbound-control-setup
EXTRA_MERGE_EXCLUDE_FILES_isa-pentium_pro += $(prefix)/sbin/unbound-host

EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus  = $(prefix)/sbin/unbound-anchor
EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus +=
$(prefix)/sbin/unbound-checkconf
EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus += $(prefix)/sbin/unbound-control
EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus +=
$(prefix)/sbin/unbound-control-setup
EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus += $(prefix)/sbin/unbound-host

And specified the files for the package:

CATALOGNAME_CSWunbound-host       = unbound_host
SPKG_DESC_CSWunbound-host         = Unbound DNS lookup utility
PKGFILES_CSWunbound-host         += $(sbindir)/unbound-host
PKGFILES_CSWunbound-host         += $(mandir)/man1/unbound-host.1
RUNTIME_DEP_PKGS_CSWunbound-host += CSWlibldns1
RUNTIME_DEP_PKGS_CSWunbound-host += CSWlibssl1-0-0
RUNTIME_DEP_PKGS_CSWunbound-host += CSWlibunbound2
RUNTIME_DEP_PKGS_CSWunbound-host += CSWlibevent2-0-5

That worked once, but now it produced empty packages.

What would be the appropriate way to package unbound?




Ihsan

-- 
ihsan at dogan.ch        http://blog.dogan.ch/


More information about the maintainers mailing list