Date: Mon, 9 Oct 2006 07:25:43 -0500 From: "Josh Paetzel <josh@tcbug.org>" <josh@tcbug.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/104209: [patch] Rework devel/ruby-tzfile to fix fetch problems from MASTER_SITES Message-ID: <1160396743.63455@gimpy.tcbug.org> Resent-Message-ID: <200610091230.k99CUX35081881@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 104209 >Category: ports >Synopsis: [patch] Rework devel/ruby-tzfile to fix fetch problems from MASTER_SITES >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: Mon Oct 09 12:30:32 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Josh Paetzel <josh@tcbug.org> >Release: FreeBSD 6.1-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD 6.1-RELEASE-p6 #1: Mon Sep 18 19:09:47 UTC 2006 jpaetzel@gimpy.tcbug.org:/usr/obj/usr/src/sys/GIMPY >Description: The homepage for devel/ruby-tzfile uses a bizarre method to download the source tarballs. The existing version of the port doesn't work with their current site and in making it work I think this is a 'saner' configuration. >How-To-Repeat: cd /usr/ports/devel/ruby-tzfile make fetch >Fix: --- Makefile.old Mon Oct 9 07:01:50 2006 +++ Makefile Mon Oct 9 07:16:02 2006 @@ -10,7 +10,7 @@ CATEGORIES= devel ruby MASTER_SITES= http://cvs.m17n.org/cgi-bin/viewcvs/${PORTNAME}/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= TZFile-${PORTVERSION}${EXTRACT_SUFX}\?tarball=1\&only_with_tag=${PORTNAME}-${PORTVERSION:S/./_/g}\&cvsroot=ruby\& +DISTNAME= ${PORTNAME} DIST_SUBDIR= ruby MAINTAINER= ports@FreeBSD.org @@ -27,6 +27,11 @@ DOCS= ${RUBY_RD_HTML_FILES} .include <bsd.port.pre.mk> + +do-fetch: +.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) + ${SETENV} ${FETCH_ENV} ${FETCH_CMD} -o ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} http://cvs.m17n.org/viewcvs/ruby/tzfile.tar.gz?only_with_tag=tzfile-0_1\&view=tar +.endif do-install: ${INSTALL_DATA} ${WRKSRC}/tzfile.rb ${RUBY_SITELIBDIR}/ --- distinfo.old Mon Oct 9 07:01:56 2006 +++ distinfo Mon Oct 9 07:16:30 2006 @@ -1,3 +1,3 @@ -MD5 (ruby/TZFile-0.1.tar.gz?tarball=1&only_with_tag=tzfile-0_1&cvsroot=ruby&.tar.gz) = ced5a3788f3b5d8d996b6390a3273e76 -SHA256 (ruby/TZFile-0.1.tar.gz?tarball=1&only_with_tag=tzfile-0_1&cvsroot=ruby&.tar.gz) = 700b56c2e28cc44956ce99740ac5650e78c91cae69b9f01d079dc7e4b596e49c -SIZE (ruby/TZFile-0.1.tar.gz?tarball=1&only_with_tag=tzfile-0_1&cvsroot=ruby&.tar.gz) = 65031 +MD5 (ruby/tzfile.tar.gz) = 7ad6c4ff92c6b75385043c62bb4760e4 +SHA256 (ruby/tzfile.tar.gz) = 32ae9ff1ead4f986204a5a14d5810dac4e8f48528539a45360b85bd7b59a8a4d +SIZE (ruby/tzfile.tar.gz) = 65032 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1160396743.63455>