1 |
commit: b4842c278094a9c41d82041ae545637b61312ed4 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 25 12:51:21 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 25 12:51:21 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4842c27 |
7 |
|
8 |
app-emulation/reg: Version bump to 0.15.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.50, Repoman-2.3.10 |
11 |
|
12 |
app-emulation/reg/Manifest | 1 + |
13 |
app-emulation/reg/reg-0.15.7.ebuild | 48 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/reg/Manifest b/app-emulation/reg/Manifest |
17 |
index 5839d29ef5c..ca738104261 100644 |
18 |
--- a/app-emulation/reg/Manifest |
19 |
+++ b/app-emulation/reg/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST reg-0.15.4.tar.gz 4052737 BLAKE2B 34bc68d3cb161bbea02bfc0ed142cb764f2db64610ac7b2b92130cfc838cfa4fde4794da9fd2d38a9bb73e994cf386ac9f50beaa4435b88cf034a4f4d0b648cc SHA512 d5948b095c310c2697a2f7b80a342af6949e4cb66c521cdb370a6fbead7424d729057fe71952291ee1ed82717cd7bb29141f6a2f85c946e33fd96da1c17912dd |
22 |
DIST reg-0.15.5.tar.gz 4053475 BLAKE2B 60541d7f02f3ee658fa185206f76df1045975101f0a25a636493a454984a8a2c836b1b74f7b8b6768c66ce0e12b12708b3f42d233e15ba64f0251b02a841bb76 SHA512 c1293868ea30dcdfc5251f95a5f287f8043be3a2372fdd08c0836919f6722c5931eb429f9047769b442bf3fdbb50c476e8509c62cb20b4b45d30793571cce44e |
23 |
DIST reg-0.15.6.tar.gz 4071110 BLAKE2B 376313ab4aef0f8bce21ddbed8f179aec14755990f6d99e5733c1550c58998f279e3c0beee7b2e11f25167bf7fb717dd731b69571adc410ad7475afcc98baef5 SHA512 1a5635af82f7a7951af325ffbc0d84c2e35ec0ecc040873ff7f0c7037fd2677cea235348c4fb0bf9397f1fd2ccee86e96ca080a1fbc28e60eb985e55e4a8a085 |
24 |
+DIST reg-0.15.7.tar.gz 4300839 BLAKE2B 67c9ca344e0a2984559c210cbdb4f5fc42f588f0c50a171c145bc63953b7540cbc166b51a5c209a2ece0c3b5647a34ffc1ac6b439b4e5a243e505c223a1a6fe5 SHA512 4c26aa0a438ac87208c4e269e16a994587ccdab38399a664638dd8c7407cf06f00c43a9c3c71cf4c88fa47a6e4466c8143ee7ee8130a8133518f5017ca34cc2d |
25 |
|
26 |
diff --git a/app-emulation/reg/reg-0.15.7.ebuild b/app-emulation/reg/reg-0.15.7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..b8476ff5ffc |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/reg/reg-0.15.7.ebuild |
31 |
@@ -0,0 +1,48 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit golang-build golang-vcs-snapshot user |
37 |
+ |
38 |
+EGO_PN="github.com/genuinetools/reg" |
39 |
+GIT_COMMIT="a761fadc9a1f26a9da8113acc4ea5d8d5fbe5043" |
40 |
+ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+KEYWORDS="~amd64" |
42 |
+ |
43 |
+DESCRIPTION="Docker registry v2 command line client" |
44 |
+HOMEPAGE="https://github.com/genuinetools/reg" |
45 |
+SRC_URI="${ARCHIVE_URI}" |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+IUSE="" |
49 |
+ |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+pkg_setup() { |
53 |
+ enewgroup reg |
54 |
+ enewuser reg -1 -1 /var/lib/reg reg |
55 |
+} |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ pushd src/${EGO_PN} || die |
59 |
+ default |
60 |
+ popd || die |
61 |
+} |
62 |
+ |
63 |
+src_compile() { |
64 |
+ pushd src/${EGO_PN} || die |
65 |
+ GOPATH="${S}" go build -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/reg . || die |
66 |
+ popd || die |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ dobin bin/* |
71 |
+ dodoc src/${EGO_PN}/README.md |
72 |
+ insinto /var/lib/${PN} |
73 |
+ doins -r src/${EGO_PN}/server/* |
74 |
+ newinitd "${FILESDIR}"/reg.initd reg |
75 |
+ newconfd "${FILESDIR}"/reg.confd reg |
76 |
+ |
77 |
+ keepdir /var/log/reg |
78 |
+ fowners -R reg:reg /var/log/reg /var/lib/reg/static |
79 |
+} |