Subject: pkg/19140: cpio options in citrx_ica install script
To: None <gnats-bugs@gnats.netbsd.org>
From: None <o.vd.linden@quicknet.nl>
List: netbsd-bugs
Date: 11/23/2002 10:05:45
>Number: 19140
>Category: pkg
>Synopsis: -H newc and --no-preserve-owner not handled by cpio
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 23 01:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Onno van der Linden
>Release: NetBSD 1.6K
>Organization:
>Environment:
System: NetBSD sheep 1.6K NetBSD 1.6K (SHEEP) #1: Thu Nov 14 20:57:09 MET 2002 onno@sheep:/usr/src/sys/arch/i386/compile/SHEEP i386
Architecture: i386
Machine: i386
>Description:
/usr/pkgsrc/net/citrix_ica/work/linuxx86/hinst calls cpio with
two options our cpio doesn't handle. This causes the install to
fail.
>How-To-Repeat:
make install
>Fix:
change /usr/pkgsrc/net/citrix_ica/patches/patch-i386-aa to the diff
below, or fix our cpio to handle -H newc and --no-preserver-owner.
--- linuxx86/hinst.orig Wed Apr 17 18:32:58 2002
+++ linuxx86/hinst Sat Nov 23 09:52:23 2002
@@ -84,7 +84,7 @@
PORT=linuxx86
# The command to undo the archive on this platform.
-EXTRACT_ARCHIVE="cpio -imud -H newc --no-preserve-owner"
+EXTRACT_ARCHIVE="cpio -imud"
# The thing that goes between the owner and group to set both by chown.
CHOWNGRP_TOKEN=":"
@@ -835,13 +835,13 @@
echo_no_nl $calcspace3
read dummy
- /bin/false
+ /usr/bin/false
return
fi
$ECHO_CMD $calcspace4
- /bin/true
+ /usr/bin/true
return
}
@@ -1862,7 +1862,7 @@
then
:
else
- /bin/false
+ /usr/bin/false
return
fi
>Release-Note:
>Audit-Trail:
>Unformatted: