From owner-freebsd-ports Sun Jun 23 0:30:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 999EC37B401 for ; Sun, 23 Jun 2002 00:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5N7U1B69565; Sun, 23 Jun 2002 00:30:01 -0700 (PDT) (envelope-from gnats) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by hub.freebsd.org (Postfix) with ESMTP id 694C037B401; Sun, 23 Jun 2002 00:26:18 -0700 (PDT) Received: from wwweasel.geeksrus.net (localhost [127.0.0.1]) by wwweasel.geeksrus.net (8.12.3/8.12.3) with ESMTP id g5N7Pbde048527; Sun, 23 Jun 2002 03:25:37 -0400 (EDT) (envelope-from alane@wwweasel.geeksrus.net) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.12.3/8.12.3/Submit) id g5N7PbUb048526; Sun, 23 Jun 2002 03:25:37 -0400 (EDT) (envelope-from alane) Message-Id: <200206230725.g5N7PbUb048526@wwweasel.geeksrus.net> Date: Sun, 23 Jun 2002 03:25:37 -0400 (EDT) From: Alan Eldridge Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@FreeBSD.org Cc: nmb@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/39687: www/zope: should use www/cgi-bin (the symlink) to install scripts Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39687 >Category: ports >Synopsis: www/zope: should use www/cgi-bin (the symlink) to install scripts >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 23 00:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.6-STABLE i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.6-STABLE FreeBSD 4.6-STABLE #1: Wed Jun 19 13:50:13 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386 >Description: The recent apache changes have made the zope install the cgi scripts in a location that will not ever be referenced. The right way to do the install is to use the (existing) cgi-bin symlink and only do a mkdir if www/cgi-bin does not exist at all. nmb@, I would like permission to commit this patch ASAP. Thanks. >How-To-Repeat: >Fix: ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== Index: www/zope/Makefile =================================================================== RCS file: /home/ncvs/ports/www/zope/Makefile,v retrieving revision 1.37 diff -u -3 -r1.37 Makefile --- www/zope/Makefile 20 Jun 2002 00:25:43 -0000 1.37 +++ www/zope/Makefile 23 Jun 2002 07:08:23 -0000 @@ -29,7 +29,7 @@ # Change these, if you like, via the environment. WEBBASEDIR?= www SZOPEBASEDIR?= ${WEBBASEDIR}/Zope -SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default +SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin SAPACHE_CONFDIR?= etc/apache ZOPE_HTTP_PORT?= 8080 ZOPE_FTP_PORT?= 8021 @@ -81,7 +81,7 @@ @(cd ${ZOPEBASEDIR}/pcgi/Test && ${RM} *.o) @(cd ${ZOPEBASEDIR}/pcgi && ${RM} *.o) @# - @${MKDIR} ${CGIBINDIR} + @if test ! -e ${CGIBINDIR}; then ${MKDIR} ${CGIBINDIR}; fi @(cd ${ZOPEBASEDIR} && \ ${MV} Zope.cgi \ pcgi/pcgi-wrapper \ ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message