[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2024-05-05 Thread Joonas Niilola
commit: 881f1d9d60f4e79514249652921e75cc62f32100
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun May  5 06:26:35 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun May  5 06:28:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=881f1d9d

sys-fs/lxcfs: stabilize 6.0.0 for amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-6.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-6.0.0.ebuild b/sys-fs/lxcfs/lxcfs-6.0.0.ebuild
index c0e7a84ec0f5..2cdd634fb322 100644
--- a/sys-fs/lxcfs/lxcfs-6.0.0.ebuild
+++ b/sys-fs/lxcfs/lxcfs-6.0.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0 LGPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 IUSE="doc test"
 
 DEPEND="sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2024-03-28 Thread Joonas Niilola
commit: b96bcc92077dc12ae9e3c76c83044e90c0d5f8af
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Mar 28 06:41:50 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Mar 28 06:41:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b96bcc92

sys-fs/lxcfs: add 6.0.0

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 ++
 sys-fs/lxcfs/lxcfs-6.0.0.ebuild | 80 +
 2 files changed, 82 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 702f72006a70..ddfde18b76ed 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,4 @@
 DIST lxcfs-5.0.4.tar.gz 104249 BLAKE2B 
83a7b861136c34da8a24dd525fd0767193f2bbd92b40e3b9fd5e42d7645465411792e65e95797ab13b0299d12b19bdd5786352875ed88ac0097b72b711a9
 SHA512 
b404045dbabe23e1d1f1d74c1648d2596bb70aaa9f9e46f9f5635b0a02d0c451f68b2559920bbefc5b889e908cf1da0a33c148b26bdce3e45c3d0cbdff710604
 DIST lxcfs-5.0.4.tar.gz.asc 833 BLAKE2B 
aff883d24b374b296ea3678670e5e82c723fd0e35cfd7fed555aabbd811a104becc0b741331b4aa4a5129c9fff4dc88c6a86e7d64a89fe86aea81718f5d432dd
 SHA512 
56b639597dbaf3008fe030147ea37192bd465c467a79e11ce139bcaa6bca1625b4bb9c4eda6ea1877446769f0fad9b4c5a3513d4f4415b841db96d5da8325ddc
+DIST lxcfs-6.0.0.tar.gz 103369 BLAKE2B 
9261ab7d932d315117361a548372930c37129d3c1b3d5aa00bbce6bac923a94e69b0fa223632b1ef22938b047e6ebec7416cf187e76c72680e4d86db173d199a
 SHA512 
fab5569da66a742a51c9f249c3f0256d1ea17dc0a1e7c2d5563d993cd0d236ae664a53809e65fbec2467f5d255dfd867327a28d9465ffe180d240ca131331c59
+DIST lxcfs-6.0.0.tar.gz.asc 833 BLAKE2B 
cfc6a8e574aeb1c9e3fec322df5254c431878f0109ea43ee1069e8213467ed16fedbe137befa47a2557d8c055591a9f00c99f221d482f715d5cdc678d79c5fa5
 SHA512 
019178b37045c3c2c4d8be7c417abb4ed8b7ce011bce805b220f6213d7940f164c45632a5ce02ea29451c8148f782d6b7ece7699da7f3ef7306bd437d40fe537

diff --git a/sys-fs/lxcfs/lxcfs-6.0.0.ebuild b/sys-fs/lxcfs/lxcfs-6.0.0.ebuild
new file mode 100644
index ..c0e7a84ec0f5
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-6.0.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake meson python-any-r1 systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc test"
+
+DEPEND="sys-fs/fuse:3"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}
+   virtual/pkgconfig
+   $(python_gen_any_dep '
+   dev-python/jinja[${PYTHON_USEDEP}]
+   ')
+   doc? ( sys-apps/help2man )
+   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
+
+# Needs some black magic to work inside container/chroot.
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc
+
+python_check_deps() {
+   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # Fix python shebangs for python-exec[-native-symlinks], #851480
+   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
+   python_fix_shebang -q ${shebangs[*]}
+}
+
+src_configure() {
+   local emesonargs=(
+   --localstatedir "${EPREFIX}/var"
+
+   $(meson_use doc docs)
+   $(meson_use test tests)
+
+   -Dfuse-version=3
+   -Dinit-script=""
+   -Dwith-init-script=""
+   )
+
+   meson_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
+   ./main.sh || die
+}
+
+src_install() {
+   meson_src_install
+
+   newconfd "${FILESDIR}"/lxcfs-5.0.2.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-5.0.2.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-5.0.2.service lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2023-10-07 Thread Joonas Niilola
commit: 9b75edbbbff53dab5137f168ca2f224a83d96f06
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Oct  7 06:19:45 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Oct  7 06:19:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b75edbb

sys-fs/lxcfs: drop 5.0.4

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.4.ebuild | 80 -
 1 file changed, 80 deletions(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.4.ebuild b/sys-fs/lxcfs/lxcfs-5.0.4.ebuild
deleted file mode 100644
index cf1c6ee0cb54..
--- a/sys-fs/lxcfs/lxcfs-5.0.4.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..12} )
-
-inherit cmake meson python-any-r1 systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0 LGPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv ~x86"
-IUSE="doc test"
-
-DEPEND="sys-fs/fuse:3"
-RDEPEND="${DEPEND}"
-BDEPEND="${PYTHON_DEPS}
-   virtual/pkgconfig
-   $(python_gen_any_dep '
-   dev-python/jinja[${PYTHON_USEDEP}]
-   ')
-   doc? ( sys-apps/help2man )
-   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
-
-# Needs some black magic to work inside container/chroot.
-RESTRICT="test"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-python_check_deps() {
-   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   # Fix python shebangs for python-exec[-native-symlinks], #851480
-   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
-   python_fix_shebang -q ${shebangs[*]}
-}
-
-src_configure() {
-   local emesonargs=(
-   --localstatedir "${EPREFIX}/var"
-
-   $(meson_use doc docs)
-   $(meson_use test tests)
-
-   -Dfuse-version=3
-   -Dinit-script=""
-   -Dwith-init-script=""
-   )
-
-   meson_src_configure
-}
-
-src_test() {
-   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
-   ./main.sh || die
-}
-
-src_install() {
-   meson_src_install
-
-   newconfd "${FILESDIR}"/lxcfs-5.0.2.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-5.0.2.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-5.0.2.service lxcfs.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2023-10-06 Thread Joonas Niilola
commit: 53357397196cf171f91a7f9155ec86117f8171e4
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Oct  6 06:24:46 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct  6 07:14:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53357397

sys-fs/lxcfs: stabilize 5.0.4-r1 for amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild
index 5ccabb227b11..d702543b8907 100644
--- a/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild
+++ b/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0 LGPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 IUSE="doc test"
 
 DEPEND="sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2023-09-10 Thread Joonas Niilola
commit: 739b8b91982ac52015d7d9c0c6939e66e6897fa7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Sep 10 06:26:20 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Sep 10 06:26:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739b8b91

sys-fs/lxcfs: drop 5.0.3

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 --
 sys-fs/lxcfs/lxcfs-5.0.3.ebuild | 79 -
 2 files changed, 81 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index a733525b98af..702f72006a70 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,2 @@
-DIST lxcfs-5.0.3.tar.gz 103697 BLAKE2B 
bdea820f1a5b799309b3d5c8ea439477e6eeda2d9600a348a92b203f2f8a6e0e686d0bf56d8f6b5bbfeb4837dd5737626d7d0610157211f0f189711e9e45a048
 SHA512 
967e60bd7ea545f1fcdd805adc0083e39684013c18f42a51753b5be8cdabfb86a652d02471a1f71c7b4fa756da09b72d324b724d68091d539edd10ea63add1fd
-DIST lxcfs-5.0.3.tar.gz.asc 833 BLAKE2B 
2dc139639431d9430149369b0a28b6debef0de9f5f69854070d8f2e47718bcc130a869683dfa2b0002c6a54978b0550303adbd5a7fa5ef565eb6bc6bbfcde9e0
 SHA512 
0207c110553b9d62cf88ec70ed4472b9696d74b277af1e53df6d1145228b76d06695fd28bf20c8428bee5b6ff617c617fbf063c1c8ff0bcc44be2e3439c76a64
 DIST lxcfs-5.0.4.tar.gz 104249 BLAKE2B 
83a7b861136c34da8a24dd525fd0767193f2bbd92b40e3b9fd5e42d7645465411792e65e95797ab13b0299d12b19bdd5786352875ed88ac0097b72b711a9
 SHA512 
b404045dbabe23e1d1f1d74c1648d2596bb70aaa9f9e46f9f5635b0a02d0c451f68b2559920bbefc5b889e908cf1da0a33c148b26bdce3e45c3d0cbdff710604
 DIST lxcfs-5.0.4.tar.gz.asc 833 BLAKE2B 
aff883d24b374b296ea3678670e5e82c723fd0e35cfd7fed555aabbd811a104becc0b741331b4aa4a5129c9fff4dc88c6a86e7d64a89fe86aea81718f5d432dd
 SHA512 
56b639597dbaf3008fe030147ea37192bd465c467a79e11ce139bcaa6bca1625b4bb9c4eda6ea1877446769f0fad9b4c5a3513d4f4415b841db96d5da8325ddc

diff --git a/sys-fs/lxcfs/lxcfs-5.0.3.ebuild b/sys-fs/lxcfs/lxcfs-5.0.3.ebuild
deleted file mode 100644
index 81d150efcb9b..
--- a/sys-fs/lxcfs/lxcfs-5.0.3.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake meson python-any-r1 systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0 LGPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv ~x86"
-IUSE="doc test"
-
-DEPEND="sys-fs/fuse:3"
-RDEPEND="${DEPEND}"
-BDEPEND="${PYTHON_DEPS}
-   $(python_gen_any_dep '
-   dev-python/jinja[${PYTHON_USEDEP}]
-   ')
-   doc? ( sys-apps/help2man )
-   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
-
-# Needs some black magic to work inside container/chroot.
-RESTRICT="test"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-python_check_deps() {
-   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   # Fix python shebangs for python-exec[-native-symlinks], #851480
-   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
-   python_fix_shebang -q ${shebangs[*]}
-}
-
-src_configure() {
-   local emesonargs=(
-   --localstatedir "${EPREFIX}/var"
-
-   $(meson_use doc docs)
-   $(meson_use test tests)
-
-   -Dfuse-version=3
-   -Dinit-script=""
-   -Dwith-init-script=""
-   )
-
-   meson_src_configure
-}
-
-src_test() {
-   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
-   ./main.sh || die
-}
-
-src_install() {
-   meson_src_install
-
-   newconfd "${FILESDIR}"/lxcfs-5.0.2.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-5.0.2.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-5.0.2.service lxcfs.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2023-09-05 Thread Joonas Niilola
commit: 874b879f261946822c73961714159ac36f5fc6d2
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Sep  5 07:30:55 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep  5 07:30:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=874b879f

sys-fs/lxcfs: disable py3.9

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild
index 6d2a14c5eb13..5ccabb227b11 100644
--- a/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild
+++ b/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit cmake meson python-any-r1 systemd verify-sig
 



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2023-09-05 Thread Joonas Niilola
commit: cd73ce1d3249c9259abfc8a8b9a74e29a8b3cfa7
Author: Brahmajit Das  gmail  com>
AuthorDate: Tue Sep  5 04:21:04 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep  5 07:30:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd73ce1d

sys-fs/lxcfs: Fix incompatible integer to pointer conversion

Closes: https://bugs.gentoo.org/894348
Signed-off-by: Brahmajit Das  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32616
Signed-off-by: Joonas Niilola  gentoo.org>

 ...5.0.4-fix-incompatible-pointer-conversion.patch | 19 +
 sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild | 84 ++
 2 files changed, 103 insertions(+)

diff --git 
a/sys-fs/lxcfs/files/lxcfs-5.0.4-fix-incompatible-pointer-conversion.patch 
b/sys-fs/lxcfs/files/lxcfs-5.0.4-fix-incompatible-pointer-conversion.patch
new file mode 100644
index ..bead63bd52dd
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-5.0.4-fix-incompatible-pointer-conversion.patch
@@ -0,0 +1,19 @@
+Bug: https://bugs.gentoo.org/894348
+Upstream PR: https://github.com/lxc/lxcfs/pull/610
+--- a/src/proc_loadavg.c
 b/src/proc_loadavg.c
+@@ -603,12 +603,12 @@ pthread_t load_daemon(int load_use)
+ 
+   ret = init_load();
+   if (ret == -1)
+-  return log_error(0, "Initialize hash_table fails in 
load_daemon!");
++  return (pthread_t) log_error(0, "Initialize hash_table fails in 
load_daemon!");
+ 
+   ret = pthread_create(, NULL, load_begin, NULL);
+   if (ret != 0) {
+   load_free();
+-  return log_error(0, "Create pthread fails in load_daemon!");
++  return (pthread_t) log_error(0, "Create pthread fails in 
load_daemon!");
+   }
+ 
+   /* use loadavg, here loadavg = 1*/

diff --git a/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild
new file mode 100644
index ..6d2a14c5eb13
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-5.0.4-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit cmake meson python-any-r1 systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc test"
+
+DEPEND="sys-fs/fuse:3"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}
+   virtual/pkgconfig
+   $(python_gen_any_dep '
+   dev-python/jinja[${PYTHON_USEDEP}]
+   ')
+   doc? ( sys-apps/help2man )
+   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
+
+# Needs some black magic to work inside container/chroot.
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.0.4-fix-incompatible-pointer-conversion.patch
+)
+
+python_check_deps() {
+   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # Fix python shebangs for python-exec[-native-symlinks], #851480
+   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
+   python_fix_shebang -q ${shebangs[*]}
+}
+
+src_configure() {
+   local emesonargs=(
+   --localstatedir "${EPREFIX}/var"
+
+   $(meson_use doc docs)
+   $(meson_use test tests)
+
+   -Dfuse-version=3
+   -Dinit-script=""
+   -Dwith-init-script=""
+   )
+
+   meson_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
+   ./main.sh || die
+}
+
+src_install() {
+   meson_src_install
+
+   newconfd "${FILESDIR}"/lxcfs-5.0.2.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-5.0.2.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-5.0.2.service lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2023-08-31 Thread Joonas Niilola
commit: 63bab52b96978b8e2919a99d0336d34f02f5ca00
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Aug 31 06:26:12 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Aug 31 07:07:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63bab52b

sys-fs/lxcfs: stabilize 5.0.4 for amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.4.ebuild b/sys-fs/lxcfs/lxcfs-5.0.4.ebuild
index ef62a49d82c3..cf1c6ee0cb54 100644
--- a/sys-fs/lxcfs/lxcfs-5.0.4.ebuild
+++ b/sys-fs/lxcfs/lxcfs-5.0.4.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0 LGPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 IUSE="doc test"
 
 DEPEND="sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2023-07-25 Thread Joonas Niilola
commit: 47df59fcd374c3b6d183264f5f3b3e56928a
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Jul 26 05:07:01 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jul 26 05:15:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47df59fc

sys-fs/lxcfs: add 5.0.4

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 ++
 sys-fs/lxcfs/lxcfs-5.0.4.ebuild | 80 +
 2 files changed, 82 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 490192a63102..a733525b98af 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,4 @@
 DIST lxcfs-5.0.3.tar.gz 103697 BLAKE2B 
bdea820f1a5b799309b3d5c8ea439477e6eeda2d9600a348a92b203f2f8a6e0e686d0bf56d8f6b5bbfeb4837dd5737626d7d0610157211f0f189711e9e45a048
 SHA512 
967e60bd7ea545f1fcdd805adc0083e39684013c18f42a51753b5be8cdabfb86a652d02471a1f71c7b4fa756da09b72d324b724d68091d539edd10ea63add1fd
 DIST lxcfs-5.0.3.tar.gz.asc 833 BLAKE2B 
2dc139639431d9430149369b0a28b6debef0de9f5f69854070d8f2e47718bcc130a869683dfa2b0002c6a54978b0550303adbd5a7fa5ef565eb6bc6bbfcde9e0
 SHA512 
0207c110553b9d62cf88ec70ed4472b9696d74b277af1e53df6d1145228b76d06695fd28bf20c8428bee5b6ff617c617fbf063c1c8ff0bcc44be2e3439c76a64
+DIST lxcfs-5.0.4.tar.gz 104249 BLAKE2B 
83a7b861136c34da8a24dd525fd0767193f2bbd92b40e3b9fd5e42d7645465411792e65e95797ab13b0299d12b19bdd5786352875ed88ac0097b72b711a9
 SHA512 
b404045dbabe23e1d1f1d74c1648d2596bb70aaa9f9e46f9f5635b0a02d0c451f68b2559920bbefc5b889e908cf1da0a33c148b26bdce3e45c3d0cbdff710604
+DIST lxcfs-5.0.4.tar.gz.asc 833 BLAKE2B 
aff883d24b374b296ea3678670e5e82c723fd0e35cfd7fed555aabbd811a104becc0b741331b4aa4a5129c9fff4dc88c6a86e7d64a89fe86aea81718f5d432dd
 SHA512 
56b639597dbaf3008fe030147ea37192bd465c467a79e11ce139bcaa6bca1625b4bb9c4eda6ea1877446769f0fad9b4c5a3513d4f4415b841db96d5da8325ddc

diff --git a/sys-fs/lxcfs/lxcfs-5.0.4.ebuild b/sys-fs/lxcfs/lxcfs-5.0.4.ebuild
new file mode 100644
index ..ef62a49d82c3
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-5.0.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit cmake meson python-any-r1 systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc test"
+
+DEPEND="sys-fs/fuse:3"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}
+   virtual/pkgconfig
+   $(python_gen_any_dep '
+   dev-python/jinja[${PYTHON_USEDEP}]
+   ')
+   doc? ( sys-apps/help2man )
+   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
+
+# Needs some black magic to work inside container/chroot.
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+python_check_deps() {
+   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # Fix python shebangs for python-exec[-native-symlinks], #851480
+   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
+   python_fix_shebang -q ${shebangs[*]}
+}
+
+src_configure() {
+   local emesonargs=(
+   --localstatedir "${EPREFIX}/var"
+
+   $(meson_use doc docs)
+   $(meson_use test tests)
+
+   -Dfuse-version=3
+   -Dinit-script=""
+   -Dwith-init-script=""
+   )
+
+   meson_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
+   ./main.sh || die
+}
+
+src_install() {
+   meson_src_install
+
+   newconfd "${FILESDIR}"/lxcfs-5.0.2.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-5.0.2.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-5.0.2.service lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2023-02-25 Thread Joonas Niilola
commit: 3d5a795fd3d6352b402fee489df49e027e842df4
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Feb 26 06:40:56 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Feb 26 06:40:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d5a795f

sys-fs/lxcfs: drop 5.0.2-r2

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest  |  2 -
 sys-fs/lxcfs/lxcfs-5.0.2-r2.ebuild | 79 --
 2 files changed, 81 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index ff7b115ec0f8..490192a63102 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,2 @@
-DIST lxcfs-5.0.2.tar.gz 103236 BLAKE2B 
5fc8dc437e97a79c78320f8d8111746b171b086beb176a6ada30b8c23164ae4e58ad42806bc0ea7315d94816bd9b3d5500f9e2a306e2458d23fb111bf68f
 SHA512 
df51e7154060dd7efe992eb2bc40c5a52dce8c52063477110ed414ecc3f430f18d5023a29be6866560fc87b060c2158cc1e947f030c509188320d417eb23d407
-DIST lxcfs-5.0.2.tar.gz.asc 833 BLAKE2B 
a411c6cb4f3382469ea80a974166c98b57ae4b92712bf55507720fc78ec73ef6acbd47f6b3410294b209f77f1f3a17dc4b9fb4dda00bb7323ef32c7185ba4c2e
 SHA512 
f9d54e26d406ebca97c82298361318f13e74fd55285c2b6563ae6c71af63d9b8325ac06b9de8103a95a19c5d965c2d907c313ac151210a162998f8a37ea99676
 DIST lxcfs-5.0.3.tar.gz 103697 BLAKE2B 
bdea820f1a5b799309b3d5c8ea439477e6eeda2d9600a348a92b203f2f8a6e0e686d0bf56d8f6b5bbfeb4837dd5737626d7d0610157211f0f189711e9e45a048
 SHA512 
967e60bd7ea545f1fcdd805adc0083e39684013c18f42a51753b5be8cdabfb86a652d02471a1f71c7b4fa756da09b72d324b724d68091d539edd10ea63add1fd
 DIST lxcfs-5.0.3.tar.gz.asc 833 BLAKE2B 
2dc139639431d9430149369b0a28b6debef0de9f5f69854070d8f2e47718bcc130a869683dfa2b0002c6a54978b0550303adbd5a7fa5ef565eb6bc6bbfcde9e0
 SHA512 
0207c110553b9d62cf88ec70ed4472b9696d74b277af1e53df6d1145228b76d06695fd28bf20c8428bee5b6ff617c617fbf063c1c8ff0bcc44be2e3439c76a64

diff --git a/sys-fs/lxcfs/lxcfs-5.0.2-r2.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.2-r2.ebuild
deleted file mode 100644
index 551954d58b74..
--- a/sys-fs/lxcfs/lxcfs-5.0.2-r2.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake meson python-any-r1 systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0 LGPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv ~x86"
-IUSE="doc test"
-
-DEPEND="sys-fs/fuse:3"
-RDEPEND="${DEPEND}"
-BDEPEND="${PYTHON_DEPS}
-   $(python_gen_any_dep '
-   dev-python/jinja[${PYTHON_USEDEP}]
-   ')
-   doc? ( sys-apps/help2man )
-   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
-
-# Needs some black magic to work inside container/chroot.
-RESTRICT="test"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-python_check_deps() {
-   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   # Fix python shebangs for python-exec[-native-symlinks], #851480
-   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
-   python_fix_shebang -q ${shebangs[*]}
-}
-
-src_configure() {
-   local emesonargs=(
-   --localstatedir "${EPREFIX}/var"
-
-   $(meson_use doc docs)
-   $(meson_use test tests)
-
-   -Dfuse-version=3
-   -Dinit-script=""
-   -Dwith-init-script=""
-   )
-
-   meson_src_configure
-}
-
-src_test() {
-   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
-   ./main.sh || die
-}
-
-src_install() {
-   meson_src_install
-
-   newconfd "${FILESDIR}"/lxcfs-5.0.2.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-5.0.2.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-5.0.2.service lxcfs.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2023-02-20 Thread Joonas Niilola
commit: 3f6a8f2d0f45e7cb49d577bc3de941f1a7dc46c9
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Feb 20 07:30:49 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb 20 08:06:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6a8f2d

sys-fs/lxcfs: stabilize 5.0.3 for amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.3.ebuild b/sys-fs/lxcfs/lxcfs-5.0.3.ebuild
index 7b0cddf69ea4..81d150efcb9b 100644
--- a/sys-fs/lxcfs/lxcfs-5.0.3.ebuild
+++ b/sys-fs/lxcfs/lxcfs-5.0.3.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0 LGPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 IUSE="doc test"
 
 DEPEND="sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2023-01-19 Thread Joonas Niilola
commit: 3e04e390d37c2e1c2d2e54c771f6c233c1ea
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Jan 19 13:28:38 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jan 19 15:10:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e04e390

sys-fs/lxcfs: add 5.0.3

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 ++
 sys-fs/lxcfs/lxcfs-5.0.3.ebuild | 79 +
 2 files changed, 81 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 574a1ae9db4b..ff7b115ec0f8 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,4 @@
 DIST lxcfs-5.0.2.tar.gz 103236 BLAKE2B 
5fc8dc437e97a79c78320f8d8111746b171b086beb176a6ada30b8c23164ae4e58ad42806bc0ea7315d94816bd9b3d5500f9e2a306e2458d23fb111bf68f
 SHA512 
df51e7154060dd7efe992eb2bc40c5a52dce8c52063477110ed414ecc3f430f18d5023a29be6866560fc87b060c2158cc1e947f030c509188320d417eb23d407
 DIST lxcfs-5.0.2.tar.gz.asc 833 BLAKE2B 
a411c6cb4f3382469ea80a974166c98b57ae4b92712bf55507720fc78ec73ef6acbd47f6b3410294b209f77f1f3a17dc4b9fb4dda00bb7323ef32c7185ba4c2e
 SHA512 
f9d54e26d406ebca97c82298361318f13e74fd55285c2b6563ae6c71af63d9b8325ac06b9de8103a95a19c5d965c2d907c313ac151210a162998f8a37ea99676
+DIST lxcfs-5.0.3.tar.gz 103697 BLAKE2B 
bdea820f1a5b799309b3d5c8ea439477e6eeda2d9600a348a92b203f2f8a6e0e686d0bf56d8f6b5bbfeb4837dd5737626d7d0610157211f0f189711e9e45a048
 SHA512 
967e60bd7ea545f1fcdd805adc0083e39684013c18f42a51753b5be8cdabfb86a652d02471a1f71c7b4fa756da09b72d324b724d68091d539edd10ea63add1fd
+DIST lxcfs-5.0.3.tar.gz.asc 833 BLAKE2B 
2dc139639431d9430149369b0a28b6debef0de9f5f69854070d8f2e47718bcc130a869683dfa2b0002c6a54978b0550303adbd5a7fa5ef565eb6bc6bbfcde9e0
 SHA512 
0207c110553b9d62cf88ec70ed4472b9696d74b277af1e53df6d1145228b76d06695fd28bf20c8428bee5b6ff617c617fbf063c1c8ff0bcc44be2e3439c76a64

diff --git a/sys-fs/lxcfs/lxcfs-5.0.3.ebuild b/sys-fs/lxcfs/lxcfs-5.0.3.ebuild
new file mode 100644
index ..7b0cddf69ea4
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-5.0.3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake meson python-any-r1 systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc test"
+
+DEPEND="sys-fs/fuse:3"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}
+   $(python_gen_any_dep '
+   dev-python/jinja[${PYTHON_USEDEP}]
+   ')
+   doc? ( sys-apps/help2man )
+   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
+
+# Needs some black magic to work inside container/chroot.
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+python_check_deps() {
+   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # Fix python shebangs for python-exec[-native-symlinks], #851480
+   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
+   python_fix_shebang -q ${shebangs[*]}
+}
+
+src_configure() {
+   local emesonargs=(
+   --localstatedir "${EPREFIX}/var"
+
+   $(meson_use doc docs)
+   $(meson_use test tests)
+
+   -Dfuse-version=3
+   -Dinit-script=""
+   -Dwith-init-script=""
+   )
+
+   meson_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
+   ./main.sh || die
+}
+
+src_install() {
+   meson_src_install
+
+   newconfd "${FILESDIR}"/lxcfs-5.0.2.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-5.0.2.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-5.0.2.service lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-11-01 Thread Joonas Niilola
commit: cde0a13355f738dfaf3031ec81b47c5e7bb91a20
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Nov  1 11:19:04 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Nov  1 12:19:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cde0a133

sys-fs/lxcfs: define and fix --localstatedir

Closes: https://bugs.gentoo.org/878603
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/{lxcfs-5.0.2-r1.ebuild => lxcfs-5.0.2-r2.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.2-r2.ebuild
similarity index 98%
rename from sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild
rename to sys-fs/lxcfs/lxcfs-5.0.2-r2.ebuild
index e47074074d12..551954d58b74 100644
--- a/sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild
+++ b/sys-fs/lxcfs/lxcfs-5.0.2-r2.ebuild
@@ -49,6 +49,8 @@ src_prepare() {
 
 src_configure() {
local emesonargs=(
+   --localstatedir "${EPREFIX}/var"
+
$(meson_use doc docs)
$(meson_use test tests)
 



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2022-10-14 Thread Joonas Niilola
commit: ba996569d35fcbff36dad87464c0cd0d60359370
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Oct 14 06:05:24 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 14 06:05:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba996569

sys-fs/lxcfs: drop 5.0.0_p20220524

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest |  1 -
 sys-fs/lxcfs/files/lxcfs-4.0.0.confd  |  7 ---
 sys-fs/lxcfs/files/lxcfs-4.0.0.initd  | 26 ---
 sys-fs/lxcfs/files/lxcfs-4.0.0.service| 18 
 sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild | 77 ---
 5 files changed, 129 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 93e0ab7ebffd..574a1ae9db4b 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,2 @@
-DIST lxcfs-5.0.0_p20220524.tar.gz 101563 BLAKE2B 
2bf282aed5490d160a563ae97fdfbb887366a6ec60ea7f36f5400e4a11330c51ac3096d63c99dd4aa2ebe1a3497102af9df41ebd40e38b3bde6c6dcd4265b336
 SHA512 
c1183096dd2b74ef859183451b8c909f762e3c56dce0b9384ac163a6b6b3f7a17a63e840742f4cc5ac50b1f25d402583ca6cf31c1617754b35e21c5c991515f4
 DIST lxcfs-5.0.2.tar.gz 103236 BLAKE2B 
5fc8dc437e97a79c78320f8d8111746b171b086beb176a6ada30b8c23164ae4e58ad42806bc0ea7315d94816bd9b3d5500f9e2a306e2458d23fb111bf68f
 SHA512 
df51e7154060dd7efe992eb2bc40c5a52dce8c52063477110ed414ecc3f430f18d5023a29be6866560fc87b060c2158cc1e947f030c509188320d417eb23d407
 DIST lxcfs-5.0.2.tar.gz.asc 833 BLAKE2B 
a411c6cb4f3382469ea80a974166c98b57ae4b92712bf55507720fc78ec73ef6acbd47f6b3410294b209f77f1f3a17dc4b9fb4dda00bb7323ef32c7185ba4c2e
 SHA512 
f9d54e26d406ebca97c82298361318f13e74fd55285c2b6563ae6c71af63d9b8325ac06b9de8103a95a19c5d965c2d907c313ac151210a162998f8a37ea99676

diff --git a/sys-fs/lxcfs/files/lxcfs-4.0.0.confd 
b/sys-fs/lxcfs/files/lxcfs-4.0.0.confd
deleted file mode 100644
index ba443ee4b1f1..
--- a/sys-fs/lxcfs/files/lxcfs-4.0.0.confd
+++ /dev/null
@@ -1,7 +0,0 @@
-# /etc/conf.d/lxcfs: config file for /etc/init.d/lxcfs
-
-# lxcfs options:
-# -l == calculate container load average instead of displaying host load 
average
-# -u == don't display swap usage to containers
-
-LXCFS_OPTS="-l -u"

diff --git a/sys-fs/lxcfs/files/lxcfs-4.0.0.initd 
b/sys-fs/lxcfs/files/lxcfs-4.0.0.initd
deleted file mode 100644
index d9368e4f28cf..
--- a/sys-fs/lxcfs/files/lxcfs-4.0.0.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-DAEMON=/usr/bin/lxcfs
-PIDFILE=/run/lxcfs.pid
-
-start() {
-   ebegin "Starting lxcfs."
-   /sbin/modprobe -q fuse
-   install -d /var/lib/lxcfs
-   start-stop-daemon --start \
-   --pidfile ${PIDFILE} \
-   --exec ${DAEMON} \
-   --background \
-   --make-pidfile \
-   -- ${LXCFS_OPTS} \
-   /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-4.0.0.service 
b/sys-fs/lxcfs/files/lxcfs-4.0.0.service
deleted file mode 100644
index 0bdab880a790..
--- a/sys-fs/lxcfs/files/lxcfs-4.0.0.service
+++ /dev/null
@@ -1,18 +0,0 @@
-[Unit]
-Description=FUSE filesystem for LXC
-ConditionVirtualization=!container
-Before=lxc.service
-Documentation=man:lxcfs(1)
-
-[Service]
-ExecStartPre=/sbin/modprobe -q fuse
-ExecStartPre=install -d /var/lib/lxcfs
-ExecStart=/usr/bin/lxcfs /var/lib/lxcfs
-KillMode=process
-Restart=on-failure
-ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs
-Delegate=yes
-ExecReload=/bin/kill -USR1 ${MAINPID}
-
-[Install]
-WantedBy=multi-user.target

diff --git a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
deleted file mode 100644
index c9ff5e704ff7..
--- a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake meson python-any-r1 systemd
-
-MY_COMMIT="18e78f70fa6764be4e4f6fcc6ae8d314da7f3a91"
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://github.com/lxc/lxcfs/archive/${MY_COMMIT}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0 LGPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv ~x86"
-IUSE="doc test"
-
-DEPEND="sys-fs/fuse:3"
-RDEPEND="${DEPEND}"
-BDEPEND="${PYTHON_DEPS}
-   $(python_gen_any_dep '
-   dev-python/jinja[${PYTHON_USEDEP}]
-   ')
-   doc? ( sys-apps/help2man )"
-
-# Needs some black magic to work inside container/chroot.
-RESTRICT="test"
-

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-10-10 Thread Joonas Niilola
commit: 716eeff10397b2457164de38cba706a583003752
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Oct 10 11:47:05 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 10 12:20:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=716eeff1

sys-fs/lxcfs: stabilize 5.0.2-r1 for amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild
index 23eccfc4b1f7..e47074074d12 100644
--- a/sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild
+++ b/sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0 LGPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 IUSE="doc test"
 
 DEPEND="sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-09-09 Thread Joonas Niilola
commit: 61e954b816bdbe2a219ac19d238d7ede1f3600a2
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Sep 10 05:20:08 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Sep 10 05:20:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e954b8

sys-fs/lxcfs: drop 5.0.2

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.2.ebuild | 77 -
 1 file changed, 77 deletions(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.2.ebuild b/sys-fs/lxcfs/lxcfs-5.0.2.ebuild
deleted file mode 100644
index 9af4475e9807..
--- a/sys-fs/lxcfs/lxcfs-5.0.2.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake meson python-any-r1 systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0 LGPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-IUSE="doc test"
-
-DEPEND="sys-fs/fuse:3"
-RDEPEND="${DEPEND}"
-BDEPEND="${PYTHON_DEPS}
-   $(python_gen_any_dep '
-   dev-python/jinja[${PYTHON_USEDEP}]
-   ')
-   doc? ( sys-apps/help2man )
-   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
-
-# Needs some black magic to work inside container/chroot.
-RESTRICT="test"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-python_check_deps() {
-   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   # Fix python shebangs for python-exec[-native-symlinks], #851480
-   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
-   python_fix_shebang -q ${shebangs[*]}
-}
-
-src_configure() {
-   local emesonargs=(
-   $(meson_use doc docs)
-   $(meson_use test tests)
-
-   -Dfuse-version=3
-   -Dinit-script=""
-   -Dwith-init-script=""
-   )
-
-   meson_src_configure
-}
-
-src_test() {
-   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
-   ./main.sh || die
-}
-
-src_install() {
-   meson_src_install
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2022-09-08 Thread Joonas Niilola
commit: cb81fce5810abaf904df8bf3df43cb07b18bf376
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Sep  8 06:38:36 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Sep  8 06:42:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb81fce5

sys-fs/lxcfs: tweak init/service files for fuse:3

 - dependency is on fuse:3 instead of fuse:0,
 - update openrc files to call fusermount3,
 - update openrc files to have LXCFS_PATH config option,
 - update systemd service file to call fusermount3.

Closes: https://bugs.gentoo.org/868477
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/files/lxcfs-5.0.2.confd   |  8 
 sys-fs/lxcfs/files/lxcfs-5.0.2.initd   | 27 
 sys-fs/lxcfs/files/lxcfs-5.0.2.service | 18 
 sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild | 77 ++
 4 files changed, 130 insertions(+)

diff --git a/sys-fs/lxcfs/files/lxcfs-5.0.2.confd 
b/sys-fs/lxcfs/files/lxcfs-5.0.2.confd
new file mode 100644
index ..bc853aa681be
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-5.0.2.confd
@@ -0,0 +1,8 @@
+# /etc/conf.d/lxcfs: config file for /etc/init.d/lxcfs
+
+# lxcfs options:
+# -l == calculate container load average instead of displaying host load 
average
+# -u == don't display swap usage to containers
+
+LXCFS_OPTS="-l -u"
+LXCFS_PATH="/var/lib/lxcfs"

diff --git a/sys-fs/lxcfs/files/lxcfs-5.0.2.initd 
b/sys-fs/lxcfs/files/lxcfs-5.0.2.initd
new file mode 100644
index ..f3119f2e8e82
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-5.0.2.initd
@@ -0,0 +1,27 @@
+#!/sbin/openrc-run
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+DAEMON=/usr/bin/lxcfs
+PIDFILE=/run/lxcfs.pid
+
+start() {
+   ebegin "Starting lxcfs."
+   /sbin/modprobe -q fuse
+   install -d "${LXCFS_PATH}"
+   start-stop-daemon --start \
+   --pidfile ${PIDFILE} \
+   --exec ${DAEMON} \
+   --background \
+   --make-pidfile \
+   -- ${LXCFS_OPTS} \
+   "${LXCFS_PATH}"
+   eend ${?}
+}
+
+stop() {
+   ebegin "Stopping lxcfs."
+   /usr/bin/fusermount3 -u "${LXCFS_PATH}"
+   start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
+   eend ${?}
+}

diff --git a/sys-fs/lxcfs/files/lxcfs-5.0.2.service 
b/sys-fs/lxcfs/files/lxcfs-5.0.2.service
new file mode 100644
index ..dc3dc9f18f63
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-5.0.2.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=FUSE filesystem for LXC
+ConditionVirtualization=!container
+Before=lxc.service
+Documentation=man:lxcfs(1)
+
+[Service]
+ExecStartPre=/sbin/modprobe -q fuse
+ExecStartPre=install -d /var/lib/lxcfs
+ExecStart=/usr/bin/lxcfs /var/lib/lxcfs
+KillMode=process
+Restart=on-failure
+ExecStopPost=-/usr/bin/fusermount3 -u /var/lib/lxcfs
+Delegate=yes
+ExecReload=/bin/kill -USR1 ${MAINPID}
+
+[Install]
+WantedBy=multi-user.target

diff --git a/sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild
new file mode 100644
index ..23eccfc4b1f7
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-5.0.2-r1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake meson python-any-r1 systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc test"
+
+DEPEND="sys-fs/fuse:3"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}
+   $(python_gen_any_dep '
+   dev-python/jinja[${PYTHON_USEDEP}]
+   ')
+   doc? ( sys-apps/help2man )
+   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
+
+# Needs some black magic to work inside container/chroot.
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+python_check_deps() {
+   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # Fix python shebangs for python-exec[-native-symlinks], #851480
+   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
+   python_fix_shebang -q ${shebangs[*]}
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc docs)
+   $(meson_use test tests)
+
+   -Dfuse-version=3
+   -Dinit-script=""
+   -Dwith-init-script=""
+   )
+
+   meson_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/tests || die "failed to change 

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2022-08-16 Thread Joonas Niilola
commit: f6d48291b04a9517f65d4642f663d04552a2d6fc
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug 16 07:52:57 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 16 07:55:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d48291

sys-fs/lxcfs: drop 5.0.1-r1

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest  |  2 -
 ...cfs-5.0.1-fix-reinitialization-with-fuse3.patch | 71 ---
 sys-fs/lxcfs/lxcfs-5.0.1-r1.ebuild | 79 --
 3 files changed, 152 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index be566a9bba41..93e0ab7ebffd 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,5 +1,3 @@
 DIST lxcfs-5.0.0_p20220524.tar.gz 101563 BLAKE2B 
2bf282aed5490d160a563ae97fdfbb887366a6ec60ea7f36f5400e4a11330c51ac3096d63c99dd4aa2ebe1a3497102af9df41ebd40e38b3bde6c6dcd4265b336
 SHA512 
c1183096dd2b74ef859183451b8c909f762e3c56dce0b9384ac163a6b6b3f7a17a63e840742f4cc5ac50b1f25d402583ca6cf31c1617754b35e21c5c991515f4
-DIST lxcfs-5.0.1.tar.gz 103221 BLAKE2B 
49cd0be04d358db81046ac78e66e8acaa86ef66e51a869b884cb75e98c0501ee7db1b1e5604ca44f105f04378418e8077738a6d6abf85c48b35dfee2b93131e9
 SHA512 
edc685914e73b055161b8efe9109aca7bc2b1f1285e06a71b697f97d2e7f4cddf5256519325bf628318b64ae0203f594928d9e772e04988971151c4e46788818
-DIST lxcfs-5.0.1.tar.gz.asc 833 BLAKE2B 
a280e506f154497af3cc6a61bf458830939c67a6a065da1c0509f44ed07bd58bf80c10b5bfdbb18027ae2f200aaa2e9ca4b76cde070b860c34fb2cca7083e809
 SHA512 
90b982b61fcc56ac23fcef344014252faba280a8fb7539d28dbe2d36dc433c8de93d2c065d160cb98b42ab4b341d01ff2a379cad12827d8b70885c044e9e9ae8
 DIST lxcfs-5.0.2.tar.gz 103236 BLAKE2B 
5fc8dc437e97a79c78320f8d8111746b171b086beb176a6ada30b8c23164ae4e58ad42806bc0ea7315d94816bd9b3d5500f9e2a306e2458d23fb111bf68f
 SHA512 
df51e7154060dd7efe992eb2bc40c5a52dce8c52063477110ed414ecc3f430f18d5023a29be6866560fc87b060c2158cc1e947f030c509188320d417eb23d407
 DIST lxcfs-5.0.2.tar.gz.asc 833 BLAKE2B 
a411c6cb4f3382469ea80a974166c98b57ae4b92712bf55507720fc78ec73ef6acbd47f6b3410294b209f77f1f3a17dc4b9fb4dda00bb7323ef32c7185ba4c2e
 SHA512 
f9d54e26d406ebca97c82298361318f13e74fd55285c2b6563ae6c71af63d9b8325ac06b9de8103a95a19c5d965c2d907c313ac151210a162998f8a37ea99676

diff --git 
a/sys-fs/lxcfs/files/lxcfs-5.0.1-fix-reinitialization-with-fuse3.patch 
b/sys-fs/lxcfs/files/lxcfs-5.0.1-fix-reinitialization-with-fuse3.patch
deleted file mode 100644
index 45450504804a..
--- a/sys-fs/lxcfs/files/lxcfs-5.0.1-fix-reinitialization-with-fuse3.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From 5976d0349c1900e2649b7d2904d98ba6a7278e6b Mon Sep 17 00:00:00 2001
-From: Wolfgang Bumiller 
-Date: Fri, 29 Jul 2022 09:30:10 +0200
-Subject: [PATCH] fix reinitialization with fuse3
-
-With fuse3 `fuse_get_context` returns NULL before fuse was
-fully initialized, so we must not access it.
-
-Futher, we call 'do_reload' for normal initialization as
-well, so let's prevent that from re-initializing the
-bindings initially and only do this on actual reloads,
-otherwise we do it twice on startup.
-
-Signed-off-by: Wolfgang Bumiller 
-Fixes #549

- src/bindings.c | 2 +-
- src/lxcfs.c| 8 
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/bindings.c b/src/bindings.c
-index 422a6229..fee7ede0 100644
 a/src/bindings.c
-+++ b/src/bindings.c
-@@ -943,5 +943,5 @@ void *lxcfs_fuse_init(struct fuse_conn_info *conn, void 
*data)
-   can_use_sys_cpu = true;
- #endif
-   has_versioned_opts = true;
--  return fc->private_data;
-+  return fc ? fc->private_data : NULL;
- }
-diff --git a/src/lxcfs.c b/src/lxcfs.c
-index d1a3d805..fed896c9 100644
 a/src/lxcfs.c
-+++ b/src/lxcfs.c
-@@ -123,7 +123,7 @@ static int lxcfs_init_library(void)
- 
- /* do_reload - reload the dynamic library.  Done under
-  * lock and when we know the user_count was 0 */
--static void do_reload(void)
-+static void do_reload(bool reinit)
- {
-   int ret;
-   char lxcfs_lib_path[PATH_MAX];
-@@ -164,7 +164,7 @@ static void do_reload(void)
- 
- good:
-   /* initialize the library */
--  if (lxcfs_init_library() < 0) {
-+  if (reinit && lxcfs_init_library() < 0) {
-   log_exit("Failed to initialize liblxcfs.so");
-   }
- 
-@@ -180,7 +180,7 @@ static void up_users(void)
- {
-   users_lock();
-   if (users_count == 0 && need_reload)
--  do_reload();
-+  do_reload(true);
-   users_count++;
-   users_unlock();
- }
-@@ -1362,7 +1362,7 @@ int main(int argc, char *argv[])
-   fuse_argv[fuse_argc++] = new_argv[0];
-   fuse_argv[fuse_argc] = NULL;
- 
--  do_reload();
-+  do_reload(false);
-   if (install_signal_handler(SIGUSR1, sigusr1_reload)) {
-   lxcfs_error("%s - Failed to install SIGUSR1 signal handler", 
strerror(errno));
-   goto out;

diff --git 

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-08-10 Thread Joonas Niilola
commit: 447dcfcbf1d403fc359dbdd1c6206d4c0d727c4d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Aug 10 06:02:48 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 10 06:03:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=447dcfcb

sys-fs/lxcfs: add 5.0.2

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 ++
 sys-fs/lxcfs/lxcfs-5.0.2.ebuild | 77 +
 2 files changed, 79 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 8277a30a42fe..be566a9bba41 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,5 @@
 DIST lxcfs-5.0.0_p20220524.tar.gz 101563 BLAKE2B 
2bf282aed5490d160a563ae97fdfbb887366a6ec60ea7f36f5400e4a11330c51ac3096d63c99dd4aa2ebe1a3497102af9df41ebd40e38b3bde6c6dcd4265b336
 SHA512 
c1183096dd2b74ef859183451b8c909f762e3c56dce0b9384ac163a6b6b3f7a17a63e840742f4cc5ac50b1f25d402583ca6cf31c1617754b35e21c5c991515f4
 DIST lxcfs-5.0.1.tar.gz 103221 BLAKE2B 
49cd0be04d358db81046ac78e66e8acaa86ef66e51a869b884cb75e98c0501ee7db1b1e5604ca44f105f04378418e8077738a6d6abf85c48b35dfee2b93131e9
 SHA512 
edc685914e73b055161b8efe9109aca7bc2b1f1285e06a71b697f97d2e7f4cddf5256519325bf628318b64ae0203f594928d9e772e04988971151c4e46788818
 DIST lxcfs-5.0.1.tar.gz.asc 833 BLAKE2B 
a280e506f154497af3cc6a61bf458830939c67a6a065da1c0509f44ed07bd58bf80c10b5bfdbb18027ae2f200aaa2e9ca4b76cde070b860c34fb2cca7083e809
 SHA512 
90b982b61fcc56ac23fcef344014252faba280a8fb7539d28dbe2d36dc433c8de93d2c065d160cb98b42ab4b341d01ff2a379cad12827d8b70885c044e9e9ae8
+DIST lxcfs-5.0.2.tar.gz 103236 BLAKE2B 
5fc8dc437e97a79c78320f8d8111746b171b086beb176a6ada30b8c23164ae4e58ad42806bc0ea7315d94816bd9b3d5500f9e2a306e2458d23fb111bf68f
 SHA512 
df51e7154060dd7efe992eb2bc40c5a52dce8c52063477110ed414ecc3f430f18d5023a29be6866560fc87b060c2158cc1e947f030c509188320d417eb23d407
+DIST lxcfs-5.0.2.tar.gz.asc 833 BLAKE2B 
a411c6cb4f3382469ea80a974166c98b57ae4b92712bf55507720fc78ec73ef6acbd47f6b3410294b209f77f1f3a17dc4b9fb4dda00bb7323ef32c7185ba4c2e
 SHA512 
f9d54e26d406ebca97c82298361318f13e74fd55285c2b6563ae6c71af63d9b8325ac06b9de8103a95a19c5d965c2d907c313ac151210a162998f8a37ea99676

diff --git a/sys-fs/lxcfs/lxcfs-5.0.2.ebuild b/sys-fs/lxcfs/lxcfs-5.0.2.ebuild
new file mode 100644
index ..9af4475e9807
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-5.0.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake meson python-any-r1 systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc test"
+
+DEPEND="sys-fs/fuse:3"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}
+   $(python_gen_any_dep '
+   dev-python/jinja[${PYTHON_USEDEP}]
+   ')
+   doc? ( sys-apps/help2man )
+   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
+
+# Needs some black magic to work inside container/chroot.
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+python_check_deps() {
+   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # Fix python shebangs for python-exec[-native-symlinks], #851480
+   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
+   python_fix_shebang -q ${shebangs[*]}
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc docs)
+   $(meson_use test tests)
+
+   -Dfuse-version=3
+   -Dinit-script=""
+   -Dwith-init-script=""
+   )
+
+   meson_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
+   ./main.sh || die
+}
+
+src_install() {
+   meson_src_install
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-08-01 Thread Joonas Niilola
commit: 519f220b47ad9fb4886e7c4c62fd6cdef08f3be7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug  2 05:35:25 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug  2 05:35:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519f220b

sys-fs/lxcfs: drop 5.0.1

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.1.ebuild | 77 -
 1 file changed, 77 deletions(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.1.ebuild b/sys-fs/lxcfs/lxcfs-5.0.1.ebuild
deleted file mode 100644
index 9af4475e9807..
--- a/sys-fs/lxcfs/lxcfs-5.0.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake meson python-any-r1 systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0 LGPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-IUSE="doc test"
-
-DEPEND="sys-fs/fuse:3"
-RDEPEND="${DEPEND}"
-BDEPEND="${PYTHON_DEPS}
-   $(python_gen_any_dep '
-   dev-python/jinja[${PYTHON_USEDEP}]
-   ')
-   doc? ( sys-apps/help2man )
-   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
-
-# Needs some black magic to work inside container/chroot.
-RESTRICT="test"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-python_check_deps() {
-   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   # Fix python shebangs for python-exec[-native-symlinks], #851480
-   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
-   python_fix_shebang -q ${shebangs[*]}
-}
-
-src_configure() {
-   local emesonargs=(
-   $(meson_use doc docs)
-   $(meson_use test tests)
-
-   -Dfuse-version=3
-   -Dinit-script=""
-   -Dwith-init-script=""
-   )
-
-   meson_src_configure
-}
-
-src_test() {
-   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
-   ./main.sh || die
-}
-
-src_install() {
-   meson_src_install
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2022-08-01 Thread Joonas Niilola
commit: a1b35f5980098c9b168d4e02a59acf30bb22da64
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug  2 05:34:32 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug  2 05:35:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1b35f59

sys-fs/lxcfs: add a patch to fix an issue with fuse3 on 5.0.1

Closes: https://bugs.gentoo.org/862342
Signed-off-by: Joonas Niilola  gentoo.org>

 ...cfs-5.0.1-fix-reinitialization-with-fuse3.patch | 71 +++
 sys-fs/lxcfs/lxcfs-5.0.1-r1.ebuild | 79 ++
 2 files changed, 150 insertions(+)

diff --git 
a/sys-fs/lxcfs/files/lxcfs-5.0.1-fix-reinitialization-with-fuse3.patch 
b/sys-fs/lxcfs/files/lxcfs-5.0.1-fix-reinitialization-with-fuse3.patch
new file mode 100644
index ..45450504804a
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-5.0.1-fix-reinitialization-with-fuse3.patch
@@ -0,0 +1,71 @@
+From 5976d0349c1900e2649b7d2904d98ba6a7278e6b Mon Sep 17 00:00:00 2001
+From: Wolfgang Bumiller 
+Date: Fri, 29 Jul 2022 09:30:10 +0200
+Subject: [PATCH] fix reinitialization with fuse3
+
+With fuse3 `fuse_get_context` returns NULL before fuse was
+fully initialized, so we must not access it.
+
+Futher, we call 'do_reload' for normal initialization as
+well, so let's prevent that from re-initializing the
+bindings initially and only do this on actual reloads,
+otherwise we do it twice on startup.
+
+Signed-off-by: Wolfgang Bumiller 
+Fixes #549
+---
+ src/bindings.c | 2 +-
+ src/lxcfs.c| 8 
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/src/bindings.c b/src/bindings.c
+index 422a6229..fee7ede0 100644
+--- a/src/bindings.c
 b/src/bindings.c
+@@ -943,5 +943,5 @@ void *lxcfs_fuse_init(struct fuse_conn_info *conn, void 
*data)
+   can_use_sys_cpu = true;
+ #endif
+   has_versioned_opts = true;
+-  return fc->private_data;
++  return fc ? fc->private_data : NULL;
+ }
+diff --git a/src/lxcfs.c b/src/lxcfs.c
+index d1a3d805..fed896c9 100644
+--- a/src/lxcfs.c
 b/src/lxcfs.c
+@@ -123,7 +123,7 @@ static int lxcfs_init_library(void)
+ 
+ /* do_reload - reload the dynamic library.  Done under
+  * lock and when we know the user_count was 0 */
+-static void do_reload(void)
++static void do_reload(bool reinit)
+ {
+   int ret;
+   char lxcfs_lib_path[PATH_MAX];
+@@ -164,7 +164,7 @@ static void do_reload(void)
+ 
+ good:
+   /* initialize the library */
+-  if (lxcfs_init_library() < 0) {
++  if (reinit && lxcfs_init_library() < 0) {
+   log_exit("Failed to initialize liblxcfs.so");
+   }
+ 
+@@ -180,7 +180,7 @@ static void up_users(void)
+ {
+   users_lock();
+   if (users_count == 0 && need_reload)
+-  do_reload();
++  do_reload(true);
+   users_count++;
+   users_unlock();
+ }
+@@ -1362,7 +1362,7 @@ int main(int argc, char *argv[])
+   fuse_argv[fuse_argc++] = new_argv[0];
+   fuse_argv[fuse_argc] = NULL;
+ 
+-  do_reload();
++  do_reload(false);
+   if (install_signal_handler(SIGUSR1, sigusr1_reload)) {
+   lxcfs_error("%s - Failed to install SIGUSR1 signal handler", 
strerror(errno));
+   goto out;

diff --git a/sys-fs/lxcfs/lxcfs-5.0.1-r1.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.1-r1.ebuild
new file mode 100644
index ..1a0187e1c338
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-5.0.1-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake meson python-any-r1 systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc test"
+
+DEPEND="sys-fs/fuse:3"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}
+   $(python_gen_any_dep '
+   dev-python/jinja[${PYTHON_USEDEP}]
+   ')
+   doc? ( sys-apps/help2man )
+   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
+
+# Needs some black magic to work inside container/chroot.
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+PATCHES=( "${FILESDIR}"/lxcfs-5.0.1-fix-reinitialization-with-fuse3.patch )
+
+python_check_deps() {
+   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # Fix python shebangs for python-exec[-native-symlinks], #851480
+   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
+   python_fix_shebang -q ${shebangs[*]}
+}
+
+src_configure() {
+   local emesonargs=(
+   

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-07-27 Thread Joonas Niilola
commit: 31e3e279d3521ec63a4b43280bfdad68026ef8fa
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Jul 27 06:55:34 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jul 27 06:58:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31e3e279

sys-fs/lxcfs: add 5.0.1

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 ++
 sys-fs/lxcfs/lxcfs-5.0.1.ebuild | 77 +
 2 files changed, 79 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 9286cf363909..8277a30a42fe 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1 +1,3 @@
 DIST lxcfs-5.0.0_p20220524.tar.gz 101563 BLAKE2B 
2bf282aed5490d160a563ae97fdfbb887366a6ec60ea7f36f5400e4a11330c51ac3096d63c99dd4aa2ebe1a3497102af9df41ebd40e38b3bde6c6dcd4265b336
 SHA512 
c1183096dd2b74ef859183451b8c909f762e3c56dce0b9384ac163a6b6b3f7a17a63e840742f4cc5ac50b1f25d402583ca6cf31c1617754b35e21c5c991515f4
+DIST lxcfs-5.0.1.tar.gz 103221 BLAKE2B 
49cd0be04d358db81046ac78e66e8acaa86ef66e51a869b884cb75e98c0501ee7db1b1e5604ca44f105f04378418e8077738a6d6abf85c48b35dfee2b93131e9
 SHA512 
edc685914e73b055161b8efe9109aca7bc2b1f1285e06a71b697f97d2e7f4cddf5256519325bf628318b64ae0203f594928d9e772e04988971151c4e46788818
+DIST lxcfs-5.0.1.tar.gz.asc 833 BLAKE2B 
a280e506f154497af3cc6a61bf458830939c67a6a065da1c0509f44ed07bd58bf80c10b5bfdbb18027ae2f200aaa2e9ca4b76cde070b860c34fb2cca7083e809
 SHA512 
90b982b61fcc56ac23fcef344014252faba280a8fb7539d28dbe2d36dc433c8de93d2c065d160cb98b42ab4b341d01ff2a379cad12827d8b70885c044e9e9ae8

diff --git a/sys-fs/lxcfs/lxcfs-5.0.1.ebuild b/sys-fs/lxcfs/lxcfs-5.0.1.ebuild
new file mode 100644
index ..9af4475e9807
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-5.0.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake meson python-any-r1 systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc test"
+
+DEPEND="sys-fs/fuse:3"
+RDEPEND="${DEPEND}"
+BDEPEND="${PYTHON_DEPS}
+   $(python_gen_any_dep '
+   dev-python/jinja[${PYTHON_USEDEP}]
+   ')
+   doc? ( sys-apps/help2man )
+   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
+
+# Needs some black magic to work inside container/chroot.
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+python_check_deps() {
+   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # Fix python shebangs for python-exec[-native-symlinks], #851480
+   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
+   python_fix_shebang -q ${shebangs[*]}
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc docs)
+   $(meson_use test tests)
+
+   -Dfuse-version=3
+   -Dinit-script=""
+   -Dwith-init-script=""
+   )
+
+   meson_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
+   ./main.sh || die
+}
+
+src_install() {
+   meson_src_install
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-07-18 Thread Joonas Niilola
commit: 14ce80c08e33cfe7eaf6bbba3ccb99f2273f4b46
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Jul 18 06:59:51 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jul 18 07:01:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ce80c0

sys-fs/lxcfs: drop 4.0.12

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest|  2 --
 sys-fs/lxcfs/lxcfs-4.0.12.ebuild | 59 
 2 files changed, 61 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 130498a2362d..9286cf363909 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1 @@
-DIST lxcfs-4.0.12.tar.gz 461251 BLAKE2B 
c0d1cc699461eed2e29ddb1937e8f4719be78a8f17c20b9dd682a617bc0423b22b4491399b934aa7f4be8f5ca292ab4c9e97e7bf149700c0c3760c8b3804ae11
 SHA512 
da8415599bb08e4e15a7e4044edbcad217e4034d96366d508e06cceb2a75d459e24aeb7efd5716e2f41449ec653ecd9916f0d934f738e1df8e9576738cc1ac18
-DIST lxcfs-4.0.12.tar.gz.asc 833 BLAKE2B 
af8bf08039e7bc1f405c468de0dd628175cef3ea6087c5fa1c0d95f9153df939a84f9a5d9d895fb471c0262616eb88f03532ac789b0c6198ad1349cff9a6c5de
 SHA512 
20f1919ff216f5459e8e387c78b1430b5122e662adec27bdd9c6fd4565645b73ed5bce5e7e843da05d8cfdc17f1a3e964c20c6ad47d4dbd5df68c3f9359fb362
 DIST lxcfs-5.0.0_p20220524.tar.gz 101563 BLAKE2B 
2bf282aed5490d160a563ae97fdfbb887366a6ec60ea7f36f5400e4a11330c51ac3096d63c99dd4aa2ebe1a3497102af9df41ebd40e38b3bde6c6dcd4265b336
 SHA512 
c1183096dd2b74ef859183451b8c909f762e3c56dce0b9384ac163a6b6b3f7a17a63e840742f4cc5ac50b1f25d402583ca6cf31c1617754b35e21c5c991515f4

diff --git a/sys-fs/lxcfs/lxcfs-4.0.12.ebuild b/sys-fs/lxcfs/lxcfs-4.0.12.ebuild
deleted file mode 100644
index 62d6d70ca93a..
--- a/sys-fs/lxcfs/lxcfs-4.0.12.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0 LGPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv ~x86"
-
-RDEPEND="sys-fs/fuse:3"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/help2man
-   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
-
-# Looks like these won't ever work in a container/chroot environment. #764620
-RESTRICT="test"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # Needed for x86 support, bug #819762
-   # May be able to drop when/if ported to meson, but re-test w/ x86 chroot
-   append-lfs-flags
-
-   # Without the localstatedir the filesystem isn't mounted correctly
-   # Without with-distro ./configure will fail when cross-compiling
-   econf --localstatedir=/var --with-distro=gentoo --disable-static
-}
-
-src_test() {
-   cd tests/ || die
-   emake -j1 tests
-   ./main.sh || die "Tests failed"
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-06-14 Thread Joonas Niilola
commit: 01cda07757e3eeea47a250899269873d0887748d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Jun 14 08:18:36 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Jun 14 14:35:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01cda077

sys-fs/lxcfs: stabilize 5.0.0_p20220524 for amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
index 638e39e113e1..c9ff5e704ff7 100644
--- a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
+++ b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/lxc/lxcfs/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz
 
 LICENSE="Apache-2.0 LGPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 IUSE="doc test"
 
 DEPEND="sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-06-12 Thread Joonas Niilola
commit: 56fbf10cec3a432c20a9aa731b0eaa5c3b9fc1d7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Jun 12 16:20:38 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jun 12 16:20:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56fbf10c

sys-fs/lxcfs: ensure that a working jinja2 is installed for 5.0.0

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
index b79143a65295..638e39e113e1 100644
--- a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
+++ b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
@@ -21,7 +21,9 @@ IUSE="doc test"
 DEPEND="sys-fs/fuse:3"
 RDEPEND="${DEPEND}"
 BDEPEND="${PYTHON_DEPS}
-   dev-python/jinja
+   $(python_gen_any_dep '
+   dev-python/jinja[${PYTHON_USEDEP}]
+   ')
doc? ( sys-apps/help2man )"
 
 # Needs some black magic to work inside container/chroot.
@@ -29,6 +31,10 @@ RESTRICT="test"
 
 S="${WORKDIR}/${PN}-${MY_COMMIT}"
 
+python_check_deps() {
+   python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+}
+
 pkg_setup() {
python-any-r1_pkg_setup
 }



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-06-12 Thread Joonas Niilola
commit: dbeddbb04013435d1925df5ef648bf1ecd677b38
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Jun 12 15:59:56 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jun 12 16:03:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbeddbb0

sys-fs/lxcfs: fix dev-lang/python-exec[-native-symlinks] on 5.0.0

Closes: https://bugs.gentoo.org/851480
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild | 15 +--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
index 361a48aafa07..b79143a65295 100644
--- a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
+++ b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=8
 
-inherit cmake meson systemd
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit cmake meson python-any-r1 systemd
 
 MY_COMMIT="18e78f70fa6764be4e4f6fcc6ae8d314da7f3a91"
 
@@ -18,7 +20,8 @@ IUSE="doc test"
 
 DEPEND="sys-fs/fuse:3"
 RDEPEND="${DEPEND}"
-BDEPEND="dev-python/jinja
+BDEPEND="${PYTHON_DEPS}
+   dev-python/jinja
doc? ( sys-apps/help2man )"
 
 # Needs some black magic to work inside container/chroot.
@@ -26,8 +29,16 @@ RESTRICT="test"
 
 S="${WORKDIR}/${PN}-${MY_COMMIT}"
 
+pkg_setup() {
+   python-any-r1_pkg_setup
+}
+
 src_prepare() {
default
+
+   # Fix python shebangs for python-exec[-native-symlinks], #851480
+   local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
+   python_fix_shebang -q ${shebangs[*]}
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-06-11 Thread Joonas Niilola
commit: 751f72e1c7538697ba5908d4993f623c79ae6343
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Jun 11 09:16:39 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jun 11 09:17:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=751f72e1

sys-fs/lxcfs: add 5.0.0_p20220524

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest |  1 +
 sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild | 60 +++
 2 files changed, 61 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 5ca764cef5a8..130498a2362d 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,3 @@
 DIST lxcfs-4.0.12.tar.gz 461251 BLAKE2B 
c0d1cc699461eed2e29ddb1937e8f4719be78a8f17c20b9dd682a617bc0423b22b4491399b934aa7f4be8f5ca292ab4c9e97e7bf149700c0c3760c8b3804ae11
 SHA512 
da8415599bb08e4e15a7e4044edbcad217e4034d96366d508e06cceb2a75d459e24aeb7efd5716e2f41449ec653ecd9916f0d934f738e1df8e9576738cc1ac18
 DIST lxcfs-4.0.12.tar.gz.asc 833 BLAKE2B 
af8bf08039e7bc1f405c468de0dd628175cef3ea6087c5fa1c0d95f9153df939a84f9a5d9d895fb471c0262616eb88f03532ac789b0c6198ad1349cff9a6c5de
 SHA512 
20f1919ff216f5459e8e387c78b1430b5122e662adec27bdd9c6fd4565645b73ed5bce5e7e843da05d8cfdc17f1a3e964c20c6ad47d4dbd5df68c3f9359fb362
+DIST lxcfs-5.0.0_p20220524.tar.gz 101563 BLAKE2B 
2bf282aed5490d160a563ae97fdfbb887366a6ec60ea7f36f5400e4a11330c51ac3096d63c99dd4aa2ebe1a3497102af9df41ebd40e38b3bde6c6dcd4265b336
 SHA512 
c1183096dd2b74ef859183451b8c909f762e3c56dce0b9384ac163a6b6b3f7a17a63e840742f4cc5ac50b1f25d402583ca6cf31c1617754b35e21c5c991515f4

diff --git a/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild 
b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
new file mode 100644
index ..361a48aafa07
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-5.0.0_p20220524.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake meson systemd
+
+MY_COMMIT="18e78f70fa6764be4e4f6fcc6ae8d314da7f3a91"
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://github.com/lxc/lxcfs/archive/${MY_COMMIT}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc test"
+
+DEPEND="sys-fs/fuse:3"
+RDEPEND="${DEPEND}"
+BDEPEND="dev-python/jinja
+   doc? ( sys-apps/help2man )"
+
+# Needs some black magic to work inside container/chroot.
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_COMMIT}"
+
+src_prepare() {
+   default
+}
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc docs)
+   $(meson_use test tests)
+
+   -Dfuse-version=3
+   -Dinit-script=""
+   -Dwith-init-script=""
+   )
+
+   meson_src_configure
+}
+
+src_test() {
+   cd "${BUILD_DIR}"/tests || die "failed to change into tests/ directory."
+   ./main.sh || die
+}
+
+src_install() {
+   meson_src_install
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-05-22 Thread Jakov Smolić
commit: ecaf94173a4af7569bee16b5fed5e77279c79cef
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun May 22 08:12:48 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun May 22 08:12:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecaf9417

sys-fs/lxcfs: Keyword 4.0.12 arm64, #846779

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.12.ebuild b/sys-fs/lxcfs/lxcfs-4.0.12.ebuild
index bde4889e46c0..62d6d70ca93a 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.12.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.12.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0 LGPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
 
 RDEPEND="sys-fs/fuse:3"
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-04-14 Thread Joonas Niilola
commit: 48a32c00e262d60c615ad76a638b4005012d86f9
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Apr 14 11:50:21 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 14 11:51:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48a32c00

sys-fs/lxcfs: drop 4.0.11

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest|  2 --
 sys-fs/lxcfs/lxcfs-4.0.11.ebuild | 59 
 2 files changed, 61 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 4e0149e0c420..5ca764cef5a8 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,2 @@
-DIST lxcfs-4.0.11.tar.gz 451424 BLAKE2B 
8cb1f16ec8f2f5dbcaea9897553c21f2894ce75713c4de7fd9412254ef4e74cef93fbd9c79e259e0caf2426520d9454858bc0f09b652b00305699d52b4240cbf
 SHA512 
60a76b8d3ab8a164ead8424cf2a20cdb616919318881348016299d2b5bff9d221c12b9208b46e6f72a84695632a762292313e0b51579d590ce505cf5b6fec6de
-DIST lxcfs-4.0.11.tar.gz.asc 833 BLAKE2B 
f70bcf119588c1e667111fe0e820c1bbd53c912027a94b600ce69713eb824f0b495cee4ab0107cf92bd5f10c0a17e9e5e85833f15f7ff570931c9df454f16bf9
 SHA512 
a9190c5913d0879c0034b1ff1f06b7755f8b78094270d64c89a371b56737e32c2a14681a58643e8ebde9d654ff2c66959ee9a4f6d5f6a6002f52da1362017d9f
 DIST lxcfs-4.0.12.tar.gz 461251 BLAKE2B 
c0d1cc699461eed2e29ddb1937e8f4719be78a8f17c20b9dd682a617bc0423b22b4491399b934aa7f4be8f5ca292ab4c9e97e7bf149700c0c3760c8b3804ae11
 SHA512 
da8415599bb08e4e15a7e4044edbcad217e4034d96366d508e06cceb2a75d459e24aeb7efd5716e2f41449ec653ecd9916f0d934f738e1df8e9576738cc1ac18
 DIST lxcfs-4.0.12.tar.gz.asc 833 BLAKE2B 
af8bf08039e7bc1f405c468de0dd628175cef3ea6087c5fa1c0d95f9153df939a84f9a5d9d895fb471c0262616eb88f03532ac789b0c6198ad1349cff9a6c5de
 SHA512 
20f1919ff216f5459e8e387c78b1430b5122e662adec27bdd9c6fd4565645b73ed5bce5e7e843da05d8cfdc17f1a3e964c20c6ad47d4dbd5df68c3f9359fb362

diff --git a/sys-fs/lxcfs/lxcfs-4.0.11.ebuild b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
deleted file mode 100644
index 816a845e2788..
--- a/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0 LGPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86"
-
-RDEPEND="sys-fs/fuse:3"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/help2man
-   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
-
-# Looks like these won't ever work in a container/chroot environment. #764620
-RESTRICT="test"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # Needed for x86 support, bug #819762
-   # May be able to drop when/if ported to meson, but re-test w/ x86 chroot
-   append-lfs-flags
-
-   # Without the localstatedir the filesystem isn't mounted correctly
-   # Without with-distro ./configure will fail when cross-compiling
-   econf --localstatedir=/var --with-distro=gentoo --disable-static
-}
-
-src_test() {
-   cd tests/ || die
-   emake -j1 tests
-   ./main.sh || die "Tests failed"
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-03-20 Thread Joonas Niilola
commit: a840320527d8f79c85b21d6772ca4320fb5c3011
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Mar 20 06:17:01 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Mar 20 06:17:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8403205

sys-fs/lxcfs: stabilize 4.0.12 for amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.12.ebuild b/sys-fs/lxcfs/lxcfs-4.0.12.ebuild
index 8b6377221315..bde4889e46c0 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.12.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.12.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0 LGPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv ~x86"
 
 RDEPEND="sys-fs/fuse:3"
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2022-02-02 Thread Joonas Niilola
commit: bca5d4fb45ce222ce38ec21941d7af4ebe687a79
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Feb  2 06:33:16 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Feb  2 08:53:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca5d4fb

sys-fs/lxcfs: add 4.0.12

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest|  2 ++
 sys-fs/lxcfs/lxcfs-4.0.12.ebuild | 59 
 2 files changed, 61 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 00de6fa22034..4e0149e0c420 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,4 @@
 DIST lxcfs-4.0.11.tar.gz 451424 BLAKE2B 
8cb1f16ec8f2f5dbcaea9897553c21f2894ce75713c4de7fd9412254ef4e74cef93fbd9c79e259e0caf2426520d9454858bc0f09b652b00305699d52b4240cbf
 SHA512 
60a76b8d3ab8a164ead8424cf2a20cdb616919318881348016299d2b5bff9d221c12b9208b46e6f72a84695632a762292313e0b51579d590ce505cf5b6fec6de
 DIST lxcfs-4.0.11.tar.gz.asc 833 BLAKE2B 
f70bcf119588c1e667111fe0e820c1bbd53c912027a94b600ce69713eb824f0b495cee4ab0107cf92bd5f10c0a17e9e5e85833f15f7ff570931c9df454f16bf9
 SHA512 
a9190c5913d0879c0034b1ff1f06b7755f8b78094270d64c89a371b56737e32c2a14681a58643e8ebde9d654ff2c66959ee9a4f6d5f6a6002f52da1362017d9f
+DIST lxcfs-4.0.12.tar.gz 461251 BLAKE2B 
c0d1cc699461eed2e29ddb1937e8f4719be78a8f17c20b9dd682a617bc0423b22b4491399b934aa7f4be8f5ca292ab4c9e97e7bf149700c0c3760c8b3804ae11
 SHA512 
da8415599bb08e4e15a7e4044edbcad217e4034d96366d508e06cceb2a75d459e24aeb7efd5716e2f41449ec653ecd9916f0d934f738e1df8e9576738cc1ac18
+DIST lxcfs-4.0.12.tar.gz.asc 833 BLAKE2B 
af8bf08039e7bc1f405c468de0dd628175cef3ea6087c5fa1c0d95f9153df939a84f9a5d9d895fb471c0262616eb88f03532ac789b0c6198ad1349cff9a6c5de
 SHA512 
20f1919ff216f5459e8e387c78b1430b5122e662adec27bdd9c6fd4565645b73ed5bce5e7e843da05d8cfdc17f1a3e964c20c6ad47d4dbd5df68c3f9359fb362

diff --git a/sys-fs/lxcfs/lxcfs-4.0.12.ebuild b/sys-fs/lxcfs/lxcfs-4.0.12.ebuild
new file mode 100644
index ..8b6377221315
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-4.0.12.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+RDEPEND="sys-fs/fuse:3"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/help2man
+   verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
+
+# Looks like these won't ever work in a container/chroot environment. #764620
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # Needed for x86 support, bug #819762
+   # May be able to drop when/if ported to meson, but re-test w/ x86 chroot
+   append-lfs-flags
+
+   # Without the localstatedir the filesystem isn't mounted correctly
+   # Without with-distro ./configure will fail when cross-compiling
+   econf --localstatedir=/var --with-distro=gentoo --disable-static
+}
+
+src_test() {
+   cd tests/ || die
+   emake -j1 tests
+   ./main.sh || die "Tests failed"
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-12-02 Thread Joonas Niilola
commit: 18143a430fe6470132fa2eca732a5ec48b76cb85
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Dec  2 15:43:41 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Dec  2 17:39:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18143a43

sys-fs/lxcfs: drop 4.0.9

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 --
 sys-fs/lxcfs/lxcfs-4.0.9.ebuild | 56 -
 2 files changed, 58 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 9432a6d04990..00de6fa22034 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,2 @@
 DIST lxcfs-4.0.11.tar.gz 451424 BLAKE2B 
8cb1f16ec8f2f5dbcaea9897553c21f2894ce75713c4de7fd9412254ef4e74cef93fbd9c79e259e0caf2426520d9454858bc0f09b652b00305699d52b4240cbf
 SHA512 
60a76b8d3ab8a164ead8424cf2a20cdb616919318881348016299d2b5bff9d221c12b9208b46e6f72a84695632a762292313e0b51579d590ce505cf5b6fec6de
 DIST lxcfs-4.0.11.tar.gz.asc 833 BLAKE2B 
f70bcf119588c1e667111fe0e820c1bbd53c912027a94b600ce69713eb824f0b495cee4ab0107cf92bd5f10c0a17e9e5e85833f15f7ff570931c9df454f16bf9
 SHA512 
a9190c5913d0879c0034b1ff1f06b7755f8b78094270d64c89a371b56737e32c2a14681a58643e8ebde9d654ff2c66959ee9a4f6d5f6a6002f52da1362017d9f
-DIST lxcfs-4.0.9.tar.gz 453383 BLAKE2B 
06694218d45d93baa9041aeae39e52d827ca1b53d616284d0ee04ddfe98436a15b3cf900c7b58f14e506a0726f30679b0a04e6b5047087201ad2a9c35f0cc09e
 SHA512 
c8d02cefb42dee82ea9467631e8e59243a6cb06d4ea53f0ce8da0a9bbc9018480bb0f12723091da672446a75ba200cca044b84c2f13388009dde9e5ad0ca3ebe
-DIST lxcfs-4.0.9.tar.gz.asc 833 BLAKE2B 
fa71f7a6a7a35fbc7613ec2d7549197fe0d33c9584aea86fe3db959848eeb1b0e69a75ca2d596578f3c7f3a9deca5cec1badce428b4aa52e6f112cf3fe544b3b
 SHA512 
fd9feac31469db7785c8b486ddc4f5c0431ab2aa52aed715e853fcab322e8c6ee755aa87d9bdee7a969a8030be1956863662f8b2db09bfe4b8ba69ef8f2fbb3e

diff --git a/sys-fs/lxcfs/lxcfs-4.0.9.ebuild b/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
deleted file mode 100644
index 92a99fe69f2a..
--- a/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86"
-
-RDEPEND="dev-libs/glib:2
-   sys-fs/fuse:3"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/help2man
-   verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
-
-# Test files need to be updated to fuse:3, #764620
-RESTRICT="test"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # Without the localstatedir the filesystem isn't mounted correctly
-   # Without with-distro ./configure will fail when cross-compiling
-   econf --localstatedir=/var --with-distro=gentoo --disable-static
-}
-
-src_test() {
-   cd tests/ || die
-   emake tests
-   ./main.sh || die "Tests failed"
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-11-23 Thread Joonas Niilola
commit: b66907798257dc354c0fcfcdac1933496ef92ba8
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Nov 24 06:15:26 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Nov 24 06:15:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6690779

sys-fs/lxcfs: stabilize 4.0.11 for amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.11.ebuild b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
index 30a16c09be63..b811e340ec91 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0 LGPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv ~x86"
 
 RDEPEND="sys-fs/fuse:3"
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-10-24 Thread Sam James
commit: 6d45024b7bd1baa42555a8f7f9d105a0dd38e5b5
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 24 07:57:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 24 07:57:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d45024b

sys-fs/lxcfs: add note re meson port and lfs

Bug: https://bugs.gentoo.org/819762
Signed-off-by: Sam James  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.11.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.11.ebuild b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
index 687b1c351bb..30a16c09be6 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
@@ -31,6 +31,7 @@ src_prepare() {
 
 src_configure() {
# Needed for x86 support, bug #819762
+   # May be able to drop when/if ported to meson, but re-test w/ x86 chroot
append-lfs-flags
 
# Without the localstatedir the filesystem isn't mounted correctly



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-10-24 Thread Sam James
commit: 1ec92b8e120f36075e036fca954a21d1560de6ca
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 24 07:53:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 24 07:53:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ec92b8e

sys-fs/lxcfs: append LFS flags (fix x86 support)

Closes: https://bugs.gentoo.org/819762
Signed-off-by: Sam James  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.11.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.11.ebuild b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
index b351821cc74..687b1c351bb 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools systemd verify-sig
+inherit autotools flag-o-matic systemd verify-sig
 
 DESCRIPTION="FUSE filesystem for LXC"
 HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
@@ -30,6 +30,9 @@ src_prepare() {
 }
 
 src_configure() {
+   # Needed for x86 support, bug #819762
+   append-lfs-flags
+
# Without the localstatedir the filesystem isn't mounted correctly
# Without with-distro ./configure will fail when cross-compiling
econf --localstatedir=/var --with-distro=gentoo --disable-static



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-10-22 Thread Joonas Niilola
commit: 52e2abd35394895fae3c8b1247bf87eb78d829d7
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Oct 22 05:35:18 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 22 08:39:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e2abd3

sys-fs/lxcfs: add 4.0.11

 - update LICENSE.

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest|  2 ++
 sys-fs/lxcfs/lxcfs-4.0.11.ebuild | 55 
 2 files changed, 57 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 67d5e6555ed..9432a6d0499 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,4 @@
+DIST lxcfs-4.0.11.tar.gz 451424 BLAKE2B 
8cb1f16ec8f2f5dbcaea9897553c21f2894ce75713c4de7fd9412254ef4e74cef93fbd9c79e259e0caf2426520d9454858bc0f09b652b00305699d52b4240cbf
 SHA512 
60a76b8d3ab8a164ead8424cf2a20cdb616919318881348016299d2b5bff9d221c12b9208b46e6f72a84695632a762292313e0b51579d590ce505cf5b6fec6de
+DIST lxcfs-4.0.11.tar.gz.asc 833 BLAKE2B 
f70bcf119588c1e667111fe0e820c1bbd53c912027a94b600ce69713eb824f0b495cee4ab0107cf92bd5f10c0a17e9e5e85833f15f7ff570931c9df454f16bf9
 SHA512 
a9190c5913d0879c0034b1ff1f06b7755f8b78094270d64c89a371b56737e32c2a14681a58643e8ebde9d654ff2c66959ee9a4f6d5f6a6002f52da1362017d9f
 DIST lxcfs-4.0.9.tar.gz 453383 BLAKE2B 
06694218d45d93baa9041aeae39e52d827ca1b53d616284d0ee04ddfe98436a15b3cf900c7b58f14e506a0726f30679b0a04e6b5047087201ad2a9c35f0cc09e
 SHA512 
c8d02cefb42dee82ea9467631e8e59243a6cb06d4ea53f0ce8da0a9bbc9018480bb0f12723091da672446a75ba200cca044b84c2f13388009dde9e5ad0ca3ebe
 DIST lxcfs-4.0.9.tar.gz.asc 833 BLAKE2B 
fa71f7a6a7a35fbc7613ec2d7549197fe0d33c9584aea86fe3db959848eeb1b0e69a75ca2d596578f3c7f3a9deca5cec1badce428b4aa52e6f112cf3fe544b3b
 SHA512 
fd9feac31469db7785c8b486ddc4f5c0431ab2aa52aed715e853fcab322e8c6ee755aa87d9bdee7a969a8030be1956863662f8b2db09bfe4b8ba69ef8f2fbb3e

diff --git a/sys-fs/lxcfs/lxcfs-4.0.11.ebuild b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
new file mode 100644
index 000..b351821cc74
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-4.0.11.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0 LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+RDEPEND="sys-fs/fuse:3"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/help2man
+   verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
+
+# Looks like these won't ever work in a container/chroot environment. #764620
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # Without the localstatedir the filesystem isn't mounted correctly
+   # Without with-distro ./configure will fail when cross-compiling
+   econf --localstatedir=/var --with-distro=gentoo --disable-static
+}
+
+src_test() {
+   cd tests/ || die
+   emake -j1 tests
+   ./main.sh || die "Tests failed"
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-10-03 Thread Joonas Niilola
commit: fffbab77fadda7389519c044825bf97558b6e259
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Oct  4 05:27:40 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct  4 05:40:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fffbab77

sys-fs/lxcfs: keyword 4.0.9 for ~x86

Bug: https://bugs.gentoo.org/816039
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.9.ebuild b/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
index d867092788e..92a99fe69f2 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~riscv"
+KEYWORDS="amd64 ~riscv ~x86"
 
 RDEPEND="dev-libs/glib:2
sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-08-25 Thread Joonas Niilola
commit: 92a4e3d25ecd19ad4fe0846d34159f864b5dcf34
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Aug 25 07:07:40 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 25 07:09:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a4e3d2

sys-fs/lxcfs: drop 4.0.8

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 --
 sys-fs/lxcfs/lxcfs-4.0.8.ebuild | 56 -
 2 files changed, 58 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index cd5ab0a451f..67d5e6555ed 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,2 @@
-DIST lxcfs-4.0.8.tar.gz 458975 BLAKE2B 
19ac81c36c3aad0ee3301eda73aa29399304dff1c827041678be73c4134181667a4d92b3efa37a44b2853b825031fef2e07e7cbfcaf552676a01f5f9faedf9c3
 SHA512 
830a4a25583a645b59c75327701af24c239323bfe822180c2cb7cb7cc284f50e8bb7c38e771ea869b4449370af1ab1a4fed9611c6495883d193f5a0f6f71380e
-DIST lxcfs-4.0.8.tar.gz.asc 833 BLAKE2B 
da4ef0f8d6dea59d83f708b6aa7c1835773537e3111d8e9aaf4a7c111d21a0b57486cc9828919bea55ea06ee6bf3e03eeae89eb26199e287066b309d6d798c8d
 SHA512 
f8fc10e52472fff599df7e008d34346489754d64347d005794a4b280949130bb0370ade0d65c9eb182914cae3a6c55f9872bc38481b0b64ea1218c8d1640a74f
 DIST lxcfs-4.0.9.tar.gz 453383 BLAKE2B 
06694218d45d93baa9041aeae39e52d827ca1b53d616284d0ee04ddfe98436a15b3cf900c7b58f14e506a0726f30679b0a04e6b5047087201ad2a9c35f0cc09e
 SHA512 
c8d02cefb42dee82ea9467631e8e59243a6cb06d4ea53f0ce8da0a9bbc9018480bb0f12723091da672446a75ba200cca044b84c2f13388009dde9e5ad0ca3ebe
 DIST lxcfs-4.0.9.tar.gz.asc 833 BLAKE2B 
fa71f7a6a7a35fbc7613ec2d7549197fe0d33c9584aea86fe3db959848eeb1b0e69a75ca2d596578f3c7f3a9deca5cec1badce428b4aa52e6f112cf3fe544b3b
 SHA512 
fd9feac31469db7785c8b486ddc4f5c0431ab2aa52aed715e853fcab322e8c6ee755aa87d9bdee7a969a8030be1956863662f8b2db09bfe4b8ba69ef8f2fbb3e

diff --git a/sys-fs/lxcfs/lxcfs-4.0.8.ebuild b/sys-fs/lxcfs/lxcfs-4.0.8.ebuild
deleted file mode 100644
index b652ae461b5..000
--- a/sys-fs/lxcfs/lxcfs-4.0.8.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-RDEPEND="dev-libs/glib:2
-   sys-fs/fuse:3"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/help2man
-   verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
-
-# Test files need to be updated to fuse:3, #764620
-RESTRICT="test"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # Without the localstatedir the filesystem isn't mounted correctly
-   # Without with-distro ./configure will fail when cross-compiling
-   econf --localstatedir=/var --with-distro=gentoo --disable-static
-}
-
-src_test() {
-   cd tests/ || die
-   emake tests
-   ./main.sh || die "Tests failed"
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-08-19 Thread Joonas Niilola
commit: 6bb17a24e37ef27a82a2122a37bd0734450b4797
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Aug 19 06:22:23 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Aug 19 06:22:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bb17a24

sys-fs/lxcfs: stabilize 4.0.9 for amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.9.ebuild b/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
index 60d44d24142..d867092788e 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="amd64 ~riscv"
 
 RDEPEND="dev-libs/glib:2
sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-08-04 Thread Yixun Lan
commit: 0b85616d5bca4e2eb51b464f5161bccaeaed1020
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Aug  5 02:37:43 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Aug  5 02:37:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b85616d

sys-fs/lxcfs: keyword ~riscv

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.9.ebuild b/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
index 61b57c9974a..60d44d24142 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 
 RDEPEND="dev-libs/glib:2
sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-07-19 Thread Joonas Niilola
commit: ee803b4603cc39345318e3c95af973edf60eb6e0
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Jul 19 11:03:33 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jul 19 11:15:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee803b46

sys-fs/lxcfs: bump to 4.0.9

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 ++
 sys-fs/lxcfs/lxcfs-4.0.9.ebuild | 56 +
 2 files changed, 58 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 641404b741a..cd5ab0a451f 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,4 @@
 DIST lxcfs-4.0.8.tar.gz 458975 BLAKE2B 
19ac81c36c3aad0ee3301eda73aa29399304dff1c827041678be73c4134181667a4d92b3efa37a44b2853b825031fef2e07e7cbfcaf552676a01f5f9faedf9c3
 SHA512 
830a4a25583a645b59c75327701af24c239323bfe822180c2cb7cb7cc284f50e8bb7c38e771ea869b4449370af1ab1a4fed9611c6495883d193f5a0f6f71380e
 DIST lxcfs-4.0.8.tar.gz.asc 833 BLAKE2B 
da4ef0f8d6dea59d83f708b6aa7c1835773537e3111d8e9aaf4a7c111d21a0b57486cc9828919bea55ea06ee6bf3e03eeae89eb26199e287066b309d6d798c8d
 SHA512 
f8fc10e52472fff599df7e008d34346489754d64347d005794a4b280949130bb0370ade0d65c9eb182914cae3a6c55f9872bc38481b0b64ea1218c8d1640a74f
+DIST lxcfs-4.0.9.tar.gz 453383 BLAKE2B 
06694218d45d93baa9041aeae39e52d827ca1b53d616284d0ee04ddfe98436a15b3cf900c7b58f14e506a0726f30679b0a04e6b5047087201ad2a9c35f0cc09e
 SHA512 
c8d02cefb42dee82ea9467631e8e59243a6cb06d4ea53f0ce8da0a9bbc9018480bb0f12723091da672446a75ba200cca044b84c2f13388009dde9e5ad0ca3ebe
+DIST lxcfs-4.0.9.tar.gz.asc 833 BLAKE2B 
fa71f7a6a7a35fbc7613ec2d7549197fe0d33c9584aea86fe3db959848eeb1b0e69a75ca2d596578f3c7f3a9deca5cec1badce428b4aa52e6f112cf3fe544b3b
 SHA512 
fd9feac31469db7785c8b486ddc4f5c0431ab2aa52aed715e853fcab322e8c6ee755aa87d9bdee7a969a8030be1956863662f8b2db09bfe4b8ba69ef8f2fbb3e

diff --git a/sys-fs/lxcfs/lxcfs-4.0.9.ebuild b/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
new file mode 100644
index 000..61b57c9974a
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-4.0.9.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/glib:2
+   sys-fs/fuse:3"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/help2man
+   verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
+
+# Test files need to be updated to fuse:3, #764620
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # Without the localstatedir the filesystem isn't mounted correctly
+   # Without with-distro ./configure will fail when cross-compiling
+   econf --localstatedir=/var --with-distro=gentoo --disable-static
+}
+
+src_test() {
+   cd tests/ || die
+   emake tests
+   ./main.sh || die "Tests failed"
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-06-01 Thread Joonas Niilola
commit: b8790c1cada6527dc67cfbe1e8e8c6b57836cfd3
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Jun  1 08:39:17 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Jun  1 08:43:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8790c1c

sys-fs/lxcfs: stabilize 4.0.8 on amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.8.ebuild b/sys-fs/lxcfs/lxcfs-4.0.8.ebuild
index 61b57c9974a..b652ae461b5 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.8.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.8.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="dev-libs/glib:2
sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-06-01 Thread Joonas Niilola
commit: 367734bfff1c5ccc052a416cb425899df7153b4a
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Jun  1 08:39:27 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Jun  1 08:43:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=367734bf

sys-fs/lxcfs: drop 4.0.7

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 --
 sys-fs/lxcfs/lxcfs-4.0.7.ebuild | 56 -
 2 files changed, 58 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index cc9fef66a24..641404b741a 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,2 @@
-DIST lxcfs-4.0.7.tar.gz 454108 BLAKE2B 
8af5a9177089d0629ef05b6f28b9945dcf6f1102bbc3c5458fd71959912201d24b9ea31fc4b4dc51dca388d59ba1ad2a4494561108632abe8b90f1bef4a2e85f
 SHA512 
ab66d4278f8a5e0bb0e7495badcd587ef5fa48fb6271d8682cdca8b0f7c5c4b5f889ca43a86520e6aa28d6824be20f050707169bbed5921e3e4f7eaa0be7a1d5
-DIST lxcfs-4.0.7.tar.gz.asc 833 BLAKE2B 
26cb25e41471257925600fcab5a01933076c1ab304e14f71defc21c5b7563e2c0acd832051def79f277322e47a0efe76eb41121293a9b796e486e8a7747f5e2f
 SHA512 
3e9ff48197caca2776665171167805627a421741c02ee4a30e22b3c4ff8e9e58d71997302f45772c58de831ba5315fd335e8856553cfbfcbae1909ad8625f505
 DIST lxcfs-4.0.8.tar.gz 458975 BLAKE2B 
19ac81c36c3aad0ee3301eda73aa29399304dff1c827041678be73c4134181667a4d92b3efa37a44b2853b825031fef2e07e7cbfcaf552676a01f5f9faedf9c3
 SHA512 
830a4a25583a645b59c75327701af24c239323bfe822180c2cb7cb7cc284f50e8bb7c38e771ea869b4449370af1ab1a4fed9611c6495883d193f5a0f6f71380e
 DIST lxcfs-4.0.8.tar.gz.asc 833 BLAKE2B 
da4ef0f8d6dea59d83f708b6aa7c1835773537e3111d8e9aaf4a7c111d21a0b57486cc9828919bea55ea06ee6bf3e03eeae89eb26199e287066b309d6d798c8d
 SHA512 
f8fc10e52472fff599df7e008d34346489754d64347d005794a4b280949130bb0370ade0d65c9eb182914cae3a6c55f9872bc38481b0b64ea1218c8d1640a74f

diff --git a/sys-fs/lxcfs/lxcfs-4.0.7.ebuild b/sys-fs/lxcfs/lxcfs-4.0.7.ebuild
deleted file mode 100644
index b652ae461b5..000
--- a/sys-fs/lxcfs/lxcfs-4.0.7.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-RDEPEND="dev-libs/glib:2
-   sys-fs/fuse:3"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/help2man
-   verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
-
-# Test files need to be updated to fuse:3, #764620
-RESTRICT="test"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # Without the localstatedir the filesystem isn't mounted correctly
-   # Without with-distro ./configure will fail when cross-compiling
-   econf --localstatedir=/var --with-distro=gentoo --disable-static
-}
-
-src_test() {
-   cd tests/ || die
-   emake tests
-   ./main.sh || die "Tests failed"
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-04-30 Thread Joonas Niilola
commit: f5fcea4f68f98dbc5cd67b508128291190a4b05d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Apr 30 06:59:45 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Apr 30 07:01:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5fcea4f

sys-fs/lxcfs: bump to 4.0.8

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 ++
 sys-fs/lxcfs/lxcfs-4.0.8.ebuild | 56 +
 2 files changed, 58 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 3dda92556ab..cc9fef66a24 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,4 @@
 DIST lxcfs-4.0.7.tar.gz 454108 BLAKE2B 
8af5a9177089d0629ef05b6f28b9945dcf6f1102bbc3c5458fd71959912201d24b9ea31fc4b4dc51dca388d59ba1ad2a4494561108632abe8b90f1bef4a2e85f
 SHA512 
ab66d4278f8a5e0bb0e7495badcd587ef5fa48fb6271d8682cdca8b0f7c5c4b5f889ca43a86520e6aa28d6824be20f050707169bbed5921e3e4f7eaa0be7a1d5
 DIST lxcfs-4.0.7.tar.gz.asc 833 BLAKE2B 
26cb25e41471257925600fcab5a01933076c1ab304e14f71defc21c5b7563e2c0acd832051def79f277322e47a0efe76eb41121293a9b796e486e8a7747f5e2f
 SHA512 
3e9ff48197caca2776665171167805627a421741c02ee4a30e22b3c4ff8e9e58d71997302f45772c58de831ba5315fd335e8856553cfbfcbae1909ad8625f505
+DIST lxcfs-4.0.8.tar.gz 458975 BLAKE2B 
19ac81c36c3aad0ee3301eda73aa29399304dff1c827041678be73c4134181667a4d92b3efa37a44b2853b825031fef2e07e7cbfcaf552676a01f5f9faedf9c3
 SHA512 
830a4a25583a645b59c75327701af24c239323bfe822180c2cb7cb7cc284f50e8bb7c38e771ea869b4449370af1ab1a4fed9611c6495883d193f5a0f6f71380e
+DIST lxcfs-4.0.8.tar.gz.asc 833 BLAKE2B 
da4ef0f8d6dea59d83f708b6aa7c1835773537e3111d8e9aaf4a7c111d21a0b57486cc9828919bea55ea06ee6bf3e03eeae89eb26199e287066b309d6d798c8d
 SHA512 
f8fc10e52472fff599df7e008d34346489754d64347d005794a4b280949130bb0370ade0d65c9eb182914cae3a6c55f9872bc38481b0b64ea1218c8d1640a74f

diff --git a/sys-fs/lxcfs/lxcfs-4.0.8.ebuild b/sys-fs/lxcfs/lxcfs-4.0.8.ebuild
new file mode 100644
index 000..61b57c9974a
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-4.0.8.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/glib:2
+   sys-fs/fuse:3"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/help2man
+   verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
+
+# Test files need to be updated to fuse:3, #764620
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # Without the localstatedir the filesystem isn't mounted correctly
+   # Without with-distro ./configure will fail when cross-compiling
+   econf --localstatedir=/var --with-distro=gentoo --disable-static
+}
+
+src_test() {
+   cd tests/ || die
+   emake tests
+   ./main.sh || die "Tests failed"
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-02-07 Thread Joonas Niilola
commit: 9446447a8a44b4c81cbba5d3a5173426ad1136fe
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Feb  8 06:54:59 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb  8 06:55:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9446447a

sys-fs/lxcfs: remove old 4.0.6

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 --
 sys-fs/lxcfs/lxcfs-4.0.6.ebuild | 55 -
 2 files changed, 57 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 73f897629b9..3dda92556ab 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,2 @@
-DIST lxcfs-4.0.6.tar.gz 451636 BLAKE2B 
97de1825c4a91f4107dbee513246ff48a04956adce7a262a9744730067ac9c31fb6c7802757912640e58eb93504e12338e572acacf3ad300c1253eb517583226
 SHA512 
843ca196304efc963549c0e081bea4d58182887611da36232e875de4898d738111a967d89b4b49a9df51f25daf119ad2d488b8298cdef82926be03a7fa99a8a2
-DIST lxcfs-4.0.6.tar.gz.asc 833 BLAKE2B 
c5700c962a608fabc1a7ae4cd708c590a26dfebb72ea9c3db81500bb4e936e7f7358fbfb2c2a0e9531ffceb266d719bb3f6415f4d018ac1ba87b7b7ebddd21bf
 SHA512 
ceffb3dfe3b2751b944be08df84dc30c465b8cde12e16d37e54ce616e5f2032f287a475ca280da51bc4fc518904e64ea7f4681dd6070e63ebd7ecba8b09600e5
 DIST lxcfs-4.0.7.tar.gz 454108 BLAKE2B 
8af5a9177089d0629ef05b6f28b9945dcf6f1102bbc3c5458fd71959912201d24b9ea31fc4b4dc51dca388d59ba1ad2a4494561108632abe8b90f1bef4a2e85f
 SHA512 
ab66d4278f8a5e0bb0e7495badcd587ef5fa48fb6271d8682cdca8b0f7c5c4b5f889ca43a86520e6aa28d6824be20f050707169bbed5921e3e4f7eaa0be7a1d5
 DIST lxcfs-4.0.7.tar.gz.asc 833 BLAKE2B 
26cb25e41471257925600fcab5a01933076c1ab304e14f71defc21c5b7563e2c0acd832051def79f277322e47a0efe76eb41121293a9b796e486e8a7747f5e2f
 SHA512 
3e9ff48197caca2776665171167805627a421741c02ee4a30e22b3c4ff8e9e58d71997302f45772c58de831ba5315fd335e8856553cfbfcbae1909ad8625f505

diff --git a/sys-fs/lxcfs/lxcfs-4.0.6.ebuild b/sys-fs/lxcfs/lxcfs-4.0.6.ebuild
deleted file mode 100644
index 2ac14261e39..000
--- a/sys-fs/lxcfs/lxcfs-4.0.6.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd verify-sig
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
-   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-RDEPEND="dev-libs/glib:2
-   sys-fs/fuse:3"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/help2man
-   verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
-
-RESTRICT="test"
-
-#S="${WORKDIR}/${PN}-${P}"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # Without the localstatedir the filesystem isn't mounted correctly
-   # Without with-distro ./configure will fail when cross-compiling
-   econf --localstatedir=/var --with-distro=gentoo
-}
-
-src_test() {
-   cd tests/ || die
-   emake tests
-   ./main.sh || die "Tests failed"
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # #728470
-   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-02-07 Thread Joonas Niilola
commit: 2b019146b8874276e275d067ac59511dcbe76351
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Feb  8 06:54:37 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb  8 06:55:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b019146

sys-fs/lxcfs: stabilize 4.0.7 on amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.7.ebuild b/sys-fs/lxcfs/lxcfs-4.0.7.ebuild
index 61b57c9974a..b652ae461b5 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.7.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.7.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="dev-libs/glib:2
sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2021-01-09 Thread Joonas Niilola
commit: 6460fdf052b67df69cb24f26ab61ae189325501c
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sat Jan  9 14:28:13 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jan  9 14:28:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6460fdf0

sys-fs/lxcfs: bump to 4.0.7

 - disable building of static libs.

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 ++
 sys-fs/lxcfs/lxcfs-4.0.7.ebuild | 56 +
 2 files changed, 58 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 8f400a3957e..73f897629b9 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,4 @@
 DIST lxcfs-4.0.6.tar.gz 451636 BLAKE2B 
97de1825c4a91f4107dbee513246ff48a04956adce7a262a9744730067ac9c31fb6c7802757912640e58eb93504e12338e572acacf3ad300c1253eb517583226
 SHA512 
843ca196304efc963549c0e081bea4d58182887611da36232e875de4898d738111a967d89b4b49a9df51f25daf119ad2d488b8298cdef82926be03a7fa99a8a2
 DIST lxcfs-4.0.6.tar.gz.asc 833 BLAKE2B 
c5700c962a608fabc1a7ae4cd708c590a26dfebb72ea9c3db81500bb4e936e7f7358fbfb2c2a0e9531ffceb266d719bb3f6415f4d018ac1ba87b7b7ebddd21bf
 SHA512 
ceffb3dfe3b2751b944be08df84dc30c465b8cde12e16d37e54ce616e5f2032f287a475ca280da51bc4fc518904e64ea7f4681dd6070e63ebd7ecba8b09600e5
+DIST lxcfs-4.0.7.tar.gz 454108 BLAKE2B 
8af5a9177089d0629ef05b6f28b9945dcf6f1102bbc3c5458fd71959912201d24b9ea31fc4b4dc51dca388d59ba1ad2a4494561108632abe8b90f1bef4a2e85f
 SHA512 
ab66d4278f8a5e0bb0e7495badcd587ef5fa48fb6271d8682cdca8b0f7c5c4b5f889ca43a86520e6aa28d6824be20f050707169bbed5921e3e4f7eaa0be7a1d5
+DIST lxcfs-4.0.7.tar.gz.asc 833 BLAKE2B 
26cb25e41471257925600fcab5a01933076c1ab304e14f71defc21c5b7563e2c0acd832051def79f277322e47a0efe76eb41121293a9b796e486e8a7747f5e2f
 SHA512 
3e9ff48197caca2776665171167805627a421741c02ee4a30e22b3c4ff8e9e58d71997302f45772c58de831ba5315fd335e8856553cfbfcbae1909ad8625f505

diff --git a/sys-fs/lxcfs/lxcfs-4.0.7.ebuild b/sys-fs/lxcfs/lxcfs-4.0.7.ebuild
new file mode 100644
index 000..61b57c9974a
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-4.0.7.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/glib:2
+   sys-fs/fuse:3"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/help2man
+   verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
+
+# Test files need to be updated to fuse:3, #764620
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # Without the localstatedir the filesystem isn't mounted correctly
+   # Without with-distro ./configure will fail when cross-compiling
+   econf --localstatedir=/var --with-distro=gentoo --disable-static
+}
+
+src_test() {
+   cd tests/ || die
+   emake tests
+   ./main.sh || die "Tests failed"
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-11-19 Thread Joonas Niilola
commit: 7174bc66e95502be21224e6ee8f0a97af55ff431
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Nov 19 08:31:56 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Nov 19 10:21:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7174bc66

sys-fs/lxcfs: remove old 4.0.5

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  1 -
 sys-fs/lxcfs/lxcfs-4.0.5.ebuild | 51 -
 2 files changed, 52 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 5ba9117585a..8f400a3957e 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,2 @@
-DIST lxcfs-4.0.5.tar.gz 101842 BLAKE2B 
c916473e1b7ad42b8f69026a16810941c999d44ffcf1d456cb301411965f05e626338a5bde1e38fe99acd05f72bbcd5acbdcb2f65fa5ec183c967babcb8c70fd
 SHA512 
5c44aa7f43071a4316cc8702928fde2c928bd5654c9ab4d540152839db0d7dd235a861f263da56f02611941d46d22eee98e0cdd52aeaeda99f3c79c754d420a1
 DIST lxcfs-4.0.6.tar.gz 451636 BLAKE2B 
97de1825c4a91f4107dbee513246ff48a04956adce7a262a9744730067ac9c31fb6c7802757912640e58eb93504e12338e572acacf3ad300c1253eb517583226
 SHA512 
843ca196304efc963549c0e081bea4d58182887611da36232e875de4898d738111a967d89b4b49a9df51f25daf119ad2d488b8298cdef82926be03a7fa99a8a2
 DIST lxcfs-4.0.6.tar.gz.asc 833 BLAKE2B 
c5700c962a608fabc1a7ae4cd708c590a26dfebb72ea9c3db81500bb4e936e7f7358fbfb2c2a0e9531ffceb266d719bb3f6415f4d018ac1ba87b7b7ebddd21bf
 SHA512 
ceffb3dfe3b2751b944be08df84dc30c465b8cde12e16d37e54ce616e5f2032f287a475ca280da51bc4fc518904e64ea7f4681dd6070e63ebd7ecba8b09600e5

diff --git a/sys-fs/lxcfs/lxcfs-4.0.5.ebuild b/sys-fs/lxcfs/lxcfs-4.0.5.ebuild
deleted file mode 100644
index 8c7b1f79d64..000
--- a/sys-fs/lxcfs/lxcfs-4.0.5.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-RDEPEND="dev-libs/glib:2
-   sys-fs/fuse:0"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/help2man"
-
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${P}"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # Without the localstatedir the filesystem isn't mounted correctly
-   # Without with-distro ./configure will fail when cross-compiling
-   econf --localstatedir=/var --with-distro=gentoo
-}
-
-src_test() {
-   cd tests/ || die
-   emake tests
-   ./main.sh || die "Tests failed"
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
-   # 728470
-   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-11-19 Thread Joonas Niilola
commit: b3aed7f824a2decb8447aad6601ac2a5773dbbc3
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Nov 19 08:31:38 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Nov 19 10:21:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3aed7f8

sys-fs/lxcfs: stabilize 4.0.6 on amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.6.ebuild b/sys-fs/lxcfs/lxcfs-4.0.6.ebuild
index eacb9ba10aa..2ac14261e39 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.6.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.6.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="dev-libs/glib:2
sys-fs/fuse:3"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-10-19 Thread Joonas Niilola
commit: 6ea68dea6dad047a5a946f4e000e69c2350bc09d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Oct 20 05:42:35 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Oct 20 05:43:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ea68dea

sys-fs/lxcfs: bump to 4.0.6

 - now only supports sys-fs/fuse:3.

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  2 ++
 sys-fs/lxcfs/lxcfs-4.0.6.ebuild | 55 +
 2 files changed, 57 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 344a876047c..5ba9117585a 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1 +1,3 @@
 DIST lxcfs-4.0.5.tar.gz 101842 BLAKE2B 
c916473e1b7ad42b8f69026a16810941c999d44ffcf1d456cb301411965f05e626338a5bde1e38fe99acd05f72bbcd5acbdcb2f65fa5ec183c967babcb8c70fd
 SHA512 
5c44aa7f43071a4316cc8702928fde2c928bd5654c9ab4d540152839db0d7dd235a861f263da56f02611941d46d22eee98e0cdd52aeaeda99f3c79c754d420a1
+DIST lxcfs-4.0.6.tar.gz 451636 BLAKE2B 
97de1825c4a91f4107dbee513246ff48a04956adce7a262a9744730067ac9c31fb6c7802757912640e58eb93504e12338e572acacf3ad300c1253eb517583226
 SHA512 
843ca196304efc963549c0e081bea4d58182887611da36232e875de4898d738111a967d89b4b49a9df51f25daf119ad2d488b8298cdef82926be03a7fa99a8a2
+DIST lxcfs-4.0.6.tar.gz.asc 833 BLAKE2B 
c5700c962a608fabc1a7ae4cd708c590a26dfebb72ea9c3db81500bb4e936e7f7358fbfb2c2a0e9531ffceb266d719bb3f6415f4d018ac1ba87b7b7ebddd21bf
 SHA512 
ceffb3dfe3b2751b944be08df84dc30c465b8cde12e16d37e54ce616e5f2032f287a475ca280da51bc4fc518904e64ea7f4681dd6070e63ebd7ecba8b09600e5

diff --git a/sys-fs/lxcfs/lxcfs-4.0.6.ebuild b/sys-fs/lxcfs/lxcfs-4.0.6.ebuild
new file mode 100644
index 000..eacb9ba10aa
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-4.0.6.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd verify-sig
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz
+   verify-sig? ( 
https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz.asc )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/glib:2
+   sys-fs/fuse:3"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/help2man
+   verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
+
+RESTRICT="test"
+
+#S="${WORKDIR}/${PN}-${P}"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # Without the localstatedir the filesystem isn't mounted correctly
+   # Without with-distro ./configure will fail when cross-compiling
+   econf --localstatedir=/var --with-distro=gentoo
+}
+
+src_test() {
+   cd tests/ || die
+   emake tests
+   ./main.sh || die "Tests failed"
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # #728470
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-09-22 Thread Joonas Niilola
commit: deb913c852d1d390631bf349d3f6d296cae8e846
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Sep 22 06:52:55 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 22 06:54:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb913c8

sys-fs/lxcfs: become primary maintainer, drop stasibear

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/metadata.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-fs/lxcfs/metadata.xml b/sys-fs/lxcfs/metadata.xml
index b40dcc8519b..baf5a82d381 100644
--- a/sys-fs/lxcfs/metadata.xml
+++ b/sys-fs/lxcfs/metadata.xml
@@ -2,8 +2,8 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   stasib...@gentoo.org
-   Erik Mackdanz
+   juip...@gentoo.org
+   Joonas Niilola


virtualizat...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-09-03 Thread Joonas Niilola
commit: c95630a2eb1650f0120cbcf61a715d921beef471
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Sep  3 10:06:06 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Sep  3 10:08:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c95630a2

sys-fs/lxcfs: remove inactive maintainer

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-fs/lxcfs/metadata.xml b/sys-fs/lxcfs/metadata.xml
index 9ed77f5faf5..b40dcc8519b 100644
--- a/sys-fs/lxcfs/metadata.xml
+++ b/sys-fs/lxcfs/metadata.xml
@@ -5,10 +5,6 @@
stasib...@gentoo.org
Erik Mackdanz

-   
-   j...@irc.tm
-   John Cooke
-   

virtualizat...@gentoo.org
Gentoo Virtualization Project



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2020-09-03 Thread Joonas Niilola
commit: 47894e450fdd674572d7aa14f948b3cd7b8c6bf9
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Sep  3 10:05:37 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Sep  3 10:08:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47894e45

sys-fs/lxcfs: remove old 4.0.3

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest|  1 -
 sys-fs/lxcfs/files/lxcfs.service | 16 
 sys-fs/lxcfs/lxcfs-4.0.3.ebuild  | 54 
 3 files changed, 71 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 2f478b27028..344a876047c 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1 @@
-DIST lxcfs-4.0.3.tar.gz 100719 BLAKE2B 
24371b921ad635f97c51ac8406c949e81330ae358b0166c2af295cb1f630594bb72da802aad41971c11303f393fd05bc9f1b109bd4da4953db2c3bb7e5189315
 SHA512 
0aaedfe826d982b9464dfb60fb57c58e34ea6022b8503bc858538b6634dc7d0845f65832d6f814043dbc0677f887e1b559549a8f3865c755970c6b47ba65eb2b
 DIST lxcfs-4.0.5.tar.gz 101842 BLAKE2B 
c916473e1b7ad42b8f69026a16810941c999d44ffcf1d456cb301411965f05e626338a5bde1e38fe99acd05f72bbcd5acbdcb2f65fa5ec183c967babcb8c70fd
 SHA512 
5c44aa7f43071a4316cc8702928fde2c928bd5654c9ab4d540152839db0d7dd235a861f263da56f02611941d46d22eee98e0cdd52aeaeda99f3c79c754d420a1

diff --git a/sys-fs/lxcfs/files/lxcfs.service b/sys-fs/lxcfs/files/lxcfs.service
deleted file mode 100644
index aea0d6d920f..000
--- a/sys-fs/lxcfs/files/lxcfs.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=FUSE filesystem for LXC
-ConditionVirtualization=!container
-Before=lxc.service
-Documentation=man:lxcfs(1)
-
-[Service]
-ExecStart=/usr/bin/lxcfs /var/lib/lxcfs
-KillMode=process
-Restart=on-failure
-ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs
-Delegate=yes
-ExecReload=/bin/kill -USR1 $MAINPID
-
-[Install]
-WantedBy=multi-user.target

diff --git a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
deleted file mode 100644
index de32fe294cb..000
--- a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64"
-
-# Omit all dbus.  Upstream appears to require it because systemd, but
-# lxcfs makes no direct use of dbus.
-# acct-group/lxd needed for the fowners below.
-RDEPEND="dev-libs/glib:2
-   sys-fs/fuse:0"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/help2man"
-
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${P}"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # Without the localstatedir the filesystem isn't mounted correctly
-   # Without with-distro ./configure will fail when cross-compiling
-   econf --localstatedir=/var --with-distro=gentoo
-}
-
-src_test() {
-   emake tests
-   tests/main.sh || die "Tests failed"
-}
-
-src_install() {
-   default
-
-   # Getting weird file collisions, 
-   # keepdir /var/lib/lxcfs
-   # fowners -R root:lxd /var/lib/lxcfs
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-   systemd_dounit config/init/systemd/lxcfs.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-09-03 Thread Joonas Niilola
commit: 24d1400eb44fb4362cfd574dc5ca4e1b0fc160cf
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Sep  3 10:05:04 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Sep  3 10:08:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24d1400e

sys-fs/lxcfs: stabilize 4.0.5 on amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.5.ebuild b/sys-fs/lxcfs/lxcfs-4.0.5.ebuild
index 3f5a924ec10..8c7b1f79d64 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.5.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 RDEPEND="dev-libs/glib:2
sys-fs/fuse:0"



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-08-05 Thread Joonas Niilola
commit: c60c784a90b2e3ede466e98776c1890f5ea70ad4
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Aug  5 07:09:10 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug  5 07:09:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60c784a

sys-fs/lxcfs: remove old 4.0.4-r2

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest  |  1 -
 sys-fs/lxcfs/lxcfs-4.0.4-r2.ebuild | 51 --
 2 files changed, 52 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index b2286fe267f..2f478b27028 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,2 @@
 DIST lxcfs-4.0.3.tar.gz 100719 BLAKE2B 
24371b921ad635f97c51ac8406c949e81330ae358b0166c2af295cb1f630594bb72da802aad41971c11303f393fd05bc9f1b109bd4da4953db2c3bb7e5189315
 SHA512 
0aaedfe826d982b9464dfb60fb57c58e34ea6022b8503bc858538b6634dc7d0845f65832d6f814043dbc0677f887e1b559549a8f3865c755970c6b47ba65eb2b
-DIST lxcfs-4.0.4.tar.gz 101546 BLAKE2B 
1e84e3b75bfb39273539ea72f941442cc3c8574c0f55359a38edc04a98a45ea8680f9bf49c5974decf180a8ecf07cadccf4e732d1743c070a740c78b773a3ee8
 SHA512 
15bcebecc815310870aea58d995d605444b57583b7f1bb2d35b065256ea5f70b071d58887fbf1ca124ea84da99151bbd9dffcca37a2e151677d56229dc8961ce
 DIST lxcfs-4.0.5.tar.gz 101842 BLAKE2B 
c916473e1b7ad42b8f69026a16810941c999d44ffcf1d456cb301411965f05e626338a5bde1e38fe99acd05f72bbcd5acbdcb2f65fa5ec183c967babcb8c70fd
 SHA512 
5c44aa7f43071a4316cc8702928fde2c928bd5654c9ab4d540152839db0d7dd235a861f263da56f02611941d46d22eee98e0cdd52aeaeda99f3c79c754d420a1

diff --git a/sys-fs/lxcfs/lxcfs-4.0.4-r2.ebuild 
b/sys-fs/lxcfs/lxcfs-4.0.4-r2.ebuild
deleted file mode 100644
index ad87ebdf52b..000
--- a/sys-fs/lxcfs/lxcfs-4.0.4-r2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd
-
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
-SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="dev-libs/glib:2
-   sys-fs/fuse:0"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/help2man"
-
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${P}"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # Without the localstatedir the filesystem isn't mounted correctly
-   # Without with-distro ./configure will fail when cross-compiling
-   econf --localstatedir=/var --with-distro=gentoo
-}
-
-src_test() {
-   cd tests/ || die
-   emake tests
-   ./main.sh || die "Tests failed"
-}
-
-src_install() {
-   default
-
-   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
-   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-
-   # Provide our own service file (copy of upstream) due to paths being 
different from upstream, 
-   # 728470
-   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-08-04 Thread Joonas Niilola
commit: 64d48ce1393df59ffe1d93e328f70da074bc9514
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug  4 16:44:40 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug  4 16:50:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d48ce1

sys-fs/lxcfs: bump to 4.0.5

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  1 +
 sys-fs/lxcfs/lxcfs-4.0.5.ebuild | 51 +
 2 files changed, 52 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 1eb6648b2c6..b2286fe267f 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,3 @@
 DIST lxcfs-4.0.3.tar.gz 100719 BLAKE2B 
24371b921ad635f97c51ac8406c949e81330ae358b0166c2af295cb1f630594bb72da802aad41971c11303f393fd05bc9f1b109bd4da4953db2c3bb7e5189315
 SHA512 
0aaedfe826d982b9464dfb60fb57c58e34ea6022b8503bc858538b6634dc7d0845f65832d6f814043dbc0677f887e1b559549a8f3865c755970c6b47ba65eb2b
 DIST lxcfs-4.0.4.tar.gz 101546 BLAKE2B 
1e84e3b75bfb39273539ea72f941442cc3c8574c0f55359a38edc04a98a45ea8680f9bf49c5974decf180a8ecf07cadccf4e732d1743c070a740c78b773a3ee8
 SHA512 
15bcebecc815310870aea58d995d605444b57583b7f1bb2d35b065256ea5f70b071d58887fbf1ca124ea84da99151bbd9dffcca37a2e151677d56229dc8961ce
+DIST lxcfs-4.0.5.tar.gz 101842 BLAKE2B 
c916473e1b7ad42b8f69026a16810941c999d44ffcf1d456cb301411965f05e626338a5bde1e38fe99acd05f72bbcd5acbdcb2f65fa5ec183c967babcb8c70fd
 SHA512 
5c44aa7f43071a4316cc8702928fde2c928bd5654c9ab4d540152839db0d7dd235a861f263da56f02611941d46d22eee98e0cdd52aeaeda99f3c79c754d420a1

diff --git a/sys-fs/lxcfs/lxcfs-4.0.5.ebuild b/sys-fs/lxcfs/lxcfs-4.0.5.ebuild
new file mode 100644
index 000..3f5a924ec10
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-4.0.5.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/glib:2
+   sys-fs/fuse:0"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/help2man"
+
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # Without the localstatedir the filesystem isn't mounted correctly
+   # Without with-distro ./configure will fail when cross-compiling
+   econf --localstatedir=/var --with-distro=gentoo
+}
+
+src_test() {
+   cd tests/ || die
+   emake tests
+   ./main.sh || die "Tests failed"
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream,
+   # 728470
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2020-07-13 Thread Joonas Niilola
commit: cbde434758c938aa1452aa31818fcb3b8fd73245
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Jul 13 06:17:59 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jul 13 07:15:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbde4347

sys-fs/lxcfs: systemd related fixes, #732364

Closes: https://bugs.gentoo.org/732364
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/files/lxcfs-4.0.0.service | 18 ++
 .../{lxcfs-4.0.4-r1.ebuild => lxcfs-4.0.4-r2.ebuild}   |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/files/lxcfs-4.0.0.service 
b/sys-fs/lxcfs/files/lxcfs-4.0.0.service
new file mode 100644
index 000..0bdab880a79
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-4.0.0.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=FUSE filesystem for LXC
+ConditionVirtualization=!container
+Before=lxc.service
+Documentation=man:lxcfs(1)
+
+[Service]
+ExecStartPre=/sbin/modprobe -q fuse
+ExecStartPre=install -d /var/lib/lxcfs
+ExecStart=/usr/bin/lxcfs /var/lib/lxcfs
+KillMode=process
+Restart=on-failure
+ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs
+Delegate=yes
+ExecReload=/bin/kill -USR1 ${MAINPID}
+
+[Install]
+WantedBy=multi-user.target

diff --git a/sys-fs/lxcfs/lxcfs-4.0.4-r1.ebuild 
b/sys-fs/lxcfs/lxcfs-4.0.4-r2.ebuild
similarity index 94%
rename from sys-fs/lxcfs/lxcfs-4.0.4-r1.ebuild
rename to sys-fs/lxcfs/lxcfs-4.0.4-r2.ebuild
index 583ac4fcfa6..ad87ebdf52b 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.4-r1.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.4-r2.ebuild
@@ -47,5 +47,5 @@ src_install() {
 
# Provide our own service file (copy of upstream) due to paths being 
different from upstream, 
# 728470
-   systemd_dounit "${FILESDIR}"/lxcfs.service
+   systemd_newunit "${FILESDIR}"/lxcfs-4.0.0.service lxcfs.service
 }



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2020-06-26 Thread Joonas Niilola
commit: 233276e2457c31e779bf491af2b5462c247831cf
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Jun 26 07:52:10 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jun 26 08:13:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=233276e2

sys-fs/lxcfs: remove old 3.0.3

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest  |  1 -
 sys-fs/lxcfs/files/lxcfs-fusermount-path.patch | 15 --
 sys-fs/lxcfs/files/lxcfs.initd | 26 --
 sys-fs/lxcfs/lxcfs-3.0.3.ebuild| 72 --
 4 files changed, 114 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index e9d5038efe9..1eb6648b2c6 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,2 @@
-DIST lxcfs-3.0.3.tar.gz 49824 BLAKE2B 
02e3a0a6f4fd515924c5f038f00d664ef347c9b685e6561334b460e0ce0ce5580aca67f33df56b44b9cdafa4953f4f92843662f3516e1c923f9242388b17dbc6
 SHA512 
d994e1dd85f499eba2847d33870281a4bcaf4466e2c8f7acb065f4f3d5688b93b775c486bc6db571e64d09a3567710b0c816e12555ffb3e3e50f81bc7f5f6be6
 DIST lxcfs-4.0.3.tar.gz 100719 BLAKE2B 
24371b921ad635f97c51ac8406c949e81330ae358b0166c2af295cb1f630594bb72da802aad41971c11303f393fd05bc9f1b109bd4da4953db2c3bb7e5189315
 SHA512 
0aaedfe826d982b9464dfb60fb57c58e34ea6022b8503bc858538b6634dc7d0845f65832d6f814043dbc0677f887e1b559549a8f3865c755970c6b47ba65eb2b
 DIST lxcfs-4.0.4.tar.gz 101546 BLAKE2B 
1e84e3b75bfb39273539ea72f941442cc3c8574c0f55359a38edc04a98a45ea8680f9bf49c5974decf180a8ecf07cadccf4e732d1743c070a740c78b773a3ee8
 SHA512 
15bcebecc815310870aea58d995d605444b57583b7f1bb2d35b065256ea5f70b071d58887fbf1ca124ea84da99151bbd9dffcca37a2e151677d56229dc8961ce

diff --git a/sys-fs/lxcfs/files/lxcfs-fusermount-path.patch 
b/sys-fs/lxcfs/files/lxcfs-fusermount-path.patch
deleted file mode 100644
index 99a5addf1d1..000
--- a/sys-fs/lxcfs/files/lxcfs-fusermount-path.patch
+++ /dev/null
@@ -1,15 +0,0 @@
 /config/init/systemd/lxcfs.service.orig2018-10-13 17:24:46.534035126 
-0500
-+++ /config/init/systemd/lxcfs.service 2018-10-13 17:25:33.007034294 -0500
-@@ -5,10 +5,10 @@
- Documentation=man:lxcfs(1)
- 
- [Service]
--ExecStart=/usr/bin/lxcfs /var/lib/lxcfs/
-+ExecStart=/usr/bin/lxcfs -o allow_other,nonempty /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.initd b/sys-fs/lxcfs/files/lxcfs.initd
deleted file mode 100644
index 5997426fa8e..000
--- a/sys-fs/lxcfs/files/lxcfs.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-DAEMON=/usr/bin/lxcfs
-PIDFILE=/run/lxcfs.pid
-
-start() {
-ebegin "Starting lxcfs"
-
-start-stop-daemon --start \
- --pidfile ${PIDFILE} \
- --exec ${DAEMON} \
- --background \
- --make-pidfile \
- -- \
- -o allow_other,nonempty /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-3.0.3.ebuild b/sys-fs/lxcfs/lxcfs-3.0.3.ebuild
deleted file mode 100644
index f9c354a881a..000
--- a/sys-fs/lxcfs/lxcfs-3.0.3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd vcs-snapshot
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/;
-LICENSE="Apache-2.0"
-SLOT="0"
-
-if [[ ${PV} == "" ]] ; 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
-
-# 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:0
-"
-DEPEND="
-   sys-apps/help2man
-   ${RDEPEND}
-"
-PATCHES="${FILESDIR}/${PN}-fusermount-path.patch"
-
-src_prepare() {
-   default
-   ./bootstrap.sh || die "Failed to bootstrap configure files"
-}
-
-src_configure() {
-   # Without the localstatedir the filesystem isn't mounted correctly
-   econf --localstatedir=/var
-}
-
-# Test suite fails for me
-# src_test() {
-#  emake tests
-#  tests/main.sh || die "Tests failed"
-# }
-
-src_install() {
-   default
-   keepdir /var/lib/lxcfs
-   newinitd "${FILESDIR}"/${PN}.initd lxcfs
-   systemd_dounit config/init/systemd/lxcfs.service
-}
-
-pkg_preinst() {
-   # In an upgrade situation merging 

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2020-06-21 Thread Joonas Niilola
commit: 019d6bc22c11aa9bb41510b920d579feb2c48316
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Jun 21 16:48:03 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jun 21 17:02:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=019d6bc2

sys-fs/lxcfs: update fusermount path to systemd service file, #728470

Closes: https://bugs.gentoo.org/728470
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/files/lxcfs.service | 16 
 .../lxcfs/{lxcfs-4.0.4.ebuild => lxcfs-4.0.4-r1.ebuild}  |  5 -
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/files/lxcfs.service b/sys-fs/lxcfs/files/lxcfs.service
new file mode 100644
index 000..aea0d6d920f
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=FUSE filesystem for LXC
+ConditionVirtualization=!container
+Before=lxc.service
+Documentation=man:lxcfs(1)
+
+[Service]
+ExecStart=/usr/bin/lxcfs /var/lib/lxcfs
+KillMode=process
+Restart=on-failure
+ExecStopPost=-/usr/bin/fusermount -u /var/lib/lxcfs
+Delegate=yes
+ExecReload=/bin/kill -USR1 $MAINPID
+
+[Install]
+WantedBy=multi-user.target

diff --git a/sys-fs/lxcfs/lxcfs-4.0.4.ebuild 
b/sys-fs/lxcfs/lxcfs-4.0.4-r1.ebuild
similarity index 86%
rename from sys-fs/lxcfs/lxcfs-4.0.4.ebuild
rename to sys-fs/lxcfs/lxcfs-4.0.4-r1.ebuild
index f1d2fdcd767..583ac4fcfa6 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.4.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.4-r1.ebuild
@@ -44,5 +44,8 @@ src_install() {
 
newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
-   systemd_dounit config/init/systemd/lxcfs.service
+
+   # Provide our own service file (copy of upstream) due to paths being 
different from upstream, 
+   # 728470
+   systemd_dounit "${FILESDIR}"/lxcfs.service
 }



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-06-21 Thread Joonas Niilola
commit: 9384140a7639cbf8abcd7d83cda0cad61548c344
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Jun 21 16:57:17 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jun 21 17:02:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9384140a

sys-fs/lxcfs: stabilize 4.0.3 on amd64

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
index 8d4d3457c61..de32fe294cb 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 # Omit all dbus.  Upstream appears to require it because systemd, but
 # lxcfs makes no direct use of dbus.



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-06-19 Thread Joonas Niilola
commit: 8f22de3353d2ebaad1cd2f50a738212c217e5b65
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Jun 19 06:28:01 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Jun 19 06:43:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f22de33

sys-fs/lxcfs: bump to 4.0.4

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest   |  1 +
 sys-fs/lxcfs/lxcfs-4.0.4.ebuild | 48 +
 2 files changed, 49 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 699568b0724..e9d5038efe9 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,3 @@
 DIST lxcfs-3.0.3.tar.gz 49824 BLAKE2B 
02e3a0a6f4fd515924c5f038f00d664ef347c9b685e6561334b460e0ce0ce5580aca67f33df56b44b9cdafa4953f4f92843662f3516e1c923f9242388b17dbc6
 SHA512 
d994e1dd85f499eba2847d33870281a4bcaf4466e2c8f7acb065f4f3d5688b93b775c486bc6db571e64d09a3567710b0c816e12555ffb3e3e50f81bc7f5f6be6
 DIST lxcfs-4.0.3.tar.gz 100719 BLAKE2B 
24371b921ad635f97c51ac8406c949e81330ae358b0166c2af295cb1f630594bb72da802aad41971c11303f393fd05bc9f1b109bd4da4953db2c3bb7e5189315
 SHA512 
0aaedfe826d982b9464dfb60fb57c58e34ea6022b8503bc858538b6634dc7d0845f65832d6f814043dbc0677f887e1b559549a8f3865c755970c6b47ba65eb2b
+DIST lxcfs-4.0.4.tar.gz 101546 BLAKE2B 
1e84e3b75bfb39273539ea72f941442cc3c8574c0f55359a38edc04a98a45ea8680f9bf49c5974decf180a8ecf07cadccf4e732d1743c070a740c78b773a3ee8
 SHA512 
15bcebecc815310870aea58d995d605444b57583b7f1bb2d35b065256ea5f70b071d58887fbf1ca124ea84da99151bbd9dffcca37a2e151677d56229dc8961ce

diff --git a/sys-fs/lxcfs/lxcfs-4.0.4.ebuild b/sys-fs/lxcfs/lxcfs-4.0.4.ebuild
new file mode 100644
index 000..f1d2fdcd767
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-4.0.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-libs/glib:2
+   sys-fs/fuse:0"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/help2man"
+
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # Without the localstatedir the filesystem isn't mounted correctly
+   # Without with-distro ./configure will fail when cross-compiling
+   econf --localstatedir=/var --with-distro=gentoo
+}
+
+src_test() {
+   cd tests/ || die
+   emake tests
+   ./main.sh || die "Tests failed"
+}
+
+src_install() {
+   default
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+   systemd_dounit config/init/systemd/lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-06-01 Thread Joonas Niilola
commit: c29d76ec44c5a81a96d99b32fe46cc1d889453f9
Author: Fergus Dall  google  com>
AuthorDate: Wed Nov 20 04:32:34 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Jun  1 12:46:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29d76ec

sys-fs/lxcfs: Add "--with-distro=gentoo" to econf

This is required for cross-compiling to work

Closes: https://bugs.gentoo.org/700746
Signed-off-by: Fergus Dall  google.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
index 2c44e836a2c..8d4d3457c61 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
@@ -32,7 +32,8 @@ src_prepare() {
 
 src_configure() {
# Without the localstatedir the filesystem isn't mounted correctly
-   econf --localstatedir=/var
+   # Without with-distro ./configure will fail when cross-compiling
+   econf --localstatedir=/var --with-distro=gentoo
 }
 
 src_test() {



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-05-15 Thread Joonas Niilola
commit: 659dc346ebd68da08b7d774d3c1b17c1e12526f9
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri May 15 13:55:27 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri May 15 13:55:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659dc346

sys-fs/lxcfs: temporarily disable keepdir due to weird file collisions

Bug: https://bugs.gentoo.org/698722
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.3.ebuild | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
index 726fa0659d7..2c44e836a2c 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
@@ -15,10 +15,9 @@ KEYWORDS="~amd64"
 
 # 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:0
-"
+# acct-group/lxd needed for the fowners below.
+RDEPEND="dev-libs/glib:2
+   sys-fs/fuse:0"
 DEPEND="${RDEPEND}"
 BDEPEND="sys-apps/help2man"
 
@@ -44,7 +43,9 @@ src_test() {
 src_install() {
default
 
-   keepdir /var/lib/lxcfs
+   # Getting weird file collisions, 
+   # keepdir /var/lib/lxcfs
+   # fowners -R root:lxd /var/lib/lxcfs
 
newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-05-15 Thread Joonas Niilola
commit: d9b5536336fff34e80c459d62a93c5427e9fbfcb
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri May 15 13:39:00 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri May 15 13:39:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b55363

sys-fs/lxcfs: use autotools.eclass instead of custom bootstrap

Closes: https://bugs.gentoo.org/723236
Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
index 0a8970439c2..726fa0659d7 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+inherit autotools systemd
 
 DESCRIPTION="FUSE filesystem for LXC"
 HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
@@ -28,7 +28,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 src_prepare() {
default
-   ./bootstrap.sh || die "Failed to bootstrap configure files"
+   eautoreconf
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2020-05-15 Thread Joonas Niilola
commit: bd6f0efac00e56eb81f90ac9b576d9f442ac8eb0
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri May 15 08:26:54 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri May 15 08:30:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd6f0efa

sys-fs/lxcfs: remove redundant dodir

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/lxcfs-4.0.3.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
index 1e51a567378..0a8970439c2 100644
--- a/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
+++ b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
@@ -44,7 +44,6 @@ src_test() {
 src_install() {
default
 
-   dodir /var/lib/lxcfs
keepdir /var/lib/lxcfs
 
newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2020-05-14 Thread Joonas Niilola
commit: 90b61eec7b3a7507c25d743cc6e769f9d116b05b
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu May 14 15:51:05 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri May 15 05:20:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90b61eec

sys-fs/lxcfs: bump to 4.0.3

Closes: https://bugs.gentoo.org/698722
Closes: https://bugs.gentoo.org/712802

Signed-off-by: Joonas Niilola  gentoo.org>

 sys-fs/lxcfs/Manifest|  1 +
 sys-fs/lxcfs/files/lxcfs-4.0.0.confd |  7 +
 sys-fs/lxcfs/files/lxcfs-4.0.0.initd | 26 ++
 sys-fs/lxcfs/lxcfs-4.0.3.ebuild  | 53 
 4 files changed, 87 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 19f83ee280e..699568b0724 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1 +1,2 @@
 DIST lxcfs-3.0.3.tar.gz 49824 BLAKE2B 
02e3a0a6f4fd515924c5f038f00d664ef347c9b685e6561334b460e0ce0ce5580aca67f33df56b44b9cdafa4953f4f92843662f3516e1c923f9242388b17dbc6
 SHA512 
d994e1dd85f499eba2847d33870281a4bcaf4466e2c8f7acb065f4f3d5688b93b775c486bc6db571e64d09a3567710b0c816e12555ffb3e3e50f81bc7f5f6be6
+DIST lxcfs-4.0.3.tar.gz 100719 BLAKE2B 
24371b921ad635f97c51ac8406c949e81330ae358b0166c2af295cb1f630594bb72da802aad41971c11303f393fd05bc9f1b109bd4da4953db2c3bb7e5189315
 SHA512 
0aaedfe826d982b9464dfb60fb57c58e34ea6022b8503bc858538b6634dc7d0845f65832d6f814043dbc0677f887e1b559549a8f3865c755970c6b47ba65eb2b

diff --git a/sys-fs/lxcfs/files/lxcfs-4.0.0.confd 
b/sys-fs/lxcfs/files/lxcfs-4.0.0.confd
new file mode 100644
index 000..ba443ee4b1f
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-4.0.0.confd
@@ -0,0 +1,7 @@
+# /etc/conf.d/lxcfs: config file for /etc/init.d/lxcfs
+
+# lxcfs options:
+# -l == calculate container load average instead of displaying host load 
average
+# -u == don't display swap usage to containers
+
+LXCFS_OPTS="-l -u"

diff --git a/sys-fs/lxcfs/files/lxcfs-4.0.0.initd 
b/sys-fs/lxcfs/files/lxcfs-4.0.0.initd
new file mode 100644
index 000..d9368e4f28c
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-4.0.0.initd
@@ -0,0 +1,26 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+DAEMON=/usr/bin/lxcfs
+PIDFILE=/run/lxcfs.pid
+
+start() {
+   ebegin "Starting lxcfs."
+   /sbin/modprobe -q fuse
+   install -d /var/lib/lxcfs
+   start-stop-daemon --start \
+   --pidfile ${PIDFILE} \
+   --exec ${DAEMON} \
+   --background \
+   --make-pidfile \
+   -- ${LXCFS_OPTS} \
+   /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-4.0.3.ebuild b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
new file mode 100644
index 000..1e51a567378
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-4.0.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/ 
https://github.com/lxc/lxcfs/;
+SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# 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:0
+"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/help2man"
+
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+   default
+   ./bootstrap.sh || die "Failed to bootstrap configure files"
+}
+
+src_configure() {
+   # Without the localstatedir the filesystem isn't mounted correctly
+   econf --localstatedir=/var
+}
+
+src_test() {
+   emake tests
+   tests/main.sh || die "Tests failed"
+}
+
+src_install() {
+   default
+
+   dodir /var/lib/lxcfs
+   keepdir /var/lib/lxcfs
+
+   newconfd "${FILESDIR}"/lxcfs-4.0.0.confd lxcfs
+   newinitd "${FILESDIR}"/lxcfs-4.0.0.initd lxcfs
+   systemd_dounit config/init/systemd/lxcfs.service
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2019-04-01 Thread Erik Mackdanz
commit: 0f7513a1e115aa3c41dbe4bcc6fa82d647c96e77
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Tue Apr  2 04:04:35 2019 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Tue Apr  2 04:04:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f7513a1

sys-fs/lxcfs: Remove old

Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.12

 sys-fs/lxcfs/Manifest   |  1 -
 sys-fs/lxcfs/lxcfs-3.0.2.ebuild | 72 -
 2 files changed, 73 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 44224535405..19f83ee280e 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1 @@
-DIST lxcfs-3.0.2.tar.gz 49809 BLAKE2B 
dc73149b92ac040c56de5f4c11aafdf6e744ffd2b17e22ee9c784663ff102dedd74453581a77027037955238e081c596377c28b6066012fa32ee575e6a4c57fa
 SHA512 
2065bbd68fd2974fe28c861b1e77c62a501da85e1bfc19eeafa49fd88c66e8e75ae007781c8bd05caf43fb3b80ad12c81c0f0f03d27ab1131e0cfe6d48443218
 DIST lxcfs-3.0.3.tar.gz 49824 BLAKE2B 
02e3a0a6f4fd515924c5f038f00d664ef347c9b685e6561334b460e0ce0ce5580aca67f33df56b44b9cdafa4953f4f92843662f3516e1c923f9242388b17dbc6
 SHA512 
d994e1dd85f499eba2847d33870281a4bcaf4466e2c8f7acb065f4f3d5688b93b775c486bc6db571e64d09a3567710b0c816e12555ffb3e3e50f81bc7f5f6be6

diff --git a/sys-fs/lxcfs/lxcfs-3.0.2.ebuild b/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
deleted file mode 100644
index f9c354a881a..000
--- a/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd vcs-snapshot
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/;
-LICENSE="Apache-2.0"
-SLOT="0"
-
-if [[ ${PV} == "" ]] ; 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
-
-# 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:0
-"
-DEPEND="
-   sys-apps/help2man
-   ${RDEPEND}
-"
-PATCHES="${FILESDIR}/${PN}-fusermount-path.patch"
-
-src_prepare() {
-   default
-   ./bootstrap.sh || die "Failed to bootstrap configure files"
-}
-
-src_configure() {
-   # Without the localstatedir the filesystem isn't mounted correctly
-   econf --localstatedir=/var
-}
-
-# Test suite fails for me
-# src_test() {
-#  emake tests
-#  tests/main.sh || die "Tests failed"
-# }
-
-src_install() {
-   default
-   keepdir /var/lib/lxcfs
-   newinitd "${FILESDIR}"/${PN}.initd lxcfs
-   systemd_dounit config/init/systemd/lxcfs.service
-}
-
-pkg_preinst() {
-   # In an upgrade situation merging /var/lib/lxcfs (an empty dir)
-   # fails because that is a live mountpoint when the service is
-   # running.  It's unnecessary anyway so skip the action.
-   [[ -d ${ROOT}/var/lib/lxcfs ]] && rm -rf ${D}/var
-}
-
-pkg_postinst() {
-   einfo
-   einfo "Starting with version 3.0.0 the cgfs PAM module has moved, and"
-   einfo "will eventually be available in app-emulation/lxc.  See:"
-   einfo 
"https://brauner.github.io/2018/02/28/lxc-includes-cgroup-pam-module.html;
-   einfo "for more information."
-   einfo
-}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2019-04-01 Thread Erik Mackdanz
commit: 2356986d2eeb4a7d726d22fc1829ec6b329d55ba
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Tue Apr  2 04:03:12 2019 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Tue Apr  2 04:03:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2356986d

sys-fs/lxcfs: Stabilize 3.0.3

Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.12

 sys-fs/lxcfs/lxcfs-3.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/lxcfs-3.0.3.ebuild b/sys-fs/lxcfs/lxcfs-3.0.3.ebuild
index 4d89fb38cc5..f9c354a881a 100644
--- a/sys-fs/lxcfs/lxcfs-3.0.3.ebuild
+++ b/sys-fs/lxcfs/lxcfs-3.0.3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == "" ]] ; then
KEYWORDS=""
 else
SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
-   KEYWORDS="~amd64"
+   KEYWORDS="amd64"
 fi
 
 # Omit all dbus.  Upstream appears to require it because systemd, but



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2019-02-06 Thread Erik Mackdanz
commit: ffe4f60e91de25b0a9d0309cb208f85955bfc2a7
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Thu Feb  7 04:31:07 2019 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Thu Feb  7 04:31:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe4f60e

sys-fs/lxcfs: Remove old version

Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.59, Repoman-2.3.12

 sys-fs/lxcfs/Manifest  |  1 -
 .../lxcfs/files/lxcfs-3.0.0-fusermount-path.patch  | 11 
 sys-fs/lxcfs/files/lxcfs-3.0.0.initd   | 26 
 sys-fs/lxcfs/lxcfs-3.0.0.ebuild| 74 --
 4 files changed, 112 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index c9df8779225..44224535405 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,2 @@
-DIST lxcfs-3.0.0.tar.gz 49219 BLAKE2B 
c21cd9983e9175bf3a31bafd8a29ddd6a6a549226bd432636dd4ea48bf6268c403f236ca39739a989cd89fa7b0b05043c179ca328fd739f5a9d56e27907a7a60
 SHA512 
99fe11e99c2e487d6ecd9a8484be6413563ddcb33740631ee6fe1b60d3d2d62cea1bb44d1ef6dc45283f5b3d20cd680d48ea3cb5ad17f0c3e7ba6ed56186c42f
 DIST lxcfs-3.0.2.tar.gz 49809 BLAKE2B 
dc73149b92ac040c56de5f4c11aafdf6e744ffd2b17e22ee9c784663ff102dedd74453581a77027037955238e081c596377c28b6066012fa32ee575e6a4c57fa
 SHA512 
2065bbd68fd2974fe28c861b1e77c62a501da85e1bfc19eeafa49fd88c66e8e75ae007781c8bd05caf43fb3b80ad12c81c0f0f03d27ab1131e0cfe6d48443218
 DIST lxcfs-3.0.3.tar.gz 49824 BLAKE2B 
02e3a0a6f4fd515924c5f038f00d664ef347c9b685e6561334b460e0ce0ce5580aca67f33df56b44b9cdafa4953f4f92843662f3516e1c923f9242388b17dbc6
 SHA512 
d994e1dd85f499eba2847d33870281a4bcaf4466e2c8f7acb065f4f3d5688b93b775c486bc6db571e64d09a3567710b0c816e12555ffb3e3e50f81bc7f5f6be6

diff --git a/sys-fs/lxcfs/files/lxcfs-3.0.0-fusermount-path.patch 
b/sys-fs/lxcfs/files/lxcfs-3.0.0-fusermount-path.patch
deleted file mode 100644
index 61d3494fb7f..000
--- a/sys-fs/lxcfs/files/lxcfs-3.0.0-fusermount-path.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 /config/init/systemd/lxcfs.service.orig2016-07-11 01:18:57.688074437 
+
-+++ /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +
-@@ -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-3.0.0.initd 
b/sys-fs/lxcfs/files/lxcfs-3.0.0.initd
deleted file mode 100644
index a34e74af7b6..000
--- a/sys-fs/lxcfs/files/lxcfs-3.0.0.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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-3.0.0.ebuild b/sys-fs/lxcfs/lxcfs-3.0.0.ebuild
deleted file mode 100644
index a16a47a4d9f..000
--- a/sys-fs/lxcfs/lxcfs-3.0.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd vcs-snapshot versionator
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/;
-LICENSE="Apache-2.0"
-SLOT="0"
-
-if [[ ${PV} == "" ]] ; 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
-
-# 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:0
-"
-DEPEND="
-   sys-apps/help2man
-   ${RDEPEND}
-"
-PATCHES="${FILESDIR}/${P}-fusermount-path.patch"
-
-src_prepare() {
-   default
-   ./bootstrap.sh || die "Failed to bootstrap configure files"
-}
-
-src_configure() {
-   # Without the localstatedir the filesystem isn't mounted correctly
-   econf --localstatedir=/var
-}
-
-# Test suite fails for me
-# src_test() {
-#  emake tests
-#  tests/main.sh || die "Tests failed"
-# }
-
-src_install() {
-   default
-   keepdir /var/lib/lxcfs
-   newinitd 

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2019-02-06 Thread Erik Mackdanz
commit: c3a68a71071fca48dc22174dbc6e3fe379e2579a
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Thu Feb  7 04:28:28 2019 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Thu Feb  7 04:28:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3a68a71

sys-fs/lxcfs: Bump to 3.0.3

Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.59, Repoman-2.3.12

 sys-fs/lxcfs/Manifest   | 1 +
 ...xcfs-3.0.2-fusermount-path.patch => lxcfs-fusermount-path.patch} | 0
 sys-fs/lxcfs/files/{lxcfs-3.0.2.initd => lxcfs.initd}   | 2 +-
 sys-fs/lxcfs/lxcfs-3.0.2.ebuild | 4 ++--
 sys-fs/lxcfs/{lxcfs-3.0.2.ebuild => lxcfs-3.0.3.ebuild} | 6 +++---
 5 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 8b3d028d5c3..c9df8779225 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,3 @@
 DIST lxcfs-3.0.0.tar.gz 49219 BLAKE2B 
c21cd9983e9175bf3a31bafd8a29ddd6a6a549226bd432636dd4ea48bf6268c403f236ca39739a989cd89fa7b0b05043c179ca328fd739f5a9d56e27907a7a60
 SHA512 
99fe11e99c2e487d6ecd9a8484be6413563ddcb33740631ee6fe1b60d3d2d62cea1bb44d1ef6dc45283f5b3d20cd680d48ea3cb5ad17f0c3e7ba6ed56186c42f
 DIST lxcfs-3.0.2.tar.gz 49809 BLAKE2B 
dc73149b92ac040c56de5f4c11aafdf6e744ffd2b17e22ee9c784663ff102dedd74453581a77027037955238e081c596377c28b6066012fa32ee575e6a4c57fa
 SHA512 
2065bbd68fd2974fe28c861b1e77c62a501da85e1bfc19eeafa49fd88c66e8e75ae007781c8bd05caf43fb3b80ad12c81c0f0f03d27ab1131e0cfe6d48443218
+DIST lxcfs-3.0.3.tar.gz 49824 BLAKE2B 
02e3a0a6f4fd515924c5f038f00d664ef347c9b685e6561334b460e0ce0ce5580aca67f33df56b44b9cdafa4953f4f92843662f3516e1c923f9242388b17dbc6
 SHA512 
d994e1dd85f499eba2847d33870281a4bcaf4466e2c8f7acb065f4f3d5688b93b775c486bc6db571e64d09a3567710b0c816e12555ffb3e3e50f81bc7f5f6be6

diff --git a/sys-fs/lxcfs/files/lxcfs-3.0.2-fusermount-path.patch 
b/sys-fs/lxcfs/files/lxcfs-fusermount-path.patch
similarity index 100%
rename from sys-fs/lxcfs/files/lxcfs-3.0.2-fusermount-path.patch
rename to sys-fs/lxcfs/files/lxcfs-fusermount-path.patch

diff --git a/sys-fs/lxcfs/files/lxcfs-3.0.2.initd 
b/sys-fs/lxcfs/files/lxcfs.initd
similarity index 93%
rename from sys-fs/lxcfs/files/lxcfs-3.0.2.initd
rename to sys-fs/lxcfs/files/lxcfs.initd
index 52d8202d7ac..5997426fa8e 100644
--- a/sys-fs/lxcfs/files/lxcfs-3.0.2.initd
+++ b/sys-fs/lxcfs/files/lxcfs.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 DAEMON=/usr/bin/lxcfs

diff --git a/sys-fs/lxcfs/lxcfs-3.0.2.ebuild b/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
index 6c80f13b0e8..f9c354a881a 100644
--- a/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
+++ b/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
@@ -30,7 +30,7 @@ DEPEND="
sys-apps/help2man
${RDEPEND}
 "
-PATCHES="${FILESDIR}/${P}-fusermount-path.patch"
+PATCHES="${FILESDIR}/${PN}-fusermount-path.patch"
 
 src_prepare() {
default
@@ -51,7 +51,7 @@ src_configure() {
 src_install() {
default
keepdir /var/lib/lxcfs
-   newinitd "${FILESDIR}"/${P}.initd lxcfs
+   newinitd "${FILESDIR}"/${PN}.initd lxcfs
systemd_dounit config/init/systemd/lxcfs.service
 }
 

diff --git a/sys-fs/lxcfs/lxcfs-3.0.2.ebuild b/sys-fs/lxcfs/lxcfs-3.0.3.ebuild
similarity index 93%
copy from sys-fs/lxcfs/lxcfs-3.0.2.ebuild
copy to sys-fs/lxcfs/lxcfs-3.0.3.ebuild
index 6c80f13b0e8..4d89fb38cc5 100644
--- a/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
+++ b/sys-fs/lxcfs/lxcfs-3.0.3.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == "" ]] ; then
KEYWORDS=""
 else
SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
-   KEYWORDS="amd64"
+   KEYWORDS="~amd64"
 fi
 
 # Omit all dbus.  Upstream appears to require it because systemd, but
@@ -30,7 +30,7 @@ DEPEND="
sys-apps/help2man
${RDEPEND}
 "
-PATCHES="${FILESDIR}/${P}-fusermount-path.patch"
+PATCHES="${FILESDIR}/${PN}-fusermount-path.patch"
 
 src_prepare() {
default
@@ -51,7 +51,7 @@ src_configure() {
 src_install() {
default
keepdir /var/lib/lxcfs
-   newinitd "${FILESDIR}"/${P}.initd lxcfs
+   newinitd "${FILESDIR}"/${PN}.initd lxcfs
systemd_dounit config/init/systemd/lxcfs.service
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2019-02-06 Thread Erik Mackdanz
commit: 9734a0dae2f280319c78f77685aa3f6ab9af5ce9
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Thu Feb  7 03:16:27 2019 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Thu Feb  7 03:16:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9734a0da

sys-fs/lxcfs: Stabilize 3.0.2

Closes: https://bugs.gentoo.org/676070
Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.59, Repoman-2.3.12

 sys-fs/lxcfs/lxcfs-3.0.2.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-fs/lxcfs/lxcfs-3.0.2.ebuild b/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
index ce923205a59..6c80f13b0e8 100644
--- a/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
+++ b/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,13 +11,13 @@ SLOT="0"
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="https://github.com/lxc/lxcfs.git;
-   EGIT_BRANCH="master"
+   EGIT_BRANCH="master"
inherit git-r3
-   SRC_URI=""
+   SRC_URI=""
KEYWORDS=""
 else
SRC_URI="https://github.com/lxc/lxcfs/archive/${P}.tar.gz;
-   KEYWORDS="~amd64"
+   KEYWORDS="amd64"
 fi
 
 # Omit all dbus.  Upstream appears to require it because systemd, but



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2018-10-13 Thread Erik Mackdanz
commit: f92a7ea8a9957b94887bd608f1cc40a03295e691
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Oct 13 22:40:31 2018 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Oct 13 22:40:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f92a7ea8

sys-fs/lxcfs: Remove old versions

Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-fs/lxcfs/Manifest  |  2 -
 .../lxcfs/files/lxcfs-2.0.4-fusermount-path.patch  | 11 
 sys-fs/lxcfs/files/lxcfs-2.0.4.initd   | 26 
 .../lxcfs/files/lxcfs-2.0.6-fusermount-path.patch  | 11 
 sys-fs/lxcfs/files/lxcfs-2.0.6.initd   | 26 
 sys-fs/lxcfs/lxcfs-2.0.4.ebuild| 70 --
 sys-fs/lxcfs/lxcfs-2.0.6.ebuild| 70 --
 7 files changed, 216 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index cc84b00c2c3..8b3d028d5c3 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,2 @@
-DIST lxcfs-2.0.4.tar.gz 52639 BLAKE2B 
4ef8509b05ac98338003801afeb67a15fcfd1270f90e7b5d1970c4171b9296b77e116f91ec29ec29f3feb0e03c5f2ddf49d014824869aa6cf9897441ebac17a3
 SHA512 
1c701fbd60799a1f7ad7e809c2e52ef0d26ed44e96c2c0376d3c4eb203aafb99ddcaff015f3fa8cc9c1219449210f6bf93844cc568de3a9f55cb8801328cec90
-DIST lxcfs-2.0.6.tar.gz 62632 BLAKE2B 
2bc76de0a7e2657b0d73e79260bfaf5a1ba070a4571d81a7c26d3637fc93937c824496119ff32fbfa56b6f97deca4bb145a952862aff148932531c489eea57a9
 SHA512 
52baf15eb9dc2b694085635f7d8e5c6f1207099173cda607d758b8837a720e4808cacbf83f900a6734d3260d34abafbebdcbb0618cb3cf67c5d304f50d66244d
 DIST lxcfs-3.0.0.tar.gz 49219 BLAKE2B 
c21cd9983e9175bf3a31bafd8a29ddd6a6a549226bd432636dd4ea48bf6268c403f236ca39739a989cd89fa7b0b05043c179ca328fd739f5a9d56e27907a7a60
 SHA512 
99fe11e99c2e487d6ecd9a8484be6413563ddcb33740631ee6fe1b60d3d2d62cea1bb44d1ef6dc45283f5b3d20cd680d48ea3cb5ad17f0c3e7ba6ed56186c42f
 DIST lxcfs-3.0.2.tar.gz 49809 BLAKE2B 
dc73149b92ac040c56de5f4c11aafdf6e744ffd2b17e22ee9c784663ff102dedd74453581a77027037955238e081c596377c28b6066012fa32ee575e6a4c57fa
 SHA512 
2065bbd68fd2974fe28c861b1e77c62a501da85e1bfc19eeafa49fd88c66e8e75ae007781c8bd05caf43fb3b80ad12c81c0f0f03d27ab1131e0cfe6d48443218

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
deleted file mode 100644
index 61d3494fb7f..000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.4-fusermount-path.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 /config/init/systemd/lxcfs.service.orig2016-07-11 01:18:57.688074437 
+
-+++ /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +
-@@ -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.4.initd 
b/sys-fs/lxcfs/files/lxcfs-2.0.4.initd
deleted file mode 100644
index dd556894b7f..000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.4.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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.6-fusermount-path.patch 
b/sys-fs/lxcfs/files/lxcfs-2.0.6-fusermount-path.patch
deleted file mode 100644
index 61d3494fb7f..000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.6-fusermount-path.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 /config/init/systemd/lxcfs.service.orig2016-07-11 01:18:57.688074437 
+
-+++ /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +
-@@ -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.6.initd 
b/sys-fs/lxcfs/files/lxcfs-2.0.6.initd
deleted file mode 100644
index dfc5725f693..000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.6.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-DAEMON=/usr/bin/lxcfs
-PIDFILE=/run/lxcfs.pid
-
-start() {
-ebegin "Starting lxcfs"
-
-start-stop-daemon --start \
-

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2018-10-13 Thread Erik Mackdanz
commit: 2e422564a20244f01f7ae40c7a7d28f43216cd31
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Oct 13 22:36:11 2018 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Oct 13 22:37:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e422564

sys-fs/lxcfs: Bump to 3.0.2

Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-fs/lxcfs/Manifest  |  1 +
 .../lxcfs/files/lxcfs-3.0.2-fusermount-path.patch  | 15 +
 sys-fs/lxcfs/files/lxcfs-3.0.2.initd   | 26 
 sys-fs/lxcfs/lxcfs-3.0.2.ebuild| 72 ++
 4 files changed, 114 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 7536f41bd56..cc84b00c2c3 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,4 @@
 DIST lxcfs-2.0.4.tar.gz 52639 BLAKE2B 
4ef8509b05ac98338003801afeb67a15fcfd1270f90e7b5d1970c4171b9296b77e116f91ec29ec29f3feb0e03c5f2ddf49d014824869aa6cf9897441ebac17a3
 SHA512 
1c701fbd60799a1f7ad7e809c2e52ef0d26ed44e96c2c0376d3c4eb203aafb99ddcaff015f3fa8cc9c1219449210f6bf93844cc568de3a9f55cb8801328cec90
 DIST lxcfs-2.0.6.tar.gz 62632 BLAKE2B 
2bc76de0a7e2657b0d73e79260bfaf5a1ba070a4571d81a7c26d3637fc93937c824496119ff32fbfa56b6f97deca4bb145a952862aff148932531c489eea57a9
 SHA512 
52baf15eb9dc2b694085635f7d8e5c6f1207099173cda607d758b8837a720e4808cacbf83f900a6734d3260d34abafbebdcbb0618cb3cf67c5d304f50d66244d
 DIST lxcfs-3.0.0.tar.gz 49219 BLAKE2B 
c21cd9983e9175bf3a31bafd8a29ddd6a6a549226bd432636dd4ea48bf6268c403f236ca39739a989cd89fa7b0b05043c179ca328fd739f5a9d56e27907a7a60
 SHA512 
99fe11e99c2e487d6ecd9a8484be6413563ddcb33740631ee6fe1b60d3d2d62cea1bb44d1ef6dc45283f5b3d20cd680d48ea3cb5ad17f0c3e7ba6ed56186c42f
+DIST lxcfs-3.0.2.tar.gz 49809 BLAKE2B 
dc73149b92ac040c56de5f4c11aafdf6e744ffd2b17e22ee9c784663ff102dedd74453581a77027037955238e081c596377c28b6066012fa32ee575e6a4c57fa
 SHA512 
2065bbd68fd2974fe28c861b1e77c62a501da85e1bfc19eeafa49fd88c66e8e75ae007781c8bd05caf43fb3b80ad12c81c0f0f03d27ab1131e0cfe6d48443218

diff --git a/sys-fs/lxcfs/files/lxcfs-3.0.2-fusermount-path.patch 
b/sys-fs/lxcfs/files/lxcfs-3.0.2-fusermount-path.patch
new file mode 100644
index 000..99a5addf1d1
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-3.0.2-fusermount-path.patch
@@ -0,0 +1,15 @@
+--- /config/init/systemd/lxcfs.service.orig2018-10-13 17:24:46.534035126 
-0500
 /config/init/systemd/lxcfs.service 2018-10-13 17:25:33.007034294 -0500
+@@ -5,10 +5,10 @@
+ Documentation=man:lxcfs(1)
+ 
+ [Service]
+-ExecStart=/usr/bin/lxcfs /var/lib/lxcfs/
++ExecStart=/usr/bin/lxcfs -o allow_other,nonempty /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-3.0.2.initd 
b/sys-fs/lxcfs/files/lxcfs-3.0.2.initd
new file mode 100644
index 000..52d8202d7ac
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-3.0.2.initd
@@ -0,0 +1,26 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+DAEMON=/usr/bin/lxcfs
+PIDFILE=/run/lxcfs.pid
+
+start() {
+ebegin "Starting lxcfs"
+
+start-stop-daemon --start \
+ --pidfile ${PIDFILE} \
+ --exec ${DAEMON} \
+ --background \
+ --make-pidfile \
+ -- \
+ -o allow_other,nonempty /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-3.0.2.ebuild b/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
new file mode 100644
index 000..ce923205a59
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-3.0.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd vcs-snapshot
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/;
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ ${PV} == "" ]] ; 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
+
+# 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:0
+"
+DEPEND="
+   sys-apps/help2man
+   ${RDEPEND}
+"
+PATCHES="${FILESDIR}/${P}-fusermount-path.patch"
+
+src_prepare() {
+   default
+   ./bootstrap.sh || die "Failed to bootstrap configure files"
+}
+
+src_configure() {
+   # Without the localstatedir the filesystem isn't mounted correctly
+   

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2018-10-13 Thread Erik Mackdanz
commit: 7be665c89d732286c63ab6cbc411d8164ce020df
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Oct 13 21:29:31 2018 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Oct 13 21:29:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be665c8

sys-fs/lxcfs: Stabilize 3.0.0

Signed-off-by: Erik Mackdanz  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-fs/lxcfs/lxcfs-3.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-fs/lxcfs/lxcfs-3.0.0.ebuild b/sys-fs/lxcfs/lxcfs-3.0.0.ebuild
index 1e619383c4c..a16a47a4d9f 100644
--- a/sys-fs/lxcfs/lxcfs-3.0.0.ebuild
+++ b/sys-fs/lxcfs/lxcfs-3.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,7 +19,7 @@ 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"
+   KEYWORDS="amd64"
 fi
 
 # Omit all dbus.  Upstream appears to require it because systemd, but



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2018-04-08 Thread Erik Mackdanz
commit: 4b8ffd26f1eddf2da6844f38767968f6d6e9fbf3
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sun Apr  8 19:42:57 2018 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sun Apr  8 19:42:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8ffd26

sys-fs/lxcfs: bump to 3.0.0

Closes: https://bugs.gentoo.org/652392
Package-Manager: Portage-2.3.26, Repoman-2.3.7

 sys-fs/lxcfs/Manifest  |  1 +
 .../lxcfs/files/lxcfs-3.0.0-fusermount-path.patch  | 11 
 sys-fs/lxcfs/files/lxcfs-3.0.0.initd   | 26 
 sys-fs/lxcfs/lxcfs-3.0.0.ebuild| 74 ++
 sys-fs/lxcfs/metadata.xml  |  4 ++
 5 files changed, 116 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 0ce70b1..7536f41bd56 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,3 @@
 DIST lxcfs-2.0.4.tar.gz 52639 BLAKE2B 
4ef8509b05ac98338003801afeb67a15fcfd1270f90e7b5d1970c4171b9296b77e116f91ec29ec29f3feb0e03c5f2ddf49d014824869aa6cf9897441ebac17a3
 SHA512 
1c701fbd60799a1f7ad7e809c2e52ef0d26ed44e96c2c0376d3c4eb203aafb99ddcaff015f3fa8cc9c1219449210f6bf93844cc568de3a9f55cb8801328cec90
 DIST lxcfs-2.0.6.tar.gz 62632 BLAKE2B 
2bc76de0a7e2657b0d73e79260bfaf5a1ba070a4571d81a7c26d3637fc93937c824496119ff32fbfa56b6f97deca4bb145a952862aff148932531c489eea57a9
 SHA512 
52baf15eb9dc2b694085635f7d8e5c6f1207099173cda607d758b8837a720e4808cacbf83f900a6734d3260d34abafbebdcbb0618cb3cf67c5d304f50d66244d
+DIST lxcfs-3.0.0.tar.gz 49219 BLAKE2B 
c21cd9983e9175bf3a31bafd8a29ddd6a6a549226bd432636dd4ea48bf6268c403f236ca39739a989cd89fa7b0b05043c179ca328fd739f5a9d56e27907a7a60
 SHA512 
99fe11e99c2e487d6ecd9a8484be6413563ddcb33740631ee6fe1b60d3d2d62cea1bb44d1ef6dc45283f5b3d20cd680d48ea3cb5ad17f0c3e7ba6ed56186c42f

diff --git a/sys-fs/lxcfs/files/lxcfs-3.0.0-fusermount-path.patch 
b/sys-fs/lxcfs/files/lxcfs-3.0.0-fusermount-path.patch
new file mode 100644
index 000..61d3494fb7f
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-3.0.0-fusermount-path.patch
@@ -0,0 +1,11 @@
+--- /config/init/systemd/lxcfs.service.orig2016-07-11 01:18:57.688074437 
+
 /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +
+@@ -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-3.0.0.initd 
b/sys-fs/lxcfs/files/lxcfs-3.0.0.initd
new file mode 100644
index 000..a34e74af7b6
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-3.0.0.initd
@@ -0,0 +1,26 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-3.0.0.ebuild b/sys-fs/lxcfs/lxcfs-3.0.0.ebuild
new file mode 100644
index 000..1e619383c4c
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-3.0.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd vcs-snapshot versionator
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/;
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ ${PV} == "" ]] ; 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
+
+# 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:0
+"
+DEPEND="
+   sys-apps/help2man
+   ${RDEPEND}
+"
+PATCHES="${FILESDIR}/${P}-fusermount-path.patch"
+
+src_prepare() {
+   default
+   ./bootstrap.sh || die "Failed to bootstrap configure files"
+}
+
+src_configure() {
+   # Without the localstatedir the filesystem isn't mounted correctly
+   econf --localstatedir=/var
+}
+
+# Test suite fails for me
+# src_test() {
+#  emake tests
+#  tests/main.sh || die "Tests failed"
+# }
+
+src_install() {
+   default
+   keepdir 

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2017-03-19 Thread Erik Mackdanz
commit: 69695164a6ffc69e419da45d614aeb21533e867e
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Mon Mar 20 05:00:39 2017 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Mon Mar 20 05:00:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69695164

sys-fs/lxcfs: remove old version

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-fs/lxcfs/Manifest  |  1 -
 .../lxcfs/files/lxcfs-2.0.3-fusermount-path.patch  | 11 
 sys-fs/lxcfs/files/lxcfs-2.0.3.initd   | 26 
 sys-fs/lxcfs/lxcfs-2.0.3.ebuild| 70 --
 4 files changed, 108 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index f159e85e3f6..a541be13fe4 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,2 @@
-DIST lxcfs-2.0.3.tar.gz 51078 SHA256 
742a6cc463dc66179c334ebca4c3276888ef27a564e5e47212b60c655a811a72 SHA512 
14caa2d6598529610ef6bd4c1d6f4d4598e8dc1378a3ee35ea7a1582c11150c896facc80216e67526384995891d9cc1244796860b790ecfc8bf735cc2cd80923
 WHIRLPOOL 
f2de2438e4e521db5135ca81daceccdc1d3820907de9d37842c9bafa112cc416774cb2efe27b815ce26e55617c7eb9f5d076df5423ab354747605fa90643
 DIST lxcfs-2.0.4.tar.gz 52639 SHA256 
9af8199dba2837542ede6e50489100220472241e4b355b685e66c9a72bbcf81a SHA512 
1c701fbd60799a1f7ad7e809c2e52ef0d26ed44e96c2c0376d3c4eb203aafb99ddcaff015f3fa8cc9c1219449210f6bf93844cc568de3a9f55cb8801328cec90
 WHIRLPOOL 
1ac966bab786b00a236225e1856c46fa9d419e42853edcd1181fc3f43d54becb60435fa0679a6a0f838a5edeb920205e3baa734118a4b5d9587e547fd63e3704
 DIST lxcfs-2.0.6.tar.gz 62632 SHA256 
be4ea891887aee2c04b2d9ff5dbb6866178cc1276119f5b116bf3f99c7750213 SHA512 
52baf15eb9dc2b694085635f7d8e5c6f1207099173cda607d758b8837a720e4808cacbf83f900a6734d3260d34abafbebdcbb0618cb3cf67c5d304f50d66244d
 WHIRLPOOL 
0d7fc69400678f03dd8ccb06fee643feaa62469e6287a6bc3935232f775bc93fa5c1d649e7747b3b09867f2678593eaf923c947499c549cfd6c40fcd28620a95

diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.3-fusermount-path.patch 
b/sys-fs/lxcfs/files/lxcfs-2.0.3-fusermount-path.patch
deleted file mode 100644
index 61d3494fb7f..000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.3-fusermount-path.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 /config/init/systemd/lxcfs.service.orig2016-07-11 01:18:57.688074437 
+
-+++ /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +
-@@ -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.3.initd 
b/sys-fs/lxcfs/files/lxcfs-2.0.3.initd
deleted file mode 100644
index dd556894b7f..000
--- a/sys-fs/lxcfs/files/lxcfs-2.0.3.initd
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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-2.0.3.ebuild b/sys-fs/lxcfs/lxcfs-2.0.3.ebuild
deleted file mode 100644
index 82ea9915b32..000
--- a/sys-fs/lxcfs/lxcfs-2.0.3.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd vcs-snapshot versionator
-DESCRIPTION="FUSE filesystem for LXC"
-HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/;
-LICENSE="Apache-2.0"
-SLOT="0"
-
-if [[ ${PV} == "" ]] ; 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}
-"
-PATCHES="${FILESDIR}/${P}-fusermount-path.patch"
-
-src_prepare() {
-   default
-   ./bootstrap.sh || die "Failed to bootstrap configure files"
-}
-
-src_configure() {
-   use pam || pamflag="--with-pamdir=none"
-
-   # Without the localstatedir the filesystem isn't 

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2017-03-19 Thread Erik Mackdanz
commit: e3e0e087b3efc6d1ba2c93b8bbaa65c03b1ad2eb
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Mon Mar 20 02:02:40 2017 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Mon Mar 20 02:02:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3e0e087

sys-fs/lxcfs: version bump to 2.0.6

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-fs/lxcfs/Manifest  |  1 +
 .../lxcfs/files/lxcfs-2.0.6-fusermount-path.patch  | 11 
 sys-fs/lxcfs/files/lxcfs-2.0.6.initd   | 26 
 sys-fs/lxcfs/lxcfs-2.0.6.ebuild| 70 ++
 4 files changed, 108 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 2871694fdde..f159e85e3f6 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,3 @@
 DIST lxcfs-2.0.3.tar.gz 51078 SHA256 
742a6cc463dc66179c334ebca4c3276888ef27a564e5e47212b60c655a811a72 SHA512 
14caa2d6598529610ef6bd4c1d6f4d4598e8dc1378a3ee35ea7a1582c11150c896facc80216e67526384995891d9cc1244796860b790ecfc8bf735cc2cd80923
 WHIRLPOOL 
f2de2438e4e521db5135ca81daceccdc1d3820907de9d37842c9bafa112cc416774cb2efe27b815ce26e55617c7eb9f5d076df5423ab354747605fa90643
 DIST lxcfs-2.0.4.tar.gz 52639 SHA256 
9af8199dba2837542ede6e50489100220472241e4b355b685e66c9a72bbcf81a SHA512 
1c701fbd60799a1f7ad7e809c2e52ef0d26ed44e96c2c0376d3c4eb203aafb99ddcaff015f3fa8cc9c1219449210f6bf93844cc568de3a9f55cb8801328cec90
 WHIRLPOOL 
1ac966bab786b00a236225e1856c46fa9d419e42853edcd1181fc3f43d54becb60435fa0679a6a0f838a5edeb920205e3baa734118a4b5d9587e547fd63e3704
+DIST lxcfs-2.0.6.tar.gz 62632 SHA256 
be4ea891887aee2c04b2d9ff5dbb6866178cc1276119f5b116bf3f99c7750213 SHA512 
52baf15eb9dc2b694085635f7d8e5c6f1207099173cda607d758b8837a720e4808cacbf83f900a6734d3260d34abafbebdcbb0618cb3cf67c5d304f50d66244d
 WHIRLPOOL 
0d7fc69400678f03dd8ccb06fee643feaa62469e6287a6bc3935232f775bc93fa5c1d649e7747b3b09867f2678593eaf923c947499c549cfd6c40fcd28620a95

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
new file mode 100644
index 000..61d3494fb7f
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.6-fusermount-path.patch
@@ -0,0 +1,11 @@
+--- /config/init/systemd/lxcfs.service.orig2016-07-11 01:18:57.688074437 
+
 /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +
+@@ -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.6.initd 
b/sys-fs/lxcfs/files/lxcfs-2.0.6.initd
new file mode 100644
index 000..dfc5725f693
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.6.initd
@@ -0,0 +1,26 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-2.0.6.ebuild b/sys-fs/lxcfs/lxcfs-2.0.6.ebuild
new file mode 100644
index 000..bc296b6a704
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-2.0.6.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd vcs-snapshot versionator
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/;
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ ${PV} == "" ]] ; 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}
+"
+PATCHES="${FILESDIR}/${P}-fusermount-path.patch"
+
+src_prepare() {
+   default
+   ./bootstrap.sh || die "Failed to bootstrap configure files"
+}
+
+src_configure() {
+   use pam || pamflag="--with-pamdir=none"
+
+   # Without the localstatedir the filesystem isn't mounted 

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2016-10-10 Thread Erik Mackdanz
commit: 8a0d2cf4640ec4c6311b10d6d482afd4a88b605b
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Tue Oct 11 03:41:38 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Tue Oct 11 03:41:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0d2cf4

sys-fs/lxcfs: Remove old

Package-Manager: portage-2.3.1

 sys-fs/lxcfs/Manifest  |  5 --
 sys-fs/lxcfs/files/lxcfs-0.17.initd| 27 --
 sys-fs/lxcfs/files/lxcfs-0.17.service  | 13 -
 sys-fs/lxcfs/files/lxcfs-2.0.0.initd   | 27 --
 sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd | 27 --
 sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service   | 13 -
 sys-fs/lxcfs/files/lxcfs-2.0.1.initd   | 27 --
 sys-fs/lxcfs/files/lxcfs-2.0.1.service | 13 -
 .../lxcfs/files/lxcfs-2.0.2-fusermount-path.patch  | 11 
 sys-fs/lxcfs/files/lxcfs-2.0.2.initd   | 27 --
 sys-fs/lxcfs/lxcfs-0.17.ebuild | 57 
 sys-fs/lxcfs/lxcfs-2.0.0.ebuild| 59 
 sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild  | 59 
 sys-fs/lxcfs/lxcfs-2.0.1.ebuild| 59 
 sys-fs/lxcfs/lxcfs-2.0.2.ebuild| 63 --
 15 files changed, 487 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 16a455d..2871694 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 
f2de2438e4e521db5135ca81daceccdc1d3820907de9d37842c9bafa112cc416774cb2efe27b815ce26e55617c7eb9f5d076df5423ab354747605fa90643
 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 20e046c..
--- 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
-
-

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2016-10-10 Thread Erik Mackdanz
commit: ff7322fad07652b900900d7a0edb1e95892951bf
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Tue Oct 11 03:38:34 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Tue Oct 11 03:38:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff7322fa

sys-fs/lxcfs: Bump to 2.0.4

Package-Manager: portage-2.3.1

 sys-fs/lxcfs/Manifest  |  1 +
 .../lxcfs/files/lxcfs-2.0.4-fusermount-path.patch  | 11 
 sys-fs/lxcfs/files/lxcfs-2.0.4.initd   | 27 
 sys-fs/lxcfs/lxcfs-2.0.4.ebuild| 71 ++
 4 files changed, 110 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index b8b1bc2..16a455d 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -4,3 +4,4 @@ DIST lxcfs-2.0.0_beta2.tar.gz 44421 SHA256 
4eacbbb51031ebd0776f050d7279b2076f7b4
 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 
f2de2438e4e521db5135ca81daceccdc1d3820907de9d37842c9bafa112cc416774cb2efe27b815ce26e55617c7eb9f5d076df5423ab354747605fa90643
+DIST lxcfs-2.0.4.tar.gz 52639 SHA256 
9af8199dba2837542ede6e50489100220472241e4b355b685e66c9a72bbcf81a SHA512 
1c701fbd60799a1f7ad7e809c2e52ef0d26ed44e96c2c0376d3c4eb203aafb99ddcaff015f3fa8cc9c1219449210f6bf93844cc568de3a9f55cb8801328cec90
 WHIRLPOOL 
1ac966bab786b00a236225e1856c46fa9d419e42853edcd1181fc3f43d54becb60435fa0679a6a0f838a5edeb920205e3baa734118a4b5d9587e547fd63e3704

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
new file mode 100644
index ..61d3494
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.4-fusermount-path.patch
@@ -0,0 +1,11 @@
+--- /config/init/systemd/lxcfs.service.orig2016-07-11 01:18:57.688074437 
+
 /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +
+@@ -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.4.initd 
b/sys-fs/lxcfs/files/lxcfs-2.0.4.initd
new file mode 100644
index ..7436eee
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.4.initd
@@ -0,0 +1,27 @@
+#!/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-2.0.4.ebuild b/sys-fs/lxcfs/lxcfs-2.0.4.ebuild
new file mode 100644
index ..39c20c4
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-2.0.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit systemd vcs-snapshot versionator
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/;
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ ${PV} == "" ]] ; 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.

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2016-09-03 Thread Erik Mackdanz
commit: be683dcf660b9f522a6abc2c3366ca095046e630
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Sep  3 20:29:05 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Sep  3 20:33:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be683dcf

sys-fs/lxcfs: Bump to 2.0.3

EAPI=6 Also, fix a merge-time failure when /var/lib/lxcfs is installed
to a live mountpoint.

Package-Manager: portage-2.3.0

 sys-fs/lxcfs/Manifest  |  1 +
 .../lxcfs/files/lxcfs-2.0.3-fusermount-path.patch  | 11 
 sys-fs/lxcfs/files/lxcfs-2.0.3.initd   | 27 
 sys-fs/lxcfs/lxcfs-2.0.3.ebuild| 71 ++
 4 files changed, 110 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 80dc109..b8b1bc2 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -3,3 +3,4 @@ DIST lxcfs-2.0.0.tar.gz 48655 SHA256 
4c03114a85aff530bf385b724b992470ffb97c6bf75
 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 
f2de2438e4e521db5135ca81daceccdc1d3820907de9d37842c9bafa112cc416774cb2efe27b815ce26e55617c7eb9f5d076df5423ab354747605fa90643

diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.3-fusermount-path.patch 
b/sys-fs/lxcfs/files/lxcfs-2.0.3-fusermount-path.patch
new file mode 100644
index ..61d3494
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.3-fusermount-path.patch
@@ -0,0 +1,11 @@
+--- /config/init/systemd/lxcfs.service.orig2016-07-11 01:18:57.688074437 
+
 /config/init/systemd/lxcfs.service 2016-07-11 01:19:48.516477185 +
+@@ -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.3.initd 
b/sys-fs/lxcfs/files/lxcfs-2.0.3.initd
new file mode 100644
index ..7436eee
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.3.initd
@@ -0,0 +1,27 @@
+#!/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-2.0.3.ebuild b/sys-fs/lxcfs/lxcfs-2.0.3.ebuild
new file mode 100644
index ..39c20c4
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-2.0.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit systemd vcs-snapshot versionator
+DESCRIPTION="FUSE filesystem for LXC"
+HOMEPAGE="https://linuxcontainers.org/lxcfs/introduction/;
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ ${PV} == "" ]] ; 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 

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2016-07-10 Thread Erik Mackdanz
commit: 51b92272875fc9faff130e242c421874a089e011
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Mon Jul 11 02:39:06 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Mon Jul 11 02:39:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b92272

sys-fs/lxcfs: Bump to 2.0.2

Adds pam use flag, uses (patched) upstream systemd service file not our own

Package-Manager: portage-2.3.0

 sys-fs/lxcfs/Manifest  |  1 +
 .../lxcfs/files/lxcfs-2.0.2-fusermount-path.patch  | 11 
 sys-fs/lxcfs/files/lxcfs-2.0.2.initd   | 27 ++
 sys-fs/lxcfs/lxcfs-2.0.2.ebuild| 63 ++
 4 files changed, 102 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index fa7dd62..80dc109 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -2,3 +2,4 @@ DIST lxcfs-0.17.tar.gz 40501 SHA256 
bcfe14a1ab4b717af1750b04c891a70b59f167d166c2
 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

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
new file mode 100644
index 000..ab25fa8
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.2-fusermount-path.patch
@@ -0,0 +1,11 @@
+--- config/init/systemd/lxcfs.service.orig 2016-07-11 01:18:57.688074437 
+
 config/init/systemd/lxcfs.service  2016-07-11 01:19:48.516477185 +
+@@ -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
new file mode 100644
index 000..7436eee
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.2.initd
@@ -0,0 +1,27 @@
+#!/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-2.0.2.ebuild b/sys-fs/lxcfs/lxcfs-2.0.2.ebuild
new file mode 100644
index 000..f31b42f
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-2.0.2.ebuild
@@ -0,0 +1,63 @@
+# 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} == "" ]] ; 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.  

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2016-06-13 Thread Erik Mackdanz
commit: 917e22906ca9bd831f26b2f3fc1b65ab71601873
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Mon Jun 13 15:18:52 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Mon Jun 13 15:18:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917e2290

sys-fs/lxcfs: bump to 2.0.1

Package-Manager: portage-2.3.0_rc1

 sys-fs/lxcfs/Manifest  |  1 +
 sys-fs/lxcfs/files/lxcfs-2.0.1.initd   | 27 
 sys-fs/lxcfs/files/lxcfs-2.0.1.service | 13 
 sys-fs/lxcfs/lxcfs-2.0.1.ebuild| 59 ++
 4 files changed, 100 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index f23f15e..fa7dd62 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,4 @@
 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

diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.1.initd 
b/sys-fs/lxcfs/files/lxcfs-2.0.1.initd
new file mode 100644
index 000..7436eee
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.1.initd
@@ -0,0 +1,27 @@
+#!/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
new file mode 100644
index 000..ff737c7
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.1.service
@@ -0,0 +1,13 @@
+[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/lxcfs-2.0.1.ebuild b/sys-fs/lxcfs/lxcfs-2.0.1.ebuild
new file mode 100644
index 000..7cc6d80
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-2.0.1.ebuild
@@ -0,0 +1,59 @@
+# 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} == "" ]] ; 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"
+}
+

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2016-04-02 Thread Erik Mackdanz
commit: 99283bb8c1c8e7ffcf174f2334894eb3953be36c
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Apr  2 16:07:27 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Apr  2 16:07:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99283bb8

sys-fs/lxcfs: remove old

Package-Manager: portage-2.2.28

 sys-fs/lxcfs/Manifest |  1 -
 sys-fs/lxcfs/files/lxcfs-0.16.initd   | 27 -
 sys-fs/lxcfs/files/lxcfs-0.16.service | 13 
 sys-fs/lxcfs/lxcfs-0.16.ebuild| 56 ---
 4 files changed, 97 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 556cdef..f23f15e 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,3 @@
-DIST lxcfs-0.16.tar.gz 35307 SHA256 
a43c303ec46f4f25b14b7973726b2dc04231a126763b9fe6e0b080d608c04086 SHA512 
536b7b6109b2b9d508c37baa1e4824d0cac37eadc2c046f49db89e24adb5474d6a67410e3c0cbb970c73d2dfe7e3757a4ce08577018c2fdb787668ed31af3a03
 WHIRLPOOL 
718505531388f517b154aff3cca18d5526a9d18163e22e95a5cd496757f3261b2342d52f0de704d9fe7d41d5623099f3c41493cd17668fc74facf2987b27eea5
 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

diff --git a/sys-fs/lxcfs/files/lxcfs-0.16.initd 
b/sys-fs/lxcfs/files/lxcfs-0.16.initd
deleted file mode 100755
index a850214..000
--- a/sys-fs/lxcfs/files/lxcfs-0.16.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-# 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.16.service 
b/sys-fs/lxcfs/files/lxcfs-0.16.service
deleted file mode 100644
index ff737c7..000
--- a/sys-fs/lxcfs/files/lxcfs-0.16.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/lxcfs-0.16.ebuild b/sys-fs/lxcfs/lxcfs-0.16.ebuild
deleted file mode 100644
index d2b444d..000
--- a/sys-fs/lxcfs/lxcfs-0.16.ebuild
+++ /dev/null
@@ -1,56 +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} == "" ]] ; 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
-"
-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() {
-   

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/files/, sys-fs/lxcfs/

2016-04-02 Thread Erik Mackdanz
commit: 1b09d9fca908fb94df2279400169be39b66a1e22
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Apr  2 16:03:46 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Apr  2 16:03:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b09d9fc

sys-fs/lxcfs: bump to 2.0

Package-Manager: portage-2.2.28

 sys-fs/lxcfs/Manifest|  1 +
 sys-fs/lxcfs/files/lxcfs-2.0.0.initd | 27 +
 sys-fs/lxcfs/lxcfs-2.0.0.ebuild  | 59 
 3 files changed, 87 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 8debc47..556cdef 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,4 @@
 DIST lxcfs-0.16.tar.gz 35307 SHA256 
a43c303ec46f4f25b14b7973726b2dc04231a126763b9fe6e0b080d608c04086 SHA512 
536b7b6109b2b9d508c37baa1e4824d0cac37eadc2c046f49db89e24adb5474d6a67410e3c0cbb970c73d2dfe7e3757a4ce08577018c2fdb787668ed31af3a03
 WHIRLPOOL 
718505531388f517b154aff3cca18d5526a9d18163e22e95a5cd496757f3261b2342d52f0de704d9fe7d41d5623099f3c41493cd17668fc74facf2987b27eea5
 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

diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.0.initd 
b/sys-fs/lxcfs/files/lxcfs-2.0.0.initd
new file mode 100644
index 000..a850214
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.0.initd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# 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/lxcfs-2.0.0.ebuild b/sys-fs/lxcfs/lxcfs-2.0.0.ebuild
new file mode 100644
index 000..7cc6d80
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-2.0.0.ebuild
@@ -0,0 +1,59 @@
+# 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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/

2016-03-18 Thread Michał Górny
commit: 0a26829681ebc3fcf73d951542aa6e2bca230d92
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 18 18:55:38 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 18 19:10:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a268296

sys-fs/lxcfs: Remove status="" from downstream maintainer entry

Remove the status="" attribute from downstream maintainer as it is
allowed on upstream maintainers only (GLEP 46).

 sys-fs/lxcfs/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/lxcfs/metadata.xml b/sys-fs/lxcfs/metadata.xml
index c6e8dee..82ba249 100644
--- a/sys-fs/lxcfs/metadata.xml
+++ b/sys-fs/lxcfs/metadata.xml
@@ -1,7 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
stasib...@gentoo.org
Erik Mackdanz




[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2016-02-21 Thread Erik Mackdanz
commit: 7df1a62cec8c7f9341868ecc450928ae55c39cf9
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Mon Feb 22 04:15:28 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Mon Feb 22 04:15:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7df1a62c

sys-fs/lxcfs: remove old

Package-Manager: portage-2.2.27

 sys-fs/lxcfs/Manifest |  1 -
 sys-fs/lxcfs/files/lxcfs-0.13.initd   | 27 -
 sys-fs/lxcfs/files/lxcfs-0.13.service | 13 
 sys-fs/lxcfs/lxcfs-0.13.ebuild| 56 ---
 4 files changed, 97 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 3a08065..8debc47 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,3 @@
-DIST lxcfs-0.13.tar.gz 35046 SHA256 
a0280b1080c95062d75fa0a3f0e743849c7cd8a88b49ff8323a665cbac75224a SHA512 
bca32de4857dbcafeca0d206fd202223b35aa5918ffee9d88486cec0d7c686e9b258918204f340f666fb3ac5d382ee84706db4f5268e98c8153e4ccc5de12595
 WHIRLPOOL 
d074d482461e8f98d55f9919eabd98cc6c015fce7f731bb99122c7b16bf40faa37a7c3ffbe2e7aa7375a0313c00e508d79863f1a60e53ab584696fe5abaec5dc
 DIST lxcfs-0.16.tar.gz 35307 SHA256 
a43c303ec46f4f25b14b7973726b2dc04231a126763b9fe6e0b080d608c04086 SHA512 
536b7b6109b2b9d508c37baa1e4824d0cac37eadc2c046f49db89e24adb5474d6a67410e3c0cbb970c73d2dfe7e3757a4ce08577018c2fdb787668ed31af3a03
 WHIRLPOOL 
718505531388f517b154aff3cca18d5526a9d18163e22e95a5cd496757f3261b2342d52f0de704d9fe7d41d5623099f3c41493cd17668fc74facf2987b27eea5
 DIST lxcfs-0.17.tar.gz 40501 SHA256 
bcfe14a1ab4b717af1750b04c891a70b59f167d166c2db74984610041c926745 SHA512 
dbc38265a65056330e46b8cc56558c6d14e13102c5e6c65a446749f5370c25d70a3a008d22c64b7d435c60e31bbe3efba887fd4f98c0a62fb5ad60c15366b174
 WHIRLPOOL 
af4c0b03ede15414b53670a1363fa240986252b0ad1de8b0e13f99150ef4b2d419f63b6f96e94015344665c118c8599e1e97fb94854be89fc884ba40b96ec2c0
 DIST lxcfs-2.0.0_beta2.tar.gz 44421 SHA256 
4eacbbb51031ebd0776f050d7279b2076f7b4e156503f1bbe88e034f181e1d38 SHA512 
d62bccc687873c060f299a726debc4642a0900f7e7a460b5c37dcb0b5d7cb75cd5b98ee03f129ccddbe62085510e1760db73010674333536f7126d01987262f4
 WHIRLPOOL 
470c6118a5560ff5fd447a409d136453b423d0b27a2f00652316b9415f68e08d349fc0e75edb1d312f7a25709bf96621574bd200c8fc92808a9e4eb59aada971

diff --git a/sys-fs/lxcfs/files/lxcfs-0.13.initd 
b/sys-fs/lxcfs/files/lxcfs-0.13.initd
deleted file mode 100755
index a850214..000
--- a/sys-fs/lxcfs/files/lxcfs-0.13.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-# 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.13.service 
b/sys-fs/lxcfs/files/lxcfs-0.13.service
deleted file mode 100644
index ff737c7..000
--- a/sys-fs/lxcfs/files/lxcfs-0.13.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/lxcfs-0.13.ebuild b/sys-fs/lxcfs/lxcfs-0.13.ebuild
deleted file mode 100644
index 24afca0..000
--- a/sys-fs/lxcfs/lxcfs-0.13.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2015 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} == "" ]] ; 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
-"
-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() {
-   

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2016-02-21 Thread Erik Mackdanz
commit: e8a2d184834becddfafa0c2b178a18db5a3814bd
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Mon Feb 22 04:11:46 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Mon Feb 22 04:11:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8a2d184

sys-fs/lxcfs: bump to 2.0.0_beta2

Package-Manager: portage-2.2.27

 sys-fs/lxcfs/Manifest|  1 +
 sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd   | 27 +
 sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service | 13 ++
 sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild| 59 
 4 files changed, 100 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 6df659a..3a08065 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,4 @@
 DIST lxcfs-0.13.tar.gz 35046 SHA256 
a0280b1080c95062d75fa0a3f0e743849c7cd8a88b49ff8323a665cbac75224a SHA512 
bca32de4857dbcafeca0d206fd202223b35aa5918ffee9d88486cec0d7c686e9b258918204f340f666fb3ac5d382ee84706db4f5268e98c8153e4ccc5de12595
 WHIRLPOOL 
d074d482461e8f98d55f9919eabd98cc6c015fce7f731bb99122c7b16bf40faa37a7c3ffbe2e7aa7375a0313c00e508d79863f1a60e53ab584696fe5abaec5dc
 DIST lxcfs-0.16.tar.gz 35307 SHA256 
a43c303ec46f4f25b14b7973726b2dc04231a126763b9fe6e0b080d608c04086 SHA512 
536b7b6109b2b9d508c37baa1e4824d0cac37eadc2c046f49db89e24adb5474d6a67410e3c0cbb970c73d2dfe7e3757a4ce08577018c2fdb787668ed31af3a03
 WHIRLPOOL 
718505531388f517b154aff3cca18d5526a9d18163e22e95a5cd496757f3261b2342d52f0de704d9fe7d41d5623099f3c41493cd17668fc74facf2987b27eea5
 DIST lxcfs-0.17.tar.gz 40501 SHA256 
bcfe14a1ab4b717af1750b04c891a70b59f167d166c2db74984610041c926745 SHA512 
dbc38265a65056330e46b8cc56558c6d14e13102c5e6c65a446749f5370c25d70a3a008d22c64b7d435c60e31bbe3efba887fd4f98c0a62fb5ad60c15366b174
 WHIRLPOOL 
af4c0b03ede15414b53670a1363fa240986252b0ad1de8b0e13f99150ef4b2d419f63b6f96e94015344665c118c8599e1e97fb94854be89fc884ba40b96ec2c0
+DIST lxcfs-2.0.0_beta2.tar.gz 44421 SHA256 
4eacbbb51031ebd0776f050d7279b2076f7b4e156503f1bbe88e034f181e1d38 SHA512 
d62bccc687873c060f299a726debc4642a0900f7e7a460b5c37dcb0b5d7cb75cd5b98ee03f129ccddbe62085510e1760db73010674333536f7126d01987262f4
 WHIRLPOOL 
470c6118a5560ff5fd447a409d136453b423d0b27a2f00652316b9415f68e08d349fc0e75edb1d312f7a25709bf96621574bd200c8fc92808a9e4eb59aada971

diff --git a/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd 
b/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd
new file mode 100644
index 000..a850214
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.initd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# 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
new file mode 100644
index 000..ff737c7
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-2.0.0_beta2.service
@@ -0,0 +1,13 @@
+[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/lxcfs-2.0.0_beta2.ebuild 
b/sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild
new file mode 100644
index 000..f279382
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-2.0.0_beta2.ebuild
@@ -0,0 +1,59 @@
+# 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} == "" ]] ; 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() {
+   

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2016-01-28 Thread Erik Mackdanz
commit: df4932ee6d37ceb18153bc065d50e2b1f44ec7b4
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Thu Jan 28 16:49:50 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Thu Jan 28 16:49:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df4932ee

sys-fs/lxcfs: bump to 0.17

Adds a PAM module

Package-Manager: portage-2.2.27

 sys-fs/lxcfs/Manifest |  1 +
 sys-fs/lxcfs/files/lxcfs-0.17.initd   | 27 +
 sys-fs/lxcfs/files/lxcfs-0.17.service | 13 
 sys-fs/lxcfs/lxcfs-0.17.ebuild| 57 +++
 4 files changed, 98 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 2352b2f..71c4754 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,3 +1,4 @@
 DIST lxcfs-0.12.tar.gz 34700 SHA256 
89fc1caf3787b99dc26dc4b6b35fe216aad09b35c46e4be1d75c0e136f53702c SHA512 
0145fe6252990bc14e6db32ab05337df9899c0e4d02ced35a5693da49aa84b4932f3c3bf58422a6d3c12c35a5db73169c4ab79448c928caae61996b0c92b908e
 WHIRLPOOL 
940c9c2dd32547cb1a2a98423e03b3a9b7e8bae00775b45a8bdd7a99ee05ffa9bdf24e863ca65944abef2526d11b6b5532299aabc4ae50c97f42b3c2187ada5b
 DIST lxcfs-0.13.tar.gz 35046 SHA256 
a0280b1080c95062d75fa0a3f0e743849c7cd8a88b49ff8323a665cbac75224a SHA512 
bca32de4857dbcafeca0d206fd202223b35aa5918ffee9d88486cec0d7c686e9b258918204f340f666fb3ac5d382ee84706db4f5268e98c8153e4ccc5de12595
 WHIRLPOOL 
d074d482461e8f98d55f9919eabd98cc6c015fce7f731bb99122c7b16bf40faa37a7c3ffbe2e7aa7375a0313c00e508d79863f1a60e53ab584696fe5abaec5dc
 DIST lxcfs-0.16.tar.gz 35307 SHA256 
a43c303ec46f4f25b14b7973726b2dc04231a126763b9fe6e0b080d608c04086 SHA512 
536b7b6109b2b9d508c37baa1e4824d0cac37eadc2c046f49db89e24adb5474d6a67410e3c0cbb970c73d2dfe7e3757a4ce08577018c2fdb787668ed31af3a03
 WHIRLPOOL 
718505531388f517b154aff3cca18d5526a9d18163e22e95a5cd496757f3261b2342d52f0de704d9fe7d41d5623099f3c41493cd17668fc74facf2987b27eea5
+DIST lxcfs-0.17.tar.gz 40501 SHA256 
bcfe14a1ab4b717af1750b04c891a70b59f167d166c2db74984610041c926745 SHA512 
dbc38265a65056330e46b8cc56558c6d14e13102c5e6c65a446749f5370c25d70a3a008d22c64b7d435c60e31bbe3efba887fd4f98c0a62fb5ad60c15366b174
 WHIRLPOOL 
af4c0b03ede15414b53670a1363fa240986252b0ad1de8b0e13f99150ef4b2d419f63b6f96e94015344665c118c8599e1e97fb94854be89fc884ba40b96ec2c0

diff --git a/sys-fs/lxcfs/files/lxcfs-0.17.initd 
b/sys-fs/lxcfs/files/lxcfs-0.17.initd
new file mode 100755
index 000..a850214
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-0.17.initd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# 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
new file mode 100644
index 000..ff737c7
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-0.17.service
@@ -0,0 +1,13 @@
+[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/lxcfs-0.17.ebuild b/sys-fs/lxcfs/lxcfs-0.17.ebuild
new file mode 100644
index 000..21f896c
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-0.17.ebuild
@@ -0,0 +1,57 @@
+# 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} == "" ]] ; 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"
+# }
+

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2016-01-28 Thread Erik Mackdanz
commit: dcb02e7b0405208eaa1655637deba2be830c3452
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Thu Jan 28 16:51:33 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Thu Jan 28 16:51:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb02e7b

sys-fs/lxcfs: Remove old

Package-Manager: portage-2.2.27

 sys-fs/lxcfs/Manifest |  1 -
 sys-fs/lxcfs/files/lxcfs-0.12.initd   | 27 -
 sys-fs/lxcfs/files/lxcfs-0.12.service | 13 
 sys-fs/lxcfs/lxcfs-0.12.ebuild| 56 ---
 4 files changed, 97 deletions(-)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 71c4754..6df659a 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,4 +1,3 @@
-DIST lxcfs-0.12.tar.gz 34700 SHA256 
89fc1caf3787b99dc26dc4b6b35fe216aad09b35c46e4be1d75c0e136f53702c SHA512 
0145fe6252990bc14e6db32ab05337df9899c0e4d02ced35a5693da49aa84b4932f3c3bf58422a6d3c12c35a5db73169c4ab79448c928caae61996b0c92b908e
 WHIRLPOOL 
940c9c2dd32547cb1a2a98423e03b3a9b7e8bae00775b45a8bdd7a99ee05ffa9bdf24e863ca65944abef2526d11b6b5532299aabc4ae50c97f42b3c2187ada5b
 DIST lxcfs-0.13.tar.gz 35046 SHA256 
a0280b1080c95062d75fa0a3f0e743849c7cd8a88b49ff8323a665cbac75224a SHA512 
bca32de4857dbcafeca0d206fd202223b35aa5918ffee9d88486cec0d7c686e9b258918204f340f666fb3ac5d382ee84706db4f5268e98c8153e4ccc5de12595
 WHIRLPOOL 
d074d482461e8f98d55f9919eabd98cc6c015fce7f731bb99122c7b16bf40faa37a7c3ffbe2e7aa7375a0313c00e508d79863f1a60e53ab584696fe5abaec5dc
 DIST lxcfs-0.16.tar.gz 35307 SHA256 
a43c303ec46f4f25b14b7973726b2dc04231a126763b9fe6e0b080d608c04086 SHA512 
536b7b6109b2b9d508c37baa1e4824d0cac37eadc2c046f49db89e24adb5474d6a67410e3c0cbb970c73d2dfe7e3757a4ce08577018c2fdb787668ed31af3a03
 WHIRLPOOL 
718505531388f517b154aff3cca18d5526a9d18163e22e95a5cd496757f3261b2342d52f0de704d9fe7d41d5623099f3c41493cd17668fc74facf2987b27eea5
 DIST lxcfs-0.17.tar.gz 40501 SHA256 
bcfe14a1ab4b717af1750b04c891a70b59f167d166c2db74984610041c926745 SHA512 
dbc38265a65056330e46b8cc56558c6d14e13102c5e6c65a446749f5370c25d70a3a008d22c64b7d435c60e31bbe3efba887fd4f98c0a62fb5ad60c15366b174
 WHIRLPOOL 
af4c0b03ede15414b53670a1363fa240986252b0ad1de8b0e13f99150ef4b2d419f63b6f96e94015344665c118c8599e1e97fb94854be89fc884ba40b96ec2c0

diff --git a/sys-fs/lxcfs/files/lxcfs-0.12.initd 
b/sys-fs/lxcfs/files/lxcfs-0.12.initd
deleted file mode 100755
index a850214..000
--- a/sys-fs/lxcfs/files/lxcfs-0.12.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/runscript
-# 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.12.service 
b/sys-fs/lxcfs/files/lxcfs-0.12.service
deleted file mode 100644
index ff737c7..000
--- a/sys-fs/lxcfs/files/lxcfs-0.12.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/lxcfs-0.12.ebuild b/sys-fs/lxcfs/lxcfs-0.12.ebuild
deleted file mode 100644
index 24afca0..000
--- a/sys-fs/lxcfs/lxcfs-0.12.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2015 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} == "" ]] ; 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
-"
-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

[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2016-01-08 Thread Erik Mackdanz
commit: de05ed5949dc4872b642407719d1336e6367d282
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Jan  9 03:27:06 2016 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Jan  9 03:27:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de05ed59

sys-fs/lxcfs: bump to 0.16

Package-Manager: portage-2.2.26

 sys-fs/lxcfs/Manifest |  1 +
 sys-fs/lxcfs/files/lxcfs-0.16.initd   | 27 +
 sys-fs/lxcfs/files/lxcfs-0.16.service | 13 
 sys-fs/lxcfs/lxcfs-0.16.ebuild| 56 +++
 4 files changed, 97 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index c4d6c0d..2352b2f 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1,2 +1,3 @@
 DIST lxcfs-0.12.tar.gz 34700 SHA256 
89fc1caf3787b99dc26dc4b6b35fe216aad09b35c46e4be1d75c0e136f53702c SHA512 
0145fe6252990bc14e6db32ab05337df9899c0e4d02ced35a5693da49aa84b4932f3c3bf58422a6d3c12c35a5db73169c4ab79448c928caae61996b0c92b908e
 WHIRLPOOL 
940c9c2dd32547cb1a2a98423e03b3a9b7e8bae00775b45a8bdd7a99ee05ffa9bdf24e863ca65944abef2526d11b6b5532299aabc4ae50c97f42b3c2187ada5b
 DIST lxcfs-0.13.tar.gz 35046 SHA256 
a0280b1080c95062d75fa0a3f0e743849c7cd8a88b49ff8323a665cbac75224a SHA512 
bca32de4857dbcafeca0d206fd202223b35aa5918ffee9d88486cec0d7c686e9b258918204f340f666fb3ac5d382ee84706db4f5268e98c8153e4ccc5de12595
 WHIRLPOOL 
d074d482461e8f98d55f9919eabd98cc6c015fce7f731bb99122c7b16bf40faa37a7c3ffbe2e7aa7375a0313c00e508d79863f1a60e53ab584696fe5abaec5dc
+DIST lxcfs-0.16.tar.gz 35307 SHA256 
a43c303ec46f4f25b14b7973726b2dc04231a126763b9fe6e0b080d608c04086 SHA512 
536b7b6109b2b9d508c37baa1e4824d0cac37eadc2c046f49db89e24adb5474d6a67410e3c0cbb970c73d2dfe7e3757a4ce08577018c2fdb787668ed31af3a03
 WHIRLPOOL 
718505531388f517b154aff3cca18d5526a9d18163e22e95a5cd496757f3261b2342d52f0de704d9fe7d41d5623099f3c41493cd17668fc74facf2987b27eea5

diff --git a/sys-fs/lxcfs/files/lxcfs-0.16.initd 
b/sys-fs/lxcfs/files/lxcfs-0.16.initd
new file mode 100755
index 000..a850214
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-0.16.initd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# 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.16.service 
b/sys-fs/lxcfs/files/lxcfs-0.16.service
new file mode 100644
index 000..ff737c7
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-0.16.service
@@ -0,0 +1,13 @@
+[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/lxcfs-0.16.ebuild b/sys-fs/lxcfs/lxcfs-0.16.ebuild
new file mode 100644
index 000..d2b444d
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-0.16.ebuild
@@ -0,0 +1,56 @@
+# 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} == "" ]] ; 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
+"
+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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2015-12-11 Thread Erik Mackdanz
commit: 0b5e60c8e9da8aff35343cf7fbcd932933b22945
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Dec 12 02:34:02 2015 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Dec 12 02:34:02 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b5e60c8

sys-fs/lxcfs: bump to 0.13

Package-Manager: portage-2.2.26

 sys-fs/lxcfs/Manifest |  1 +
 sys-fs/lxcfs/files/lxcfs-0.13.initd   | 27 +
 sys-fs/lxcfs/files/lxcfs-0.13.service | 13 
 sys-fs/lxcfs/lxcfs-0.13.ebuild| 56 +++
 4 files changed, 97 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
index 5613217..c4d6c0d 100644
--- a/sys-fs/lxcfs/Manifest
+++ b/sys-fs/lxcfs/Manifest
@@ -1 +1,2 @@
 DIST lxcfs-0.12.tar.gz 34700 SHA256 
89fc1caf3787b99dc26dc4b6b35fe216aad09b35c46e4be1d75c0e136f53702c SHA512 
0145fe6252990bc14e6db32ab05337df9899c0e4d02ced35a5693da49aa84b4932f3c3bf58422a6d3c12c35a5db73169c4ab79448c928caae61996b0c92b908e
 WHIRLPOOL 
940c9c2dd32547cb1a2a98423e03b3a9b7e8bae00775b45a8bdd7a99ee05ffa9bdf24e863ca65944abef2526d11b6b5532299aabc4ae50c97f42b3c2187ada5b
+DIST lxcfs-0.13.tar.gz 35046 SHA256 
a0280b1080c95062d75fa0a3f0e743849c7cd8a88b49ff8323a665cbac75224a SHA512 
bca32de4857dbcafeca0d206fd202223b35aa5918ffee9d88486cec0d7c686e9b258918204f340f666fb3ac5d382ee84706db4f5268e98c8153e4ccc5de12595
 WHIRLPOOL 
d074d482461e8f98d55f9919eabd98cc6c015fce7f731bb99122c7b16bf40faa37a7c3ffbe2e7aa7375a0313c00e508d79863f1a60e53ab584696fe5abaec5dc

diff --git a/sys-fs/lxcfs/files/lxcfs-0.13.initd 
b/sys-fs/lxcfs/files/lxcfs-0.13.initd
new file mode 100755
index 000..a850214
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-0.13.initd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# 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.13.service 
b/sys-fs/lxcfs/files/lxcfs-0.13.service
new file mode 100644
index 000..ff737c7
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-0.13.service
@@ -0,0 +1,13 @@
+[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/lxcfs-0.13.ebuild b/sys-fs/lxcfs/lxcfs-0.13.ebuild
new file mode 100644
index 000..24afca0
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-0.13.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 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} == "" ]] ; 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
+"
+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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-fs/lxcfs/, sys-fs/lxcfs/files/

2015-11-21 Thread Erik Mackdanz
commit: 182814dcb1d2f6e745a6d9715e5f957f8cbe5186
Author: Erik Mackdanz  gentoo  org>
AuthorDate: Sat Nov 21 18:30:37 2015 +
Commit: Erik Mackdanz  gentoo  org>
CommitDate: Sat Nov 21 18:30:37 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=182814dc

sys-fs/lxcfs: New package 0.12

Package-Manager: portage-2.2.24

 sys-fs/lxcfs/Manifest |  1 +
 sys-fs/lxcfs/files/lxcfs-0.12.initd   | 27 +
 sys-fs/lxcfs/files/lxcfs-0.12.service | 13 
 sys-fs/lxcfs/lxcfs-0.12.ebuild| 56 +++
 sys-fs/lxcfs/metadata.xml | 21 +
 5 files changed, 118 insertions(+)

diff --git a/sys-fs/lxcfs/Manifest b/sys-fs/lxcfs/Manifest
new file mode 100644
index 000..5613217
--- /dev/null
+++ b/sys-fs/lxcfs/Manifest
@@ -0,0 +1 @@
+DIST lxcfs-0.12.tar.gz 34700 SHA256 
89fc1caf3787b99dc26dc4b6b35fe216aad09b35c46e4be1d75c0e136f53702c SHA512 
0145fe6252990bc14e6db32ab05337df9899c0e4d02ced35a5693da49aa84b4932f3c3bf58422a6d3c12c35a5db73169c4ab79448c928caae61996b0c92b908e
 WHIRLPOOL 
940c9c2dd32547cb1a2a98423e03b3a9b7e8bae00775b45a8bdd7a99ee05ffa9bdf24e863ca65944abef2526d11b6b5532299aabc4ae50c97f42b3c2187ada5b

diff --git a/sys-fs/lxcfs/files/lxcfs-0.12.initd 
b/sys-fs/lxcfs/files/lxcfs-0.12.initd
new file mode 100755
index 000..a850214
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-0.12.initd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# 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.12.service 
b/sys-fs/lxcfs/files/lxcfs-0.12.service
new file mode 100644
index 000..ff737c7
--- /dev/null
+++ b/sys-fs/lxcfs/files/lxcfs-0.12.service
@@ -0,0 +1,13 @@
+[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/lxcfs-0.12.ebuild b/sys-fs/lxcfs/lxcfs-0.12.ebuild
new file mode 100644
index 000..24afca0
--- /dev/null
+++ b/sys-fs/lxcfs/lxcfs-0.12.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 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} == "" ]] ; 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
+"
+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/metadata.xml b/sys-fs/lxcfs/metadata.xml
new file mode 100644
index 000..93caf7b
--- /dev/null
+++ b/sys-fs/lxcfs/metadata.xml
@@ -0,0 +1,21 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   stasib...@gentoo.org
+   Erik Mackdanz
+   
+   
+   j...@irc.tm
+   John Cooke
+   
+   
+   LXCFS is a simple userspace filesystem designed to
+   provide a cgroupfs-like tree which is container aware
+   and a set of files which can be bind-mounted over
+   their /proc originals to provide cgroup-aware values.
+   
+   
+   lxc/lxfs
+   
+