%define _noVersionedDependencies 1 %define _minimum_patches 0 %define _apply_drm_patches 1 %if "%{?_dist_release}" > "vl6" %global kmod kmod %else %global kmod module-init-tools %endif Summary: The Linux kernel (the core of the Linux operating system) Summary(ja): Linux カーネル (Linux オペレーティングシステムの心臓部分) # What parts do we want to build? We must build at least one kernel. # These are the kernels that are built IF the architecture allows it. %define buildup 1 %define buildpae 0 %define builddoc 0 %define buildsource 0 %define with_headers 1 %define with_firmware 0 # Versions of various parts # # Polite request for people who spin their own kernel rpms: # please modify the "release" field in a way that identifies # that the kernel isn't the stock distribution kernel, for example by # adding some text to the end of the version number. # %define sublevel 4 %define patchlevel 110 %define kversion 4.%{sublevel} %define rpmversion 4.%{sublevel}.%{patchlevel} %define release 2%{?_dist_release} %define make_target bzImage %define hdrarch %_target_cpu %define asmarch %_target_cpu %define KVERREL %{rpmversion}-%{release} # groups of related archs %define all_x86 i686 %define all_ppc ppciseries ppcpseries ppc ppc64 # Override generic defaults with per-arch defaults # don't build noarch kernels or headers %ifarch noarch %define builddoc 1 %define buildsource 1 %define buildup 0 %define buildpae 0 %define with_headers 0 %define with_firmware 0 %define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-*.config %endif %ifarch i686 %define buildpae 1 %endif # build x86 headers on i686 build # build noarch package with i686 build %ifarch i686 %define with_headers 1 %define buildsource 1 %define builddoc 1 %define with_firmware 0 %endif %ifarch %{all_x86} %define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-i686*.config %define image_install_path boot %define hdrarch i386 %define asmarch x86 %endif %ifarch x86_64 %define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-x86_64*.config %define image_install_path boot %define asmarch x86 %endif %ifarch ppc64 %define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-ppc64*.config %define image_install_path boot %define make_target bzImage zImage.stub %define hdrarch powerpc %define asmarch powerpc %endif %ifarch ppc64iseries %define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-ppc64*.config %define image_install_path boot %define make_target bzImage %endif %ifarch sparc %define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-sparc.config %endif %ifarch sparc64 %define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-sparc64*.config %define asmarch sparc %endif %ifarch ppc %define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-ppc*.config %define image_install_path boot %define make_target vmlinux %define hdrarch powerpc %define asmarch powerpc %endif %ifarch ia64 %define all_arch_configs $RPM_SOURCE_DIR/kernel-%{kversion}-ia64.config %define image_install_path boot/efi/EFI/redhat %endif # # Three sets of minimum package version requirements in the form of Conflicts: # to versions below the minimum # # # First the general kernel 2.6 required versions as per # Documentation/Changes # %define kernel_dot_org_conflicts ppp <= 2.3.15, pcmcia-cs <= 3.1.20, isdn4k-utils <= 3.0, mount < 2.10r-5, nfs-utils < 1.0.3, e2fsprogs < 1.29, util-linux < 2.10, jfsutils < 1.0.14, reiserfsprogs < 3.6.3, xfsprogs < 2.1.0, procps < 2.0.9, oprofile < 0.5.3 # # Then a series of requirements that are distribution specific, either # because we add patches for something, or the older versions have # problems with the newer kernel or lack certain things that make # integration in the distro harder than needed. # %define package_conflicts cipe < 1.4.5, kudzu <= 0.92, initscripts < 6.51, dev < 3.2-7, iptables < 1.2.5-3, bcm5820 < 1.81, nvidia-rh72 <= 1.0 ipw2200-firmware < 2.3 selinux-policy-targeted < 1.23.16-1 # # Several packages had bugs in them that became obvious when the NPTL # threading code got integrated. # %define nptl_conflicts SysVinit < 2.84-13, pam < 0.75-48, vixie-cron < 3.0.1-73, privoxy < 3.0.0-8, spamassassin < 2.44-4.8.x, cups < 1.1.17-13 # # We moved the drm include files into kernel-headers, make sure there's # a recent enough libdrm-devel on the system that doesn't have those. # %define kernel_headers_conflicts libdrm-devel < 2.4.0-4 # # Packages that need to be installed before the kernel is, because the %post # scripts use them. # %define kernel_prereq fileutils, %{kmod}, initscripts >= 8.80, mkinitrd >= 6.0.93, linux-firmware >= 20110601-1 Name: kernel Group: System Environment/Kernel License: GPLv2 Version: %{rpmversion} Release: %{release} ExclusiveArch: noarch i686 x86_64 %{all_ppc} ExclusiveOS: Linux Provides: kernel = %{rpmversion} Provides: kernel26 = %{rpmversion} Provides: kernel-drm = 4.3.0 Provides: kernel-drm-nouveau = 16 Provides: kernel-%{_target_cpu} = %{rpmversion}-%{release} Provides: alsa-driver = 1.0.20 Requires(pre): %{kernel_prereq} %if "%{_dist_release}" >= "vl7" Requires(pre): mkinitrd >= 6.0.93-22 %endif Conflicts: %{kernel_dot_org_conflicts} Conflicts: %{package_conflicts} Conflicts: %{nptl_conflicts} # We can't let RPM do the dependencies automatic because it'll then pick up # a correct but undesirable perl dependency from the module headers which # isn't required for the kernel proper to function AutoReqProv: no # # List the packages used during the kernel build # BuildRequires: %{kmod} BuildRequires: patch >= 2.5.4, bash >= 2.03, tar BuildRequires: coreutils BuildRequires: bzip2, gzip, xz BuildRequires: xz-lzma-compat BuildRequires: findutils, m4, perl, make >= 3.78, gnupg, diffutils BuildRequires: net-tools BuildRequires: gcc >= 3.3.5, binutils >= 2.15 BuildRequires: bc BuildRequires: openssl-devel Vendor: Project Vine Distribution: Vine Linux Packager: daisuke, shaolin, iwamoto, Takemikaduchi Source0: ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-%{kversion}.tar.xz Source10: COPYING.modules Source11: genkey Source21: kernel-%{kversion}-i686.config Source22: kernel-%{kversion}-i686-pae.config Source23: kernel-%{kversion}-x86_64.config Source32: kernel-%{kversion}-ppc.config # Source 100 - 500 for Vine Linux # fb boot logo Source100: logo_vine_clut224.ppm # # Patches 0 through 100 are meant for core subsystem upgrades # %if %{patchlevel} Patch1: patch-%{kversion}.%{patchlevel}.xz %endif # rc # Patch2: patch-4.4.74-rc1.xz # Patch3: patch-4.4.74-rc1_revert_vma_is_stack_for_task.patch # Patches 100 through 500 are meant for architecture patches # 200 - 299 x86(-64) # atom errata # Patch280: linux-2.6-x86-workaround-failures-on-intel-atom.patch # 300 - 399 ppc(64) Patch350: linux-2.6.23-windtunnel-printk.patch # # Patches 800 through 899 are reserved for bugfixes to the core system # and patches related to how RPMs are build # Patch800: linux-2.6-build-nonintconfig.patch # # Patches 1000 to 5000 are reserved for bugfixes to drivers and filesystems # # NIC driver updates Patch1394: linux-2.6-zd1211rw-gw-us54gxs.patch # tg3 add new id (5778[26]) Patch1430: linux-3.9.2-tg3-support-newid.patch # e1000e update Patch1460: linux-4.4.52_update_e1000e_3.3.5.3.patch.xz # fmv-j182a Patch1470: linux-4.4_fix_fmvj18x_cs.patch # Misc bits. Patch1610: linux-2.6.23-atkbd-dell-multimedia.patch Patch1630: linux-2.6.23-module_version.patch Patch1650: linux-3.8-input-kill-stupid-messages.patch Patch1770: linux-2.6-valid-ether-addr.patch Patch1850: silence-fbcon-logo.patch Patch1890: linux-2.6.35-mmc-sdhci-update.patch Patch1900: linux-2.6.35-quirk-lenovo-itpm.patch # initial MBA Mid2011 hacky support Patch1910: linux-4.4-macbookair_middle2011_fixedmode_hackyhack.patch # pt1 fix Patch1920: linux-3.7.1-pt1fix.patch # IDE Patch2010: linux-3.2-ide-piix-prefer-ata_piix.patch # SCSI Patch2301: linux-2.6.23-VMWare5-fix-LSI_emulation.patch Patch2504: linux-2.6-at76.patch # DRM # drm update from ubuntu maverick kernel Patch2700: linux-2.6.35-drm-update.patch # ignore invalid EDID extensions # https://bugs.freedesktop.org/show_bug.cgi?id=31154 Patch2710: linux-2.6-drm-ignore-invalid-EDID-extensions.patch # realtek codecs Patch3000: linux-4.4.103_update_realtek_codec_headers.patch Patch3001: linux-4.4.109_update_realtek_codec_code.patch.xz # # External drivers that are about to get accepted upstream # # # 6000 to 10000 is for Vine Linux # # aufs4 %define aufs_version 4.4-20160615 Patch6100: aufs%{aufs_version}.patch Source6100: aufs%{aufs_version}.tar.xz # # TuxOnIce (formerly suspend2) patch %define tuxonice_version 4.4.23-2016-04-21 Patch9000: tuxonice-for-linux-%{tuxonice_version}.patch.xz Patch9001: 0001-toi-4.1-attempt-to-fix-compiling-without-TOI.patch # # 10000 to 20000 is for stuff that has to come last due to the # amount of drivers they touch. But only these should go here. # Not patches you're too lazy for to put in the proper place. # Patch10000: linux-3.18-LINUX_COMPILER-LANG_C.patch Patch10020: linux-4.11_menuconfig_Makefile.patch # Security fix patches # END OF PATCH DEFINITIONS BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root %description The kernel package contains the Linux kernel (vmlinuz), the core of any Linux operating system. The kernel handles the basic functions of the operating system: memory allocation, process allocation, device input and output, etc. %description -l ja kernel パッケージには、Linux オペレーティングシステムの心臓部分とも いえる Linux カーネル (vmlinuz) が含まれています。 カーネルは,メモリ管理,プロセス管理,デバイスの入出力等,オペレーティング システムの基本的な部分を司ります。 %package devel Summary: Development package for building kernel modules to match the kernel. Summary(ja): 特定のバージョンのカーネル用のモジュールを構築するための開発パッケージ Group: System Environment/Kernel AutoReqProv: no Provides: kernel26-devel-%{_target_cpu} = %{rpmversion}-%{release} %description devel This package provides kernel headers and makefiles sufficient to build modules against the kernel package. ### kernel-source %package source Summary: The source code for the Linux kernel. Summary(ja): Linux カーネルのソースコード Group: Development/Libraries BuildArch: noarch Requires(pre): fileutils Requires: make >= 3.78 Requires: gcc >= 3.2 Requires: binutils # documentations Requires: kernel-doc = %{rpmversion}-%{release} # for menuconfig Requires: ncurses-devel readline-devel # for gconfig #Requires: gtk2-devel # for xconfig #Requires: qt-devel %description source The kernel-source package contains the source code files for the Linux kernel. The source files can be used to build a custom kernel that is smaller due only including drivers for your particular hardware, if you are so inclined (and you know what you're doing). The customisation guide in the documentation describes in detail how to do this. This package is neither needed nor usable for building external kernel modules for linking into the default kernel. If you use "gconfig" to configure the kernel, install gtk2-devel package. If you use "xconfig" to configure the kernel, install qt-devel package. %description source -l ja kernel-source パッケージには Linux カーネルのソースコードが含まれて います.カーネルのソースコードは多くの C プログラムの作成に必要です. カーネルのソースコードに定義されている制限に依存することがあるからです. このソースコードを使って,あなたのシステム向けにチューンアップした カスタムカーネルを作成することもできます. "gconfig" をつかってカーネルのコンフィグレーションを行う場合は、gtk2-devel パッケージをインストールしてください。 "xconfig" をつかってカーネルのコンフィグレーションを行う場合は、qt-devel パッケージをインストールしてください。 ### kernel-doc %package doc Summary: Various documentation bits found in the kernel source. Summary(ja): カーネルソース内のさまざまなドキュメント群 Group: Applications/Documentation BuildArch: noarch %description doc This package contains documentation files from the kernel source. Various bits of information about the Linux kernel and the device drivers shipped with it are documented in these files. You'll want to install this package if you need a reference to the options that can be passed to Linux kernel modules at load time. %description doc -l ja このパッケージにはカーネルソースに含まれているドキュメントが 収められています.Linux カーネルやデバイスドライバに関する様々な 情報がこのドキュメントには記されています. Linux カーネルモジュールを読み込む際の引数を調べたい場合等, このパッケージをインストールすると良いでしょう. ### kernel-headers %package headers Summary: Header files for the Linux kernel for use by glibc Summary(ja): Linux カーネルのヘッダファイル Group: Development/System Obsoletes: glibc-kernheaders Provides: glibc-kernheaders = 3.0-46 Conflicts: %{kernel_headers_conflicts} %description headers Kernel-headers includes the C header files that specify the interface between the Linux kernel and userspace libraries and programs. The header files define structures and constants that are needed for building most standard programs and are also needed for rebuilding the glibc package. %description headers -l ja kernel-headers パッケージには、Linux カーネルとユーザスペースプログラムや ライブラリとの間のインタフェースを規定する C ヘッダファイルが収録されて います。ヘッダファイルではデータ構造や定数値が定義されており、多くの プログラムをコンパイルする際に必要となります。また、glibc パッケージを リビルドする際にも必要となるものです。 %package firmware Summary: Firmware files used by the Linux kernel Summary(ja): Linux kernel で使用されているファームウェア Group: Development/System License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted BuildArch: noarch %description firmware Kernel-firmware includes firmware files required for some devices to operate. %description firmware -l ja Kernel-firmware にはいくつかのデバイスを利用するために必要なファームウェアファイルが 含まれています。 %package pae Summary: The Linux kernel compiled for PAE capable machines. Summary(ja): PAE 対応マシン用にコンパイルされた Linux カーネル Group: System Environment/Kernel Provides: kernel = %{rpmversion} Provides: kernel26 = %{rpmversion} Provides: kernel-drm = 4.3.0 Provides: kernel-%{_target_cpu} = %{rpmversion}-%{release}pae Provides: alsa-driver = 1.0.20 Requires(pre): %{kernel_prereq} Conflicts: %{kernel_dot_org_conflicts} Conflicts: %{package_conflicts} Conflicts: %{nptl_conflicts} # We can't let RPM do the dependencies automatic because it'll then pick up # a correct but undesirable perl dependency from the module headers which # isn't required for the kernel proper to function AutoReqProv: no %description pae This package includes a version of the Linux kernel with support for up to 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE). The non-PAE kernel can only address up to 4GB of memory. Install the kernel-pae package if your machine has more than 4GB of memory. %description pae -l ja このパッケージには 64GB までのメモリをサポートする Linux カーネルが収められて います.このカーネルを利用するためには PAE 対応の CPU が必要です。 あなたのマシンが 4GB 以上のメモリを搭載している場合は kernel-pae パッケージを インストールしてください. %package pae-devel Summary: Development package for building kernel modules to match the PAE capable kernel. Summary(ja): 特定のバージョンのPAE対応カーネル用のモジュールを構築するための開発パッケージ Group: System Environment/Kernel Provides: kernel-pae-devel-%{_target_cpu} = %{rpmversion}-%{release} Provides: kernel-devel-%{_target_cpu} = %{rpmversion}-%{release}pae Provides: kernel-devel = %{rpmversion}-%{release}pae Provides: kernel26-devel = %{rpmversion}-%{release}pae AutoReqProv: no %description pae-devel This package provides kernel headers and makefiles sufficient to build modules against the PAE capable kernel package. %prep %setup -q -n %{name}-%{version} -c cd linux-%{kversion} # # Patches 0 through 100 are meant for core subsystem upgrades # %if %{patchlevel} %patch1 -p1 %endif # rc # %patch2 -p1 # %patch3 -p1 # # Patches to back out # # # Architecture patches # # # x86(-64) # # %patch280 -p1 # # ppc(64) # %patch350 -p1 # # ia64 # # # sparc/sparc64 # # # Patches 500 through 1000 are reserved for bugfixes to the core system # and patches related to how RPMs are build # # This patch adds a "make nonint_oldconfig" which is non-interactive and # also gives a list of missing options at the end. Useful for automated # builds (as used in the buildsystem). ##VINE## %patch800 -p1 # # Patches 1000 to 5000 are reserved for bugfixes to drivers and filesystems # # # Make /dev/mem a need-to-know function # # # SCSI Bits. # # NIC driver fixes. # add support PLANEX GW-US54GXS ##VINE## %patch1394 -p1 # tg3 %patch1430 -p1 # e1000e %patch1460 -p1 # fmv-j182a %patch1470 -p1 -b .fmvj18x_cs # Misc fixes # Make multimedia buttons on Dell Inspiron 8200 work. %patch1610 -p1 # Add missing MODULE_VERSION tags to some modules. ##VINE## %patch1630 -p1 # The input layer spews crap no-one cares about. %patch1650 -p1 # %patch1770 -p1 # dont show fbcon logo on quiet mode %patch1850 -p1 # add quirk for ricoh mmc (e823) # http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-maverick.git;a=commit;h=be04c161614e57f31deae7505afcdec220a7dd1f ##VINE## %patch1880 -p1 # update sdhci driver # add support ricoh mmc host controller (843/e823/e822) ##VINE## %patch1890 -p1 # add quirk for Lenove's TPM device to autodetect # https://lkml.org/lkml/2011/2/15/605 ##VINE## %patch1900 -p1 # initial MBA Mid2011 hacky support %patch1910 -p1 # pt1fix %patch1920 -p1 # IDE # prefer ata_piix driver on ICH4+ chipset instead of IDE/piix %patch2010 -p1 # 3w-9xxx update (2.26.02.008) %patch2301 -p1 %patch2504 -p1 # drm fixes %if %{_apply_drm_patches} ##VINE## %patch2700 -p1 ##VINE## %patch2710 -p1 %endif # realtek codecs %patch3000 -p1 -b .realtek_codec_header %patch3001 -p1 -b .realtek_codec # v4l # # External drivers that are about to get accepted upstream # # # Patches 5000 to 6000 are reserved for new drivers that are about to # be merged upstream # # # Patches 6000 to 10000 are for Vine Linux # %if !%{_minimum_patches} # aufs %__tar xf %{SOURCE6100} %patch6100 -p1 -b .aufs4 echo "header-y += aufs_type.h" >> include/uapi/linux/Kbuild # tuxonice %patch9000 -p1 %patch9001 -p1 %endif # # final stuff # # do not include localized version string in /proc/version %patch10000 -p1 %patch10020 -p1 # security fix # # misc small stuff to make things compile or otherwise improve performance # # END OF PATCH APPLICATIONS cp %{SOURCE10} Documentation/ # put Vine logo cp -f %{SOURCE100} drivers/video/logo/logo_linux_clut224.ppm # # install extra documentations # # mkdir configs cp -fv %{all_arch_configs} . # now run oldconfig over all the config files for i in *.config do mv $i .config Arch=`head -1 .config | cut -b 3-` make ARCH=$Arch oldnoconfig echo "# $Arch" > configs/$i cat .config >> configs/$i done # make sure the kernel has the sublevel we know it has. This looks weird # but for -pre and -rc versions we need it since we only want to use # the higher version when the final kernel is released. perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{patchlevel}/" Makefile perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -prep/" Makefile # get rid of unwanted files resulting from patch fuzz # find . -name "*.orig" -exec rm -fv {} \; # find . -name "*~" -exec rm -fv {} \; ### ### build ### %build sync cd linux-%{kversion} BuildKernel() { # Pick the right config file for the kernel we're building if [ -n "$1" ] ; then Config=kernel-%{kversion}-%{_target_cpu}-$1.config DevelDir=/usr/src/kernels/%{KVERREL}-$1-%{_target_cpu} DevelLink=/usr/src/kernels/%{KVERREL}$1-%{_target_cpu} else Config=kernel-%{kversion}-%{_target_cpu}.config DevelDir=/usr/src/kernels/%{KVERREL}-%{_target_cpu} DevelLink= fi KernelVer=%{rpmversion}-%{release}$1 echo BUILDING A KERNEL FOR $1 %{_target_cpu}... # make sure EXTRAVERSION says what we want it to say perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}$1/" Makefile # and now to start the build process make -s mrproper cp configs/$Config .config Arch=`head -1 .config | cut -b 3-` echo USING ARCH=$Arch echo CHECKING NEW CONFIG OPTIONS... make ARCH=$Arch listnewconfig | grep -E '^CONFIG_' > .newoptions || true if [ -s .newoptions ]; then echo NEW CONFIG OPTION FOUND. cat .newoptions else echo NO NEW CONFIG OPTION FOUND. fi rm -f .newoptions make -s ARCH=$Arch oldnoconfig > /dev/null make -s ARCH=$Arch %{?_smp_mflags} %{make_target} make -s ARCH=$Arch %{?_smp_mflags} modules || exit 1 #make ARCH=$Arch buildcheck # Start installing the results %if "%{_enable_debug_packages}" == "1" mkdir -p $RPM_BUILD_ROOT/usr/lib/debug/boot %endif mkdir -p $RPM_BUILD_ROOT/%{image_install_path} install -m 644 .config $RPM_BUILD_ROOT/boot/config-$KernelVer install -m 644 System.map $RPM_BUILD_ROOT/boot/System.map-$KernelVer %ifarch ppc cp vmlinux $RPM_BUILD_ROOT/%{image_install_path}/vmlinuz-$KernelVer %else cp arch/$Arch/boot/bzImage $RPM_BUILD_ROOT/%{image_install_path}/vmlinuz-$KernelVer %endif if [ -f arch/$Arch/boot/zImage.stub ]; then cp arch/$Arch/boot/zImage.stub $RPM_BUILD_ROOT/%{image_install_path}/zImage.stub-$KernelVer || : fi mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer make -s ARCH=$Arch INSTALL_MOD_PATH=$RPM_BUILD_ROOT modules_install KERNELRELEASE=$KernelVer mod-fw= cp modules.{order,builtin} $RPM_BUILD_ROOT/lib/modules/$KernelVer/ # And save the headers/makefiles etc for building modules against # # This all looks scary, but the end result is supposed to be: # * all arch relevant include/ files # * all Makefile/Kconfig files # * all script/ files rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/source mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build (cd $RPM_BUILD_ROOT/lib/modules/$KernelVer ; ln -s build source) # dirs for additional modules per module-init-tools, kbuild/modules.txt mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/extra mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/updates # first copy everything cp --parents `find -type f -name "Makefile*" -o -name "Kconfig*"` $RPM_BUILD_ROOT/lib/modules/$KernelVer/build cp Module.symvers $RPM_BUILD_ROOT/lib/modules/$KernelVer/build # then drop all but the needed Makefiles/Kconfig files rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Documentation rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts rm -rf $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include cp .config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build cp -a scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build if [ -d arch/%{_arch}/scripts ]; then cp -a arch/%{_arch}/scripts $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch} || : fi if [ -f arch/%{_arch}/*lds ]; then cp -a arch/%{_arch}/*lds $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/arch/%{_arch}/ || : fi rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o %ifarch ppc if [ -f arch/powerpc/lib/crtsavres.S -a -f arch/powerpc/lib/crtsavres.o ] then cp -a --parents arch/powerpc/lib/crtsavres.[So] $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ fi %endif if [ -d arch/%{asmarch}/include ]; then cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ fi cp -a include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include # Make sure the Makefile and version.h have a matching timestamp so that # external modules can be built touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/Makefile \ $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/generated/uapi/linux/version.h touch -r $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/linux/autoconf.h # Copy .config to include/config/auto.conf so "make prepare" is unnecessary. cp $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/.config $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include/config/auto.conf if test -s vmlinux.id; then cp vmlinux.id $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/vmlinux.id else echo >&2 "*** WARNING *** no vmlinux build ID! ***" fi # # save the vmlinux file for kernel debugging into the kernel-debuginfo rpm # %if "%{_enable_debug_packages}" == "1" mkdir -p $RPM_BUILD_ROOT/usr/lib/debug/lib/modules/$KernelVer cp vmlinux $RPM_BUILD_ROOT/usr/lib/debug/lib/modules/$KernelVer %endif # mark modules executable so that strip-to-file can strip them find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f >modnames xargs --no-run-if-empty chmod u+x < modnames # detect missing or incorrect license tags for i in `find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" ` do echo -n "$i " /sbin/modinfo -l $i >> modinfo done cat modinfo |\ grep -v "^GPL" | grep -v "^Dual BSD/GPL" |\ grep -v "^Dual MPL/GPL" |\ grep -v "^GPL and additional rights" |\ grep -v "^GPL v2" && exit 1 rm -f modinfo # remove files that will be auto generated by depmod at rpm -i time for i in alias alias.bin builtin.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap devname softdep do rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i done # Move the devel headers out of the root file system mkdir -p $RPM_BUILD_ROOT/usr/src/kernels mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir ln -sf ../../..$DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build [ -z "$DevelLink" ] || ln -sf `basename $DevelDir` $RPM_BUILD_ROOT/$DevelLink } ### # DO it... ### # prepare directories rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/boot %if %{buildup} BuildKernel %endif %if %{buildpae} BuildKernel pae %endif ### ### install ### %install cd linux-%{kversion} # build documentation package %if %{builddoc} mkdir -p $RPM_BUILD_ROOT%{_docdir}/kernel-doc-%{kversion}/Documentation # sometimes non-world-readable files sneak into the kernel source tree chmod -R a+r * # copy the source over tar cf - Documentation | tar xf - -C $RPM_BUILD_ROOT%{_docdir}/kernel-doc-%{kversion} %endif # build source package %if %{buildsource} mkdir -p $RPM_BUILD_ROOT%{_prefix}/src/linux-%{kversion} sync make -s mrproper sync tar cf - . | tar xf - -C $RPM_BUILD_ROOT%{_prefix}/src/linux-%{kversion} rm -rf $RPM_BUILD_ROOT%{_prefix}/src/linux-%{kversion}/Documentation ln -sf %{_docdir}/kernel-doc-%{kversion}/Documentation $RPM_BUILD_ROOT%{_prefix}/src/linux-%{kversion}/ sync # rm -f $RPM_BUILD_ROOT%{_prefix}/src/linux-%{kversion}/arch/x86/tools/relocs # set the EXTRAVERSION to custom, so that people who follow a kernel building howto # don't accidentally overwrite their currently working moduleset and hose their system perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}custom/" $RPM_BUILD_ROOT/usr/src/linux-%{kversion}/Makefile install -m 644 %{SOURCE10} $RPM_BUILD_ROOT/usr/src/linux-%{kversion} %endif %if %{with_headers} # Install kernel headers make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install # Do headers_check but don't die if it fails. make ARCH=%{hdrarch} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_check \ > hdrwarnings.txt || : if grep -q exist hdrwarnings.txt; then sed s:^$RPM_BUILD_ROOT/usr/include/:: hdrwarnings.txt # Temporarily cause a build failure if header inconsistencies. # exit 1 fi find $RPM_BUILD_ROOT/usr/include \ \( -name .install -o -name .check -o \ -name ..install.cmd -o -name ..check.cmd \) | xargs rm -f # glibc provides scsi headers for itself, for now rm -rf $RPM_BUILD_ROOT/usr/include/scsi rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h rm -f $RPM_BUILD_ROOT/usr/include/asm*/io.h rm -f $RPM_BUILD_ROOT/usr/include/asm*/irq.h %endif %if %{with_firmware} make INSTALL_FW_PATH=$RPM_BUILD_ROOT/lib/firmware firmware_install %endif sync ### ### clean ### %clean rm -rf $RPM_BUILD_ROOT ### ### scripts ### # load the loop module for upgrades...in case the old modules get removed we have # loopback in the kernel so that mkinitrd will work. %pre /sbin/modprobe loop 2> /dev/null > /dev/null || : exit 0 %pre pae /sbin/modprobe loop 2> /dev/null > /dev/null || : exit 0 %post [ ! -x /usr/sbin/module_upgrade ] || /usr/sbin/module_upgrade [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL} %ifarch ppc for MODCONFFILE in /etc/modprobe.d/modprobe.conf.dist /etc/modprobe.conf /etc/modprobe.d/modprobe.conf do if [ -f "$MODCONFFILE" ]; then TEMPFILE=`/bin/mktemp -q /tmp/modconffile.XXXXXX` sed -e 's/alias sound snd-powermac$//' $MODCONFFILE > $TEMPFILE cat $TEMPFILE > $MODCONFFILE rm -f $TEMPFILE fi done %endif cd /boot # vmlinuz symlinks to new default kernel ln -sf vmlinuz-%{KVERREL} vmlinuz %ifarch ppc ln -sf vmlinuz-%{KVERREL} vmlinux %endif ln -sf System.map-%{KVERREL} System.map ln -sf initrd-%{KVERREL}.img initrd.img # vmlinuz.old symlink to current running kernel current=`uname -r` if [ ! -f vmlinuz-${current} ]; then ln -sf vmlinuz-%{KVERREL} vmlinuz.old %ifarch ppc ln -sf vmlinuz-%{KVERREL} vmlinux.old %endif ln -sf System.map-%{KVERREL} System.map.old ln -sf initrd-%{KVERREL}.img initrd.old.img else ln -sf vmlinuz-${current} vmlinuz.old %ifarch ppc ln -sf vmlinuz-${current} vmlinux.old %endif ln -sf System.map-${current} System.map.old ln -sf initrd-${current}.img initrd.old.img fi [ -x /sbin/mkkerneldoth ] && /sbin/mkkerneldoth depmod -a -F /boot/System.map-%{KVERREL} %{KVERREL} # if preffered bootloader is LILO, execute lilo. %ifarch i586 i686 if [ -f /etc/sysconfig/bootloader ]; then source /etc/sysconfig/bootloader if [ "$BOOTLOADER" = "lilo" ]; then if [ -x /sbin/lilo -a -f /etc/lilo.conf ]; then /sbin/lilo > /dev/null exit 0 fi fi fi %endif # update grub/menu.lst GRUB_MENULST="/boot/grub/menu.lst" if [ -f $GRUB_MENULST ]; then if ( grep -q "resume2=" $GRUB_MENULST ) ; then sed -i.rpmsave 's/resume2=/resume=/g' $GRUB_MENULST fi fi %post pae [ ! -x /usr/sbin/module_upgrade ] || /usr/sbin/module_upgrade [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --mkinitrd --depmod --install %{KVERREL}pae cd /boot # vmlinuz-pae symlinks to new default pae kernel ln -sf vmlinuz-%{KVERREL}pae vmlinuz-pae ln -sf System.map-%{KVERREL}pae System.map-pae ln -sf initrd-%{KVERREL}pae.img initrd-pae.img # vmlinuz.old symlink to current running kernel current=`uname -r` ln -sf vmlinuz-${current} vmlinuz.old ln -sf System.map-${current} System.map.old ln -sf initrd-${current}.img initrd.old.img [ -x /sbin/mkkerneldoth ] && /sbin/mkkerneldoth depmod -a -F /boot/System.map-%{KVERREL}pae %{KVERREL}pae # add PAE kernel entry to grub menu.list GRUB_MENULST="/boot/grub/menu.lst" if [ -f $GRUB_MENULST ]; then if ( ! grep -q "PAE kernel" $GRUB_MENULST ) ; then if [ -x /sbin/grubby ]; then /sbin/grubby --title="Vine Linux (PAE kernel)" \ --add-kernel=/boot/vmlinuz-pae \ --initrd=/boot/initrd-pae.img \ --copy-default \ --config-file=$GRUB_MENULST >& /dev/null ||: fi fi fi # if preffered bootloader is LILO, execute lilo. %ifarch i586 i686 x86_64 if [ -f /etc/sysconfig/bootloader ]; then source /etc/sysconfig/bootloader if [ "$BOOTLOADER" = "lilo" ]; then if [ -x /sbin/lilo -a -f /etc/lilo.conf ]; then /sbin/lilo > /dev/null exit 0 fi fi fi %endif # update grub/menu.lst GRUB_MENULST="/boot/grub/menu.lst" if [ -f $GRUB_MENULST ]; then if ( grep -q "resume2=" $GRUB_MENULST ) ; then sed -i.rpmsave 's/resume2=/resume=/g' $GRUB_MENULST fi fi %preun /sbin/modprobe loop 2> /dev/null > /dev/null || : [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL} %preun pae /sbin/modprobe loop 2> /dev/null > /dev/null || : [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove %{KVERREL}pae ### ### file lists ### %if %{with_headers} %files headers %defattr(-,root,root) /usr/include/* %endif %if %{with_firmware} %files firmware %defattr(-,root,root) /lib/firmware/* %endif %if %{buildup} %files %defattr(-,root,root) /%{image_install_path}/*-%{KVERREL} /boot/System.map-%{KVERREL} /boot/config-%{KVERREL} %dir /lib/modules/%{KVERREL} /lib/modules/%{KVERREL}/modules.* /lib/modules/%{KVERREL}/kernel /lib/modules/%{KVERREL}/build /lib/modules/%{KVERREL}/source %files devel %defattr(-,root,root) %verify(not mtime) /usr/src/kernels/%{KVERREL}-%{_target_cpu} %endif %if %{buildpae} %files pae %defattr(-,root,root) /%{image_install_path}/*-%{KVERREL}pae /boot/System.map-%{KVERREL}pae /boot/config-%{KVERREL}pae %dir /lib/modules/%{KVERREL}pae /lib/modules/%{KVERREL}pae/modules.* /lib/modules/%{KVERREL}pae/kernel /lib/modules/%{KVERREL}pae/build /lib/modules/%{KVERREL}pae/source %files pae-devel %defattr(-,root,root) %verify(not mtime) /usr/src/kernels/%{KVERREL}-pae-%{_target_cpu} /usr/src/kernels/%{KVERREL}pae-%{_target_cpu} %endif # only some architecture builds need kernel-source %if %{buildsource} %files source %defattr(-,root,root) %{_prefix}/src/linux-%{kversion} %dir %{_prefix}/src/linux-%{kversion} %endif # only some architecture builds need kernel-doc %if %{builddoc} %files doc %defattr(-,root,root) %{_datadir}/doc/kernel-doc-%{kversion}/Documentation/* %dir %{_datadir}/doc/kernel-doc-%{kversion}/Documentation %dir %{_datadir}/doc/kernel-doc-%{kversion} %endif %changelog %changelog * Sun Jan 7 2018 Satoshi IWAMOTO 4.4.110-2 - update x86_64 config (explicitly CONFIG_PAGE_TABLE_ISOLATION=y) - add patch10020 * Sat Jan 6 2018 Satoshi IWAMOTO 4.4.110-1 - update to 4.4.110 * Thu Jan 4 2018 Satoshi IWAMOTO 4.4.109-1 - update to 4.4.109 - update patch3001 (based on 4.14.11) * Tue Dec 19 2017 Satoshi IWAMOTO 4.4.106-1 - update to 4.4.106 * Mon Dec 11 2017 Satoshi IWAMOTO 4.4.105-1 - update to 4.4.105 * Wed Dec 6 2017 Satoshi IWAMOTO 4.4.104-1 - update to 4.4.104 * Wed Dec 6 2017 Satoshi IWAMOTO 4.4.103-1 - update to 4.4.103 - separate patch3000(header patch) and patch3001(code patch) * Tue Nov 28 2017 Satoshi IWAMOTO 4.4.102-1 - update to 4.4.102 * Wed Nov 22 2017 Satoshi IWAMOTO 4.4.100-1 - update to 4.4.100 - update Patch3000 * Mon Nov 20 2017 Satoshi IWAMOTO 4.4.99-1 - update to 4.4.99 * Fri Nov 10 2017 Satoshi IWAMOTO 4.4.97-1 - update to 4.4.97 * Mon Nov 6 2017 Satoshi IWAMOTO 4.4.96-1 - update to 4.4.96 - update Patch3000 * Wed Oct 25 2017 Satoshi IWAMOTO 4.4.94-1 - update to 4.4.94 - remove too old changelog (kernel 2.x) * Fri Oct 13 2017 Satoshi IWAMOTO 4.4.92-1 - update to 4.4.92 * Thu Sep 14 2017 Satoshi IWAMOTO 4.4.88-1 - update to 4.4.88 * Fri Sep 8 2017 Satoshi IWAMOTO 4.4.87-1 - update to 4.4.87 * Sun Sep 3 2017 Satoshi IWAMOTO 4.4.86-1 - update to 4.4.86 * Thu Aug 17 2017 Satoshi IWAMOTO 4.4.83-1 - update to 4.4.83 * Wed Aug 16 2017 Satoshi IWAMOTO 4.4.82-1 - update to 4.4.82 * Tue Aug 8 2017 Satoshi IWAMOTO 4.4.80-1 - update to 4.4.80 * Mon Jul 31 2017 Satoshi IWAMOTO 4.4.79-1 - update to 4.4.79 * Tue Jul 25 2017 Satoshi IWAMOTO 4.4.78-2 - add patch3000 to update realtek codec (ALC1220 etc) * Mon Jul 24 2017 Satoshi IWAMOTO 4.4.78-1 - update to 4.4.78 * Tue Jul 18 2017 Satoshi IWAMOTO 4.4.77-1 - update to 4.4.77 * Sun Jul 2 2017 Satoshi IWAMOTO 4.4.75-1 - update to 4.4.75 - enable CONFIG_BRCMFMAC_PCIE in x86_64 config (already enabled in i686/i686pae configs) * Tue Jun 27 2017 Satoshi IWAMOTO 4.4.74-1 - update to 4.4.74 with security fixes * Wed Jun 21 2017 Satoshi IWAMOTO 4.4.73-2 - for testing (not for release) - update to 4.4.73 with security fixes (patch level = 4.4.74-rc1) * Mon Jun 12 2017 Satoshi IWAMOTO 4.4.71-1 - update to 4.4.71 with security fixes - add Patch1470 for fix fmvj18x read MACID (Thanks to Tanaka-san) * Mon May 29 2017 Satoshi IWAMOTO 4.4.70-1 - update to 4.4.70 with security fixes * Fri Apr 28 2017 Satoshi IWAMOTO 4.4.64-1 - update to 4.4.64 with security fixes * Thu Apr 20 2017 Satoshi IWAMOTO 4.4.62-1 - update to 4.4.62 with security fixes * Tue Mar 21 2017 Satoshi IWAMOTO 4.4.55-1 - update to 4.4.55 * Tue Mar 7 2017 Satoshi IWAMOTO 4.4.52-2 - update e1000e driver to 3.3.5.3 * Sun Feb 26 2017 Satoshi IWAMOTO 4.4.52-1 - update to 4.4.52 with security fix * Sat Feb 18 2017 Satoshi IWAMOTO 4.4.49-1 - update to 4.4.49 * Sat Jan 21 2017 Satoshi IWAMOTO 4.4.44-1 - update to 4.4.44 * Wed Jan 11 2017 Satoshi IWAMOTO 4.4.41-1 - update to 4.4.41 * Mon Dec 19 2016 Satoshi IWAMOTO 4.4.39-1 - update to 4.4.39 * Sat Dec 3 2016 Satoshi IWAMOTO 4.4.36-1 - update to 4.4.36 * Fri Nov 18 2016 Satoshi IWAMOTO 4.4.32-1 - update to 4.4.32 * Tue Oct 11 2016 Satoshi IWAMOTO 4.4.24-1 - update to 4.4.24 * Wed Oct 5 2016 Satoshi IWAMOTO 4.4.23-1 - update to 4.4.23 - modify tuxonice patch to fit 4.4.23 * Sat Oct 1 2016 Satoshi IWAMOTO 4.4.22-2 - update config (added AMD CPU microcode) * Sat Oct 1 2016 Satoshi IWAMOTO 4.4.22-1.1 - for test - update x86_64 config (added AMD CPU microcode) * Wed Sep 28 2016 Satoshi IWAMOTO 4.4.22-1 - update to 4.4.22 * Fri Sep 16 2016 Satoshi IWAMOTO 4.4.21-1 - update to 4.4.21 - patch1460 (e1000e 3.3.5) * Thu Sep 15 2016 Satoshi IWAMOTO 4.4.20-1 - update to 4.4.20 * Wed Sep 14 2016 Satoshi IWAMOTO 4.4.19-1 - update to 4.4.19 * Sat Jul 23 2016 Yoji TOYODA 4.4.15-1 - update to 4.4.15 - update Patch1460 (linux-4.4.13_update_e1000e_3.3.4.patch) - update Patch1850 (silence-fbcon-logo.patch) - update Patch1910 (linux-4.4-macbookair_middle2011_fixedmode_hackyhack.patch) - add Patch1920 (linux-3.7.1-pt1fix.patch) - update Patch6100 (aufs4.4-20160615.patch - add Source6100 (aufs%{aufs_version}.tar.xz) - update Patch9000 (tuxonice-for-linux-4.4.8-2016-04-21.patch) - update Patch9001 (0001-toi-4.1-attempt-to-fix-compiling-without-TOI.patch) - remove Patch11,12,2001,6030,6031 - add BuildRequires: openssl-devel * Sat Jul 23 2016 Yoji TOYODA 3.18.37-3 - add patch12 to fix netfilter * Wed Jul 20 2016 Satoshi IWAMOTO 3.18.37-2 - add patch11 to fix much memory usage - remove patch2xxxx (are comment outed) * Mon Jul 18 2016 Yoji TOYODA 3.18.37-1 - update to 3.18.37 - update Patch1460 (linux-3.18.37_update_e1000e_3.3.4.patch) * Sat Jun 25 2016 Yoji TOYODA 3.18.36-1 - update to 3.18.36 * Wed Jun 15 2016 Yoji TOYODA 3.18.35-1 - update to 3.18.35 * Wed May 25 2016 Yoji TOYODA 3.18.34-1 - update to 3.18.34 - add Patch1460: linux-3.18_update_e1000e_3.3.3.patch.xz * Sun May 22 2016 Yoji TOYODA 3.18.33-1 - update to 3.18.33 - add BuildRequires: bc - update Patch1430 (linux-3.9.2-tg3-support-newid.patch) - update Patch1650 (linux-3.8-input-kill-stupid-messages.patch) - update Patch1910 (linux-3.7-macbookair_middle2011_fixedmode_hackyhack.patch) - update Patch6100 (linux-3.18-aufs3-20160504.patch) - update Patch9000 (tuxonice-for-linux-3.18.31-2016-04-21.patch) - add Patch9001 (0001-toi-3.18-attempt-to-fix-compiling-without-TOI.patch) - add Patch9002 (0002-toi-3.19-attempt-to-fix-TOI-for-32-bit-kernels.patch) - add Patch9003 (0003-toi-3.19-remove-static-qualifier-from-check_image_ke.patch) - update Patch10000 (linux-3.18-LINUX_COMPILER-LANG_C.patch) - remove Patch1440 (linux-3.4.62_support_Lenovo_USB_Ether_dongle.patch) - remove Patch1450 (linux-3.4_add_support_atheros_alx.patch) - remove Patch1460 (linux-3.4_update_e1000e_3.1.0.2.patch.xz) - remove Patch1470 (linux-3.4_fix_fmvj18x_cs.patch) - remove Patch1490 (linux-3.4_update_igb_5.2.17.patch.xz) - remove Patch1830 (linux-2.6-w1-hush-debug.patch) - remove Patch1840 (linux-2.6-defaults-pci_no_msi.patch) - remove Patch1860 (linux-2.6-silence-acpi-blacklist.patch) - remove Patch20000 (linux-3.4.36_CVE-2012-2100.patch) - remove Patch20040 (linux-3.4.x_CVE-2014-8884.patch) - remove Patch20100 (linux-3.4_CVE-2013-7421-1.patch) - remove Patch20101 (linux-3.4_CVE-2013-7421-2.patch) - remove Patch20102 (linux-3.4_CVE-2013-7421-3.patch) - remove Patch20120 (linux-3.4_CVE-2014-8160.patch) - remove Patch20150 (linux-3.4_CVE-2015-0239.patch) - remove Patch20220 (linux-3.4.109_CVE-2015-0272.patch) - remove Patch20230 (linux-3.4.109_CVE-2015-2922.patch) - remove Patch20240 (linux-3.4.109_CVE-2015-5156.patch) - remove Patch20250 (linux-3.4.109_CVE-2015-6252.patch) - remove Patch20260 (linux-3.4.108-CVE-2015-6937.patch) - remove Patch20270 (linux-3.4.x_CVE-2015-8575.patch) - remove Patch20280 (linux-3.4.x_CVE-2015-8569.patch) - remove Patch20290 (linux-3.2-CVE-2015-8543.patch) - remove Patch20300 (linux-3.2-CVE-2015-7550.patch) - remove Patch20310 (linux-3.4.110_CVE-2015-7513.patch) - remove Patch20320 (linux-3.4.110_CVE-2015-8104.patch) - remove Patch20330 (media-usbvision-video-fix-memory-leak-of-alt_max_pkt.patch) - remove Patch20331 (media-usbvision-fix-leak-of-usb_dev-on-failure-paths.patch) - remove Patch20332 (linux-3.4.x-CVE-2015-7833-1.patch) - remove Patch20333 (linux-3.4.x-CVE-2015-7833-2.patch) - remove Patch20340 (linux-3.4.x-CVE-2015-7990.patch) - remove Patch20350 (linux-3.4.x-CVE-2015-7799-1.patch) - remove Patch20351 (linux-3.4.110_CVE-2015-7799-2.patch) - remove Patch20360 (linux-3.4.110_CVE-2015-7446.patch) * Tue Mar 1 2016 Satoshi IWAMOTO 3.4.110-4 - fix changelog typos... * Mon Feb 29 2016 Satoshi IWAMOTO 3.4.110-3 - add Patch20270 for fix CVE-2015-8575 - add Patch20280 for fix CVE-2015-8569 - add Patch20290 for fix CVE-2015-8543 - add Patch20300 for fix CVE-2015-7550 - add Patch20310 for fix CVE-2015-7513 - add Patch20320 for fix CVE-2015-8104 - add Patch20330,20331,20332,20333 for fix CVE-2015-7833-1 - add Patch20340 for CVE-2015-7990 - add Patch20350,20351 for fix CVE-2015-7799 - add Patch20360 for fix CVE-2015-7446 These patches are based on debian's one, Thanks. * Sun Nov 15 2015 Satoshi IWAMOTO 3.4.110-2 - rebuilt * Fri Oct 23 2015 Satoshi IWAMOTO 3.4.110-1 - new upstream release with security fixes - drop unneeded patches (are included in new release) * Sat Oct 10 2015 Satoshi IWAMOTO 3.4.109-3 - add revert patch12,13,14 for fix X crash with radeon these revert will be included in 3.4.110 * Wed Sep 30 2015 Satoshi IWAMOTO 3.4.109-2.4 - update patch14 (fix ?) * Wed Sep 30 2015 Satoshi IWAMOTO 3.4.109-2.3 - drop patch12,13 add again patch14 * Wed Sep 30 2015 Satoshi IWAMOTO 3.4.109-2.2 - for test - drop patch13,14 * Wed Sep 30 2015 Satoshi IWAMOTO 3.4.109-2.1 - for test - add revert patch12,13,14 for fix X crash with radeon E350 * Sat Sep 26 2015 Satoshi IWAMOTO 3.4.109-2 - add Patch20220 for fix CVE-2015-0272 - add Patch20230 for fix CVE-2015-2922 - add Patch20240 for fix CVE-2015-5156 - add Patch20250 for fix CVE-2015-6252 - add Patch20260 for fix CVE-2015-6937 these patches are based on debian, thanks. * Tue Sep 22 2015 Satoshi IWAMOTO 3.4.109-1 - new upstream release with security fixes - drop patch20160,20190,20200,20210 (are included in new release) * Wed Jul 1 2015 Satoshi IWAMOTO 3.4.108-2 - add patch20190 for fix CVE-2015-1805 (pipe iovec) - add patch20200 for fix CVE-2015-3636 (ipv4 ping) - add patch20210 for fix CVE-2015-4167 (udf) - these patches are based on debian, thanks to debian team. * Wed Jun 24 2015 Satoshi IWAMOTO 3.4.108-1 - built for release - update patch6100 (thanks to tomop-san) and change filename * Tue Jun 23 2015 Tomohiro "Tomo-p" KATO 3.4.108-0.1 - new upstream release. - dropped patch20110 (fixed in upstream). - test build. * Mon Apr 20 2015 Satoshi IWAMOTO 3.4.107-0.1 - test release - new upstream release with security fixes - drop patch20020,20050,20060,20080,20090,20130,20140,20170,20180 (are included in new release) * Fri Mar 27 2015 Satoshi IWAMOTO 3.4.106-3 - update igb driver to 5.2.17 * Fri Mar 27 2015 Satoshi IWAMOTO 3.4.106-2 - add patch20100,20101,20102 for fix CVE-2013-7421 - add patch20110 for fix CVE-2014-7822 - add patch20120 for fix CVE-2014-8160 - add patch20130 for fix CVE-2014-9585 - add patch20140 for fix CVE-2014-9683 - add patch20150 for fix CVE-2015-0239 - add patch20160 for fix CVE-2015-1420 - add patch20170 for fix CVE-2015-1421 - add patch20180 for fix CVE-2015-1593 - these patches are based on debian, thanks to debian team. * Mon Feb 9 2015 Satoshi IWAMOTO 3.4.106-1 - new upstream release with security fixes - drop patch20010,20030,20070 (are included in new release) * Sat Jan 17 2015 Satoshi IWAMOTO 3.4.105-3 - add Patch20050 for fix CVE-2013-6885 (AMD 16h 00h-0Fh processors) - add Patch20060 for fix CVE-2014-9419 (X86_32) - add Patch20070 for fix CVE-2014-8133 (16-bit RW GDT instead of LDT) - add Patch20080 for fix CVE-2014-9529 (garbage race condition) - add Patch20090 for fix CVE-2014-9584 (iso) - these patches are from debian, thanks. * Mon Dec 22 2014 Satoshi IWAMOTO 3.4.105-2 - add Patch20010 for fix CVE-2014-9090 (SS segment) - add Patch20020 for fix CVE-2014-7841 (sctp) - add Patch20030 for fix CVE-2014-8369 (kvm iommu map) - add Patch20040 for fix CVE-2014-8884 (ttusb-dec) these patches are from debian, thanks. * Tue Dec 9 2014 Satoshi IWAMOTO 3.4.105-1 - new upstream release with security fixes - drop patch1480 (is included in new release) - update patch6100 (remove *.orig file data) * Wed Oct 1 2014 Satoshi IWAMOTO 3.4.104-1 - new upstream release with security fixes * Sun Sep 14 2014 Satoshi IWAMOTO 3.4.103-3 - update e1000e driver (3.1.0.2) * Sun Aug 24 2014 Satoshi IWAMOTO 3.4.103-2 - add patch1480 for fix rtlwifi fix (Thanks to kudoh-san and debian team) * Sat Aug 16 2014 Satoshi IWAMOTO 3.4.103-1 - new upstream release with security fixes * Fri Aug 8 2014 Satoshi IWAMOTO 3.4.102-1 - new upstream release with security fixes - drop patch810 (reverted by upsteam) * Fri Aug 1 2014 Satoshi IWAMOTO 3.4.101-1 - new upstream release with security fixes * Tue Jul 15 2014 Satoshi IWAMOTO 3.4.98-1 - new upstream release with security fixes * Thu Jul 10 2014 Satoshi IWAMOTO 3.4.97-1 - new upstream release with security fixes * Wed Jul 2 2014 Satoshi IWAMOTO 3.4.96-1 - new upstream release with security fixes - (changelog 3.4.95 is missing) * Sun Jun 22 2014 Satoshi IWAMOTO 3.4.94-3 - add patch810 to fix packet forward issue - update patch1460 (e1000e 3.0.4) again * Sat Jun 21 2014 Satoshi IWAMOTO 3.4.94-2 - revert e1000e update (revert to 2.5.4) * Wed Jun 18 2014 Satoshi IWAMOTO 3.4.94-1 - new upstream release * Thu Jun 12 2014 Satoshi IWAMOTO 3.4.93-1 - new upstream release - drop patch1920 (is included in new release) * Mon Jun 9 2014 Satoshi IWAMOTO 3.4.92-1 - new upstream release - update patch1460 (e1000e 3.0.4) * Mon May 19 2014 Satoshi IWAMOTO 3.4.91-1 - new upstream release * Thu May 8 2014 Satoshi IWAMOTO 3.4.89-1 - new upstream release * Wed Apr 30 2014 Satoshi IWAMOTO 3.4.88-2 - add Patch1470 to fix fmvj18x_cs bug (Thanks to Tanaka-san: [vine-users:082543]) * Mon Apr 28 2014 Satoshi IWAMOTO 3.4.88-1 - new upstream release * Fri Apr 25 2014 Satoshi IWAMOTO 3.4.87-3 - Not for release - add patch11 for 3.4.88 testing * Tue Apr 22 2014 Satoshi IWAMOTO 3.4.87-2 - add patch20010 for fix CVE-2014-2851 (ipv4 ping) * Wed Apr 16 2014 Satoshi IWAMOTO 3.4.87-1 - new upstream release * Sun Apr 6 2014 Satoshi IWAMOTO 3.4.86-1 - new upstream release * Wed Apr 2 2014 Satoshi IWAMOTO 3.4.85-1 - new upstream release * Tue Mar 25 2014 Satoshi IWAMOTO 3.4.84-1 - new upstream release - drop Patch20010 (is included in new release) * Mon Feb 24 2014 Satoshi IWAMOTO 3.4.82-1 - new upstream release * Fri Feb 21 2014 Satoshi IWAMOTO 3.4.81-1 - update to 3.4.81 with security fixes * Mon Feb 17 2014 Satoshi IWAMOTO 3.4.80-1 - update to 3.4.80 with security fixes * Wed Jan 22 2014 Satoshi IWAMOTO 3.4.77-1 - update to 3.4.77 with security fixes - fix changelog typo * Mon Jan 13 2014 Satoshi IWAMOTO 3.4.76-1 - update to 3.4.76 with security fixes * Tue Dec 24 2013 Satoshi IWAMOTO 3.4.75-1 - update to 3.4.75 with security fixes * Mon Dec 16 2013 Satoshi IWAMOTO 3.4.74-1 - update to 3.4.74 with security fixes * Fri Dec 6 2013 Satoshi IWAMOTO 3.4.72-1 - update to 3.4.72 with security fixes * Mon Dec 2 2013 Satoshi IWAMOTO 3.4.71-1 - update to 3.4.71 with security fixes * Fri Nov 22 2013 Satoshi IWAMOTO 3.4.70-1 - update to 3.4.70 with security fixes * Thu Nov 14 2013 Satoshi IWAMOTO 3.4.69-1 - update to 3.4.69 with security fixes * Tue Nov 5 2013 Satoshi IWAMOTO 3.4.68-2 - add patch1460 to update e1000e driver * Mon Nov 4 2013 Satoshi IWAMOTO 3.4.68-1 - update to 3.4.68 with security fixes * Sat Oct 26 2013 Satoshi IWAMOTO 3.4.67-1 - update to 3.4.67 - add patch1440 to support atheros alx driver * Thu Oct 17 2013 Satoshi IWAMOTO 3.4.66-1 - update to 3.4.66 with security fixes * Mon Oct 7 2013 Satoshi IWAMOTO 3.4.65-1 - update to 3.4.65 * Thu Oct 3 2013 Satoshi IWAMOTO 3.4.64-1 - update to 3.4.64 * Thu Sep 26 2013 Satoshi IWAMOTO 3.4.62-2 - add patch1440 to support Lenovo 10/100 USB dongle (BTS:2657) * Sun Sep 15 2013 Satoshi IWAMOTO 3.4.62-1 - update to 3.4.62 * Sat Sep 14 2013 Satoshi IWAMOTO 3.4.61-1 - update to 3.4.61 * Tue Aug 6 2013 Satoshi IWAMOTO 3.4.56-1 - update to 3.4.56 * Sat Jun 29 2013 Satoshi IWAMOTO 3.4.51-1 - update to 3.4.51 * Sun Jun 23 2013 Satoshi IWAMOTO 3.4.50-1 - update to 3.4.50 * Sun Jun 16 2013 Satoshi IWAMOTO 3.4.49-1 - update to 3.4.49 * Wed May 29 2013 Satoshi IWAMOTO 3.4.47-1 - update to 3.4.47 * Wed May 22 2013 Satoshi IWAMOTO 3.4.46-1 - update to 3.4.46 * Mon May 13 2013 Satoshi IWAMOTO 3.4.45-1 - update to 3.4.45 * Thu May 9 2013 Satoshi IWAMOTO 3.4.44-1 - update to 3.4.44 * Sat May 4 2013 Satoshi IWAMOTO 3.4.43-1 - update to 3.4.43 * Sat Apr 27 2013 Satoshi IWAMOTO 3.4.42-1 - update to 3.4.42 * Thu Apr 18 2013 Satoshi IWAMOTO 3.4.41-1 - update to 3.4.41 * Mon Apr 1 2013 Satoshi IWAMOTO 3.4.38-1 - update to 3.4.38 * Sat Mar 23 2013 Satoshi IWAMOTO 3.4.37-1 - update to 3.4.37 * Mon Mar 18 2013 Satoshi IWAMOTO 3.4.36-2 - add patch1920 to add support GC-WB300D BT function - add Patch20000 for fix CVE-2012-2100 - add Patch20010 for fix CVE-2012-5517 * Sat Mar 16 2013 Daisuke SUZUKI 3.4.36-1 - update to 3.4.36 * Fri Mar 08 2013 Daisuke SUZUKI 3.4.35-1 - update to 3.4.35 * Wed Aug 29 2012 Daisuke SUZUKI 3.4.10-1 - update to 3.4.10 * Thu Aug 16 2012 Daisuke SUZUKI 3.4.9-1 - update to 3.4.9 * Fri Aug 10 2012 Daisuke SUZUKI 3.4.8-1 - update to 3.4.8 - enable BMCA and BRCMSMAC(Broadcom SoftMAC driver) * Wed Aug 01 2012 Daisuke SUZUKI 3.4.7-1 - update to 3.4.7 * Fri Jul 27 2012 Daisuke SUZUKI 3.4.6-3 - add patch1430 to support tg3 newer chipsets * Sat Jul 21 2012 Daisuke SUZUKI 3.4.6-2 - add kmod to kernel_prereq (instead of module-init-tools) * Fri Jul 20 2012 Daisuke SUZUKI 3.4.6-1 - update to 3.4.6 * Wed Jul 18 2012 Daisuke SUZUKI 3.4.5-1 - update to 3.4.5 - add xz, kmod, coreutils to BR: - remove module-init-tools, sh-utils from BR: * Wed Jul 04 2012 Daisuke SUZUKI 3.4.4-2 - add modules.{order,builtin} * Sat Jun 23 2012 Daisuke SUZUKI 3.4.4-1 - update to 3.4.4 * Mon Jun 18 2012 Daisuke SUZUKI 3.4.3-1 - update to 3.4.3 - update tuxonice/aufs3 patch * Thu May 03 2012 Daisuke SUZUKI 3.2.16-1 - update to 3.2.16 * Tue Mar 13 2012 Daisuke SUZUKI 3.2.10-1 - update to 3.2.10 * Sat Mar 03 2012 Daisuke SUZUKI 3.2.9-1 - update to 3.2.9 * Tue Feb 21 2012 Daisuke SUZUKI 3.2.7-1 - update to 3.2.7 * Wed Feb 15 2012 Daisuke SUZUKI 3.2.6-2 - update tuxonice patch (github toi-3.2 current) * Tue Feb 14 2012 Daisuke SUZUKI 3.2.6-1 - update to 3.2.6 * Sat Feb 04 2012 Daisuke SUZUKI 3.2.4-1 - update to 3.2.4 * Fri Jan 27 2012 Daisuke SUZUKI 3.2.2-2 - add aufs3 patch - drop unionfs support * Thu Jan 26 2012 Daisuke SUZUKI 3.2.2-1 - update to 3.2.2 * Fri Jan 13 2012 Daisuke SUZUKI 3.2.1-1 - update to 3.2.1 * Sat Jan 07 2012 Daisuke SUZUKI 3.2.0-1 - update to 3.2 - update x86 configs - prereq module-init-tools >= 3.16 * Thu Dec 22 2011 Daisuke SUZUKI 3.1.6-1 - update to 3.1.6 * Tue Nov 29 2011 Daisuke SUZUKI 3.1.4-1 - update to 3.1.4 * Mon Nov 28 2011 Daisuke SUZUKI 3.1.3-1 - update to 3.1.3 - update x86 configs - update tuxonice to current - drop patch1421,1422 * Mon Oct 24 2011 Daisuke SUZUKI 3.0.8-1 - update to 3.0.8 * Mon Oct 24 2011 Daisuke SUZUKI 3.0.7-1 - update to 3.0.7 * Wed Oct 12 2011 Daisuke SUZUKI 3.0.4-4 - update unionfs to 2.5.10 - update configs (enable more drivers and functions) SCHED_AUTOGROUP NL80211_TESTMODE BLK_DEV_RBD SCSI_CXGB4_ISCSI SCSI_BNX2X_FCOE SCSI_ISCI STMMAC_ETH STMMAC_DUAL_MAC PCH_GBE BNA PCMCIA_RAYCS ATH9K_PCI ATH9K_AHB CARL9170 CARL9170_LEDS CARL9170_WPC B43_PHY_N IWLWIFI_DEVICE_SVTOOL RTL8192CE RTL8192SE RTL8192CU RTLWIFI RTL8192C_COMMON WL12XX_MENU WL12XX WL12XX_HT WL12XX_SDIO MWIFIEX MWIFIEX_SDIO USB_NET_CX82310_ETH USB_NET_KALMIA USB_VL600 XEN_NETDEV_BACKEND IR_ENE IR_MCEUSB IR_ITE_CIR IR_FINTEK IR_NUVOTON IR_REDRAT3 IR_STREAMZAP IR_WINBOND_CIR RC_LOOPBACK USBIP_CORE USBIP_VHCI_HCD USBIP_HOST R8187SE RTL8192U RTL8192E R8712U R8712_AP RTS_PSTOR DRM_PSB INTEL_MEI ACERHDF DELL_WMI_AIO HP_ACCEL IDEAPAD_LAPTOP INTEL_IPS FANOTIFY * Sat Sep 17 2011 MATSUBAYASHI Kohji - 3.0.4-3 - add Patch1421 & Patch1422 (based on patches found at http://almostsure.com/mba42/ and fixed a bit) * Fri Sep 16 2011 MATSUBAYASHI Kohji - 3.0.4-2 - add Patch1420 - a hack to support MBA Mid2011 LCD (inspired from: https://bugs.freedesktop.org/show_bug.cgi?id=39533) * Tue Aug 30 2011 Daisuke SUZUKI 3.0.4-1 - update to 3.0.4 * Fri Aug 19 2011 Daisuke SUZUKI - 3.0.3-1 - update to 3.0.3 - udpate configs - build legacy IDE drivers as module - enable new drivers * Mon Aug 15 2011 MATSUBAYASHI Kohji - 3.0.1-3 - add Patch9010 to fix build failure on ppc * Sun Aug 14 2011 MATSUBAYASHI Kohji - 3.0.1-2 - more config updates (enable some staging drivers found on compat-wireless) - TODO: configs - more review & fix needed * Sun Aug 14 2011 MATSUBAYASHI Kohji - 3.0.1-1 - inital attempt for 3.0.1 - disable obsolete/already_merged_into_upstream patches - s/nonint_oldconfig/oldnoconfig/ - tuxonice: current-tuxonice-for-3.0.patch.bz2 (as of Aug. 14, 2011) - unionfs: 2.5.9.2_for_3.0.0-rc4 - fix configs from m to y for the followings: INTEL_IDLE, BT_L2CAP, BT_SCO, LEDS_CLASS