From owner-freebsd-ports Thu Apr 18 8: 8: 1 2002 Delivered-To: freebsd-ports@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 5C5CC37B416; Thu, 18 Apr 2002 08:07:57 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3IF7sYm086727; Thu, 18 Apr 2002 08:07:54 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3IF6dln086716; Thu, 18 Apr 2002 08:06:39 -0700 (PDT) Date: Thu, 18 Apr 2002 08:06:39 -0700 From: "David O'Brien" To: sobomax@freebsd.org Cc: ports@freebsd.org Subject: Tools/scripts/patchtool.py Message-ID: <20020418080638.A86691@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 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 Are you the owner of this file such that others cannot commit to it? I want to make this commit. My justification is that '/' in path names of the file being patch are turned into _four_ characters by shell's autocompletion -- "\:\:" which makes patches very long. I also do not understand why every patch in ports/java/jdk13/files is named "patch-.." by your script (ie, why the ..). But maybe we can work on that next. Making a few changes will make living with these silly paths easier as at least they will fit on a single 80 character line in an ls listing. Index: patchtool.py =================================================================== RCS file: /home/ncvs/ports/Tools/scripts/patchtool.py,v retrieving revision 1.9 diff -u -r1.9 patchtool.py --- patchtool.py 17 Apr 2002 10:58:57 -0000 1.9 +++ patchtool.py 18 Apr 2002 15:02:16 -0000 @@ -50,8 +50,8 @@ DEV_NULL = '/dev/null' ETC_MAKE_CONF = '/etc/make.conf' - SLASH_REPL_SYMBOL = '::' # The sysmbol to replace '/' when auto-generating - # patchnames + SLASH_REPL_SYMBOL = '_' # The sysmbol to replace '/' when + # auto-generating patchnames # To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message