[Lunar-commits] r26564 - in moonbase/branches/crater: kernel kernel/kernel-headers-2.6 libs/glibc-new

Moritz Heiber moe at lunar-linux.org
Fri Nov 2 14:54:29 CET 2007


Author: moe
Date: 2007-11-02 14:54:29 +0100 (Fri, 02 Nov 2007)
New Revision: 26564

Added:
   moonbase/branches/crater/kernel/kernel-headers-2.6/
   moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS.x86_64
Removed:
   moonbase/branches/crater/libs/glibc-new/BUILD.sparc64
   moonbase/branches/crater/libs/glibc-new/POST_INSTALL
Modified:
   moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD
   moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS
   moonbase/branches/crater/libs/glibc-new/BUILD
   moonbase/branches/crater/libs/glibc-new/BUILD.x86_64
   moonbase/branches/crater/libs/glibc-new/DEPENDS
Log:
kernel-headers-2.6

a) New kernel-headers module. SUPPOSED to work .. please test. Packages
   for it are already on doppio and should get distributed

glibc-new:

b) If you want to support Sparc64 write a new BUILD file
c) Adjusted glibc to use the new userspace headers
d) Made glibc depend on those
e) POST_INSTALL no longer needed as we're installing a standard set of headers



Copied: moonbase/branches/crater/kernel/kernel-headers-2.6 (from rev 26540, moonbase/trunk/kernel/kernel-headers-2.6)

Modified: moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD
===================================================================
--- moonbase/trunk/kernel/kernel-headers-2.6/BUILD	2007-11-01 07:33:10 UTC (rev 26540)
+++ moonbase/branches/crater/kernel/kernel-headers-2.6/BUILD	2007-11-02 13:54:29 UTC (rev 26564)
@@ -2,13 +2,9 @@
 
   cd include/ &&
 
-  # asm is a special case, since it is arch specific
-  MYARCH="`arch | grep -qw i.86 && echo i386 || arch`" &&
-  mv asm-$MYARCH asm &&
-
   prepare_install &&
 
-  for dir in asm linux scsi sound mtd ; do
+  for dir in ./* ; do
      cp    -a $dir      /usr/include/
      chown -R root.root /usr/include/$dir
 
@@ -21,11 +17,6 @@
      do
         chmod 644 $file
      done
-  done &&
+  done
 
-  # XOrg X11R7 will not build without this
-  # Incase of an update: Remove this!
-  sed -e 's|__u16|unsigned short|g' -e 's|__u32|unsigned|g' \
-    -i /usr/include/linux/agpgart.h
-
 ) > $C_FIFO 2>&1

Modified: moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS
===================================================================
--- moonbase/trunk/kernel/kernel-headers-2.6/DETAILS	2007-11-01 07:33:10 UTC (rev 26540)
+++ moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS	2007-11-02 13:54:29 UTC (rev 26564)
@@ -1,14 +1,14 @@
             MODULE=kernel-headers-2.6
-           VERSION=2.6.12.0
-            SOURCE=linux-libc-headers-$VERSION.tar.bz2
-  SOURCE_DIRECTORY=${BUILD_DIRECTORY}/linux-libc-headers-$VERSION
-        SOURCE_URL=http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
-        SOURCE_VFY=sha1:e72c9b260995b269c9fb9248ed468c18fb01f3fd
-          WEB_SITE=http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
+           VERSION=2.6.23
+            SOURCE=kernel-headers-$VERSION.tar.bz2
+  SOURCE_DIRECTORY=${BUILD_DIRECTORY}/kernel-headers-$VERSION
+        SOURCE_URL=$MIRROR_URL/
+        SOURCE_VFY=sha1:a6d2aeabe95c4970ebe7b02271a430c8d6fabde3
+          WEB_SITE=http://www.lunar-linux.org
+        MAINTAINER=moe at lunar-linux.org
            ENTERED=20040226
-           UPDATED=20060224
-            SHORT="A set of specially patched 2.6 kernel headers"
+           UPDATED=20071102
+            SHORT="sanitized 2.6.x kernel headers for userspace"
 cat << EOF
-A set of specially patched 2.6 kernel headers.
-It is recommended for 2.6.X kernel users, but is not necessary.
+Sanitized 2.6.x kernel headers for userspace
 EOF

Added: moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS.x86_64
===================================================================
--- moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS.x86_64	                        (rev 0)
+++ moonbase/branches/crater/kernel/kernel-headers-2.6/DETAILS.x86_64	2007-11-02 13:54:29 UTC (rev 26564)
@@ -0,0 +1,14 @@
+            MODULE=kernel-headers-2.6
+           VERSION=2.6.23-x86_64
+            SOURCE=kernel-headers-$VERSION.tar.bz2
+  SOURCE_DIRECTORY=${BUILD_DIRECTORY}/kernel-headers-$VERSION
+        SOURCE_URL=$MIRROR_URL/
+        SOURCE_VFY=sha1:5d0350ad353c1c8a49b762dcfb8dc319f749193a
+          WEB_SITE=http://www.lunar-linux.org
+        MAINTAINER=moe at lunar-linux.org
+           ENTERED=20040226
+           UPDATED=20071102
+            SHORT="sanitized 2.6.x kernel headers for userspace"
+cat << EOF
+Sanitized 2.6.x kernel headers for userspace
+EOF

Modified: moonbase/branches/crater/libs/glibc-new/BUILD
===================================================================
--- moonbase/branches/crater/libs/glibc-new/BUILD	2007-11-02 13:34:50 UTC (rev 26563)
+++ moonbase/branches/crater/libs/glibc-new/BUILD	2007-11-02 13:54:29 UTC (rev 26564)
@@ -19,8 +19,7 @@
   mkdir -p $INSTALL_ROOT &&
   cd $INSTALL_ROOT
 
-  # We want the newest available headers
-  OPTS="$OPTS --with-headers=/usr/src/linux/include"
+  OPTS="$OPTS --with-headers=/usr/include"
 
   ../configure --prefix=/usr                           \
                --infodir=/usr/share/info               \
@@ -29,7 +28,7 @@
                --with-gd=no                            \
                --without-cvs                           \
                --enable-shared                         \
-               --with-kernel=2.6.20.0                  \
+               --with-kernel=2.6.23                    \
                $OPTS                                  &&
 
   # explicitly exit here since the following code unsets $?

Deleted: moonbase/branches/crater/libs/glibc-new/BUILD.sparc64

Modified: moonbase/branches/crater/libs/glibc-new/BUILD.x86_64
===================================================================
--- moonbase/branches/crater/libs/glibc-new/BUILD.x86_64	2007-11-02 13:34:50 UTC (rev 26563)
+++ moonbase/branches/crater/libs/glibc-new/BUILD.x86_64	2007-11-02 13:54:29 UTC (rev 26564)
@@ -20,8 +20,7 @@
   mkdir -p $INSTALL_ROOT &&
   cd $INSTALL_ROOT
 
-  # We want the newest available headers
-  OPTS="$OPTS --with-headers=/usr/src/linux/include"
+  OPTS="$OPTS --with-headers=/usr/include"
 
   ../configure --prefix=/usr                           \
                --infodir=/usr/share/info               \
@@ -32,7 +31,7 @@
                --enable-shared                         \
                --host=$BUILD                           \
                --build=$BUILD                          \
-               --with-kernel=2.6.20.0                  \
+               --with-kernel=2.6.23                    \
                $OPTS                                  &&
 
   # explicitly exit here since the following code unsets $?

Modified: moonbase/branches/crater/libs/glibc-new/DEPENDS
===================================================================
--- moonbase/branches/crater/libs/glibc-new/DEPENDS	2007-11-02 13:34:50 UTC (rev 26563)
+++ moonbase/branches/crater/libs/glibc-new/DEPENDS	2007-11-02 13:54:29 UTC (rev 26564)
@@ -1,6 +1,7 @@
-depends  binutils &&
-depends  gawk     &&
-depends  sed      &&
-depends  texinfo  &&
+depends  binutils
+depends  gawk
+depends  sed
+depends  texinfo
+depends  kernel-headers-2.6
 
 optional_depends "perl" "" "" "for testing the installation"

Deleted: moonbase/branches/crater/libs/glibc-new/POST_INSTALL



More information about the Lunar-commits mailing list