man-pages - Section 2, 3, 4, 5 and 7 man pages for Linux ChangeLog

HOWTO


# man-pages 3.00
# ==============
# Slackware 9.0's 'man-pages' package includes 1.56, 9.1's includes 1.60,
# 10.0's, 10.1's, 10.2's include 1.64, 11.0's includes 2.39, 12.0's
# includes 2.55, and 12.1's includes 2.79

cd
test -f installed/man-pages-3.00.tar.bz2 &&
mv installed/man-pages-3.00.tar.bz2 .
test ! -f man-pages-3.00.tar.bz2 &&
wget http://www.kernel.org/pub/linux/docs/man-pages/man-pages-3.00.tar.bz2

# Verify tarball w/ md5sum:
# (this came from my gpg-verified tarball)
echo "e33a7c2e5ae9e5d3b3ed71568a740e30  man-pages-3.00.tar.bz2" | md5sum -c

# Verify tarball w/ sha1sum:
# (this also came from my gpg-verified tarball)
echo "72283ade835e1fe3c5d20916a04dfe6d5e625119  man-pages-3.00.tar.bz2" | \
sha1sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 517D0F0E > /dev/null 2>&1 || gpg --recv-keys 517D0F0E ) &&
wget http://www.kernel.org/pub/linux/docs/man-pages/\
man-pages-3.00.tar.bz2.sign &&
  gpg --verify man-pages-3.00.tar.bz2.sign && rm man-pages-3.00.tar.bz2.sign

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "man-pages-*" -exec rm -r {} \;
tar xjvf ~/man-pages-3.00.tar.bz2
cd man-pages-3.00
test $UID = 0 && chown -R root:root .

# Become root to clean up old files and to install it
su

test -x /sbin/removepkg && /sbin/removepkg manpages man-pages
make remove
make allgz

# The default /usr/share/misc/man.conf already has this set, but if you're
# upgrading, read on...
#
# To change the order that man pages are searched for to include the POSIX
# man pages that were added as of version 1.65, either open up
# /usr/share/misc/man.conf in a text editor and change MANSECT to this:
# 1p:1:8:0p:3p:2:3:4:5:6:7:9:tcl:n:l:p:o
#
# ...or set the environment variable MANSECT to that value.  To get the
# variable set on boot-up (for all users), either add something to
# /etc/profile, or create a /etc/profile.d/man-pages.sh (Slack >= 8.1
# required) like this:
echo '#!/bin/sh' > /etc/profile.d/man-pages.sh
echo 'export MANSECT="1p:1:8:0p:3p:2:3:4:5:6:7:9:tcl:n:l:p:o"' > \
/etc/profile.d/man-pages.sh
chmod 755 /etc/profile.d/man-pages.sh
. /etc/profile.d/man-pages.sh

# Update the whatis database:
makewhatis

# Make sure your non-root user can remove the source later
chown -R $USER .
chmod -R u+w .

# Become yourself again
exit

# If you created /etc/profile.d/man above, run this to add that to your
# non-root shell's environment:
. /etc/profile.d/man-pages.sh

cd
mkdir -p -m 0700 installed
rm -f installed/man-pages-*.tar.*
mv man-pages-3.00.tar.bz2 installed/

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2008-06-18 6:02pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]