Permalink
Browse files

kernel: remove everything related to kernel

  • Loading branch information...
1 parent d90d11f commit 7fbb7b606b622eecc24e9f2a0df69c9516db3750 @meh meh committed Nov 5, 2011
@@ -1,11 +0,0 @@
----
-packages:
-- version: 2.6.36
- features: zen
- files:
- - name: linux-2.6.36.tar.bz2
- url: http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.tar.bz2
- digest: b546ab66458d7d614151d80adbc03b4d28977ae2
- - name: 2.6.36-zen2.patch.lzma
- url: http://downloads.zen-kernel.org/2.6.36/2.6.36-zen2.patch.lzma
- digest: bbb01531f7db9af89907c916e3b9426d516d7d0c
@@ -1,10 +0,0 @@
-Package.define('linux', '2.6.32.39') {
- arch '~x86', '~amd64'
- compiler 'gcc'
- libc 'glibc'
-
- source 'http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.32/linux-2.6.32.28.tar.bz2'
-
- zen! 'http://downloads.zen-kernel.org/2.6.32/2.6.32-zen7.patch.lzma'
- grsecurity! 'http://grsecurity.net/stable/grsecurity-2.2.1-2.6.32.28-201101272313.patch'
-}
@@ -1,7 +0,0 @@
-Package.define('linux', '2.6.36') {
- arch '~x86', '~amd64'
- compiler 'gcc'
- libc 'glibc'
-
- zen! 'http://downloads.zen-kernel.org/2.6.36/2.6.36-zen2.patch.lzma'
-}
@@ -1,7 +0,0 @@
-Package.define('linux', '2.6.37') {
- arch '~x86', '~amd64'
- compiler 'gcc'
- libc 'glibc'
-
- grsecurity! 'http://grsecurity.net/test/grsecurity-2.2.1-2.6.37-201101272240.patch'
-}
@@ -1,59 +0,0 @@
-Package.define('linux') { type 'kernel'
- avoid Modules::Building::Autotools
-
- tags 'kernel'
-
- description 'An operating system kernel used by the Linux family of Unix-like operating systems.'
- homepage 'http://kernel.org'
- license 'GPL-2'
-
- maintainer 'meh. <meh@paranoici.org>'
-
- source 'http://kernel.org/pub/linux/kernel/v#{package.version.major}.#{package.version.minor}/linux-#{package.version}.tar.bz2'
-
- def zen! (patch); package.zen = patch end
- def zen?; !!package.zen end
-
- def grsecurity! (patch); package.grsecurity = patch end
- def grsecurity?; !!package.grsecurity end
-
- after :initialize do
- package.source = { :default => package.source }
-
- features {
- if package.zen?
- package.source[:zen] = package.zen
-
- zen {
- description 'The Zen Kernel is a the result of a collaborative effort of kernel hackers to provide the best Linux kernel possible for every day systems.'
-
- after :unpack, :priority => -1 do
- package.patch package.unpack(package.distfiles[:zen]), :level => 1 if enabled?
- end
- }
- end
-
- if package.grsecurity?
- package.source[:grsecurity] = package.grsecurity
-
- grsecurity {
- description 'grsecurity is an innovative approach to security utilizing a multi-layered detection, prevention, and containment model.'
-
- after :unpack, :priority => -1 do
- package.patch package.distfiles[:grsecurity], :level => 1 if enabled?
- end
- }
- end
- }
- end
-
- after :unpack do
- Do.mv "#{workdir}/linux-#{version}", "#{distdir}/usr/src/linux#{'-zen' if features.zen?}#{'-gr' if features.grsecurity?}-#{version}"
-
- skip
- end
-
- before :pack do
- package.slot = "#{package.version}#{'-zen' if features.zen?}#{'-gr' if features.grsecurity?}"
- end
-}

0 comments on commit 7fbb7b6

Please sign in to comment.