From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git/files/, dev-vcs/git/
Date: Mon, 6 Dec 2021 09:01:36 +0000 (UTC) [thread overview]
Message-ID: <1638781277.6f0c4602e9576233e24bc7da1eaca379421c6aee.polynomial-c@gentoo> (raw)
commit: 6f0c4602e9576233e24bc7da1eaca379421c6aee
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 6 08:55:08 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Dec 6 09:01:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f0c4602
dev-vcs/git: Improve OpenRC script git-daemon
Thanks-to: Brian Evans <grknight <AT> gentoo.org>
Closes: https://bugs.gentoo.org/828098
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
dev-vcs/git/files/git-daemon-r2.initd | 14 ++++++++++++++
dev-vcs/git/{git-9999-r1.ebuild => git-2.34.1-r1.ebuild} | 2 +-
dev-vcs/git/git-9999-r1.ebuild | 2 +-
dev-vcs/git/git-9999-r2.ebuild | 2 +-
dev-vcs/git/git-9999-r3.ebuild | 2 +-
dev-vcs/git/git-9999.ebuild | 2 +-
6 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/dev-vcs/git/files/git-daemon-r2.initd b/dev-vcs/git/files/git-daemon-r2.initd
new file mode 100644
index 000000000000..177458b27366
--- /dev/null
+++ b/dev-vcs/git/files/git-daemon-r2.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile="/var/run/git-daemon.pid"
+command="/usr/bin/git"
+command_args="daemon ${GITDAEMON_OPTS}"
+command_user="${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"
+start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME="
+command_background="yes"
+
+depend() {
+ use logger
+}
diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-2.34.1-r1.ebuild
similarity index 99%
copy from dev-vcs/git/git-9999-r1.ebuild
copy to dev-vcs/git/git-2.34.1-r1.ebuild
index 6fd30df80506..74e58d7f357a 100644
--- a/dev-vcs/git/git-9999-r1.ebuild
+++ b/dev-vcs/git/git-2.34.1-r1.ebuild
@@ -513,7 +513,7 @@ src_install() {
fi
if ! use prefix ; then
- newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
+ newinitd "${FILESDIR}"/git-daemon-r2.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
systemd_newunit "${FILESDIR}/git-daemon_at-r1.service" \
"git-daemon@.service"
diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild
index 6fd30df80506..74e58d7f357a 100644
--- a/dev-vcs/git/git-9999-r1.ebuild
+++ b/dev-vcs/git/git-9999-r1.ebuild
@@ -513,7 +513,7 @@ src_install() {
fi
if ! use prefix ; then
- newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
+ newinitd "${FILESDIR}"/git-daemon-r2.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
systemd_newunit "${FILESDIR}/git-daemon_at-r1.service" \
"git-daemon@.service"
diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild
index 6fd30df80506..74e58d7f357a 100644
--- a/dev-vcs/git/git-9999-r2.ebuild
+++ b/dev-vcs/git/git-9999-r2.ebuild
@@ -513,7 +513,7 @@ src_install() {
fi
if ! use prefix ; then
- newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
+ newinitd "${FILESDIR}"/git-daemon-r2.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
systemd_newunit "${FILESDIR}/git-daemon_at-r1.service" \
"git-daemon@.service"
diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild
index 6fd30df80506..74e58d7f357a 100644
--- a/dev-vcs/git/git-9999-r3.ebuild
+++ b/dev-vcs/git/git-9999-r3.ebuild
@@ -513,7 +513,7 @@ src_install() {
fi
if ! use prefix ; then
- newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
+ newinitd "${FILESDIR}"/git-daemon-r2.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
systemd_newunit "${FILESDIR}/git-daemon_at-r1.service" \
"git-daemon@.service"
diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild
index 6fd30df80506..74e58d7f357a 100644
--- a/dev-vcs/git/git-9999.ebuild
+++ b/dev-vcs/git/git-9999.ebuild
@@ -513,7 +513,7 @@ src_install() {
fi
if ! use prefix ; then
- newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
+ newinitd "${FILESDIR}"/git-daemon-r2.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
systemd_newunit "${FILESDIR}/git-daemon_at-r1.service" \
"git-daemon@.service"
next reply other threads:[~2021-12-06 9:01 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-06 9:01 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-28 19:48 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git/files/, dev-vcs/git/ Sam James
2025-03-19 1:06 Sam James
2025-02-23 12:20 Fabian Groffen
2024-10-17 7:19 Sam James
2024-09-30 5:14 Sam James
2022-08-19 1:43 Sam James
2022-06-18 7:03 Lars Wendler
2022-06-16 11:16 Lars Wendler
2022-06-11 6:31 Ulrich Müller
2021-03-18 9:21 Lars Wendler
2021-02-26 9:30 Lars Wendler
2021-01-07 13:01 Lars Wendler
2019-10-21 8:18 Lars Wendler
2019-04-12 7:23 Robin H. Johnson
2018-11-22 0:12 Lars Wendler
2018-06-06 14:34 Lars Wendler
2018-03-23 11:23 Lars Wendler
2017-03-21 9:29 Lars Wendler
2016-09-03 19:19 Lars Wendler
2016-01-17 15:34 Andreas Hüttel
2016-01-16 23:16 Andreas Hüttel
2015-11-06 8:48 Lars Wendler
2015-10-06 8:55 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=1638781277.6f0c4602e9576233e24bc7da1eaca379421c6aee.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