summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/aufs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/aufs/PKGBUILD')
-rw-r--r--abs/core-testing/aufs/PKGBUILD37
1 files changed, 24 insertions, 13 deletions
diff --git a/abs/core-testing/aufs/PKGBUILD b/abs/core-testing/aufs/PKGBUILD
index 57b6e24..37ae95f 100644
--- a/abs/core-testing/aufs/PKGBUILD
+++ b/abs/core-testing/aufs/PKGBUILD
@@ -1,34 +1,45 @@
-# $Id: PKGBUILD 5885 2008-07-21 19:28:11Z thomas $
+# $Id: PKGBUILD 15519 2008-10-14 07:05:41Z thomas $
# Contributor: Paul Mattal <paul@mattal.com>
# Maintainer: Paul Mattal <pjmattal@elys.com>
pkgname=aufs
-pkgver=20080527
+pkgver=20081012
pkgrel=2
-_kernver='2.6.26-ARCH'
+_kernver='2.6.27-ARCH'
pkgdesc="Another Unionfs Implementation that supports NFS branches"
arch=('i686' 'x86_64')
url="http://aufs.sourceforge.net/"
license=('GPL2')
-depends=('kernel26>=2.6.26-1' 'kernel26<=2.6.27' 'glibc' 'aufs-utils')
+depends=('kernel26>=2.6.27' 'kernel26<2.6.28' 'glibc' 'aufs-utils=20081012')
install=$pkgname.install
source=(ftp://ftp.archlinux.org/other/aufs/$pkgname-$pkgver.tar.gz)
options=(!libtool !makeflags)
-md5sums=('4378221aa5763d1f4408a0bbb0e80f0a')
+md5sums=('fb5eaa69b2c7e6e521cb9a9cae9ac23f')
build() {
cd $startdir/src/$pkgname || return 1
- # use splice functions exported by unionfs kernel patch
- # - important for loopback fs mounts
- sed s'|#if.*KERNEL_VERSION(2, 6, 26).*|#if 0|' -i fs/aufs25/vfsub.h \
- || return 1
+ # Fix TMPFS_MAGIC error
+ sed 's|-le 26|-le 27|g' -i fs/aufs25/Makefile || return 1
+
+ # use splice functions exported by unionfs kernel patch'
+ # - important for loopback fs mounts
sed -i 's|CONFIG_AUFS_SPLICE_PATCH =|CONFIG_AUFS_SPLICE_PATCH = y|' \
- local.mk || return 1
+ local.mk || return 1
+
+ # this fixes the unionfs patch from hanging aufs
+ sed -i 's|CONFIG_AUFS_UNIONFS23_PATCH =|CONFIG_AUFS_UNIONFS23_PATCH = y|' \
+ local.mk || return 1
+
+ sed -i 's|CONFIG_AUFS_WORKAROUND_FUSE =|CONFIG_AUFS_WORKAROUND_FUSE = y|' \
+ local.mk || return 1
- # patch for spin_lock conflict with the new unionfs patch
- sed s'|#if.*KERNEL_VERSION(2, 6, 26).*|#if 0|' -i fs/aufs25/cpup.c \
- || return 1
+ sed -i 's|CONFIG_AUFS_BRANCH_MAX_127 = y|CONFIG_AUFS_BRANCH_MAX_127 =|' \
+ local.mk || return 1
+
+ sed -i 's|CONFIG_AUFS_BRANCH_MAX_1023 =|CONFIG_AUFS_BRANCH_MAX_1023 = y|' \
+ local.mk || return 1
+ # ???
sed -i 's|.*CONFIG_AUFS_SHWH =.*|CONFIG_AUFS_SHWH = y|' \
local.mk || return 1