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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Sep 17 14:13:00 CEST 2009


Revision: 6331
          http://gar.svn.sourceforge.net/gar/?rev=6331&view=rev
Author:   skayser
Date:     2009-09-17 12:13:00 +0000 (Thu, 17 Sep 2009)

Log Message:
-----------
sudosh2: secure logdir, adjust sudosh paths in README

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

Modified: csw/mgar/pkg/sudosh2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudosh2/trunk/Makefile	2009-09-17 11:39:21 UTC (rev 6330)
+++ csw/mgar/pkg/sudosh2/trunk/Makefile	2009-09-17 12:13:00 UTC (rev 6331)
@@ -27,6 +27,7 @@
 localstatedir = /var/opt/csw
 
 SAMPLECONF = $(sysconfdir)/sudosh.conf
+PROTOTYPE_FILTER = awk '$$$$3 ~/^\/var\/opt\/csw\/sudosh$$$$/ { $$$$4 = 0700 } { print }'
 
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --with-logdir=$(localstatedir)/sudosh
@@ -61,4 +62,6 @@
 	cp $(addprefix $(WORKSRC)/,$(DOCS)) $(DOCDEST)
 	cp $(WORKSRC)/ChangeLog $(DOCDEST)/changelog
 	cp $(FILEDIR)/changelog.CSW $(DOCDEST)
+
+	perl -pi -e 's|/usr/local/bin|$(bindir)|g' $(DOCDEST)/README
 	@$(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