diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:25:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:25:12 +0000 |
commit | 2b4df81538b8398442d5296650905c70341dd8d3 (patch) | |
tree | 3b2d623752e01c3d4a5ef2d25d0999200edd1733 /testing | |
parent | 2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd (diff) | |
download | aports-2b4df81538b8398442d5296650905c70341dd8d3.tar.bz2 aports-2b4df81538b8398442d5296650905c70341dd8d3.tar.xz |
testing/util-vserver: moved from main
does not compile and we still dont have a vserver kernel
Diffstat (limited to 'testing')
-rw-r--r-- | testing/util-vserver/APKBUILD | 37 | ||||
-rw-r--r-- | testing/util-vserver/util-vserver-0.30.215-touch-t.patch | 11 |
2 files changed, 48 insertions, 0 deletions
diff --git a/testing/util-vserver/APKBUILD b/testing/util-vserver/APKBUILD new file mode 100644 index 0000000000..dbce95df84 --- /dev/null +++ b/testing/util-vserver/APKBUILD @@ -0,0 +1,37 @@ +# This is an example APKBUILD file. Use this as a start to creating your own, +# and remove these comments. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Contributor: Your Name <youremail@domain.com> +pkgname=util-vserver +pkgver=0.30.215 +pkgrel=0 +pkgdesc="Linux-VServer admin utilities" +url="http://www.nongnu.org/util-vserver/" +license='GPL' +depends="uclibc" +makedepends="iptables-dev e2fsprogs beecrypt-dev autoconf automake g++" +source="http://ftp.linux-vserver.org/pub/utils/$pkgname/$pkgname-$pkgver.tar.bz2 + $pkgname-$pkgver-touch-t.patch" +subpackages="$pkgname-doc $pkgname-dev" + + +build() { + local i + cd "$srcdir/$pkgname-$pkgver" + for i in ../*.patch; do + patch -p1 -i $i || return 1 + done + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --localstatedir=/var + + make || return 1 + make DESTDIR="$pkgdir/" install install-distribution +} + +md5sums="befd9b8e5311e87395b67ee381d83649 util-vserver-0.30.215.tar.bz2 +0c0a1b3e4c7a59a3ec66b8a6339abb50 util-vserver-0.30.215-touch-t.patch" diff --git a/testing/util-vserver/util-vserver-0.30.215-touch-t.patch b/testing/util-vserver/util-vserver-0.30.215-touch-t.patch new file mode 100644 index 0000000000..237f4a97ee --- /dev/null +++ b/testing/util-vserver/util-vserver-0.30.215-touch-t.patch @@ -0,0 +1,11 @@ +--- util-vserver-0.30.215.orig/Makefile.in Wed Nov 26 09:57:50 2008 ++++ util-vserver-0.30.215/Makefile.in Wed Nov 26 09:58:13 2008 +@@ -10303,7 +10303,7 @@ + .%-up-to-date: + @rm -f .*-up-to-date + @$(MAKE) -s clean +- @touch -t 197001020000 '$@' ++ @touch '$@' + @$(MAKE) -s $(BUILT_SOURCES) + + ChangeLog.sed: |