commit: df94d5913967eb5527fc5b1b8af8434659c794af
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun May 8 22:56:31 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun May 8 22:56:31 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df94d591
dev-vcs/git: reapply systemd unit changes in ~arch only
Package-Manager: portage-2.2.28_p97
dev-vcs/git/files/git-daemon_at-r1.service | 12 ++++++++++++
dev-vcs/git/{git-9999-r3.ebuild => git-2.8.2-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, 17 insertions(+), 5 deletions(-)
diff --git a/dev-vcs/git/files/git-daemon_at-r1.service
b/dev-vcs/git/files/git-daemon_at-r1.service
new file mode 100644
index 0000000..0a1bd14
--- /dev/null
+++ b/dev-vcs/git/files/git-daemon_at-r1.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Git Repositories Server Daemon
+Documentation=man:git-daemon(1)
+
+[Service]
+User=nobody
+Group=nobody
+# Ignore non-zero exit status, access error makes git-daemon return them
+ExecStart=-/usr/libexec/git-core/git-daemon --inetd --base-path=/var/git
--verbose
+StandardInput=socket
+StandardOutput=inherit
+StandardError=journal
diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-2.8.2-r1.ebuild
similarity index 99%
copy from dev-vcs/git/git-9999-r3.ebuild
copy to dev-vcs/git/git-2.8.2-r1.ebuild
index 89aef01..ef3d9da 100644
--- a/dev-vcs/git/git-9999-r3.ebuild
+++ b/dev-vcs/git/git-2.8.2-r1.ebuild
@@ -540,7 +540,7 @@ src_install() {
if use !prefix ; then
newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
- systemd_newunit "${FILESDIR}/git-daemon_at.service"
"[email protected]"
+ systemd_newunit "${FILESDIR}/git-daemon_at-r1.service"
"[email protected]"
systemd_dounit "${FILESDIR}/git-daemon.socket"
fi
diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild
index 69b91db..87f4fb2 100644
--- a/dev-vcs/git/git-9999-r1.ebuild
+++ b/dev-vcs/git/git-9999-r1.ebuild
@@ -540,7 +540,7 @@ src_install() {
if use !prefix ; then
newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
- systemd_newunit "${FILESDIR}/git-daemon_at.service"
"[email protected]"
+ systemd_newunit "${FILESDIR}/git-daemon_at-r1.service"
"[email protected]"
systemd_dounit "${FILESDIR}/git-daemon.socket"
fi
diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild
index 4de6ab7..80fb7d3 100644
--- a/dev-vcs/git/git-9999-r2.ebuild
+++ b/dev-vcs/git/git-9999-r2.ebuild
@@ -540,7 +540,7 @@ src_install() {
if use !prefix ; then
newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
- systemd_newunit "${FILESDIR}/git-daemon_at.service"
"[email protected]"
+ systemd_newunit "${FILESDIR}/git-daemon_at-r1.service"
"[email protected]"
systemd_dounit "${FILESDIR}/git-daemon.socket"
fi
diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild
index 89aef01..ef3d9da 100644
--- a/dev-vcs/git/git-9999-r3.ebuild
+++ b/dev-vcs/git/git-9999-r3.ebuild
@@ -540,7 +540,7 @@ src_install() {
if use !prefix ; then
newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
- systemd_newunit "${FILESDIR}/git-daemon_at.service"
"[email protected]"
+ systemd_newunit "${FILESDIR}/git-daemon_at-r1.service"
"[email protected]"
systemd_dounit "${FILESDIR}/git-daemon.socket"
fi
diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild
index 596de37..a9baf35 100644
--- a/dev-vcs/git/git-9999.ebuild
+++ b/dev-vcs/git/git-9999.ebuild
@@ -540,7 +540,7 @@ src_install() {
if use !prefix ; then
newinitd "${FILESDIR}"/git-daemon-r1.initd git-daemon
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
- systemd_newunit "${FILESDIR}/git-daemon_at.service"
"[email protected]"
+ systemd_newunit "${FILESDIR}/git-daemon_at-r1.service"
"[email protected]"
systemd_dounit "${FILESDIR}/git-daemon.socket"
fi