From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 15 13:00:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CE4BF2EF for ; Thu, 15 Aug 2013 13:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 94DDA2E53 for ; Thu, 15 Aug 2013 13:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7FD003W009311 for ; Thu, 15 Aug 2013 13:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7FD00JX009309; Thu, 15 Aug 2013 13:00:00 GMT (envelope-from gnats) Resent-Date: Thu, 15 Aug 2013 13:00:00 GMT Resent-Message-Id: <201308151300.r7FD00JX009309@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, Yanhui Shen Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 67966D73 for ; Thu, 15 Aug 2013 12:51:45 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5577D2D91 for ; Thu, 15 Aug 2013 12:51:45 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7FCpiXe046578 for ; Thu, 15 Aug 2013 12:51:44 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7FCpiMq046572; Thu, 15 Aug 2013 12:51:44 GMT (envelope-from nobody) Message-Id: <201308151251.r7FCpiMq046572@oldred.freebsd.org> Date: Thu, 15 Aug 2013 12:51:44 GMT From: Yanhui Shen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181321: Opengrok's "urlPrefix" doesn't match its deploy path X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Aug 2013 13:00:00 -0000 >Number: 181321 >Category: ports >Synopsis: Opengrok's "urlPrefix" doesn't match its deploy path >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: Thu Aug 15 13:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Yanhui Shen >Release: FreeBSD 9.2-BETA2 >Organization: >Environment: FreeBSD ThinkPad 9.2-BETA2 FreeBSD 9.2-BETA2 #0 r254020: Wed Aug 7 13:10:12 CST 2013 root@ThinkPad:/usr/obj/usr/src/sys/ThinkPad amd64 >Description: devel/opengrok is deployed into /usr/local/apache-tomcat-7.0/webapps/opengrok, which is NOT the default directory "..../webapps/source", however, "-w opengrok" is not specified by /usr/local/bin/opengrok. thus some link addresses in html is not correct, and cause 404 issue. >How-To-Repeat: 1.install opengrok and config tomcat 2.opengrok -d ./data -s fooproject -W ./config.xml 3.in browser, open a source file, click head files/variables/... in it 4.404 not found >Fix: /usr/local/bin/opengrok, line 15 add "-w opengrok" as default argument. ordinary users don not need to know this technical detail. >Release-Note: >Audit-Trail: >Unformatted: