From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58704158086 for ; Mon, 6 Dec 2021 09:01:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A9932BC00F; Mon, 6 Dec 2021 09:01:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 892C92BC00F for ; Mon, 6 Dec 2021 09:01:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92F493433C2 for ; Mon, 6 Dec 2021 09:01:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7AAC1A0 for ; Mon, 6 Dec 2021 09:01:36 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1638781277.6f0c4602e9576233e24bc7da1eaca379421c6aee.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git/files/, dev-vcs/git/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git/files/git-daemon-r2.initd dev-vcs/git/git-2.34.1-r1.ebuild dev-vcs/git/git-9999-r1.ebuild dev-vcs/git/git-9999-r2.ebuild dev-vcs/git/git-9999-r3.ebuild dev-vcs/git/git-9999.ebuild X-VCS-Directories: dev-vcs/git/ dev-vcs/git/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 6f0c4602e9576233e24bc7da1eaca379421c6aee X-VCS-Branch: master Date: Mon, 6 Dec 2021 09:01:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 370b6fb9-fd8e-4e8d-96e7-a88ab7eb9130 X-Archives-Hash: 869fa5869b8645d41eb8b133b631ee05 commit: 6f0c4602e9576233e24bc7da1eaca379421c6aee Author: Lars Wendler gentoo org> AuthorDate: Mon Dec 6 08:55:08 2021 +0000 Commit: Lars Wendler gentoo 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 gentoo.org> Closes: https://bugs.gentoo.org/828098 Signed-off-by: Lars Wendler 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"