Commit 17d35d16 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/linux-vanilla: upgrade to 3.9.2

parent dbe140c3
......@@ -2,20 +2,22 @@
_flavor=vanilla
pkgname=linux-${_flavor}
pkgver=3.8.11
_kernver=3.8
pkgver=3.9.2
case $pkgver in
*.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=$pkgver;;
esac
pkgrel=0
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
depends="mkinitfs linux-firmware"
makedepends="perl installkernel bash gmp-dev"
makedepends="perl installkernel bash gmp-dev bc"
options="!strip"
_config=${config:-kernelconfig.${CARCH}}
install=
source="http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$_kernver.tar.xz
kernelconfig.x86
kernelconfig.x86_64
dvb-realtek-usbid.patch
"
if [ "${pkgver%.0}" = "$pkgver" ]; then
source="$source
......@@ -30,7 +32,7 @@ _abi_release=${pkgver}
prepare() {
local _patch_failed=
cd "$srcdir"/linux-$_kernver
if [ "${pkgver%.0}" = "$pkgver" ]; then
if [ "$_kernver" != "$pkgver" ]; then
msg "Applying patch-$pkgver.xz"
unxz -c < "$srcdir"/patch-$pkgver.xz | patch -p1 -N || return 1
fi
......@@ -138,18 +140,15 @@ dev() {
"$subpkgdir"/lib/modules/${_abi_release}/build
}
md5sums="1c738edfc54e7c65faeb90c436104e2f linux-3.8.tar.xz
804e7347e20d854bf9538ff26b48c515 kernelconfig.x86
3dfb2a003533b0af7041b88b91e41ea7 kernelconfig.x86_64
28c7b1608d7663dfa5bbdf0340a5d4f2 dvb-realtek-usbid.patch
76ec67882ad94b8ab43c70a46befca13 patch-3.8.11.xz"
sha256sums="e070d1bdfbded5676a4f374721c63565f1c969466c5a3e214004a136b583184b linux-3.8.tar.xz
64e0ed001b464110f16920d4958e65d67b9db531adeca99c36c47695292d2c8b kernelconfig.x86
f27a71d23fb902ededb6008d65c2872a934c0c10641309dd062b23e3787a8087 kernelconfig.x86_64
86cfd48443de1aa9707a78708da6fde4fee52368af5c05081e648f9ca1876f9a dvb-realtek-usbid.patch
4666f2ca152e454b090525efa79cfcacc81a3d82011e14c412f07edd45457a95 patch-3.8.11.xz"
sha512sums="10a7983391af907d8aec72bdb096d1cabd4911985715e9ea13d35ff09095c035db15d4ab08b92eda7c10026cc27348cb9728c212335f7fcdcda7c610856ec30f linux-3.8.tar.xz
593558a44a093ff047725da447c7fb08c1f158fbbaaf212fe3af79ef2aa5cbb649d0368bd8fe375d3dd44a8ffa502d3feab33854119ce603b8a828cf052b97ff kernelconfig.x86
0e4444477b39b44efda4b7d956d9208177d371cc3fb6837e3fb417fb9d95fd854457a72304715cbb3c6536244351341a0255277322102eddc43e5eb3b72dc91b kernelconfig.x86_64
21e6fab06aa30902d764db948183c3e3f14e6f598a1e5e09fa723b1816a718425f31179c353528711ecde3181a0ceaecb93d9911f448da091a90e76557ea557d dvb-realtek-usbid.patch
d2288c3110a6cc603621a85dacfa47ce764769e56e369dc9ddec722e4efc7ac642bf74ad431d2656ce34e32c3b3e95e8e2ff7f7e5475c0d0bde334badd640b4e patch-3.8.11.xz"
md5sums="4348c9b6b2eb3144d601e87c19d5d909 linux-3.9.tar.xz
7144e96fe0b4b9269b1b397ceae17ce6 kernelconfig.x86
ce72815f9e30ff937fce4883a0a5d396 kernelconfig.x86_64
adeb2556568f79e827e7a0ce4c483605 patch-3.9.2.xz"
sha256sums="60bc3e64ee5dc778de2cd7cd7640abf518a4c9d4f31b8ed624e16fad53f54541 linux-3.9.tar.xz
0accef0a604d8daf0835baa407a44e600d7d10bfde8f76de871e725647ca54bb kernelconfig.x86
0d4d20255ebaaf5d4b89c8c78ce039df54366efeb892937f579fdb3fc531662c kernelconfig.x86_64
069126b2b70acbc27fada2bf67235238fd90ff103267b1bb392244a301321996 patch-3.9.2.xz"
sha512sums="77fa521f42380409f8ab400c26f7b00e225cb075ef40834bb263325cfdcc3e65aef8511ec2fc2b50bbf4f50e226fb5ab07d7a479aaf09162adbbf318325d0790 linux-3.9.tar.xz
9c7ba39955f2b118c0a96783ba0db29b38e51cfaafbae47feb2cc5e6a37a841813bc96bf86e9bd7c791bc03be73e72619edcc310f0330237e178be9b239ae990 kernelconfig.x86
ddeef0c18171a583f422dfd0342abfad2da1b928745ba3af7fe161b654c3d355b890ed08b6b89d0a745b26de7a759bf86541c78bfd899849f3dee0c6ed3c4493 kernelconfig.x86_64
439e32edab86f8b1bd49bc4c9325e11520d78b8182ae88aebf46a4be319c4633d6d896e2ecd3fe0363d9247f5af88a989aafca9103b8e1544262bd191440dae9 patch-3.9.2.xz"
--- linux-3.7/drivers/media/dvb-core/dvb-usb-ids.h.orig
+++ linux-3.7/drivers/media/dvb-core/dvb-usb-ids.h
@@ -151,6 +151,7 @@
#define USB_PID_KWORLD_395U_2 0xe39b
#define USB_PID_KWORLD_395U_3 0xe395
#define USB_PID_KWORLD_395U_4 0xe39a
+#define USB_PID_KWORLD_D393 0xd393
#define USB_PID_KWORLD_MC810 0xc810
#define USB_PID_KWORLD_PC160_2T 0xc160
#define USB_PID_KWORLD_PC160_T 0xc161
--- linux-3.7/drivers/media/usb/dvb-usb-v2/rtl28xxu.c.orig
+++ linux-3.7/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
@@ -1350,6 +1350,8 @@
&rtl2832u_props, "Dexatek DK mini DVB-T Dongle", NULL) },
{ DVB_USB_DEVICE(USB_VID_TERRATEC, 0x00d7,
&rtl2832u_props, "TerraTec Cinergy T Stick+", NULL) },
+ { DVB_USB_DEVICE(USB_VID_KWORLD_2, 0xd393,
+ &rtl2832u_props, "DVB-T TV Stick D393", NULL) },
{ }
};
MODULE_DEVICE_TABLE(usb, rtl28xxu_id_table);
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment