From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,WEIRD_PORT autolearn=no version=3.2.5 From: Sergey V Turchin To: ALT Linux Community general discussions Date: Tue, 18 Aug 2009 14:23:35 +0000 User-Agent: KMail/1.12.0 (Linux/2.6.30-std-def-alt8; KDE/4.3.0; i686; ; ) References: <4A89D238.1070202@fm.com.ua> <200908181413.05730.zerg@altlinux.org> In-Reply-To: <200908181413.05730.zerg@altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1874101.buXVaQ7E6g"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200908181423.35911.zerg@altlinux.org> Subject: Re: [Comm] dist-upgrate to 5.0 problem X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2009 10:22:46 -0000 Archived-At: List-Archive: List-Post: --nextPart1874101.buXVaQ7E6g Content-Type: multipart/mixed; boundary="Boundary-01=_nlriK530QvQd4rT" Content-Transfer-Encoding: 7bit --Boundary-01=_nlriK530QvQd4rT Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: base64 Content-Disposition: inline T24gVHVlc2RheSAxOCBBdWd1c3QgMjAwOSwgU2VyZ2V5IFYgVHVyY2hpbiB3cm90ZToKClsuLi5d Cj4g8M/Q0s/TydTYIM3BztTFys7F0sEg0MHLxdTBIGtlcm5lbC1tb2R1bGVzLW52aWRpYS1zdGQt ZGVmCj4gz8LOz9fJ1Ngg1yA1LjAvYnJhbmNoIC0tINDP1NHOxdTFCj4g8SDV1sUgxMHXzs8g0NLP 08nMIM/Czs/XydTYINMgzMDC2c0g0MXS19nNIM/Czs/XzMXOycXNINHE0sEsIM7PCj4gxcfPINDP y8EgzsUgwtnMzy4K5dPMySDL1M8g2sHIz97F1CDTxcLFINPPwtLB1NggLS0g080uIMHU1MHeCgot LSAKUmVnYXJkcywgU2VyZ2V5LCBBTFQgTGludXggVGVhbSwgaHR0cDovL3d3dy5hbHRsaW51eC5y dQpodHRwOi8vc3Rpbmtmb290Lm9yZzoxMTM3MS9wa3MvbG9va3VwP29wPWdldCZzZWFyY2g9MHgx QzJBM0YwOAo= --Boundary-01=_nlriK530QvQd4rT Content-Type: text/x-rpm-spec; charset="koi8-r"; name="kernel-modules-nvidia.spec" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="kernel-modules-nvidia.spec" %define nvIF_ver_gt() %if "%(rpmvercmp '%1' '%2')" > "0" %define nvIF_ver_gteq() %if "%(rpmvercmp '%1' '%2')" >=3D "0" %define nvIF_ver_lt() %if "%(rpmvercmp '%2' '%1')" > "0" %define nvIF_ver_lteq() %if "%(rpmvercmp '%2' '%1')" >=3D "0" %define module_name nvidia %define module_version 185.18.31 %define module_release alt0.1 %define module_srcver %(echo %module_version | tr -d .) %define legacy1 71.86.11 %define legacy1_src %(echo %legacy1 | tr -d .) %define legacy2 96.43.13 %define legacy2_src %(echo %legacy2 | tr -d .) %define legacy3 173.14.20 %define legacy3_src %(echo %legacy3 | tr -d .) %define upstream_module_name NVIDIA_kernel %define kversion 2.6.27 %define krelease alt16 %define flavour std-def %define module_dir /lib/modules/%kversion-%flavour-%krelease/nVidia %define module_local_dir /lib/modules/nvidia %define module_version_dir /lib/modules/%kversion-%flavour-%krelease/.versi= ons %define nvidia_workdir %_localstatedir/nvidia %define module_ext .ko %nvIF_ver_lt "%kversion" "2.5.0" %define module_ext .o %endif Summary: nVidia video card drivers Name: kernel-modules-%module_name-%flavour Version: %module_version Release: %module_release.132635.16 License: Proprietary Group: System/Kernel and hardware URL: http://www.nvidia.com Packager: Kernel Maintainer Team ExclusiveOS: Linux ExclusiveArch: %ix86 x86_64 BuildRequires(pre): rpm-build-kernel BuildRequires: rpm-utils BuildRequires: kernel-headers-modules-%flavour =3D %kversion-%krelease BuildRequires: kernel-source-%module_name-%module_srcver %if "%legacy1" !=3D "%nil" BuildRequires: kernel-source-%module_name-%legacy1_src %endif %if "%legacy2" !=3D "%nil" BuildRequires: kernel-source-%module_name-%legacy2_src %endif %if "%legacy3" !=3D "%nil" BuildRequires: kernel-source-%module_name-%legacy3_src %endif Provides: kernel-modules-%module_name-%kversion-%flavour-%krelease =3D %v= ersion-%release Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %ver= sion-%release Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %ver= sion-%release Conflicts: modutils < 2.4.27-alt4 Prereq: coreutils Prereq: kernel-image-%flavour =3D %kversion-%krelease Requires(postun): kernel-image-%flavour =3D %kversion-%krelease #Requires: NVIDIA_GLX =3D %version Requires: nvidia_glx_%version %if "%legacy1" !=3D "%nil" Requires: nvidia_glx_%legacy1 %endif %if "%legacy2" !=3D "%nil" Requires: nvidia_glx_%legacy2 %endif %if "%legacy3" !=3D "%nil" Requires: nvidia_glx_%legacy3 %endif Provides: NVIDIA_kernel =3D %version %description nVidia video card drivers that provide 3d and 2d graphics support for XFree= 86 Xserver. %prep %setup -cT for ver in %version %legacy1 %legacy2 %legacy3 do sffx=3D`echo "$ver"| sed -e "s|\.||g"` %__rm -rf kernel-source-%module_name-$sffx tar -jxvf %_usrsrc/kernel/sources/kernel-source-%module_name-$sffx.tar.= bz2 pushd kernel-source-%module_name-$sffx %__rm -f makefile Makefile %__ln_s Makefile.kbuild Makefile popd done %build for ver in %version %legacy1 %legacy2 %legacy3 do sffx=3D`echo "$ver"| sed -e "s|\.||g"` pushd kernel-source-%module_name-$sffx %make_build -C %_usrsrc/linux-%kversion-%flavour modules \ SUBDIRS=3D$PWD TEMP_DIR=3D$PWD/ \ ARCH=3D%base_arch \ SYSSRC=3D%_usrsrc/linux-%kversion-%flavour popd done %install %__mkdir_p %buildroot/%module_dir %__mkdir_p %buildroot/%module_local_dir %__mkdir_p %buildroot/%module_version_dir %__mkdir_p %buildroot/%nvidia_workdir for ver in %version %legacy1 %legacy2 %legacy3 do sffx=3D`echo "$ver"| sed -e "s|\.||g"` pushd kernel-source-%module_name-$sffx %__install -p -m644 %module_name%module_ext %buildroot/%module_local_di= r/%kversion-%flavour-%krelease-$ver popd done echo -n "%version" >%buildroot/%nvidia_workdir/%kversion-%flavour-%krelease ln -s %nvidia_workdir/%kversion-%flavour-%krelease %buildroot/%module_versi= on_dir/%module_name ln -s %module_local_dir/%kversion-%flavour-%krelease-%version %buildroot/%m= odule_dir/%module_name%module_ext %post # switch nvidia driver and libraries if [ -z "$DURING_INSTALL" ]; then if [ "`uname -r`" =3D=3D "%kversion-%flavour-%krelease" ] ; then X11PRESETDRV=3D`which x11presetdrv 2>/dev/null` if [ -n "$X11PRESETDRV" ]; then $X11PRESETDRV ||: else echo "Warning! x11presetdrv program not found!" >&2 fi X11SETUPDRV=3D`which x11setupdrv 2>/dev/null` if [ -n "$X11SETUPDRV" ]; then $X11SETUPDRV ||: [ -x /sbin/post_ldconfig ] && /sbin/post_ldconfig ||: fi fi fi %post_kernel_modules %kversion-%flavour-%krelease %postun if [ -z "$DURING_INSTALL" ]; then if [ "`uname -r`" =3D=3D "%kversion-%flavour-%krelease" ] ; then X11PRESETDRV=3D`which x11presetdrv 2>/dev/null` if [ -n "$X11PRESETDRV" ]; then $X11PRESETDRV ||: else echo "Warning! x11presetdrv program not found!" >&2 fi X11SETUPDRV=3D`which x11setupdrv 2>/dev/null` if [ -n "$X11SETUPDRV" ]; then $X11SETUPDRV ||: [ -x /sbin/post_ldconfig ] && /sbin/post_ldconfig ||: fi fi fi %post_kernel_modules %kversion-%flavour-%krelease %files %defattr(644,root,root,755) %module_dir %module_version_dir/%module_name %module_local_dir/%kversion-%flavour-%krelease-* %config(noreplace) %nvidia_workdir/%kversion-%flavour-%krelease %changelog * Fri Aug 07 2009 Sergey V Turchin 185.18.31-alt= 0.1.132635.16 =2D 185.18.31 173.14.20 96.43.13 71.86.11 * Fri Jun 19 2009 Sergey V Turchin 185.18.14-alt= 0.1.132635.16 =2D new release (185.18.14) * Tue Apr 07 2009 Michail Yakushin 180.44-alt1.13263= 5.16 =2D Build for kernel-image-std-def-2.6.27-alt16. * Thu Apr 02 2009 Sergey V Turchin 180.44-alt1 =2D new release (180.44) * Fri Mar 13 2009 Sergey V Turchin 180.29-alt2 =2D new legacy release (173.14.18) * Thu Mar 12 2009 Sergey V Turchin 180.29-alt1 =2D revert to stable 180.29 * Wed Mar 11 2009 Sergey V Turchin 180.37-alt1 =2D new beta (180.37) * Tue Mar 10 2009 Sergey V Turchin 180.35-alt2 =2D new legacy release (71.86.09) * Tue Mar 03 2009 Sergey V Turchin 180.35-alt1 =2D new beta (180.35) * Mon Mar 02 2009 Sergey V Turchin 180.29-alt1 =2D new release (180.29) =2D new legacy betas (173.14.17, 96.43.11, 71.86.08) =2D don't warn if x11setupdrv not found =2D don't use deprecated macroses =2D always execute %%post_kernel_modules macros * Sun Jan 11 2009 Sergey V Turchin 180.22-alt1 =2D new release (180.22) * Mon Nov 17 2008 Sergey V Turchin 177.82-alt1 =2D new release (177.82) =2D new legacy betas (173.14.15, 96.43.09, 71.86.07) * Wed Oct 08 2008 Sergey V Turchin 177.80-alt1 =2D new release (177.80) =2D 3 legacy (173.14.12, 96.43.07, 71.86.06) * Tue Aug 05 2008 Sergey V Turchin 173.14.12-alt1 =2D new release (173.14.12) * Tue Jul 29 2008 Sergey V Turchin 173.14.09-alt1 =2D new release (173.14.09) =2D new legacy releases(96.43.07, 71.86.06) * Fri May 30 2008 Sergey V Turchin 173.14.05-alt1 =2D new release (173.14.05) * Wed Feb 27 2008 Sergey V Turchin 169.12-alt1 =2D new release (169.12) * Fri Feb 22 2008 Sergey V Turchin 169.09-alt2 =2D new legacy releases(96.43.05, 71.86.04) * Fri Jan 25 2008 Sergey V Turchin 169.09-alt1 =2D new release (169.09) * Wed Dec 26 2007 Sergey Vlasov 169.07-alt2 =2D Restructure the spec file to avoid %%if around the "Version:" line (req= uired to work properly with gear, which does not support RPM conditionals). * Fri Dec 21 2007 Sergey V Turchin 169.07-alt1 =2D new release (169.07) * Mon Oct 01 2007 Sergey V Turchin 100.14.19-alt3 =2D new legacy releases(96.43.01, 71.86.01) * Tue Sep 25 2007 Sergey V Turchin 100.14.19-alt2 =2D bump release to rebuild * Fri Sep 21 2007 Sergey V Turchin 100.14.19-alt1 =2D new release (100.14.19) * Fri Sep 21 2007 Sergey V Turchin 100.14.11-alt3 =2D fix kernel modile filename * Tue Sep 18 2007 Sergey V Turchin 100.14.11-alt2 =2D use new nvidia drivers packaging scheme =2D include legacy kernel modules * Fri Jun 22 2007 Sergey V Turchin 100.14.11-alt1 =2D new release (100.14.11) * Sat Jun 09 2007 Sergey V Turchin 100.14.09-alt1 =2D new release (100.14.09) * Thu Mar 15 2007 Sergey V Turchin 1.0.9755-alt1 =2D new release (9755) * Wed Feb 21 2007 Sergey V Turchin 1.0.9746-alt1 =2D new release (9746) * Mon Jan 29 2007 Sergey Vlasov 1.0.9631-alt2 =2D Updated dependencies: replaced "Prereq: modutils >=3D 2.4.27-alt4" with "Conflicts: modutils < 2.4.27-alt4" (the dependency on modutils or module-init-tools already comes indirectly through kernel-image-%%flavour= ). * Thu Dec 07 2006 Sergey V Turchin 1.0.9631-alt1 =2D new release (9631) * Thu Nov 09 2006 Sergey V Turchin 1.0.9629-alt1 =2D new release (9629) * Fri Nov 03 2006 Sergey V Turchin 1.0.9626-alt1 =2D new release (9626) * Wed Oct 25 2006 Sergey V Turchin 1.0.8776-alt1 =2D new release (8776) * Wed Sep 06 2006 L.A. Kostis 1.0.8774-alt2 =2D make build independed from host-arch. * Fri Sep 01 2006 Sergey V Turchin 1.0.8774-alt1 =2D new release (8774) * Wed May 24 2006 Sergey V Turchin 1.0.8762-alt1 =2D new release (8762) * Wed Apr 12 2006 Sergey V Turchin 1.0.8756-alt1 =2D new release (8756) =2D remove NVIDIA_kernel-1.0-8178-U012206.diff (merged by upstream) * Sat Mar 18 2006 Sergey Vlasov 1.0.8178-alt2 =2D Added NVIDIA_kernel-1.0-8178-U012206.diff update patch from the nvnews.= net forum (fixes several problems with newer kernels, including compilation failure with 2.6.16). * Mon Dec 26 2005 Sergey V Turchin 1.0.8178-alt1 =2D new release (8178) * Wed Aug 17 2005 Sergey V Turchin 1.0.7676-alt1 =2D new release (7676) * Wed Aug 17 2005 Sergey V Turchin 1.0.7667-alt1 =2D new release (7667) * Tue Jun 21 2005 Sergey Vlasov 1.0.7174-alt3 =2D Require modutils >=3D 2.4.27-alt4 because of .versions/nvidia (#7151). * Tue Jun 07 2005 Sergey V Turchin 1.0.7174-alt2 =2D add file with module version * Thu Apr 07 2005 Anton Farygin 1.0.7174-alt1 =2D new release (7174) * Mon Mar 14 2005 Sergey Vlasov 1.0.7167-alt1 =2D New release (7167). =2D Removed obsolete compatibility patches. * Wed Dec 29 2004 Sergey Vlasov 1.0.6629-alt2 =2D Added patches for compatibility with kernel 2.6.10 (Patch2, Patch3). * Sun Dec 26 2004 Sergey Vlasov 1.0.6629-alt1 =2D New release (6629). * Wed Oct 20 2004 Anton Farygin 1.0.6111-alt4 =2D fixed unreslved symbols with kernel 2.6.9 * Sun Oct 17 2004 Sergey Vlasov 1.0.6111-alt3 =2D Rebuild for kernel 2.4.27. * Mon Sep 06 2004 Anton Farygin 1.0.6111-alt2 =2D License fixed * Tue Aug 17 2004 Sergey Vlasov 1.0.6111-alt1 =2D New release (6111). * Tue Aug 03 2004 Sergey Vlasov 1.0.6106-alt2 =2D Use %%post_kernel_modules and %%postun_kernel_modules macros in scripts. * Fri Jul 02 2004 Sergey Vlasov 1.0.6106-alt1 =2D New release (6106). * Thu May 13 2004 Sergey Vlasov 1.0.5336-alt2 =2D Rebuild for kernel 2.4.26. * Mon Mar 22 2004 Sergey Vlasov 1.0.5336-alt1 =2D New release (5336). =2D Removed AGP fix patch (not needed for 5336). =2D Modified build for new makefiles. * Fri Feb 27 2004 Sergey Vlasov 1.0.5328-alt5 =2D Updated for the new compiler version selection scheme (GCC_VERSION). * Wed Feb 18 2004 Anton Farygin 1.0.5328-alt4 =2D rebuild for 2.6.3 (increment release without changes) * Mon Feb 16 2004 Anton Farygin 1.0.5328-alt3 =2D added build scripts for kernel 2.6=20 * Thu Jan 15 2004 Sergey Vlasov 1.0.5328-alt2 =2D Added patch to work around problems with AGP support (part of the Linux= =2D2.6 adaptation patch from www.minion.de). * Mon Dec 22 2003 Sergey Vlasov 1.0.5328-alt1 =2D New release (5328). * Tue Dec 16 2003 Sergey Vlasov 1.0.4496-alt12 =2D Fixed compiler selection. * Fri Nov 28 2003 Sergey Vlasov 1.0.4496-alt11 =2D Added Provides/Conflicts to make sure that only one version of the pack= age can be installed for each kernel version. * Tue Nov 18 2003 Sergey Vlasov 1.0.4496-alt10 =2D Fixed spec file name. =2D Avoid %%postun failure when this package is removed after kernel-image-%%flavour (currently rpm cannot prevent this). * Sat Sep 06 2003 Anton Farygin 1.0.4496-alt9 =2D /usr/include replaces to macros _includedir =2D build requires fix * Tue Aug 26 2003 Peter Novodvorsky 1.0.4496-alt8 =2D rebuilt with 2.4.21rel-alt14 * Fri Aug 15 2003 Peter Novodvorsky 1.0.4496-alt7 =2D rebuilt with 2.4.21rel-alt13 * Wed Aug 13 2003 Peter Novodvorsky 1.0.4496-alt6 =2D rebuilt with 2.4.21rel-alt12 * Tue Aug 12 2003 Peter Novodvorsky 1.0.4496-alt5 =2D rebuilt with 2.4.21rel-alt11 * Mon Aug 11 2003 Peter Novodvorsky 1.0.4496-alt4 =2D rebuilt with 2.4.21rel-alt10 * Thu Aug 07 2003 Peter Novodvorsky 1.0.4496-alt3 =2D rebuilt with 2.4.21rel-alt9 * Wed Aug 06 2003 Peter Novodvorsky 1.0.4496-alt2 =2D rebuilt with 2.4.21rel-alt8 * Wed Jul 30 2003 Peter Novodvorsky 1.0.4496-alt1 =2D new release (4496) =2D rebuilt with 2.4.21rel-alt7 * Thu Jul 17 2003 Peter Novodvorsky 1.0.4363-alt5 =2D rebuilt with 2.4.21rel-alt6 * Wed Jul 16 2003 Peter Novodvorsky 1.0.4363-alt4 =2D rebuilt with 2.4.21rel-alt5 * Mon Jul 07 2003 Peter Novodvorsky 1.0.4363-alt3 =2D rebuilt with 2.4.21rel alt3 kernel * Wed Jul 02 2003 Peter Novodvorsky 1.0.4363-alt2 =2D add provides NVIDIA_kernel =3D %version * Sat Jun 21 2003 Peter Novodvorsky 1.0.4363-alt1 =2D rebuilt with 2.4.21rel kernel * Thu Apr 10 2003 Peter Novodvorsky 1.0.4349-alt2 =2D Provides NVIDIA_kernel for now. * Sun Mar 23 2003 Peter Novodvorsky 1.0.4349-alt1 =2D Initial release --Boundary-01=_nlriK530QvQd4rT-- --nextPart1874101.buXVaQ7E6g Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEABECAAYFAkqKuWcACgkQ+zBIrxwqPwhamACfbQ9Lyuf8PxGBU9vGHGyFNlal 8D0AoIuTuTb0WlrVH+K/iQGHuUPhlgHP =d3hj -----END PGP SIGNATURE----- --nextPart1874101.buXVaQ7E6g--