diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
commit | a5b65c81168c90928784a1e92cda84ed5d6b9eb3 (patch) | |
tree | 4aa7483cd0ad7de54338afc8e7971417abe1dd81 /app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild | |
parent | e8f81810baa21f490d6910e8e2d424546b72a333 (diff) |
gentoo resync : 25.09.2019
Diffstat (limited to 'app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild')
-rw-r--r-- | app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild b/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild deleted file mode 100644 index 863b9ac50826..000000000000 --- a/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit golang-vcs-snapshot systemd user - -KEYWORDS="~amd64" -EGO_PN="github.com/docker/distribution" -EGIT_COMMIT="v${PV}" -SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -DESCRIPTION="Docker Registry 2.0" -HOMEPAGE="https://github.com/docker/distribution" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" -SVCNAME=registry - -PATCHES=( "${FILESDIR}/${PN}-2.6.1-notifications-expvar.patch" ) - -pkg_setup() { - enewgroup ${SVCNAME} - enewuser ${SVCNAME} -1 -1 /dev/null ${SVCNAME} -} - -src_compile() { - export -n GOCACHE XDG_CACHE_HOME #681072 - GOPATH="${S}" \ - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die -} - -src_install() { - exeinto /usr/libexec/${PN} - doexe bin/* - insinto /etc/docker/registry - newins src/${EGO_PN}/cmd/registry/config-example.yml config.yml.example - newinitd "${FILESDIR}/${SVCNAME}.initd" "${SVCNAME}" - newconfd "${FILESDIR}/${SVCNAME}.confd" "${SVCNAME}" - systemd_dounit "${FILESDIR}/${SVCNAME}.service" - keepdir /var/{lib,log}/${SVCNAME} - fowners ${SVCNAME}:${SVCNAME} /var/{lib,log}/${SVCNAME} - insinto /etc/logrotate.d - newins "${FILESDIR}/${SVCNAME}.logrotated" "${SVCNAME}" -} |