X-Original-To: alpine-aports@lists.alpinelinux.org Received: from lithium.8pit.net (lithium.8pit.net [81.4.121.103]) by lists.alpinelinux.org (Postfix) with ESMTP id 69D8A5C5185; Tue, 21 Mar 2017 00:21:13 +0000 (GMT) Received: from localhost (dslb-178-011-226-239.178.011.pools.vodafone-ip.de [178.11.226.239]) by lithium.8pit.net (OpenSMTPD) with ESMTPSA id 396afdac (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 21 Mar 2017 01:21:07 +0100 (CET) From: =?UTF-8?q?S=C3=B6ren=20Tempel?= To: alpine-aports@lists.alpinelinux.org Cc: dsabogalcc@gmail.com Subject: [alpine-aports] [PATCH 2/2] main/mdocml: simplify mdocml-apropos trigger Date: Tue, 21 Mar 2017 01:20:22 +0100 Message-Id: <20170321002022.12176-3-soeren+git@soeren-tempel.net> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170321002022.12176-1-soeren+git@soeren-tempel.net> References: <20170321002022.12176-1-soeren+git@soeren-tempel.net> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: 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 @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=mdocml pkgver=1.14.1 -pkgrel=1 +pkgrel=2 pkgdesc="mdoc/man compiler" url="http://mdocml.bsd.lv/" arch="all" @@ -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 @@ -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@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---