From owner-svn-ports-all@freebsd.org Wed Sep 9 13:43:45 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C19ADA008CC; Wed, 9 Sep 2015 13:43:45 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repo.freebsd.org (repo.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 B17DE18E0; Wed, 9 Sep 2015 13:43:45 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t89DhjZk009510; Wed, 9 Sep 2015 13:43:45 GMT (envelope-from des@FreeBSD.org) Received: (from des@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t89DhiAE009505; Wed, 9 Sep 2015 13:43:44 GMT (envelope-from des@FreeBSD.org) Message-Id: <201509091343.t89DhiAE009505@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: des set sender to des@FreeBSD.org using -f From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= Date: Wed, 9 Sep 2015 13:43:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396478 - in head/mail/spampd: . files 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: Wed, 09 Sep 2015 13:43:46 -0000 Author: des Date: Wed Sep 9 13:43:43 2015 New Revision: 396478 URL: https://svnweb.freebsd.org/changeset/ports/396478 Log: Upgrade to latest version and assume maintainership. Modified: head/mail/spampd/Makefile head/mail/spampd/distinfo head/mail/spampd/files/patch-setsid head/mail/spampd/files/patch-user_dir head/mail/spampd/pkg-descr Modified: head/mail/spampd/Makefile ============================================================================== --- head/mail/spampd/Makefile Wed Sep 9 13:40:44 2015 (r396477) +++ head/mail/spampd/Makefile Wed Sep 9 13:43:43 2015 (r396478) @@ -2,24 +2,27 @@ # $FreeBSD$ PORTNAME= spampd -PORTVERSION= 2.30 -PORTREVISION= 5 +PORTVERSION= 2.42 CATEGORIES= mail perl5 -MASTER_SITES= http://www.worlddesign.com/Content/rd/mta/spampd/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= des@FreeBSD.org COMMENT= Spamassassin SMTP Proxy +LICENSE= GPLv2 + RUN_DEPENDS= spamc:${PORTSDIR}/mail/spamassassin \ p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server NO_BUILD= yes PLIST_FILES= sbin/spampd USES= perl5 shebangfix -SHEBANG_FILES= spampd +SHEBANG_FILES= spampd.pl USE_RC_SUBR= spampd +USE_GITHUB= yes +GH_ACCOUNT= mpaperno + do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/spampd ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_SCRIPT} ${WRKSRC}/spampd.pl ${STAGEDIR}${PREFIX}/sbin/spampd .include Modified: head/mail/spampd/distinfo ============================================================================== --- head/mail/spampd/distinfo Wed Sep 9 13:40:44 2015 (r396477) +++ head/mail/spampd/distinfo Wed Sep 9 13:43:43 2015 (r396478) @@ -1,2 +1,2 @@ -SHA256 (spampd-2.30.tar.gz) = 6885544f4d1b339ebe3ad58068434397280a6526f682e78f7d0246aef6a09979 -SIZE (spampd-2.30.tar.gz) = 25001 +SHA256 (mpaperno-spampd-2.42_GH0.tar.gz) = c6dcef8df0c471b3982e777bcccfe343f1f6f921113c2b369a76144724b1d15d +SIZE (mpaperno-spampd-2.42_GH0.tar.gz) = 202504 Modified: head/mail/spampd/files/patch-setsid ============================================================================== --- head/mail/spampd/files/patch-setsid Wed Sep 9 13:40:44 2015 (r396477) +++ head/mail/spampd/files/patch-setsid Wed Sep 9 13:43:43 2015 (r396478) @@ -1,6 +1,6 @@ ---- spampd.orig Mon Nov 29 16:34:40 2004 -+++ spampd Mon Nov 29 16:34:50 2004 -@@ -825,7 +825,7 @@ +--- spampd.pl.orig 2013-12-08 11:34:02 UTC ++++ spampd.pl +@@ -961,7 +961,7 @@ my $server = bless { syslog_ident => 'spampd', syslog_facility => 'mail', background => $background, Modified: head/mail/spampd/files/patch-user_dir ============================================================================== --- head/mail/spampd/files/patch-user_dir Wed Sep 9 13:40:44 2015 (r396477) +++ head/mail/spampd/files/patch-user_dir Wed Sep 9 13:43:43 2015 (r396478) @@ -1,10 +1,10 @@ ---- spampd.orig Thu Dec 8 09:54:07 2005 -+++ spampd Thu Dec 8 09:54:07 2005 -@@ -793,6 +793,7 @@ - my $assassin = Mail::SpamAssassin->new({ - 'dont_copy_prefs' => 1, +--- spampd.pl.orig 2015-09-09 13:41:07 UTC ++++ spampd.pl +@@ -914,6 +914,7 @@ my $sa_options = { 'debug' => $debug, + 'local_tests_only' => $options{'local-only'} || 0, + 'home_dir_for_helpers' => $sa_home_dir, + 'user_dir' => (getpwnam($user))[7], - 'local_tests_only' => $options{'local-only'} || 0 }); - - $options{'auto-whitelist'} and eval { + 'userstate_dir' => $sa_home_dir, + 'username' => $user + }; Modified: head/mail/spampd/pkg-descr ============================================================================== --- head/mail/spampd/pkg-descr Wed Sep 9 13:40:44 2015 (r396477) +++ head/mail/spampd/pkg-descr Wed Sep 9 13:43:43 2015 (r396478) @@ -8,4 +8,4 @@ mail could be spam, then spampd will ask the message indicating it's spam and why. spampd is written in Perl and should theoretically run on any platform supported by Perl and SpamAssassin. -WWW: http://www.worlddesign.com/index.cfm/rd/mta/spampd.htm +WWW: https://github.com/mpaperno/spampd