summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2016-10-11 03:41:38 +0000
committerErik Mackdanz <stasibear@gentoo.org>2016-10-11 03:41:38 +0000
commit8a0d2cf4640ec4c6311b10d6d482afd4a88b605b (patch)
treed3d156897a1f2cef5d413ba381ce7f87ceaaf3ff /sys-fs/lxcfs
parentsys-fs/lxcfs: Bump to 2.0.4 (diff)
downloadgentoo-8a0d2cf4640ec4c6311b10d6d482afd4a88b605b.tar.gz
gentoo-8a0d2cf4640ec4c6311b10d6d482afd4a88b605b.tar.bz2
gentoo-8a0d2cf4640ec4c6311b10d6d482afd4a88b605b.zip
sys-fs/lxcfs: Remove old
Package-Manager: portage-2.3.1
Diffstat (limited to 'sys-fs/lxcfs')
-rw-r--r--sys-fs/lxcfs/Manifest5
-rwxr-xr-xsys-fs/lxcfs/files/lxcfs-0.17.initd27
-rw-r--r--sys-fs/lxcfs/files/lxcfs-0.17.service13
-rw-r--r--sys-fs/lxcfs/files/lxcfs-2.0.0.initd27
-rw-r--r--sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd27
-rw-r--r--sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service13
-rw-r--r--sys-fs/lxcfs/files/lxcfs-2.0.1.initd27
-rw-r--r--sys-fs/lxcfs/files/lxcfs-2.0.1.service13
-rw-r--r--sys-fs/lxcfs/files/lxcfs-2.0.2-fusermount-path.patch11
-rw-r--r--sys-fs/lxcfs/files/lxcfs-2.0.2.initd27
-rw-r--r--sys-fs/lxcfs/lxcfs-0.17.ebuild57
-rw-r--r--sys-fs/lxcfs/lxcfs-2.0.0.ebuild59
-rw-r--r--sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild59
-rw-r--r--sys-fs/lxcfs/lxcfs-2.0.1.ebuild59
-rw-r--r--sys-fs/lxcfs/lxcfs-2.0.2.ebuild63
15 files changed, 0 insertions, 487 deletions
diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 16a455d62028..2871694fdde6 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,7 +1,2 @@
-DIST lxcfs-0.17.tar.gz 40501 SHA256 bcfe14a1ab4b717af1750b04c891a70b59f167d166c2db74984610041c926745 SHA512 dbc38265a65056330e46b8cc56558c6d14e13102c5e6c65a446749f5370c25d70a3a008d22c64b7d435c60e31bbe3efba887fd4f98c0a62fb5ad60c15366b174 WHIRLPOOL af4c0b03ede15414b53670a1363fa240986252b0ad1de8b0e13f99150ef4b2d419f63b6f96e94015344665c118c8599e1e97fb94854be89fc884ba40b96ec2c0
-DIST lxcfs-2.0.0.tar.gz 48655 SHA256 4c03114a85aff530bf385b724b992470ffb97c6bf759d61900cb93f4d12c517d SHA512 44b35b6c275366f88e036ed1e136cb193b65024fcbdff250658d360fced14bec84a2bcfa9f8ca28af9205f38babdd5520cfa42a5521cf545c42df80eec40c1b8 WHIRLPOOL 8972fe4838a3ec157479a9bed9404ba51d7ea47efe7e37c2b9f872fcab6068daef6898ef143304868003748a50068cc5634041020d6b6ced0acca97ffd9d8d07
-DIST lxcfs-2.0.0_beta2.tar.gz 44421 SHA256 4eacbbb51031ebd0776f050d7279b2076f7b4e156503f1bbe88e034f181e1d38 SHA512 d62bccc687873c060f299a726debc4642a0900f7e7a460b5c37dcb0b5d7cb75cd5b98ee03f129ccddbe62085510e1760db73010674333536f7126d01987262f4 WHIRLPOOL 470c6118a5560ff5fd447a409d136453b423d0b27a2f00652316b9415f68e08d349fc0e75edb1d312f7a25709bf96621574bd200c8fc92808a9e4eb59aada971
-DIST lxcfs-2.0.1.tar.gz 49004 SHA256 4731a4d6939e32f3503560ee953e840d16e6abbb4fc7993c92cc1179e40d4f84 SHA512 3801a1d643b1f4478e702f615c8f9f9bc7070272ef2cca6c22d944a680f6829f0b14b7d193cc5c046f9f1a0a258bd5de68456d884a00d48f0f2639c66975cb23 WHIRLPOOL cbbad76d61a05dbb4750cd8218e1946d6b8b2e798f0a4071c6e706ee6d88a0e36dd9fcc8664c9cb0e3f8bdbac9ba6c548ce0a0829a4bf79d0965f18ee207bb90
-DIST lxcfs-2.0.2.tar.gz 49185 SHA256 f3e9c7d53f25c2e71745dbef4c1b96d301fac12cb041329f3bbe438d7d7a4eda SHA512 358ea0d56d02a45cf93799663e067dc14fa6056f63b9047a7c7691ff0ff0ea44312be19baa0438887708de0fe85e10599e6c0178fbcbe483a6aaa56318c46fdd WHIRLPOOL 590ca502c2f72016b58d7fdb43db94ee1fa6f1af5fe9bd7d3b33d0f97fbff766b5adb22356d12f53601f070acb48d7645faa25128168094c8d42db9b39fa0263
DIST lxcfs-2.0.3.tar.gz 51078 SHA256 742a6cc463dc66179c334ebca4c3276888ef27a564e5e47212b60c655a811a72 SHA512 14caa2d6598529610ef6bd4c1d6f4d4598e8dc1378a3ee35ea7a1582c11150c896facc80216e67526384995891d9cc1244796860b790ecfc8bf735cc2cd80923 WHIRLPOOL f2de2438e4e521db5135ca81daceccdc1d3820907de9d37842c9bafa112cc416774cb2efe27b815cecccc26e55617c7eb9f5d076df5423ab354747605fa90643
DIST lxcfs-2.0.4.tar.gz 52639 SHA256 9af8199dba2837542ede6e50489100220472241e4b355b685e66c9a72bbcf81a SHA512 1c701fbd60799a1f7ad7e809c2e52ef0d26ed44e96c2c0376d3c4eb203aafb99ddcaff015f3fa8cc9c1219449210f6bf93844cc568de3a9f55cb8801328cec90 WHIRLPOOL 1ac966bab786b00a236225e1856c46fa9d419e42853edcd1181fc3f43d54becb60435fa0679a6a0f838a5edeb920205e3baa734118a4b5d9587e547fd63e3704
diff --git a/sys-fs/lxcfs/files/lxcfs-0.17.initd b/sys-fs/lxcfs/files/lxcfs-0.17.initd
deleted file mode 100755
index 20e046c9b728..000000000000
--- a/sys-fs/lxcfs/files/lxcfs-0.17.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DAEMON=/usr/bin/lxcfs
-PIDFILE=/run/lxcfs.pid
-
-start() {
- ebegin "Starting lxcfs"
-
- start-stop-daemon --start \
- --pidfile ${PIDFILE} \
- --exec ${DAEMON} \
- --background \
- --make-pidfile \
- -- \
- -f -o allow_other /var/lib/lxcfs
-
- eend $?
-}
-
-stop() {
- ebegin "Stopping lxcfs"
- start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
- eend $?
-}
diff --git a/sys-fs/lxcfs/files/lxcfs-0.17.service b/sys-fs/lxcfs/files/lxcfs-0.17.service
deleted file mode 100644
index ff737c7e78ce..000000000000
--- a/sys-fs/lxcfs/files/lxcfs-0.17.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=FUSE filesystem for LXC
-ConditionVirtualization=!container
-Before=lxc.service
-
-[Service]
-ExecStart=/usr/bin/lxcfs -f -o allow_other /var/lib/lxcfs
-KillMode=none
-Restart=on-failure
-ExecStop=/usr/bin/fusermount -u /var/lib/lxcfs
-
-[Install]
-WantedBy=multi-user.target
diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.0.initd b/sys-fs/lxcfs/files/lxcfs-2.0.0.initd
deleted file mode 100644
index 20e046c9b728..000000000000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.0.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DAEMON=/usr/bin/lxcfs
-PIDFILE=/run/lxcfs.pid
-
-start() {
- ebegin "Starting lxcfs"
-
- start-stop-daemon --start \
- --pidfile ${PIDFILE} \
- --exec ${DAEMON} \
- --background \
- --make-pidfile \
- -- \
- -f -o allow_other /var/lib/lxcfs
-
- eend $?
-}
-
-stop() {
- ebegin "Stopping lxcfs"
- start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
- eend $?
-}
diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd b/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd
deleted file mode 100644
index 20e046c9b728..000000000000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DAEMON=/usr/bin/lxcfs
-PIDFILE=/run/lxcfs.pid
-
-start() {
- ebegin "Starting lxcfs"
-
- start-stop-daemon --start \
- --pidfile ${PIDFILE} \
- --exec ${DAEMON} \
- --background \
- --make-pidfile \
- -- \
- -f -o allow_other /var/lib/lxcfs
-
- eend $?
-}
-
-stop() {
- ebegin "Stopping lxcfs"
- start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
- eend $?
-}
diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service b/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service
deleted file mode 100644
index ff737c7e78ce..000000000000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=FUSE filesystem for LXC
-ConditionVirtualization=!container
-Before=lxc.service
-
-[Service]
-ExecStart=/usr/bin/lxcfs -f -o allow_other /var/lib/lxcfs
-KillMode=none
-Restart=on-failure
-ExecStop=/usr/bin/fusermount -u /var/lib/lxcfs
-
-[Install]
-WantedBy=multi-user.target
diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.1.initd b/sys-fs/lxcfs/files/lxcfs-2.0.1.initd
deleted file mode 100644
index 7436eeed39a5..000000000000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.1.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DAEMON=/usr/bin/lxcfs
-PIDFILE=/run/lxcfs.pid
-
-start() {
- ebegin "Starting lxcfs"
-
- start-stop-daemon --start \
- --pidfile ${PIDFILE} \
- --exec ${DAEMON} \
- --background \
- --make-pidfile \
- -- \
- -f -o allow_other /var/lib/lxcfs
-
- eend $?
-}
-
-stop() {
- ebegin "Stopping lxcfs"
- start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
- eend $?
-}
diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.1.service b/sys-fs/lxcfs/files/lxcfs-2.0.1.service
deleted file mode 100644
index ff737c7e78ce..000000000000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.1.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=FUSE filesystem for LXC
-ConditionVirtualization=!container
-Before=lxc.service
-
-[Service]
-ExecStart=/usr/bin/lxcfs -f -o allow_other /var/lib/lxcfs
-KillMode=none
-Restart=on-failure
-ExecStop=/usr/bin/fusermount -u /var/lib/lxcfs
-
-[Install]
-WantedBy=multi-user.target
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
deleted file mode 100644
index ab25fa873472..000000000000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.2-fusermount-path.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- config/init/systemd/lxcfs.service.orig 2016-07-11 01:18:57.688074437 +0000
-+++ config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +0000
-@@ -7,7 +7,7 @@
- ExecStart=/usr/bin/lxcfs /var/lib/lxcfs/
- KillMode=process
- Restart=on-failure
--ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs
-+ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs
- Delegate=yes
-
- [Install]
diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.2.initd b/sys-fs/lxcfs/files/lxcfs-2.0.2.initd
deleted file mode 100644
index 7436eeed39a5..000000000000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.2.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DAEMON=/usr/bin/lxcfs
-PIDFILE=/run/lxcfs.pid
-
-start() {
- ebegin "Starting lxcfs"
-
- start-stop-daemon --start \
- --pidfile ${PIDFILE} \
- --exec ${DAEMON} \
- --background \
- --make-pidfile \
- -- \
- -f -o allow_other /var/lib/lxcfs
-
- eend $?
-}
-
-stop() {
- ebegin "Stopping lxcfs"
- start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
- eend $?
-}
diff --git a/sys-fs/lxcfs/lxcfs-0.17.ebuild b/sys-fs/lxcfs/lxcfs-0.17.ebuild
deleted file mode 100644
index 21f896c97a1a..000000000000
--- a/sys-fs/lxcfs/lxcfs-0.17.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd vcs-snapshot
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
-LICENSE="Apache-2.0"
-SLOT="0"
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
- EGIT_BRANCH="master"
- inherit git-r3
- SRC_URI=""
- KEYWORDS=""
-else
- SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-#IUSE="test"
-
-# Omit all dbus. Upstream appears to require it because systemd, but
-# lxcfs makes no direct use of dbus.
-RDEPEND="
- dev-libs/glib:2
- sys-fs/fuse
- virtual/pam
-"
-DEPEND="
- sys-apps/help2man
- ${RDEPEND}
-"
-
-src_prepare() {
- ./bootstrap.sh || die "Failed to bootstrap configure files"
-}
-
-src_configure() {
- econf --localstatedir=/var
-}
-
-# Test suite fails for me
-# src_test() {
-# emake tests
-# tests/main.sh || die "Tests failed"
-# }
-
-src_install() {
- default
- dodir /var/lib/lxcfs
- newinitd "${FILESDIR}"/${P}.initd lxcfs
- systemd_newunit "${FILESDIR}/${P}.service" lxcfs.service
-}
diff --git a/sys-fs/lxcfs/lxcfs-2.0.0.ebuild b/sys-fs/lxcfs/lxcfs-2.0.0.ebuild
deleted file mode 100644
index 7cc6d80d7c42..000000000000
--- a/sys-fs/lxcfs/lxcfs-2.0.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd vcs-snapshot versionator
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
-LICENSE="Apache-2.0"
-SLOT="0"
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
- EGIT_BRANCH="master"
- inherit git-r3
- SRC_URI=""
- KEYWORDS=""
-else
- # e.g. upstream is 2.0.0.beta2, we want 2.0.0_beta2
- UPSTREAM_PV=$(replace_version_separator 3 '.' )
- SRC_URI="https://github.com/lxc/lxcfs/archive/${PN}-${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-#IUSE="test"
-
-# Omit all dbus. Upstream appears to require it because systemd, but
-# lxcfs makes no direct use of dbus.
-RDEPEND="
- dev-libs/glib:2
- sys-fs/fuse
- virtual/pam
-"
-DEPEND="
- sys-apps/help2man
- ${RDEPEND}
-"
-
-src_prepare() {
- ./bootstrap.sh || die "Failed to bootstrap configure files"
-}
-
-src_configure() {
- econf --localstatedir=/var
-}
-
-# Test suite fails for me
-# src_test() {
-# emake tests
-# tests/main.sh || die "Tests failed"
-# }
-
-src_install() {
- default
- dodir /var/lib/lxcfs
- newinitd "${FILESDIR}"/${P}.initd lxcfs
- systemd_dounit config/init/systemd/lxcfs.service
-}
diff --git a/sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild b/sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild
deleted file mode 100644
index f27938250bf6..000000000000
--- a/sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd vcs-snapshot versionator
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
-LICENSE="Apache-2.0"
-SLOT="0"
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
- EGIT_BRANCH="master"
- inherit git-r3
- SRC_URI=""
- KEYWORDS=""
-else
- # e.g. upstream is 2.0.0.beta2, we want 2.0.0_beta2
- UPSTREAM_PV=$(replace_version_separator 3 '.' )
- SRC_URI="https://github.com/lxc/lxcfs/archive/${PN}-${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-#IUSE="test"
-
-# Omit all dbus. Upstream appears to require it because systemd, but
-# lxcfs makes no direct use of dbus.
-RDEPEND="
- dev-libs/glib:2
- sys-fs/fuse
- virtual/pam
-"
-DEPEND="
- sys-apps/help2man
- ${RDEPEND}
-"
-
-src_prepare() {
- ./bootstrap.sh || die "Failed to bootstrap configure files"
-}
-
-src_configure() {
- econf --localstatedir=/var
-}
-
-# Test suite fails for me
-# src_test() {
-# emake tests
-# tests/main.sh || die "Tests failed"
-# }
-
-src_install() {
- default
- dodir /var/lib/lxcfs
- newinitd "${FILESDIR}"/${P}.initd lxcfs
- systemd_newunit "${FILESDIR}/${P}.service" lxcfs.service
-}
diff --git a/sys-fs/lxcfs/lxcfs-2.0.1.ebuild b/sys-fs/lxcfs/lxcfs-2.0.1.ebuild
deleted file mode 100644
index 7cc6d80d7c42..000000000000
--- a/sys-fs/lxcfs/lxcfs-2.0.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd vcs-snapshot versionator
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
-LICENSE="Apache-2.0"
-SLOT="0"
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
- EGIT_BRANCH="master"
- inherit git-r3
- SRC_URI=""
- KEYWORDS=""
-else
- # e.g. upstream is 2.0.0.beta2, we want 2.0.0_beta2
- UPSTREAM_PV=$(replace_version_separator 3 '.' )
- SRC_URI="https://github.com/lxc/lxcfs/archive/${PN}-${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-#IUSE="test"
-
-# Omit all dbus. Upstream appears to require it because systemd, but
-# lxcfs makes no direct use of dbus.
-RDEPEND="
- dev-libs/glib:2
- sys-fs/fuse
- virtual/pam
-"
-DEPEND="
- sys-apps/help2man
- ${RDEPEND}
-"
-
-src_prepare() {
- ./bootstrap.sh || die "Failed to bootstrap configure files"
-}
-
-src_configure() {
- econf --localstatedir=/var
-}
-
-# Test suite fails for me
-# src_test() {
-# emake tests
-# tests/main.sh || die "Tests failed"
-# }
-
-src_install() {
- default
- dodir /var/lib/lxcfs
- newinitd "${FILESDIR}"/${P}.initd lxcfs
- systemd_dounit config/init/systemd/lxcfs.service
-}
diff --git a/sys-fs/lxcfs/lxcfs-2.0.2.ebuild b/sys-fs/lxcfs/lxcfs-2.0.2.ebuild
deleted file mode 100644
index f31b42fa22f1..000000000000
--- a/sys-fs/lxcfs/lxcfs-2.0.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils systemd vcs-snapshot versionator
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/"
-LICENSE="Apache-2.0"
-SLOT="0"
-
-if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://github.com/lxc/lxcfs.git"
- EGIT_BRANCH="master"
- inherit git-r3
- SRC_URI=""
- KEYWORDS=""
-else
- # e.g. upstream is 2.0.0.beta2, we want 2.0.0_beta2
- UPSTREAM_PV=$(replace_version_separator 3 '.' )
- SRC_URI="https://github.com/lxc/lxcfs/archive/${PN}-${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-IUSE="pam"
-
-# Omit all dbus. Upstream appears to require it because systemd, but
-# lxcfs makes no direct use of dbus.
-RDEPEND="
- dev-libs/glib:2
- sys-fs/fuse
- virtual/pam
-"
-DEPEND="
- sys-apps/help2man
- ${RDEPEND}
-"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-fusermount-path.patch
- ./bootstrap.sh || die "Failed to bootstrap configure files"
-}
-
-src_configure() {
- use pam || pamflag="--with-pamdir=none"
-
- # Without the localstatedir the filesystem isn't mounted correctly
- econf --localstatedir=/var ${pamflag}
-}
-
-# Test suite fails for me
-# src_test() {
-# emake tests
-# tests/main.sh || die "Tests failed"
-# }
-
-src_install() {
- default
- dodir /var/lib/lxcfs
- newinitd "${FILESDIR}"/${P}.initd lxcfs
- systemd_dounit config/init/systemd/lxcfs.service
-}