[csw-devel] SF.net SVN: gar:[19774] csw/mgar/pkg/courier-authlib/trunk/Makefile

wilbury at users.sourceforge.net wilbury at users.sourceforge.net
Thu Nov 29 17:24:39 CET 2012


Revision: 19774
          http://gar.svn.sourceforge.net/gar/?rev=19774&view=rev
Author:   wilbury
Date:     2012-11-29 16:24:38 +0000 (Thu, 29 Nov 2012)
Log Message:
-----------
courier-authlib/trunk: Add uid/gid and SMF support, take three.

Modified Paths:
--------------
    csw/mgar/pkg/courier-authlib/trunk/Makefile

Modified: csw/mgar/pkg/courier-authlib/trunk/Makefile
===================================================================
--- csw/mgar/pkg/courier-authlib/trunk/Makefile	2012-11-29 15:39:38 UTC (rev 19773)
+++ csw/mgar/pkg/courier-authlib/trunk/Makefile	2012-11-29 16:24:38 UTC (rev 19774)
@@ -47,19 +47,19 @@
 MIGRATE_FILES_CSWcourier-authlib += authpgsqlrc
 MIGRATE_FILES_CSWcourier-authlib += userdb
 
-PRESERVECONF += /etc/opt/csw/authlib/authdaemonrc
-PRESERVECONF += /etc/opt/csw/authlib/authldaprc
-PRESERVECONF += /etc/opt/csw/authlib/authmysqlrc
-PRESERVECONF += /etc/opt/csw/authlib/authpgsqlrc
-PRESERVECONF += /etc/opt/csw/authlib/userdb
+PRESERVECONF += authdaemonrc
+PRESERVECONF += authldaprc
+PRESERVECONF += authmysqlrc
+PRESERVECONF += authpgsqlrc
+PRESERVECONF += userdb
 
-INITSMF = /opt/csw/etc/init.d/cswcourier-authlib
-INSTALL_SCRIPTS = authlib
+INITSMF = /etc/opt/csw/init.d/cswcourier-authlib
 
 USERGROUP = /etc/opt/csw/pkg/CSW$(NAME)/cswusergroup
 
 # Just a harmless override, there is /usr/local in the script somewhere
 CHECKPKG_OVERRIDES_CSWcourier-authlib += file-with-bad-content|/usr/local|root/opt/csw/sbin/makeuserdb
+CHECKPKG_OVERRIDES_CSWcourier-authlib += file-with-bad-content|/usr/share|root/var/opt/csw/svc/manifest/cswcourier-authlib.xml
 
 PACKAGES += CSWcourier-authlib-dev
 SPKG_DESC_CSWcourier-authlib-dev = Courier auth library development files
@@ -67,8 +67,12 @@
 
 include gar/category.mk
 
-install-authlib:
-	@/opt/csw/bin/ginstall -m 755 $(FILEDIR)/svc-cswcourier-authlib $(DESTDIR)/opt/csw/etc/init.d/cswcourier-authlib
+post-install-modulated:
+	@/opt/csw/bin/ginstall -d -m 755 $(DESTDIR)/etc/opt/csw/init.d
+	@/opt/csw/bin/ginstall -d -m 755 $(DESTDIR)/var/opt/csw/svc/manifest
+	@/opt/csw/bin/ginstall -d -m 755 $(DESTDIR)/etc/opt/csw/pkg/CSW$(NAME)
+	@/opt/csw/bin/ginstall -m 755 $(FILEDIR)/cswcourier-authlib $(DESTDIR)/etc/opt/csw/init.d/cswcourier-authlib
 	@/opt/csw/bin/ginstall -m 644 $(FILEDIR)/cswcourier-authlib.xml $(DESTDIR)/var/opt/csw/svc/manifest/cswcourier-authlib.xml
 	@/opt/csw/bin/ginstall -m 644 $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/pkg/CSW$(NAME)
 	@$(MAKECOOKIE)
+

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