Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2002 22:31:30 +0200 (CEST)
From:      Cyrille Lefevre <cyrille.lefevre@laposte.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/38256: linking pax to pax_{cpio|tar}
Message-ID:  <200205182031.g4IKVUul001404@gits.gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.prog.mk>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205182031.g4IKVUul001404>