From 19bb6c3d676819ba4bc242142fa779e8502f3996 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 23 Nov 2008 12:51:08 +0000 Subject: [PATCH] Clifford Wolf: Removed depricated linux-libc-headers package (svn rm package/base/linux-libc-headers) [2008102610562323601] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@9174 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../linux-libc-headers.cache | 32 ------- .../linux-libc-headers.conf | 62 ------------- .../linux-libc-headers.desc | 44 --------- package/base/linux-libc-headers/old | 93 ------------------- package/base/linux-libc-headers/pkgmapper.in | 1 - package/base/linux-libc-headers/preconfig.in | 1 - 6 files changed, 233 deletions(-) delete mode 100644 package/base/linux-libc-headers/linux-libc-headers.cache delete mode 100644 package/base/linux-libc-headers/linux-libc-headers.conf delete mode 100644 package/base/linux-libc-headers/linux-libc-headers.desc delete mode 100644 package/base/linux-libc-headers/old delete mode 100644 package/base/linux-libc-headers/pkgmapper.in delete mode 100644 package/base/linux-libc-headers/preconfig.in diff --git a/package/base/linux-libc-headers/linux-libc-headers.cache b/package/base/linux-libc-headers/linux-libc-headers.cache deleted file mode 100644 index df31b3452..000000000 --- a/package/base/linux-libc-headers/linux-libc-headers.cache +++ /dev/null @@ -1,32 +0,0 @@ -[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- -[COPY] -[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. -[COPY] Please add additional copyright information _after_ the line containing -[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by -[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! -[COPY] -[COPY] ROCK Linux: rock-src/package/base/linux-libc-headers/linux-libc-headers.cache -[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf -[COPY] -[COPY] This program is free software; you can redistribute it and/or modify -[COPY] it under the terms of the GNU General Public License as published by -[COPY] the Free Software Foundation; either version 2 of the License, or -[COPY] (at your option) any later version. A copy of the GNU General Public -[COPY] License can be found at Documentation/COPYING. -[COPY] -[COPY] Many people helped and are helping developing ROCK Linux. Please -[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM -[COPY] file for details. -[COPY] -[COPY] --- ROCK-COPYRIGHT-NOTE-END --- - -[TIMESTAMP] 1168713575 Sat Jan 13 19:39:35 2007 (9) - -[CONFIG-ID] TRUNK-x86-reference -[ROCKVER] TRUNK - -[LOGS] 0-linux-libc-headers.log 1-linux-libc-headers.log 9-linux-libc-headers.log - -[BUILDTIME] 2666 (9) - - diff --git a/package/base/linux-libc-headers/linux-libc-headers.conf b/package/base/linux-libc-headers/linux-libc-headers.conf deleted file mode 100644 index 5c114b00d..000000000 --- a/package/base/linux-libc-headers/linux-libc-headers.conf +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/bash -# --- ROCK-COPYRIGHT-NOTE-BEGIN --- -# -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# Please add additional copyright information _after_ the line containing -# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by -# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! -# -# ROCK Linux: rock-src/package/base/linux-libc-headers/linux-libc-headers.conf -# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. A copy of the GNU General Public -# License can be found at Documentation/COPYING. -# -# Many people helped and are helping developing ROCK Linux. Please -# have a look at http://www.rocklinux.org/ and the Documentation/TEAM -# file for details. -# -# --- ROCK-COPYRIGHT-NOTE-END --- - -lx_cpu="$arch_machine" -incdir=$root/$prefix/include - -case "$xpkg" in - *-cross-*) - lx_cpu="${xpkg#**-cross-}" - incdir=$root/$prefix/$lx_cpu-unknown-linux-gnu/include - ;; -esac - -lx_cpu=$( echo "$lx_cpu" | \ - sed -e s/x86$/i386/ -e s/powerpc/ppc/ \ - -e s/hppa/parisc/ -e s/i.86/i386/ \ - -e s/sun4u/sparc64/ -e s/arm.*/arm/ \ - -e s/sa110/arm/ -e s/s390x/s390/ \ - -e s/parisc64/parisc/ ) - -custmain=llh_main -llh_main() { - cp -av include/{asm-generic,asm-$lx_cpu,linux} $incdir/ - ln -svf asm-$lx_cpu $incdir/asm - - if [ "$ROCKCFG_MULTILIB" = 1 ] ; then - case "$lx_cpu" in - sparc64) - cp -av include/asm-{sparc,sparc64-biarch} $incdir/ - ln -svf asm-sparc64-biarch $incdir/asm - ;; - x86_64) - cp -av include/asm-{i386,x86_64-biarch} $incdir/ - ln -svf asm-x86_64-biarch $incdir/asm - ;; - ppc) - cp -av include/asm-powerpc $incdir/ - ln -svf asm-powerpc $incdir/asm - ;; - esac - fi -} diff --git a/package/base/linux-libc-headers/linux-libc-headers.desc b/package/base/linux-libc-headers/linux-libc-headers.desc deleted file mode 100644 index fa88553a2..000000000 --- a/package/base/linux-libc-headers/linux-libc-headers.desc +++ /dev/null @@ -1,44 +0,0 @@ - -[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- -[COPY] -[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. -[COPY] Please add additional copyright information _after_ the line containing -[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by -[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! -[COPY] -[COPY] ROCK Linux: rock-src/package/base/linux-libc-headers/linux-libc-headers.desc -[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf -[COPY] -[COPY] This program is free software; you can redistribute it and/or modify -[COPY] it under the terms of the GNU General Public License as published by -[COPY] the Free Software Foundation; either version 2 of the License, or -[COPY] (at your option) any later version. A copy of the GNU General Public -[COPY] License can be found at Documentation/COPYING. -[COPY] -[COPY] Many people helped and are helping developing ROCK Linux. Please -[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM -[COPY] file for details. -[COPY] -[COPY] --- ROCK-COPYRIGHT-NOTE-END --- - -[I] User space part of the Linux kernel headers - -[T] User space part of the Linux kernel headers. - -[U] http://headers.cross-lfs.org - -[A] cross-lfs.org -[M] Stefan Fiedler - -[C] base/kernel -[F] DIETLIBC KERNEL -[F] CORE - -[E] group kernel-header linux-libc-headers - -[L] GPL -[S] Stable -[V] 2.6.20.1-02252007 -[P] 0 0-X--5---9 100.100 - -[D] 1448854930 linux-headers-2.6.20.1-02252007.tar.bz2 http://cross-lfs.org/files/packages/svn/ diff --git a/package/base/linux-libc-headers/old b/package/base/linux-libc-headers/old deleted file mode 100644 index 38634bc20..000000000 --- a/package/base/linux-libc-headers/old +++ /dev/null @@ -1,93 +0,0 @@ -Index: ../linux/linux.conf -=================================================================== ---- ../linux/linux.conf (revision 7) -+++ ../linux/linux.conf (working copy) -@@ -24,8 +24,6 @@ - pkg_linux_cross="" - - case "$xpkg-" in -- *-header-*) -- pkg_linux_mode=header ;; - *-source-*) - unset splitdesc_dev - pkg_linux_mode=source ;; -@@ -36,12 +34,8 @@ - case "$xpkg" in - *-cross-*) - pkg_linux_cross="${xpkg#**-cross-}" -- if [ $pkg_linux_mode = header ]; then -- echo_status "Preparing to build a linux kernel $pkg_linux_cross cross-headers package." -- else -- echo_error "Building linux kernel cross packages isn't supported yet." -- exit 1 -- fi -+ echo_error "Building linux kernel cross packages isn't supported yet." -+ exit 1 - ;; - esac - -@@ -347,52 +341,6 @@ - rm -f .config.old .config.[1-9] - } - --main_lx_header() { -- echo "Extracting the Linux Kernel Sources [$ver] ... " -- tar $taropt $archdir/$srctar -- cd linux-$vanilla_ver -- -- # patch and configure -- lx_config -- -- if [ -z "$pkg_linux_cross" ]; then -- incdir="$root/$prefix/include/linux$treever" -- else -- incdir="$root/$prefix/$pkg_linux_cross-unknown-linux-gnu/include" -- fi -- -- # install the header files - and do some post-processing for sparc -- rm -rf $incdir/{asm,asm-generic,linux,asm-sparc,asm-sparc64} -- mkdir -p $incdir -- if [ "$lx_cpu" != sparc -a "$lx_cpu" != sparc64 ] -- then -- mkdir -p $incdir/asm -- cp -rv include/asm/* $incdir/asm/ -- cp -rv include/{asm-generic,linux} $incdir/ -- else -- # we can only generate this files when we have a cross compiler -- # which is stage 1 and above ... -- if [ $stagelevel -gt 0 -a $treever != 26 ] ; then -- # build two generated headers first ... -- make ARCH=sparc CROSS_COMPILE=$archprefix KCC=$KCC \ -- arch/sparc/kernel/Makefile check_asm -- [ $lx_cpu = sparc64 ] && \ -- make ARCH=sparc64 CROSS_COMPILE=$archprefix KCC=sparc64-unknown-linux-gnu-gcc \ -- arch/sparc64/kernel/Makefile check_asm -- fi -- -- cp -rv include/{asm-{sparc{,64},generic},linux} $incdir/ -- cp -v $confdir/generate-asm . ; chmod +x ./generate-asm -- ./generate-asm $incdir -- fi -- if [ -z "$pkg_linux_cross" -a "linux$treever" = "$ROCKCFG_PKG_LINUX_HEADERS" ]; then -- for x in $incdir/*; do -- rm -rf $root/$prefix/include/${x##*/} -- ln -sf linux$treever/${x##*/} $root/$prefix/include/${x##*/} -- done -- fi --} -- - main_lx() { - lx_config - -@@ -534,11 +482,6 @@ - createdocs=0 - custmain="main_lx_src" - ;; -- header) -- autoextract=0 -- createdocs=0 -- custmain="main_lx_header" -- ;; - image) - custmain="main_lx" - autopatch=0 diff --git a/package/base/linux-libc-headers/pkgmapper.in b/package/base/linux-libc-headers/pkgmapper.in deleted file mode 100644 index 76019f716..000000000 --- a/package/base/linux-libc-headers/pkgmapper.in +++ /dev/null @@ -1 +0,0 @@ -pkg=${pkg##linux-libc-headers?} diff --git a/package/base/linux-libc-headers/preconfig.in b/package/base/linux-libc-headers/preconfig.in deleted file mode 100644 index 8a417ab7b..000000000 --- a/package/base/linux-libc-headers/preconfig.in +++ /dev/null @@ -1 +0,0 @@ -CFGTEMP_LINUX_HEADERS="$CFGTEMP_LINUX_HEADERS linux-libc-headers Use_linux-libc-headers_as_Linux_headers"