summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/aufs-utils
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/aufs-utils')
-rw-r--r--abs/core-testing/aufs-utils/PKGBUILD29
1 files changed, 17 insertions, 12 deletions
diff --git a/abs/core-testing/aufs-utils/PKGBUILD b/abs/core-testing/aufs-utils/PKGBUILD
index ee0932c..e5b3476 100644
--- a/abs/core-testing/aufs-utils/PKGBUILD
+++ b/abs/core-testing/aufs-utils/PKGBUILD
@@ -1,24 +1,27 @@
-# $Id: PKGBUILD 15034 2008-10-12 11:58:48Z thomas $
+# $Id: PKGBUILD 22882 2008-12-29 19:41:01Z tpowa $
# Contributor: Paul Mattal <paul@mattal.com>
# Maintainer: Paul Mattal <pjmattal@elys.com>
pkgname=aufs-utils
-pkgver=20081012
-pkgrel=1
-_kernver='2.6.27-ARCH'
+pkgver=20081226
+pkgrel=2
+_kernver='2.6.28-ARCH'
pkgdesc="Another Unionfs Implementation that supports NFS branches"
arch=('i686' 'x86_64')
url="http://aufs.sourceforge.net/"
license=('GPL2')
depends=('glibc')
-source=(ftp://ftp.archlinux.org/other/aufs/aufs-$pkgver.tar.gz)
-md5sums=('fb5eaa69b2c7e6e521cb9a9cae9ac23f')
+source=(ftp://ftp.archlinux.org/other/aufs/aufs-$pkgver.tar.bz2)
build() {
- cd $startdir/src/aufs || return 1
+ cd $srcdir/aufs || return 1
# Fix TMPFS_MAGIC error
sed 's|-le 26|-le 27|g' -i fs/aufs25/Makefile || return 1
+ # disable debug, broken in 2.6.28!
+ sed -i 's|CONFIG_AUFS_DEBUG = y|CONFIG_AUFS_DEBUG = |' \
+ local.mk || return 1
+
# configure for NFS by:
# 1) configure local.mk to use FILP and LHASH
sed -i 's|CONFIG_AUFS_PUT_FILP_PATCH =|CONFIG_AUFS_PUT_FILP_PATCH = y|' \
@@ -33,11 +36,13 @@ build() {
make KDIR=/usr/src/linux-$_kernver/ -f local.mk || return 1
# install
- install -D -m755 util/aufind.sh $startdir/pkg/usr/bin/aufind.sh || return 1
- install -D -m755 util/aulchown $startdir/pkg/usr/bin/aulchown || return 1
- install -D -m755 util/auplink $startdir/pkg/usr/bin/auplink || return 1
- install -D -m755 util/mount.aufs $startdir/pkg/sbin/mount.aufs || return 1
- install -D -m755 util/umount.aufs $startdir/pkg/sbin/umount.aufs || return 1
+ install -D -m755 util/aufind.sh $pkgdir/usr/bin/aufind.sh || return 1
+ install -D -m755 util/aulchown $pkgdir/usr/bin/aulchown || return 1
+ install -D -m755 util/auplink $pkgdir/usr/bin/auplink || return 1
+ install -D -m755 util/mount.aufs $pkgdir/sbin/mount.aufs || return 1
+ install -D -m755 util/umount.aufs $pkgdir/sbin/umount.aufs || return 1
+ install -D -m644 util/etc_default_aufs $pkgdir/etc/default/aufs || return 1
}
# vim:set ts=2 sw=2 et:
+md5sums=('e855ed9edc16953028f22cae393690de')