aboutsummaryrefslogtreecommitdiff
path: root/mail/spamcup
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-03-25 21:59:09 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-03-25 21:59:09 +0000
commitfa3c7d1626328ead0052ba75a571cb9bb3f0d8e7 (patch)
treeef2c3e9a4c3573767512711d5677233c48542b5f /mail/spamcup
parent1050c4bbbd5c1aaba29ba57aac483c57eaa42870 (diff)
downloadports-fa3c7d1626328ead0052ba75a571cb9bb3f0d8e7.tar.gz
ports-fa3c7d1626328ead0052ba75a571cb9bb3f0d8e7.zip
Notes
Diffstat (limited to 'mail/spamcup')
-rw-r--r--mail/spamcup/Makefile1
-rw-r--r--mail/spamcup/files/patch-spamcup.pl20
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);