Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  9 Jan 2008 14:18:50 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        girgen@FreeBSD.org
Subject:   ports/119477: [PATCH] databases/postgresql83-server: fix MASTER_SITE_SUBDIR 
Message-ID:  <20080109061850.B1D7817020@sunpoet.net>
Resent-Message-ID: <200801090620.m096K2rO067921@freefall.freebsd.org>

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

>Number:         119477
>Category:       ports
>Synopsis:       [PATCH] databases/postgresql83-server: fix MASTER_SITE_SUBDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 09 06:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 6.3-PRERELEASE i386
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD IRIS.sunpoet.net 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #10: Sat Dec 22 22:42:22 CST 2007 sunpoet@IRIS.sunpoet.net:/usr/obj/usr/src/sys/sunpoet i386

	
>Description:
Fix MASTER_SITE_SUBDIR.
Maintainer is cc'd.

	
>How-To-Repeat:
% /usr/ports/databases/postgresql83-server
% make fetch


  == BETA QUALITY, NOT FOR PRODUCTION USE! ==

  =========== BACKUP YOUR DATA! =============
  As always, backup your data before
  upgrading. If the upgrade leads to a higher
  minor revision (e.g. 7.3.x -> 7.4), a dump
  and restore of all databases is
  required. This is *NOT* done by the port!

  Press ctrl-C *now* if you need to pg_dump.
  ===========================================

fetch: ftp://ftp8.us.postgresql.org/postgresql/source/v8.3RC/postgresql-8.3RC1.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp9.us.postgresql.org/pub/mirrors/postgresql/source/v8.3RC/.
fetch: ftp://ftp9.us.postgresql.org/pub/mirrors/postgresql/source/v8.3RC/postgresql-8.3RC1.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp10.us.postgresql.org/pub/postgresql/source/v8.3RC/.
fetch: ftp://ftp10.us.postgresql.org/pub/postgresql/source/v8.3RC/postgresql-8.3RC1.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from http://ring.sakura.ad.jp/archives/misc/db/postgresql/source/v8.3RC/.
fetch: http://ring.sakura.ad.jp/archives/misc/db/postgresql/source/v8.3RC/postgresql-8.3RC1.tar.bz2: Not Found
=> Attempting to fetch from http://ring.riken.jp/archives/misc/db/postgresql/source/v8.3RC/.
fetch: http://ring.riken.jp/archives/misc/db/postgresql/source/v8.3RC/postgresql-8.3RC1.tar.bz2: Not Found
=> Attempting to fetch from ftp://ftp.au.postgresql.org/pub/postgresql/source/v8.3RC/.
fetch: ftp://ftp.au.postgresql.org/pub/postgresql/source/v8.3RC/postgresql-8.3RC1.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://ftp.at.postgresql.org/db/www.postgresql.org/pub/source/v8.3RC/.
^Cfetch: transfer interrupted

	
>Fix:
--- Makefile.orig	2008-01-09 08:52:05.000000000 +0800
+++ Makefile	2008-01-09 14:14:23.000000000 +0800
@@ -10,7 +10,7 @@
 PORTREVISION?=	0
 CATEGORIES?=	databases
 MASTER_SITES=	${MASTER_SITE_PGSQL}
-MASTER_SITE_SUBDIR=	source/v${PORTVERSION:C/[0-9]$//}
+MASTER_SITE_SUBDIR=	source/v${PORTVERSION}
 PKGNAMESUFFIX?=	-server
 DISTFILES?=	postgresql-${PORTVERSION}${EXTRACT_SUFX}
 
	


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



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