mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
sys-fs/lxcfs: remove old 4.0.3
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST lxcfs-4.0.3.tar.gz 100719 BLAKE2B 24371b921ad635f97c51ac8406c949e81330ae358b0166c2af295cb1f630594bb72da802aad41971c11303f393fd05bc9f1b109bd4da4953db2c3bb7e5189315 SHA512 0aaedfe826d982b9464dfb60fb57c58e34ea6022b8503bc858538b6634dc7d0845f65832d6f814043dbc0677f887e1b559549a8f3865c755970c6b47ba65eb2b
|
||||
DIST lxcfs-4.0.5.tar.gz 101842 BLAKE2B c916473e1b7ad42b8f69026a16810941c999d44ffcf1d456cb301411965f05e626338a5bde1e38fe99acd05f72bbcd5acbdcb2f65fa5ec183c967babcb8c70fd SHA512 5c44aa7f43071a4316cc8702928fde2c928bd5654c9ab4d540152839db0d7dd235a861f263da56f02611941d46d22eee98e0cdd52aeaeda99f3c79c754d420a1
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
[Unit]
|
||||
Description=FUSE filesystem for LXC
|
||||
ConditionVirtualization=!container
|
||||
Before=lxc.service
|
||||
Documentation=man:lxcfs(1)
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/lxcfs /var/lib/lxcfs
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs
|
||||
Delegate=yes
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools systemd
|
||||
|
||||
DESCRIPTION="FUSE filesystem for LXC"
|
||||
HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ https://github.com/lxc/lxcfs/"
|
||||
SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
# Omit all dbus. Upstream appears to require it because systemd, but
|
||||
# lxcfs makes no direct use of dbus.
|
||||
# acct-group/lxd needed for the fowners below.
|
||||
RDEPEND="dev-libs/glib:2
|
||||
sys-fs/fuse:0"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-apps/help2man"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake tests
|
||||
tests/main.sh || die "Tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Getting weird file collisions,
|
||||
# keepdir /var/lib/lxcfs
|
||||
# fowners -R root:lxd /var/lib/lxcfs
|
||||
|
||||
newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
|
||||
newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
|
||||
systemd_dounit config/init/systemd/lxcfs.service
|
||||
}
|
||||
Reference in New Issue
Block a user