SF.net SVN: gar:[22717] csw/mgar/pkg/tor/trunk/Makefile

jake_goerzen at users.sourceforge.net jake_goerzen at users.sourceforge.net
Thu Dec 19 22:46:01 CET 2013


Revision: 22717
          http://sourceforge.net/p/gar/code/22717
Author:   jake_goerzen
Date:     2013-12-19 21:46:00 +0000 (Thu, 19 Dec 2013)
Log Message:
-----------
tor: post-install-modulated additions and fixes

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

Modified: csw/mgar/pkg/tor/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tor/trunk/Makefile	2013-12-19 21:45:14 UTC (rev 22716)
+++ csw/mgar/pkg/tor/trunk/Makefile	2013-12-19 21:46:00 UTC (rev 22717)
@@ -36,6 +36,8 @@
 
 PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
 
+PKGFILES_CSWtor = /opt/csw/share/doc/tor/README.CSW
+
 include gar/category.mk
 
 post-install-modulated:
@@ -45,4 +47,13 @@
 	echo "Log syslog" >> $(DESTDIR)$(sysconfdir)/tor/torrc.sample
 	echo "PidFile /var/run/tor.pid" >> $(DESTDIR)$(sysconfdir)/tor/torrc.sample
 	echo "RunAsDaemon 1" >> $(DESTDIR)$(sysconfdir)/tor/torrc.sample
+
+	# Copy SMF script
+	ginstall -Dm 755 $(FILEDIR)/cswtor \
+		$(DESTDIR)/etc/opt/csw/init.d/cswtor
+
+	# Copy README.CSW to docs
+	ginstall -m 444 $(FILEDIR)/README.CSW \
+		$(DESTDIR)/opt/csw/share/doc/tor/
+
 	@$(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