diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-07-18 18:39:20 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-07-18 18:39:20 +0200 |
commit | bd6f0f26fb36d06225d585e3e9ade4b2c7b91c23 (patch) | |
tree | 768fb8a718a3fecd511f70f3d859f2241031081d /app-emulation/docker-registry | |
parent | app-emulation/docker-registry: migrate to GLEP 81 (diff) | |
download | gentoo-bd6f0f26fb36d06225d585e3e9ade4b2c7b91c23.tar.gz gentoo-bd6f0f26fb36d06225d585e3e9ade4b2c7b91c23.tar.bz2 gentoo-bd6f0f26fb36d06225d585e3e9ade4b2c7b91c23.zip |
app-emulation/docker-registry: drop old version
Closes: https://bugs.gentoo.org/781215
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-emulation/docker-registry')
-rw-r--r-- | app-emulation/docker-registry/docker-registry-2.7.1.ebuild | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/app-emulation/docker-registry/docker-registry-2.7.1.ebuild b/app-emulation/docker-registry/docker-registry-2.7.1.ebuild deleted file mode 100644 index 76e7bd12811a..000000000000 --- a/app-emulation/docker-registry/docker-registry-2.7.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit golang-vcs-snapshot systemd user - -KEYWORDS="amd64 ~arm64" -EGO_PN="github.com/docker/distribution" -EGIT_COMMIT="2461543d988979529609e8cb6fca9ca190dc48da" -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -DESCRIPTION="Docker Registry 2.0" -HOMEPAGE="https://github.com/docker/distribution" -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 MIT ZLIB" -SLOT="0" -IUSE="" -SVCNAME=registry - -pkg_setup() { - enewgroup ${SVCNAME} - enewuser ${SVCNAME} -1 -1 /dev/null ${SVCNAME} -} - -src_prepare() { - default - pushd src/${EGO_PN} || die - eapply "${FILESDIR}"/${PN}-2.7.0-notification-metrics.patch - sed -i -e "s/git describe.*/echo ${PV})/"\ - -e "s/git rev-parse.*/echo ${EGIT_COMMIT})/"\ - -e "s/-s -w/-w/" Makefile || die - popd || die -} - -src_compile() { - export -n GOCACHE XDG_CACHE_HOME #681072 - GOPATH="${S}" GO_BUILD_FLAGS="-v" emake -C src/${EGO_PN} binaries -} - -src_install() { - exeinto /usr/libexec/${PN} - doexe src/${EGO_PN}/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}" -} |