From 5304e9dc71a565a77e0913cb1227734ae8950681 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Fri, 12 Oct 2018 18:14:42 -0700 Subject: [PATCH] lxcfs: update to 3.0.2. --- srcpkgs/lxcfs/files/lxcfs/finish | 2 ++ srcpkgs/lxcfs/files/lxcfs/run | 2 ++ srcpkgs/lxcfs/template | 17 +++++++++++------ 3 files changed, 15 insertions(+), 6 deletions(-) create mode 100755 srcpkgs/lxcfs/files/lxcfs/finish create mode 100755 srcpkgs/lxcfs/files/lxcfs/run diff --git a/srcpkgs/lxcfs/files/lxcfs/finish b/srcpkgs/lxcfs/files/lxcfs/finish new file mode 100755 index 00000000000..a4a8b10ba2b --- /dev/null +++ b/srcpkgs/lxcfs/files/lxcfs/finish @@ -0,0 +1,2 @@ +#!/bin/sh +exec fusermount -u /var/lib/lxcfs 2> /dev/null diff --git a/srcpkgs/lxcfs/files/lxcfs/run b/srcpkgs/lxcfs/files/lxcfs/run new file mode 100755 index 00000000000..2e751d7e981 --- /dev/null +++ b/srcpkgs/lxcfs/files/lxcfs/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec lxcfs -f /var/lib/lxcfs diff --git a/srcpkgs/lxcfs/template b/srcpkgs/lxcfs/template index 2b97185a68a..ea48425a792 100644 --- a/srcpkgs/lxcfs/template +++ b/srcpkgs/lxcfs/template @@ -1,14 +1,19 @@ # Template file for 'lxcfs' pkgname=lxcfs -version=2.0.8 +version=3.0.2 revision=1 build_style=gnu-configure -configure_args="--with-pamdir=/usr/lib/security" -hostmakedepends="pkg-config docbook2x" -makedepends="dbus-glib-devel libcgmanager-devel lxc-devel fuse-devel" -short_desc="LXC simple userspace filesystem" +hostmakedepends="pkg-config" +makedepends="fuse-devel" +short_desc="FUSE filesystem for LXC" maintainer="Juan RP " homepage="https://linuxcontainers.org/lxcfs/" license="Apache-2.0" distfiles="https://linuxcontainers.org/downloads/lxcfs/lxcfs-${version}.tar.gz" -checksum=2e3eff42803276a06b777205206f2c1592ce95da15f3486c7317230d59c19b45 +checksum=f131f2addb0aa4b7256c59800b2528075dfbb5852a71057827f49c2411f2d939 + +make_dirs="var/lib/lxcfs 0755 root root" + +post_install() { + vsv lxcfs +}