From 4273459bfe4cc665e4935dfb6aef4d3f239e38ed Mon Sep 17 00:00:00 2001 From: Nick Owens Date: Thu, 3 Mar 2016 13:06:51 -0800 Subject: [PATCH] app-emulation/rkt: remove old ebuild --- .../app-emulation/rkt/rkt-0.16.0-r1.ebuild | 135 ------------------ 1 file changed, 135 deletions(-) delete mode 100644 sdk_container/src/third_party/coreos-overlay/app-emulation/rkt/rkt-0.16.0-r1.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/rkt/rkt-0.16.0-r1.ebuild b/sdk_container/src/third_party/coreos-overlay/app-emulation/rkt/rkt-0.16.0-r1.ebuild deleted file mode 100644 index 8cde2cd03a..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/app-emulation/rkt/rkt-0.16.0-r1.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -AUTOTOOLS_AUTORECONF=yes -AUTOTOOLS_IN_SOURCE_BUILD=yes - -inherit autotools-utils flag-o-matic systemd toolchain-funcs -inherit cros-workon - -CROS_WORKON_PROJECT="coreos/rkt" -CROS_WORKON_LOCALNAME="rkt" -CROS_WORKON_REPO="git://github.com" - -if [[ "${PV}" == "9999" ]]; then - KEYWORDS="~amd64" -else - KEYWORDS="amd64" - CROS_WORKON_COMMIT="c742464af051aa7075819278ca8c30f701e2cf9c" # v0.16.0 -fi - -PXE_VERSION="794.1.0" -PXE_SYSTEMD_VERSION="222" -PXE_URI="http://alpha.release.core-os.net/amd64-usr/${PXE_VERSION}/coreos_production_pxe_image.cpio.gz" -PXE_FILE="${PN}-pxe-${PXE_VERSION}.img" - -SRC_URI="rkt_stage1_coreos? ( $PXE_URI -> $PXE_FILE )" - -DESCRIPTION="A CLI for running app containers, and an implementation of the App -Container Spec." -HOMEPAGE="https://github.com/coreos/rkt" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="doc examples +rkt_stage1_coreos +rkt_stage1_fly rkt_stage1_host rkt_stage1_src +actool" -REQUIRED_USE="|| ( rkt_stage1_coreos rkt_stage1_fly rkt_stage1_host rkt_stage1_src )" - -COMMON_DEPEND="sys-apps/acl" -DEPEND="|| ( ~dev-lang/go-1.4.3 >=dev-lang/go-1.5.3 ) - app-arch/cpio - sys-fs/squashfs-tools - dev-perl/Capture-Tiny - rkt_stage1_src? ( - >=sys-apps/systemd-222 - app-shells/bash - ) - ${COMMON_DEPEND}" -RDEPEND="!app-emulation/rocket - actool? ( !app-emulation/actool ) - rkt_stage1_host? ( - ~sys-apps/systemd-222 - app-shells/bash - ) - ${COMMON_DEPEND}" - -BUILDDIR="build-${P}" - -STAGE1INSTALLDIR="/usr/share/rkt/" -STAGE1FIRST="" -STAGE1FLAVORS="" - -function add_stage1() { - if [[ ${STAGE1FIRST} == "" ]]; then - STAGE1FIRST=$1 - STAGE1FLAVORS=$1 - else - STAGE1FLAVORS="${STAGE1FLAVORS},$1" - fi -} - -src_configure() { - local myeconfargs=() - - if use rkt_stage1_coreos; then - add_stage1 "coreos" - myeconfargs+=( --with-coreos-local-pxe-image-path="${DISTDIR}/${PXE_FILE}" ) - myeconfargs+=( --with-coreos-local-pxe-image-systemd-version=v"${PXE_SYSTEMD_VERSION}" ) - fi - if use rkt_stage1_fly; then - add_stage1 "fly" - fi - if use rkt_stage1_host; then - add_stage1 "host" - fi - if use rkt_stage1_src; then - add_stage1 "src" - fi - - myeconfargs+=( --with-stage1-flavors="${STAGE1FLAVORS}" ) - myeconfargs+=( --with-stage1-default-location="/usr/share/rkt/stage1-${STAGE1FIRST}.aci" ) - - # Go's 6l linker does not support PIE, disable so cgo binaries - # which use 6l+gcc for linking can be built correctly. - if gcc-specs-pie; then - append-ldflags -nopie - fi - - export CC=$(tc-getCC) - export CGO_ENABLED=1 - export CGO_CFLAGS="${CFLAGS}" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export BUILDDIR - - autotools-utils_src_configure -} - -src_install() { - dodoc README.md - use doc && dodoc -r Documentation - use examples && dodoc -r examples - use actool && dobin "${S}/${BUILDDIR}/bin/actool" - - dobin "${S}/${BUILDDIR}/bin/rkt" - - einfo The following stage1 ACIs have been installed to ${STAGE1INSTALLDIR}: - insinto ${STAGE1INSTALLDIR} - for stage1aci in "${S}/${BUILDDIR}"/bin/stage1-*.aci; do - doins "${stage1aci}" - einfo $(basename "${stage1aci}") - done - - systemd_dounit "${S}"/dist/init/systemd/${PN}-gc.service - systemd_dounit "${S}"/dist/init/systemd/${PN}-gc.timer - systemd_enable_service multi-user.target ${PN}-gc.timer - systemd_dounit "${S}"/dist/init/systemd/${PN}-metadata.service - systemd_dounit "${S}"/dist/init/systemd/${PN}-metadata.socket - systemd_enable_service sockets.target ${PN}-metadata.socket - - insinto /usr/lib/sysusers.d/ - newins "${FILESDIR}"/sysusers.conf ${PN}.conf -}