From: "Thomas Beierlein" <tomjbe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/bacula/files/, app-backup/bacula/
Date: Sun, 20 Oct 2024 11:15:16 +0000 (UTC) [thread overview]
Message-ID: <1729422870.a647e010c175db37a70b28802580935b0913dcd7.tomjbe@gentoo> (raw)
commit: a647e010c175db37a70b28802580935b0913dcd7
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 11:14:30 2024 +0000
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 11:14:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a647e010
app-backup/bacula: Drop reliance on 'which' command
Closes: https://bugs.gentoo.org/940692
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
app-backup/bacula/bacula-15.0.2.ebuild | 3 +++
app-backup/bacula/files/bacula-drop-which.patch | 12 ++++++++++++
2 files changed, 15 insertions(+)
diff --git a/app-backup/bacula/bacula-15.0.2.ebuild b/app-backup/bacula/bacula-15.0.2.ebuild
index d5c84855a449..5b3556d73298 100644
--- a/app-backup/bacula/bacula-15.0.2.ebuild
+++ b/app-backup/bacula/bacula-15.0.2.ebuild
@@ -184,6 +184,9 @@ src_prepare() {
sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/Makefile ||die
sed -i -e "s/(INSTALL_PROGRAM) /(INSTALL_LIB) /" src/plugins/fd/docker/Makefile ||die
+ # drop reliance on installed 'which' program (bug #940692)
+ eapply "${FILESDIR}"/${PN}-drop-which.patch
+
# fix bundled libtool (bug 466696)
# But first move directory with M4 macros out of the way.
# It is only needed by autoconf and gives errors during elibtoolize.
diff --git a/app-backup/bacula/files/bacula-drop-which.patch b/app-backup/bacula/files/bacula-drop-which.patch
new file mode 100644
index 000000000000..0c34ddabbf61
--- /dev/null
+++ b/app-backup/bacula/files/bacula-drop-which.patch
@@ -0,0 +1,12 @@
+diff --git a/scripts/getgitcommit b/scripts/getgitcommit
+index 6897091..d82a7e5 100755
+--- a/scripts/getgitcommit
++++ b/scripts/getgitcommit
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+
+-GIT=$(which git)
++GIT=$(command -v git)
+ if [ "x$GIT" != "x" ]
+ then
+ COMMIT=$(git log --pretty=format:%h -n 1 2>/dev/null)
next reply other threads:[~2024-10-20 11:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-20 11:15 Thomas Beierlein [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-08 13:24 [gentoo-commits] repo/gentoo:master commit in: app-backup/bacula/files/, app-backup/bacula/ Thomas Beierlein
2024-01-13 13:31 Thomas Beierlein
2023-11-16 15:39 Thomas Beierlein
2023-11-14 16:29 Thomas Beierlein
2023-04-30 11:52 Thomas Beierlein
2023-02-24 19:20 Thomas Beierlein
2022-06-03 7:58 Thomas Beierlein
2022-05-17 6:10 Sam James
2021-05-18 16:40 Thomas Beierlein
2016-12-24 13:06 Thomas Beierlein
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=1729422870.a647e010c175db37a70b28802580935b0913dcd7.tomjbe@gentoo \
--to=tomjbe@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