From owner-svn-ports-all@FreeBSD.ORG Thu May 14 10:54:34 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F7F9EB6; Thu, 14 May 2015 10:54:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2E5E01261; Thu, 14 May 2015 10:54:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4EAsYwb050240; Thu, 14 May 2015 10:54:34 GMT (envelope-from vsevolod@FreeBSD.org) Received: (from vsevolod@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4EAsXB2050237; Thu, 14 May 2015 10:54:33 GMT (envelope-from vsevolod@FreeBSD.org) Message-Id: <201505141054.t4EAsXB2050237@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: vsevolod set sender to vsevolod@FreeBSD.org using -f From: Vsevolod Stakhov Date: Thu, 14 May 2015 10:54:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386316 - head/mail/rspamd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2015 10:54:34 -0000 Author: vsevolod Date: Thu May 14 10:54:32 2015 New Revision: 386316 URL: https://svnweb.freebsd.org/changeset/ports/386316 Log: - Update to 0.9.0 - Modernize the plist infrastructure of the port - Switch to luajit from plain lua Modified: head/mail/rspamd/Makefile head/mail/rspamd/distinfo head/mail/rspamd/pkg-plist Modified: head/mail/rspamd/Makefile ============================================================================== --- head/mail/rspamd/Makefile Thu May 14 10:49:29 2015 (r386315) +++ head/mail/rspamd/Makefile Thu May 14 10:54:32 2015 (r386316) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= rspamd -PORTVERSION= 0.8.3 +PORTVERSION= 0.9.0 CATEGORIES= mail MASTER_SITES= http://rspamd.com/downloads/ @@ -12,7 +12,8 @@ LICENSE= BSD2CLAUSE LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ libgmime-2.4.so:${PORTSDIR}/mail/gmime24 \ - libevent.so:${PORTSDIR}/devel/libevent2 + libevent.so:${PORTSDIR}/devel/libevent2 \ + libluajit-5.1.so:${PORTSDIR}/lang/luajit OPTIONS_DEFINE= GPERF REDIRECTOR GPERF_DESC= google perf-tools profiling @@ -23,17 +24,17 @@ USE_RC_SUBR= rspamd PLIST_SUB+= ETCDIR=etc/rspamd \ RSPAMDVERSION=${PORTVERSION} CMAKE_ARGS+= -DCONFDIR=${PREFIX}/etc/rspamd \ - -DLOGDIR=/var/log/rspamd \ - -DDBDIR=/var/db/rspamd \ - -DRUNDIR=/var/run/rspamd \ - -DMANDIR=${MANPREFIX}/man \ - -DCMAKE_INSTALL_PREFIX=${PREFIX} \ - -DBUILD_PORT=yes \ - -DFORCE_GMIME24=yes \ - -DLIBDIR=${PREFIX}/lib \ - -DNO_SHARED=ON + -DLOGDIR=/var/log/rspamd \ + -DDBDIR=/var/db/rspamd \ + -DRUNDIR=/var/run/rspamd \ + -DMANDIR=${MANPREFIX}/man \ + -DCMAKE_INSTALL_PREFIX=${PREFIX} \ + -DBUILD_PORT=yes \ + -DFORCE_GMIME24=yes \ + -DLIBDIR=${PREFIX}/lib/rspamd \ + -DNO_SHARED=ON -USES= cmake:outsource gettext iconv pkgconfig lua:51+ tar:xz perl5 +USES= cmake:outsource gettext iconv pkgconfig tar:xz perl5 USE_LDCONFIG= yes USE_PERL5= build @@ -69,7 +70,7 @@ USE_SQLITE= yes PLIST_SUB+= REDIRECTOR="@comment " .endif -post-install: +post-stage: ${INSTALL} -d \ ${STAGEDIR}/var/log/rspamd \ ${STAGEDIR}/var/db/rspamd \ Modified: head/mail/rspamd/distinfo ============================================================================== --- head/mail/rspamd/distinfo Thu May 14 10:49:29 2015 (r386315) +++ head/mail/rspamd/distinfo Thu May 14 10:54:32 2015 (r386316) @@ -1,2 +1,2 @@ -SHA256 (rspamd-0.8.3.tar.xz) = 20f788b08406fdaa8148d726e7ba18940108afff2d48b4f47726e3f2a6a88daf -SIZE (rspamd-0.8.3.tar.xz) = 757676 +SHA256 (rspamd-0.9.0.tar.xz) = 1049580064844bb15002d67ea3cecdaa0500a579616a6aed4d474a3c58cdb918 +SIZE (rspamd-0.9.0.tar.xz) = 794664 Modified: head/mail/rspamd/pkg-plist ============================================================================== --- head/mail/rspamd/pkg-plist Thu May 14 10:49:29 2015 (r386315) +++ head/mail/rspamd/pkg-plist Thu May 14 10:54:32 2015 (r386316) @@ -10,6 +10,7 @@ bin/rspamc %%ETCDIR%%/lua/rspamd.classifiers.lua %%ETCDIR%%/lua/rspamd.lua %%ETCDIR%%/lua/hfilter.lua +%%DATADIR%%/lua/dmarc.lua %%DATADIR%%/lua/emails.lua %%DATADIR%%/lua/forged_recipients.lua %%DATADIR%%/lua/fun.lua @@ -21,7 +22,9 @@ bin/rspamc %%DATADIR%%/lua/ratelimit.lua %%DATADIR%%/lua/rbl.lua %%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 @@ -32,6 +35,7 @@ bin/rspamc %%DATADIR%%/www/js/rspamd.js %%DATADIR%%/www/js/jquery.paginatetable.js %%DATADIR%%/www/css/rspamd.css +lib/rspamd/librspamd-actrie.so @sample %%ETCDIR%%/common.conf.sample @sample %%ETCDIR%%/logging.inc.sample @sample %%ETCDIR%%/options.inc.sample @@ -46,20 +50,11 @@ bin/rspamc @sample %%ETCDIR%%/surbl-whitelist.inc.sample man/man1/rspamc.1.gz man/man8/rspamd.8.gz -@dirrmtry %%DATADIR%%/lua -@dirrmtry %%DATADIR%%/www/js -@dirrmtry %%DATADIR%%/www/css -@dirrmtry %%DATADIR%%/www/img -@dirrmtry %%DATADIR%%/www -@dirrmtry %%DATADIR%% -@dirrmtry %%ETCDIR%%/lua/regexp -@dirrmtry %%ETCDIR%%/lua -@dirrmtry %%ETCDIR%% -%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% +@dir %%EXAMPLESDIR%% @owner nobody @group nobody -@dirrmtry /var/db/rspamd -@dirrmtry /var/log/rspamd -@dirrm /var/run/rspamd +@dir /var/db/rspamd +@dir /var/log/rspamd +@dir /var/run/rspamd @owner @group