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/, sys-fs/lxcfs/files/
Date: Tue, 11 Oct 2016 03:41:58
Message-Id: 1476157298.8a0d2cf4640ec4c6311b10d6d482afd4a88b605b.stasibear@gentoo
1 commit: 8a0d2cf4640ec4c6311b10d6d482afd4a88b605b
2 Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 11 03:41:38 2016 +0000
4 Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 11 03:41:38 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0d2cf4
7
8 sys-fs/lxcfs: Remove old
9
10 Package-Manager: portage-2.3.1
11
12 sys-fs/lxcfs/Manifest | 5 --
13 sys-fs/lxcfs/files/lxcfs-0.17.initd | 27 ----------
14 sys-fs/lxcfs/files/lxcfs-0.17.service | 13 -----
15 sys-fs/lxcfs/files/lxcfs-2.0.0.initd | 27 ----------
16 sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd | 27 ----------
17 sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service | 13 -----
18 sys-fs/lxcfs/files/lxcfs-2.0.1.initd | 27 ----------
19 sys-fs/lxcfs/files/lxcfs-2.0.1.service | 13 -----
20 .../lxcfs/files/lxcfs-2.0.2-fusermount-path.patch | 11 ----
21 sys-fs/lxcfs/files/lxcfs-2.0.2.initd | 27 ----------
22 sys-fs/lxcfs/lxcfs-0.17.ebuild | 57 --------------------
23 sys-fs/lxcfs/lxcfs-2.0.0.ebuild | 59 --------------------
24 sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild | 59 --------------------
25 sys-fs/lxcfs/lxcfs-2.0.1.ebuild | 59 --------------------
26 sys-fs/lxcfs/lxcfs-2.0.2.ebuild | 63 ----------------------
27 15 files changed, 487 deletions(-)
28
29 diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
30 index 16a455d..2871694 100644
31 --- a/sys-fs/lxcfs/Manifest
32 +++ b/sys-fs/lxcfs/Manifest
33 @@ -1,7 +1,2 @@
34 -DIST lxcfs-0.17.tar.gz 40501 SHA256 bcfe14a1ab4b717af1750b04c891a70b59f167d166c2db74984610041c926745 SHA512 dbc38265a65056330e46b8cc56558c6d14e13102c5e6c65a446749f5370c25d70a3a008d22c64b7d435c60e31bbe3efba887fd4f98c0a62fb5ad60c15366b174 WHIRLPOOL af4c0b03ede15414b53670a1363fa240986252b0ad1de8b0e13f99150ef4b2d419f63b6f96e94015344665c118c8599e1e97fb94854be89fc884ba40b96ec2c0
35 -DIST lxcfs-2.0.0.tar.gz 48655 SHA256 4c03114a85aff530bf385b724b992470ffb97c6bf759d61900cb93f4d12c517d SHA512 44b35b6c275366f88e036ed1e136cb193b65024fcbdff250658d360fced14bec84a2bcfa9f8ca28af9205f38babdd5520cfa42a5521cf545c42df80eec40c1b8 WHIRLPOOL 8972fe4838a3ec157479a9bed9404ba51d7ea47efe7e37c2b9f872fcab6068daef6898ef143304868003748a50068cc5634041020d6b6ced0acca97ffd9d8d07
36 -DIST lxcfs-2.0.0_beta2.tar.gz 44421 SHA256 4eacbbb51031ebd0776f050d7279b2076f7b4e156503f1bbe88e034f181e1d38 SHA512 d62bccc687873c060f299a726debc4642a0900f7e7a460b5c37dcb0b5d7cb75cd5b98ee03f129ccddbe62085510e1760db73010674333536f7126d01987262f4 WHIRLPOOL 470c6118a5560ff5fd447a409d136453b423d0b27a2f00652316b9415f68e08d349fc0e75edb1d312f7a25709bf96621574bd200c8fc92808a9e4eb59aada971
37 -DIST lxcfs-2.0.1.tar.gz 49004 SHA256 4731a4d6939e32f3503560ee953e840d16e6abbb4fc7993c92cc1179e40d4f84 SHA512 3801a1d643b1f4478e702f615c8f9f9bc7070272ef2cca6c22d944a680f6829f0b14b7d193cc5c046f9f1a0a258bd5de68456d884a00d48f0f2639c66975cb23 WHIRLPOOL cbbad76d61a05dbb4750cd8218e1946d6b8b2e798f0a4071c6e706ee6d88a0e36dd9fcc8664c9cb0e3f8bdbac9ba6c548ce0a0829a4bf79d0965f18ee207bb90
38 -DIST lxcfs-2.0.2.tar.gz 49185 SHA256 f3e9c7d53f25c2e71745dbef4c1b96d301fac12cb041329f3bbe438d7d7a4eda SHA512 358ea0d56d02a45cf93799663e067dc14fa6056f63b9047a7c7691ff0ff0ea44312be19baa0438887708de0fe85e10599e6c0178fbcbe483a6aaa56318c46fdd WHIRLPOOL 590ca502c2f72016b58d7fdb43db94ee1fa6f1af5fe9bd7d3b33d0f97fbff766b5adb22356d12f53601f070acb48d7645faa25128168094c8d42db9b39fa0263
39 DIST lxcfs-2.0.3.tar.gz 51078 SHA256 742a6cc463dc66179c334ebca4c3276888ef27a564e5e47212b60c655a811a72 SHA512 14caa2d6598529610ef6bd4c1d6f4d4598e8dc1378a3ee35ea7a1582c11150c896facc80216e67526384995891d9cc1244796860b790ecfc8bf735cc2cd80923 WHIRLPOOL f2de2438e4e521db5135ca81daceccdc1d3820907de9d37842c9bafa112cc416774cb2efe27b815cecccc26e55617c7eb9f5d076df5423ab354747605fa90643
40 DIST lxcfs-2.0.4.tar.gz 52639 SHA256 9af8199dba2837542ede6e50489100220472241e4b355b685e66c9a72bbcf81a SHA512 1c701fbd60799a1f7ad7e809c2e52ef0d26ed44e96c2c0376d3c4eb203aafb99ddcaff015f3fa8cc9c1219449210f6bf93844cc568de3a9f55cb8801328cec90 WHIRLPOOL 1ac966bab786b00a236225e1856c46fa9d419e42853edcd1181fc3f43d54becb60435fa0679a6a0f838a5edeb920205e3baa734118a4b5d9587e547fd63e3704
41
42 diff --git a/sys-fs/lxcfs/files/lxcfs-0.17.initd b/sys-fs/lxcfs/files/lxcfs-0.17.initd
43 deleted file mode 100755
44 index 20e046c..00000000
45 --- a/sys-fs/lxcfs/files/lxcfs-0.17.initd
46 +++ /dev/null
47 @@ -1,27 +0,0 @@
48 -#!/sbin/openrc-run
49 -# Copyright 1999-2015 Gentoo Foundation
50 -# Distributed under the terms of the GNU General Public License v2
51 -# $Id$
52 -
53 -DAEMON=/usr/bin/lxcfs
54 -PIDFILE=/run/lxcfs.pid
55 -
56 -start() {
57 - ebegin "Starting lxcfs"
58 -
59 - start-stop-daemon --start \
60 - --pidfile ${PIDFILE} \
61 - --exec ${DAEMON} \
62 - --background \
63 - --make-pidfile \
64 - -- \
65 - -f -o allow_other /var/lib/lxcfs
66 -
67 - eend $?
68 -}
69 -
70 -stop() {
71 - ebegin "Stopping lxcfs"
72 - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
73 - eend $?
74 -}
75
76 diff --git a/sys-fs/lxcfs/files/lxcfs-0.17.service b/sys-fs/lxcfs/files/lxcfs-0.17.service
77 deleted file mode 100644
78 index ff737c7..00000000
79 --- a/sys-fs/lxcfs/files/lxcfs-0.17.service
80 +++ /dev/null
81 @@ -1,13 +0,0 @@
82 -[Unit]
83 -Description=FUSE filesystem for LXC
84 -ConditionVirtualization=!container
85 -Before=lxc.service
86 -
87 -[Service]
88 -ExecStart=/usr/bin/lxcfs -f -o allow_other /var/lib/lxcfs
89 -KillMode=none
90 -Restart=on-failure
91 -ExecStop=/usr/bin/fusermount -u /var/lib/lxcfs
92 -
93 -[Install]
94 -WantedBy=multi-user.target
95
96 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.0.initd b/sys-fs/lxcfs/files/lxcfs-2.0.0.initd
97 deleted file mode 100644
98 index 20e046c..00000000
99 --- a/sys-fs/lxcfs/files/lxcfs-2.0.0.initd
100 +++ /dev/null
101 @@ -1,27 +0,0 @@
102 -#!/sbin/openrc-run
103 -# Copyright 1999-2015 Gentoo Foundation
104 -# Distributed under the terms of the GNU General Public License v2
105 -# $Id$
106 -
107 -DAEMON=/usr/bin/lxcfs
108 -PIDFILE=/run/lxcfs.pid
109 -
110 -start() {
111 - ebegin "Starting lxcfs"
112 -
113 - start-stop-daemon --start \
114 - --pidfile ${PIDFILE} \
115 - --exec ${DAEMON} \
116 - --background \
117 - --make-pidfile \
118 - -- \
119 - -f -o allow_other /var/lib/lxcfs
120 -
121 - eend $?
122 -}
123 -
124 -stop() {
125 - ebegin "Stopping lxcfs"
126 - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
127 - eend $?
128 -}
129
130 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd b/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd
131 deleted file mode 100644
132 index 20e046c..00000000
133 --- a/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd
134 +++ /dev/null
135 @@ -1,27 +0,0 @@
136 -#!/sbin/openrc-run
137 -# Copyright 1999-2015 Gentoo Foundation
138 -# Distributed under the terms of the GNU General Public License v2
139 -# $Id$
140 -
141 -DAEMON=/usr/bin/lxcfs
142 -PIDFILE=/run/lxcfs.pid
143 -
144 -start() {
145 - ebegin "Starting lxcfs"
146 -
147 - start-stop-daemon --start \
148 - --pidfile ${PIDFILE} \
149 - --exec ${DAEMON} \
150 - --background \
151 - --make-pidfile \
152 - -- \
153 - -f -o allow_other /var/lib/lxcfs
154 -
155 - eend $?
156 -}
157 -
158 -stop() {
159 - ebegin "Stopping lxcfs"
160 - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
161 - eend $?
162 -}
163
164 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service b/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service
165 deleted file mode 100644
166 index ff737c7..00000000
167 --- a/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service
168 +++ /dev/null
169 @@ -1,13 +0,0 @@
170 -[Unit]
171 -Description=FUSE filesystem for LXC
172 -ConditionVirtualization=!container
173 -Before=lxc.service
174 -
175 -[Service]
176 -ExecStart=/usr/bin/lxcfs -f -o allow_other /var/lib/lxcfs
177 -KillMode=none
178 -Restart=on-failure
179 -ExecStop=/usr/bin/fusermount -u /var/lib/lxcfs
180 -
181 -[Install]
182 -WantedBy=multi-user.target
183
184 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.1.initd b/sys-fs/lxcfs/files/lxcfs-2.0.1.initd
185 deleted file mode 100644
186 index 7436eee..00000000
187 --- a/sys-fs/lxcfs/files/lxcfs-2.0.1.initd
188 +++ /dev/null
189 @@ -1,27 +0,0 @@
190 -#!/sbin/openrc-run
191 -# Copyright 1999-2016 Gentoo Foundation
192 -# Distributed under the terms of the GNU General Public License v2
193 -# $Id$
194 -
195 -DAEMON=/usr/bin/lxcfs
196 -PIDFILE=/run/lxcfs.pid
197 -
198 -start() {
199 - ebegin "Starting lxcfs"
200 -
201 - start-stop-daemon --start \
202 - --pidfile ${PIDFILE} \
203 - --exec ${DAEMON} \
204 - --background \
205 - --make-pidfile \
206 - -- \
207 - -f -o allow_other /var/lib/lxcfs
208 -
209 - eend $?
210 -}
211 -
212 -stop() {
213 - ebegin "Stopping lxcfs"
214 - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
215 - eend $?
216 -}
217
218 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.1.service b/sys-fs/lxcfs/files/lxcfs-2.0.1.service
219 deleted file mode 100644
220 index ff737c7..00000000
221 --- a/sys-fs/lxcfs/files/lxcfs-2.0.1.service
222 +++ /dev/null
223 @@ -1,13 +0,0 @@
224 -[Unit]
225 -Description=FUSE filesystem for LXC
226 -ConditionVirtualization=!container
227 -Before=lxc.service
228 -
229 -[Service]
230 -ExecStart=/usr/bin/lxcfs -f -o allow_other /var/lib/lxcfs
231 -KillMode=none
232 -Restart=on-failure
233 -ExecStop=/usr/bin/fusermount -u /var/lib/lxcfs
234 -
235 -[Install]
236 -WantedBy=multi-user.target
237
238 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.2-fusermount-path.patch b/sys-fs/lxcfs/files/lxcfs-2.0.2-fusermount-path.patch
239 deleted file mode 100644
240 index ab25fa8..00000000
241 --- a/sys-fs/lxcfs/files/lxcfs-2.0.2-fusermount-path.patch
242 +++ /dev/null
243 @@ -1,11 +0,0 @@
244 ---- config/init/systemd/lxcfs.service.orig 2016-07-11 01:18:57.688074437 +0000
245 -+++ config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +0000
246 -@@ -7,7 +7,7 @@
247 - ExecStart=/usr/bin/lxcfs /var/lib/lxcfs/
248 - KillMode=process
249 - Restart=on-failure
250 --ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs
251 -+ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs
252 - Delegate=yes
253 -
254 - [Install]
255
256 diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.2.initd b/sys-fs/lxcfs/files/lxcfs-2.0.2.initd
257 deleted file mode 100644
258 index 7436eee..00000000
259 --- a/sys-fs/lxcfs/files/lxcfs-2.0.2.initd
260 +++ /dev/null
261 @@ -1,27 +0,0 @@
262 -#!/sbin/openrc-run
263 -# Copyright 1999-2016 Gentoo Foundation
264 -# Distributed under the terms of the GNU General Public License v2
265 -# $Id$
266 -
267 -DAEMON=/usr/bin/lxcfs
268 -PIDFILE=/run/lxcfs.pid
269 -
270 -start() {
271 - ebegin "Starting lxcfs"
272 -
273 - start-stop-daemon --start \
274 - --pidfile ${PIDFILE} \
275 - --exec ${DAEMON} \
276 - --background \
277 - --make-pidfile \
278 - -- \
279 - -f -o allow_other /var/lib/lxcfs
280 -
281 - eend $?
282 -}
283 -
284 -stop() {
285 - ebegin "Stopping lxcfs"
286 - start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
287 - eend $?
288 -}
289
290 diff --git a/sys-fs/lxcfs/lxcfs-0.17.ebuild b/sys-fs/lxcfs/lxcfs-0.17.ebuild
291 deleted file mode 100644
292 index 21f896c..00000000
293 --- a/sys-fs/lxcfs/lxcfs-0.17.ebuild
294 +++ /dev/null
295 @@ -1,57 +0,0 @@
296 -# Copyright 1999-2016 Gentoo Foundation
297 -# Distributed under the terms of the GNU General Public License v2
298 -# $Id$
299 -
300 -EAPI=5
301 -
302 -inherit eutils systemd vcs-snapshot
303 -DESCRIPTION="FUSE filesystem for LXC"
304 -HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
305 -LICENSE="Apache-2.0"
306 -SLOT="0"
307 -
308 -if [[ ${PV} == "9999" ]] ; then
309 - EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
310 - EGIT_BRANCH="master"
311 - inherit git-r3
312 - SRC_URI=""
313 - KEYWORDS=""
314 -else
315 - SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz"
316 - KEYWORDS="~amd64"
317 -fi
318 -
319 -#IUSE="test"
320 -
321 -# Omit all dbus. Upstream appears to require it because systemd, but
322 -# lxcfs makes no direct use of dbus.
323 -RDEPEND="
324 - dev-libs/glib:2
325 - sys-fs/fuse
326 - virtual/pam
327 -"
328 -DEPEND="
329 - sys-apps/help2man
330 - ${RDEPEND}
331 -"
332 -
333 -src_prepare() {
334 - ./bootstrap.sh || die "Failed to bootstrap configure files"
335 -}
336 -
337 -src_configure() {
338 - econf --localstatedir=/var
339 -}
340 -
341 -# Test suite fails for me
342 -# src_test() {
343 -# emake tests
344 -# tests/main.sh || die "Tests failed"
345 -# }
346 -
347 -src_install() {
348 - default
349 - dodir /var/lib/lxcfs
350 - newinitd "${FILESDIR}"/${P}.initd lxcfs
351 - systemd_newunit "${FILESDIR}/${P}.service" lxcfs.service
352 -}
353
354 diff --git a/sys-fs/lxcfs/lxcfs-2.0.0.ebuild b/sys-fs/lxcfs/lxcfs-2.0.0.ebuild
355 deleted file mode 100644
356 index 7cc6d80..00000000
357 --- a/sys-fs/lxcfs/lxcfs-2.0.0.ebuild
358 +++ /dev/null
359 @@ -1,59 +0,0 @@
360 -# Copyright 1999-2016 Gentoo Foundation
361 -# Distributed under the terms of the GNU General Public License v2
362 -# $Id$
363 -
364 -EAPI=5
365 -
366 -inherit eutils systemd vcs-snapshot versionator
367 -DESCRIPTION="FUSE filesystem for LXC"
368 -HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
369 -LICENSE="Apache-2.0"
370 -SLOT="0"
371 -
372 -if [[ ${PV} == "9999" ]] ; then
373 - EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
374 - EGIT_BRANCH="master"
375 - inherit git-r3
376 - SRC_URI=""
377 - KEYWORDS=""
378 -else
379 - # e.g. upstream is 2.0.0.beta2, we want 2.0.0_beta2
380 - UPSTREAM_PV=$(replace_version_separator 3 '.' )
381 - SRC_URI="https://github.com/lxc/lxcfs/archive/${PN}-${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
382 - KEYWORDS="~amd64"
383 -fi
384 -
385 -#IUSE="test"
386 -
387 -# Omit all dbus. Upstream appears to require it because systemd, but
388 -# lxcfs makes no direct use of dbus.
389 -RDEPEND="
390 - dev-libs/glib:2
391 - sys-fs/fuse
392 - virtual/pam
393 -"
394 -DEPEND="
395 - sys-apps/help2man
396 - ${RDEPEND}
397 -"
398 -
399 -src_prepare() {
400 - ./bootstrap.sh || die "Failed to bootstrap configure files"
401 -}
402 -
403 -src_configure() {
404 - econf --localstatedir=/var
405 -}
406 -
407 -# Test suite fails for me
408 -# src_test() {
409 -# emake tests
410 -# tests/main.sh || die "Tests failed"
411 -# }
412 -
413 -src_install() {
414 - default
415 - dodir /var/lib/lxcfs
416 - newinitd "${FILESDIR}"/${P}.initd lxcfs
417 - systemd_dounit config/init/systemd/lxcfs.service
418 -}
419
420 diff --git a/sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild b/sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild
421 deleted file mode 100644
422 index f279382..00000000
423 --- a/sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild
424 +++ /dev/null
425 @@ -1,59 +0,0 @@
426 -# Copyright 1999-2016 Gentoo Foundation
427 -# Distributed under the terms of the GNU General Public License v2
428 -# $Id$
429 -
430 -EAPI=5
431 -
432 -inherit eutils systemd vcs-snapshot versionator
433 -DESCRIPTION="FUSE filesystem for LXC"
434 -HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
435 -LICENSE="Apache-2.0"
436 -SLOT="0"
437 -
438 -if [[ ${PV} == "9999" ]] ; then
439 - EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
440 - EGIT_BRANCH="master"
441 - inherit git-r3
442 - SRC_URI=""
443 - KEYWORDS=""
444 -else
445 - # e.g. upstream is 2.0.0.beta2, we want 2.0.0_beta2
446 - UPSTREAM_PV=$(replace_version_separator 3 '.' )
447 - SRC_URI="https://github.com/lxc/lxcfs/archive/${PN}-${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
448 - KEYWORDS="~amd64"
449 -fi
450 -
451 -#IUSE="test"
452 -
453 -# Omit all dbus. Upstream appears to require it because systemd, but
454 -# lxcfs makes no direct use of dbus.
455 -RDEPEND="
456 - dev-libs/glib:2
457 - sys-fs/fuse
458 - virtual/pam
459 -"
460 -DEPEND="
461 - sys-apps/help2man
462 - ${RDEPEND}
463 -"
464 -
465 -src_prepare() {
466 - ./bootstrap.sh || die "Failed to bootstrap configure files"
467 -}
468 -
469 -src_configure() {
470 - econf --localstatedir=/var
471 -}
472 -
473 -# Test suite fails for me
474 -# src_test() {
475 -# emake tests
476 -# tests/main.sh || die "Tests failed"
477 -# }
478 -
479 -src_install() {
480 - default
481 - dodir /var/lib/lxcfs
482 - newinitd "${FILESDIR}"/${P}.initd lxcfs
483 - systemd_newunit "${FILESDIR}/${P}.service" lxcfs.service
484 -}
485
486 diff --git a/sys-fs/lxcfs/lxcfs-2.0.1.ebuild b/sys-fs/lxcfs/lxcfs-2.0.1.ebuild
487 deleted file mode 100644
488 index 7cc6d80..00000000
489 --- a/sys-fs/lxcfs/lxcfs-2.0.1.ebuild
490 +++ /dev/null
491 @@ -1,59 +0,0 @@
492 -# Copyright 1999-2016 Gentoo Foundation
493 -# Distributed under the terms of the GNU General Public License v2
494 -# $Id$
495 -
496 -EAPI=5
497 -
498 -inherit eutils systemd vcs-snapshot versionator
499 -DESCRIPTION="FUSE filesystem for LXC"
500 -HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
501 -LICENSE="Apache-2.0"
502 -SLOT="0"
503 -
504 -if [[ ${PV} == "9999" ]] ; then
505 - EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
506 - EGIT_BRANCH="master"
507 - inherit git-r3
508 - SRC_URI=""
509 - KEYWORDS=""
510 -else
511 - # e.g. upstream is 2.0.0.beta2, we want 2.0.0_beta2
512 - UPSTREAM_PV=$(replace_version_separator 3 '.' )
513 - SRC_URI="https://github.com/lxc/lxcfs/archive/${PN}-${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
514 - KEYWORDS="~amd64"
515 -fi
516 -
517 -#IUSE="test"
518 -
519 -# Omit all dbus. Upstream appears to require it because systemd, but
520 -# lxcfs makes no direct use of dbus.
521 -RDEPEND="
522 - dev-libs/glib:2
523 - sys-fs/fuse
524 - virtual/pam
525 -"
526 -DEPEND="
527 - sys-apps/help2man
528 - ${RDEPEND}
529 -"
530 -
531 -src_prepare() {
532 - ./bootstrap.sh || die "Failed to bootstrap configure files"
533 -}
534 -
535 -src_configure() {
536 - econf --localstatedir=/var
537 -}
538 -
539 -# Test suite fails for me
540 -# src_test() {
541 -# emake tests
542 -# tests/main.sh || die "Tests failed"
543 -# }
544 -
545 -src_install() {
546 - default
547 - dodir /var/lib/lxcfs
548 - newinitd "${FILESDIR}"/${P}.initd lxcfs
549 - systemd_dounit config/init/systemd/lxcfs.service
550 -}
551
552 diff --git a/sys-fs/lxcfs/lxcfs-2.0.2.ebuild b/sys-fs/lxcfs/lxcfs-2.0.2.ebuild
553 deleted file mode 100644
554 index f31b42f..00000000
555 --- a/sys-fs/lxcfs/lxcfs-2.0.2.ebuild
556 +++ /dev/null
557 @@ -1,63 +0,0 @@
558 -# Copyright 1999-2016 Gentoo Foundation
559 -# Distributed under the terms of the GNU General Public License v2
560 -# $Id$
561 -
562 -EAPI=5
563 -
564 -inherit eutils systemd vcs-snapshot versionator
565 -DESCRIPTION="FUSE filesystem for LXC"
566 -HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
567 -LICENSE="Apache-2.0"
568 -SLOT="0"
569 -
570 -if [[ ${PV} == "9999" ]] ; then
571 - EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
572 - EGIT_BRANCH="master"
573 - inherit git-r3
574 - SRC_URI=""
575 - KEYWORDS=""
576 -else
577 - # e.g. upstream is 2.0.0.beta2, we want 2.0.0_beta2
578 - UPSTREAM_PV=$(replace_version_separator 3 '.' )
579 - SRC_URI="https://github.com/lxc/lxcfs/archive/${PN}-${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
580 - KEYWORDS="~amd64"
581 -fi
582 -
583 -IUSE="pam"
584 -
585 -# Omit all dbus. Upstream appears to require it because systemd, but
586 -# lxcfs makes no direct use of dbus.
587 -RDEPEND="
588 - dev-libs/glib:2
589 - sys-fs/fuse
590 - virtual/pam
591 -"
592 -DEPEND="
593 - sys-apps/help2man
594 - ${RDEPEND}
595 -"
596 -
597 -src_prepare() {
598 - epatch "${FILESDIR}"/${P}-fusermount-path.patch
599 - ./bootstrap.sh || die "Failed to bootstrap configure files"
600 -}
601 -
602 -src_configure() {
603 - use pam || pamflag="--with-pamdir=none"
604 -
605 - # Without the localstatedir the filesystem isn't mounted correctly
606 - econf --localstatedir=/var ${pamflag}
607 -}
608 -
609 -# Test suite fails for me
610 -# src_test() {
611 -# emake tests
612 -# tests/main.sh || die "Tests failed"
613 -# }
614 -
615 -src_install() {
616 - default
617 - dodir /var/lib/lxcfs
618 - newinitd "${FILESDIR}"/${P}.initd lxcfs
619 - systemd_dounit config/init/systemd/lxcfs.service
620 -}