app-emulation/actool,acbuild: Remove actool and acbuild

Both actool and acbuild upstream are deprecated and probably not in
use anymore.
Remove actool from the image and acbuild from the SDK.
This commit is contained in:
Kai Lueke 2024-04-02 13:23:18 +09:00 committed by Kai Lüke
parent 98723a1ee9
commit 6d01140927
8 changed files with 1 additions and 91 deletions

View File

@ -0,0 +1 @@
- Removed `actool` from the image and `acbuild` from the SDK as these tools are deprecated and not used ([scripts#1817](https://github.com/flatcar/scripts/pull/1817))

View File

@ -1,49 +0,0 @@
# Copyright (c) 2015 CoreOS, Inc.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_WORKON_PROJECT="appc/acbuild"
CROS_WORKON_REPO="https://github.com"
CROS_WORKON_LOCALNAME="appc-acbuild"
COREOS_GO_PACKAGE="github.com/appc/acbuild"
COREOS_GO_GO111MODULE="off"
inherit coreos-go toolchain-funcs cros-workon
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm64"
else
CROS_WORKON_COMMIT="2d120a832bd4c3601ca307bf7dd1612a12b55d29" # v0.4.0
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="A build tool for ACIs"
HOMEPAGE="https://github.com/appc/acbuild"
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RDEPEND="sys-apps/kmod
app-crypt/gnupg
sys-apps/systemd"
src_compile(){
if [[ "${PV}" == 9999 ]]; then
# set semver
local v
v=$(git describe --long --dirty) || die
v=${v#v}
v=${v/-/+}
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/lib.Version=${v}"
else
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/lib.Version=${PV}"
fi
go_build "${COREOS_GO_PACKAGE}/acbuild"
}
src_install(){
dobin "${WORKDIR}/gopath/bin/acbuild"
}

View File

@ -1,33 +0,0 @@
# Copyright (c) 2015 CoreOS, Inc.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_WORKON_PROJECT="appc/spec"
CROS_WORKON_REPO="https://github.com"
CROS_WORKON_LOCALNAME="appc-spec"
COREOS_GO_PACKAGE="github.com/appc/spec"
COREOS_GO_GO111MODULE="off"
inherit coreos-go cros-workon
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm64"
else
CROS_WORKON_COMMIT="cbe99b7160b1397bf89f9c8bb1418f69c9424049" # v0.8.11
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="App Container builder and validator"
HOMEPAGE="https://github.com/appc/spec"
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
src_compile() {
go_build "${COREOS_GO_PACKAGE}/actool"
}
src_install() {
dobin "${WORKDIR}/gopath/bin/actool"
}

View File

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>

View File

@ -106,7 +106,6 @@ RDEPEND="${RDEPEND}
app-crypt/go-tspi
app-crypt/tpmpolicy
app-editors/vim
app-emulation/actool
app-containers/cri-tools
app-misc/ca-certificates
app-misc/jq

View File

@ -19,8 +19,6 @@ DEPEND="
app-arch/pbzip2
app-crypt/efitools
app-crypt/sbsigntools
app-emulation/acbuild
app-emulation/actool
app-emulation/open-vmdk
app-eselect/eselect-python
app-misc/jq