[csw-devel] SF.net SVN: gar:[10437] csw/mgar/pkg/miltergreylist/trunk

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Mon Jul 5 18:33:22 CEST 2010


Revision: 10437
          http://gar.svn.sourceforge.net/gar/?rev=10437&view=rev
Author:   bonivart
Date:     2010-07-05 16:33:22 +0000 (Mon, 05 Jul 2010)

Log Message:
-----------
miltergreylist: patch for conf file, add post msg

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

Added Paths:
-----------
    csw/mgar/pkg/miltergreylist/trunk/files/0001-Path-and-user-changes-in-conf-file.patch

Modified: csw/mgar/pkg/miltergreylist/trunk/Makefile
===================================================================
--- csw/mgar/pkg/miltergreylist/trunk/Makefile	2010-07-05 16:11:37 UTC (rev 10436)
+++ csw/mgar/pkg/miltergreylist/trunk/Makefile	2010-07-05 16:33:22 UTC (rev 10437)
@@ -36,9 +36,10 @@
 
 TEST_SCRIPTS = 
 INSTALL_SCRIPTS = custom
-USERGROUP = /opt/csw/etc/pkg/miltergreylist/cswusergroup
+USERGROUP = /opt/csw/etc/pkg/CSWmiltergreylist/cswusergroup
 SAMPLECONF = /etc/opt/csw/greylist.conf
-INITSMF = /opt/csw/etc/init.d/cswmiltergreylist
+INITSMF = /etc/opt/csw/init.d/cswmiltergreylist
+POSTMSG = /opt/csw/share/doc/miltergreylist/README
 
 PROTOTYPE_MODIFIERS = 1
 PROTOTYPE_FILES_1 = /var/opt/csw/miltergreylist
@@ -65,10 +66,10 @@
 	@$(foreach DOC,$(DOCLIST),cp $(WORKSRC)/$(DOC) $(DESTDIR)$(docdir)/$(GARNAME);)
 	@ginstall -d -m 755 $(DESTDIR)/var/opt/csw/$(GARNAME)
 	@rmdir $(DESTDIR)/var/milter-greylist
-	@ginstall -d -m 755 $(DESTDIR)/opt/csw/etc/pkg/$(GARNAME)
-	@cp $(FILEDIR)/CSWmiltergreylist.ug $(DESTDIR)/opt/csw/etc/pkg/$(GARNAME)/cswusergroup
-	@ginstall -d -m 755 $(DESTDIR)/opt/csw/etc/init.d
-	@cp $(FILEDIR)/CSWmiltergreylist.init $(DESTDIR)/opt/csw/etc/init.d/cswmiltergreylist
-	@chmod 755 $(DESTDIR)/opt/csw/etc/init.d/cswmiltergreylist
+	@ginstall -d -m 755 $(DESTDIR)/opt/csw/etc/pkg/CSW$(GARNAME)
+	@cp $(FILEDIR)/CSWmiltergreylist.ug $(DESTDIR)/opt/csw/etc/pkg/CSW$(GARNAME)/cswusergroup
+	@ginstall -d -m 755 $(DESTDIR)/etc/opt/csw/init.d
+	@cp $(FILEDIR)/CSWmiltergreylist.init $(DESTDIR)/etc/opt/csw/init.d/cswmiltergreylist
+	@chmod 755 $(DESTDIR)/etc/opt/csw/init.d/cswmiltergreylist
 	@cp $(FILEDIR)/README.CSW $(DESTDIR)$(docdir)/$(GARNAME)
 	@$(MAKECOOKIE)

Added: csw/mgar/pkg/miltergreylist/trunk/files/0001-Path-and-user-changes-in-conf-file.patch
===================================================================
--- csw/mgar/pkg/miltergreylist/trunk/files/0001-Path-and-user-changes-in-conf-file.patch	                        (rev 0)
+++ csw/mgar/pkg/miltergreylist/trunk/files/0001-Path-and-user-changes-in-conf-file.patch	2010-07-05 16:33:22 UTC (rev 10437)
@@ -0,0 +1,32 @@
+From ac7a4154ceae818a9518fc0dd597458d2ffceb93 Mon Sep 17 00:00:00 2001
+From: Peter Bonivart <bonivart at opencsw.org>
+Date: Mon, 5 Jul 2010 18:07:02 +0200
+Subject: [PATCH] Path and user changes in conf file
+
+---
+ greylist.conf |    8 ++++----
+ 1 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/greylist.conf b/greylist.conf
+index 04864fd..b49fd4d 100644
+--- a/greylist.conf
++++ b/greylist.conf
+@@ -5,11 +5,11 @@
+ # $Id: greylist.conf,v 1.45.2.1 2009/02/12 22:39:01 manu Exp $
+ #
+ 
+-pidfile "/var/run/milter-greylist.pid"
+-socket "/var/milter-greylist/milter-greylist.sock"
+-dumpfile "/var/milter-greylist/greylist.db" 600
++pidfile "/var/opt/csw/miltergreylist/milter-greylist.pid"
++socket "/var/opt/csw/miltergreylist/milter-greylist.sock"
++dumpfile "/var/opt/csw/miltergreylist/greylist.db" 600
+ dumpfreq 1
+-user "smmsp"
++user "greylist"
+ 
+ # Log milter-greylist activity to a file
+ #stat ">>/var/milter-greylist/greylist.log" \
+-- 
+1.7.1
+


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