From 06f2b22d74a98b88b09fdd927c6038f4b8fbe6fe Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Sun, 17 Jul 2011 13:48:44 -0700
Subject: aufs-util:Bumped to latest.

---
 abs/core/aufs2-util/PKGBUILD                  | 18 +++++++-----------
 abs/core/aufs2-util/__changelog               |  1 -
 abs/core/aufs2-util/aufs2-util_makefile.patch | 11 -----------
 abs/core/aufs2-util/create-tarball.sh         | 11 -----------
 4 files changed, 7 insertions(+), 34 deletions(-)
 delete mode 100644 abs/core/aufs2-util/__changelog
 delete mode 100644 abs/core/aufs2-util/aufs2-util_makefile.patch
 delete mode 100755 abs/core/aufs2-util/create-tarball.sh

diff --git a/abs/core/aufs2-util/PKGBUILD b/abs/core/aufs2-util/PKGBUILD
index fb3f650..1841d57 100644
--- a/abs/core/aufs2-util/PKGBUILD
+++ b/abs/core/aufs2-util/PKGBUILD
@@ -1,28 +1,24 @@
-# $Id: PKGBUILD 86684 2010-08-03 09:45:43Z tpowa $
 # Contributor: Paul Mattal <paul@mattal.com>
-# Maintainer: Paul Mattal <pjmattal@elys.com>
+
 pkgname=aufs2-util
-pkgver=20100802
+pkgver=20110314
 pkgrel=1
 pkgdesc="Another Unionfs Implementation that supports NFS branches"
 arch=('i686' 'x86_64')
 url="http://aufs.sourceforge.net/"
 license=('GPL2')
 depends=('glibc')
-makedepends=('aufs2>=2.6.35_20100802' 'kernel26-headers')
+makedepends=('aufs2>=2.6.38_20110314' 'kernel26-headers')
 replaces=('aufs-utils')
-source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz"
-         aufs2-util_makefile.patch)
+source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz")
 
 build() {
   cd $srcdir/$pkgname-$pkgver
-  patch -p0 < ${srcdir}/aufs2-util_makefile.patch || return 1
-  make || return 1
+  make
 }
 
 package() {
   cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install || return 1
+  make DESTDIR=$pkgdir install
 }
-md5sums=('f10e57e84df2ca01c338b2d8a2a1f337'
-         'a55b670edcefa624883cd120d02edf12')
+md5sums=('bf0f9c86361e12a3181fb3891e57cd8d')
diff --git a/abs/core/aufs2-util/__changelog b/abs/core/aufs2-util/__changelog
deleted file mode 100644
index d568323..0000000
--- a/abs/core/aufs2-util/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-patch Makefile to build against the right kernel modules
diff --git a/abs/core/aufs2-util/aufs2-util_makefile.patch b/abs/core/aufs2-util/aufs2-util_makefile.patch
deleted file mode 100644
index fe5b618..0000000
--- a/abs/core/aufs2-util/aufs2-util_makefile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig	2010-11-30 22:42:21.000000000 +0000
-+++ Makefile	2010-11-30 22:43:08.000000000 +0000
-@@ -16,7 +16,7 @@
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301	 USA
- 
- ifndef KDIR
--KDIR = /lib/modules/$(shell uname -r)/build
-+KDIR = /lib/modules/2.6.36-LinHES/build
- endif
- ifneq "t" "$(shell test -e ${KDIR}/include/linux/stddef.h && echo t)"
- $(error incorrect KDIR)
diff --git a/abs/core/aufs2-util/create-tarball.sh b/abs/core/aufs2-util/create-tarball.sh
deleted file mode 100755
index 6dd1a16..0000000
--- a/abs/core/aufs2-util/create-tarball.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-GITSNAPSHOT=20100802
-# aufs2 (no -xx) for the latest -rc version.
-git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git aufs2-util.git
-cd aufs2-util.git
-#git checkout origin/aufs2${AUFS2VERSION}
-git checkout 
-cd ..
-rm -rf aufs2-util-${GITSNAPSHOT}
-cp -a aufs2-util.git aufs2-util-${GITSNAPSHOT}
-tar -czf aufs2-util-${GITSNAPSHOT}.tar.gz --exclude=.git aufs2-util-${GITSNAPSHOT}
-- 
cgit v0.12

