diff --git a/install_all.sh b/install_all.sh index eedb96e..71ea1ce 100644 --- a/install_all.sh +++ b/install_all.sh @@ -7,6 +7,11 @@ then echo "Usage: ${0##*/} linux-1.2.3.tar.gz" exit 1 fi +if echo $PWD | grep -q :; then + echo "do not call this in a directory with : - make will fail" + exit 1 +fi + kernel_dir="`tar -tf $1 | sed '1 {s@^.*[[:blank:]]@@;s@linux-@@;s@/.*$@@;s@^\([0-9]\+\.[0-9]\+\.[0-9]\+\)\(.*\)@\1@;p;Q}'`" header_dir="$PWD/linux-glibc-devel-$kernel_dir" if test -d "$kernel_dir" diff --git a/linux-glibc-devel-2.6.34.tar.bz2 b/linux-glibc-devel-2.6.34.tar.bz2 deleted file mode 100644 index 2c82145..0000000 --- a/linux-glibc-devel-2.6.34.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:118293832a705e1d3a23642fb4efdd9b562fa83ee8ff3da3647b4eb005e9d324 -size 705390 diff --git a/linux-glibc-devel-2.6.35.tar.bz2 b/linux-glibc-devel-2.6.35.tar.bz2 new file mode 100644 index 0000000..a8f9f22 --- /dev/null +++ b/linux-glibc-devel-2.6.35.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04637da9307423b6bc55142e02630b8355eca9a57b28bf35d7fbb5dc4476a8b1 +size 713824 diff --git a/linux-glibc-devel.SuSE.TIOCGDEV.patch b/linux-glibc-devel.SuSE.TIOCGDEV.patch index ac93ada..aa9ba28 100644 --- a/linux-glibc-devel.SuSE.TIOCGDEV.patch +++ b/linux-glibc-devel.SuSE.TIOCGDEV.patch @@ -10,20 +10,20 @@ Index: usr/include/asm-arm/ioctls.h =================================================================== ---- usr/include/asm-arm/ioctls.h.orig -+++ usr/include/asm-arm/ioctls.h +--- usr/include/asm-arm/ioctls.h.orig 2010-09-13 16:01:32.000000000 +0200 ++++ usr/include/asm-arm/ioctls.h 2010-09-13 16:22:48.439806545 +0200 @@ -52,6 +52,7 @@ #define TCSETSF2 _IOW('T',0x2D, struct termios2) #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ +#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */ - #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */ - #define FIOCLEX 0x5451 + #define TIOCGRS485 0x542E + #define TIOCSRS485 0x542F Index: usr/include/asm-generic/ioctls.h =================================================================== ---- usr/include/asm-generic/ioctls.h.orig -+++ usr/include/asm-generic/ioctls.h +--- usr/include/asm-generic/ioctls.h.orig 2010-09-13 16:11:55.000000000 +0200 ++++ usr/include/asm-generic/ioctls.h 2010-09-13 16:22:48.455841012 +0200 @@ -65,6 +65,7 @@ #define TIOCSRS485 0x542F #define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ @@ -34,8 +34,8 @@ Index: usr/include/asm-generic/ioctls.h #define TCSETXF 0x5434 Index: usr/include/asm-ia64/ioctls.h =================================================================== ---- usr/include/asm-ia64/ioctls.h.orig -+++ usr/include/asm-ia64/ioctls.h +--- usr/include/asm-ia64/ioctls.h.orig 2010-09-13 16:05:02.000000000 +0200 ++++ usr/include/asm-ia64/ioctls.h 2010-09-13 16:22:48.455841012 +0200 @@ -59,6 +59,7 @@ #define TCSETSF2 _IOW('T',0x2D, struct termios2) #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ @@ -46,8 +46,8 @@ Index: usr/include/asm-ia64/ioctls.h #define FIOCLEX 0x5451 Index: usr/include/asm-parisc/ioctls.h =================================================================== ---- usr/include/asm-parisc/ioctls.h.orig -+++ usr/include/asm-parisc/ioctls.h +--- usr/include/asm-parisc/ioctls.h.orig 2010-09-13 16:08:11.000000000 +0200 ++++ usr/include/asm-parisc/ioctls.h 2010-09-13 16:22:48.456816994 +0200 @@ -52,6 +52,7 @@ #define TCSETSF2 _IOW('T',0x2D, struct termios2) #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ @@ -58,8 +58,8 @@ Index: usr/include/asm-parisc/ioctls.h #define FIOCLEX 0x5451 Index: usr/include/asm-powerpc/ioctls.h =================================================================== ---- usr/include/asm-powerpc/ioctls.h.orig -+++ usr/include/asm-powerpc/ioctls.h +--- usr/include/asm-powerpc/ioctls.h.orig 2010-09-13 16:08:42.000000000 +0200 ++++ usr/include/asm-powerpc/ioctls.h 2010-09-13 16:22:48.456816994 +0200 @@ -93,6 +93,7 @@ #define TIOCSRS485 0x542f #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ @@ -70,8 +70,8 @@ Index: usr/include/asm-powerpc/ioctls.h #define TIOCSERGWILD 0x5454 Index: usr/include/asm-s390/ioctls.h =================================================================== ---- usr/include/asm-s390/ioctls.h.orig -+++ usr/include/asm-s390/ioctls.h +--- usr/include/asm-s390/ioctls.h.orig 2010-09-13 16:09:16.000000000 +0200 ++++ usr/include/asm-s390/ioctls.h 2010-09-13 16:22:48.474625906 +0200 @@ -60,6 +60,7 @@ #define TCSETSF2 _IOW('T',0x2D, struct termios2) #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ @@ -82,8 +82,8 @@ Index: usr/include/asm-s390/ioctls.h #define FIOCLEX 0x5451 Index: usr/include/asm-sparc/ioctls.h =================================================================== ---- usr/include/asm-sparc/ioctls.h.orig -+++ usr/include/asm-sparc/ioctls.h +--- usr/include/asm-sparc/ioctls.h.orig 2010-09-13 16:10:54.000000000 +0200 ++++ usr/include/asm-sparc/ioctls.h 2010-09-13 16:22:48.474806773 +0200 @@ -80,6 +80,7 @@ /* Get minor device of a pty master's FD -- Solaris equiv is ISPTM */ #define TIOCGPTN _IOR('t', 134, unsigned int) /* Get Pty Number */ diff --git a/linux-glibc-devel.changes b/linux-glibc-devel.changes index 570c35e..abd64e6 100644 --- a/linux-glibc-devel.changes +++ b/linux-glibc-devel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 13 14:16:42 UTC 2010 - coolo@novell.com + +- update kernel headers to 2.6.35 for xtables ALIGN + ------------------------------------------------------------------- Sun Jul 4 01:45:44 CEST 2010 - dmueller@suse.de diff --git a/linux-glibc-devel.spec b/linux-glibc-devel.spec index e740ae9..9f76640 100644 --- a/linux-glibc-devel.spec +++ b/linux-glibc-devel.spec @@ -1,5 +1,5 @@ # -# spec file for package linux-glibc-devel (Version 2.6.34) +# spec file for package linux-glibc-devel (Version 2.6.35) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,8 +24,8 @@ Summary: Linux headers for userspace development Group: Development/Libraries/C and C++ BuildArch: noarch # this confusing version number has no meaning -Version: 2.6.34 -Release: 2 +Version: 2.6.35 +Release: 1 Url: http://www.kernel.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: kernel-headers