From fc4a6e91a6dab16024d5551e325265944a726787 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Thu, 24 Nov 2022 22:38:29 +0100 Subject: [PATCH] lxcfs: update to 5.0.2. --- srcpkgs/lxcfs/patches/no-init-script.patch | 26 ++++++++++++++++++++++ srcpkgs/lxcfs/template | 9 ++++---- 2 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/lxcfs/patches/no-init-script.patch diff --git a/srcpkgs/lxcfs/patches/no-init-script.patch b/srcpkgs/lxcfs/patches/no-init-script.patch new file mode 100644 index 00000000000..4619b2678fd --- /dev/null +++ b/srcpkgs/lxcfs/patches/no-init-script.patch @@ -0,0 +1,26 @@ +From 975c815e5edc4fd31710b3fb78a52c65a5d66535 Mon Sep 17 00:00:00 2001 +From: Michal Vasilek +Date: Thu, 24 Nov 2022 22:31:52 +0100 +Subject: [PATCH] meson: allow not installing init script + +Signed-off-by: Michal Vasilek +--- + meson_options.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson_options.txt b/meson_options.txt +index 5566f4c..45e2203 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -10,7 +10,7 @@ option('with-init-script', type : 'string', value : 'systemd', + description : 'the runtime directory') + + option('init-script', type : 'array', +- choices : ['systemd', 'sysvinit', 'openrc', 'upstart'], value : ['systemd'], ++ choices : ['', 'systemd', 'sysvinit', 'openrc', 'upstart'], value : ['systemd'], + description : 'init script') + + option('docs', type : 'boolean', value: 'true', +-- +2.38.1 + diff --git a/srcpkgs/lxcfs/template b/srcpkgs/lxcfs/template index 5ca756e4650..d303a9b824c 100644 --- a/srcpkgs/lxcfs/template +++ b/srcpkgs/lxcfs/template @@ -1,16 +1,17 @@ # Template file for 'lxcfs' pkgname=lxcfs -version=4.0.7 +version=5.0.2 revision=1 -build_style=gnu-configure -hostmakedepends="pkg-config" +build_style=meson +configure_args="-Dinit-script=" +hostmakedepends="pkg-config python3-Jinja2 help2man" makedepends="fuse-devel" short_desc="FUSE filesystem for LXC" maintainer="Nathan " license="Apache-2.0" homepage="https://linuxcontainers.org/lxcfs/" distfiles="https://linuxcontainers.org/downloads/lxcfs/lxcfs-${version}.tar.gz" -checksum=3f28e2f4b04c0090aaf88b72666505f0313768a5254dd48a14c43cf78c543ec8 +checksum=c3df03629ee8955de60a28da7490350ad1eb7aa3134b6917d40ec68ef092d039 make_dirs="/var/lib/lxcfs 0755 root root"