Bug 22492

Summary: Fix: mail/imap-uw
Product: Ports & Packages Reporter: dwcjr <dwcjr>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description dwcjr 2000-11-02 01:00:01 UTC
Master site changed the location of this file because it is an older version
Comment 1 Peter Pentchev 2000-12-12 09:36:49 UTC
On Wed, Nov 01, 2000 at 04:59:39PM -0800, dwcjr@inethouston.net wrote:
> 
> >Number:         22492
> >Category:       ports
> >Synopsis:       Fix: mail/imap-uw
> >Originator:     David W. Chapman Jr.
> >Organization:
> Raintree Network Services
> >Environment:
> >Description:
> Master site changed the location of this file because it is an older version
> >How-To-Repeat:
> 
> >Fix:
> --- Makefile.orig       Wed Nov  1 19:02:22 2000
> +++ Makefile    Wed Nov  1 19:02:35 2000
> @@ -9,7 +9,7 @@
>  PORTNAME=      imap-uw
>  PORTVERSION=   4.7c
>  CATEGORIES=    mail
> -MASTER_SITES=  ftp://ftp.cac.washington.edu/imap/ \
> +MASTER_SITES=  ftp://ftp.cac.washington.edu/imap/old/ \
>                 ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/mail/ \
>                 http://mirror.nucba.ac.jp/mirror/imap/ \
>                 ftp://ftp.uni-halle.de/pub/mail/pine/

Hmm.. Wouldn't something like the attached patch be better?  So there's
no need to change MASTER_SITES each time a new version is out, or an older
version moves to old/ - the MASTER_SITE_SUBDIR shall do it automatically.

G'luck,
Peter

-- 
This sentence contradicts itself - or rather - well, no, actually it doesn't!

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/imap-uw/Makefile,v
retrieving revision 1.45
diff -u -r1.45 Makefile
--- Makefile	2000/11/23 11:56:07	1.45
+++ Makefile	2000/12/12 09:25:52
@@ -8,10 +8,11 @@
 PORTNAME=	imap-uw
 PORTVERSION=	4.7c
 CATEGORIES=	mail
-MASTER_SITES=	ftp://ftp.cac.washington.edu/imap/ \
-		ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/mail/ \
-		http://mirror.nucba.ac.jp/mirror/imap/ \
-		ftp://ftp.uni-halle.de/pub/mail/pine/
+MASTER_SITES=	ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \
+		ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/mail/%SUBDIR%/ \
+		http://mirror.nucba.ac.jp/mirror/imap/%SUBDIR%/ \
+		ftp://ftp.uni-halle.de/pub/mail/pine/%SUBDIR%/
+MASTER_SITE_SUBDIR=	. old
 DISTNAME=	imap-${PORTVERSION}
 EXTRACT_SUFX=	.tar.Z
 DISTFILES=	${DISTNAME}2${EXTRACT_SUFX} \
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2000-12-12 14:06:55 UTC
State Changed
From-To: open->closed

Added MASTER_SITE_SUBDIR=". old" to provide for both cases in future 
releases.  Thanks for the alert!