From matthias.andree@gmx.de  Tue Apr 10 09:37:45 2007
Return-Path: <matthias.andree@gmx.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id D4D4916A406
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Apr 2007 09:37:45 +0000 (UTC)
	(envelope-from matthias.andree@gmx.de)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by mx1.freebsd.org (Postfix) with SMTP id 442C113C48C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Apr 2007 09:37:45 +0000 (UTC)
	(envelope-from matthias.andree@gmx.de)
Received: (qmail invoked by alias); 10 Apr 2007 09:37:43 -0000
Received: from p50910d65.dip0.t-ipconnect.de (EHLO m2a2.dyndns.org) [80.145.13.101]
  by mail.gmx.net (mp027) with SMTP; 10 Apr 2007 11:37:43 +0200
Received: from localhost (localhost [127.0.0.1])
	by merlin.emma.line.org (Postfix) with ESMTP id 5FC1C2008C9;
	Tue, 10 Apr 2007 11:37:39 +0200 (CEST)
Received: from m2a2.dyndns.org ([127.0.0.1])
	by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id q1Bf1CG+i6b5; Tue, 10 Apr 2007 11:37:39 +0200 (CEST)
Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.1.2])
	by merlin.emma.line.org (Postfix) with ESMTP id 1630E200635;
	Tue, 10 Apr 2007 11:37:39 +0200 (CEST)
Received: by libertas.emma.line.org (Postfix, from userid 1001)
	id 9CA9A1C; Tue, 10 Apr 2007 11:37:23 +0200 (CEST)
Message-Id: <20070410093723.9CA9A1C@libertas.emma.line.org>
Date: Tue, 10 Apr 2007 11:37:23 +0200 (CEST)
From: Matthias Andree <matthias.andree@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Simon Barner <barner@FreeBSD.org>
Subject: [PATCH] mail/fetchmail: make fetchable
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         111443
>Category:       ports
>Synopsis:       [PATCH] mail/fetchmail: make fetchable
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    barner
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 10 09:40:02 GMT 2007
>Closed-Date:    Tue Apr 10 19:38:30 GMT 2007
>Last-Modified:  Tue Apr 10 19:40:10 GMT 2007
>Originator:     Matthias Andree
>Release:        FreeBSD 6.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:41:06 UTC 2007
>Description:
Fix mastersites to make port fetchable:

- remove %SUBDIR% from MASTER_SITE_BERLIOS - it's already in the variable's value

- remove home.pages.de site, not usable with fetch because it uses temporary redirects (HTTP result code 302)
  (we would probably have to fix bsd.port.mk first to allow per-site FETCH_ARGS in the MASTER_SITES:n framework)

- add MASTER_SITE_SUNSITE (6.3.8 has been uploaded, but not yet moved into place)
  which entails setting MASTER_SITE_SUBDIR and DISTFILES

NOTE: WITH_X11 is checked before bsd.port.pre.mk, causing portlint complaints - I've overridden them
for the nonce since fetching is important and the WITH_X11 isn't made worse by my patch at least.

Port maintainer (barner@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- fetchmail-6.3.8.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/fetchmail/Makefile /tmp/ports/mail/fetchmail/Makefile
--- /usr/ports/mail/fetchmail/Makefile	Mon Apr  9 22:04:05 2007
+++ /tmp/ports/mail/fetchmail/Makefile	Tue Apr 10 11:30:47 2007
@@ -12,10 +12,12 @@
 PORTNAME=	fetchmail
 PORTVERSION=	6.3.8
 CATEGORIES=	mail ipv6
-MASTER_SITES=	${MASTER_SITE_BERLIOS}/%SUBDIR%/ \
-		http://home.pages.de/~mandree/%SUBDIR%/ \
-		http://home.leo.org/~barner/freebsd/distfiles/
-MASTER_SITE_SUBDIR=	fetchmail
+MASTER_SITES=	${MASTER_SITE_BERLIOS} \
+		${MASTER_SITE_SUNSITE:S/$/:sunsite/} \
+		http://home.leo.org/~barner/freebsd/distfiles/:leo
+MASTER_SITE_SUBDIR=	fetchmail/:DEFAULT,leo \
+			system/mail/pop/fetchmail/:sunsite
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:DEFAULT,sunsite
 
 MAINTAINER=	barner@FreeBSD.org
 COMMENT=	Batch mail retrieval utility for IMAP/POP3/ETRN/ODMR
--- fetchmail-6.3.8.patch ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->barner 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Apr 10 09:40:09 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111443 
State-Changed-From-To: open->closed 
State-Changed-By: barner 
State-Changed-When: Tue Apr 10 19:38:28 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111443 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/111443: commit references a PR
Date: Tue, 10 Apr 2007 19:37:07 +0000 (UTC)

 barner      2007-04-10 19:37:00 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/fetchmail       Makefile 
   Log:
   - Make fetchable
   - Remove home.pages.de master site
   - Add sunsite mirror
   
   PR:             ports/111443
   Submitted by:   Matthias Andree
   
   Revision  Changes    Path
   1.182     +6 -3      ports/mail/fetchmail/Makefile
 _______________________________________________
 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"
 
>Unformatted:
