From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 9 21:30:18 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F7AB37B401 for ; Mon, 9 Jun 2003 21:30:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2849143FDF for ; Mon, 9 Jun 2003 21:30:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5A4UGUp018756 for ; Mon, 9 Jun 2003 21:30:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5A4UFrS018755; Mon, 9 Jun 2003 21:30:15 -0700 (PDT) Resent-Date: Mon, 9 Jun 2003 21:30:15 -0700 (PDT) Resent-Message-Id: <200306100430.h5A4UFrS018755@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, NAKAJI Hiroyuki Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EA1F37B401 for ; Mon, 9 Jun 2003 21:28:27 -0700 (PDT) Received: from boggy.acest.tutrp.tut.ac.jp (boggy.acest.tutrp.tut.ac.jp [133.15.67.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29DD043FBD for ; Mon, 9 Jun 2003 21:28:26 -0700 (PDT) (envelope-from nakaji@boggy.acest.tutrp.tut.ac.jp) Received: from boggy.acest.tutrp.tut.ac.jp (localhost [127.0.0.1]) h5A4SHdj011328 for ; Tue, 10 Jun 2003 13:28:17 +0900 (JST) (envelope-from nakaji@boggy.acest.tutrp.tut.ac.jp) Received: (from nakaji@localhost)h5A4SDrP011327; Tue, 10 Jun 2003 13:28:13 +0900 (JST) Message-Id: <200306100428.h5A4SDrP011327@boggy.acest.tutrp.tut.ac.jp> Date: Tue, 10 Jun 2003 13:28:13 +0900 (JST) From: NAKAJI Hiroyuki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53128: www/thumbnail_index/files/patch-ab change X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: NAKAJI Hiroyuki List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 04:30:18 -0000 >Number: 53128 >Category: ports >Synopsis: www/thumbnail_index/files/patch-ab change >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 09 21:30:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: NAKAJI Hiroyuki >Release: FreeBSD 5.1-BETA i386 >Organization: >Environment: System: FreeBSD boggy.acest.tutrp.tut.ac.jp 5.1-BETA FreeBSD 5.1-BETA #98: Tue May 13 18:44:54 JST 2003 root@boggy.acest.tutrp.tut.ac.jp:/usr/obj/usr/src/sys/NAKAJI i386 >Description: When using NFS and symbolic link, and wanting not to show the real path in the output of thumbnail_index, "cwd=`pwd`" is not good. "cwd=`/bin/pwd -L'" seems better. For example, I am using my ~/public_html/ as a symbolic link to the real web server's /home/nakaji/public_html via amd: $ ls -l ~/public_html lrwxr-xr-x 1 nakaji staff 37 Jul 19 2001 /home/nakaji/public_html@ -> /net/tamy/usr/home/nakaji/public_html And `pwd` shows it "/.amd_mnt/tamy/host/usr/home/nakaji/public_html". It is normal behavior, I know, but I don't want this long ugly path to be shown to the world. I hope it should be "/home/nakaji/public_html". I tested some "pwd". $ sh -c 'pwd' /.amd_mnt/tamy/host/usr/home/nakaji/public_html/tmp/bigNEWS $ sh -c '/bin/pwd' /.amd_mnt/tamy/host/usr/home/nakaji/public_html/tmp/bigNEWS $ sh -c 'pwd -L' /.amd_mnt/tamy/host/usr/home/nakaji/public_html/tmp/bigNEWS $ sh -c 'pwd -P' /.amd_mnt/tamy/host/usr/home/nakaji/public_html/tmp/bigNEWS $ sh -c '/bin/pwd -L' /home/nakaji/public_html/tmp/bigNEWS >How-To-Repeat: >Fix: Index: files/patch-ab =================================================================== RCS file: /home/ncvs/ports/www/thumbnail_index/files/patch-ab,v retrieving revision 1.1 diff -u -r1.1 patch-ab --- files/patch-ab 16 Jun 2001 08:59:04 -0000 1.1 +++ files/patch-ab 10 Jun 2003 04:07:14 -0000 @@ -1,5 +1,14 @@ --- thumbnail_index.orig Tue Aug 11 03:51:55 1998 -+++ thumbnail_index Sat Jun 16 17:56:31 2001 ++++ thumbnail_index Tue Jun 10 13:04:55 2003 +@@ -99,7 +99,7 @@ + subdir=.thumbnails + nindexname=/tmp/tinind.$$ + stamp='This file produced by thumbnail_index - do not edit.' +-cwd=`pwd` ++cwd=`/bin/pwd -L` + makefile=/tmp/timake.$$ + infoscript=/tmp/tiinsc.$$ + rm -f $nindexname $makefile $infoscript @@ -248,7 +248,7 @@ EOF ) >Release-Note: >Audit-Trail: >Unformatted: