diff options
author | Joonas Niilola <juippis@gentoo.org> | 2021-10-22 08:35:18 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-10-22 11:39:11 +0300 |
commit | 52e2abd35394895fae3c8b1247bf87eb78d829d7 (patch) | |
tree | c9301dd8cf65a8fe1c3ee3412fbdfb6626f6f73d /sys-fs | |
parent | media-sound/mpg123: bump to 1.29.1 (diff) | |
download | gentoo-52e2abd35394895fae3c8b1247bf87eb78d829d7.tar.gz gentoo-52e2abd35394895fae3c8b1247bf87eb78d829d7.tar.bz2 gentoo-52e2abd35394895fae3c8b1247bf87eb78d829d7.zip |
sys-fs/lxcfs: add 4.0.11
- update LICENSE.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/lxcfs/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/lxcfs/lxcfs-4.0.11.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest index 67d5e6555ed8..9432a6d04990 100644 --- a/sys-fs/lxcfs/Manifest +++ b/sys-fs/lxcfs/Manifest @@ -1,2 +1,4 @@ +DIST lxcfs-4.0.11.tar.gz 451424 BLAKE2B 8cb1f16ec8f2f5dbcaea9897553c21f2894ce75713c4de7fd9412254ef4e74cef93fbd9c79e259e0caf2426520d9454858bc0f09b652b00305699d52b4240cbf SHA512 60a76b8d3ab8a164ead8424cf2a20cdb616919318881348016299d2b5bff9d221c12b9208b46e6f72a84695632a762292313e0b51579d590ce505cf5b6fec6de +DIST lxcfs-4.0.11.tar.gz.asc 833 BLAKE2B f70bcf119588c1e667111fe0e820c1bbd53c912027a94b600ce69713eb824f0b495cee4ab0107cf92bd5f10c0a17e9e5e85833f15f7ff570931c9df454f16bf9 SHA512 a9190c5913d0879c0034b1ff1f06b7755f8b78094270d64c89a371b56737e32c2a14681a58643e8ebde9d654ff2c66959ee9a4f6d5f6a6002f52da1362017d9f DIST lxcfs-4.0.9.tar.gz 453383 BLAKE2B 06694218d45d93baa9041aeae39e52d827ca1b53d616284d0ee04ddfe98436a15b3cf900c7b58f14e506a0726f30679b0a04e6b5047087201ad2a9c35f0cc09e SHA512 c8d02cefb42dee82ea9467631e8e59243a6cb06d4ea53f0ce8da0a9bbc9018480bb0f12723091da672446a75ba200cca044b84c2f13388009dde9e5ad0ca3ebe DIST lxcfs-4.0.9.tar.gz.asc 833 BLAKE2B fa71f7a6a7a35fbc7613ec2d7549197fe0d33c9584aea86fe3db959848eeb1b0e69a75ca2d596578f3c7f3a9deca5cec1badce428b4aa52e6f112cf3fe544b3b SHA512 fd9feac31469db7785c8b486ddc4f5c0431ab2aa52aed715e853fcab322e8c6ee755aa87d9bdee7a969a8030be1956863662f8b2db09bfe4b8ba69ef8f2fbb3e diff --git a/sys-fs/lxcfs/lxcfs-4.0.11.ebuild b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild new file mode 100644 index 000000000000..b351821cc749 --- /dev/null +++ b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools systemd verify-sig + +DESCRIPTION="FUSE filesystem for LXC" +HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ https://github.com/lxc/lxcfs/" +SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz + verify-sig? ( https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )" + +LICENSE="Apache-2.0 LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND="sys-fs/fuse:3" +DEPEND="${RDEPEND}" +BDEPEND="sys-apps/help2man + verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )" + +# Looks like these won't ever work in a container/chroot environment. #764620 +RESTRICT="test" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # Without the localstatedir the filesystem isn't mounted correctly + # Without with-distro ./configure will fail when cross-compiling + econf --localstatedir=/var --with-distro=gentoo --disable-static +} + +src_test() { + cd tests/ || die + emake -j1 tests + ./main.sh || die "Tests failed" +} + +src_install() { + default + + newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs + newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs + + # Provide our own service file (copy of upstream) due to paths being different from upstream, + # #728470 + systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service + + find "${ED}" -name '*.la' -delete || die +} |