mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Update spamcop addresses
PR: ports/110224 Submitted by: Gerard Seibert <gerard@seibercom.net>
This commit is contained in:
parent
1050c4bbbd
commit
fa3c7d1626
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188334
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= spamcup
|
||||
PORTVERSION= 1.09
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR=${PORTNAME}
|
||||
|
20
mail/spamcup/files/patch-spamcup.pl
Normal file
20
mail/spamcup/files/patch-spamcup.pl
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user