diff options
author | rillig <rillig@pkgsrc.org> | 2019-11-05 19:16:31 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2019-11-05 19:16:31 +0000 |
commit | b94bc9503be8c25d68739a3216a86eba658cd6cb (patch) | |
tree | dd93b2069bdd95976ade9a7c89dc01a13736e4f6 /mail | |
parent | 737303ec7c17918aaba864630918b8d83bece2fc (diff) | |
download | pkgsrc-b94bc9503be8c25d68739a3216a86eba658cd6cb.tar.gz |
mail/rspamd: make cfgfiles.mk conform to the preferred code style
Diffstat (limited to 'mail')
-rw-r--r-- | mail/rspamd/Makefile | 12 | ||||
-rw-r--r-- | mail/rspamd/cfgfiles.mk | 6 |
2 files changed, 10 insertions, 8 deletions
diff --git a/mail/rspamd/Makefile b/mail/rspamd/Makefile index a95e602d77a..2e8d64e392b 100644 --- a/mail/rspamd/Makefile +++ b/mail/rspamd/Makefile @@ -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_SYSCONFDIR}/${file} ### 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: diff --git a/mail/rspamd/cfgfiles.mk b/mail/rspamd/cfgfiles.mk index a47f02e5ce8..5cea9aac445 100644 --- a/mail/rspamd/cfgfiles.mk +++ b/mail/rspamd/cfgfiles.mk @@ -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.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 + |