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

jake_goerzen at users.sourceforge.net jake_goerzen at users.sourceforge.net
Thu Dec 19 20:45:31 CET 2013


Revision: 22714
          http://sourceforge.net/p/gar/code/22714
Author:   jake_goerzen
Date:     2013-12-19 19:45:30 +0000 (Thu, 19 Dec 2013)
Log Message:
-----------
tor: add some default options to sample conf

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

Modified: csw/mgar/pkg/tor/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tor/trunk/Makefile	2013-12-19 17:38:27 UTC (rev 22713)
+++ csw/mgar/pkg/tor/trunk/Makefile	2013-12-19 19:45:30 UTC (rev 22714)
@@ -1,8 +1,4 @@
 # $Id$
-# TODO: need to create smf start/stop script.
-#	add "PidFile /var/run/tor.pid" to torrc.CSW sample conf.
-#	also add "Log syslog" to torrc.CSW sample conf.
-#	also add "RunAsDaemon 1" to torrc.CSW.
 NAME = tor
 VERSION = 0.2.4.19
 GARTYPE = v2
@@ -41,3 +37,12 @@
 PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
 
 include gar/category.mk
+
+post-install-modulated:
+
+	# add some config options to sample conf
+	echo "# OpenCSW added default options" >> $(DESTDIR)$(sysconfdir)/tor/torrc.sample
+	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
+	@$(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