diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2016-09-13 23:16:58 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-09-15 20:55:44 +0200 |
commit | f78de62584abc5348ac3a31d84c4ad3adaf08004 (patch) | |
tree | 748f297cde05541882e0a74d09e31ccdd8cf89f7 /testing | |
parent | b078598f2b1a0b60825e4decc2310fec57d2bb16 (diff) | |
download | aports-f78de62584abc5348ac3a31d84c4ad3adaf08004.tar.bz2 aports-f78de62584abc5348ac3a31d84c4ad3adaf08004.tar.xz |
testing/lxcfs: fix build & move to community
this enables unprivileged lxc containers on the vanilla kernel
full instructions in README.alpine
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lxcfs/APKBUILD | 45 | ||||
-rw-r--r-- | testing/lxcfs/lxcfs.initd | 6 |
2 files changed, 0 insertions, 51 deletions
diff --git a/testing/lxcfs/APKBUILD b/testing/lxcfs/APKBUILD deleted file mode 100644 index a39e8ed7a7..0000000000 --- a/testing/lxcfs/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: Carlo Landmeter <clandmeter@gmail.com> -pkgname=lxcfs -pkgver=2.0.3 -pkgrel=1 -pkgdesc="FUSE filesystem for LXC" -url="https://linuxcontainers.org/lxcfs" -arch="all" -license="Apache 2.0" -depends="" -makedepends="fuse-dev linux-pam-dev linux-headers" -install="" -subpackages="$pkgname-dev $pkgname-pam" -source="https://linuxcontainers.org/downloads/lxcfs/lxcfs-$pkgver.tar.gz - lxcfs.initd" -builddir="$srcdir/lxcfs-$pkgver" - -build() { - cd "$builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info || return 1 - make || return 1 -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 - install -Dm755 "$srcdir"/lxcfs.initd \ - "$pkgdir"/etc/init.d/lxcfs || return 1 -} - -pam() { - pkgdesc="$pkgdesc (pam plugin)" - mkdir -p "$subpkgdir"/lib - mv "$pkgdir"/lib/security "$subpkgdir"/lib/ || return 1 -} - -md5sums="8d79c575d0dc5d127776370eceb0f58b lxcfs-2.0.3.tar.gz -05765f1f677c500ea16a2a8ea8168532 lxcfs.initd" -sha256sums="dd94e19bff202cb9fe2aa7d244b2cccf53cf5d7f6dd76c815e1161e3ba4ce0df lxcfs-2.0.3.tar.gz -de41e57b8e540eb771fed82348eadca08dcde92c7ca29abdcc09023a98a2475a lxcfs.initd" -sha512sums="1bca2dc88a4551c90e9760ad8d3c7548126d7803040ddab3ac24fda2d602ec0d34ebf78bbd2b4cd5941edba3ccfe135e86d257f0dc2b89617c7ca876b3dda4bb lxcfs-2.0.3.tar.gz -3f213f7fe57cb5862091ee8ff50209648ce903a0e6adf31023598e767fd866fe6a921f709c140959a399c37a2cebcdad2f8d936b7441c936b53ccdf587ec9383 lxcfs.initd" diff --git a/testing/lxcfs/lxcfs.initd b/testing/lxcfs/lxcfs.initd deleted file mode 100644 index df2ec2e02f..0000000000 --- a/testing/lxcfs/lxcfs.initd +++ /dev/null @@ -1,6 +0,0 @@ -#!/sbin/openrc-run -command=/usr/bin/lxcfs -command_args="-f -o allow_other /var/lib/lxcfs" -pidfile="/run/lxcfs.pid" -command_background="yes" -retry="TERM/45" |