From fc386ec94ee9c93fd5296073de04874fedd08ff3 Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Sat, 4 Sep 2010 16:04:41 -0700 Subject: kernel-headers:Removed for LinHES 7. --- abs/core-testing/kernel-headers/PKGBUILD | 30 ------- .../kernel-headers/netfilter-includes.patch | 91 ---------------------- abs/core-testing/kernel-headers/serial.diff | 13 ---- 3 files changed, 134 deletions(-) delete mode 100644 abs/core-testing/kernel-headers/PKGBUILD delete mode 100644 abs/core-testing/kernel-headers/netfilter-includes.patch delete mode 100644 abs/core-testing/kernel-headers/serial.diff diff --git a/abs/core-testing/kernel-headers/PKGBUILD b/abs/core-testing/kernel-headers/PKGBUILD deleted file mode 100644 index d928a77..0000000 --- a/abs/core-testing/kernel-headers/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# $Id: PKGBUILD 19341 2008-11-20 14:48:13Z andyrtr $ -# Maintainer: Jan de Groot -# Maintainer: Andreas Radke - -pkgname=kernel-headers -pkgver=2.6.28.5 -_basever=2.6.28 -pkgrel=1 -pkgdesc="Kernel headers sanitized for use in userspace" -arch=('i686' 'x86_64') -license=('GPL') -url="http://www.gnu.org/software/libc" -groups=('base') -source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${_basever}.tar.bz2 - http://www.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2 serial.diff) -md5sums=('d351e44709c9810b85e29b877f50968a' - '7a062fcdec46cec78c3fedbf558e334b' - 'd66b5cc1e1c2ce40d06d77167f36dfd9') - -build() { - cd ${srcdir}/linux-${_basever} - patch -Np1 -i ${srcdir}/patch-${pkgver} || return 1 -# patch -p0 < ../../serial.diff - - make mrproper - make headers_check || return 1 - make INSTALL_HDR_PATH=${pkgdir}/usr headers_install - - rm -rf ${pkgdir}/usr/include/drm -} diff --git a/abs/core-testing/kernel-headers/netfilter-includes.patch b/abs/core-testing/kernel-headers/netfilter-includes.patch deleted file mode 100644 index b39a4dd..0000000 --- a/abs/core-testing/kernel-headers/netfilter-includes.patch +++ /dev/null @@ -1,91 +0,0 @@ -From: Patrick McHardy -Date: Wed, 21 May 2008 21:08:38 +0000 (-0700) -Subject: netfilter: Move linux/types.h inclusions outside of #ifdef __KERNEL__ -X-Git-Tag: v2.6.26-rc4~7^2~9 -X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=c8942f1f0a7e2160ebf2e51ba89e50ee5895a1e7 - -netfilter: Move linux/types.h inclusions outside of #ifdef __KERNEL__ - -Greg Steuck points out that some of the netfilter -headers can't be used in userspace without including linux/types.h -first. The headers include their own linux/types.h include statements, -these are stripped by make headers-install because they are inside -#ifdef __KERNEL__ however. Move them out to fix this. - -Reported and Tested by Greg Steuck. - -Signed-off-by: Patrick McHardy -Signed-off-by: David S. Miller ---- - -diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h -index e4c6659..0c5eb7e 100644 ---- a/include/linux/netfilter.h -+++ b/include/linux/netfilter.h -@@ -3,7 +3,6 @@ - - #ifdef __KERNEL__ - #include --#include - #include - #include - #include -@@ -14,6 +13,7 @@ - #include - #include - #endif -+#include - #include - - /* Responses from hook functions. */ -diff --git a/include/linux/netfilter_arp/arp_tables.h b/include/linux/netfilter_arp/arp_tables.h -index dd9c97f..590ac3d 100644 ---- a/include/linux/netfilter_arp/arp_tables.h -+++ b/include/linux/netfilter_arp/arp_tables.h -@@ -11,11 +11,11 @@ - - #ifdef __KERNEL__ - #include --#include - #include - #include - #include - #endif -+#include - #include - #include - -diff --git a/include/linux/netfilter_ipv4/ip_tables.h b/include/linux/netfilter_ipv4/ip_tables.h -index bfc889f..092bd50 100644 ---- a/include/linux/netfilter_ipv4/ip_tables.h -+++ b/include/linux/netfilter_ipv4/ip_tables.h -@@ -17,11 +17,11 @@ - - #ifdef __KERNEL__ - #include --#include - #include - #include - #include - #endif -+#include - #include - #include - -diff --git a/include/linux/netfilter_ipv6/ip6_tables.h b/include/linux/netfilter_ipv6/ip6_tables.h -index f2507dc..1089e33 100644 ---- a/include/linux/netfilter_ipv6/ip6_tables.h -+++ b/include/linux/netfilter_ipv6/ip6_tables.h -@@ -17,11 +17,11 @@ - - #ifdef __KERNEL__ - #include --#include - #include - #include - #include - #endif -+#include - #include - #include - diff --git a/abs/core-testing/kernel-headers/serial.diff b/abs/core-testing/kernel-headers/serial.diff deleted file mode 100644 index 9b53e48..0000000 --- a/abs/core-testing/kernel-headers/serial.diff +++ /dev/null @@ -1,13 +0,0 @@ ---- include/linux/serial.h.orig 2009-02-11 05:59:28.000000000 +0000 -+++ include/linux/serial.h 2009-02-11 06:09:24.000000000 +0000 -@@ -10,8 +10,9 @@ - #ifndef _LINUX_SERIAL_H - #define _LINUX_SERIAL_H - --#ifdef __KERNEL__ - #include -+ -+#ifdef __KERNEL__ - #include - - /* -- cgit v0.12