1 |
commit: 0f7513a1e115aa3c41dbe4bcc6fa82d647c96e77 |
2 |
Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 2 04:04:35 2019 +0000 |
4 |
Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 2 04:04:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f7513a1 |
7 |
|
8 |
sys-fs/lxcfs: Remove old |
9 |
|
10 |
Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
|
13 |
sys-fs/lxcfs/Manifest | 1 - |
14 |
sys-fs/lxcfs/lxcfs-3.0.2.ebuild | 72 ----------------------------------------- |
15 |
2 files changed, 73 deletions(-) |
16 |
|
17 |
diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest |
18 |
index 44224535405..19f83ee280e 100644 |
19 |
--- a/sys-fs/lxcfs/Manifest |
20 |
+++ b/sys-fs/lxcfs/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST lxcfs-3.0.2.tar.gz 49809 BLAKE2B dc73149b92ac040c56de5f4c11aafdf6e744ffd2b17e22ee9c784663ff102dedd74453581a77027037955238e081c596377c28b6066012fa32ee575e6a4c57fa SHA512 2065bbd68fd2974fe28c861b1e77c62a501da85e1bfc19eeafa49fd88c66e8e75ae007781c8bd05caf43fb3b80ad12c81c0f0f03d27ab1131e0cfe6d48443218 |
23 |
DIST lxcfs-3.0.3.tar.gz 49824 BLAKE2B 02e3a0a6f4fd515924c5f038f00d664ef347c9b685e6561334b460e0ce0ce5580aca67f33df56b44b9cdafa4953f4f92843662f3516e1c923f9242388b17dbc6 SHA512 d994e1dd85f499eba2847d33870281a4bcaf4466e2c8f7acb065f4f3d5688b93b775c486bc6db571e64d09a3567710b0c816e12555ffb3e3e50f81bc7f5f6be6 |
24 |
|
25 |
diff --git a/sys-fs/lxcfs/lxcfs-3.0.2.ebuild b/sys-fs/lxcfs/lxcfs-3.0.2.ebuild |
26 |
deleted file mode 100644 |
27 |
index f9c354a881a..00000000000 |
28 |
--- a/sys-fs/lxcfs/lxcfs-3.0.2.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,72 +0,0 @@ |
31 |
-# Copyright 1999-2019 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-inherit systemd vcs-snapshot |
37 |
-DESCRIPTION="FUSE filesystem for LXC" |
38 |
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/" |
39 |
-LICENSE="Apache-2.0" |
40 |
-SLOT="0" |
41 |
- |
42 |
-if [[ ${PV} == "9999" ]] ; then |
43 |
- EGIT_REPO_URI="https://github.com/lxc/lxcfs.git" |
44 |
- EGIT_BRANCH="master" |
45 |
- inherit git-r3 |
46 |
- SRC_URI="" |
47 |
- KEYWORDS="" |
48 |
-else |
49 |
- SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz" |
50 |
- KEYWORDS="amd64" |
51 |
-fi |
52 |
- |
53 |
-# Omit all dbus. Upstream appears to require it because systemd, but |
54 |
-# lxcfs makes no direct use of dbus. |
55 |
-RDEPEND=" |
56 |
- dev-libs/glib:2 |
57 |
- sys-fs/fuse:0 |
58 |
-" |
59 |
-DEPEND=" |
60 |
- sys-apps/help2man |
61 |
- ${RDEPEND} |
62 |
-" |
63 |
-PATCHES="${FILESDIR}/${PN}-fusermount-path.patch" |
64 |
- |
65 |
-src_prepare() { |
66 |
- default |
67 |
- ./bootstrap.sh || die "Failed to bootstrap configure files" |
68 |
-} |
69 |
- |
70 |
-src_configure() { |
71 |
- # Without the localstatedir the filesystem isn't mounted correctly |
72 |
- econf --localstatedir=/var |
73 |
-} |
74 |
- |
75 |
-# Test suite fails for me |
76 |
-# src_test() { |
77 |
-# emake tests |
78 |
-# tests/main.sh || die "Tests failed" |
79 |
-# } |
80 |
- |
81 |
-src_install() { |
82 |
- default |
83 |
- keepdir /var/lib/lxcfs |
84 |
- newinitd "${FILESDIR}"/${PN}.initd lxcfs |
85 |
- systemd_dounit config/init/systemd/lxcfs.service |
86 |
-} |
87 |
- |
88 |
-pkg_preinst() { |
89 |
- # In an upgrade situation merging /var/lib/lxcfs (an empty dir) |
90 |
- # fails because that is a live mountpoint when the service is |
91 |
- # running. It's unnecessary anyway so skip the action. |
92 |
- [[ -d ${ROOT}/var/lib/lxcfs ]] && rm -rf ${D}/var |
93 |
-} |
94 |
- |
95 |
-pkg_postinst() { |
96 |
- einfo |
97 |
- einfo "Starting with version 3.0.0 the cgfs PAM module has moved, and" |
98 |
- einfo "will eventually be available in app-emulation/lxc. See:" |
99 |
- einfo "https://brauner.github.io/2018/02/28/lxc-includes-cgroup-pam-module.html" |
100 |
- einfo "for more information." |
101 |
- einfo |
102 |
-} |