Mail archive
alpine-aports

[alpine-aports] [PATCH 2/2] main/mdocml: simplify mdocml-apropos trigger

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Tue, 21 Mar 2017 01:20:22 +0100

makewhatis(8) parses the mdocml configuration file to figure out the
manpath and then creates an index for each directory of the manpath.

I also removed the -a option because it caused makewhatis(8) to also add
man pages in non-standard locations such as `/usr/share/man/nl` to the
manpath which resulted in man(1) preferring those over the english man
pages. So when I ran `man nmap` I got a man page in a language that I
didn't understand.
---
 main/mdocml/APKBUILD               | 4 ++--
 main/mdocml/mdocml-apropos.trigger | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/main/mdocml/APKBUILD b/main/mdocml/APKBUILD
index 3afbaa0aeb..971c4f5b13 100644
--- a/main/mdocml/APKBUILD
+++ b/main/mdocml/APKBUILD
_at_@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=mdocml
 pkgver=1.14.1
-pkgrel=1
+pkgrel=2
 pkgdesc="mdoc/man compiler"
 url="http://mdocml.bsd.lv/"
 arch="all"
_at_@ -74,5 +74,5 @@ soelim() {
 sha512sums="90f00297d162faa404fe4e530f95422c210b8d23a0be5a115c2c8c17255d366e224444901842affb06ed8aaf8febd3e5c79966ff713fa7daf00e8c48b7a857c6  mdocml-1.14.1.tar.gz
 ca0f68f6d3d67800eaae7649dacddd04b9159c636bc922840cdb30b741026e708a9527571af656b22642c83b2dc0f9cd9f0b83b43db7a64b0e15fb0654e935a6  shared-libmandoc.patch
 04947a275df99298591c2a46fb81b74c7c3fcb9f3cf8fb718cf1e32eeae5409e90a3bca89e542f8aa1b30792e837fd3d716303a636d1a3ec165fbb9529546a64  pager.patch
-704bc159acfc639e10c7d505372d303cb5784c8e9eb30084236ad89978978d4ba74f3127d4597d78594b64182c47a00c011f8bb3271d2b784f03a2a411ccb1d8  mdocml-apropos.trigger
+1af9627ee519ecf7d4962db52c83b28f3eb4e9fc6bf38e674bd5e17b21076c3c74c9eed2a1161812f8ac0c75471986b73fcf0acfc7065bc2c15280e1d696a00b  mdocml-apropos.trigger
 ebe205fb3c94132f7397f87c6600dffe7f72c25db107d961c777c219f5b01ea0c1fb6507562a92368cff1aa5c310ce19215b87b1a954b44d00957789b95038c8  man.conf"
diff --git a/main/mdocml/mdocml-apropos.trigger b/main/mdocml/mdocml-apropos.trigger
index 517480493f..8a59a0cba3 100644
--- a/main/mdocml/mdocml-apropos.trigger
+++ b/main/mdocml/mdocml-apropos.trigger
_at_@ -1,3 +1,2 @@
 #!/bin/sh
-
-exec /usr/sbin/makewhatis -a -T utf8 /usr/share/man
+exec /usr/sbin/makewhatis -T utf8
-- 
2.11.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Mar 21 2017 - 01:20:22 GMT