[Lunar-commits] r22246 - in moonbase/trunk: filesys/openafs kernel/openafs-driver

Stefan Wold ratler at lunar-linux.org
Tue Nov 21 10:47:46 CET 2006


Author: ratler
Date: 2006-11-21 10:47:45 +0100 (Tue, 21 Nov 2006)
New Revision: 22246

Modified:
   moonbase/trunk/filesys/openafs/BUILD
   moonbase/trunk/filesys/openafs/DEPENDS
   moonbase/trunk/filesys/openafs/DETAILS
   moonbase/trunk/kernel/openafs-driver/BUILD
   moonbase/trunk/kernel/openafs-driver/DETAILS
Log:
Version bump to 1.4.2. Many bugs have been fixed since 1.4.1.
* Added killafs script, this will ensure /afs is cleanly umounted
* openafs-driver will always build against /usr/src/linux, this
  will ensure that openafs-driver is rebuilt against new kernel 
  when you update kernel with lunar tools
* Added PROFILE=yes to openafs-driver to supress the warning.
* Changed path patch


Modified: moonbase/trunk/filesys/openafs/BUILD
===================================================================
--- moonbase/trunk/filesys/openafs/BUILD	2006-11-21 07:44:14 UTC (rev 22245)
+++ moonbase/trunk/filesys/openafs/BUILD	2006-11-21 09:47:45 UTC (rev 22246)
@@ -1,6 +1,6 @@
 (
-  patch_it $SOURCE3 1	&&
   patch_it $SOURCE4 1	&&
+  patch_it $SOURCE5 1	&&
   ./regen.sh		&& 
 
   case `uname -s -r` in
@@ -47,8 +47,8 @@
 
   # Installing some db files
   install -p -m 644 $SOURCE_CACHE/CellServDB /usr/vice/etc/CellServDB &&
-  install -p -m 644 $SOURCE_DIRECTORY/src/packaging/HP-UX/files/usr/vice/etc/cacheinfo /usr/vice/etc/cacheinfo &&
-  install -p -m 755 $SOURCE_DIRECTORY/src/packaging/RedHat/afsmodname /usr/vice/etc/afsmodname &&
+  install -p -m 755 $SOURCE_CACHE/$SOURCE3 /usr/vice/etc/killafs &&
+  install -p -m 644 $SOURCE_DIRECTORY/src/packaging/RedHat/openafs-cacheinfo /usr/vice/etc/cacheinfo &&
   touch /usr/vice/etc/SuidCells &&
 
   # Copy conf and rc files
@@ -61,4 +61,3 @@
   rm -f $SOURCE_CACHE/$SOURCE2
 
 ) > $C_FIFO 2>&1
-  

Modified: moonbase/trunk/filesys/openafs/DEPENDS
===================================================================
--- moonbase/trunk/filesys/openafs/DEPENDS	2006-11-21 07:44:14 UTC (rev 22245)
+++ moonbase/trunk/filesys/openafs/DEPENDS	2006-11-21 09:47:45 UTC (rev 22246)
@@ -1,3 +1,4 @@
 depends autoconf	&&
 depends automake	&&
-depends Linux-PAM
\ No newline at end of file
+depends Linux-PAM       &&
+depends lsof

Modified: moonbase/trunk/filesys/openafs/DETAILS
===================================================================
--- moonbase/trunk/filesys/openafs/DETAILS	2006-11-21 07:44:14 UTC (rev 22245)
+++ moonbase/trunk/filesys/openafs/DETAILS	2006-11-21 09:47:45 UTC (rev 22246)
@@ -1,19 +1,22 @@
         MODULE=openafs
-       VERSION=1.4.1
+       VERSION=1.4.2
         SOURCE=openafs-$VERSION-src.tar.bz2
        SOURCE2=CellServDB
-       SOURCE3=openafs-1.4.1-paths.patch
-       SOURCE4=openafs-1.4.1-rename_pagsh.patch
+       SOURCE3=killafs-0.1
+       SOURCE4=openafs-1.4.2-paths.patch
+       SOURCE5=openafs-1.4.1-rename_pagsh.patch
     SOURCE_URL=http://www.openafs.org/dl/openafs/$VERSION/
    SOURCE2_URL=http://grand.central.org/dl/cellservdb/
    SOURCE3_URL=$PATCH_URL/
    SOURCE4_URL=$PATCH_URL/
+   SOURCE5_URL=$PATCH_URL/
       WEB_SITE=http://www.openafs.org/
-    SOURCE_VFY=sha1:8f2ba479dfdc32e7471555f4a19493839bdd736f
-   SOURCE3_VFY=sha1:3f0b5191eff5ea9cf17940eae8f27a2ece603899
-   SOURCE4_VFY=sha1:401b3ada4f9a2a60cd0f6ac60f7107f1fdca0638
+    SOURCE_VFY=sha1:062d78e3ee4237ab09fa3b01fed8b2fb35a7f3e5
+   SOURCE3_VFY=sha1:5532084c54a79f77807ee8ae3cb09018b3e74c12
+   SOURCE4_VFY=sha1:625fcda8fac555603b62a48d5f2fbbff6cf14d32
+   SOURCE5_VFY=sha1:401b3ada4f9a2a60cd0f6ac60f7107f1fdca0638
        ENTERED=20031216
-       UPDATED=20060503
+       UPDATED=20061121
     MAINTAINER="ratler at lunar-linux.org"
          SHORT="A distributed filesystem"
          PSAFE="no"

Modified: moonbase/trunk/kernel/openafs-driver/BUILD
===================================================================
--- moonbase/trunk/kernel/openafs-driver/BUILD	2006-11-21 07:44:14 UTC (rev 22245)
+++ moonbase/trunk/kernel/openafs-driver/BUILD	2006-11-21 09:47:45 UTC (rev 22246)
@@ -14,12 +14,15 @@
       ;;
   esac
 
-  if [ ! -e /lib/modules/`uname -r`/build/include/linux/version.h ]; then
-    message "Can't find '/lib/modules/`uname -r`/build/include/linux/version.h'!"
-    message "You need to have the source for your running kernel online and configured!"
-    exit -1
-  fi
-  OPTS="$OPTS --with-linux-kernel-headers=/lib/modules/`uname -r`/build"
+   
+  # Bad idea, this causes a POST_INSTALL problem from kernel.
+  # In other words this cause openafs-driver to be built against old kernel
+  #if [ ! -e /lib/modules/`uname -r`/build/include/linux/version.h ]; then
+  #  message "Can't find '/lib/modules/`uname -r`/build/include/linux/version.h'!"
+  #  message "You need to have the source for your running kernel online and configured!"
+  #  exit -1
+  #fi
+  OPTS="$OPTS --with-linux-kernel-headers=/usr/src/linux"
 
   ./configure 	--prefix=/usr			\
 		--sysconfdir=/usr/vice/etc	\

Modified: moonbase/trunk/kernel/openafs-driver/DETAILS
===================================================================
--- moonbase/trunk/kernel/openafs-driver/DETAILS	2006-11-21 07:44:14 UTC (rev 22245)
+++ moonbase/trunk/kernel/openafs-driver/DETAILS	2006-11-21 09:47:45 UTC (rev 22246)
@@ -1,20 +1,21 @@
           MODULE=openafs-driver
-         VERSION=1.4.1
+         VERSION=1.4.2
           SOURCE=openafs-$VERSION-src.tar.bz2
-         SOURCE2=openafs-1.4.1-paths.patch
+         SOURCE2=openafs-1.4.2-paths.patch
          SOURCE3=openafs-1.4.1-rename_pagsh.patch
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/openafs-$VERSION
       SOURCE_URL=http://www.openafs.org/dl/openafs/$VERSION/
      SOURCE2_URL=$PATCH_URL/
      SOURCE3_URL=$PATCH_URL/
         WEB_SITE=http://www.openafs.org/
-      SOURCE_VFY=sha1:8f2ba479dfdc32e7471555f4a19493839bdd736f
-     SOURCE2_VFY=sha1:3f0b5191eff5ea9cf17940eae8f27a2ece603899
+      SOURCE_VFY=sha1:062d78e3ee4237ab09fa3b01fed8b2fb35a7f3e5
+     SOURCE2_VFY=sha1:625fcda8fac555603b62a48d5f2fbbff6cf14d32
      SOURCE3_VFY=sha1:401b3ada4f9a2a60cd0f6ac60f7107f1fdca0638
          ENTERED=20031216
-         UPDATED=20060503
+         UPDATED=20061121
       MAINTAINER="ratler at lunar-linux.org"
            SHORT="OpenAFS kernel module"
+	 PROFILE="yes"
            PSAFE="no"
 cat << EOF
 OpenAFS distributed filesystem. AFS is a distributed filesystem



More information about the Lunar-commits mailing list