Date: Thu, 21 May 2009 17:27:42 +0900 (JST) From: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> Subject: ports/134778: [MAINTAINER UPDATE] Fix for mail/p5-Mail-SpamAssassin: sa-update channel Message-ID: <20090521082742.7D00915346A@xeon.quad.dyndns.org> Resent-Message-ID: <200905210830.n4L8U1dj074305@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134778 >Category: ports >Synopsis: [MAINTAINER UPDATE] Fix for mail/p5-Mail-SpamAssassin: sa-update channel >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu May 21 08:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: TAOKA Fumiyoshi >Release: >Organization: >Environment: >Description: Follow p5-Mail-SpamAssassin-3.2.5_3, (ports/134574). >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/japanese/p5-Mail-SpamAssassin/Makefile,v retrieving revision 1.15 diff -u -r1.15 Makefile --- Makefile 17 May 2009 14:08:02 -0000 1.15 +++ Makefile 18 May 2009 11:25:57 -0000 @@ -7,7 +7,7 @@ PORTNAME= Mail-SpamAssassin PORTVERSION= 3.2.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= japanese mail perl5 MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} \ ${PATCH_SITES} Index: pkg-install =================================================================== RCS file: /home/ncvs/ports/japanese/p5-Mail-SpamAssassin/pkg-install,v retrieving revision 1.2 diff -u -r1.2 pkg-install --- pkg-install 7 Feb 2008 04:42:43 -0000 1.2 +++ pkg-install 16 May 2009 13:08:28 -0000 @@ -31,6 +31,11 @@ if yesno "Do you wish to run sa-update to fetch new rules" "N";then ${PKG_PREFIX}/bin/sa-update + if [ $? -eq 4 ];then + # rc=4 means host not found, might be old mirrors. + rm -rf /var/db/spamassassin/3*/updates_spamassassin_org/MIRRORED.BY + ${PKG_PREFIX}/bin/sa-update + fi fi grep '^load.*Rule2XSBody' ${PKG_PREFIX}/etc/mail/spamassassin/v320.pre > /dev/null if [ $? -eq 0 ];then >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090521082742.7D00915346A>