1 |
commit: da66d193be2d327d8c6b1b90191ccc56d89348f3 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 28 08:38:44 2016 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 28 08:39:15 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da66d193 |
7 |
|
8 |
app-emulation/docker-registry: remove old version 2.4.0 |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
app-emulation/docker-registry/Manifest | 1 - |
13 |
.../docker-registry/docker-registry-2.4.0.ebuild | 52 ---------------------- |
14 |
2 files changed, 53 deletions(-) |
15 |
|
16 |
diff --git a/app-emulation/docker-registry/Manifest b/app-emulation/docker-registry/Manifest |
17 |
index cc89b0c..90af5e5 100644 |
18 |
--- a/app-emulation/docker-registry/Manifest |
19 |
+++ b/app-emulation/docker-registry/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST docker-registry-2.4.0.tar.gz 1294478 SHA256 cfd0c6212a05c047fa6a5b9093493d2de0b438936f2d7318a902263a4a3d7b0f SHA512 668ba35adbe897f73e93e3ec8766123a70b4d2b0d57d4ec3e9f77f6d60d381184acc331b04ab0391f4c648da223dd2338a4065027e6c63aa86b1f1a039d7e300 WHIRLPOOL b07b0f79b97547c33fa2b64bcf85cc1e2bac3e17c38d6bda18a5ed7cfc500938ee29c26c15fbbc5110b22c2d28764674034cf325519261b01ada71deb6b541be |
22 |
DIST docker-registry-2.5.0.tar.gz 1619051 SHA256 9b1b09bf0f54a37247a4d4532ceb1a3bc2381ac13a63a9a5989f374614517c1c SHA512 2c9b45a8fbceff32538b357b9bb42d86e6d21b664cffcfb476ed06177608f35cd81f6bfdb342df3edfdea2705569fcf5cba94be6a885ecaf69f68ff8569de781 WHIRLPOOL 6bb9d01c690c636e4069535253182bed0ccc8973c1682283376975f6d105338bbf21ca28900c74e12ceaf12427f3b381b7fac97d25c637a0596e30019f22d3b3 |
23 |
|
24 |
diff --git a/app-emulation/docker-registry/docker-registry-2.4.0.ebuild b/app-emulation/docker-registry/docker-registry-2.4.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index c5b0e84..00000000 |
27 |
--- a/app-emulation/docker-registry/docker-registry-2.4.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,52 +0,0 @@ |
30 |
-# Copyright 1999-2016 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Id$ |
33 |
- |
34 |
-EAPI=5 |
35 |
-inherit golang-vcs-snapshot systemd user |
36 |
- |
37 |
-KEYWORDS="~amd64" |
38 |
-EGO_PN="github.com/docker/distribution/..." |
39 |
-EGIT_COMMIT="v${PV}" |
40 |
-SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
41 |
-DESCRIPTION="Docker Registry 2.0" |
42 |
-HOMEPAGE="https://${EGO_PN%/*}" |
43 |
-LICENSE="Apache-2.0" |
44 |
-SLOT="0/${PVR}" |
45 |
-IUSE="" |
46 |
-DEPEND=">=dev-lang/go-1.5" |
47 |
-SVCNAME=registry |
48 |
- |
49 |
-pkg_setup() { |
50 |
- enewgroup ${SVCNAME} |
51 |
- enewuser ${SVCNAME} -1 -1 /dev/null ${SVCNAME} |
52 |
-} |
53 |
- |
54 |
-src_compile() { |
55 |
- GOPATH="${S}" GO15VENDOREXPERIMENT=1 \ |
56 |
- go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die |
57 |
-} |
58 |
- |
59 |
-src_install() { |
60 |
- golang_install_pkgs |
61 |
- exeinto /usr/libexec/${PN} |
62 |
- doexe "${S}"/bin/* |
63 |
- insinto /etc/docker/registry |
64 |
- newins "${S}"/src/${EGO_PN%/*}/cmd/registry/config-example.yml config.yml.example |
65 |
- newinitd "${FILESDIR}/${SVCNAME}.initd" "${SVCNAME}" |
66 |
- newconfd "${FILESDIR}/${SVCNAME}.confd" "${SVCNAME}" |
67 |
- systemd_dounit "${FILESDIR}/${SVCNAME}.service" |
68 |
- keepdir /var/{lib,log}/${SVCNAME} |
69 |
- fowners ${SVCNAME}:${SVCNAME} /var/{lib,log}/${SVCNAME} |
70 |
- insinto /etc/logrotate.d |
71 |
- newins "${FILESDIR}/${SVCNAME}.logrotated" "${SVCNAME}" |
72 |
-} |
73 |
- |
74 |
-golang_install_pkgs() { |
75 |
- insinto $(dirname "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}") |
76 |
- rm -rf "${S}"/src/${EGO_PN%/*}/.git* \ |
77 |
- "${S}"/{src,pkg/$(go env GOOS)_$(go env GOARCH)}/${EGO_PN%/*}/vendor |
78 |
- doins -r "${S}"/src/${EGO_PN%/*} |
79 |
- insinto $(dirname "${EPREFIX}$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}") |
80 |
- doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}{,.a} |
81 |
-} |