[csw-devel] SF.net SVN: gar:[11574] csw/mgar/pkg/unbound/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Nov 11 17:59:30 CET 2010


Revision: 11574
          http://gar.svn.sourceforge.net/gar/?rev=11574&view=rev
Author:   dmichelsen
Date:     2010-11-11 16:59:30 +0000 (Thu, 11 Nov 2010)

Log Message:
-----------
unbound: Some minor improvements

Modified Paths:
--------------
    csw/mgar/pkg/unbound/trunk/Makefile

Modified: csw/mgar/pkg/unbound/trunk/Makefile
===================================================================
--- csw/mgar/pkg/unbound/trunk/Makefile	2010-11-11 16:28:16 UTC (rev 11573)
+++ csw/mgar/pkg/unbound/trunk/Makefile	2010-11-11 16:59:30 UTC (rev 11574)
@@ -20,6 +20,8 @@
 DISTFILES += cswunbound
 DISTFILES += cswusergroup
 
+VENDOR_URL = http://unbound.net
+
 EXTRA_BUILD_ISAS_i386  = pentium_pro
 EXTRA_BUILD_ISAS_sparc = sparcv8plus
 
@@ -47,18 +49,16 @@
 EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus += $(prefix)/sbin/unbound-control-setup
 EXTRA_MERGE_EXCLUDE_FILES_isa-sparcv8plus += $(prefix)/sbin/unbound-host
 
-SPKG_CLASSES_CSWunbound = none cswusergroup cswcpsampleconf cswinitsmf
-PROTOTYPE_FILTER = awk '$$$$3 ~ /\/init.d\/cswunbound$$$$/ { $$$$2 = "cswinitsmf" } $$$$3 ~ /\/CSWunbound\/cswusergroup$$$$/ { $$$$2 = "cswusergroup" } $$$$3 ~ /\/unbound\/unbound.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } { print }'
+# SPKG_CLASSES_CSWunbound = none cswusergroup cswcpsampleconf cswinitsmf
+# PROTOTYPE_FILTER = awk '$$$$3 ~ /\/init.d\/cswunbound$$$$/ { $$$$2 = "cswinitsmf" } $$$$3 ~ /\/CSWunbound\/cswusergroup$$$$/ { $$$$2 = "cswusergroup" } $$$$3 ~ /\/unbound\/unbound.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } { print }'
 
+INITSMF = /etc/opt/csw/init.d/cswunbound
+USERGROUP = /etc/opt/csw/pkg/CSWunbound/cswusergroup
+SAMPLECONF = /etc/opt/csw/unbound/unbound.conf
+
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-# 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
-# UPSTREAM_MASTER_SITES = 
-
-PACKAGING_PLATFORMS +=  solaris9-sparc solaris9-i386
-
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGUTE_ARGS += --with-solaris-threads
 CONFIGURE_ARGS += --with-ldns=/opt/csw
@@ -92,13 +92,15 @@
 # make test doesn't work for the moment on Solaris
 SKIPTEST = 1
 
+include gar/category.mk
+
 post-install-modulated:
-	@ginstall -d $(DESTDIR)/etc/opt/csw/init.d
-	@ginstall -m 755 $(FILEDIR)/cswunbound $(DESTDIR)/etc/opt/csw/init.d/cswunbound
-	@ginstall -d $(DESTDIR)/etc/opt/csw/pkg/CSWunbound
-	@ginstall -m 755 $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/pkg/CSWunbound/cswusergroup
-	@mv $(DESTDIR)/etc/opt/csw/unbound/unbound.conf $(DESTDIR)/etc/opt/csw/unbound/unbound.conf.CSW
-	@chmod 444 $(DESTDIR)/etc/opt/csw/unbound/unbound.conf.CSW
+	ginstall -d $(DESTDIR)/etc/opt/csw/init.d
+	ginstall -m 755 $(FILEDIR)/cswunbound $(DESTDIR)/etc/opt/csw/init.d/cswunbound
+	ginstall -d $(DESTDIR)/etc/opt/csw/pkg/CSWunbound
+	ginstall -m 755 $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/pkg/CSWunbound/cswusergroup
+	#mv $(DESTDIR)/etc/opt/csw/unbound/unbound.conf $(DESTDIR)/etc/opt/csw/unbound/unbound.conf.CSW
+	#chmod 444 $(DESTDIR)/etc/opt/csw/unbound/unbound.conf.CSW
+	chmod 444 $(DESTDIR)/etc/opt/csw/unbound/unbound.conf
 	@$(MAKECOOKIE)
 
-include gar/category.mk


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