From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 15 21:50:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C2CD1065689 for ; Mon, 15 Dec 2008 21:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EC5568FC1F for ; Mon, 15 Dec 2008 21:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBFLo1AS005325 for ; Mon, 15 Dec 2008 21:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBFLo1df005324; Mon, 15 Dec 2008 21:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 15 Dec 2008 21:50:01 GMT Resent-Message-Id: <200812152150.mBFLo1df005324@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Helmut Schneider Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C151C106564A for ; Mon, 15 Dec 2008 21:46:54 +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 842268FC13 for ; Mon, 15 Dec 2008 21:46:54 +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 mBFLkrFf016244 for ; Mon, 15 Dec 2008 21:46:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id mBFLkrHd016243; Mon, 15 Dec 2008 21:46:53 GMT (envelope-from nobody) Message-Id: <200812152146.mBFLkrHd016243@www.freebsd.org> Date: Mon, 15 Dec 2008 21:46:53 GMT From: Helmut Schneider To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/129666: www/apache-tomcat6: install script for 6.0.18 unreliable X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 21:50:02 -0000 >Number: 129666 >Category: ports >Synopsis: www/apache-tomcat6: install script for 6.0.18 unreliable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 15 21:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Helmut Schneider >Release: 7.0-RELEASE >Organization: >Environment: >Description: If there exists a directory with spaces within ${APP_HOME} the install script will fail: [root@BSDHelmut /usr/ports/www/tomcat6]# mkdir /usr/local/apache-tomcat6.0/webapps/ROOT/a\ test [root@BSDHelmut /usr/ports/www/tomcat6]# make install [...] >How-To-Repeat: >Fix: in Makefile, change @${CHMOD} 755 `${FIND} ${APP_HOME} -type d` to @${CHMOD} 755 "`${FIND} ${APP_HOME} -type d`" or better to avoid a possible "List too long" something like: @${FIND} ${APP_HOME} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 >Release-Note: >Audit-Trail: >Unformatted: >> Fixing ownership settings... [ DONE ] >> Fixing permissions...chmod: /usr/local/apache-tomcat6.0/webapps/ROOT/a: No such file or directory chmod: test: No such file or directory *** Error code 1 Stop in /usr/ports/www/tomcat6. [root@BSDHelmut /usr/ports/www/tomcat6]#