Update mailscanner url used for retrieving the scamnailer database that

clamnailer uses to generate signatures.
This commit is contained in:
sthen 2012-03-06 20:07:42 +00:00
parent 50d53aae55
commit 2bd5b90240
2 changed files with 10 additions and 7 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2011/05/11 12:57:47 jasper Exp $ # $OpenBSD: Makefile,v 1.5 2012/03/06 20:07:42 sthen Exp $
COMMENT= generate ScamNailer spear phishing database in ClamAV format COMMENT= generate ScamNailer spear phishing database in ClamAV format
DISTNAME= ClamNailer-1.01 DISTNAME= ClamNailer-1.01
PKGNAME= ${DISTNAME:L} PKGNAME= ${DISTNAME:L}
REVISION= 0 REVISION= 1
EXTRACT_SUFX= .gz EXTRACT_SUFX= .gz
CATEGORIES= mail security CATEGORIES= mail security

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-ClamNailer,v 1.2 2010/05/27 11:06:54 sthen Exp $ $OpenBSD: patch-ClamNailer,v 1.3 2012/03/06 20:07:42 sthen Exp $
--- clamnailer.orig Thu May 27 08:42:25 2010 --- clamnailer.orig Tue Mar 6 20:02:07 2012
+++ clamnailer Thu May 27 08:42:26 2010 +++ clamnailer Tue Mar 6 20:04:20 2012
@@ -20,9 +20,9 @@ use strict; @@ -20,11 +20,11 @@ use strict;
use POSIX; use POSIX;
# clamd's database directory # clamd's database directory
@ -11,7 +11,10 @@ $OpenBSD: patch-ClamNailer,v 1.2 2010/05/27 11:06:54 sthen Exp $
-my $work = "/var/cache/clamnailer"; -my $work = "/var/cache/clamnailer";
+my $work = "/var/db/clamnailer"; +my $work = "/var/db/clamnailer";
# ScamNailer download location # ScamNailer download location
my $url = "http://www.mailscanner.tv/"; -my $url = "http://www.mailscanner.tv/";
+my $url = "http://cdn.mailscanner.info/";
chdir $work or die "chdir $work: $!\n";
@@ -40,7 +40,7 @@ my $base = readlink "current"; @@ -40,7 +40,7 @@ my $base = readlink "current";
die "readlink $work/current: $!" unless defined $base or $! == ENOENT; die "readlink $work/current: $!" unless defined $base or $! == ENOENT;