From owner-freebsd-perl@FreeBSD.ORG Sun Nov 14 06:15:22 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2237D16A4CE for ; Sun, 14 Nov 2004 06:15:22 +0000 (GMT) Received: from iris1.directnic.com (iris1.directnic.com [204.251.10.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E48743D53 for ; Sun, 14 Nov 2004 06:15:19 +0000 (GMT) (envelope-from ports@c0decafe.net) Received: by iris1.directnic.com (iris/0.161:423476); 14 Nov 2004 06:15:14 +0000 X-Iris-Host: 3263044661/[194.126.28.53] Received: from [194.126.28.53] (EHLO atlantis.local) (194.126.28.53) by pop.directnic.com (iris/0.160:423476/relay) with ESMTP for ; 14 Nov 2004 06:14:37 +0000 Received: from atlantis.local (localhost [127.0.0.1]) by atlantis.local (8.13.1/8.13.1) with ESMTP id iAE6E4v4059717; Sun, 14 Nov 2004 08:14:04 +0200 (EET) (envelope-from ports@c0decafe.net) Received: (from root@localhost) by atlantis.local (8.13.1/8.13.1/Submit) id iAE6E1iu059716; Sun, 14 Nov 2004 08:14:01 +0200 (EET) (envelope-from ports@c0decafe.net) Date: Sun, 14 Nov 2004 08:14:01 +0200 (EET) Message-Id: <200411140614.iAE6E1iu059716@atlantis.local> To: FreeBSD-gnats-submit@freebsd.org From: "ports@c0decafe.net" X-send-pr-version: 3.113 X-GNATS-Notify: cc: perl@freebsd.org Subject: [PATCH] www/p5-Template-Toolkit: OPTIONSnize plugins dependencies X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 06:15:22 -0000 >Submitter-Id: current-users >Originator: ports@c0decafe.net >Organization: >Confidential: no >Synopsis: [PATCH] www/p5-Template-Toolkit: OPTIONSnize plugins dependencies >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 5.3-STABLE i386 >Environment: System: FreeBSD atlantis.local 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Nov 13 07:00:43 EET 2004 >Description: add Template::Plugin::*'s optional dependencies Port maintainer (perl@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-Template-Toolkit-2.14.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/p5-Template-Toolkit.orig/Makefile /usr/ports/www/p5-Template-Toolkit/Makefile --- www/p5-Template-Toolkit.orig/Makefile Mon Nov 1 16:56:06 2004 +++ www/p5-Template-Toolkit/Makefile Sun Nov 14 05:01:01 2004 @@ -16,7 +16,21 @@ COMMENT= Extensive Toolkit for template processing BUILD_DEPENDS= ${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig -RUN_DEPENDS= ${BUILD_DEPENDS} + +OPTIONS=TEXT_AUTOFORMAT "With Text::Autoformat Plugin" off \ + GD "With GD Plugin" off \ + GD_TEXT "With GD::Text Plugin" off \ + GD_GRAPH "With GD::Graph Plugin" off \ + GD_GRAPH3D "With GD::Graph3d Plugin" off \ + IMAGE_INFO "With Image::Info Plugin" off \ + IMAGE_SIZE "With Image::Size Plugin" off \ + DATE_CALC "With Date::Calc Plugin" off \ + POD_POM "With Pod::POM Plugin" off \ + TIE_DBI "With Tie::DBI Plugin" off \ + XML_DOM "With XML::DOM Plugin" off \ + XML_RSS "With XML::RSS Plugin" off \ + XML_XPATH "With XML::XPath Plugin" off \ + DBI "With DBI Plugin" off PERL_CONFIGURE= yes @@ -30,6 +44,51 @@ BUILD_DEPENDS+= ${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec .endif .endif + +.if defined(WITH_TEXT_AUTOFORMAT) +BUILD_DEPENDS+=${SITE_PERL}/Text/Autoformat.pm:${PORTSDIR}/textproc/p5-Text-Autoformat +.endif +.if defined(WITH_GD) +BUILD_DEPENDS+=${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD +.endif +.if defined(WITH_GD_TEXT) +BUILD_DEPENDS+=${SITE_PERL}/GD/Text.pm:${PORTSDIR}/graphics/p5-GD-TextUtil +.endif +.if defined(WITH_GD_GRAPH) +BUILD_DEPENDS+=${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph +.endif +.if defined(WITH_GD_GRAPH3D) +BUILD_DEPENDS+=${SITE_PERL}/GD/Graph3d.pm:${PORTSDIR}/graphics/p5-GD-Graph3d +.endif +.if defined(WITH_IMAGE_INFO) +BUILD_DEPENDS+=${SITE_PERL}/Image/Info.pm:${PORTSDIR}/graphics/p5-Image-Info +.endif +.if defined(WITH_IMAGE_SIZE) +BUILD_DEPENDS+=${SITE_PERL}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size +.endif +.if defined(WITH_DATE_CALC) +BUILD_DEPENDS+=${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc +.endif +.if defined(WITH_POD_POM) +BUILD_DEPENDS+=${SITE_PERL}/Pod/POM.pm:${PORTSDIR}/textproc/p5-Pod-POM +.endif +.if defined(WITH_TIE_DBI) +BUILD_DEPENDS+=${SITE_PERL}/Tie/DBI.pm:${PORTSDIR}/databases/p5-Tie-DBI +.endif +.if defined(WITH_XML_DOM) +BUILD_DEPENDS+=${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM +.endif +.if defined(WITH_XML_RSS) +BUILD_DEPENDS+=${SITE_PERL}/XML/RSS.pm:${PORTSDIR}/textproc/p5-XML-RSS +.endif +.if defined(WITH_XML_XPATH) +BUILD_DEPENDS+=${SITE_PERL}/XML/XPath.pm:${PORTSDIR}/textproc/p5-XML-XPath +.endif +.if defined(WITH_DBI) +BUILD_DEPENDS+=${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +RUN_DEPENDS= ${BUILD_DEPENDS} .if defined(BATCH) CONFIGURE_ENV= | --- p5-Template-Toolkit-2.14.patch ends here --- From owner-freebsd-perl@FreeBSD.ORG Mon Nov 15 11:03:59 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6887416A4CE for ; Mon, 15 Nov 2004 11:03:59 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4515143D1F for ; Mon, 15 Nov 2004 11:03:59 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAFB3wxZ076316 for ; Mon, 15 Nov 2004 11:03:59 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAFB3v0a076310 for perl@freebsd.org; Mon, 15 Nov 2004 11:03:57 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 15 Nov 2004 11:03:57 GMT Message-Id: <200411151103.iAFB3v0a076310@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: perl@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 11:03:59 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/03/03] ports/63670 perl 'Unable to read from thread kernel pipe' 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2004/07/22] ports/69421 perl perl5-related distfiles are in common dis 1 problem total. From owner-freebsd-perl@FreeBSD.ORG Mon Nov 15 21:46:06 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C50E216A4D0 for ; Mon, 15 Nov 2004 21:46:06 +0000 (GMT) Received: from d.nordberg.se (c074461a.s-bi.bostream.se [217.215.27.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2938943D1F for ; Mon, 15 Nov 2004 21:46:06 +0000 (GMT) (envelope-from linus@nordberg.se) Received: from bam.nordberg.se (bam-w.nordberg.se [10.3.0.15]) by dupond.nordberg.se (Postfix) with ESMTP id 31DFC570D9 for ; Mon, 15 Nov 2004 22:24:43 +0100 (CET) Received: from bam.nordberg.se (localhost [127.0.0.1]) by bam.nordberg.se (Postfix) with ESMTP id E09281149 for ; Mon, 15 Nov 2004 22:23:19 +0100 (CET) To: perl@FreeBSD.org From: Linus Nordberg Date: Mon, 15 Nov 2004 22:23:19 +0100 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: p5-Mail-SpamAssassin dependency possibly missing X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 21:46:06 -0000 It seems like the p5-Mail-SpamAssassin port should have a runtime dependency to databases/p5-DBD-mysql or so. Thanks, Linus From owner-freebsd-perl@FreeBSD.ORG Mon Nov 15 22:14:14 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C5A616A4CE for ; Mon, 15 Nov 2004 22:14:14 +0000 (GMT) Received: from plouf.absolight.net (plouf.absolight.net [212.43.217.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id E67F443D1F for ; Mon, 15 Nov 2004 22:14:13 +0000 (GMT) (envelope-from mat@FreeBSD.org) Received: from pouet.in.mat.cc (pouet.in.mat.cc [193.30.224.122]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by plouf.absolight.net (Postfix) with ESMTP id A166EA24030; Mon, 15 Nov 2004 23:14:12 +0100 (CET) Date: Mon, 15 Nov 2004 23:14:07 +0100 From: Mathieu Arnold To: Linus Nordberg , perl@FreeBSD.org Message-ID: In-Reply-To: References: X-Mailer: Mulberry/4.0.0a3 (Win32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========593168949BAC0F074927==========" Subject: Re: p5-Mail-SpamAssassin dependency possibly missing X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 22:14:14 -0000 --==========593168949BAC0F074927========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +-Le 15/11/2004 22:23 +0100, Linus Nordberg a dit : | It seems like the p5-Mail-SpamAssassin port should have a runtime | dependency to databases/p5-DBD-mysql or so. I don't know why it should, I use it without any problems without any database. -- Mathieu Arnold --==========593168949BAC0F074927========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iQEVAwUBQZkqMVvROjYJ63c1AQLgdQf/VH+Y2BvFaVMXvdSvj/VZFuHiOAY3a8hF nEpyMVNo9b4phurtlYq4Ut9GzKyXsqXKcyFWpkDcUuVUU9l0p5UmS6VAEFAG6h38 jXAzV7tFNZ20KTZHqK5X/3ynVW6MDC4bMw3KP9JlDwEDc5E5tmo7dlv38vFwh3sw p4UuICkIkFDIhxfzh5ya3vyXiCZAI016vmoXGwV3NOnEqdCteszEoD8rClh3ZH5o lhZxXwUAyi13JSeHfNi+jZWTq4glJMQXQK63+X8OpnHIYlQg6pLHuSkehx+35qSR 1LTMs8vH/VLZEYcbIIJBbgH+DDqRGgTHggaC2IFKj5mPYwju3M0zUQ== =faMY -----END PGP SIGNATURE----- --==========593168949BAC0F074927==========-- From owner-freebsd-perl@FreeBSD.ORG Mon Nov 15 22:22:56 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8F7A16A4CE; Mon, 15 Nov 2004 22:22:56 +0000 (GMT) Received: from d.nordberg.se (c074461a.s-bi.bostream.se [217.215.27.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EA7943D2D; Mon, 15 Nov 2004 22:22:56 +0000 (GMT) (envelope-from linus@nordberg.se) Received: from bam.nordberg.se (bam-w.nordberg.se [10.3.0.15]) by d.nordberg.se (Postfix) with ESMTP id 519D3570D9; Mon, 15 Nov 2004 23:22:55 +0100 (CET) Received: from bam.nordberg.se (localhost [127.0.0.1]) by bam.nordberg.se (Postfix) with ESMTP id B97B61149; Mon, 15 Nov 2004 23:21:31 +0100 (CET) To: Mathieu Arnold References: From: Linus Nordberg Date: Mon, 15 Nov 2004 23:21:31 +0100 In-Reply-To: (Mathieu Arnold's message of "Mon, 15 Nov 2004 23:14:07 +0100") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" cc: perl@FreeBSD.org Subject: Re: p5-Mail-SpamAssassin dependency possibly missing X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 22:22:57 -0000 --=-=-= Mathieu Arnold wrote Mon, 15 Nov 2004 23:14:07 +0100: | | It seems like the p5-Mail-SpamAssassin port should have a runtime | | dependency to databases/p5-DBD-mysql or so. | | I don't know why it should, I use it without any problems without any | database. Ah, of course. I'm using spamd with --setuid-with-sql. Then perhaps a WITH_MYSQL or similar would be a good hint? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBmSvrUAvzAs4s3x4RAnn3AJ93G3P4GZrdGBF+5wfNrJFrrqzlQwCgooHz o4DLQSiWeDns7gqyKbk3rqE= =6gni -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-perl@FreeBSD.ORG Tue Nov 16 18:15:47 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AD7416A4CE; Tue, 16 Nov 2004 18:15:47 +0000 (GMT) Received: from mail.ciam.ru (mail.ciam.ru [213.147.57.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3A0F43D53; Tue, 16 Nov 2004 18:15:44 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from ppp83-237-164-17.pppoe.mtu-net.ru ([83.237.164.17]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1CU7rf-0002xU-SK; Tue, 16 Nov 2004 21:15:41 +0300 Message-ID: <419A43CB.3000407@FreeBSD.org> Date: Tue, 16 Nov 2004 21:15:39 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Linus Nordberg References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------000900020709040101010401" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "proxy.ciam.ru", hasmessagelabel similar future email. If you have any questions, see the administrator of that system for details. Content preview: Linus Nordberg wrote: > Mathieu Arnold wrote > Mon, 15 Nov 2004 23:14:07 +0100: > > | | It seems like the p5-Mail-SpamAssassin port should have a runtime > | | itAh, of course. I'm using spamd with --setuid-with-sql. > > Then perhaps a WITH_MYSQL or similar would be a good hint? [...] Content analysis details: (2.9 points, 5.0 required) pts rule name description --------------------------------------------------addr 1)address [83.237.164.17 listed in dnsbl.sorbs.net] cc: Mathieu Arnold cc: perl@FreeBSD.org Subject: Re: p5-Mail-SpamAssassin dependency possibly missing X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 18:15:47 -0000 This is a multi-part message in MIME format. --------------000900020709040101010401 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Linus Nordberg wrote: > Mathieu Arnold wrote > Mon, 15 Nov 2004 23:14:07 +0100: > > | | It seems like the p5-Mail-SpamAssassin port should have a runtime > | | dependency to databases/p5-DBD-mysql or so. > | > | I don't know why it should, I use it without any problems without any > | database. > > Ah, of course. I'm using spamd with --setuid-with-sql. > > Then perhaps a WITH_MYSQL or similar would be a good hint? Examine a patch. Is it enough? -- Sem. --------------000900020709040101010401 Content-Type: text/plain; name="SpamAssassin.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="SpamAssassin.patch" Index: Makefile =================================================================== RCS file: /home/pcvs/ports/mail/p5-Mail-SpamAssassin/Makefile,v retrieving revision 1.64 diff -u -r1.64 Makefile --- Makefile 28 Oct 2004 16:45:16 -0000 1.64 +++ Makefile 16 Nov 2004 18:14:15 -0000 @@ -37,6 +37,16 @@ CONFIGURE_ARGS+= ENABLE_SSL=no .endif +.if defined(WITH_MYSQL) +USE_MYSQL= yes +USE_SQLDB= yes +.endif + +.if defined(WITH_PGSQL) +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/pg.pm:${PORTSDIR}/databases/p5-DBD-Pg +USE_SQLDB= yes +.endif + MAN3= Mail::SpamAssassin.3 \ Mail::SpamAssassin::ArchiveIterator.3 \ Mail::SpamAssassin::AutoWhitelist.3 \ @@ -74,6 +84,10 @@ USE_RC_SUBR= yes SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%RC_SUBR%%|${RC_SUBR}|g' +.if defined(WITH_SQLDB) +SED_SCRIPT+= -e 's|%%SQL%%|-Q|g' +.endif + post-patch: @${FIND} ${WRKSRC} -name \*.orig -delete @${SED} -e 's#B_CONFDIR)/local.cf#B_CONFDIR)/local.cf.sample#g' \ Index: files/spamd.sh =================================================================== RCS file: /home/pcvs/ports/mail/p5-Mail-SpamAssassin/files/spamd.sh,v retrieving revision 1.8 diff -u -r1.8 spamd.sh --- files/spamd.sh 12 Oct 2004 10:42:38 -0000 1.8 +++ files/spamd.sh 16 Nov 2004 18:14:15 -0000 @@ -35,7 +35,7 @@ spamd_enable=${spamd_enable:-"NO"} spamd_pidfile=${spamd_pidfile:-"/var/run/spamd.pid"} -spamd_flags=${spamd_flags:-"-c -d -r ${spamd_pidfile}"} +spamd_flags=${spamd_flags:-"-c -d %%SQL%% -r ${spamd_pidfile}"} load_rc_config $name run_rc_command "$1" --------------000900020709040101010401-- From owner-freebsd-perl@FreeBSD.ORG Tue Nov 16 21:40:30 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E479B16A4D0; Tue, 16 Nov 2004 21:40:30 +0000 (GMT) Received: from d.nordberg.se (c074461a.s-bi.bostream.se [217.215.27.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9B9543D49; Tue, 16 Nov 2004 21:40:29 +0000 (GMT) (envelope-from linus@nordberg.se) Received: from bam.nordberg.se (bam-w.nordberg.se [10.3.0.15]) by d.nordberg.se (Postfix) with ESMTP id B2BC1570D9; Tue, 16 Nov 2004 22:40:25 +0100 (CET) Received: from bam.nordberg.se (localhost [127.0.0.1]) by bam.nordberg.se (Postfix) with ESMTP id F304AC2B; Tue, 16 Nov 2004 22:38:57 +0100 (CET) To: Sergey Matveychuk References: <419A43CB.3000407@FreeBSD.org> From: Linus Nordberg Date: Tue, 16 Nov 2004 22:38:57 +0100 In-Reply-To: <419A43CB.3000407@FreeBSD.org> (Sergey Matveychuk's message of "Tue, 16 Nov 2004 21:15:39 +0300") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Mathieu Arnold cc: perl@FreeBSD.org Subject: Re: p5-Mail-SpamAssassin dependency possibly missing X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 21:40:31 -0000 Sergey Matveychuk wrote Tue, 16 Nov 2004 21:15:39 +0300: | > Ah, of course. I'm using spamd with --setuid-with-sql. | > Then perhaps a WITH_MYSQL or similar would be a good hint? | | Examine a patch. | Is it enough? If USE_MYSQL magically adds a dependency to mysql.pm I think it's a good patch. From owner-freebsd-perl@FreeBSD.ORG Wed Nov 17 07:21:06 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1E4116A4CE for ; Wed, 17 Nov 2004 07:21:06 +0000 (GMT) Received: from mail.ciam.ru (mail.ciam.ru [213.147.57.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1100943D5A for ; Wed, 17 Nov 2004 07:21:06 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from ppp83-237-160-230.pppoe.mtu-net.ru ([83.237.160.230]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1CUK7j-000AEE-0P; Wed, 17 Nov 2004 10:21:04 +0300 Message-ID: <419AFBDD.70607@FreeBSD.org> Date: Wed, 17 Nov 2004 10:21:01 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Linus Nordberg References: <419A43CB.3000407@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "proxy.ciam.ru", hasmessagelabel similar future email. If you have any questions, see the administrator of that system for details.a[...] Content analysis details: (2.9 points, 5.0 required) pts rule name description --------------------------------------------------addr 1)address [83.237.160.230 listed in dnsbl.sorbs.net] cc: perl@FreeBSD.org Subject: Re: p5-Mail-SpamAssassin dependency possibly missing X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 07:21:06 -0000 Linus Nordberg wrote: > If USE_MYSQL magically adds a dependency to mysql.pm I think it's a > good patch. Yes, it does. -- Sem. From owner-freebsd-perl@FreeBSD.ORG Thu Nov 18 16:41:21 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69F3316A4CE; Thu, 18 Nov 2004 16:41:21 +0000 (GMT) Received: from q.closedsrc.org (ip233.gte244.dsl-acs2.sea.iinet.com [209.20.244.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EA4843D49; Thu, 18 Nov 2004 16:41:21 +0000 (GMT) (envelope-from question@closedsrc.org) Received: by q.closedsrc.org (Postfix, from userid 1001) id 4668B45037; Thu, 18 Nov 2004 08:40:22 -0800 (PST) To: FreeBSD-gnats-submit@freebsd.org From: Linh Pham X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20041118164022.4668B45037@q.closedsrc.org> Date: Thu, 18 Nov 2004 08:40:22 -0800 (PST) cc: perl@freebsd.org Subject: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Linh Pham List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 16:41:21 -0000 >Submitter-Id: current-users >Originator: Linh Pham >Organization: >Confidential: no >Synopsis: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend >Severity: non-critical >Priority: medium >Category: ports >Class: change-request >Release: FreeBSD 5.2.1-RELEASE-p11 i386 >Environment: System: FreeBSD q.internal.closedsrc.org 5.2.1-RELEASE-p11 FreeBSD 5.2.1-RELEASE-p11 #3: Thu Oct 14 23:10:30 PDT 2004 question@q.internal.closedsrc.org:/usr/obj/usr/src/sys/Q i386 >Description: With SpamAssassin 3.0.0 and higher, it includes support for querying SPF information while processing messages (the SPF plugin is enabled by default in the installed ${PREFIX}/etc/mail/spamassassin/init.pre), but requires mail/p5-Mail-SPF-Query to be installed in order to actually work. Since SPF does include the workload and network requirements of the machine by a little bit (even greater for high-volume mail servers), including p5-Mail-SPF-Query by default would not be wise; so I added a hook into the port's Makefile to allow the user to install mail/p5-Mail-SPF-Query along with SpamAssassin. I also included a message in pre-fetch explaining the hook. Also bumped the PORTREVISION number in the included patch. >How-To-Repeat: >Fix: --- sa-with-spf.diff begins here --- --- p5-Mail-SpamAssassin.orig/Makefile Thu Oct 28 09:45:16 2004 +++ p5-Mail-SpamAssassin/Makefile Thu Nov 18 08:28:58 2004 @@ -7,7 +7,7 @@ PORTNAME= Mail-SpamAssassin PORTVERSION= 3.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} MASTER_SITE_SUBDIR= spamassassin/:apache Mail/:cpan @@ -28,6 +28,10 @@ CONTACT_ADDRESS="the administrator of that system" \ BUILD_SPAMC=yes RUN_NET_TESTS=yes +.if defined(WITH_SPF_QUERY) +RUN_DEPENDS+= spfd:${PORTSDIR}/mail/p5-Mail-SPF-Query +.endif + .if !defined(WITHOUT_OPENSSL) USE_OPENSSL= yes CFLAGS+= -I${OPENSSLINC} @@ -74,6 +78,19 @@ USE_RC_SUBR= yes SED_SCRIPT= -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%RC_SUBR%%|${RC_SUBR}|g' + +pre-fetch: +.if !defined(WITH_SPF_QUERY) + @${ECHO_MSG} "" + @${ECHO_MSG} "================================================================" + @${ECHO_MSG} "SpamAssassin includes support for querying SPF information, but" + @${ECHO_MSG} "requires mail/p5-Mail-SPF-Query to be installed. If you want to" + @${ECHO_MSG} "use the SPF functionality, press CTRL+C and include" + @${ECHO_MSG} "WITH_SPF_QUERY=YES in the make env." + @${ECHO_MSG} "================================================================" + @${ECHO_MSG} "" +.endif + post-patch: @${FIND} ${WRKSRC} -name \*.orig -delete @${SED} -e 's#B_CONFDIR)/local.cf#B_CONFDIR)/local.cf.sample#g' \ --- sa-with-spf.diff ends here --- From owner-freebsd-perl@FreeBSD.ORG Thu Nov 18 20:57:17 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C130516A4CE; Thu, 18 Nov 2004 20:57:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D12743D1D; Thu, 18 Nov 2004 20:57:17 +0000 (GMT) (envelope-from krion@FreeBSD.org) Received: from freefall.freebsd.org (krion@localhost [127.0.0.1]) iAIKvHYg096348; Thu, 18 Nov 2004 20:57:17 GMT (envelope-from krion@freefall.freebsd.org) Received: (from krion@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAIKvH2w096344; Thu, 18 Nov 2004 20:57:17 GMT (envelope-from krion) Date: Thu, 18 Nov 2004 20:57:17 GMT From: Kirill Ponomarew Message-Id: <200411182057.iAIKvH2w096344@freefall.freebsd.org> To: krion@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, perl@FreeBSD.org Subject: Re: ports/74089: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 20:57:17 -0000 Synopsis: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend Responsible-Changed-From-To: freebsd-ports-bugs->perl Responsible-Changed-By: krion Responsible-Changed-When: Thu Nov 18 20:57:04 GMT 2004 Responsible-Changed-Why: Over to maintainers. http://www.freebsd.org/cgi/query-pr.cgi?pr=74089 From owner-freebsd-perl@FreeBSD.ORG Fri Nov 19 10:04:51 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1531216A4CE; Fri, 19 Nov 2004 10:04:51 +0000 (GMT) Received: from mail.ciam.ru (mail.ciam.ru [213.147.57.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A453043D3F; Fri, 19 Nov 2004 10:04:50 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from ppp83-237-164-98.pppoe.mtu-net.ru ([83.237.164.98]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1CV5dF-000H6j-AC; Fri, 19 Nov 2004 13:04:49 +0300 Message-ID: <419DC542.80803@FreeBSD.org> Date: Fri, 19 Nov 2004 13:04:50 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Linh Pham References: <20041118164022.4668B45037@q.closedsrc.org> In-Reply-To: <20041118164022.4668B45037@q.closedsrc.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "proxy.ciam.ru", hasmessagelabel similar future email. If you have any questions, see the administrator of that system for details. Content preview: Linh Pham wrote: >>Submitter-Id: current-users >>Synopsis: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend [...] Content analysis details: (2.9 points, 5.0 required) pts rule name description --------------------------------------------------addr 1)address [83.237.164.98 listed in dnsbl.sorbs.net] cc: perl@freebsd.org cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 10:04:51 -0000 Linh Pham wrote: >>Submitter-Id: current-users >>Originator: Linh Pham >>Organization: >>Confidential: no >>Synopsis: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend If nobody object I'll commit this patch integrated with WITH_MYSQL/WITH_PGSQL patch today evening (ECT). -- Sem. From owner-freebsd-perl@FreeBSD.ORG Fri Nov 19 15:00:54 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D41816A4D3 for ; Fri, 19 Nov 2004 15:00:54 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 277C843D2F for ; Fri, 19 Nov 2004 15:00:54 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAJF0sxE086593 for ; Fri, 19 Nov 2004 15:00:54 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAJF0sS3086592; Fri, 19 Nov 2004 15:00:54 GMT (envelope-from gnats) Date: Fri, 19 Nov 2004 15:00:54 GMT Message-Id: <200411191500.iAJF0sS3086592@freefall.freebsd.org> To: perl@FreeBSD.org From: Ceri Davies Subject: Re: ports/74089: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ceri Davies List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 15:00:54 -0000 The following reply was made to PR ports/74089; it has been noted by GNATS. From: Ceri Davies To: FreeBSD Gnats Submit Cc: Subject: Re: ports/74089: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend Date: Fri, 19 Nov 2004 14:52:52 +0000 Adding to audit trail, from misfiled PR ports/74110: Date: Fri, 19 Nov 2004 13:04:50 +0300 From: Sergey Matveychuk Message-Id: <419DC542.80803@FreeBSD.org> In-Reply-To: <20041118164022.4668B45037@q.closedsrc.org> If nobody object I'll commit this patch integrated with WITH_MYSQL/WITH_PGSQL patch today evening (ECT). -- Sem. From owner-freebsd-perl@FreeBSD.ORG Fri Nov 19 18:32:02 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2FD616A4CE; Fri, 19 Nov 2004 18:32:02 +0000 (GMT) Received: from mail.ciam.ru (mail.ciam.ru [213.147.57.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A31343D46; Fri, 19 Nov 2004 18:32:02 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from ppp83-237-98-67.pppoe.mtu-net.ru ([83.237.98.67]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1CVDY5-000P49-3O; Fri, 19 Nov 2004 21:31:59 +0300 Message-ID: <419E3C27.6010008@FreeBSD.org> Date: Fri, 19 Nov 2004 21:32:07 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sergey Matveychuk References: <419A43CB.3000407@FreeBSD.org> <419AFBDD.70607@FreeBSD.org> In-Reply-To: <419AFBDD.70607@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 2.8 (++) X-Spam-Report: Spam detection software, running on the system "proxy.ciam.ru", hasmessagelabel similar future email. If you have any questions, see the administrator of that system for details.>>>>We need to add depend on DBD-mysql port. [...] Content analysis details: (2.8 points, 5.0 required) pts rule name description --------------------------------------------------addr 1) cc: Linus Nordberg cc: perl@FreeBSD.org Subject: Re: p5-Mail-SpamAssassin dependency possibly missing X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 18:32:02 -0000 Sergey Matveychuk wrote: > Linus Nordberg wrote: > >> If USE_MYSQL magically adds a dependency to mysql.pm I think it's a >> good patch. > > > Yes, it does. > Oops. I was not attentive enough. We need to add depend on DBD-mysql port. -- Sem. From owner-freebsd-perl@FreeBSD.ORG Fri Nov 19 20:42:10 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91C7E16A4CE; Fri, 19 Nov 2004 20:42:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BEB643D2D; Fri, 19 Nov 2004 20:42:10 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from freefall.freebsd.org (sem@localhost [127.0.0.1]) iAJKgAda031389; Fri, 19 Nov 2004 20:42:10 GMT (envelope-from sem@freefall.freebsd.org) Received: (from sem@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAJKgAmx031385; Fri, 19 Nov 2004 20:42:10 GMT (envelope-from sem) Date: Fri, 19 Nov 2004 20:42:10 GMT From: Sergey Matveychuk Message-Id: <200411192042.iAJKgAmx031385@freefall.freebsd.org> To: question+fbsdports@closedsrc.org, sem@FreeBSD.org, perl@FreeBSD.org Subject: Re: ports/74089: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 20:42:10 -0000 Synopsis: mail/p5-Mail-SpamAssassin: add WITH_SPF_QUERY hook to include p5-Mail-SPF-Query as a run depend State-Changed-From-To: open->closed State-Changed-By: sem State-Changed-When: Fri Nov 19 20:42:01 GMT 2004 State-Changed-Why: Committed, thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=74089