From owner-freebsd-ports Mon Mar 11 1:10: 9 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 EBF7537B404 for ; Mon, 11 Mar 2002 01:10:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2B9A0520930; Mon, 11 Mar 2002 01:10:00 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CEEE837B404 for ; Mon, 11 Mar 2002 01:01:24 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2B91OF15946; Mon, 11 Mar 2002 01:01:24 -0800 (PST) (envelope-from nobody) Message-Id: <200203110901.g2B91OF15946@freefall.freebsd.org> Date: Mon, 11 Mar 2002 01:01:24 -0800 (PST) From: Kris Kennaway To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/35767: make_index script does not deal with symlinked PORTSDIR 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: 35767 >Category: ports >Synopsis: make_index script does not deal with symlinked PORTSDIR >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 11 01:10:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kris Kennaway >Release: >Organization: >Environment: >Description: The make_index script fails if PORTSDIR is a path which contains a symlink, so realpath ${PORTSDIR} != ${PORTSDIR}. The output from 'make describe' contains some fields which use ${PORTSDIR}, and the perl script fails to match anything since it uses the realpath (`pwd`). >How-To-Repeat: ln -sf /usr/ports /usr/ports2 setenv PORTSDIR /usr/ports2 cd /usr/ports make index >Fix: Fix make_index and/or the describe target to call the perl equivalent of the realpath function, whatever that is, on the relevant paths. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message