mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
app-admin/sdnotify-proxy: Migrate versioned ebuild away from git eclass
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
34e8715599
commit
f430165d61
1
sdk_container/src/third_party/coreos-overlay/app-admin/sdnotify-proxy/Manifest
vendored
Normal file
1
sdk_container/src/third_party/coreos-overlay/app-admin/sdnotify-proxy/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
||||
DIST sdnotify-proxy-0f8ef1aa86c59fc6d54eadaffb248feaccd1018b.tar.gz 7698 BLAKE2B 5abaac2c9fca1736bd093534714e1a17d4c49f4ae2f7bf1a0dcbbc07d493d9253714383d20b15f76dd2507babc4baea27201d262dec0df5aff280f60d050c8c2 SHA512 55940b2f528cbff05932164d5f246482ebd4aca24d913a4bcc9bc076ea4c4a8014b51440c593040f3b79cb138e18b8c4a2856929750dc690f36b4b79b4c5fc9c
|
||||
@ -1,4 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">flatcar/sdnotify-proxy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@ -1,29 +1,29 @@
|
||||
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EGIT_REPO_URI="https://github.com/flatcar/sdnotify-proxy.git"
|
||||
EAPI=8
|
||||
|
||||
COREOS_GO_PACKAGE="github.com/flatcar/sdnotify-proxy"
|
||||
COREOS_GO_GO111MODULE="off"
|
||||
inherit coreos-go git-r3
|
||||
inherit coreos-go
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
DESCRIPTION="Hack to allow Docker containers to use sd_notify"
|
||||
HOMEPAGE="https://github.com/flatcar/sdnotify-proxy"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/flatcar/sdnotify-proxy.git"
|
||||
inherit git-r3
|
||||
else
|
||||
EGIT_COMMIT="0f8ef1aa86c59fc6d54eadaffb248feaccd1018b" # main
|
||||
EGIT_VERSION="0f8ef1aa86c59fc6d54eadaffb248feaccd1018b" # main
|
||||
SRC_URI="https://github.com/flatcar/sdnotify-proxy/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${EGIT_VERSION}"
|
||||
KEYWORDS="amd64 arm64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="sdnotify-proxy"
|
||||
HOMEPAGE="https://github.com/flatcar/sdnotify-proxy"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
# Put sdnotify-proxy into its well-know location.
|
||||
exeinto /usr/libexec
|
||||
doexe ${GOBIN}/sdnotify-proxy
|
||||
doexe "${GOBIN}"/sdnotify-proxy
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user