Date: Fri, 29 Feb 2008 23:46:24 +0900 (JST) From: Koji Yokota <yokota@res.otaru-uc.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: nakaji@jp.FreeBSD.org Subject: ports/121221: [PATCH] www/plone3: fetch fails from behind a firewall Message-ID: <20080229144624.B0AE3B831@room520-1.yokota-s.otaru-uc.ac.jp> Resent-Message-ID: <200802291550.m1TFo2dB051653@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121221 >Category: ports >Synopsis: [PATCH] www/plone3: fetch fails from behind a firewall >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Feb 29 15:50:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Koji Yokota >Release: FreeBSD 7.0-RC2 i386 >Organization: Otaru University of Commerce >Environment: System: FreeBSD hoge.otaru-uc.ac.jp 7.0-RC2 FreeBSD 7.0-RC2 #2: Tue Feb 19 07:06:39 JST 2008 >Description: [DESCRIBE CHANGES] The download server "https://launchpad.net/...." cannot be accessed with "fetch" from behind a firewall even if HTTP_PROXY is set, because of the special arrangement of the server. Using wget (or curl) resolves the problem. Port maintainer (nakaji@jp.FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- plone3-3.0.6.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/plone3.orig/Makefile /usr/ports/www/plone3/Makefile --- /usr/ports/www/plone3.orig/Makefile 2008-02-18 12:09:30.000000000 +0900 +++ /usr/ports/www/plone3/Makefile 2008-02-29 23:38:38.000000000 +0900 @@ -15,6 +15,7 @@ MAINTAINER= nakaji@jp.FreeBSD.org COMMENT= A user friendly implementation of the CMF written on top of ZOPE +FETCH_DEPENDS= wget:${PORTSDIR}/ftp/wget RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging WRKSRC= ${WRKDIR}/Plone-${PORTVERSION} @@ -69,6 +70,12 @@ @${ECHO_MSG} "" .endif +do-fetch: + # To fetch from behind a firewall, set environment variables + # https_proxy and http_proxy + ( cd ${DISTDIR}/zope ; \ + wget --no-check-certificate ${MASTER_SITES}/${DISTFILES} ) + do-build: .for m in ${_MODULES} -${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/Products/$m --- plone3-3.0.6.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?20080229144624.B0AE3B831>