Gentoo Archives: gentoo-commits

From: Erik Mackdanz <stasibear@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/
Date: Sat, 13 Oct 2018 22:41:00
Message-Id: 1539470431.f92a7ea8a9957b94887bd608f1cc40a03295e691.stasibear@gentoo
1 commit: f92a7ea8a9957b94887bd608f1cc40a03295e691
2 Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 13 22:40:31 2018 +0000
4 Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 13 22:40:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f92a7ea8
7
8 sys-fs/lxcfs: Remove old versions
9
10 Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 sys-fs/lxcfs/Manifest | 2 -
14 .../lxcfs/files/lxcfs-2.0.4-fusermount-path.patch | 11 ----
15 sys-fs/lxcfs/files/lxcfs-2.0.4.initd | 26 --------
16 .../lxcfs/files/lxcfs-2.0.6-fusermount-path.patch | 11 ----
17 sys-fs/lxcfs/files/lxcfs-2.0.6.initd | 26 --------
18 sys-fs/lxcfs/lxcfs-2.0.4.ebuild | 70 ----------------------
19 sys-fs/lxcfs/lxcfs-2.0.6.ebuild | 70 ----------------------
20 7 files changed, 216 deletions(-)
21
22 diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
23 index cc84b00c2c3..8b3d028d5c3 100644
24 --- a/sys-fs/lxcfs/Manifest
25 +++ b/sys-fs/lxcfs/Manifest
26 @@ -1,4 +1,2 @@
27 -DIST lxcfs-2.0.4.tar.gz 52639 BLAKE2B 4ef8509b05ac98338003801afeb67a15fcfd1270f90e7b5d1970c4171b9296b77e116f91ec29ec29f3feb0e03c5f2ddf49d014824869aa6cf9897441ebac17a3 SHA512 1c701fbd60799a1f7ad7e809c2e52ef0d26ed44e96c2c0376d3c4eb203aafb99ddcaff015f3fa8cc9c1219449210f6bf93844cc568de3a9f55cb8801328cec90
28 -DIST lxcfs-2.0.6.tar.gz 62632 BLAKE2B 2bc76de0a7e2657b0d73e79260bfaf5a1ba070a4571d81a7c26d3637fc93937c824496119ff32fbfa56b6f97deca4bb145a952862aff148932531c489eea57a9 SHA512 52baf15eb9dc2b694085635f7d8e5c6f1207099173cda607d758b8837a720e4808cacbf83f900a6734d3260d34abafbebdcbb0618cb3cf67c5d304f50d66244d
29 DIST lxcfs-3.0.0.tar.gz 49219 BLAKE2B c21cd9983e9175bf3a31bafd8a29ddd6a6a549226bd432636dd4ea48bf6268c403f236ca39739a989cd89fa7b0b05043c179ca328fd739f5a9d56e27907a7a60 SHA512 99fe11e99c2e487d6ecd9a8484be6413563ddcb33740631ee6fe1b60d3d2d62cea1bb44d1ef6dc45283f5b3d20cd680d48ea3cb5ad17f0c3e7ba6ed56186c42f
30 DIST lxcfs-3.0.2.tar.gz 49809 BLAKE2B dc73149b92ac040c56de5f4c11aafdf6e744ffd2b17e22ee9c784663ff102dedd74453581a77027037955238e081c596377c28b6066012fa32ee575e6a4c57fa SHA512 2065bbd68fd2974fe28c861b1e77c62a501da85e1bfc19eeafa49fd88c66e8e75ae007781c8bd05caf43fb3b80ad12c81c0f0f03d27ab1131e0cfe6d48443218
31
32 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.4-fusermount-path.patch b/sys-fs/lxcfs/files/lxcfs-2.0.4-fusermount-path.patch
33 deleted file mode 100644
34 index 61d3494fb7f..00000000000
35 --- a/sys-fs/lxcfs/files/lxcfs-2.0.4-fusermount-path.patch
36 +++ /dev/null
37 @@ -1,11 +0,0 @@
38 ---- /config/init/systemd/lxcfs.service.orig 2016-07-11 01:18:57.688074437 +0000
39 -+++ /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +0000
40 -@@ -7,7 +7,7 @@
41 - ExecStart=/usr/bin/lxcfs /var/lib/lxcfs/
42 - KillMode=process
43 - Restart=on-failure
44 --ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs
45 -+ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs
46 - Delegate=yes
47 -
48 - [Install]
49
50 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.4.initd b/sys-fs/lxcfs/files/lxcfs-2.0.4.initd
51 deleted file mode 100644
52 index dd556894b7f..00000000000
53 --- a/sys-fs/lxcfs/files/lxcfs-2.0.4.initd
54 +++ /dev/null
55 @@ -1,26 +0,0 @@
56 -#!/sbin/openrc-run
57 -# Copyright 1999-2016 Gentoo Foundation
58 -# Distributed under the terms of the GNU General Public License v2
59 -
60 -DAEMON=/usr/bin/lxcfs
61 -PIDFILE=/run/lxcfs.pid
62 -
63 -start() {
64 - ebegin "Starting lxcfs"
65 -
66 - start-stop-daemon --start \
67 - --pidfile ${PIDFILE} \
68 - --exec ${DAEMON} \
69 - --background \
70 - --make-pidfile \
71 - -- \
72 - -f -o allow_other /var/lib/lxcfs
73 -
74 - eend $?
75 -}
76 -
77 -stop() {
78 - ebegin "Stopping lxcfs"
79 - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
80 - eend $?
81 -}
82
83 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.6-fusermount-path.patch b/sys-fs/lxcfs/files/lxcfs-2.0.6-fusermount-path.patch
84 deleted file mode 100644
85 index 61d3494fb7f..00000000000
86 --- a/sys-fs/lxcfs/files/lxcfs-2.0.6-fusermount-path.patch
87 +++ /dev/null
88 @@ -1,11 +0,0 @@
89 ---- /config/init/systemd/lxcfs.service.orig 2016-07-11 01:18:57.688074437 +0000
90 -+++ /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +0000
91 -@@ -7,7 +7,7 @@
92 - ExecStart=/usr/bin/lxcfs /var/lib/lxcfs/
93 - KillMode=process
94 - Restart=on-failure
95 --ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs
96 -+ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs
97 - Delegate=yes
98 -
99 - [Install]
100
101 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.6.initd b/sys-fs/lxcfs/files/lxcfs-2.0.6.initd
102 deleted file mode 100644
103 index dfc5725f693..00000000000
104 --- a/sys-fs/lxcfs/files/lxcfs-2.0.6.initd
105 +++ /dev/null
106 @@ -1,26 +0,0 @@
107 -#!/sbin/openrc-run
108 -# Copyright 1999-2017 Gentoo Foundation
109 -# Distributed under the terms of the GNU General Public License v2
110 -
111 -DAEMON=/usr/bin/lxcfs
112 -PIDFILE=/run/lxcfs.pid
113 -
114 -start() {
115 - ebegin "Starting lxcfs"
116 -
117 - start-stop-daemon --start \
118 - --pidfile ${PIDFILE} \
119 - --exec ${DAEMON} \
120 - --background \
121 - --make-pidfile \
122 - -- \
123 - -f -o allow_other /var/lib/lxcfs
124 -
125 - eend $?
126 -}
127 -
128 -stop() {
129 - ebegin "Stopping lxcfs"
130 - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
131 - eend $?
132 -}
133
134 diff --git a/sys-fs/lxcfs/lxcfs-2.0.4.ebuild b/sys-fs/lxcfs/lxcfs-2.0.4.ebuild
135 deleted file mode 100644
136 index 82ea9915b32..00000000000
137 --- a/sys-fs/lxcfs/lxcfs-2.0.4.ebuild
138 +++ /dev/null
139 @@ -1,70 +0,0 @@
140 -# Copyright 1999-2016 Gentoo Foundation
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=6
144 -
145 -inherit systemd vcs-snapshot versionator
146 -DESCRIPTION="FUSE filesystem for LXC"
147 -HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
148 -LICENSE="Apache-2.0"
149 -SLOT="0"
150 -
151 -if [[ ${PV} == "9999" ]] ; then
152 - EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
153 - EGIT_BRANCH="master"
154 - inherit git-r3
155 - SRC_URI=""
156 - KEYWORDS=""
157 -else
158 - # e.g. upstream is 2.0.0.beta2, we want 2.0.0_beta2
159 - UPSTREAM_PV=$(replace_version_separator 3 '.' )
160 - SRC_URI="https://github.com/lxc/lxcfs/archive/${PN}-${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
161 - KEYWORDS="~amd64"
162 -fi
163 -
164 -IUSE="pam"
165 -
166 -# Omit all dbus. Upstream appears to require it because systemd, but
167 -# lxcfs makes no direct use of dbus.
168 -RDEPEND="
169 - dev-libs/glib:2
170 - sys-fs/fuse
171 - virtual/pam
172 -"
173 -DEPEND="
174 - sys-apps/help2man
175 - ${RDEPEND}
176 -"
177 -PATCHES="${FILESDIR}/${P}-fusermount-path.patch"
178 -
179 -src_prepare() {
180 - default
181 - ./bootstrap.sh || die "Failed to bootstrap configure files"
182 -}
183 -
184 -src_configure() {
185 - use pam || pamflag="--with-pamdir=none"
186 -
187 - # Without the localstatedir the filesystem isn't mounted correctly
188 - econf --localstatedir=/var ${pamflag}
189 -}
190 -
191 -# Test suite fails for me
192 -# src_test() {
193 -# emake tests
194 -# tests/main.sh || die "Tests failed"
195 -# }
196 -
197 -src_install() {
198 - default
199 - dodir /var/lib/lxcfs
200 - newinitd "${FILESDIR}"/${P}.initd lxcfs
201 - systemd_dounit config/init/systemd/lxcfs.service
202 -}
203 -
204 -pkg_preinst() {
205 - # In an upgrade situation merging /var/lib/lxcfs (an empty dir)
206 - # fails because that is a live mountpoint when the service is
207 - # running. It's unnecessary anyway so skip the action.
208 - [[ -d ${ROOT}/var/lib/lxcfs ]] && rm -rf ${D}/var
209 -}
210
211 diff --git a/sys-fs/lxcfs/lxcfs-2.0.6.ebuild b/sys-fs/lxcfs/lxcfs-2.0.6.ebuild
212 deleted file mode 100644
213 index bc296b6a704..00000000000
214 --- a/sys-fs/lxcfs/lxcfs-2.0.6.ebuild
215 +++ /dev/null
216 @@ -1,70 +0,0 @@
217 -# Copyright 1999-2017 Gentoo Foundation
218 -# Distributed under the terms of the GNU General Public License v2
219 -
220 -EAPI=6
221 -
222 -inherit systemd vcs-snapshot versionator
223 -DESCRIPTION="FUSE filesystem for LXC"
224 -HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
225 -LICENSE="Apache-2.0"
226 -SLOT="0"
227 -
228 -if [[ ${PV} == "9999" ]] ; then
229 - EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
230 - EGIT_BRANCH="master"
231 - inherit git-r3
232 - SRC_URI=""
233 - KEYWORDS=""
234 -else
235 - # e.g. upstream is 2.0.0.beta2, we want 2.0.0_beta2
236 - UPSTREAM_PV=$(replace_version_separator 3 '.' )
237 - SRC_URI="https://github.com/lxc/lxcfs/archive/${PN}-${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
238 - KEYWORDS="~amd64"
239 -fi
240 -
241 -IUSE="pam"
242 -
243 -# Omit all dbus. Upstream appears to require it because systemd, but
244 -# lxcfs makes no direct use of dbus.
245 -RDEPEND="
246 - dev-libs/glib:2
247 - sys-fs/fuse
248 - virtual/pam
249 -"
250 -DEPEND="
251 - sys-apps/help2man
252 - ${RDEPEND}
253 -"
254 -PATCHES="${FILESDIR}/${P}-fusermount-path.patch"
255 -
256 -src_prepare() {
257 - default
258 - ./bootstrap.sh || die "Failed to bootstrap configure files"
259 -}
260 -
261 -src_configure() {
262 - use pam || pamflag="--with-pamdir=none"
263 -
264 - # Without the localstatedir the filesystem isn't mounted correctly
265 - econf --localstatedir=/var ${pamflag}
266 -}
267 -
268 -# Test suite fails for me
269 -# src_test() {
270 -# emake tests
271 -# tests/main.sh || die "Tests failed"
272 -# }
273 -
274 -src_install() {
275 - default
276 - dodir /var/lib/lxcfs
277 - newinitd "${FILESDIR}"/${P}.initd lxcfs
278 - systemd_dounit config/init/systemd/lxcfs.service
279 -}
280 -
281 -pkg_preinst() {
282 - # In an upgrade situation merging /var/lib/lxcfs (an empty dir)
283 - # fails because that is a live mountpoint when the service is
284 - # running. It's unnecessary anyway so skip the action.
285 - [[ -d ${ROOT}/var/lib/lxcfs ]] && rm -rf ${D}/var
286 -}