ERROR: Slooooow dooooown... this page load was delayed.


cpio - Copies files into or out of a cpio or tar archive ChangeLog

HOWTO


# GNU cpio 2.9
# ============
# Slackware 8.1's 'cpio' package includes version 2.4.2.91, 9.0, 9.1, 10.1,
# 10.2, 11.0, and 12.0's include version 2.5

# If ftp.gnu.org is busy, use ibiblio instead

# Prerequisites:
# gettext
# texinfo (optional)

# Below I pass --disable-nls (new for version 2.6) to configure because I
# live in the US and only read/write (well) English.  If this is not the
# case for you, you may want to leave that off.

cd
test -f installed/cpio-2.9.tar.bz2 && mv installed/cpio-2.9.tar.bz2 .
test ! -f cpio-2.9.tar.bz2 &&
wget http://ftp.gnu.org/gnu/cpio/cpio-2.9.tar.bz2

# Verify tarball w/ md5sum:
echo "e387abfdae3a0b9a8a5f762db653a96d  cpio-2.9.tar.bz2" | md5sum -c

# Verify tarball w/ sha1sum:
# (this came from my gpg-verified tarball)
echo "ef381d0f33f1ea74475b6d813c42a74327762c4a  cpio-2.9.tar.bz2" | \
sha1sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 55D0C732 > /dev/null 2>&1 || gpg --recv-keys 55D0C732 ) &&
wget -nc http://ftp.gnu.org/gnu/cpio/cpio-2.9.tar.bz2.sig &&
  gpg --verify cpio-2.9.tar.bz2.sig && rm cpio-2.9.tar.bz2.sig

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "cpio-*" -exec rm -r {} \;
tar xjvf ~/cpio-2.9.tar.bz2
cd cpio-2.9
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr --disable-nls --enable-mt
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg cpio

# 'make install' would put cpio and mt into /usr/bin and rmt into
# /usr/libexec.  We install things like Slackware does, cpio in /bin, mt
# in /bin but named mt-GNU (I think because of mt-st), and we skip rmt all
# together (because an rmt gets installed with tar).
install -s src/cpio /bin/
install -s src/mt /bin/mt-GNU
install -m 644 doc/cpio.1 doc/mt.1 /usr/man/man1/
ln -sf /usr/man/man1/mt.1 /usr/man/man1/mt-GNU.1
which makeinfo > /dev/null 2>&1 &&
( makeinfo doc/cpio.texi ; install -m 644 doc/cpio.info /usr/info/ )

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/cpio-*.tar.*
mv cpio-2.9.tar.bz2 installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2007-09-01 12:08pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]