[Lunar-commits] <moonbase> openafs, openafs-driver: Kernel 2.6.27 fix

Stefan Wold ratler at lunar-linux.org
Fri Oct 17 21:07:13 CEST 2008


commit b493426da25dc07324bc7f59581049c9e3328112
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Fri Oct 17 21:07:13 2008 +0200

    openafs, openafs-driver: Kernel 2.6.27 fix
---
 filesys/openafs/BUILD         |    5 +++++
 filesys/openafs/DETAILS       |    3 +++
 kernel/openafs-driver/BUILD   |    5 +++++
 kernel/openafs-driver/DETAILS |    3 +++
 4 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/filesys/openafs/BUILD b/filesys/openafs/BUILD
index 54b7ceb..c01b78e 100644
--- a/filesys/openafs/BUILD
+++ b/filesys/openafs/BUILD
@@ -5,6 +5,11 @@
   patch_it $SOURCE7 1   &&
   patch_it $SOURCE8 1   &&
 
+  # Apply if kernel >= 2.6.27
+  if grep -q 2.6.27 /usr/src/linux/include/linux/utsrelease.h; then
+    patch_it $SOURCE9 1
+  fi &&
+
   # Autoconf fix
   sedit 's;^AC_\(AIX\|MINIX\)$;;' acinclude.m4 &&
 
diff --git a/filesys/openafs/DETAILS b/filesys/openafs/DETAILS
index 6c77b97..850486d 100644
--- a/filesys/openafs/DETAILS
+++ b/filesys/openafs/DETAILS
@@ -8,6 +8,7 @@
        SOURCE6=openafs-1.4.7-remove_compile_et.patch
        SOURCE7=STABLE14-linux-2626-support-20080608.patch
        SOURCE8=openafs-1.4.7-gcpags-workaround.patch
+       SOURCE9=openafs-1.4.7-semaphore_fix.patch
     SOURCE_URL=http://www.openafs.org/dl/openafs/$VERSION/
    SOURCE2_URL=http://grand.central.org/dl/cellservdb/
    SOURCE3_URL=$PATCH_URL
@@ -16,6 +17,7 @@
    SOURCE6_URL=$PATCH_URL
    SOURCE7_URL=$PATCH_URL
    SOURCE8_URL=$PATCH_URL
+   SOURCE9_URL=$PATCH_URL
     SOURCE_VFY=sha1:dbaefb0e53d1dc0fde2792d04bd6786f36ba7e7b
    SOURCE3_VFY=sha1:5532084c54a79f77807ee8ae3cb09018b3e74c12
    SOURCE4_VFY=sha1:39f94d3cf2a14d4db2c0ba86caafa28a094bf564
@@ -23,6 +25,7 @@
    SOURCE6_VFY=sha1:31afbe5ce33366146ee3178fe9c5a3cfc4c451bb
    SOURCE7_VFY=sha1:75d445ea881e283c8c8007588bc99d5b37838a32
    SOURCE8_VFY=sha1:4f79505707bfffe482e2132fd1425f9a8d43f1f9
+   SOURCE9_VFY=sha1:ac6233bd6e71f409b259d82fe775171bceaf4631
       WEB_SITE=http://www.openafs.org/
        ENTERED=20031216
        UPDATED=20080504
diff --git a/kernel/openafs-driver/BUILD b/kernel/openafs-driver/BUILD
index 5c533af..f783842 100644
--- a/kernel/openafs-driver/BUILD
+++ b/kernel/openafs-driver/BUILD
@@ -5,6 +5,11 @@
 
   patch_it $SOURCE2 1 &&
 
+  # Apply if kernel >= 2.6.27
+  if grep -q 2.6.27 /usr/src/linux/include/linux/utsrelease.h; then
+    patch_it $SOURCE3 1
+  fi &&
+
   # Autoconf fix
   sedit 's;^AC_\(AIX\|MINIX\)$;;' acinclude.m4 &&
 
diff --git a/kernel/openafs-driver/DETAILS b/kernel/openafs-driver/DETAILS
index 3ecb868..afa0284 100644
--- a/kernel/openafs-driver/DETAILS
+++ b/kernel/openafs-driver/DETAILS
@@ -2,11 +2,14 @@
          VERSION=1.4.7
           SOURCE=openafs-$VERSION-src.tar.bz2
          SOURCE2=STABLE14-linux-2626-support-20080608.patch
+         SOURCE3=openafs-1.4.7-semaphore_fix.patch
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/openafs-$VERSION
       SOURCE_URL=http://www.openafs.org/dl/openafs/$VERSION/
      SOURCE2_URL=$PATCH_URL
+     SOURCE3_URL=$PATCH_URL
       SOURCE_VFY=sha1:dbaefb0e53d1dc0fde2792d04bd6786f36ba7e7b
      SOURCE2_VFY=sha1:75d445ea881e283c8c8007588bc99d5b37838a32
+     SOURCE3_VFY=sha1:ac6233bd6e71f409b259d82fe775171bceaf4631
         WEB_SITE=http://www.openafs.org/
          ENTERED=20031216
          UPDATED=20080504


More information about the Lunar-commits mailing list