ports/121221: [PATCH] www/plone3: fetch fails from behind a firewall
Koji Yokota
yokota at res.otaru-uc.ac.jp
Fri Feb 29 15:50:03 UTC 2008
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list