aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-03-26 21:23:44 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-03-26 21:23:44 +0000
commit54408259bf6d5c020b64bae384641be8caae8f9a (patch)
tree16b0d5427be2b82431bc6f26a3ddca87e8fd315c /community
parentb0ca0dd09ee0d9b7f15d88dc82d272ed48f6ee2c (diff)
downloadaports-54408259bf6d5c020b64bae384641be8caae8f9a.tar.bz2
aports-54408259bf6d5c020b64bae384641be8caae8f9a.tar.xz
community/cgmanager: upgrade to 0.42
Diffstat (limited to 'community')
-rw-r--r--community/cgmanager/APKBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/community/cgmanager/APKBUILD b/community/cgmanager/APKBUILD
index 9daae1340c..dd03535c48 100644
--- a/community/cgmanager/APKBUILD
+++ b/community/cgmanager/APKBUILD
@@ -1,17 +1,16 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=cgmanager
-pkgver=0.41
-pkgrel=3
+pkgver=0.42
+pkgrel=0
pkgdesc="nother daemon for managing control groups"
url="https://linuxcontainers.org/cgmanager/"
arch="all"
license="GPL"
depends=""
depends_dev="linux-pam-dev"
-makedepends="$depends_dev linux-headers libnih-dev"
-install=""
-subpackages="$pkgname-dev"
+makedepends="$depends_dev linux-headers libnih-dev popt-dev"
+subpackages="$pkgname-dev $pkgname-openrc"
source="https://linuxcontainers.org/downloads/cgmanager/cgmanager-$pkgver.tar.gz
cgmanager.initd
cgproxy.initd"
@@ -28,21 +27,25 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --with-distro=gentoo \
- || return 1
- make || return 1
+ --with-distro=gentoo
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
rm -f "$pkgdir"/usr/lib/*.la
install -Dm755 "$srcdir"/cgmanager.initd \
- "$pkgdir"/etc/init.d/cgmanager || return 1
+ "$pkgdir"/etc/init.d/cgmanager
install -Dm755 "$srcdir"/cgproxy.initd \
- "$pkgdir"/etc/init.d/cgproxy || return 1
+ "$pkgdir"/etc/init.d/cgproxy
}
-sha512sums="e8ba64665a21d987cd835580c2b6bafbcb05e22ce7f6216762d04840957c2cd21fb571360e0206ae9143656beed88ff3396eb1f644052c05189093a665a705fd cgmanager-0.41.tar.gz
+sha512sums="d92113a6748084f1c0708f75c8bdf5de484d534bf00f664a5288902be887c2a1c7cf3d91afaab3331f0d573a86fbc6edb2fa1d37c070250cf53e0621213d7d74 cgmanager-0.42.tar.gz
0bdfbed2fb5d79939ccb9b8554060c16c05e8e44503ecf1b6f4a38c7a39f765df34cdaa5cc0aa6d9ba5d17d3ecb7ee9f0623c363d99041bcbccd2ba410282a66 cgmanager.initd
b43439d9086fe50a8de93a61167272474e9e9b7a71b5a93bf3c6d2da127f95be3294c713295ca51c68e6de1f95c4d969502d8c3d503bc510873ccec794bef5ba cgproxy.initd"