svn commit: r397493 - in head: . mail/rspamd mail/rspamd/files

Vsevolod Stakhov vsevolod at FreeBSD.org
Mon Sep 21 13:24:26 UTC 2015


Author: vsevolod
Date: Mon Sep 21 13:24:24 2015
New Revision: 397493
URL: https://svnweb.freebsd.org/changeset/ports/397493

Log:
  - Update mail/rspamd to 1.0.0
  
  Submitted by:	az via private email
  Relnotes:	https://rspamd.com/announce/2015/09/17/rspamd-1.0.html

Added:
  head/mail/rspamd/files/patch-CMakeLists.txt   (contents, props changed)
Modified:
  head/UPDATING
  head/mail/rspamd/Makefile
  head/mail/rspamd/distinfo
  head/mail/rspamd/pkg-plist

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Mon Sep 21 12:36:55 2015	(r397492)
+++ head/UPDATING	Mon Sep 21 13:24:24 2015	(r397493)
@@ -5,6 +5,14 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20150921:
+  AFFECTS: users of mail/rspamd
+  AUTHOR: vsevolod at FreeBSD.org
+
+  rspamd has been updated to the version 1.0.
+  For migration from the previous releases, please read the following document:
+  https://rspamd.com/doc/migration.html
+
 20150919:
   AFFECTS: users of multimedia/ffmpeg
   AUTHOR: riggs at FreeBSD.org

Modified: head/mail/rspamd/Makefile
==============================================================================
--- head/mail/rspamd/Makefile	Mon Sep 21 12:36:55 2015	(r397492)
+++ head/mail/rspamd/Makefile	Mon Sep 21 13:24:24 2015	(r397493)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	rspamd
-PORTVERSION=	0.9.10
+PORTVERSION=	1.0.0
 CATEGORIES=	mail
 MASTER_SITES=	http://rspamd.com/downloads/
 
@@ -52,7 +52,7 @@ USE_SQLITE=	yes
 .endif
 
 .if ${PORT_OPTIONS:MREDIRECTOR}
- USES+=		perl5
+ USE_PERL5+=	run
  CMAKE_ARGS+=	-DENABLE_REDIRECTOR=ON
  PLIST_SUB+=	REDIRECTOR=""
  USE_RC_SUBR+=	rspamd_redirector
@@ -77,5 +77,9 @@ post-stage:
 		${STAGEDIR}/var/log/rspamd \
 		${STAGEDIR}/var/db/rspamd \
 		${STAGEDIR}/var/run/rspamd
+		# Linux specific
+		${RM} ${STAGEDIR}/${ETCDIR}/rspamd.systemd.conf
+		# No need, since rspamd.conf.sample is a same
+		${RM} ${STAGEDIR}/${ETCDIR}/rspamd.sysvinit.conf
 
 .include <bsd.port.mk>

Modified: head/mail/rspamd/distinfo
==============================================================================
--- head/mail/rspamd/distinfo	Mon Sep 21 12:36:55 2015	(r397492)
+++ head/mail/rspamd/distinfo	Mon Sep 21 13:24:24 2015	(r397493)
@@ -1,2 +1,2 @@
-SHA256 (rspamd-0.9.10.tar.xz) = 5ff557610cc5b7000abe2df727d6b9bfec7e3fe019ce3fdcc386d16262b45652
-SIZE (rspamd-0.9.10.tar.xz) = 808764
+SHA256 (rspamd-1.0.0.tar.xz) = 63b23ab1c35db6291150e1b11b3cdee33155252bd1ec57382c9b0f8f76d69a39
+SIZE (rspamd-1.0.0.tar.xz) = 1045208

Added: head/mail/rspamd/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/rspamd/files/patch-CMakeLists.txt	Mon Sep 21 13:24:24 2015	(r397493)
@@ -0,0 +1,29 @@
+--- ./CMakeLists.txt.orig	2015-09-01 16:28:36.000000000 +0300
++++ ./CMakeLists.txt	2015-09-21 14:10:42.046330451 +0300
+@@ -1042,6 +1042,19 @@
+ ENDIF(WANT_SYSTEMD_UNITS MATCHES "ON")
+ IF(BUILD_PORT)
+ 	INSTALL_IF_NOT_EXISTS(${MAIN_CONF} ${CONFDIR} "rspamd.conf" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/common.conf" ${CONFDIR} "common.conf" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/logging.inc" ${CONFDIR} "logging.inc" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/options.inc" ${CONFDIR} "options.inc" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/worker-controller.inc" ${CONFDIR} "worker-controller.inc" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/worker-normal.inc" ${CONFDIR} "worker-normal.inc" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/2tld.inc" ${CONFDIR} "2tld.inc" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/composites.conf" ${CONFDIR} "composites.conf" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/metrics.conf" ${CONFDIR} "metrics.conf" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/modules.conf" ${CONFDIR} "modules.conf" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/statistic.conf" ${CONFDIR} "statistic.conf" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/surbl-whitelist.inc" ${CONFDIR} "surbl-whitelist.inc" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/dmarc_whitelist.inc" ${CONFDIR} "dmarc_whitelist.inc" ".sample")
++	INSTALL_IF_NOT_EXISTS("conf/spf_dkim_whitelist.inc" ${CONFDIR} "spf_dkim_whitelist.inc" ".sample")
+ ELSE(BUILD_PORT)
+ 	INSTALL_IF_NOT_EXISTS(${MAIN_CONF} ${CONFDIR} "rspamd.conf" "")
+ ENDIF(BUILD_PORT)
+@@ -1109,4 +1122,4 @@
+ IF(NOT DEBIAN_BUILD)
+ 	ADD_CUSTOM_TARGET(check DEPENDS rspamd-test)
+ 	ADD_CUSTOM_TARGET(run-test DEPENDS check COMMAND test/rspamd-test)
+-ENDIF(NOT DEBIAN_BUILD)
+\ No newline at end of file
++ENDIF(NOT DEBIAN_BUILD)

Modified: head/mail/rspamd/pkg-plist
==============================================================================
--- head/mail/rspamd/pkg-plist	Mon Sep 21 12:36:55 2015	(r397492)
+++ head/mail/rspamd/pkg-plist	Mon Sep 21 13:24:24 2015	(r397493)
@@ -3,17 +3,44 @@ bin/rspamd
 bin/rspamc-%%RSPAMDVERSION%%
 bin/rspamc
 %%REDIRECTOR%%bin/rspamd-redirector
-%%ETCDIR%%/lua/regexp/drugs.lua
-%%ETCDIR%%/lua/regexp/fraud.lua
-%%ETCDIR%%/lua/regexp/headers.lua
-%%ETCDIR%%/lua/regexp/lotto.lua
-%%ETCDIR%%/lua/rspamd.classifiers.lua
-%%ETCDIR%%/lua/rspamd.lua
-%%ETCDIR%%/lua/hfilter.lua
+ at sample %%ETCDIR%%/2tld.inc.sample
+ at sample %%ETCDIR%%/common.conf.sample
+ at sample %%ETCDIR%%/composites.conf.sample
+ at sample %%ETCDIR%%/dmarc_whitelist.inc.sample
+ at sample %%ETCDIR%%/logging.inc.sample
+ at sample %%ETCDIR%%/metrics.conf.sample
+ at sample %%ETCDIR%%/modules.conf.sample
+%%ETCDIR%%/modules.d/chartable.conf
+%%ETCDIR%%/modules.d/dkim.conf
+%%ETCDIR%%/modules.d/dmarc.conf
+%%ETCDIR%%/modules.d/emails.conf
+%%ETCDIR%%/modules.d/forged_recipients.conf
+%%ETCDIR%%/modules.d/fuzzy_check.conf
+%%ETCDIR%%/modules.d/hfilter.conf
+%%ETCDIR%%/modules.d/ip_score.conf
+%%ETCDIR%%/modules.d/maillist.conf
+%%ETCDIR%%/modules.d/multimap.conf
+%%ETCDIR%%/modules.d/once_received.conf
+%%ETCDIR%%/modules.d/phishing.conf
+%%ETCDIR%%/modules.d/ratelimit.conf
+%%ETCDIR%%/modules.d/regexp.conf
+%%ETCDIR%%/modules.d/spf.conf
+%%ETCDIR%%/modules.d/surbl.conf
+%%ETCDIR%%/modules.d/whitelist.conf
+ at sample %%ETCDIR%%/options.inc.sample
+ at sample %%ETCDIR%%/rspamd.conf.sample
+ at sample %%ETCDIR%%/spf_dkim_whitelist.inc.sample
+ at sample %%ETCDIR%%/statistic.conf.sample
+ at sample %%ETCDIR%%/surbl-whitelist.inc.sample
+ at sample %%ETCDIR%%/worker-controller.inc.sample
+ at sample %%ETCDIR%%/worker-normal.inc.sample
+lib/rspamd/librspamd-actrie.so
+%%DATADIR%%/effective_tld_names.dat
 %%DATADIR%%/lua/dmarc.lua
 %%DATADIR%%/lua/emails.lua
 %%DATADIR%%/lua/forged_recipients.lua
 %%DATADIR%%/lua/fun.lua
+%%DATADIR%%/lua/hfilter.lua
 %%DATADIR%%/lua/ip_score.lua
 %%DATADIR%%/lua/maillist.lua
 %%DATADIR%%/lua/multimap.lua
@@ -24,30 +51,32 @@ bin/rspamc
 %%DATADIR%%/lua/settings.lua
 %%DATADIR%%/lua/spamassassin.lua
 %%DATADIR%%/lua/trie.lua
-%%DATADIR%%/effective_tld_names.dat
-%%DATADIR%%/www/index.html
-%%DATADIR%%/www/plugins.txt
-%%DATADIR%%/www/img/spinner.gif
-%%DATADIR%%/www/img/desc.png
+%%DATADIR%%/lua/whitelist.lua
+%%DATADIR%%/rules/html.lua
+%%DATADIR%%/rules/misc.lua
+%%DATADIR%%/rules/regexp/drugs.lua
+%%DATADIR%%/rules/regexp/fraud.lua
+%%DATADIR%%/rules/regexp/headers.lua
+%%DATADIR%%/rules/regexp/lotto.lua
+%%DATADIR%%/rules/rspamd.classifiers.lua
+%%DATADIR%%/rules/rspamd.lua
+%%DATADIR%%/www/README.md
+%%DATADIR%%/www/css/rspamd.css
 %%DATADIR%%/www/img/asc.png
+%%DATADIR%%/www/img/desc.png
+%%DATADIR%%/www/img/spinner.gif
 %%DATADIR%%/www/img/spinner.png
-%%DATADIR%%/www/README.md
-%%DATADIR%%/www/js/rspamd.js
+%%DATADIR%%/www/index.html
 %%DATADIR%%/www/js/jquery.paginatetable.js
-%%DATADIR%%/www/css/rspamd.css
-lib/rspamd/librspamd-actrie.so
- at sample %%ETCDIR%%/common.conf.sample
- at sample %%ETCDIR%%/logging.inc.sample
- at sample %%ETCDIR%%/options.inc.sample
- at sample %%ETCDIR%%/worker-controller.inc.sample
- at sample %%ETCDIR%%/worker-normal.inc.sample
- at sample %%ETCDIR%%/rspamd.conf.sample
- at sample %%ETCDIR%%/2tld.inc.sample
- at sample %%ETCDIR%%/composites.conf.sample
- at sample %%ETCDIR%%/metrics.conf.sample
- at sample %%ETCDIR%%/modules.conf.sample
- at sample %%ETCDIR%%/statistic.conf.sample
- at sample %%ETCDIR%%/surbl-whitelist.inc.sample
+%%DATADIR%%/www/js/rspamd.js
+%%DATADIR%%/www/plugins.txt
+%%DATADIR%%/www/react-index.html
+%%DATADIR%%/www/src/Gruntfile.js
+%%DATADIR%%/www/src/common.js
+%%DATADIR%%/www/src/components/app.jsx
+%%DATADIR%%/www/src/components/dashboard.jsx
+%%DATADIR%%/www/src/components/login.jsx
+%%DATADIR%%/www/src/package.json
 man/man1/rspamc.1.gz
 man/man8/rspamd.8.gz
 @dir %%EXAMPLESDIR%%


More information about the svn-ports-all mailing list