[arch-commits] Commit in aufs2/trunk (PKGBUILD aufs2.install create-tarball.sh)

Tobias Powalowski tpowa at archlinux.org
Fri Jan 7 15:08:58 EST 2011


    Date: Friday, January 7, 2011 @ 15:08:57
  Author: tpowa
Revision: 105327

upgpkg: aufs2 2.6.37_20110105-1
bump to .37 series

Modified:
  aufs2/trunk/PKGBUILD
  aufs2/trunk/aufs2.install
  aufs2/trunk/create-tarball.sh

-------------------+
 PKGBUILD          |   27 +++++++++++++--------------
 aufs2.install     |    2 +-
 create-tarball.sh |   12 ++++++------
 3 files changed, 20 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-07 20:02:43 UTC (rev 105326)
+++ PKGBUILD	2011-01-07 20:08:57 UTC (rev 105327)
@@ -2,25 +2,25 @@
 # Maintainer: Paul Mattal <pjmattal at elys.com>
 
 pkgname=aufs2
-pkgver=2.6.36_20101021
+pkgver=2.6.37_20110105
 pkgrel=1
 #_kernver=${pkgver%_*}-ARCH
-_kernver=2.6.36-ARCH
+_kernver=2.6.37-ARCH
 pkgdesc="Another Unionfs Implementation"
 arch=('i686' 'x86_64')
 url="http://aufs.sourceforge.net/"
 license=('GPL2')
-depends=('kernel26>=2.6.36' 'kernel26<2.6.37')
-makedepends=('kernel26-headers>=2.6.36' 'kernel26-headers<2.6.37')
+depends=('kernel26>=2.6.37' 'kernel26<2.6.38')
+makedepends=('kernel26-headers>=2.6.37' 'kernel26-headers<2.6.38')
 replaces=('aufs')
 install=${pkgname}.install
-source=("ftp://ftp.archlinux.org/other/aufs2/${pkgname}-${pkgver}.tar.gz"
-       aufs2-module-2.6.36.patch)
+source=("ftp://ftp.archlinux.org/other/aufs2/${pkgname}-${pkgver}.tar.gz")
+       #aufs2-module-2.6.36.patch)
 options=('!makeflags')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  patch -Np1 -i ../aufs2-module-2.6.36.patch
+  #patch -Np1 -i ../aufs2-module-2.6.36.patch
   sed -i 's|CONFIG_AUFS_HNOTIFY =.*|CONFIG_AUFS_HNOTIFY = y|' \
      config.mk || return 1
   sed -i 's|CONFIG_AUFS_HFSNOTIFY =.*|CONFIG_AUFS_HFSNOTIFY = y|' \
@@ -41,20 +41,19 @@
     inot64=""
   fi
   sed -i "s|CONFIG_AUFS_INO_T_64 =.*|CONFIG_AUFS_INO_T_64 =${inot64}|" \
-     config.mk || return 1
+     config.mk 
   # build
-  make KDIR=/usr/src/linux-${_kernver} || return 1
+  make aufs.ko KDIR=/usr/src/linux-${_kernver} 
 }
 
 package() {
   cd ${srcdir}/${pkgname}-${pkgver}
   install -D -m644 fs/aufs/aufs.ko \
-    $pkgdir/lib/modules/${_kernver}/kernel/fs/aufs/aufs.ko || return 1
+    $pkgdir/lib/modules/${_kernver}/kernel/fs/aufs/aufs.ko 
   # tweak the install script for the right kernel version
   sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
-    $startdir/$pkgname.install || return 1
+    $startdir/$pkgname.install 
   # install include files
-  install -D -m 644 include/linux/aufs_type.h $pkgdir/usr/src/linux-$_kernver/include/linux/aufs_type.h || return 1
+  install -D -m 644 include/linux/aufs_type.h $pkgdir/usr/src/linux-$_kernver/include/linux/aufs_type.h 
 }
-md5sums=('9ba0666dc200bebb240ac598f9021d9f'
-         '55aac34dd0aa39458b6d927f4b2bddb8')
+md5sums=('630c9c36bd4c0aa75a12b9bfa01ef8ee')

Modified: aufs2.install
===================================================================
--- aufs2.install	2011-01-07 20:02:43 UTC (rev 105326)
+++ aufs2.install	2011-01-07 20:08:57 UTC (rev 105327)
@@ -1,5 +1,5 @@
 post_install() {
-  KERNEL_VERSION=2.6.36-ARCH
+  KERNEL_VERSION=2.6.37-ARCH
   depmod $KERNEL_VERSION
 }
 

Modified: create-tarball.sh
===================================================================
--- create-tarball.sh	2011-01-07 20:02:43 UTC (rev 105326)
+++ create-tarball.sh	2011-01-07 20:08:57 UTC (rev 105327)
@@ -1,14 +1,14 @@
 #!/bin/sh
-AUFS2VERSION="-36"
-KERNELVERSION=2.6.36
-GITSNAPSHOT=20101021
+AUFS2VERSION=""
+KERNELVERSION=2.6.37
+GITSNAPSHOT=20110105
 # aufs2 (no -xx) for the latest -rc version.
 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git aufs2-standalone.git
 cd aufs2-standalone.git
-#git checkout origin/aufs2${AUFS2VERSION}
-git checkout origin/aufs2
+#git checkout origin/aufs2.1${AUFS2VERSION}
+git checkout origin/aufs2.1
 #*** apply "aufs2-base.patch" and "aufs2-standalone.patch" to your kernel source files.
 cd ..
-rm -rf aufs2-${KERNELVERSIN}_${GITSNAPSHOT}
+rm -rf aufs2-${KERNELVERSION}_${GITSNAPSHOT}
 cp -a aufs2-standalone.git aufs2-${KERNELVERSION}_${GITSNAPSHOT}
 tar -czf aufs2-${KERNELVERSION}_${GITSNAPSHOT}.tar.gz --exclude=.git aufs2-${KERNELVERSION}_${GITSNAPSHOT}



More information about the arch-commits mailing list