public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/keepassxc/, app-admin/keepassxc/files/
Date: Fri,  8 Mar 2019 13:56:13 +0000 (UTC)	[thread overview]
Message-ID: <1552053365.1940f4b7f0d20a8bd73448e5a652e64fe7e0a100.polynomial-c@gentoo> (raw)

commit:     1940f4b7f0d20a8bd73448e5a652e64fe7e0a100
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  8 13:55:42 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Mar  8 13:56:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1940f4b7

app-admin/keepassxc: Don't call mandb

Closes: https://bugs.gentoo.org/679766
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../files/keepassxc-dont_call_mandb.patch          | 25 ++++++++++++++++++++++
 app-admin/keepassxc/keepassxc-2.3.3.ebuild         |  3 ++-
 app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild      |  1 +
 app-admin/keepassxc/keepassxc-2.4.0_beta2.ebuild   |  4 ++++
 4 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/app-admin/keepassxc/files/keepassxc-dont_call_mandb.patch b/app-admin/keepassxc/files/keepassxc-dont_call_mandb.patch
new file mode 100644
index 00000000000..f966ae5ff28
--- /dev/null
+++ b/app-admin/keepassxc/files/keepassxc-dont_call_mandb.patch
@@ -0,0 +1,25 @@
+From f3e52d89b20a8740d18cd9f1124f299b64f06b36 Mon Sep 17 00:00:00 2001
+From: Lars Wendler <polynomial-c@gentoo.org>
+Date: Fri, 8 Mar 2019 14:48:13 +0100
+Subject: [PATCH] Don't call mandb
+
+There are other man implementateions beside man-db so it is not even sure
+that the "mandb" binary even exists on all unices. Other than that, usually
+there's a cron job running "mandb" on a daily basis.
+---
+ src/cli/CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/cli/CMakeLists.txt b/src/cli/CMakeLists.txt
+index e59a911a..c3f97a2c 100644
+--- a/src/cli/CMakeLists.txt
++++ b/src/cli/CMakeLists.txt
+@@ -94,5 +94,4 @@ endif()
+ 
+ if(APPLE OR UNIX)
+     install(FILES keepassxc-cli.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/)
+-    execute_process(COMMAND mandb -q)
+ endif()
+-- 
+2.21.0
+

diff --git a/app-admin/keepassxc/keepassxc-2.3.3.ebuild b/app-admin/keepassxc/keepassxc-2.3.3.ebuild
index 3b2a5255c88..bf0e88ca357 100644
--- a/app-admin/keepassxc/keepassxc-2.3.3.ebuild
+++ b/app-admin/keepassxc/keepassxc-2.3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -49,6 +49,7 @@ DEPEND="
 
 PATCHES=(
 	"${FILESDIR}/${P}-qt-5.11-edit-entry-widget-includes.patch" #655844
+	"${FILESDIR}/${PN}-dont_call_mandb.patch"
 )
 
 src_prepare() {

diff --git a/app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild b/app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild
index 222a7249efa..bf07bec346a 100644
--- a/app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild
+++ b/app-admin/keepassxc/keepassxc-2.3.4-r1.ebuild
@@ -54,6 +54,7 @@ PDEPEND="
 
 PATCHES=(
 	"${FILESDIR}/${PN}-2.3.3-qt-5.11-edit-entry-widget-includes.patch" #655844
+	"${FILESDIR}/${PN}-dont_call_mandb.patch"
 )
 
 src_prepare() {

diff --git a/app-admin/keepassxc/keepassxc-2.4.0_beta2.ebuild b/app-admin/keepassxc/keepassxc-2.4.0_beta2.ebuild
index 1b5f2654570..b05a5089d56 100644
--- a/app-admin/keepassxc/keepassxc-2.4.0_beta2.ebuild
+++ b/app-admin/keepassxc/keepassxc-2.4.0_beta2.ebuild
@@ -57,6 +57,10 @@ PDEPEND="
 	x11-misc/xsel
 "
 
+PATCHES=(
+	"${FILESDIR}/${PN}-dont_call_mandb.patch"
+)
+
 src_prepare() {
 	 use test || \
 		sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die


             reply	other threads:[~2019-03-08 13:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-08 13:56 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-04  1:26 [gentoo-commits] repo/gentoo:master commit in: app-admin/keepassxc/, app-admin/keepassxc/files/ Maciej Barć
2025-03-04  1:26 Maciej Barć
2022-10-30  1:14 Maciej Barć
2022-10-26 13:40 Maciej Barć
2020-10-22  7:02 Lars Wendler
2019-06-03 12:22 Lars Wendler
2019-04-11 16:55 Lars Wendler
2019-03-20 11:01 Lars Wendler
2018-05-16  9:09 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1552053365.1940f4b7f0d20a8bd73448e5a652e64fe7e0a100.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox