/[packages]/cauldron/kernel-tmb/pristine/SPECS/kernel-tmb.spec
ViewVC logotype

Diff of /cauldron/kernel-tmb/pristine/SPECS/kernel-tmb.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

obsolete/cauldron/kernel-tmb/current/SPECS/kernel-tmb.spec revision 389213 by pterjan, Thu Jan 17 21:29:26 2013 UTC cauldron/kernel-tmb/current/SPECS/kernel-tmb.spec revision 445408 by tmb, Fri Jun 21 09:17:10 2013 UTC
# Line 2  Line 2 
2  # *tmb* series kernels now use kernel.org versioning  # *tmb* series kernels now use kernel.org versioning
3  #  #
4  %define kernelversion   3  %define kernelversion   3
5  %define patchlevel      6  %define patchlevel      9
6  # sublevel is now used for -stable patches  # sublevel is now used for -stable patches
7  %define sublevel        5  %define sublevel        7
8    
9  # Package release  # Package release
10  %define mgarel          3  %define mgarel          1
11    
12  # kernel Makefile extraversion is substituted by  # kernel Makefile extraversion is substituted by
13  # kpatch/kgit wich are either 0 (empty), rc (kpatch), git (kgit)  # kpatch/kgit wich are either 0 (empty), rc (kpatch), git (kgit)
# Line 82  Line 82 
82  %define build_devel             1  %define build_devel             1
83  %define build_debug             0  %define build_debug             0
84    
85    # xz compress modules
86    %define build_modxz             1
87    
88  # Build desktop586 (i586 / 4GB)  # Build desktop586 (i586 / 4GB)
89  %ifarch %{ix86}  %ifarch %{ix86}
90  %define build_desktop586        1  %define build_desktop586        1
# Line 223  input and output, etc. Line 226  input and output, etc.
226  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88  %define kprovides       %{kname} = %{kverrel}, kernel = %{tar_ver}, drbd-api = 88
227    
228  Autoreqprov:            no  Autoreqprov:            no
229  BuildRequires:          gcc >= 4.0.1-5 kmod >= 7-6  BuildRequires:          gcc >= 4.0.1-5 kmod >= 7-6 bc
230    
231  %description  %description
232  %common_description_kernel  %common_description_kernel
# Line 654  SaveDevel() { Line 657  SaveDevel() {
657          cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/          cp -fR drivers/lguest/lg.h $TempDevelRoot/drivers/lguest/
658    
659          # Needed for lirc_gpio (Anssi Hannula, #39004, #54907)          # Needed for lirc_gpio (Anssi Hannula, #39004, #54907)
660          cp -fR drivers/media/video/bt8xx/bttv{,p}.h $TempDevelRoot/drivers/media/video/bt8xx/          cp -fR drivers/media/pci/bt8xx/bttv{,p}.h $TempDevelRoot/drivers/media/pci/bt8xx/
661          cp -fR drivers/media/video/bt8xx/bt848.h $TempDevelRoot/drivers/media/video/bt8xx/          cp -fR drivers/media/pci/bt8xx/bt848.h $TempDevelRoot/drivers/media/pci/bt8xx/
662          cp -fR drivers/media/video/btcx-risc.h $TempDevelRoot/drivers/media/video/          cp -fR drivers/media/common/btcx-risc.h $TempDevelRoot/drivers/media/common/
663    
664          # Needed for external dvb tree (#41418)          # Needed for external dvb tree (#41418)
665          cp -fR drivers/media/dvb/dvb-core/*.h $TempDevelRoot/drivers/media/dvb/dvb-core/          cp -fR drivers/media/dvb-core/*.h $TempDevelRoot/drivers/media/dvb-core/
666          cp -fR drivers/media/dvb/frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb/frontends/          cp -fR drivers/media/dvb-frontends/lgdt330x.h $TempDevelRoot/drivers/media/dvb-frontends/
667    
668          # add acpica header files, needed for fglrx build          # add acpica header files, needed for fglrx build
669          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/          cp -fR drivers/acpi/acpica/*.h $TempDevelRoot/drivers/acpi/acpica/
670    
671          for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \          for i in alpha arc arm arm26 arm64 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
672                   microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \                   microblaze mips m32r m68k m68knommu metag mn10300 openrisc parisc \
673                   powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do                   powerpc ppc s390 sh sh64 score sparc tile unicore32 v850 xtensa; do
674                  rm -rf $TempDevelRoot/arch/$i                  rm -rf $TempDevelRoot/arch/$i
675          done          done
# Line 712  $DevelRoot/fs Line 715  $DevelRoot/fs
715  $DevelRoot/include/Kbuild  $DevelRoot/include/Kbuild
716  $DevelRoot/include/acpi  $DevelRoot/include/acpi
717  $DevelRoot/include/asm-generic  $DevelRoot/include/asm-generic
718    $DevelRoot/include/clocksource
719  $DevelRoot/include/config  $DevelRoot/include/config
720  $DevelRoot/include/crypto  $DevelRoot/include/crypto
721  $DevelRoot/include/drm  $DevelRoot/include/drm
# Line 722  $DevelRoot/include/math-emu Line 726  $DevelRoot/include/math-emu
726  $DevelRoot/include/media  $DevelRoot/include/media
727  $DevelRoot/include/memory  $DevelRoot/include/memory
728  $DevelRoot/include/misc  $DevelRoot/include/misc
 $DevelRoot/include/mtd  
729  $DevelRoot/include/net  $DevelRoot/include/net
730  $DevelRoot/include/pcmcia  $DevelRoot/include/pcmcia
731  $DevelRoot/include/ras  $DevelRoot/include/ras
# Line 732  $DevelRoot/include/scsi Line 735  $DevelRoot/include/scsi
735  $DevelRoot/include/sound  $DevelRoot/include/sound
736  $DevelRoot/include/target  $DevelRoot/include/target
737  $DevelRoot/include/trace  $DevelRoot/include/trace
738    $DevelRoot/include/uapi
739  $DevelRoot/include/video  $DevelRoot/include/video
740  $DevelRoot/include/xen  $DevelRoot/include/xen
741  $DevelRoot/init  $DevelRoot/init
# Line 952  chmod -R a+rX %{target_source} Line 956  chmod -R a+rX %{target_source}
956    
957  # we remove all the source files that we don't ship  # we remove all the source files that we don't ship
958  # first architecture files  # first architecture files
959  for i in alpha arm arm26 avr32 blackfin c6x cris frv h8300 hexagon ia64 \  for i in alpha arc arm arm26 arm64 avr32 blackfin c6x cris frv h8300 hexagon ia64 \
960           microblaze mips m32r m68k m68knommu mn10300 openrisc parisc \           microblaze mips m32r m68k m68knommu metag mn10300 openrisc parisc \
961           powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do           powerpc ppc s390 sh sh64 score sparc tile v850 xtensa unicore32; do
962          rm -rf %{target_source}/arch/$i          rm -rf %{target_source}/arch/$i
963  done  done
# Line 969  rm -rf %{target_source}/.tmp_depmod/ Line 973  rm -rf %{target_source}/.tmp_depmod/
973  #endif %build_source  #endif %build_source
974  %endif  %endif
975    
976    # compressing modules
977    %if %{build_modxz}
978    find %{target_modules} -name "*.ko" | %kxargs xz -6e
979    %else
980    find %{target_modules} -name "*.ko" | %kxargs gzip -9
981    %endif
982    
983  # We used to have a copy of PrepareKernel here  # We used to have a copy of PrepareKernel here
984  # Now, we make sure that the thing in the linux dir is what we want it to be  # Now, we make sure that the thing in the linux dir is what we want it to be
985  for i in %{target_modules}/*; do  for i in %{target_modules}/*; do
986      rm -f $i/build $i/source          rm -f $i/build $i/source
987  done  done
988    
989  # Create modules.description  # sniff, if we compressed all the modules, we change the stamp :(
990    # we really need the depmod -ae here
991  pushd %{target_modules}  pushd %{target_modules}
992  for i in *; do  for i in *; do
993          pushd $i          /sbin/depmod -ae -b %{buildroot} -F %{target_boot}/System.map-$i $i
994          echo "Creating modules.description for $i"          echo $?
995          modules=`find . -name "*.ko.gz"`  done
996          echo $modules | %kxargs /sbin/modinfo \  
997          | perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description  # create modules.description
998          popd  for i in *; do
999            pushd $i
1000            echo "Creating modules.description for $i"
1001            modules=`find . -name "*.ko.[g,x]z"`
1002            echo $modules | %kxargs /sbin/modinfo \
1003            | perl -lne 'print "$name\t$1" if $name && /^description:\s*(.*)/; $name = $1 if m!^filename:\s*(.*)\.k?o!; $name =~ s!.*/!!' > modules.description
1004            popd
1005  done  done
1006  popd  popd
1007    
# Line 1016  popd Line 1034  popd
1034  %{_kerneldir}/include/Kbuild  %{_kerneldir}/include/Kbuild
1035  %{_kerneldir}/include/acpi  %{_kerneldir}/include/acpi
1036  %{_kerneldir}/include/asm-generic  %{_kerneldir}/include/asm-generic
1037    %{_kerneldir}/include/clocksource
1038  %{_kerneldir}/include/crypto  %{_kerneldir}/include/crypto
1039  %{_kerneldir}/include/drm  %{_kerneldir}/include/drm
1040  %{_kerneldir}/include/keys  %{_kerneldir}/include/keys
# Line 1024  popd Line 1043  popd
1043  %{_kerneldir}/include/media  %{_kerneldir}/include/media
1044  %{_kerneldir}/include/memory  %{_kerneldir}/include/memory
1045  %{_kerneldir}/include/misc  %{_kerneldir}/include/misc
 %{_kerneldir}/include/mtd  
1046  %{_kerneldir}/include/net  %{_kerneldir}/include/net
1047  %{_kerneldir}/include/pcmcia  %{_kerneldir}/include/pcmcia
1048  %{_kerneldir}/include/ras  %{_kerneldir}/include/ras
# Line 1034  popd Line 1052  popd
1052  %{_kerneldir}/include/sound  %{_kerneldir}/include/sound
1053  %{_kerneldir}/include/target  %{_kerneldir}/include/target
1054  %{_kerneldir}/include/trace  %{_kerneldir}/include/trace
1055    %{_kerneldir}/include/uapi
1056  %{_kerneldir}/include/video  %{_kerneldir}/include/video
1057  %{_kerneldir}/include/xen  %{_kerneldir}/include/xen
1058  %{_kerneldir}/init  %{_kerneldir}/init
# Line 1069  popd Line 1088  popd
1088  %endif  %endif
1089    
1090  %changelog  %changelog
1091    * Fri Jun  21 2013 Thomas Backlund <tmb@mageia.org> 3.9.7-1.mga4
1092    - update to 3.9.7
1093    - drop merged patches:
1094      * AA01-AA82 (stable queue fixes)
1095    - add patches:
1096      * DN10: ath9k_htc: Handle IDLE state transition properly
1097      * DN30: rtl8192cu: Fix problem in connecting to WEP or WPA(1) networks
1098    
1099    * Sun Jun  2 2013 Thomas Backlund <tmb@mageia.org> 3.9.4-1.mga4
1100    - update to 3.9.4
1101    - drop merged patches:
1102      * DI01, DI10-DI12, DI20-DI22, DI30-DI31, DI40-DI41
1103      * DI50-DI64, DI70-DI75, DM10, DN10-DN14, DS10
1104    - update patches:
1105      * CK01: -ck1 patchset including BFS 0.430
1106      * FR01: Reiser4 support for kernel 3.9
1107      * KP01: TuxOnIce 3.3 for kernel 3.9
1108    - rediff patches:
1109      * FO01, FO04: overlayfs support
1110      * MB02: 3rdparty tree merge
1111    - add patches:
1112      * DN04: fix up alx AR8161 breakage (mga #10079)
1113      * MB13: ndiswrapper buildfix for kernel 3.9
1114    - update filelists
1115    - update defconfigs
1116    
1117    * Sun May 12 2013 Thomas Backlund <tmb@mageia.org> 3.8.13-1.mga3
1118    - update to 3.8.13
1119    - drop merged patches:
1120      * BD01: block discard fix
1121      * DG01-DG03: drm/radeon fixes
1122      * DG12: drm/cirrus fix
1123      * DG21-DG25: drm/i915 fixes
1124    - add patches:
1125      * DI20-DI22: Input: Cypress PS2 support
1126      * DI30-DI31: Input: Cypress APA support
1127      * DI40-DI41: Input: Synaptics bugfixes
1128      * DI50-DI64: Input: ALPS Rushmore and Dolphin V1 support
1129      * DI70-DI75: Input: Wacom: DTH-2242 and 0x10d support
1130    
1131    * Wed May  8 2013 Thomas Backlund <tmb@mageia.org> 3.8.12-1.mga3
1132    - update to 3.8.12
1133    - update patches:
1134      * DN01-DN03: alx ethernet support including BigFoot e2200
1135    - add patches:
1136      * DG11: drm/cirrus: Correct register values for 16bpp
1137      * DG12: drm/cirrus: deal with bo reserve fail in dirty update path
1138      * DG21: Fix detection of base of stolen memory
1139      * DG22: Use MLC (l3$) for context objects
1140      * DG23: Add no-lvds quirk for Fujitsu Esprimo Q900
1141      * DG24: Fixup Oops in the pipe config computation
1142      * DG25: set CPT FDI RX polarity bits based on VBT
1143      * DN21: carl9170: fix frame drop and WARN due to minstrel_ht change
1144      * DN22: carl9170: remove fast channel change feature (unreliable)
1145    - drop merged patches:
1146      * AA01: TTY fix
1147      * DN04: alx fix
1148    
1149    * Wed May  1 2013 Thomas Backlund <tmb@mageia.org> 3.8.11-1.mga3
1150    - update to 3.8.11
1151    - drop merged patches:
1152      * AA01-AA03: stable queue fixes
1153    - add patch:
1154      * DT01: tty: fix up atime/mtime mess, take three (Linus, upstream)
1155    
1156    * Sat Apr 27 2013 Thomas Backlund <tmb@mageia.org> 3.8.10-1.mga3
1157    - update to 3.8.10
1158    - drop merged / obsolete patches:
1159      * AA01-AA20: 3.8.6+ stable fixes (merged)
1160      * DP01: disable-aspm-link check for ath5k (obsolete)
1161    - add patches:
1162      * AA01: aio: fix possible invalid memory access when DEBUG is enabled
1163      * AA02: TTY: do not update atime/mtime on read/write (CVE-2013-0160)
1164      * AA03: TTY: fix atime/mtime regression
1165      * BD01: block: fix max discard sectors limit
1166      * DG01: drm/radeon: don't use get_engine_clock() on APUs (mga #8077, fdo #62493)
1167      * DG02: drm/radeon: add some new SI PCI ids
1168      * DG03: drm/radeon: add new richland pci ids
1169      * DI10-DI12: intel_idle: add Haswell support
1170    - make EFI_VARS builtin on x86_64
1171    - set DEFAULT_NLS to utf8
1172    
1173    * Sun Apr  7 2013 Thomas Backlund <tmb@mageia.org> 3.8.6-1.mga3
1174    - update to 3.8.6
1175    - update patches:
1176      * CK01: -ck patchset inclunding BFS 0.428
1177      * DN01-DN02: alx ethernet driver
1178      * F01-F13: overlayfs
1179      * KP01: TuxOnIce 3.3
1180      * MB10: ndiswrapper 1.58
1181    - drop merged/obsolete patches:
1182      * AA01-AA16: stable queue fixes for 3.6 series
1183      * CK02: BFS boot fix
1184      * DM50: DVB-S builfix
1185      * DM60: rttrack buildfix
1186      * MB13, MB14: ndiswrapper buildfixes
1187    - add patches:
1188      * AA01-AA20: 3.8 -stable queue fixes
1189      * DI01: Intel Wellsburg PCH i2c support
1190      * DM10: Intel Wellsburg PCH lpc support
1191      * DN03-DN04: alx buildfixes
1192      * DN10: net: asix: init ASIX AX88772B MAC from EEPROM
1193      * DN11: net: asix: handle packets crossing URB boundaries
1194      * DN12: usb/net/asix_devices: Add USBNET HG20F9 ethernet dongle (coling)
1195      * DN13: asix cleanup
1196      * DN14: net: ax88179_178a: add ASIX AX88179_178A USB 3.0/2.0 to gigabit
1197              ethernet adapter support
1198      * DP01: PCI: Remove not needed check in disable aspm link (fixes ath5k)
1199      * DS10: Intel Wellsburg PCH alsa support
1200      * FR01: Reiser4 support
1201    - update defconfigs
1202    
1203  * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-3.mga3  * Thu Nov  1 2012 Thomas Backlund <tmb@mageia.org> 3.6.5-3.mga3
1204  - add patch:  - add patch:
1205    * DN01, DN02: alx network driver    * DN01, DN02: alx network driver
# Line 1575  popd Line 1706  popd
1706      * DG02: drm/i915: Fix calculation of backlight value in combined mode      * DG02: drm/i915: Fix calculation of backlight value in combined mode
1707  - drop S5, not needed anymore as we ship unprepared kernel-source  - drop S5, not needed anymore as we ship unprepared kernel-source
1708    
1709  * Sat Jan 26 2011 Thomas Backlund <tmb@mageia.org> 2.6.37.2-1.mga1  * Sat Jan 22 2011 Thomas Backlund <tmb@mageia.org> 2.6.37.2-1.mga1
1710  - update to 2.6.37.2  - update to 2.6.37.2
1711  - rediff patch:  - rediff patch:
1712      * CK01: Con Kolivas -ck1 patchset including BFS      * CK01: Con Kolivas -ck1 patchset including BFS
# Line 1869  popd Line 2000  popd
2000              (fixes a regression and improves writeback ~3 times on big files)              (fixes a regression and improves writeback ~3 times on big files)
2001      * NI01: netfilter: fix CONFIG_COMPAT support      * NI01: netfilter: fix CONFIG_COMPAT support
2002    
2003  * Fri Aug 26 2010 Thomas Backlund <tmb@mandriva.org> 2.6.35.4-1mdv  * Fri Aug 27 2010 Thomas Backlund <tmb@mandriva.org> 2.6.35.4-1mdv
2004  - update to 2.6.35.4 (CVE-2010-2803)  - update to 2.6.35.4 (CVE-2010-2803)
2005    * drop merged patches:    * drop merged patches:
2006        AX01, FS20        AX01, FS20

Legend:
Removed from v.389213  
changed lines
  Added in v.445408

  ViewVC Help
Powered by ViewVC 1.1.30