From bf5daff0456048478d6290fa41142c9acddbabd5 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 30 Nov 2010 23:36:54 +0000 Subject: aufs2-util: upgrade --- abs/core/aufs2-util/PKGBUILD | 13 ++++++++----- abs/core/aufs2-util/__changelog | 1 + abs/core/aufs2-util/aufs2-util_makefile.patch | 11 +++++++++++ abs/core/aufs2-util/create-tarball.sh | 2 +- 4 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 abs/core/aufs2-util/__changelog create mode 100644 abs/core/aufs2-util/aufs2-util_makefile.patch diff --git a/abs/core/aufs2-util/PKGBUILD b/abs/core/aufs2-util/PKGBUILD index 0690bba..fb3f650 100644 --- a/abs/core/aufs2-util/PKGBUILD +++ b/abs/core/aufs2-util/PKGBUILD @@ -1,20 +1,22 @@ -# $Id: PKGBUILD 80416 2010-05-17 08:02:02Z tpowa $ +# $Id: PKGBUILD 86684 2010-08-03 09:45:43Z tpowa $ # Contributor: Paul Mattal # Maintainer: Paul Mattal pkgname=aufs2-util -pkgver=20100517 +pkgver=20100802 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.34_20100517' 'kernel26-headers') +makedepends=('aufs2>=2.6.35_20100802' 'kernel26-headers') replaces=('aufs-utils') -source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz") +source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz" + aufs2-util_makefile.patch) build() { cd $srcdir/$pkgname-$pkgver + patch -p0 < ${srcdir}/aufs2-util_makefile.patch || return 1 make || return 1 } @@ -22,4 +24,5 @@ package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install || return 1 } -md5sums=('1541729832ead247953b09dd5cc40883') +md5sums=('f10e57e84df2ca01c338b2d8a2a1f337' + 'a55b670edcefa624883cd120d02edf12') diff --git a/abs/core/aufs2-util/__changelog b/abs/core/aufs2-util/__changelog new file mode 100644 index 0000000..d568323 --- /dev/null +++ b/abs/core/aufs2-util/__changelog @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..fe5b618 --- /dev/null +++ b/abs/core/aufs2-util/aufs2-util_makefile.patch @@ -0,0 +1,11 @@ +--- 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 index dd59212..6dd1a16 100755 --- a/abs/core/aufs2-util/create-tarball.sh +++ b/abs/core/aufs2-util/create-tarball.sh @@ -1,5 +1,5 @@ #!/bin/sh -GITSNAPSHOT=20100517 +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 -- cgit v0.12