Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-registry/, app-emulation/docker-registry/files/
Date: Fri, 01 Sep 2017 22:13:36
Message-Id: 1504304004.0eea13ca58aba2306a979fdc0bd307bccedbfe60.zmedico@gentoo
1 commit: 0eea13ca58aba2306a979fdc0bd307bccedbfe60
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 1 22:09:01 2017 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 1 22:13:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eea13ca
7
8 app-emulation/docker-registry: revbump to 2.6.2-r1 for bug 629202
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.2
11
12 ...y-2.6.2.ebuild => docker-registry-2.6.2-r1.ebuild} | 0
13 app-emulation/docker-registry/files/registry.initd | 19 +++++++------------
14 2 files changed, 7 insertions(+), 12 deletions(-)
15
16 diff --git a/app-emulation/docker-registry/docker-registry-2.6.2.ebuild b/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild
17 similarity index 100%
18 rename from app-emulation/docker-registry/docker-registry-2.6.2.ebuild
19 rename to app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild
20
21 diff --git a/app-emulation/docker-registry/files/registry.initd b/app-emulation/docker-registry/files/registry.initd
22 index 43637a9dbe8..b81303c624d 100644
23 --- a/app-emulation/docker-registry/files/registry.initd
24 +++ b/app-emulation/docker-registry/files/registry.initd
25 @@ -1,24 +1,19 @@
26 #!/sbin/openrc-run
27 -# Copyright 2016 Gentoo Foundation
28 +# Copyright 2016-2017 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30
31 description="Docker Registry 2.0"
32 -pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
33 -user=${user:-${SVCNAME}}
34 -group=${group:-${SVCNAME}}
35 +pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
36 +user=${user:-${RC_SVCNAME}}
37 +group=${group:-${RC_SVCNAME}}
38
39 -command="/usr/libexec/docker-${SVCNAME}/${SVCNAME}"
40 +command="/usr/libexec/docker-${RC_SVCNAME}/${RC_SVCNAME}"
41 command_args="${command_args:-serve /etc/docker/registry/config.yml}"
42 command_background="true"
43 start_stop_daemon_args="--user ${user} --group ${group} \
44 - --stdout /var/log/${SVCNAME}/${SVCNAME}.log \
45 - --stderr /var/log/${SVCNAME}/${SVCNAME}.log"
46 + --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
47 + --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
48
49 depend() {
50 need net
51 - after net
52 -}
53 -
54 -start_pre() {
55 - checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
56 }