pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/rspamd



Module Name:    pkgsrc
Committed By:   rillig
Date:           Tue Nov  5 19:16:32 UTC 2019

Modified Files:
        pkgsrc/mail/rspamd: Makefile cfgfiles.mk

Log Message:
mail/rspamd: make cfgfiles.mk conform to the preferred code style


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/mail/rspamd/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/mail/rspamd/cfgfiles.mk

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

Modified files:

Index: pkgsrc/mail/rspamd/Makefile
diff -u pkgsrc/mail/rspamd/Makefile:1.56 pkgsrc/mail/rspamd/Makefile:1.57
--- pkgsrc/mail/rspamd/Makefile:1.56    Sun Nov  3 18:19:32 2019
+++ pkgsrc/mail/rspamd/Makefile Tue Nov  5 19:16:31 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2019/11/03 18:19:32 triaxx Exp $
+# $NetBSD: Makefile,v 1.57 2019/11/05 19:16:31 rillig Exp $
 
 DISTNAME=      rspamd-2.1
 CATEGORIES=    mail
@@ -81,11 +81,13 @@ CONF_FILES+=        ${EGDIR}/${file} ${PKG_SYSC
 ### Generate list of config files
 ###
 .PHONY: cfgfiles
-cfgfiles: do-extract
+cfgfiles:
+       ${RUN} ${RECURSIVE_MAKE} extract
        @${ECHO} "# \$$NetBSD\$$" > ${.CURDIR}/cfgfiles.mk
-       @${ECHO} "# Do not edit, regenerate post-extract using 'make cfgfiles'" >> ${.CURDIR}/cfgfiles.mk
-       @${ECHO} "CFGFILES= \\" >> ${.CURDIR}/cfgfiles.mk
-       cd ${WRKSRC}/conf && ${FIND} * -type f | ${SORT} | ${TR} '\n' ' ' >> ${.CURDIR}/cfgfiles.mk
+       @${ECHO} "# Do not edit, regenerate using 'make cfgfiles'" >> ${.CURDIR}/cfgfiles.mk
+       ${RUN} cd ${WRKSRC}/conf && ${FIND} * -type f | ${SORT} \
+       | ${TR} '\n' ' ' | ${SED} 's, $$,,' \
+       | ${AWK} '{print("CFGFILES=\t" $$0)}' >> ${.CURDIR}/cfgfiles.mk
        @${ECHO} >> ${.CURDIR}/cfgfiles.mk
 
 post-extract:

Index: pkgsrc/mail/rspamd/cfgfiles.mk
diff -u pkgsrc/mail/rspamd/cfgfiles.mk:1.4 pkgsrc/mail/rspamd/cfgfiles.mk:1.5
--- pkgsrc/mail/rspamd/cfgfiles.mk:1.4  Sun Nov  3 18:19:32 2019
+++ pkgsrc/mail/rspamd/cfgfiles.mk      Tue Nov  5 19:16:31 2019
@@ -1,4 +1,4 @@
-# $NetBSD: cfgfiles.mk,v 1.4 2019/11/03 18:19:32 triaxx Exp $
+# $NetBSD: cfgfiles.mk,v 1.5 2019/11/05 19:16:31 rillig Exp $
 # Do not edit, regenerate post-extract using 'make cfgfiles'
-CFGFILES= \
-actions.conf cgp.inc common.conf composites.conf groups.conf logging.inc maps.d/dmarc_whitelist.inc maps.d/maillist.inc maps.d/mid.inc maps.d/mime_types.inc maps.d/redirectors.inc 
maps.d/spf_dkim_whitelist.inc maps.d/surbl-whitelist.inc metrics.conf modules.conf modules.d/antivirus.conf modules.d/arc.conf modules.d/asn.conf modules.d/chartable.conf modules.d/clickhouse.conf 
modules.d/dcc.conf modules.d/dkim.conf modules.d/dkim_signing.conf modules.d/dmarc.conf modules.d/elastic.conf modules.d/emails.conf modules.d/external_services.conf modules.d/force_actions.conf 
modules.d/forged_recipients.conf modules.d/fuzzy_check.conf modules.d/greylist.conf modules.d/hfilter.conf modules.d/history_redis.conf modules.d/maillist.conf modules.d/metadata_exporter.conf 
modules.d/metric_exporter.conf modules.d/mid.conf modules.d/milter_headers.conf modules.d/mime_types.conf modules.d/multimap.conf modules.d/mx_check.conf modules.d/neural.conf 
modules.d/once_received.conf modules.d/p0f.conf modules.
 d/phishing.conf modules.d/ratelimit.conf modules.d/rbl.conf modules.d/redis.conf modules.d/regexp.conf modules.d/replies.conf modules.d/reputation.conf modules.d/rspamd_update.conf 
modules.d/spamassassin.conf modules.d/spamtrap.conf modules.d/spf.conf modules.d/surbl.conf modules.d/trie.conf modules.d/url_redirector.conf modules.d/whitelist.conf options.inc rspamd.conf 
scores.d/fuzzy_group.conf scores.d/headers_group.conf scores.d/hfilter_group.conf scores.d/mime_types_group.conf scores.d/mua_group.conf scores.d/phishing_group.conf scores.d/policies_group.conf 
scores.d/rbl_group.conf scores.d/statistics_group.conf scores.d/subject_group.conf scores.d/surbl_group.conf scores.d/whitelist_group.conf settings.conf statistic.conf worker-controller.inc 
worker-fuzzy.inc worker-normal.inc worker-proxy.inc 
+CFGFILES=      actions.conf cgp.inc common.conf composites.conf groups.conf logging.inc maps.d/dmarc_whitelist.inc maps.d/maillist.inc maps.d/mid.inc maps.d/mime_types.inc maps.d/redirectors.inc 
maps.d/spf_dkim_whitelist.inc maps.d/surbl-whitelist.inc metrics.conf modules.conf modules.d/antivirus.conf modules.d/arc.conf modules.d/asn.conf modules.d/chartable.conf modules.d/clickhouse.conf 
modules.d/dcc.conf modules.d/dkim.conf modules.d/dkim_signing.conf modules.d/dmarc.conf modules.d/elastic.conf modules.d/emails.conf modules.d/external_services.conf modules.d/force_actions.conf 
modules.d/forged_recipients.conf modules.d/fuzzy_check.conf modules.d/greylist.conf modules.d/hfilter.conf modules.d/history_redis.conf modules.d/maillist.conf modules.d/metadata_exporter.conf 
modules.d/metric_exporter.conf modules.d/mid.conf modules.d/milter_headers.conf modules.d/mime_types.conf modules.d/multimap.conf modules.d/mx_check.conf modules.d/neural.conf 
modules.d/once_received.conf modules.d/p0f.con
 f modules.d/phishing.conf modules.d/ratelimit.conf modules.d/rbl.conf modules.d/redis.conf modules.d/regexp.conf modules.d/replies.conf modules.d/reputation.conf modules.d/rspamd_update.conf 
modules.d/spamassassin.conf modules.d/spamtrap.conf modules.d/spf.conf modules.d/surbl.conf modules.d/trie.conf modules.d/url_redirector.conf modules.d/whitelist.conf options.inc rspamd.conf 
scores.d/fuzzy_group.conf scores.d/headers_group.conf scores.d/hfilter_group.conf scores.d/mime_types_group.conf scores.d/mua_group.conf scores.d/phishing_group.conf scores.d/policies_group.conf 
scores.d/rbl_group.conf scores.d/statistics_group.conf scores.d/subject_group.conf scores.d/surbl_group.conf scores.d/whitelist_group.conf settings.conf statistic.conf worker-controller.inc 
worker-fuzzy.inc worker-normal.inc worker-proxy.inc
+



Home | Main Index | Thread Index | Old Index