]> git.pld-linux.org Git - packages/kernel.git/blame - kernel.spec
- rel 5, added aircrack-ng enhancements for hostap (more card ids and enable
[packages/kernel.git] / kernel.spec
CommitLineData
9b3bab6e 1#
3ef55194 2# TODO:
6b0d6921 3# - all netfilter patches needs update (API changed again)
171cc795 4# - separate PaX and grsecurity support
93f5f14b 5#
e080e174 6# WARNING: Kernels from 2.6.16.X series not work under OldWorldMac
c800013b 7#
ade3916a 8# Conditional build:
25204d32
PS
9%bcond_without smp # don't build SMP kernel
10%bcond_without up # don't build UP kernel
11%bcond_without source # don't build kernel-source package
f8f3b973 12%bcond_without pcmcia # don't build pcmcia
2245b68b 13
d3c89e2e 14%bcond_with abi # build ABI support only ix86 !!
de0d7ee0 15%bcond_with grsec_full # build full grsecurity
171cc795 16%bcond_with pax # build PaX and full grsecurity
25204d32 17%bcond_with verbose # verbose build (V=1)
de0d7ee0 18%bcond_with xen0 # added Xen0 support
19%bcond_with xenU # added XenU support
ceb42b9b 20
dcc54002
JR
21%bcond_without grsecurity # don't build grsecurity at all
22%bcond_without grsec_minimal # build only minimal subset (proc,link,fifo,shm)
ceb42b9b 23%bcond_without old_netfilter # don't build old netfilter module [not supported in this time may not work]
acbe79ff 24
798b8384 25%bcond_with fbsplash # fbsplash instead of bootsplash
32102096 26%bcond_with vesafb_tng # vesafb-tng, vesafb replacement from gentoo
740dff65
JR
27%bcond_with pae # build PAE (HIGHMEM64G) support on uniprocessor
28%bcond_with nfsroot # build with root on NFS support
29
ade3916a 30%{?debug:%define with_verbose 1}
01ebb9c5 31
dcc54002
JR
32%if %{without grsecurity}
33%undefine with_grsec_full
34%undefine with_grsec_minimal
171cc795 35%undefine with_pax
36%endif
37
38%if %{with pax}
39%undefine with_grsec_minimal
40%undefine with_grsec_full
41%define with_grsecurity 1
dcc54002
JR
42%endif
43
44%if %{with grsec_full}
45%undefine with_grsec_minimal
8fb7cd9b 46%define with_grsecurity 1
dcc54002
JR
47%endif
48
49%if %{with grsec_minimal}
50%undefine with_grsec_full
8fb7cd9b 51%define with_grsecurity 1
171cc795 52%undefine with_pax
dcc54002
JR
53%endif
54
8adc256a 55%ifarch sparc
9c50ed17 56# sparc32 is missing important updates from 2.5 cycle - won't build.
7e33668c 57%undefine with_smp
8adc256a 58%endif
7e33668c 59
b7b28388
JB
60%ifarch ia64
61# broken
62%undefine with_up
63%endif
8adc256a 64
d3c89e2e 65%ifnarch %{ix86}
66%undefine abi
67%endif
68
fbb03e0d
JB
69%define have_drm 1
70%define have_oss 1
71%define have_sound 1
72
7291f0f8
JB
73%ifarch %{ix86} alpha ppc
74%define have_isa 1
75%else
76%define have_isa 0
77%endif
78
fbb03e0d
JB
79%ifarch sparc sparc64
80%undefine with_pcmcia
81%define have_drm 0
82%define have_oss 0
83%endif
84
eb473ebe 85## Program required by kernel to work.
dfc3088c 86%define _binutils_ver 2.12.1
09172109
AM
87%define _util_linux_ver 2.10o
88%define _module_init_tool_ver 0.9.10
eb473ebe 89%define _e2fsprogs_ver 1.29
90%define _jfsutils_ver 1.1.3
91%define _reiserfsprogs_ver 3.6.3
ca5f99e2 92%define _reiser4progs_ver 1.0.0
a8960f0f 93%define _xfsprogs_ver 2.6.0
09172109 94%define _pcmcia_cs_ver 3.1.21
69947e91 95%define _pcmciautils_ver 004
09172109 96%define _quota_tools_ver 3.09
049d4c06 97%define _ppp_ver 1:2.4.0
09172109
AM
98%define _isdn4k_utils_ver 3.1pre1
99%define _nfs_utils_ver 1.0.5
4cf99e4b 100%define _procps_ver 3.2.0
69947e91
JB
101%define _oprofile_ver 0.9
102%define _udev_ver 071
5827b341 103%define _mkvmlinuz_ver 1.3
eb473ebe 104
bd37a82a 105%define _rel 5
c2921d44 106
d212de26 107%define _old_netfilter_snap 20060504
708887c1 108%define _netfilter_snap 20060829
aacc7ebc 109%define _nf_hipac_ver 0.9.1
d0fb8512 110
b620d240 111%define _enable_debug_packages 0
a508d02c 112%define no_install_post_strip 1
a508d02c 113%define no_install_post_chrpath 1
01ebb9c5 114
115%define pcmcia_version 3.1.22
e53706d2 116%define drm_xfree_version 4.3.0
01ebb9c5 117
7cbb9e08 118%define squashfs_version 3.1
35d39f24 119%define suspend_version 2.2.7.3
f0c5ac07 120
c5fcccf8 121%define xen_version 3.0.2
122
601b4e87
KT
123Summary: The Linux kernel (the core of the Linux operating system)
124Summary(de): Der Linux-Kernel (Kern des Linux-Betriebssystems)
125Summary(fr): Le Kernel-Linux (La partie centrale du systeme)
906e68b7 126