From nobody@FreeBSD.org  Sat Jul  4 02:35:12 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2E2F81065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Jul 2009 02:35:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1B7448FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Jul 2009 02:35:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n642ZBVO058925
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 4 Jul 2009 02:35:11 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n642ZBAm058924;
	Sat, 4 Jul 2009 02:35:11 GMT
	(envelope-from nobody)
Message-Id: <200907040235.n642ZBAm058924@www.freebsd.org>
Date: Sat, 4 Jul 2009 02:35:11 GMT
From: Kouki Hashimoto <hsmtkk@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: `make fetch' failed in print/pdflib
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         136308
>Category:       ports
>Synopsis:       `make fetch' failed in print/pdflib
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 04 02:40:05 UTC 2009
>Closed-Date:    Mon Jul 06 08:03:18 UTC 2009
>Last-Modified:  Mon Jul 06 08:03:18 UTC 2009
>Originator:     Kouki Hashimoto
>Release:        8.0-CURRENT
>Organization:
private
>Environment:
FreeBSD black.xenon.homeunix.net 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Jul  2 20:47:41 JST 2009     root@black.xenon.homeunix.net:/usr/obj/usr/src/sys/BLACK  i386

>Description:
`make fetch' failed in print/pdflib.

# cd /usr/ports/print/pdflib
# make fetch
===>  Vulnerability check disabled, database not found
=> PDFlib-Lite-7.0.3.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://www.pdflib.com/binaries/PDFlib/703/.
fetch: http://www.pdflib.com/binaries/PDFlib/703/PDFlib-Lite-7.0.3.tar.gz: Not Found
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/PDFlib-Lite-7.0.3.tar.gz: Unknown error: 0
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
Stop in /usr/ports/print/pdflib.

on Mar 19 2009, PDFlib Lite source code upgraded from 7.0.3 to 7.0.4
http://www.pdflib.com/download/pdflib-family/pdflib-lite/

>How-To-Repeat:
# cd /usr/ports/print/pdflib
# make fetch
>Fix:
To install print/pdflib, I modified Makefile & distinfo.
Please check the patch.

# cd /usr/ports/print/pdflib
# patch -p1 < pdflib_patch.txt
# make fetch
===>  Vulnerability check disabled, database not found
=> PDFlib-Lite-7.0.4p4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://www.pdflib.com/binaries/PDFlib/704/.
PDFlib-Lite-7.0.4p4.tar.gz                    100% of 6118 kB  183 kBps 00m00s
# make install clean
=> installed successfully.


Patch attached with submission follows:

diff -r 74be37c06b79 -r 895447918ab7 Makefile
--- a/Makefile	Sat Jul 04 11:06:17 2009 +0900
+++ b/Makefile	Sat Jul 04 11:18:17 2009 +0900
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	pdflib
-PORTVERSION=	7.0.3
+PORTVERSION=	7.0.4
 CATEGORIES=	print
 MASTER_SITES=	http://www.pdflib.com/binaries/PDFlib/${PORTVERSION:S/.//g}/
-DISTNAME=	PDFlib-Lite-${PORTVERSION}
+DISTNAME=	PDFlib-Lite-${PORTVERSION}p4
 
 MAINTAINER=	ale@FreeBSD.org
 COMMENT=	A C library for dynamically generating PDF
diff -r 74be37c06b79 -r 895447918ab7 distinfo
--- a/distinfo	Sat Jul 04 11:06:17 2009 +0900
+++ b/distinfo	Sat Jul 04 11:18:17 2009 +0900
@@ -1,3 +1,3 @@
-MD5 (PDFlib-Lite-7.0.3.tar.gz) = 97bcdd73206bae30b322f49d2c0d852b
-SHA256 (PDFlib-Lite-7.0.3.tar.gz) = 9420e4d90fdd3accb03fa47679873cf897d2cdd2d72b35486389e283781531ab
-SIZE (PDFlib-Lite-7.0.3.tar.gz) = 5898798
+MD5 (PDFlib-Lite-7.0.4p4.tar.gz) = 1765de9c5f2b6c5769a2160eaa911e9a
+SHA256 (PDFlib-Lite-7.0.4p4.tar.gz) = c62ed0407038955802e3a15f11724e31bd1f232e1e65ad0bcf23022174c04f4f
+SIZE (PDFlib-Lite-7.0.4p4.tar.gz) = 6264932


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jul 4 02:40:15 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136308 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Mon Jul 6 08:02:45 UTC 2009 
State-Changed-Why:  
Port updated, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136308 
>Unformatted:
