From owner-freebsd-bugs Sat May 18 13:40:22 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9BB2137B411 for ; Sat, 18 May 2002 13:40:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4IKe3P33553; Sat, 18 May 2002 13:40:03 -0700 (PDT) (envelope-from gnats) Received: from smtp.noos.fr (zola.noos.net [212.198.2.76]) by hub.freebsd.org (Postfix) with ESMTP id 6605837B405 for ; Sat, 18 May 2002 13:31:34 -0700 (PDT) Received: (qmail 12358938 invoked by uid 0); 18 May 2002 20:31:32 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.230.194]) (envelope-sender ) by 212.198.2.76 (qmail-ldap-1.03) with SMTP for ; 18 May 2002 20:31:32 -0000 Received: from gits.gits.dyndns.org (hj1quwp3x1skhbw6@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.3/8.12.3) with ESMTP id g4IKVVi2001405 for ; Sat, 18 May 2002 22:31:32 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.3/8.12.3/Submit) id g4IKVUul001404; Sat, 18 May 2002 22:31:30 +0200 (CEST) (envelope-from root) Message-Id: <200205182031.g4IKVUul001404@gits.gits.dyndns.org> Date: Sat, 18 May 2002 22:31:30 +0200 (CEST) From: Cyrille Lefevre Reply-To: Cyrille Lefevre To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/38256: linking pax to pax_{cpio|tar} Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38256 >Category: bin >Synopsis: linking pax to pax_{cpio|tar} >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 18 13:40:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 4.6-PRERELEASE i386 >Organization: ACME >Environment: System: FreeBSD gits 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #5: Tue May 14 02:10:24 CEST 2002 root@:/disk2/4.x-stable/src/sys/compile/CUSTOM i386 >Description: pax have the ability to be linked as tar and/or cpio to behave like those utilities. unfortunately, it's not true right now while it may represent an alternative to GNU ones. so, I propose to link it as pax_tar and pax_cpio to avoid a name space collision. >How-To-Repeat: n/a >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/src/bin/pax/Makefile,v retrieving revision 1.5.2.1 diff -u -r1.5.2.1 Makefile --- Makefile 1 Aug 2001 05:03:11 -0000 1.5.2.1 +++ Makefile 8 May 2002 07:54:32 -0000 @@ -31,6 +31,6 @@ tables.c tar.c tty_subs.c #XXX NOTYET #MAN= pax.1 tar.1 cpio.1 -#LINKS= ${BINDIR}/pax ${BINDIR}/tar ${BINDIR}/pax ${BINDIR}/cpio +LINKS= ${BINDIR}/pax ${BINDIR}/pax_tar ${BINDIR}/pax ${BINDIR}/pax_cpio .include Index: options.h =================================================================== RCS file: /home/ncvs/src/bin/pax/options.h,v retrieving revision 1.5 diff -u -r1.5 options.h --- options.h 27 Aug 1999 23:14:43 -0000 1.5 +++ options.h 8 May 2002 07:53:30 -0000 @@ -42,8 +42,8 @@ * argv[0] names. Used for tar and cpio emulation */ -#define NM_TAR "tar" -#define NM_CPIO "cpio" +#define NM_TAR "pax_tar" +#define NM_CPIO "pax_cpio" #define NM_PAX "pax" /* >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message