Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/
Date: Thu, 03 Sep 2020 10:09:00
Message-Id: 1599127698.47894e450fdd674572d7aa14f948b3cd7b8c6bf9.juippis@gentoo
1 commit: 47894e450fdd674572d7aa14f948b3cd7b8c6bf9
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 3 10:05:37 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 3 10:08:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47894e45
7
8 sys-fs/lxcfs: remove old 4.0.3
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 sys-fs/lxcfs/Manifest | 1 -
13 sys-fs/lxcfs/files/lxcfs.service | 16 ------------
14 sys-fs/lxcfs/lxcfs-4.0.3.ebuild | 54 ----------------------------------------
15 3 files changed, 71 deletions(-)
16
17 diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
18 index 2f478b27028..344a876047c 100644
19 --- a/sys-fs/lxcfs/Manifest
20 +++ b/sys-fs/lxcfs/Manifest
21 @@ -1,2 +1 @@
22 -DIST lxcfs-4.0.3.tar.gz 100719 BLAKE2B 24371b921ad635f97c51ac8406c949e81330ae358b0166c2af295cb1f630594bb72da802aad41971c11303f393fd05bc9f1b109bd4da4953db2c3bb7e5189315 SHA512 0aaedfe826d982b9464dfb60fb57c58e34ea6022b8503bc858538b6634dc7d0845f65832d6f814043dbc0677f887e1b559549a8f3865c755970c6b47ba65eb2b
23 DIST lxcfs-4.0.5.tar.gz 101842 BLAKE2B c916473e1b7ad42b8f69026a16810941c999d44ffcf1d456cb301411965f05e626338a5bde1e38fe99acd05f72bbcd5acbdcb2f65fa5ec183c967babcb8c70fd SHA512 5c44aa7f43071a4316cc8702928fde2c928bd5654c9ab4d540152839db0d7dd235a861f263da56f02611941d46d22eee98e0cdd52aeaeda99f3c79c754d420a1
24
25 diff --git a/sys-fs/lxcfs/files/lxcfs.service b/sys-fs/lxcfs/files/lxcfs.service
26 deleted file mode 100644
27 index aea0d6d920f..00000000000
28 --- a/sys-fs/lxcfs/files/lxcfs.service
29 +++ /dev/null
30 @@ -1,16 +0,0 @@
31 -[Unit]
32 -Description=FUSE filesystem for LXC
33 -ConditionVirtualization=!container
34 -Before=lxc.service
35 -Documentation=man:lxcfs(1)
36 -
37 -[Service]
38 -ExecStart=/usr/bin/lxcfs /var/lib/lxcfs
39 -KillMode=process
40 -Restart=on-failure
41 -ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs
42 -Delegate=yes
43 -ExecReload=/bin/kill -USR1 $MAINPID
44 -
45 -[Install]
46 -WantedBy=multi-user.target
47
48 diff --git a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
49 deleted file mode 100644
50 index de32fe294cb..00000000000
51 --- a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
52 +++ /dev/null
53 @@ -1,54 +0,0 @@
54 -# Copyright 1999-2020 Gentoo Authors
55 -# Distributed under the terms of the GNU General Public License v2
56 -
57 -EAPI=7
58 -
59 -inherit autotools systemd
60 -
61 -DESCRIPTION="FUSE filesystem for LXC"
62 -HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ https://github.com/lxc/lxcfs/"
63 -SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz"
64 -
65 -LICENSE="Apache-2.0"
66 -SLOT="0"
67 -KEYWORDS="amd64"
68 -
69 -# Omit all dbus. Upstream appears to require it because systemd, but
70 -# lxcfs makes no direct use of dbus.
71 -# acct-group/lxd needed for the fowners below.
72 -RDEPEND="dev-libs/glib:2
73 - sys-fs/fuse:0"
74 -DEPEND="${RDEPEND}"
75 -BDEPEND="sys-apps/help2man"
76 -
77 -RESTRICT="test"
78 -
79 -S="${WORKDIR}/${PN}-${P}"
80 -
81 -src_prepare() {
82 - default
83 - eautoreconf
84 -}
85 -
86 -src_configure() {
87 - # Without the localstatedir the filesystem isn't mounted correctly
88 - # Without with-distro ./configure will fail when cross-compiling
89 - econf --localstatedir=/var --with-distro=gentoo
90 -}
91 -
92 -src_test() {
93 - emake tests
94 - tests/main.sh || die "Tests failed"
95 -}
96 -
97 -src_install() {
98 - default
99 -
100 - # Getting weird file collisions,
101 - # keepdir /var/lib/lxcfs
102 - # fowners -R root:lxd /var/lib/lxcfs
103 -
104 - newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
105 - newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
106 - systemd_dounit config/init/systemd/lxcfs.service
107 -}