head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.46 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.44 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.42 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.40 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.38 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.36 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.34 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.32 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.30 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.28 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.26 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.24 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.22 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.20 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.18 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.16 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.14 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.12 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.10 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.8 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.6 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2; locks; strict; comment @# @; 1.2 date 2004.11.08.17.07.23; author mjl; state dead; branches; next 1.1; 1.1 date 2004.10.12.00.11.10; author heinz; state Exp; branches; next ; desc @@ 1.2 log @Update to 3.0.1. This is a minor maintenance release to 3.0.0 and the old archive was no longer available on the primary sites. @ text @$NetBSD: patch-av,v 1.1 2004/10/12 00:11:10 heinz Exp $ --- t/spf.t.orig Thu Sep 9 20:29:21 2004 +++ t/spf.t @@@@ -6,14 +6,22 @@@@ use Test; use constant TEST_ENABLED => (-e 't/do_net'); use constant HAS_SPFQUERY => eval { require Mail::SPF::Query; }; +# Do not run this test on non-Linux unices as root, due to a bug +# in Sys::Hostname::Long (which Mail::Query::SPF uses.) +use constant IS_LINUX => $^O eq 'linux'; +use constant AM_ROOT => $< == 0; + +use constant DO_RUN => TEST_ENABLED && HAS_SPFQUERY && + !(AM_ROOT && !IS_LINUX); + BEGIN { - plan tests => ((TEST_ENABLED && HAS_SPFQUERY) ? 2 : 0); + plan tests => (DO_RUN ? 2 : 0); }; -exit unless (TEST_ENABLED && HAS_SPFQUERY); +exit unless (DO_RUN); # --------------------------------------------------------------------------- @ 1.1 log @Update to version 3.0.0. Tested on NetBSD 1.6.2, Solaris 9 and Debian 3.0. Important changes since 2.64 (for details see the file 'Changes') - support for sender authentication using the Sender Policy Framework (SPF) - checking for web links of known spam advertisers (SURBL) - modular plugin architecture - improved SQL database support for storing user data in server installations - improved email classification - SpamAssassin is now part of the Apache Foundation @ text @d1 1 a1 1 $NetBSD$ @