From dce9f05156ca6cf286f6bb8d3ecbb3a28dc3f7eb Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 12 Jul 2021 13:26:26 +0300 Subject: [PATCH] man-pages: provide man-pages-posix (See #273) We need man-pages-posix to fill in the gaps where man-pages provides glibc related information. This also renames the directories from man[013]p to man[013] to avoid having to use makewhatis + the mandoc database. --- extra/man-pages/build | 17 ++++------------- extra/man-pages/checksums | 1 + extra/man-pages/sources | 1 + 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/extra/man-pages/build b/extra/man-pages/build index de3043a1f..6ea8bba50 100755 --- a/extra/man-pages/build +++ b/extra/man-pages/build @@ -5,19 +5,10 @@ mkdir -p "$1/usr/share/man" -# The sources are set out as follows. -# -# 1. user commands (intro, plus a few other pages) -# 2. system calls -# 3. libc calls -# 4. devices (e.g., hd, sd) -# 5. file formats and configuration files (e.g., wtmp, /etc/passwd) -# 6. games (intro only) -# 7. overviews, conventions, macro packages, etc. -# 8. system administration (intro, plus a few other pages) -# -# Manual pages which relate to glibc or are otherwise provided by -# other packages (tzdata, etc) are excluded. +for i in 0p 1p 3p; do + cp -Rf "posix/man$i" "$1/usr/share/man/man${i%%p}" +done + for i in 2 4 5 7; do cp -Rf "man$i" "$1/usr/share/man" done diff --git a/extra/man-pages/checksums b/extra/man-pages/checksums index acc6d56c6..2428e7a91 100644 --- a/extra/man-pages/checksums +++ b/extra/man-pages/checksums @@ -1 +1,2 @@ 7af5c960a05a7fac56813fe5bfa564a1c280e934363ae03911b67b0b8e23371e +ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3 diff --git a/extra/man-pages/sources b/extra/man-pages/sources index b5526f029..b29d3dae4 100644 --- a/extra/man-pages/sources +++ b/extra/man-pages/sources @@ -1 +1,2 @@ https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-5.12.tar.xz +https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2017-a.tar.xz posix