[csw-devel] SF.net SVN: gar:[17007] csw/mgar/pkg/spamass-milter/trunk

guengel at users.sourceforge.net guengel at users.sourceforge.net
Mon Feb 6 22:18:12 CET 2012


Revision: 17007
          http://gar.svn.sourceforge.net/gar/?rev=17007&view=rev
Author:   guengel
Date:     2012-02-06 21:18:12 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
spamass-milter/trunk: Added sendmail feature macro.

Modified Paths:
--------------
    csw/mgar/pkg/spamass-milter/trunk/Makefile
    csw/mgar/pkg/spamass-milter/trunk/files/changelog.CSW

Added Paths:
-----------
    csw/mgar/pkg/spamass-milter/trunk/files/spamass-milter.m4

Modified: csw/mgar/pkg/spamass-milter/trunk/Makefile
===================================================================
--- csw/mgar/pkg/spamass-milter/trunk/Makefile	2012-02-06 16:12:24 UTC (rev 17006)
+++ csw/mgar/pkg/spamass-milter/trunk/Makefile	2012-02-06 21:18:12 UTC (rev 17007)
@@ -15,6 +15,7 @@
 DISTFILES += README.CSW
 DISTFILES += changelog.CSW
 DISTFILES += COPYING
+DISTFILES += spamass-milter.m4
 
 PATCHFILES  = 0000-Workaround-for-missing-paths.h.patch
 
@@ -54,6 +55,9 @@
 	@echo " ==> Installing startup script"
 	@ginstall -m 755 -d $(PKGROOT)$(sysconfdir)/init.d
 	@ginstall -m 755 $(FILEDIR)/cswspamass-milter $(PKGROOT)$(sysconfdir)/init.d/
-	@ginstall -m 755 $(FILEDIR)/spamass-milter.CSW $(PKGROOT)$(sysconfdir)/
+	@ginstall -m 644 $(FILEDIR)/spamass-milter.CSW $(PKGROOT)$(sysconfdir)/
 	@ginstall -m 755 -d $(PKGROOT)$(localstatedir)/run
+	@echo " ==> Installing spamass-milter sendmail macor"
+	@ginstall -m 755 -d $(PKGROOT)$(sharedstatedir)/sendmail/cf/feature
+	@ginstall -m 644 $(FILEDIR)/spamass-milter.m4 $(PKGROOT)$(sharedstatedir)/sendmail/cf/feature/
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/spamass-milter/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/spamass-milter/trunk/files/changelog.CSW	2012-02-06 16:12:24 UTC (rev 17006)
+++ csw/mgar/pkg/spamass-milter/trunk/files/changelog.CSW	2012-02-06 21:18:12 UTC (rev 17007)
@@ -1,3 +1,10 @@
+spamass-milter (0.3.2,REV=2012.02.06)
+
+  * spamass-milter.m4: Added Sendmail feature macro
+
+ -- Rafael Ostertag <raos at opencsw.org>  Mon, 06 Feb 2012 22:04:52 +0100
+
+
 spamass-milter (0.3.2,REV=2012.02.05)
 
   * New upstream release 0.3.2
@@ -5,3 +12,4 @@
   * Added startup script and configuration file for startup script
 
  -- Rafael Ostertag <raos at opencsw.org>  Sun, 05 Feb 2012 15:10:36 +0100
+

Added: csw/mgar/pkg/spamass-milter/trunk/files/spamass-milter.m4
===================================================================
--- csw/mgar/pkg/spamass-milter/trunk/files/spamass-milter.m4	                        (rev 0)
+++ csw/mgar/pkg/spamass-milter/trunk/files/spamass-milter.m4	2012-02-06 21:18:12 UTC (rev 17007)
@@ -0,0 +1,17 @@
+divert(-1)
+# Sendmail feature for simple integration of spamass-milter
+#
+# Part of CSWspamass-milter.
+#
+
+divert(0)
+VERSIONID(`$Id')dnl
+divert(-1)
+
+ifdef(`_ARG_',dnl
+	define(`__SPAMASS_SOCK__',defn(`_ARG_')),dnl
+	define(`__SPAMASS_SOCK__',`/var/run/spamass.sock'))dnl
+INPUT_MAIL_FILTER(`spamass-milter', `S=local:'__SPAMASS_SOCK__`, F=, T=C:15m;S:4m;R:4m;E:10m')
+define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl
+define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl
+define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')dnl


Property changes on: csw/mgar/pkg/spamass-milter/trunk/files/spamass-milter.m4
___________________________________________________________________
Added: svn:keywords
   + Id

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