diff options
Diffstat (limited to 'testing/util-vserver/APKBUILD')
-rw-r--r-- | testing/util-vserver/APKBUILD | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/testing/util-vserver/APKBUILD b/testing/util-vserver/APKBUILD index 802315b958..2ced5a0f19 100644 --- a/testing/util-vserver/APKBUILD +++ b/testing/util-vserver/APKBUILD @@ -2,31 +2,45 @@ pkgname=util-vserver pkgver=0.30.216_pre2841 _realver=0.30.216-pre2841 -pkgrel=1 +pkgrel=2 pkgdesc="Linux-VServer admin utilities" url="http://www.nongnu.org/util-vserver/" license="GPL" # needs coreutils for touch -t makedepends="iptables-dev e2fsprogs-dev beecrypt-dev autoconf automake - pkgconfig coreutils" + pkgconfig libtool" depends="bash" source="http://people.linux-vserver.org/~dhozac/t/uv-testing/util-vserver-$_realver.tar.bz2 + chmod.patch + ensc_pathprog.patch + validate.patch " subpackages="$pkgname-doc $pkgname-dev" build() { local i cd "$srcdir"/$pkgname-$_realver + patch -p1 -i ../chmod.patch || return 1 + patch -p1 -i ../ensc_pathprog.patch || return 1 + patch -p1 -i ../validate.patch || return 1 + aclocal -I m4 && autoconf && automake && libtoolize || return 1 + + # this is an ugly workaround + sed -i -e "s:as_echo=.*:as_echo=echo:g" configure ./configure --prefix=/usr \ --mandir=/usr/share/man \ --sysconfdir=/etc \ --with-initscripts=gentoo \ - --localstatedir=/var + --localstatedir=/var \ + || return 1 make || return 1 make DESTDIR="$pkgdir/" install install-distribution } -md5sums="71c3f2012d0159aac22fee098be063e9 util-vserver-0.30.216-pre2841.tar.bz2" +md5sums="71c3f2012d0159aac22fee098be063e9 util-vserver-0.30.216-pre2841.tar.bz2 +73c7437dea6937a57cf38d166ef83c09 chmod.patch +ff8f561f672524eb46fe633f584ef60e ensc_pathprog.patch +da8b70c4fd40e68894b3903ffd121397 validate.patch" |