updates

merged:

  mate-desktop: 4f6ef046cd8443e152879fc4529ad1e8c1f8b2ca
  fusion809: 44c3d8599410d5a8dcae7e6cd77bb531557e6466
  steam: 2b40991266f16bfa20588861161f47df83cfe800
  chaoslab: be11df7e103adf1b05f63bc7ed4eb04462729789
  go-overlay: e38b18e43d864397a170da46ddc1371877aab272
  stefantalpalaru: 87863d7d120913bec05f91b18e854907cda7e5a9
  gentoo-libressl: d471fcc439ce9bf0e920d69de3680819a4986d89
  gentoo-staging: 8d403bb91d8ba33496f93615706c2bcacb94c51f
  bradlyatc: 6695ea7172c75bdfec7c2b8061aea2c52635f98f
  calculatelinux: 95d74de39cc4230accade58ae7d067c50597d088
  kit-fixups: 21fd9706402902e3d57a43d718caad82bd6673e7
parent fdfc4e0f

Too many changes to show.

To preserve performance only 3000 of 3000+ files are displayed.
......@@ -12,7 +12,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
DEPEND=">=dev-lang/ghc-6.12.1"
......
......@@ -12,7 +12,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
DEPEND=">=dev-lang/ghc-6.12.1"
......
......@@ -12,7 +12,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
DEPEND=">=dev-lang/ghc-6.12.1"
......
......@@ -12,7 +12,7 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="amd64 ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
DEPEND=">=dev-lang/ghc-6.12.1"
......
......@@ -22,7 +22,7 @@ else
SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-solaris"
fi
fi
......
......@@ -21,7 +21,6 @@ RESTRICT="!test? ( test )"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
>=dev-python/fido2-0.7.0[${PYTHON_USEDEP}]
<dev-python/fido2-0.8.0[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
......@@ -34,7 +33,6 @@ DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${RDEPEND}
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2_7')
)
"
......
......@@ -21,7 +21,6 @@ RESTRICT="!test? ( test )"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
>=dev-python/fido2-0.7.0[${PYTHON_USEDEP}]
<dev-python/fido2-0.8.0[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
......@@ -34,7 +33,6 @@ DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${RDEPEND}
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2_7')
)
"
......
......@@ -11,13 +11,13 @@ SRC_DOC="https://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides"
SRC_URI="
${SRC_DOC}/FAQ/BackupVersions/${MY_PV}/fo/BookFAQ.pdf
-> BookFAQ-${PV}.pdf
${SRC_DOC}/ForApplicationDeveloper/BackupVersions/${MY_PV}/fo/BookForAppliDev.pdf
${SRC_DOC}/ForApplicationDeveloper/BackupVersions/${MY_PV}/fo/BookForApplicationDevelopers.pdf
-> BookForApplicationDevelopers-${PV}.pdf
${SRC_DOC}/ForToolkitDeveloper/BackupVersions/${MY_PV}/fo/BookForToolDev.pdf
${SRC_DOC}/ForToolkitDeveloper/BackupVersions/${MY_PV}/fo/BookForToolkitDevelopers.pdf
-> BookForToolkitDevelopers-${PV}.pdf
${SRC_DOC}/InstallationGuide/BackupVersions/${MY_PV}/fo/BookInstalGuide.pdf
${SRC_DOC}/InstallationGuide/BackupVersions/${MY_PV}/fo/Geant4InstallationGuide.pdf
-> Geant4InstallationGuide-${PV}.pdf
${SRC_DOC}/IntroductionToGeant4/BackupVersions/${MY_PV}/fo/BookIntroToGeant4.pdf
${SRC_DOC}/IntroductionToGeant4/BackupVersions/${MY_PV}/fo/IntroductionToGeant4.pdf
-> IntroductionToGeant4-${PV}.pdf
${SRC_DOC}/PhysicsListGuide/BackupVersions/${MY_PV}/fo/PhysicsListGuide.pdf
-> PhysicsListGuide-${PV}.pdf
......
DIST gedit-3.32.2.tar.xz 14789660 BLAKE2B 574a490e3beda9e8b4f8324409f3a1e3361b1fdd097c4bf8d05475be2a6bb66b230ab6d2047caa62c393458c29b6647c32293ce5c1428d030cb2345c19bf41c3 SHA512 a3ed4dea3d0f60fb2371d2b6bbf5f5db1f67c9a71d0d47836456e022903e86b8b127c88ece6a6d817b0c86ff82612c963a9e8ed60f9841af68474a1d129c886d
DIST gedit-3.34.1.tar.xz 14797588 BLAKE2B 8dfaac4660575d67e3f8396dfed675a737fc69bc2b34866ee467a3464a338240133cab8d067db7b87fdc129f06a2450b91f4e0f70a73912d4a274cca980196d6 SHA512 22968c678a2f7ecf062f490d5eedc97aaa53b15932db801ea83eb336f01f41e7a6037a85508a40164f38dee406f8db097b7ef6f1481ab44ea82668766d24966d
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7,8} )
VALA_MIN_API_VERSION="0.26"
VALA_USE_DEPEND="vapigen"
inherit gnome.org gnome2-utils meson python-single-r1 vala xdg
DESCRIPTION="A text editor for the GNOME desktop"
HOMEPAGE="https://wiki.gnome.org/Apps/Gedit"
LICENSE="GPL-2+ CC-BY-SA-3.0"
SLOT="0"
IUSE="+introspection +python gtk-doc spell vala"
REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} ) spell? ( python )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
# X libs are not needed for OSX (aqua)
DEPEND="
>=dev-libs/glib-2.44:2
>=x11-libs/gtk+-3.22.0:3[introspection?]
>=x11-libs/gtksourceview-4.0.2:4[introspection?]
>=dev-libs/libpeas-1.14.1[gtk]
>=dev-libs/libxml2-2.5.0:2
>=net-libs/libsoup-2.60:2.4
x11-libs/libX11
spell? ( >=app-text/gspell-0.2.5:0= )
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
python? (
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
>=dev-python/pygobject-3:3[cairo,${PYTHON_MULTI_USEDEP}]
dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
')
)
"
RDEPEND="${DEPEND}
x11-themes/adwaita-icon-theme
gnome-base/gsettings-desktop-schemas
gnome-base/gvfs
"
BDEPEND="
${vala_depend}
app-text/docbook-xml-dtd:4.1.2
dev-util/glib-utils
gtk-doc? ( >=dev-util/gtk-doc-1 )
dev-util/itstool
>=sys-devel/gettext-0.18
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/3.32.2-make-spell-optional.patch
)
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
use vala && vala_src_prepare
xdg_src_prepare
}
src_configure() {
local emesonargs=(
$(meson_use introspection)
$(meson_use vala vapi)
$(meson_use python plugins)
$(meson_use gtk-doc documentation)
-Denable-gvfs-metadata=yes
$(meson_use spell)
)
meson_src_configure
}
# Only appdata and desktop file validation in v3.32.2
src_test() { :; }
src_install() {
meson_src_install
if use python; then
python_optimize
python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
fi
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}
DIST qhexedit2-0.8.4.tar.gz 340766 BLAKE2B af24031fdd9f8d677f7e8ab8fd69667852dd971db30f5406b9aaaa08bf7f2dc692c87e99c141f355adc82c8226b5b29f53ce07ba63656d866f8688cb2cbc67f2 SHA512 8ed831d75c8ec1897dfd7ef497423908b26b0f56e6577928ed035654e52b437f64edd61cfcc1de6eaf5d1f29f9dc97da84d2edd7f427e3c09c9d75d7bc6504ff
DIST qhexedit2-0.8.4_p20170719.tar.gz 342037 BLAKE2B 667a7c3e93ed3422f21da53b6811fca53b210cfaf2603cf2a61e377e68f295b5024a9fa73d444c1e50af274bdbc6faa62bc2ab4aad176a8b3a6d7540117c5a30 SHA512 3c412b9bbe4f84f6f445b6ad530fc51dc5422a0a5bb6184edc7df92595aa5215c345e2b16effae8de758b299c5f7f7d44cf54dd65a180941c30790194679baa8
DIST qhexedit2-0.8.6_p20190316.tar.gz 355512 BLAKE2B a7edc8d05a7788f3a3f2202762ca3dc436cafbde1b1216ff1bb342055600a2e9d53c27fe324380331b8182904545c698106129238065cd2416d244fdfa176446 SHA512 4ef288c8a220c308d38c41fee83fe962e213cdfa448445ef73c3d2fe1952b68f2096732e78d2aa0a87eddd3cf2f47bed3e77807e12d2b7616c1447b3bf1b0e7d
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7,8} )
DISTUTILS_OPTIONAL=1
inherit distutils-r1 qmake-utils
EGIT_COMMIT="ba5af8616b3a6c916e718914225a483267c01356"
DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings"
HOMEPAGE="https://github.com/lancos/qhexedit2/"
SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc +gui python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
PATCHES=(
"${FILESDIR}/${PN}-0.8.4-setup.py.patch"
)
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
python? (
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
dev-python/sip[${PYTHON_USEDEP}]
${PYTHON_DEPS}
)
"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
src_prepare() {
default
sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \
-e "\$aINSTALLS += target" src/qhexedit.pro \
|| die "src/qhexedit.pro: sed failed"
use python && distutils-r1_src_prepare
}
src_configure() {
eqmake5 src/qhexedit.pro
if use gui; then
cd example || die "can't cd example"
eqmake5 qhexedit.pro
fi
}
src_compile() {
default
use python && distutils-r1_src_compile
use gui && emake -C example
}
python_compile() {
use python && distutils-r1_python_compile build_ext --library-dirs="${S}"
}
src_test() {
cd test || die "can't cd test"
mkdir logs || die "can't create logs dir"
eqmake5 chunks.pro
emake
./chunks || die "test run failed"
grep -q "^NOK" logs/Summary.log && die "test failed"
}
src_install() {
emake INSTALL_ROOT="${D}" install
doheader src/*.h
use python && distutils-r1_src_install
use gui && dobin example/qhexedit
if use doc; then
dodoc -r doc/html
dodoc doc/release.txt
fi
}
......@@ -4,3 +4,4 @@ DIST cri-o-1.15.1.tar.gz 11811389 BLAKE2B 2f6e223e2d3964f480e9739ee4808101ae2ca8
DIST cri-o-1.15.2.tar.gz 11861335 BLAKE2B 159bdf322540c3d49f44b1fc1106d1717706f7817e4621743078dfbb5d9088318d7dda5da54ff94ed43ea58204413d496ffda424ea94ed6fd0c6e090bbba37f0 SHA512 d30a27d98537cd73bf341267922b94434958bf5e5d3a26de3af2b7899fd9d860be12a194531f81fb704abed79eac1c5139271fab1e52b994b939dafab00f1cfd
DIST cri-o-1.16.3.tar.gz 12274620 BLAKE2B e297996184e765a89cc68adbb531eb249ad74804b05d233b4730fe56cb530e2d6d7f44ecf6939730a055acff43b0bdec13fd40583fcf003740e6dacc9770d868 SHA512 cf3d8748696e14a9fe7bb1f4e4ed5532a84367e1de42da89e1c85c33f249525a42000c74445b1f6859099a43d4076c4078efe5990a7e663795121d54d1ee1354
DIST cri-o-1.17.0.tar.gz 10528650 BLAKE2B ba1240e602be576eb74bd9dd0c7b5d0ae3c78172902c74725ce3b85b90c739a79cf260b9ab441bc632eba85951ff1968a946824dd20849bb9ccae268b76e3fec SHA512 08b1ede35d44dd72f7a20ef02e3d27198d349d05b3fd41fc319bfba44dafdaf1843c1a6b04cd4d07ad80b5d2022376a8173b7459658a3c22011970561a1af308
DIST cri-o-1.17.1.tar.gz 10532728 BLAKE2B 12747b0161ca2fa7dc7e95fd4c000b9011402e65dac0885ed59a37a87b53907044d3b3c873d6fe82186313af6745e463ce84be259dae99793c6363794c76e16f SHA512 1548c4b20081e8f1af772b0b0fadd0f1b63af641283bef8b8cd8478bd626699c23b30b39fe460660776bc7e6509e85db73d1d7e0d030dd7bd3dbfe319c82e332
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_COMMIT=ee2de87bd8e2a7a84799476cb4fc4ce8a78fdf6d
inherit go-module
DESCRIPTION="OCI-based implementation of Kubernetes Container Runtime Interface"
HOMEPAGE="https://cri-o.io/"
SRC_URI="https://github.com/cri-o/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="btrfs +device-mapper selinux systemd"
COMMON_DEPEND="
app-crypt/gpgme:=
app-emulation/conmon
app-emulation/runc
dev-libs/glib:=
dev-libs/libassuan:=
dev-libs/libgpg-error:=
net-firewall/conntrack-tools
net-firewall/iptables
net-misc/cni-plugins
net-misc/socat
sys-apps/iproute2
sys-libs/libseccomp:=
btrfs? ( sys-fs/btrfs-progs )
device-mapper? ( sys-fs/lvm2:= )
selinux? ( sys-libs/libselinux:= )
systemd? ( sys-apps/systemd:= )"
DEPEND="
${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
!<app-emulation/libpod-1.3.2-r1"
src_prepare() {
default
sed -e '/^GIT_.*/d' \
-e '/ git diff --exit-code/d' \
-e 's/$(GO) build -i/$(GO) build -v -work -x/' \
-e 's/\${GIT_COMMIT}/'${EGIT_COMMIT}'/' \
-e "s|^GIT_COMMIT := .*|GIT_COMMIT := ${EGIT_COMMIT}|" \
-e "s|^COMMIT_NO := .*|COMMIT_NO := ${EGIT_COMMIT}|" \
-i Makefile || die
echo ".NOTPARALLEL: binaries docs" >> Makefile || die
sed -e 's:/usr/local/bin:/usr/bin:' \
-i contrib/systemd/* || die
}
src_compile() {
[[ -f hack/btrfs_installed_tag.sh ]] || die
use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
hack/btrfs_installed_tag.sh || die; }
[[ -f hack/libdm_installed.sh ]] || die
use device-mapper || { echo -e "#!/bin/sh\necho exclude_graphdriver_devicemapper" > \
hack/libdm_installed.sh || die; }
[[ -f hack/selinux_tag.sh ]] || die
use selinux || { echo -e "#!/bin/sh\ntrue" > \
hack/selinux_tag.sh || die; }
mkdir -p bin || die
GOBIN="${S}/bin" \
emake all
}
src_install() {
emake DESTDIR="${D}" PREFIX="${D}${EPREFIX}/usr" install install.config install.systemd
keepdir /etc/crio
mv "${ED}/etc/crio/crio.conf"{,.example} || die
newinitd "${FILESDIR}/crio.initd" crio
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
# Suppress crio log error messages triggered if these don't exist.
keepdir /etc/containers/oci/hooks.d
keepdir /usr/share/containers/oci/hooks.d
# Suppress crio "Missing CNI default network" log message.
keepdir /etc/cni/net.d
insinto /etc/cni/net.d
doins contrib/cni/99-loopback.conf
}
This diff is collapsed.
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
......@@ -121,7 +121,7 @@ SRC_URI="https://github.com/firecracker-microvm/firecracker/archive/v${PV}.tar.g
LICENSE="|| ( Apache-2.0 MIT Apache-2.0-with-LLVM-exceptions ) MPL-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="test"
......@@ -129,7 +129,7 @@ BDEPEND="acct-group/kvm"
set_target_arch() {
case "$(tc-arch)" in
amd64) target_arch=x86_64 ;;
arm64) target_arch=aarch64 ;;
x86) target_arch=i686 ;;
esac
}
......
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
......@@ -121,7 +121,7 @@ SRC_URI="https://github.com/firecracker-microvm/firecracker/archive/v${PV}.tar.g
LICENSE="|| ( Apache-2.0 MIT Apache-2.0-with-LLVM-exceptions ) MPL-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="test"
......@@ -130,7 +130,7 @@ BDEPEND="acct-group/kvm"
set_target_arch() {
case "$(tc-arch)" in
amd64) target_arch=x86_64 ;;
x86) target_arch=i686 ;;
arm64) target_arch=aarch64 ;;
esac
}
......
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
......@@ -117,7 +117,7 @@ SRC_URI="https://github.com/firecracker-microvm/firecracker/archive/v${PV}.tar.g
LICENSE="|| ( Apache-2.0 MIT Apache-2.0-with-LLVM-exceptions ) MPL-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="test"
......@@ -126,7 +126,7 @@ BDEPEND="acct-group/kvm"
set_target_arch() {
case "$(tc-arch)" in
amd64) target_arch=x86_64 ;;
x86) target_arch=i686 ;;
arm64) target_arch=aarch64 ;;
esac
}
......
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
......@@ -117,7 +117,7 @@ SRC_URI="https://github.com/firecracker-microvm/firecracker/archive/v${PV}.tar.g
LICENSE="|| ( Apache-2.0 MIT Apache-2.0-with-LLVM-exceptions ) MPL-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="test"
......@@ -126,7 +126,7 @@ BDEPEND="acct-group/kvm"
set_target_arch() {
case "$(tc-arch)" in
amd64) target_arch=x86_64 ;;
x86) target_arch=i686 ;;
arm64) target_arch=aarch64 ;;
esac
}
......
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CRATES="
aho-corasick-0.7.8
backtrace-0.3.44
backtrace-sys-0.1.32
bitflags-1.2.1
cc-1.0.50
cfg-if-0.1.10
cpuid-0.1.0
device_tree-1.1.0
epoll-4.1.0
itoa-0.4.5
kernel-0.1.0
kvm-bindings-0.2.0
kvm-ioctls-0.5.0
lazy_static-1.4.0
libc-0.2.66
log-0.4.8
logger-0.1.0
memchr-2.3.2
proc-macro2-1.0.8
quote-1.0.2
regex-1.3.4
regex-syntax-0.6.14
rustc-demangle-0.1.16
ryu-1.0.2
seccomp-0.1.0
serde-1.0.104
serde_derive-1.0.104
serde_json-1.0.48
syn-1.0.14
thread_local-1.0.1
timerfd-1.1.1
unicode-xid-0.2.0
vm-memory-0.1.0
vmm-sys-util-0.4.0
"
inherit cargo linux-info toolchain-funcs
DESCRIPTION="Secure and fast microVMs for serverless computing"
HOMEPAGE="https://firecracker-microvm.github.io https://github.com/firecracker-microvm/firecracker"
SRC_URI="https://github.com/firecracker-microvm/firecracker/archive/v${PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris ${CRATES})"
LICENSE="|| ( Apache-2.0 MIT Apache-2.0-with-LLVM-exceptions ) MPL-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RESTRICT="test"
BDEPEND="acct-group/kvm"
set_target_arch() {
case "$(tc-arch)" in
amd64) target_arch=x86_64 ;;
arm64) target_arch=aarch64 ;;
esac
}
pkg_setup() {
if ! linux_config_exists; then
eerror "Unable to check your kernel for KVM support"
else
CONFIG_CHECK+=" ~KVM_AMD" || \
CONFIG_CHECK+=" ~KVM_INTEL"
ERROR_KVM="${P} requires KVM in-kernel support."
fi
}
src_compile() {
local target_arch
set_target_arch
cargo_src_compile --target ${target_arch}-unknown-linux-gnu
}