pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/opensmtpd-filter-rspamd



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Aug 28 18:08:42 UTC 2023

Modified Files:
        pkgsrc/mail/opensmtpd-filter-rspamd: Makefile
        pkgsrc/mail/opensmtpd-filter-rspamd/files: README.rspamd

Log Message:
opensmtpd-filter-rspamd: improve README.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/opensmtpd-filter-rspamd/Makefile
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/opensmtpd-filter-rspamd/Makefile
diff -u pkgsrc/mail/opensmtpd-filter-rspamd/Makefile:1.1 pkgsrc/mail/opensmtpd-filter-rspamd/Makefile:1.2
--- pkgsrc/mail/opensmtpd-filter-rspamd/Makefile:1.1    Mon Aug 28 16:26:10 2023
+++ pkgsrc/mail/opensmtpd-filter-rspamd/Makefile        Mon Aug 28 18:08:42 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2023/08/28 16:26:10 vins Exp $
+# $NetBSD: Makefile,v 1.2 2023/08/28 18:08:42 vins Exp $
 
 DISTNAME=      filter-rspamd-0.1.8
 PKGNAME=       ${DISTNAME:S|^|opensmtpd-|}
@@ -15,11 +15,11 @@ LICENSE=    isc
 DEPENDS+=      opensmtpd-[0-9]*:../../mail/opensmtpd
 DEPENDS+=      rspamd-[0-9]*:../../mail/rspamd
 
-SUBST_CLASSES+=                conf
-SUBST_STAGE.conf=      pre-configure
-SUBST_FILES.conf=      README.rspamd
-SUBST_VARS.conf=       PKG_SYSCONFDIR
-SUBST_MESSAGE.conf=    Replacing pkgsrc placeholders.
+SUBST_CLASSES+=                prefix
+SUBST_STAGE.prefix=    pre-configure
+SUBST_FILES.prefix=    README.rspamd
+SUBST_VARS.prefix=     PKG_SYSCONFDIR PREFIX
+SUBST_MESSAGE.prefix=  Replacing pkgsrc placeholders.
 
 GOPATH=        ${WRKDIR}/.gopath
 

Index: pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd
diff -u pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd:1.1 pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd:1.2
--- pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd:1.1 Mon Aug 28 16:26:10 2023
+++ pkgsrc/mail/opensmtpd-filter-rspamd/files/README.rspamd     Mon Aug 28 18:08:42 2023
@@ -7,12 +7,13 @@ configuration.
 
 Edit the @PKG_SYSCONFDIR@/smtpd/smtpd.conf file to declare the filter:
 
-  filter "rspamd" proc-exec "filter-rspamd"
+  filter "rspamd" \
+        proc-exec "@PREFIX@/libexec/opensmtpd/filter-rspamd"
 
 Then add the filter to each listener that should be filtered:
 
   listen on socket filter "rspamd"
-  listen on all filter "rspamd"
+  listen on $ipv4 [...] filter "rspamd"
 
 The filter itself doesn't have a configuration and depends upon 
 the Rspamd daemon configuration. 



Home | Main Index | Thread Index | Old Index