diff options
Diffstat (limited to 'mail/spamcup')
-rw-r--r-- | mail/spamcup/Makefile | 1 | ||||
-rw-r--r-- | mail/spamcup/files/patch-spamcup.pl | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/mail/spamcup/Makefile b/mail/spamcup/Makefile index e6658aee47a2..1e7eb95699fc 100644 --- a/mail/spamcup/Makefile +++ b/mail/spamcup/Makefile @@ -7,6 +7,7 @@ PORTNAME= spamcup PORTVERSION= 1.09 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=${PORTNAME} diff --git a/mail/spamcup/files/patch-spamcup.pl b/mail/spamcup/files/patch-spamcup.pl new file mode 100644 index 000000000000..568ce60fca8a --- /dev/null +++ b/mail/spamcup/files/patch-spamcup.pl @@ -0,0 +1,20 @@ +--- spamcup.pl.orig Wed Jan 26 22:00:19 2005 ++++ spamcup.pl Sun Mar 25 23:51:49 2007 +@@ -222,7 +222,7 @@ + + if ($opt{d}) { # debug + if ($SCpass) { +- print "D: GET http://$SCident:******\@members.spamcop.net/\n"; ++ print "D: GET http://$SCident:******\@www.spamcop.net/mcgi?action=loginform;returnurl=%2Ft\n"; + } else { + print "D: GET http://www.spamcop.net/?code=$SCident\n"; + } +@@ -236,7 +236,7 @@ + sleep $delay; + + if ($SCpass) { +- $req = HTTP::Request->new(GET => 'http://members.spamcop.net/'); ++ $req = HTTP::Request->new(GET => 'http://www.spamcop.net/mcgi?action=loginform;returnurl=%2F/'); + $req->authorization_basic($SCident, $SCpass); + } else { + $req = HTTP::Request->new(GET => 'http://www.spamcop.net/?code='.$SCident); |