SF.net SVN: gar:[26886] csw/mgar/pkg/nsd/trunk/Makefile
idogan23 at users.sourceforge.net
idogan23 at users.sourceforge.net
Tue Feb 15 17:14:32 CET 2022
Revision: 26886
http://sourceforge.net/p/gar/code/26886
Author: idogan23
Date: 2022-02-15 16:14:32 +0000 (Tue, 15 Feb 2022)
Log Message:
-----------
nsd: enable 64-bit builds
Modified Paths:
--------------
csw/mgar/pkg/nsd/trunk/Makefile
Modified: csw/mgar/pkg/nsd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nsd/trunk/Makefile 2022-02-14 20:37:34 UTC (rev 26885)
+++ csw/mgar/pkg/nsd/trunk/Makefile 2022-02-15 16:14:32 UTC (rev 26886)
@@ -8,8 +8,11 @@
authoritative DNS nameserver.
endef
+VENDOR_URL = https://www.nlnetlabs.nl/projects/nsd/about/
MASTER_SITES = http://www.nlnetlabs.nl/downloads/nsd/
-SPKG_SOURCE_URL = http://www.nlnetlabs.nl/projects/nsd/
+DISTFILES = $(NAME)-$(VERSION).tar.gz
+DISTFILES += cswusergroup
+DISTFILES += cswnsd
# If the url used to check for software update is different of MASTER_SITES, then
# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
@@ -18,23 +21,22 @@
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+SPKG_DESC = An authoritative only non-recursive name server
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
PACKAGES = CSWnsd
+CATALOGNAME = nsd
+
RUNTIME_DEP_PKGS = CSWlibssl1-0-0
RUNTIME_DEP_PKGS += CSWlibevent2-1-7
-CATALOGNAME = nsd
-SPKG_DESC = An authoritative only non-recursive name server
-PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+
LICENSE = LICENSE
-DISTFILES = $(NAME)-$(VERSION).tar.gz
-DISTFILES += cswusergroup
-DISTFILES += cswnsd
+GARCOMPILER = SOS12U6
-SPKG_CLASSES = none cswusergroup ugfiles cswcpsampleconf cswinitsmf
-PROTOTYPE_FILTER = awk '$$$$3 ~ /\/init.d\/cswnsd$$$$/ { $$$$2 = "cswinitsmf" } $$$$3 ~ /\/CSWnsd\/cswusergroup$$$$/ { $$$$2 = "cswusergroup" } $$$$3 ~ /\/nsd\/nsd.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$2 = "ugfiles" } $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$5 = "nsd" } $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$6 = "nsd" } $$$$3 ~ /\/var\/run/ { $$$$6 = "sys" } { print }'
+BUILD64 = 1
+ISAEXEC = 1
+EXTRA_BUILD_ISAS_sparc += sparcv9+vis2
-GARCOMPILER = SOS12U6
-
CONFIGURE_ARGS = $(DIRPATHS)
CONFIGURE_ARGS += --with-ssl=/opt/csw
CONFIGURE_ARGS += --with-libevent=/opt/csw
@@ -44,9 +46,29 @@
CONFIGURE_ARGS += --with-difffile=/var/opt/csw/nsd/ixfr.db
CONFIGURE_ARGS += --with-xfrdfile=/var/opt/csw/nsd/xfrd.state
+EXTRA_ISAEXEC_EXCLUDE_FILES = $(sbindir)/nsd-checkconf
+EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/nsd-checkzone
+EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/nsd-control
+EXTRA_ISAEXEC_EXCLUDE_FILES += $(sbindir)/nsd-control-setup
+
+EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9 = $(sbindir)/nsd-checkconf
+EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9 += $(sbindir)/nsd-checkzone
+EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9 += $(sbindir)/nsd-control
+EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9 += $(sbindir)/nsd-control-setup
+EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9+vis2 = $(sbindir)/nsd-checkconf
+EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9+vis2 += $(sbindir)/nsd-checkzone
+EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9+vis2 += $(sbindir)/nsd-control
+EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv9+vis2 += $(sbindir)/nsd-control-setup
+EXTRA_MERGE_EXCLUDE_FILES_isa-amd64 = $(sbindir)/nsd-checkconf
+EXTRA_MERGE_EXCLUDE_FILES_isa-amd64 += $(sbindir)/nsd-checkzone
+EXTRA_MERGE_EXCLUDE_FILES_isa-amd64 += $(sbindir)/nsd-control
+EXTRA_MERGE_EXCLUDE_FILES_isa-amd64 += $(sbindir)/nsd-control-setup
+
+# Disable test, as it fails on Solaris
SKIPTEST = 1
-#CHECKPKG_OVERRIDES_CSWnsd += bad-location-of-file|file=/tmp
+SPKG_CLASSES = none cswusergroup ugfiles cswcpsampleconf cswinitsmf
+PROTOTYPE_FILTER = awk '$$$$3 ~ /\/init.d\/cswnsd$$$$/ { $$$$2 = "cswinitsmf" } $$$$3 ~ /\/CSWnsd\/cswusergroup$$$$/ { $$$$2 = "cswusergroup" } $$$$3 ~ /\/nsd\/nsd.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$2 = "ugfiles" } $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$5 = "nsd" } $$$$3 ~ /\/var\/opt\/csw\/nsd/ { $$$$6 = "nsd" } $$$$3 ~ /\/var\/run/ { $$$$6 = "sys" } { print }'
post-install-modulated:
@ginstall -d $(DESTDIR)/var/opt/csw/nsd
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list