Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2007 05:21:27 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/112907: [PATCH] mail/spamcup: Fix its functionality
Message-ID:  <20070523212127.62DCF707@netnews.NCTU.edu.tw>
Resent-Message-ID: <200705232130.l4NLU3MC054737@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112907
>Category:       ports
>Synopsis:       [PATCH] mail/spamcup: Fix its functionality
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 23 21:30:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Sat Apr 28 00:53:10 CST 2007
>Description:
- The patch will corrupt spamcup's functionality, so remove it.
- Bump PORTREVISION.

Removed file(s):
- files/patch-spamcup.pl

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- spamcup-1.09_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/spamcup/Makefile /home/staff/gslin/work/ports/spamcup/Makefile
--- /usr/ports/mail/spamcup/Makefile	Tue Mar 27 03:35:21 2007
+++ /home/staff/gslin/work/ports/spamcup/Makefile	Thu May 24 05:18:48 2007
@@ -7,10 +7,10 @@
 
 PORTNAME=	spamcup
 PORTVERSION=	1.09
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=${PORTNAME}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A tool for automatic spam reporting via Spamcop.net
diff -ruN --exclude=CVS /usr/ports/mail/spamcup/files/patch-spamcup.pl /home/staff/gslin/work/ports/spamcup/files/patch-spamcup.pl
--- /usr/ports/mail/spamcup/files/patch-spamcup.pl	Mon Mar 26 05:59:09 2007
+++ /home/staff/gslin/work/ports/spamcup/files/patch-spamcup.pl	Thu Jan  1 08:00:00 1970
@@ -1,20 +0,0 @@
---- 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);
--- spamcup-1.09_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070523212127.62DCF707>