Bug 110224 - Address change for SPAMCOP in 'spamcup.pl'
Summary: Address change for SPAMCOP in 'spamcup.pl'
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-12 15:00 UTC by Gerard Seibert
Modified: 2007-03-25 23:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerard Seibert 2007-03-12 15:00:08 UTC
PORT: /usr/ports/mail/spamcup

The 'spamcup.pl' module is using a depreciated address for SPAMCOP. This causes the program to fail.

Fix: 

'spamcup.pl' is using a depreciate URL for SPAMCOP. The correct one should be:
http://www.spamcop.net/mcgi?action=loginform;returnurl=%2F

The lines to edit are 228 and 245.

line # 228:
print "D: GET http://$SCident:******\@members.spamcop.net/\n";
should read:
print "D: GET http://$SCident:******\@www.spamcop.net/mcgi?action=loginform;returnurl=%2Ft/\n";

Line 242:
$req = HTTP::Request->new(GET => 'http://members.spamcop.net/');
should read:
$req = HTTP::Request->new(GET => 'http://www.spamcop.net/mcgi?action=loginform;returnurl=%2F/');

The program will then work correctly.
How-To-Repeat: Run the program.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2007-03-25 22:49:29 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-03-25 22:59:16 UTC
pav         2007-03-25 21:59:09 UTC

  FreeBSD ports repository

  Modified files:
    mail/spamcup         Makefile 
  Added files:
    mail/spamcup/files   patch-spamcup.pl 
  Log:
  - Update spamcop addresses
  
  PR:             ports/110224
  Submitted by:   Gerard Seibert <gerard@seibercom.net>
  
  Revision  Changes    Path
  1.3       +1 -0      ports/mail/spamcup/Makefile
  1.1       +20 -0     ports/mail/spamcup/files/patch-spamcup.pl (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"