aboutsummaryrefslogtreecommitdiffstats
path: root/mail/spamcup
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-03-26 05:59:09 +0800
committerpav <pav@FreeBSD.org>2007-03-26 05:59:09 +0800
commit37b7c5355820dfd2f693e691b9582e8200d6a234 (patch)
tree5e95f0aa121e7e2d7eb1e091b225cc385b27d90e /mail/spamcup
parent2ae0f0a3821bc616e0fd0a549b77d1731bbe57ee (diff)
downloadfreebsd-ports-gnome-37b7c5355820dfd2f693e691b9582e8200d6a234.tar.gz
freebsd-ports-gnome-37b7c5355820dfd2f693e691b9582e8200d6a234.tar.zst
freebsd-ports-gnome-37b7c5355820dfd2f693e691b9582e8200d6a234.zip
- Update spamcop addresses
PR: ports/110224 Submitted by: Gerard Seibert <gerard@seibercom.net>
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);