aboutsummaryrefslogtreecommitdiffstats
path: root/community/lxcfs
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-07-14 20:23:15 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-07-14 22:36:26 +0200
commitbd028120e85c4e5c6f5426ae2fa878f23a3b41d4 (patch)
tree81fa2d7d68a68000276c0e904e55f7febb2764fc /community/lxcfs
parent8409258a6416fd6db9dae931f1135f13f63bef2d (diff)
downloadaports-bd028120e85c4e5c6f5426ae2fa878f23a3b41d4.tar.bz2
aports-bd028120e85c4e5c6f5426ae2fa878f23a3b41d4.tar.xz
community/lxcfs: upgrade to 2.0.7 and modernize APKBUILD
Diffstat (limited to 'community/lxcfs')
-rw-r--r--community/lxcfs/APKBUILD28
1 files changed, 9 insertions, 19 deletions
diff --git a/community/lxcfs/APKBUILD b/community/lxcfs/APKBUILD
index 810d434a80..f269f1dd2f 100644
--- a/community/lxcfs/APKBUILD
+++ b/community/lxcfs/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=lxcfs
-pkgver=2.0.5
+pkgver=2.0.7
pkgrel=0
pkgdesc="FUSE filesystem for LXC"
url="https://linuxcontainers.org/lxcfs"
@@ -24,38 +24,28 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
- --infodir=/usr/share/info || return 1
- make || return 1
+ --infodir=/usr/share/info
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/$pkgname || return 1
+ "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd \
- "$pkgdir"/etc/conf.d/$pkgname || return 1
+ "$pkgdir"/etc/conf.d/$pkgname
install -m644 -D "$srcdir"/README.alpine \
- "$pkgdir"/usr/share/doc/lxcfs/README.alpine || return 1
+ "$pkgdir"/usr/share/doc/lxcfs/README.alpine
}
pam() {
pkgdesc="$pkgdesc (pam plugin)"
mkdir -p "$subpkgdir"/lib
- mv "$pkgdir"/lib/security "$subpkgdir"/lib/ || return 1
+ mv "$pkgdir"/lib/security "$subpkgdir"/lib/
}
-md5sums="44d55fe58e6577d88f07094bd5f90bdf lxcfs-2.0.5.tar.gz
-6d7943272d6b71ab7b93e93c55e42ee9 lxcfs.confd
-3533f3d49a5b0b83e8f8b8f20ea507fa lxcfs.initd
-722e7a773283170910f5c9b40fb83610 README.alpine
-14531d992c3c3e731ee596ff86e91829 lxcfs-subdir.patch"
-sha256sums="c68b660fc224732bc727e9dd6a9bf97587e42622b6d9053321dff40503cc9709 lxcfs-2.0.5.tar.gz
-d8915d4635b675897895c379c892250f6c2bb55515a3b59cad09b92c35264359 lxcfs.confd
-b7f211fd76e52da9a03eeb501d457ddc6a65f9373cbd1cf290ef1db81ced8643 lxcfs.initd
-a458f5561d8f1404ac7547bd73f7bf7d56898322d04268f31a7ee3ffdd5e36aa README.alpine
-ef3d2848e534b3db9267efbb5bc515e0ecd6a768cdf8de928bccac21c26add9e lxcfs-subdir.patch"
-sha512sums="5742d677f67ecb02a2e751f46a01e6394a5eb58fdad4754e9e9b9f3f1711f6ce70e17bb5c4b9a9e8484dd579e31ae0c3a8ffa80ccff91e49cd493cf604ff4bcc lxcfs-2.0.5.tar.gz
+sha512sums="3bc7188eb1d688ae3e8d7bceb24be7b69aaa0791f668399dd823113082237f4fb6fc41b0a03def6db5b6354391e40eedb0189851c73cd5c269691515db230891 lxcfs-2.0.7.tar.gz
71df316b1aaf1a0fadc230473a66c0be4d201d706481f1042c353b79fc629e9e681ec4fe0dfb113370e00d3f40175b0d7759fdcdcce57cf1d2db585068aa6e8d lxcfs.confd
b4e3bb76f4720d74c768c44c377665ad40e92da7332efebbf9100b6164e4e81214921c751d8ecd14dcef85c22cfa79bacf7e444d8159e93c719ff81ce2e9ba1c lxcfs.initd
16c65a10b2b95a85ea21d2cb44a45c9c7faf1e22c8c438c7325be96025588834a528544598a91facc13fa93cc46f6c4534fa2ca6bb58b152a26f1ced94b18f16 README.alpine