Skip site navigation (1)Skip section navigation (2)
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:   ports/111443: [PATCH] mail/fetchmail: make fetchable
Message-ID:  <20070410093723.9CA9A1C@libertas.emma.line.org>
Resent-Message-ID: <200704100940.l3A9e3o1044334@freefall.freebsd.org>

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

>Number:         111443
>Category:       ports
>Synopsis:       [PATCH] mail/fetchmail: make fetchable
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 10 09:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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