man-pages: update to 6.17
This commit is contained in:
committed by
Duncan Overbruck
parent
09e3fe816c
commit
36a35a54df
+11
-19
@@ -1,37 +1,29 @@
|
||||
# Template file for 'man-pages'
|
||||
pkgname=man-pages
|
||||
version=6.15
|
||||
version=6.17
|
||||
revision=1
|
||||
short_desc="Linux Documentation Project (LDP) manual pages"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://www.kernel.org/doc/man-pages/index.html"
|
||||
distfiles="${KERNEL_SITE}/docs/man-pages/man-pages-${version}.tar.xz"
|
||||
checksum=03d8ebf618bd5df57cb4bf355efa3f4cd3a00b771efd623d4fd042b5dceb4465
|
||||
checksum=d18f21a602b09778a5a9096bf1be8441b7733e998150474accf703d165f4ebf4
|
||||
|
||||
do_install() {
|
||||
make -R install prefix=/usr DESTDIR=${DESTDIR}
|
||||
|
||||
# Remove dup manpages.
|
||||
cd ${DESTDIR}/usr/share/man
|
||||
# coreutils
|
||||
rm -f man1/{chgrp,chmod,chown,cp,dir,dd}.1
|
||||
rm -f man1/{df,dircolors,du,install,ln,ls}.1
|
||||
rm -f man1/{mkdir,mkfifo,mknod,mv,rm,rmdir}.1
|
||||
rm -f man1/{touch,vdir}.1
|
||||
# shadow
|
||||
rm -f man5/passwd.5
|
||||
rm -f man3/getspnam.3
|
||||
# diffutils
|
||||
rm -f man1/diff.1
|
||||
rm man5/passwd.5
|
||||
rm man3/getspnam.3
|
||||
# tzdata
|
||||
rm -f man5/tzfile.5
|
||||
rm -f man8/zdump.8
|
||||
rm -f man8/tzselect.8
|
||||
rm -f man8/zic.8
|
||||
rm man5/tzfile.5
|
||||
rm man8/zdump.8
|
||||
rm man8/tzselect.8
|
||||
rm man8/zic.8
|
||||
# mdocml
|
||||
rm -f man7/man.7
|
||||
rm -f man7/mdoc.7
|
||||
rm man7/man.7
|
||||
# Rename some glibc specific manpages
|
||||
mv man1/{iconv.1,glibc-iconv.1}
|
||||
mv man1/{ldd.1,glibc-ldd.1}
|
||||
@@ -42,8 +34,8 @@ do_install() {
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||
# libxcrypt-devel
|
||||
rm -f man3/crypt.3
|
||||
rm -f man3/crypt_r.3
|
||||
rm man3/crypt.3
|
||||
rm man3/crypt_r.3
|
||||
fi
|
||||
|
||||
sed 's/^\.TH SYSLOG 2/.TH KLOGCTL 3/' man2/syslog.2 >man3/klogctl.3
|
||||
|
||||
Reference in New Issue
Block a user