From fedora-extras-commits at redhat.com Tue Apr 1 00:05:21 2008 From: fedora-extras-commits at redhat.com (Kevin Kofler (kkofler)) Date: Tue, 1 Apr 2008 00:05:21 GMT Subject: rpms/xchat/devel xchat.spec,1.89,1.90 Message-ID: <200804010005.m3105L4B002965@cvs-int.fedora.redhat.com> Author: kkofler Update of /cvs/pkgs/rpms/xchat/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2898/devel Modified Files: xchat.spec Log Message: * Tue Apr 1 2008 Kevin Kofler - 1:2.8.4-15 - remove --disable-panel which has been ignored since 2.0.0 - add missing BR libntlm-devel (thanks to Karsten Hopp) Index: xchat.spec =================================================================== RCS file: /cvs/pkgs/rpms/xchat/devel/xchat.spec,v retrieving revision 1.89 retrieving revision 1.90 diff -u -r1.89 -r1.90 --- xchat.spec 3 Mar 2008 20:48:13 -0000 1.89 +++ xchat.spec 1 Apr 2008 00:04:26 -0000 1.90 @@ -3,7 +3,7 @@ Summary: A popular and easy to use graphical IRC (chat) client Name: xchat Version: 2.8.4 -Release: 14%{?dist} +Release: 15%{?dist} Epoch: 1 Group: Applications/Internet License: GPLv2+ @@ -34,6 +34,7 @@ BuildRequires: glib2-devel >= 2.10.0, gtk2-devel >= 2.10.0, bison >= 1.35 BuildRequires: gettext /bin/sed BuildRequires: libtool +BuildRequires: libntlm-devel BuildRequires: libsexy-devel BuildRequires: desktop-file-utils >= 0.10 # For gconftool-2: @@ -82,8 +83,7 @@ export CFLAGS="$RPM_OPT_FLAGS $(perl -MExtUtils::Embed -e ccopts)" export LDFLAGS=$(perl -MExtUtils::Embed -e ldopts) -%configure --disable-panel \ - --disable-textfe \ +%configure --disable-textfe \ --enable-gtkfe \ --enable-openssl \ --enable-python \ @@ -162,6 +162,10 @@ %{_libdir}/xchat/plugins/tcl.so %changelog +* Tue Apr 1 2008 Kevin Kofler - 1:2.8.4-15 +- remove --disable-panel which has been ignored since 2.0.0 +- add missing BR libntlm-devel (thanks to Karsten Hopp) + * Mon Mar 3 2008 Tom "spot" Callaway - 1:2.8.4-14 - rebuild for new perl From fedora-extras-commits at redhat.com Tue Apr 1 00:06:19 2008 From: fedora-extras-commits at redhat.com (Colin Walters (walters)) Date: Tue, 1 Apr 2008 00:06:19 GMT Subject: rpms/hippo-canvas/devel .cvsignore, 1.6, 1.7 hippo-canvas.spec, 1.9, 1.10 sources, 1.7, 1.8 Message-ID: <200804010006.m3106J2W003005@cvs-int.fedora.redhat.com> Author: walters Update of /cvs/pkgs/rpms/hippo-canvas/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2973 Modified Files: .cvsignore hippo-canvas.spec sources Log Message: * Mon Mar 31 2008 Colin Walters - 0.2.30-1 - Update to 0.2.30 Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/hippo-canvas/devel/.cvsignore,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- .cvsignore 26 Feb 2008 21:54:46 -0000 1.6 +++ .cvsignore 1 Apr 2008 00:05:39 -0000 1.7 @@ -1 +1 @@ -hippo-canvas-0.2.26.tar.gz +hippo-canvas-0.2.30.tar.gz Index: hippo-canvas.spec =================================================================== RCS file: /cvs/pkgs/rpms/hippo-canvas/devel/hippo-canvas.spec,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- hippo-canvas.spec 26 Feb 2008 21:54:46 -0000 1.9 +++ hippo-canvas.spec 1 Apr 2008 00:05:39 -0000 1.10 @@ -1,7 +1,7 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: hippo-canvas -Version: 0.2.26 +Version: 0.2.30 Release: 1%{?dist} Summary: A canvas widget @@ -85,6 +85,9 @@ %{python_sitearch}/*.so %changelog +* Mon Mar 31 2008 Colin Walters - 0.2.30-1 +- Update to 0.2.30 + * Tue Feb 26 2008 Colin Walters - 0.2.26-1 - Update to 0.2.26 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/hippo-canvas/devel/sources,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- sources 26 Feb 2008 21:54:46 -0000 1.7 +++ sources 1 Apr 2008 00:05:39 -0000 1.8 @@ -1 +1 @@ -30b2d131afe30900ea008937e21a03cb hippo-canvas-0.2.26.tar.gz +582d0798929c4eec436878e996632262 hippo-canvas-0.2.30.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 00:20:37 2008 From: fedora-extras-commits at redhat.com (Chris Weyl (cweyl)) Date: Tue, 1 Apr 2008 00:20:37 GMT Subject: rpms/perl-Catalyst-Controller-FormBuilder/F-7 no_scalar_util_0_19.patch, NONE, 1.1 perl-Catalyst-Controller-FormBuilder.spec, NONE, 1.1 sources, 1.1, 1.2 Message-ID: <200804010020.m310KbV1003249@cvs-int.fedora.redhat.com> Author: cweyl Update of /cvs/extras/rpms/perl-Catalyst-Controller-FormBuilder/F-7 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3219 Modified Files: sources Added Files: no_scalar_util_0_19.patch perl-Catalyst-Controller-FormBuilder.spec Log Message: * Wed Mar 19 2008 Chris Weyl 0.04-2 - bump no_scalar_util_0_19.patch: --- NEW FILE no_scalar_util_0_19.patch --- --- Makefile.PL.orig 2008-03-17 23:04:41.226202459 -0700 +++ Makefile.PL 2008-03-17 23:04:00.066202831 -0700 @@ -12,7 +12,9 @@ requires 'Tie::IxHash' => '1.21'; requires 'Class::Data::Inheritable' => '0.04'; requires 'Class::Inspector' => '1.13'; -requires 'Scalar::Util' => '1.19'; +# let's try faking this one out... +#requires 'Scalar::Util' => '1.19'; +requires 'Scalar::Util' => '1.18'; recommends 'Catalyst::View::TT' => '0.23'; auto_install; --- NEW FILE perl-Catalyst-Controller-FormBuilder.spec --- Name: perl-Catalyst-Controller-FormBuilder Version: 0.04 Release: 2%{?dist} Summary: Catalyst FormBuilder Base Controller License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Catalyst-Controller-FormBuilder/ Source0: http://www.cpan.org/authors/id/J/JC/JCAMACHO/Catalyst-Controller-FormBuilder-%{version}.tar.gz Patch0: no_scalar_util_0_19.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(CGI::FormBuilder) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Test::WWW::Mechanize::Catalyst) BuildRequires: perl(Tie::IxHash) # not auto-picked up, or to keep rpmlint happy... Requires: perl(Catalyst) Requires: perl(warnings) Requires: perl(lib) %description This base controller merges the functionality of CGI::FormBuilder with Catalyst and the following templating systems: Template Toolkit, Mason and HTML::Template. This gives you access to all of FormBuilder's niceties, such as controllablefield stickiness, multilingual support, and Javascript generation. For more details, see CGI::FormBuilder or the website at: http://www.formbuilder.org %prep %setup -q -n Catalyst-Controller-FormBuilder-%{version} %patch0 find . -type f -exec chmod -x -c {} + # Filter unwanted Provides: cat << \EOF > %{name}-prov #!/bin/sh %{__perl_provides} $* |\ sed -e '/perl(TestApp.*)/d' EOF %define __perl_provides %{_builddir}/Catalyst-Controller-FormBuilder-%{version}/%{name}-prov chmod +x %{__perl_provides} # Filter unwanted Requires: cat << \EOF > %{name}-req #!/bin/sh %{__perl_requires} $* |\ sed -e '/perl(FindBin)/d; /perl(Test::.*)/d' EOF %define __perl_requires %{_builddir}/Catalyst-Controller-FormBuilder-%{version}/%{name}-req chmod +x %{__perl_requires} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes t/ %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Mar 19 2008 Chris Weyl 0.04-2 - bump * Mon Mar 17 2008 Chris Weyl 0.04-1 - Specfile autogenerated by cpanspec 1.74. Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-Catalyst-Controller-FormBuilder/F-7/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 19 Mar 2008 16:14:43 -0000 1.1 +++ sources 1 Apr 2008 00:19:55 -0000 1.2 @@ -0,0 +1 @@ +0cd3b3fd61bfdc551cf8c0352853441b Catalyst-Controller-FormBuilder-0.04.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 00:41:37 2008 From: fedora-extras-commits at redhat.com (Christopher Aillon (caillon)) Date: Tue, 1 Apr 2008 00:41:37 GMT Subject: rpms/xulrunner/F-9 xulrunner.spec,1.108,1.109 Message-ID: <200804010041.m310fbj7003505@cvs-int.fedora.redhat.com> Author: caillon Update of /cvs/extras/rpms/xulrunner/F-9 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3482 Modified Files: xulrunner.spec Log Message: Fully rip out the branding foo Index: xulrunner.spec =================================================================== RCS file: /cvs/extras/rpms/xulrunner/F-9/xulrunner.spec,v retrieving revision 1.108 retrieving revision 1.109 diff -u -r1.108 -r1.109 --- xulrunner.spec 31 Mar 2008 23:43:03 -0000 1.108 +++ xulrunner.spec 1 Apr 2008 00:40:59 -0000 1.109 @@ -2,30 +2,18 @@ %define nss_version 3.11.99.5 %define cairo_version 0.5 -%define official_branding 1 - %define version_internal 1.9pre -%if ! %{official_branding} -%define cvsdate 20080327 -%define nightly .cvs%{cvsdate} -%else %define version_pre .beta5rc2 -%endif Summary: XUL Runtime for Gecko Applications Name: xulrunner Version: 1.9 -Release: 0.51%{?version_pre}%{?nightly}%{?dist} +Release: 0.51%{?version_pre}%{?dist} URL: http://www.mozilla.org/projects/xulrunner/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet -%if %{official_branding} -%define tarball xulrunner-1.9b5-source.tar.bz2 -%else -%define tarball mozilla-%{cvsdate}.tar.bz2 -%endif -Source0: %{tarball} +Source0: xulrunner-1.9b5-source.tar.bz2 Source10: %{name}-mozconfig Source12: %{name}-redhat-default-prefs.js #Source21: %{name}.sh.in @@ -46,15 +34,7 @@ # Other Patch107: mozilla-pkgconfig.patch -%if %{official_branding} -# Required by Mozilla Corporation - -%else -# Not yet approved by Mozillla Corporation - - -%endif # --------------------------------------------------- @@ -125,24 +105,8 @@ %patch107 -p1 -b .pk - -# For branding specific patches. - -%if %{official_branding} -# Required by Mozilla Corporation - - -%else -# Not yet approved by Mozilla Corporation - - -%endif - %{__rm} -f .mozconfig %{__cp} %{SOURCE10} .mozconfig -%if %{official_branding} -#%{__cat} %{SOURCE11} >> .mozconfig -%endif #--------------------------------------------------------------------- @@ -211,15 +175,6 @@ find . -name "*" -type d -maxdepth 1 -exec %{__rm} -rf {} \; cd - -%if %{official_branding} -%{__mkdir_p} $RPM_BUILD_ROOT${MOZ_APP_DIR}/chrome/icons/default/ -%{__cp} other-licenses/branding/%{name}/default.xpm \ - $RPM_BUILD_ROOT${MOZ_APP_DIR}/chrome/icons/default/ -%{__cp} other-licenses/branding/%{name}/default.xpm \ - $RPM_BUILD_ROOT${MOZ_APP_DIR}/icons/ -%endif - - # system extensions and plugins support %{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions %{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions From fedora-extras-commits at redhat.com Tue Apr 1 00:56:21 2008 From: fedora-extras-commits at redhat.com (Kevin Kofler (kkofler)) Date: Tue, 1 Apr 2008 00:56:21 GMT Subject: rpms/kdepim/devel kdepim.spec,1.160,1.161 Message-ID: <200804010056.m310uL4F003658@cvs-int.fedora.redhat.com> Author: kkofler Update of /cvs/pkgs/rpms/kdepim/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3638/devel Modified Files: kdepim.spec Log Message: * Tue Apr 01 2008 Kevin Kofler 6:3.5.9-7 - fix gnokii detection (thanks to Dirk M??ller) Index: kdepim.spec =================================================================== RCS file: /cvs/pkgs/rpms/kdepim/devel/kdepim.spec,v retrieving revision 1.160 retrieving revision 1.161 diff -u -r1.160 -r1.161 --- kdepim.spec 27 Feb 2008 20:36:01 -0000 1.160 +++ kdepim.spec 1 Apr 2008 00:55:38 -0000 1.161 @@ -48,6 +48,8 @@ Patch1: kdepim-3.4.0-kandy-icons.patch Patch2: kdepim-xdg_open.patch +# patch by Dirk M??ller from openSUSE to fix gnokii detection +Patch6: kdepim-3.5.9-gnokii-no-libintl.patch ## upstream patches # LANG=en_US.UTF-8 svn diff svn://anonsvn.kde.org/home/kde/tags/KDE/3.5.9/kdepim/kitchensync at 774532 \ @@ -168,6 +170,8 @@ %patch2 -p1 -b .xdg_open +%patch6 -p1 -b .gnokii + %if 0%{?fedora} > 8 pushd kitchensync %patch3 -p0 -b .opensync03 @@ -310,6 +314,9 @@ %changelog +* Tue Apr 01 2008 Kevin Kofler 6:3.5.9-7 +- fix gnokii detection (thanks to Dirk M??ller) + * Wed Feb 27 2008 Rex Dieter 6:3.5.9-6 - "Enterprise headers" makes impossible to select text in first paragraph of body (kde#151150) From fedora-extras-commits at redhat.com Tue Apr 1 00:59:06 2008 From: fedora-extras-commits at redhat.com (Kevin Kofler (kkofler)) Date: Tue, 1 Apr 2008 00:59:06 GMT Subject: rpms/kdepim/devel kdepim-3.5.9-gnokii-no-libintl.patch,NONE,1.1 Message-ID: <200804010059.m310x6xB003686@cvs-int.fedora.redhat.com> Author: kkofler Update of /cvs/pkgs/rpms/kdepim/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3676/devel Added Files: kdepim-3.5.9-gnokii-no-libintl.patch Log Message: * Tue Apr 01 2008 Kevin Kofler 6:3.5.9-7 - fix gnokii detection (thanks to Dirk M??ller) kdepim-3.5.9-gnokii-no-libintl.patch: --- NEW FILE kdepim-3.5.9-gnokii-no-libintl.patch --- --- configure.in.in +++ configure.in.in @@ -45,8 +45,8 @@ AC_DEFUN([KDE_CHECK_GNOKII], [ LIB_GNOKII="-lgnokii $LIB_BLUETOOTH" ], [ AC_CHECK_LIB(gnokii, gn_cfg_get, - [ LIB_GNOKII="-lgnokii -lintl $LIB_BLUETOOTH" ], - [], $all_libraries -lintl -lXpm -lX11 $LIB_BLUETOOTH ) + [ LIB_GNOKII="-lgnokii $LIB_BLUETOOTH" ], + [], $all_libraries -lXpm -lX11 $LIB_BLUETOOTH ) ], $all_libraries -lXpm -lX11 $LIB_BLUETOOTH ) AC_SUBST(LIB_GNOKII) From fedora-extras-commits at redhat.com Tue Apr 1 01:02:01 2008 From: fedora-extras-commits at redhat.com (Kevin Kofler (kkofler)) Date: Tue, 1 Apr 2008 01:02:01 GMT Subject: rpms/kdepim/devel kdepim.spec,1.161,1.162 Message-ID: <200804010102.m31121KG009885@cvs-int.fedora.redhat.com> Author: kkofler Update of /cvs/pkgs/rpms/kdepim/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9850/devel Modified Files: kdepim.spec Log Message: * Tue Apr 01 2008 Kevin Kofler 6:3.5.9-7 - fix gnokii detection (thanks to Dirk M??ller) Index: kdepim.spec =================================================================== RCS file: /cvs/pkgs/rpms/kdepim/devel/kdepim.spec,v retrieving revision 1.161 retrieving revision 1.162 diff -u -r1.161 -r1.162 --- kdepim.spec 1 Apr 2008 00:55:38 -0000 1.161 +++ kdepim.spec 1 Apr 2008 01:01:11 -0000 1.162 @@ -35,9 +35,9 @@ # script used to generate svn checkout Source0 above Source1: kdepim-enterprise-svn_checkout.sh -Release: 6.%{ent_date}svn.ent%{?dist} +Release: 7.%{ent_date}svn.ent%{?dist} %else -Release: 6%{?dist} +Release: 7%{?dist} Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2 %endif From fedora-extras-commits at redhat.com Tue Apr 1 01:10:39 2008 From: fedora-extras-commits at redhat.com (Kevin Kofler (kkofler)) Date: Tue, 1 Apr 2008 01:10:39 GMT Subject: rpms/kdepim/devel kdepim.spec,1.162,1.163 Message-ID: <200804010110.m311Adtg010123@cvs-int.fedora.redhat.com> Author: kkofler Update of /cvs/pkgs/rpms/kdepim/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10042/devel Modified Files: kdepim.spec Log Message: Need -p0, not -p1. Index: kdepim.spec =================================================================== RCS file: /cvs/pkgs/rpms/kdepim/devel/kdepim.spec,v retrieving revision 1.162 retrieving revision 1.163 diff -u -r1.162 -r1.163 --- kdepim.spec 1 Apr 2008 01:01:11 -0000 1.162 +++ kdepim.spec 1 Apr 2008 01:10:02 -0000 1.163 @@ -170,7 +170,7 @@ %patch2 -p1 -b .xdg_open -%patch6 -p1 -b .gnokii +%patch6 -p0 -b .gnokii %if 0%{?fedora} > 8 pushd kitchensync From fedora-extras-commits at redhat.com Tue Apr 1 01:11:11 2008 From: fedora-extras-commits at redhat.com (Stu Tomlinson (nosnilmot)) Date: Tue, 1 Apr 2008 01:11:11 GMT Subject: rpms/pidgin/devel pidgin.spec,1.50,1.51 Message-ID: <200804010111.m311BB1M010146@cvs-int.fedora.redhat.com> Author: nosnilmot Update of /cvs/pkgs/rpms/pidgin/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10117 Modified Files: pidgin.spec Log Message: nss-devel no longer provides mozilla-nss-devel Index: pidgin.spec =================================================================== RCS file: /cvs/pkgs/rpms/pidgin/devel/pidgin.spec,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- pidgin.spec 31 Mar 2008 21:38:36 -0000 1.50 +++ pidgin.spec 1 Apr 2008 01:10:35 -0000 1.51 @@ -29,7 +29,7 @@ Name: pidgin Version: 2.4.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and GPLv2 and MIT # GPLv2+ - libpurple, gnt, finch, pidgin, most prpls # GPLv2 - silc & novell prpls @@ -80,7 +80,7 @@ BuildRequires: autoconf BuildRequires: startup-notification-devel BuildRequires: cyrus-sasl-devel -BuildRequires: mozilla-nss-devel +BuildRequires: nss-devel BuildRequires: gtk2-devel BuildRequires: gettext BuildRequires: intltool @@ -493,6 +493,9 @@ %changelog +* Mon Mar 31 2008 Stu Tomlinson 2.4.1-2 +- nss-devel no longer provides mozilla-nss-devel + * Mon Mar 31 2008 Stu Tomlinson 2.4.1-1 - 2.4.1 From fedora-extras-commits at redhat.com Tue Apr 1 01:28:49 2008 From: fedora-extras-commits at redhat.com (Jim Radford (radford)) Date: Tue, 1 Apr 2008 01:28:49 GMT Subject: rpms/dot2tex/devel dot2tex.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2 Message-ID: <200804010128.m311Snrk010560@cvs-int.fedora.redhat.com> Author: radford Update of /cvs/pkgs/rpms/dot2tex/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10527/devel Modified Files: .cvsignore sources Added Files: dot2tex.spec Log Message: * Thu Jan 24 2008 Jim Radford - 2.7.0-4 - convert line endings of text docs * Wed Jan 23 2008 Jim Radford - 2.7.0-3 - added doc/ and examples/ to %doc * Fri Jan 11 2008 Jim Radford - 2.7.0-2 - add python egg-info * Sun Dec 30 2007 Jim Radford - 2.7.0-1 - Initial Package --- NEW FILE dot2tex.spec --- %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: dot2tex Version: 2.7.0 Release: 4%{?dist} Summary: A Graphviz to LaTeX converter Group: Applications/Publishing License: MIT URL: http://www.fauskes.net/code/dot2tex/ Source0: http://dot2tex.googlecode.com/files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel Requires: pydot, pyparsing, graphviz, tetex-preview %description Dot2tex is a tool for converting graphs rendered by Graphviz to formats that can be used with LaTeX. %prep %setup -q %build %{__python} setup.py build find doc examples -name "*.tex" -o -name "*.dot" | xargs sed -i -e 's|\r||' %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE examples doc %{_bindir}/dot2tex %{python_sitelib}/%{name}/ %if 0%{?fedora} >= 9 %{python_sitelib}/*.egg-info %endif %changelog * Thu Jan 24 2008 Jim Radford - 2.7.0-4 - convert line endings of text docs * Wed Jan 23 2008 Jim Radford - 2.7.0-3 - added doc/ and examples/ to %doc * Fri Jan 11 2008 Jim Radford - 2.7.0-2 - add python egg-info * Sun Dec 30 2007 Jim Radford - 2.7.0-1 - Initial Package Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/dot2tex/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 31 Mar 2008 16:41:15 -0000 1.1 +++ .cvsignore 1 Apr 2008 01:28:14 -0000 1.2 @@ -0,0 +1 @@ +dot2tex-2.7.0.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/dot2tex/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 31 Mar 2008 16:41:15 -0000 1.1 +++ sources 1 Apr 2008 01:28:14 -0000 1.2 @@ -0,0 +1 @@ +cb407c0bd1ef9440e5e7383fa408bd73 dot2tex-2.7.0.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 01:31:50 2008 From: fedora-extras-commits at redhat.com (Colin Walters (walters)) Date: Tue, 1 Apr 2008 01:31:50 GMT Subject: rpms/hippo-canvas/devel hippo-canvas.spec,1.10,1.11 Message-ID: <200804010131.m311Vos9010672@cvs-int.fedora.redhat.com> Author: walters Update of /cvs/pkgs/rpms/hippo-canvas/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10636 Modified Files: hippo-canvas.spec Log Message: fix br Index: hippo-canvas.spec =================================================================== RCS file: /cvs/pkgs/rpms/hippo-canvas/devel/hippo-canvas.spec,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- hippo-canvas.spec 1 Apr 2008 00:05:39 -0000 1.10 +++ hippo-canvas.spec 1 Apr 2008 01:31:02 -0000 1.11 @@ -15,6 +15,7 @@ BuildRequires: pango-devel BuildRequires: glib2-devel BuildRequires: gtk2-devel +BuildRequires: libcroco-devel %description The hippo-canvas library contains a canvas widget developed by the From fedora-extras-commits at redhat.com Tue Apr 1 01:47:08 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 01:47:08 +0000 Subject: [pkgdb] thunderbird (Fedora, 9) updated by toshio Message-ID: <200804010154.m311s5lW019540@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) changed owner of thunderbird in Fedora 9 to gecko-maint Toshio ???? (toshio) Denied cvsextras for commit access on thunderbird (Fedora 9) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/thunderbird From fedora-extras-commits at redhat.com Tue Apr 1 01:46:09 2008 From: fedora-extras-commits at redhat.com (Kevin Fenzi (kevin)) Date: Tue, 1 Apr 2008 01:46:09 GMT Subject: rpms/twinkle/devel twinkle.spec,1.12,1.13 Message-ID: <200804010146.m311k9ka011004@cvs-int.fedora.redhat.com> Author: kevin Update of /cvs/extras/rpms/twinkle/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10975 Modified Files: twinkle.spec Log Message: Rebuild for new qt3 Index: twinkle.spec =================================================================== RCS file: /cvs/extras/rpms/twinkle/devel/twinkle.spec,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- twinkle.spec 25 Mar 2008 15:03:14 -0000 1.12 +++ twinkle.spec 1 Apr 2008 01:45:29 -0000 1.13 @@ -1,6 +1,6 @@ Name: twinkle Version: 1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A SIP Soft Phone Group: Applications/Internet @@ -61,6 +61,9 @@ %{_datadir}/applications/fedora-twinkle.desktop %changelog +* Mon Mar 31 2008 Kevin Fenzi - 1.2-2 +- Rebuild for new qt3 + * Sat Mar 08 2008 Kevin Fenzi - 1.2-1 - Update to 1.2 From fedora-extras-commits at redhat.com Tue Apr 1 01:46:34 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 01:46:34 +0000 Subject: [pkgdb] thunderbird had acl change status Message-ID: <200804010154.m311sXGp019586@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the commit acl on thunderbird (Fedora 9) to Denied for Monty (xiphmont) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/thunderbird From fedora-extras-commits at redhat.com Tue Apr 1 01:53:54 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 01:53:54 +0000 Subject: [pkgdb] thunderbird (Fedora, 9) updated by toshio Message-ID: <200804010201.m3121qCt019748@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) changed owner of thunderbird in Fedora 9 to gecko-maint Toshio ???? (toshio) Denied cvsextras for commit access on thunderbird (Fedora 9) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/thunderbird From fedora-extras-commits at redhat.com Tue Apr 1 01:54:19 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 01:54:19 +0000 Subject: [pkgdb] thunderbird had acl change status Message-ID: <200804010202.m3121qCx019748@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on thunderbird (Fedora 9) to Approved for Monty (xiphmont) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/thunderbird From fedora-extras-commits at redhat.com Tue Apr 1 01:55:21 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 01:55:21 +0000 Subject: [pkgdb] thunderbird had acl change status Message-ID: <200804010202.m3122Iiu019787@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the commit acl on thunderbird (Fedora 9) to Approved for Christopher Aillon (caillon) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/thunderbird From fedora-extras-commits at redhat.com Tue Apr 1 01:54:24 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 01:54:24 +0000 Subject: [pkgdb] thunderbird had acl change status Message-ID: <200804010202.m3122Noi019828@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the approveacls acl on thunderbird (Fedora 9) to Approved for Christopher Aillon (caillon) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/thunderbird From fedora-extras-commits at redhat.com Tue Apr 1 01:55:27 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 01:55:27 +0000 Subject: [pkgdb] thunderbird had acl change status Message-ID: <200804010202.m3122Ij0019787@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the commit acl on thunderbird (Fedora 9) to Approved for Richard Hughes (rhughes) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/thunderbird From fedora-extras-commits at redhat.com Tue Apr 1 01:54:30 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 01:54:30 +0000 Subject: [pkgdb] thunderbird had acl change status Message-ID: <200804010202.m3122Nom019828@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on thunderbird (Fedora 9) to Approved for Richard Hughes (rhughes) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/thunderbird From fedora-extras-commits at redhat.com Tue Apr 1 01:56:04 2008 From: fedora-extras-commits at redhat.com (Christopher Aillon (caillon)) Date: Tue, 1 Apr 2008 01:56:04 GMT Subject: rpms/xulrunner/devel .cvsignore, 1.47, 1.48 sources, 1.49, 1.50 xulrunner.spec, 1.106, 1.107 Message-ID: <200804010156.m311u45K011264@cvs-int.fedora.redhat.com> Author: caillon Update of /cvs/extras/rpms/xulrunner/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11242 Modified Files: .cvsignore sources xulrunner.spec Log Message: * Mon Mar 31 2008 Christopher Aillon 1.9-0.51 - Update to latest trunk (2008-03-31) Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/xulrunner/devel/.cvsignore,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- .cvsignore 28 Mar 2008 01:31:29 -0000 1.47 +++ .cvsignore 1 Apr 2008 01:55:24 -0000 1.48 @@ -1 +1 @@ -mozilla-20080327.tar.bz2 +mozilla-20080331.tar.bz2 Index: sources =================================================================== RCS file: /cvs/extras/rpms/xulrunner/devel/sources,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- sources 28 Mar 2008 01:31:29 -0000 1.49 +++ sources 1 Apr 2008 01:55:24 -0000 1.50 @@ -1 +1 @@ -7f43fd0bdbf2709ba05cec41f43d2a36 mozilla-20080327.tar.bz2 +9c1fb20aac1ba29756ce9b002ecc7826 mozilla-20080331.tar.bz2 Index: xulrunner.spec =================================================================== RCS file: /cvs/extras/rpms/xulrunner/devel/xulrunner.spec,v retrieving revision 1.106 retrieving revision 1.107 diff -u -r1.106 -r1.107 --- xulrunner.spec 28 Mar 2008 01:31:29 -0000 1.106 +++ xulrunner.spec 1 Apr 2008 01:55:24 -0000 1.107 @@ -7,14 +7,14 @@ %define version_internal 1.9pre %if ! %{official_branding} -%define cvsdate 20080327 +%define cvsdate 20080331 %define nightly .cvs%{cvsdate} %endif Summary: XUL Runtime for Gecko Applications Name: xulrunner Version: 1.9 -Release: 0.50%{?nightly}%{?dist} +Release: 0.51%{?nightly}%{?dist} URL: http://www.mozilla.org/projects/xulrunner/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -44,16 +44,6 @@ # Other Patch107: mozilla-pkgconfig.patch -%if %{official_branding} -# Required by Mozilla Corporation - - -%else -# Not yet approved by Mozillla Corporation - - -%endif - # --------------------------------------------------- BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) @@ -123,24 +113,8 @@ %patch107 -p1 -b .pk - -# For branding specific patches. - -%if %{official_branding} -# Required by Mozilla Corporation - - -%else -# Not yet approved by Mozilla Corporation - - -%endif - %{__rm} -f .mozconfig %{__cp} %{SOURCE10} .mozconfig -%if %{official_branding} -%{__cat} %{SOURCE11} >> .mozconfig -%endif #--------------------------------------------------------------------- @@ -209,15 +183,6 @@ find . -name "*" -type d -maxdepth 1 -exec %{__rm} -rf {} \; cd - -%if %{official_branding} -%{__mkdir_p} $RPM_BUILD_ROOT${MOZ_APP_DIR}/chrome/icons/default/ -%{__cp} other-licenses/branding/%{name}/default.xpm \ - $RPM_BUILD_ROOT${MOZ_APP_DIR}/chrome/icons/default/ -%{__cp} other-licenses/branding/%{name}/default.xpm \ - $RPM_BUILD_ROOT${MOZ_APP_DIR}/icons/ -%endif - - # system extensions and plugins support %{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions %{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions @@ -398,6 +363,9 @@ #--------------------------------------------------------------------- %changelog +* Mon Mar 31 2008 Christopher Aillon 1.9-0.51 +- Update to latest trunk (2008-03-31) + * Thu Mar 27 2008 Christopher Aillon 1.9-0.50 - Update to latest trunk (2008-03-27) From fedora-extras-commits at redhat.com Tue Apr 1 01:58:57 2008 From: fedora-extras-commits at redhat.com (Christopher Aillon (caillon)) Date: Tue, 1 Apr 2008 01:58:57 GMT Subject: rpms/firefox/devel .cvsignore, 1.77, 1.78 firefox.spec, 1.289, 1.290 sources, 1.89, 1.90 Message-ID: <200804010158.m311wvV6011445@cvs-int.fedora.redhat.com> Author: caillon Update of /cvs/extras/rpms/firefox/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11419 Modified Files: .cvsignore firefox.spec sources Log Message: * Mon Mar 31 2008 Christopher Aillon 3.0-0.51 - Update to latest trunk (2008-03-31) Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/firefox/devel/.cvsignore,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- .cvsignore 28 Mar 2008 01:32:31 -0000 1.77 +++ .cvsignore 1 Apr 2008 01:57:54 -0000 1.78 @@ -1 +1 @@ -mozilla-20080327.tar.bz2 +mozilla-20080331.tar.bz2 Index: firefox.spec =================================================================== RCS file: /cvs/extras/rpms/firefox/devel/firefox.spec,v retrieving revision 1.289 retrieving revision 1.290 diff -u -r1.289 -r1.290 --- firefox.spec 28 Mar 2008 01:32:31 -0000 1.289 +++ firefox.spec 1 Apr 2008 01:57:54 -0000 1.290 @@ -12,14 +12,14 @@ %define build_langpacks 0 %if ! %{official_branding} -%define cvsdate 20080327 +%define cvsdate 20080331 %define nightly .cvs%{cvsdate} %endif Summary: Mozilla Firefox Web browser Name: firefox Version: 3.0 -Release: 0.50%{?nightly}%{?dist} +Release: 0.51%{?nightly}%{?dist} URL: http://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -313,6 +313,9 @@ #--------------------------------------------------------------------- %changelog +* Mon Mar 31 2008 Christopher Aillon 3.0-0.51 +- Update to latest trunk (2008-03-31) + * Thu Mar 27 2008 Christopher Aillon 3.0-0.50 - Update to latest trunk (2008-03-27) Index: sources =================================================================== RCS file: /cvs/extras/rpms/firefox/devel/sources,v retrieving revision 1.89 retrieving revision 1.90 diff -u -r1.89 -r1.90 --- sources 28 Mar 2008 01:32:31 -0000 1.89 +++ sources 1 Apr 2008 01:57:54 -0000 1.90 @@ -1 +1 @@ -7f43fd0bdbf2709ba05cec41f43d2a36 mozilla-20080327.tar.bz2 +9c1fb20aac1ba29756ce9b002ecc7826 mozilla-20080331.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 02:15:08 2008 From: fedora-extras-commits at redhat.com (Chuck Ebbert (cebbert)) Date: Tue, 1 Apr 2008 02:15:08 GMT Subject: rpms/kernel/devel config-generic,1.91,1.92 kernel.spec,1.564,1.565 Message-ID: <200804010215.m312F8xe017823@cvs-int.fedora.redhat.com> Author: cebbert Update of /cvs/pkgs/rpms/kernel/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17801 Modified Files: config-generic kernel.spec Log Message: * Mon Mar 31 2008 Chuck Ebbert - Disable HDA audio power save by default. (#433495) (Users can still enable it manually.) Index: config-generic =================================================================== RCS file: /cvs/pkgs/rpms/kernel/devel/config-generic,v retrieving revision 1.91 retrieving revision 1.92 diff -u -r1.91 -r1.92 --- config-generic 31 Mar 2008 22:20:46 -0000 1.91 +++ config-generic 1 Apr 2008 02:14:18 -0000 1.92 @@ -2435,7 +2435,7 @@ CONFIG_SND_HDA_CODEC_SI3054=y CONFIG_SND_HDA_GENERIC=y CONFIG_SND_HDA_POWER_SAVE=y -CONFIG_SND_HDA_POWER_SAVE_DEFAULT=5 +CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 CONFIG_SND_HDSPM=m CONFIG_SND_HIFIER=m CONFIG_SND_ICE1712=m Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v retrieving revision 1.564 retrieving revision 1.565 diff -u -r1.564 -r1.565 --- kernel.spec 31 Mar 2008 22:20:46 -0000 1.564 +++ kernel.spec 1 Apr 2008 02:14:18 -0000 1.565 @@ -1738,6 +1738,10 @@ %changelog * Mon Mar 31 2008 Chuck Ebbert +- Disable HDA audio power save by default. (#433495) + (Users can still enable it manually.) + +* Mon Mar 31 2008 Chuck Ebbert - Re-enable CONFIG_PCI_LEGACY so some additional drivers get built. * Mon Mar 31 2008 Jarod Wilson From fedora-extras-commits at redhat.com Tue Apr 1 02:23:34 2008 From: fedora-extras-commits at redhat.com (Christopher Aillon (caillon)) Date: Tue, 1 Apr 2008 02:23:34 GMT Subject: rpms/firefox/F-9 firefox.spec,1.290,1.291 Message-ID: <200804010223.m312NYj1017955@cvs-int.fedora.redhat.com> Author: caillon Update of /cvs/extras/rpms/firefox/F-9 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17914 Modified Files: firefox.spec Log Message: fix version for official sources while in pre-release Index: firefox.spec =================================================================== RCS file: /cvs/extras/rpms/firefox/F-9/firefox.spec,v retrieving revision 1.290 retrieving revision 1.291 diff -u -r1.290 -r1.291 --- firefox.spec 31 Mar 2008 23:28:27 -0000 1.290 +++ firefox.spec 1 Apr 2008 02:22:19 -0000 1.291 @@ -26,7 +26,7 @@ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet %if %{official_branding} -%define tarball firefox-%{version}-source.tar.bz2 +%define tarball firefox-%{version_internal}-source.tar.bz2 %else %define tarball mozilla-%{cvsdate}.tar.bz2 %endif From fedora-extras-commits at redhat.com Tue Apr 1 02:46:25 2008 From: fedora-extras-commits at redhat.com (Akira Tagoh (tagoh)) Date: Tue, 1 Apr 2008 02:46:25 GMT Subject: rpms/man-pages-ja/devel .cvsignore, 1.53, 1.54 man-pages-ja.spec, 1.61, 1.62 sources, 1.52, 1.53 Message-ID: <200804010246.m312kPAW018265@cvs-int.fedora.redhat.com> Author: tagoh Update of /cvs/pkgs/rpms/man-pages-ja/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18241 Modified Files: .cvsignore man-pages-ja.spec sources Log Message: * Tue Apr 1 2008 Akira TAGOH - 20080315-1 - updates to 20080315. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/man-pages-ja/devel/.cvsignore,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- .cvsignore 21 Feb 2008 01:40:17 -0000 1.53 +++ .cvsignore 1 Apr 2008 02:45:46 -0000 1.54 @@ -40,3 +40,4 @@ man-pages-ja-20071119.tar.gz man-pages-ja-20071215.tar.gz man-pages-ja-20080215.tar.gz +man-pages-ja-20080315.tar.gz Index: man-pages-ja.spec =================================================================== RCS file: /cvs/pkgs/rpms/man-pages-ja/devel/man-pages-ja.spec,v retrieving revision 1.61 retrieving revision 1.62 diff -u -r1.61 -r1.62 --- man-pages-ja.spec 21 Feb 2008 01:40:17 -0000 1.61 +++ man-pages-ja.spec 1 Apr 2008 02:45:46 -0000 1.62 @@ -1,7 +1,7 @@ %define use_utf8 1 Name: man-pages-ja -Version: 20080215 +Version: 20080315 Release: 1%{?dist} # Actual license for each Japanese manpages is the same to the original English manpages' license. License: Freely redistributable without restriction @@ -115,6 +115,9 @@ %changelog +* Tue Apr 1 2008 Akira TAGOH - 20080315-1 +- updates to 20080315. + * Thu Feb 21 2008 Akira TAGOH - 20080215-1 - updates to 20080215. - Apply man-pages-ja-358081-sysctl-warn.patch from RHEL. Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/man-pages-ja/devel/sources,v retrieving revision 1.52 retrieving revision 1.53 diff -u -r1.52 -r1.53 --- sources 21 Feb 2008 01:40:17 -0000 1.52 +++ sources 1 Apr 2008 02:45:46 -0000 1.53 @@ -1 +1 @@ -ce8820c74168ca73afc6aa5543a6f900 man-pages-ja-20080215.tar.gz +8d2dcacdef7c27cc3c248ddcd587caef man-pages-ja-20080315.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 03:14:10 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:14:10 +0000 Subject: [pkgdb] dkim-milter was added for radford Message-ID: <200804010321.m313L7Y2021965@bastion.fedora.phx.redhat.com> Kevin Fenzi (kevin) has added Package dkim-milter with summary DomainKeys Identified Mail sender authentication sendmail milter Kevin Fenzi (kevin) has approved Package dkim-milter Kevin Fenzi (kevin) has added a Fedora devel branch for dkim-milter with an owner of radford Kevin Fenzi (kevin) has approved dkim-milter in Fedora devel Kevin Fenzi (kevin) has approved Package dkim-milter Kevin Fenzi (kevin) has set commit to Approved for cvsextras on dkim-milter (Fedora devel) Kevin Fenzi (kevin) has set build to Approved for cvsextras on dkim-milter (Fedora devel) Kevin Fenzi (kevin) has set checkout to Approved for cvsextras on dkim-milter (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/dkim-milter From fedora-extras-commits at redhat.com Tue Apr 1 03:14:22 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:14:22 +0000 Subject: [pkgdb] dkim-milter (Fedora, devel) updated by kevin Message-ID: <200804010321.m313L7Y5021965@bastion.fedora.phx.redhat.com> Kevin Fenzi (kevin) Approved cvsextras for commit access on dkim-milter (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/dkim-milter From fedora-extras-commits at redhat.com Tue Apr 1 03:14:22 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:14:22 +0000 Subject: [pkgdb] dkim-milter (Fedora, 8) updated by kevin Message-ID: <200804010321.m313L7Y8021965@bastion.fedora.phx.redhat.com> Kevin Fenzi (kevin) added a Fedora 8 branch for dkim-milter Kevin Fenzi (kevin) has set commit to Approved for cvsextras on dkim-milter (Fedora 8) Kevin Fenzi (kevin) has set build to Approved for cvsextras on dkim-milter (Fedora 8) Kevin Fenzi (kevin) has set checkout to Approved for cvsextras on dkim-milter (Fedora 8) Kevin Fenzi (kevin) Approved cvsextras for commit access on dkim-milter (Fedora 8) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/dkim-milter From fedora-extras-commits at redhat.com Tue Apr 1 03:14:04 2008 From: fedora-extras-commits at redhat.com (Kevin Fenzi (kevin)) Date: Tue, 1 Apr 2008 03:14:04 GMT Subject: rpms/dkim-milter - New directory Message-ID: <200804010314.m313E4t9024505@cvs-int.fedora.redhat.com> Author: kevin Update of /cvs/extras/rpms/dkim-milter In directory cvs-int.fedora.redhat.com:/home/fedora/kevin/CVSROOT/admin/tmpcvsI24473/rpms/dkim-milter Log Message: Directory /cvs/extras/rpms/dkim-milter added to the repository From fedora-extras-commits at redhat.com Tue Apr 1 03:14:12 2008 From: fedora-extras-commits at redhat.com (Kevin Fenzi (kevin)) Date: Tue, 1 Apr 2008 03:14:12 GMT Subject: rpms/dkim-milter/devel - New directory Message-ID: <200804010314.m313ECJp024519@cvs-int.fedora.redhat.com> Author: kevin Update of /cvs/extras/rpms/dkim-milter/devel In directory cvs-int.fedora.redhat.com:/home/fedora/kevin/CVSROOT/admin/tmpcvsI24473/rpms/dkim-milter/devel Log Message: Directory /cvs/extras/rpms/dkim-milter/devel added to the repository From fedora-extras-commits at redhat.com Tue Apr 1 03:14:18 2008 From: fedora-extras-commits at redhat.com (Kevin Fenzi (kevin)) Date: Tue, 1 Apr 2008 03:14:18 GMT Subject: rpms/dkim-milter Makefile,NONE,1.1 import.log,NONE,1.1 Message-ID: <200804010314.m313EI27024546@cvs-int.fedora.redhat.com> Author: kevin Update of /cvs/extras/rpms/dkim-milter In directory cvs-int.fedora.redhat.com:/home/fedora/kevin/CVSROOT/admin/tmpcvsI24473/rpms/dkim-milter Added Files: Makefile import.log Log Message: Setup of module dkim-milter --- NEW FILE Makefile --- # Top level Makefile for module dkim-milter all : CVS/Root common-update @cvs update common-update : common @cd common && cvs update common : CVS/Root @cvs checkout common CVS/Root : @echo "ERROR: This does not look like a CVS checkout" && exit 1 clean : @find . -type f -name *~ -exec rm -fv {} \; --- NEW FILE import.log --- From fedora-extras-commits at redhat.com Tue Apr 1 03:14:25 2008 From: fedora-extras-commits at redhat.com (Kevin Fenzi (kevin)) Date: Tue, 1 Apr 2008 03:14:25 GMT Subject: rpms/dkim-milter/devel .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 sources, NONE, 1.1 Message-ID: <200804010314.m313EP7D024562@cvs-int.fedora.redhat.com> Author: kevin Update of /cvs/extras/rpms/dkim-milter/devel In directory cvs-int.fedora.redhat.com:/home/fedora/kevin/CVSROOT/admin/tmpcvsI24473/rpms/dkim-milter/devel Added Files: .cvsignore Makefile sources Log Message: Setup of module dkim-milter --- NEW FILE .cvsignore --- --- NEW FILE Makefile --- # Makefile for source rpm: dkim-milter # $Id: Makefile,v 1.1 2008/04/01 03:14:19 kevin Exp $ NAME := dkim-milter SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) ifeq ($(MAKEFILE_COMMON),) # attept a checkout define checkout-makefile-common test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 endef MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) endif include $(MAKEFILE_COMMON) --- NEW FILE sources --- From fedora-extras-commits at redhat.com Tue Apr 1 03:18:20 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:18:20 +0000 Subject: [pkgdb] php-pear-Mail-mimeDecode was added for static Message-ID: <200804010325.m313PHA7022229@bastion.fedora.phx.redhat.com> Kevin Fenzi (kevin) has added Package php-pear-Mail-mimeDecode with summary transcodes mime messages Kevin Fenzi (kevin) has approved Package php-pear-Mail-mimeDecode Kevin Fenzi (kevin) has added a Fedora devel branch for php-pear-Mail-mimeDecode with an owner of static Kevin Fenzi (kevin) has approved php-pear-Mail-mimeDecode in Fedora devel Kevin Fenzi (kevin) has approved Package php-pear-Mail-mimeDecode Kevin Fenzi (kevin) has set commit to Approved for cvsextras on php-pear-Mail-mimeDecode (Fedora devel) Kevin Fenzi (kevin) has set build to Approved for cvsextras on php-pear-Mail-mimeDecode (Fedora devel) Kevin Fenzi (kevin) has set checkout to Approved for cvsextras on php-pear-Mail-mimeDecode (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/php-pear-Mail-mimeDecode From fedora-extras-commits at redhat.com Tue Apr 1 03:18:32 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:18:32 +0000 Subject: [pkgdb] php-pear-Mail-mimeDecode (Fedora, devel) updated by kevin Message-ID: <200804010325.m313PHAB022229@bastion.fedora.phx.redhat.com> Kevin Fenzi (kevin) approved watchbugzilla on php-pear-Mail-mimeDecode (Fedora devel) for limb Kevin Fenzi (kevin) approved watchcommits on php-pear-Mail-mimeDecode (Fedora devel) for limb Kevin Fenzi (kevin) approved commit on php-pear-Mail-mimeDecode (Fedora devel) for limb Kevin Fenzi (kevin) approved build on php-pear-Mail-mimeDecode (Fedora devel) for limb Kevin Fenzi (kevin) approved approveacls on php-pear-Mail-mimeDecode (Fedora devel) for limb Kevin Fenzi (kevin) approved watchbugzilla on php-pear-Mail-mimeDecode (Fedora devel) for remi Kevin Fenzi (kevin) approved watchcommits on php-pear-Mail-mimeDecode (Fedora devel) for remi Kevin Fenzi (kevin) approved commit on php-pear-Mail-mimeDecode (Fedora devel) for remi Kevin Fenzi (kevin) approved build on php-pear-Mail-mimeDecode (Fedora devel) for remi Kevin Fenzi (kevin) approved approveacls on php-pear-Mail-mimeDecode (Fedora devel) for remi Kevin Fenzi (kevin) Approved cvsextras for commit access on php-pear-Mail-mimeDecode (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/php-pear-Mail-mimeDecode From fedora-extras-commits at redhat.com Tue Apr 1 03:18:33 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:18:33 +0000 Subject: [pkgdb] php-pear-Mail-mimeDecode (Fedora, 8) updated by kevin Message-ID: <200804010325.m313PWqv022274@bastion.fedora.phx.redhat.com> Kevin Fenzi (kevin) added a Fedora 8 branch for php-pear-Mail-mimeDecode Kevin Fenzi (kevin) has set commit to Approved for cvsextras on php-pear-Mail-mimeDecode (Fedora 8) Kevin Fenzi (kevin) has set build to Approved for cvsextras on php-pear-Mail-mimeDecode (Fedora 8) Kevin Fenzi (kevin) has set checkout to Approved for cvsextras on php-pear-Mail-mimeDecode (Fedora 8) Kevin Fenzi (kevin) approved watchbugzilla on php-pear-Mail-mimeDecode (Fedora 8) for limb Kevin Fenzi (kevin) approved watchcommits on php-pear-Mail-mimeDecode (Fedora 8) for limb Kevin Fenzi (kevin) approved commit on php-pear-Mail-mimeDecode (Fedora 8) for limb Kevin Fenzi (kevin) approved build on php-pear-Mail-mimeDecode (Fedora 8) for limb Kevin Fenzi (kevin) approved approveacls on php-pear-Mail-mimeDecode (Fedora 8) for limb Kevin Fenzi (kevin) approved watchbugzilla on php-pear-Mail-mimeDecode (Fedora 8) for remi Kevin Fenzi (kevin) approved watchcommits on php-pear-Mail-mimeDecode (Fedora 8) for remi Kevin Fenzi (kevin) approved commit on php-pear-Mail-mimeDecode (Fedora 8) for remi Kevin Fenzi (kevin) approved build on php-pear-Mail-mimeDecode (Fedora 8) for remi Kevin Fenzi (kevin) approved approveacls on php-pear-Mail-mimeDecode (Fedora 8) for remi Kevin Fenzi (kevin) Approved cvsextras for commit access on php-pear-Mail-mimeDecode (Fedora 8) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/php-pear-Mail-mimeDecode From fedora-extras-commits at redhat.com Tue Apr 1 03:18:19 2008 From: fedora-extras-commits at redhat.com (Kevin Fenzi (kevin)) Date: Tue, 1 Apr 2008 03:18:19 GMT Subject: rpms/php-pear-Mail-mimeDecode - New directory Message-ID: <200804010318.m313IJ5m024718@cvs-int.fedora.redhat.com> Author: kevin Update of /cvs/extras/rpms/php-pear-Mail-mimeDecode In directory cvs-int.fedora.redhat.com:/home/fedora/kevin/CVSROOT/admin/tmpcvso24688/rpms/php-pear-Mail-mimeDecode Log Message: Directory /cvs/extras/rpms/php-pear-Mail-mimeDecode added to the repository From fedora-extras-commits at redhat.com Tue Apr 1 03:18:25 2008 From: fedora-extras-commits at redhat.com (Kevin Fenzi (kevin)) Date: Tue, 1 Apr 2008 03:18:25 GMT Subject: rpms/php-pear-Mail-mimeDecode/devel - New directory Message-ID: <200804010318.m313IPFo024732@cvs-int.fedora.redhat.com> Author: kevin Update of /cvs/extras/rpms/php-pear-Mail-mimeDecode/devel In directory cvs-int.fedora.redhat.com:/home/fedora/kevin/CVSROOT/admin/tmpcvso24688/rpms/php-pear-Mail-mimeDecode/devel Log Message: Directory /cvs/extras/rpms/php-pear-Mail-mimeDecode/devel added to the repository From fedora-extras-commits at redhat.com Tue Apr 1 03:18:31 2008 From: fedora-extras-commits at redhat.com (Kevin Fenzi (kevin)) Date: Tue, 1 Apr 2008 03:18:31 GMT Subject: rpms/php-pear-Mail-mimeDecode Makefile, NONE, 1.1 import.log, NONE, 1.1 Message-ID: <200804010318.m313IVSj024759@cvs-int.fedora.redhat.com> Author: kevin Update of /cvs/extras/rpms/php-pear-Mail-mimeDecode In directory cvs-int.fedora.redhat.com:/home/fedora/kevin/CVSROOT/admin/tmpcvso24688/rpms/php-pear-Mail-mimeDecode Added Files: Makefile import.log Log Message: Setup of module php-pear-Mail-mimeDecode --- NEW FILE Makefile --- # Top level Makefile for module php-pear-Mail-mimeDecode all : CVS/Root common-update @cvs update common-update : common @cd common && cvs update common : CVS/Root @cvs checkout common CVS/Root : @echo "ERROR: This does not look like a CVS checkout" && exit 1 clean : @find . -type f -name *~ -exec rm -fv {} \; --- NEW FILE import.log --- From fedora-extras-commits at redhat.com Tue Apr 1 03:18:39 2008 From: fedora-extras-commits at redhat.com (Kevin Fenzi (kevin)) Date: Tue, 1 Apr 2008 03:18:39 GMT Subject: rpms/php-pear-Mail-mimeDecode/devel .cvsignore, NONE, 1.1 Makefile, NONE, 1.1 sources, NONE, 1.1 Message-ID: <200804010318.m313IdWU024778@cvs-int.fedora.redhat.com> Author: kevin Update of /cvs/extras/rpms/php-pear-Mail-mimeDecode/devel In directory cvs-int.fedora.redhat.com:/home/fedora/kevin/CVSROOT/admin/tmpcvso24688/rpms/php-pear-Mail-mimeDecode/devel Added Files: .cvsignore Makefile sources Log Message: Setup of module php-pear-Mail-mimeDecode --- NEW FILE .cvsignore --- --- NEW FILE Makefile --- # Makefile for source rpm: php-pear-Mail-mimeDecode # $Id: Makefile,v 1.1 2008/04/01 03:18:31 kevin Exp $ NAME := php-pear-Mail-mimeDecode SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) ifeq ($(MAKEFILE_COMMON),) # attept a checkout define checkout-makefile-common test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 endef MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) endif include $(MAKEFILE_COMMON) --- NEW FILE sources --- From fedora-extras-commits at redhat.com Tue Apr 1 03:27:00 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:00 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010333.m313Xvxo022570@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the commit acl on firefox (Fedora 9) to Approved for Jonathan Blandford (jrb) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:26:03 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:26:03 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313Y2ZP022595@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Jonathan Blandford (jrb) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:26:08 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:26:08 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313Y2ZU022595@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for John (J5) Palmieri (johnp) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:11 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:11 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313Xvxt022570@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for John (J5) Palmieri (johnp) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:26:16 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:26:16 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YFPS022670@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for Kristian H?gsberg (krh) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:20 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:20 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YI7s022695@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Kristian H?gsberg (krh) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:26:25 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:26:25 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YFPX022670@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for Carl Worth (cworth) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:29 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:29 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YI7x022695@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Carl Worth (cworth) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:26:34 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:26:34 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YXdr022786@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for Alexander Larsson (alexl) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:38 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:38 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YanA022810@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Alexander Larsson (alexl) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:41 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:41 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YanF022810@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for Matthew Barnes (mbarnes) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:26:44 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:26:44 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YXdw022786@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the commit acl on firefox (Fedora 9) to Approved for Soren Sandmann Pedersen (ssp) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:46 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:46 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YiLS022887@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for Soren Sandmann Pedersen (ssp) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:26:49 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:26:49 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YneH022925@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the commit acl on firefox (Fedora 9) to Approved for David Zeuthen (davidz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:52 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:52 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YiLX022887@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for David Zeuthen (davidz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:26:55 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:26:55 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YneM022925@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Obsolete for Christopher Aillon (caillon) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:58 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:58 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010334.m313YuSk022999@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchbugzilla acl on firefox (Fedora 9) to Obsolete for Christopher Aillon (caillon) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:01 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:01 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313Z1XE023033@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for Caolan McNamara (caolanm) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:28:04 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:28:04 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313YuSo022999@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Caolan McNamara (caolanm) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:07 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:07 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313Z1XJ023033@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for Adam Jackson (ajax) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:28:10 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:28:10 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313Z8VP023111@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Adam Jackson (ajax) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:13 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:13 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313ZDN5023144@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for Bastien Nocera (hadess) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:28:16 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:28:16 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313Z8VU023111@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Bastien Nocera (hadess) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:19 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:19 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313ZDNA023144@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for Matthias Clasen (mclasen) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:28:22 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:28:22 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313ZKe0023227@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Matthias Clasen (mclasen) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:25 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:25 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313ZOfA023268@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the build acl on firefox (Fedora 9) to Approved for Ray Strode (rstrode) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:28:28 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:28:28 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313ZKe5023227@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Ray Strode (rstrode) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:32 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:32 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313ZOfF023268@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the commit acl on firefox (Fedora 9) to Denied for Monty (xiphmont) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:37 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:37 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313ZbFt023364@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Monty (xiphmont) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:28:40 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:28:40 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313ZcIk023385@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the commit acl on firefox (Fedora 9) to Approved for Richard Hughes (rhughes) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:27:43 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 03:27:43 +0000 Subject: [pkgdb] firefox had acl change status Message-ID: <200804010335.m313ZbG0023364@bastion.fedora.phx.redhat.com> Toshio ???? (toshio) has set the watchcommits acl on firefox (Fedora 9) to Approved for Richard Hughes (rhughes) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/firefox From fedora-extras-commits at redhat.com Tue Apr 1 03:28:06 2008 From: fedora-extras-commits at redhat.com (Lillian Angel (langel)) Date: Tue, 1 Apr 2008 03:28:06 GMT Subject: rpms/java-1.6.0-openjdk/devel .cvsignore, 1.13, 1.14 java-1.6.0-openjdk.spec, 1.16, 1.17 sources, 1.12, 1.13 Message-ID: <200804010328.m313S6rk025028@cvs-int.fedora.redhat.com> Author: langel Update of /cvs/pkgs/rpms/java-1.6.0-openjdk/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24981 Modified Files: .cvsignore java-1.6.0-openjdk.spec sources Log Message: * Mon Mar 31 2008 Lillian Angel - 1:1.6.0.0-0.7.b08 - Updated icedteasnapshot. Includes sources needed to build xmlgraphics-commons. - Updated release. - Resolves: rhbz#439676 Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/java-1.6.0-openjdk/devel/.cvsignore,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- .cvsignore 28 Mar 2008 12:35:58 -0000 1.13 +++ .cvsignore 1 Apr 2008 03:27:29 -0000 1.14 @@ -2,4 +2,4 @@ java-access-bridge-1.22.0.tar.gz mauve-2008-03-11.tar.gz openjdk-6-src-b08-26_mar_2008-fedora.tar.gz -icedtea6-1.0-07a26d70e24ffa3678b0817715837ceb77b17ba4.tar.gz +icedtea6-1.0-0fd2fbf0dfd0a8102c1af5316a528c6b1fa05e8d.tar.gz Index: java-1.6.0-openjdk.spec =================================================================== RCS file: /cvs/pkgs/rpms/java-1.6.0-openjdk/devel/java-1.6.0-openjdk.spec,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- java-1.6.0-openjdk.spec 28 Mar 2008 12:35:58 -0000 1.16 +++ java-1.6.0-openjdk.spec 1 Apr 2008 03:27:29 -0000 1.17 @@ -4,7 +4,7 @@ %define gcjbootstrap 0 %define icedteaver 1.0 -%define icedteasnapshot -07a26d70e24ffa3678b0817715837ceb77b17ba4 +%define icedteasnapshot -0fd2fbf0dfd0a8102c1af5316a528c6b1fa05e8d %define openjdkver b08 %define openjdkdate 26_mar_2008 @@ -101,7 +101,7 @@ Name: java-%{javaver}-%{origin} Version: %{javaver}.%{buildver} -Release: 0.6.%{openjdkver}%{?dist} +Release: 0.7.%{openjdkver}%{?dist} # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons, # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a @@ -786,13 +786,18 @@ %{_jvmdir}/%{jredir}/lib/%{archinstall}/gcjwebplugin.so %changelog -* Fri Mar 28 2008 Lillian Angel - 1:1.6.0.0-0.6.b06 +* Mon Mar 31 2008 Lillian Angel - 1:1.6.0.0-0.7.b08 +- Updated icedteasnapshot. Includes sources needed to build xmlgraphics-commons. +- Updated release. +- Resolves: rhbz#439676 + +* Fri Mar 28 2008 Lillian Angel - 1:1.6.0.0-0.6.b08 - Updated icedteasnapshot to fix ppc failure. -* Thu Mar 27 2008 Lillian Angel - 1:1.6.0.0-0.6.b06 +* Thu Mar 27 2008 Lillian Angel - 1:1.6.0.0-0.6.b08 - Removed iconv of THIRD_PARTY_README. -* Thu Mar 27 2008 Lillian Angel - 1:1.6.0.0-0.6.b06 +* Thu Mar 27 2008 Lillian Angel - 1:1.6.0.0-0.6.b08 - Updated icedteasnapshot. - Updated openjdkver and openjdkdate. - Removed java-1.6.0-openjdk-trademark.patch. Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/java-1.6.0-openjdk/devel/sources,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- sources 28 Mar 2008 12:35:58 -0000 1.12 +++ sources 1 Apr 2008 03:27:29 -0000 1.13 @@ -2,4 +2,4 @@ 11d8e6129f27792cc1b0e1a7de2ec127 java-access-bridge-1.22.0.tar.gz 079e5dc01f2a8720ee3b3dd39119a601 mauve-2008-03-11.tar.gz a94e67f3182d49902572153fa86f774e openjdk-6-src-b08-26_mar_2008-fedora.tar.gz -5338be7d5c943349854f704642404089 icedtea6-1.0-07a26d70e24ffa3678b0817715837ceb77b17ba4.tar.gz +0da9ac0f77805fa6da6ebd197f8e7be8 icedtea6-1.0-0fd2fbf0dfd0a8102c1af5316a528c6b1fa05e8d.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 03:28:13 2008 From: fedora-extras-commits at redhat.com (Transifex System User (transif)) Date: Tue, 1 Apr 2008 03:28:13 GMT Subject: comps/po pt_BR.po,1.10,1.11 Message-ID: <200804010328.m313SDhu025034@cvs-int.fedora.redhat.com> Author: transif Update of /cvs/pkgs/comps/po In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25009/po Modified Files: pt_BR.po Log Message: 2008-04-01 Igor Pires Soares (via igor at fedoraproject.org) * po/pt_BR.po: Revision for F9 Index: pt_BR.po =================================================================== RCS file: /cvs/pkgs/comps/po/pt_BR.po,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- pt_BR.po 20 Mar 2008 15:24:14 -0000 1.10 +++ pt_BR.po 1 Apr 2008 03:27:43 -0000 1.11 @@ -10,16 +10,16 @@ # Rodrigo Padula de Oliveira , 2005. # Diego B??rigo Zacar??o , 2006. # Valnir Ferreira Jr. , 2006. -# Igor Pires Soares , 2006. # Diego B??rigo Zacar??o , 2008. +# Igor Pires Soares , 2006,2007,2008. msgid "" msgstr "" "Project-Id-Version: comps.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2008-03-20 11:23-0400\n" -"PO-Revision-Date: 2008-02-21 13:57-0300\n" -"Last-Translator: Diego B??rigo Zacar??o \n" -"Language-Team: Brazilian Portuguese \n" +"PO-Revision-Date: 2008-04-01 00:21-0300\n" +"Last-Translator: Igor Pires Soares \n" +"Language-Team: Brazilian Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -28,163 +28,246 @@ "X-Poedit-Country: BRAZIL\n" "X-Generator: KBabel 1.11.4\n" -#: ../comps-f7.xml.in.h:1 ../comps-f8.xml.in.h:1 ../comps-f9.xml.in.h:1 +#: ../comps-f7.xml.in.h:1 +#: ../comps-f8.xml.in.h:1 +#: ../comps-f9.xml.in.h:1 msgid "A lightweight desktop environment that works well on low end machines." -msgstr "" -"Um ambiente de trabalho leve que funciona bem em m??quinas de baixo custo." +msgstr "Um ambiente de trabalho leve que funciona bem em m??quinas de baixo custo." -#: ../comps-f7.xml.in.h:2 ../comps-f8.xml.in.h:2 ../comps-f9.xml.in.h:2 -#: ../comps-el4.xml.in.h:1 ../comps-el5.xml.in.h:1 +#: ../comps-f7.xml.in.h:2 +#: ../comps-f8.xml.in.h:2 +#: ../comps-f9.xml.in.h:2 +#: ../comps-el4.xml.in.h:1 +#: ../comps-el5.xml.in.h:1 msgid "Administration Tools" msgstr "Ferramentas Administrativas" -#: ../comps-f7.xml.in.h:3 ../comps-f8.xml.in.h:3 ../comps-f9.xml.in.h:3 +#: ../comps-f7.xml.in.h:3 +#: ../comps-f8.xml.in.h:3 +#: ../comps-f9.xml.in.h:3 msgid "Afrikaans Support" msgstr "Suporte ?? Afrikaans" -#: ../comps-f7.xml.in.h:4 ../comps-f8.xml.in.h:4 ../comps-f9.xml.in.h:4 +#: ../comps-f7.xml.in.h:4 +#: ../comps-f8.xml.in.h:4 +#: ../comps-f9.xml.in.h:4 msgid "Albanian Support" msgstr "Suporte ?? Alban??s" -#: ../comps-f7.xml.in.h:5 ../comps-f8.xml.in.h:5 ../comps-f9.xml.in.h:5 -#: ../comps-el4.xml.in.h:2 ../comps-el5.xml.in.h:2 +#: ../comps-f7.xml.in.h:5 +#: ../comps-f8.xml.in.h:5 +#: ../comps-f9.xml.in.h:5 +#: ../comps-el4.xml.in.h:2 +#: ../comps-el5.xml.in.h:2 msgid "Applications" msgstr "Aplica????es" -#: ../comps-f7.xml.in.h:6 ../comps-f8.xml.in.h:6 ../comps-f9.xml.in.h:6 +#: ../comps-f7.xml.in.h:6 +#: ../comps-f8.xml.in.h:6 +#: ../comps-f9.xml.in.h:6 msgid "Applications to perform a variety of tasks" msgstr "Aplica????es para realizar uma variedade de tarefas" -#: ../comps-f7.xml.in.h:7 ../comps-f8.xml.in.h:7 ../comps-f9.xml.in.h:7 -#: ../comps-el4.xml.in.h:4 ../comps-el5.xml.in.h:4 +#: ../comps-f7.xml.in.h:7 +#: ../comps-f8.xml.in.h:7 +#: ../comps-f9.xml.in.h:7 +#: ../comps-el4.xml.in.h:4 +#: ../comps-el5.xml.in.h:4 msgid "Arabic Support" msgstr "Suporte ?? ??rabe" -#: ../comps-f7.xml.in.h:8 ../comps-f8.xml.in.h:8 ../comps-f9.xml.in.h:8 -#: ../comps-el4.xml.in.h:5 ../comps-el5.xml.in.h:5 +#: ../comps-f7.xml.in.h:8 +#: ../comps-f8.xml.in.h:8 +#: ../comps-f9.xml.in.h:8 +#: ../comps-el4.xml.in.h:5 +#: ../comps-el5.xml.in.h:5 msgid "Armenian Support" msgstr "Suporte ?? Arm??nio" -#: ../comps-f7.xml.in.h:9 ../comps-f8.xml.in.h:9 ../comps-f9.xml.in.h:9 +#: ../comps-f7.xml.in.h:9 +#: ../comps-f8.xml.in.h:9 +#: ../comps-f9.xml.in.h:9 msgid "Assamese Support" msgstr "Suporte ?? Assam??s" -#: ../comps-f7.xml.in.h:10 ../comps-f8.xml.in.h:10 ../comps-f9.xml.in.h:10 -#: ../comps-el4.xml.in.h:6 ../comps-el5.xml.in.h:6 +#: ../comps-f7.xml.in.h:10 +#: ../comps-f8.xml.in.h:10 +#: ../comps-f9.xml.in.h:10 +#: ../comps-el4.xml.in.h:6 +#: ../comps-el5.xml.in.h:6 msgid "Authoring and Publishing" msgstr "Autoria e Publica????o" -#: ../comps-f7.xml.in.h:11 ../comps-f8.xml.in.h:11 ../comps-f9.xml.in.h:11 +#: ../comps-f7.xml.in.h:11 +#: ../comps-f8.xml.in.h:11 +#: ../comps-f9.xml.in.h:11 msgid "Base" msgstr "Base" -#: ../comps-f7.xml.in.h:12 ../comps-f8.xml.in.h:12 ../comps-f9.xml.in.h:12 -#: ../comps-el4.xml.in.h:7 ../comps-el5.xml.in.h:7 +#: ../comps-f7.xml.in.h:12 +#: ../comps-f8.xml.in.h:12 +#: ../comps-f9.xml.in.h:12 +#: ../comps-el4.xml.in.h:7 +#: ../comps-el5.xml.in.h:7 msgid "Base System" msgstr "Sistema B??sico" -#: ../comps-f7.xml.in.h:13 ../comps-f8.xml.in.h:13 ../comps-f9.xml.in.h:13 +#: ../comps-f7.xml.in.h:13 +#: ../comps-f8.xml.in.h:13 +#: ../comps-f9.xml.in.h:13 msgid "Basic support for the Ruby programming language." msgstr "Suporte b??sico ?? linguagem de programa????o Ruby." -#: ../comps-f7.xml.in.h:14 ../comps-f8.xml.in.h:14 ../comps-f9.xml.in.h:14 +#: ../comps-f7.xml.in.h:14 +#: ../comps-f8.xml.in.h:14 +#: ../comps-f9.xml.in.h:14 msgid "Basque Support" msgstr "Suporte ?? Basco" -#: ../comps-f7.xml.in.h:15 ../comps-f8.xml.in.h:15 ../comps-f9.xml.in.h:15 +#: ../comps-f7.xml.in.h:15 +#: ../comps-f8.xml.in.h:15 +#: ../comps-f9.xml.in.h:15 msgid "Belarusian Support" msgstr "Suporte ?? Bielo-russo" -#: ../comps-f7.xml.in.h:16 ../comps-f8.xml.in.h:16 ../comps-f9.xml.in.h:16 +#: ../comps-f7.xml.in.h:16 +#: ../comps-f8.xml.in.h:16 +#: ../comps-f9.xml.in.h:16 msgid "Bengali Support" msgstr "Suporte ?? Bengali" -#: ../comps-f7.xml.in.h:17 ../comps-f8.xml.in.h:17 ../comps-f9.xml.in.h:17 +#: ../comps-f7.xml.in.h:17 +#: ../comps-f8.xml.in.h:17 +#: ../comps-f9.xml.in.h:17 msgid "Bhutanese Support" msgstr "Suporte ?? Butan??s" -#: ../comps-f7.xml.in.h:18 ../comps-f8.xml.in.h:18 ../comps-f9.xml.in.h:18 +#: ../comps-f7.xml.in.h:18 +#: ../comps-f8.xml.in.h:18 +#: ../comps-f9.xml.in.h:18 msgid "Bosnian Support" msgstr "Suporte ?? B??snio" -#: ../comps-f7.xml.in.h:19 ../comps-f8.xml.in.h:19 ../comps-f9.xml.in.h:19 +#: ../comps-f7.xml.in.h:19 +#: ../comps-f8.xml.in.h:19 +#: ../comps-f9.xml.in.h:19 msgid "Brazilian Portuguese Support" msgstr "Suporte ?? Portugu??s Brasileiro" -#: ../comps-f7.xml.in.h:20 ../comps-f8.xml.in.h:20 ../comps-f9.xml.in.h:20 +#: ../comps-f7.xml.in.h:20 +#: ../comps-f8.xml.in.h:20 +#: ../comps-f9.xml.in.h:20 msgid "Breton Support" msgstr "Suporte ?? Bret??o" -#: ../comps-f7.xml.in.h:21 ../comps-f8.xml.in.h:22 ../comps-f9.xml.in.h:22 +#: ../comps-f7.xml.in.h:21 +#: ../comps-f8.xml.in.h:22 +#: ../comps-f9.xml.in.h:22 msgid "Bulgarian Support" msgstr "Suporte ?? B??lgaro" -#: ../comps-f7.xml.in.h:22 ../comps-f8.xml.in.h:23 ../comps-f9.xml.in.h:23 +#: ../comps-f7.xml.in.h:22 +#: ../comps-f8.xml.in.h:23 +#: ../comps-f9.xml.in.h:23 msgid "Catalan Support" msgstr "Suporte ?? Catal??o" -#: ../comps-f7.xml.in.h:23 ../comps-f8.xml.in.h:24 ../comps-f9.xml.in.h:24 +#: ../comps-f7.xml.in.h:23 +#: ../comps-f8.xml.in.h:24 +#: ../comps-f9.xml.in.h:24 msgid "Chinese Support" msgstr "Suporte ?? Chin??s" -#: ../comps-f7.xml.in.h:24 ../comps-f8.xml.in.h:25 ../comps-f9.xml.in.h:25 +#: ../comps-f7.xml.in.h:24 +#: ../comps-f8.xml.in.h:25 +#: ../comps-f9.xml.in.h:25 msgid "Clustering" msgstr "Clustering" -#: ../comps-f7.xml.in.h:25 ../comps-f8.xml.in.h:26 ../comps-f9.xml.in.h:26 +#: ../comps-f7.xml.in.h:25 +#: ../comps-f8.xml.in.h:26 +#: ../comps-f9.xml.in.h:26 msgid "Clustering Support" msgstr "Suporte a Clusters" -#: ../comps-f7.xml.in.h:26 ../comps-f8.xml.in.h:27 ../comps-f9.xml.in.h:27 +#: ../comps-f7.xml.in.h:26 +#: ../comps-f8.xml.in.h:27 +#: ../comps-f9.xml.in.h:27 msgid "Core" -msgstr "Core" +msgstr "N??cleo" -#: ../comps-f7.xml.in.h:27 ../comps-f8.xml.in.h:28 ../comps-f9.xml.in.h:28 +#: ../comps-f7.xml.in.h:27 +#: ../comps-f8.xml.in.h:28 +#: ../comps-f9.xml.in.h:28 msgid "Croatian Support" msgstr "Suporte ?? Croata" -#: ../comps-f7.xml.in.h:28 ../comps-f8.xml.in.h:29 ../comps-f9.xml.in.h:29 +#: ../comps-f7.xml.in.h:28 +#: ../comps-f8.xml.in.h:29 +#: ../comps-f9.xml.in.h:29 #: ../comps-el5.xml.in.h:8 msgid "Czech Support" msgstr "Suporte ?? Checo" -#: ../comps-f7.xml.in.h:29 ../comps-f8.xml.in.h:30 ../comps-f9.xml.in.h:30 +#: ../comps-f7.xml.in.h:29 +#: ../comps-f8.xml.in.h:30 +#: ../comps-f9.xml.in.h:30 msgid "DNS Name Server" msgstr "Servidor de Nomes DNS" -#: ../comps-f7.xml.in.h:30 ../comps-f8.xml.in.h:31 ../comps-f9.xml.in.h:31 +#: ../comps-f7.xml.in.h:30 +#: ../comps-f8.xml.in.h:31 +#: ../comps-f9.xml.in.h:31 msgid "Danish Support" msgstr "Suporte ?? Dinamarqu??s" -#: ../comps-f7.xml.in.h:31 ../comps-f8.xml.in.h:32 ../comps-f9.xml.in.h:32 -#: ../comps-el4.xml.in.h:8 ../comps-el5.xml.in.h:9 +#: ../comps-f7.xml.in.h:31 +#: ../comps-f8.xml.in.h:32 +#: ../comps-f9.xml.in.h:32 +#: ../comps-el4.xml.in.h:8 +#: ../comps-el5.xml.in.h:9 msgid "Desktop Environments" msgstr "Ambientes de Trabalho" -#: ../comps-f7.xml.in.h:32 ../comps-f8.xml.in.h:33 ../comps-f9.xml.in.h:33 -#: ../comps-el4.xml.in.h:9 ../comps-el5.xml.in.h:10 +#: ../comps-f7.xml.in.h:32 +#: ../comps-f8.xml.in.h:33 +#: ../comps-f9.xml.in.h:33 +#: ../comps-el4.xml.in.h:9 +#: ../comps-el5.xml.in.h:10 msgid "Desktop environments" msgstr "Ambientes de trabalho" -#: ../comps-f7.xml.in.h:33 ../comps-f8.xml.in.h:34 ../comps-f9.xml.in.h:34 -#: ../comps-el4.xml.in.h:10 ../comps-el5.xml.in.h:11 +#: ../comps-f7.xml.in.h:33 +#: ../comps-f8.xml.in.h:34 +#: ../comps-f9.xml.in.h:34 +#: ../comps-el4.xml.in.h:10 +#: ../comps-el5.xml.in.h:11 msgid "Development" msgstr "Desenvolvimento" -#: ../comps-f7.xml.in.h:34 ../comps-f8.xml.in.h:35 ../comps-f9.xml.in.h:35 +#: ../comps-f7.xml.in.h:34 +#: ../comps-f8.xml.in.h:35 +#: ../comps-f9.xml.in.h:35 msgid "Development Libraries" msgstr "Bibliotecas de Desenvolvimento" -#: ../comps-f7.xml.in.h:35 ../comps-f8.xml.in.h:36 ../comps-f9.xml.in.h:36 -#: ../comps-el4.xml.in.h:11 ../comps-el5.xml.in.h:12 +#: ../comps-f7.xml.in.h:35 +#: ../comps-f8.xml.in.h:36 +#: ../comps-f9.xml.in.h:36 +#: ../comps-el4.xml.in.h:11 +#: ../comps-el5.xml.in.h:12 msgid "Development Tools" msgstr "Ferramentas de Desenvolvimento" -#: ../comps-f7.xml.in.h:36 ../comps-f8.xml.in.h:37 ../comps-f9.xml.in.h:37 +#: ../comps-f7.xml.in.h:36 +#: ../comps-f8.xml.in.h:37 +#: ../comps-f9.xml.in.h:37 msgid "Dial-up Networking Support" msgstr "Suporte ?? Rede Dialup" -#: ../comps-f7.xml.in.h:37 ../comps-f8.xml.in.h:38 ../comps-f9.xml.in.h:38 +#: ../comps-f7.xml.in.h:37 +#: ../comps-f8.xml.in.h:38 +#: ../comps-f9.xml.in.h:38 msgid "Dutch Support" msgstr "Suporte ?? Holand??s" @@ -192,492 +275,692 @@ msgid "Eclipse" msgstr "Eclipse" -#: ../comps-f7.xml.in.h:39 ../comps-f8.xml.in.h:39 ../comps-f9.xml.in.h:39 -#: ../comps-el4.xml.in.h:13 ../comps-el5.xml.in.h:14 +#: ../comps-f7.xml.in.h:39 +#: ../comps-f8.xml.in.h:39 +#: ../comps-f9.xml.in.h:39 +#: ../comps-el4.xml.in.h:13 +#: ../comps-el5.xml.in.h:14 msgid "Editors" msgstr "Editores" -#: ../comps-f7.xml.in.h:40 ../comps-f8.xml.in.h:40 ../comps-f9.xml.in.h:40 -#: ../comps-el4.xml.in.h:14 ../comps-el5.xml.in.h:15 +#: ../comps-f7.xml.in.h:40 +#: ../comps-f8.xml.in.h:40 +#: ../comps-f9.xml.in.h:40 +#: ../comps-el4.xml.in.h:14 +#: ../comps-el5.xml.in.h:15 msgid "Educational Software" msgstr "Softwares Educacionais" -#: ../comps-f7.xml.in.h:41 ../comps-f8.xml.in.h:41 ../comps-f9.xml.in.h:41 -#: ../comps-el4.xml.in.h:15 ../comps-el5.xml.in.h:16 +#: ../comps-f7.xml.in.h:41 +#: ../comps-f8.xml.in.h:41 +#: ../comps-f9.xml.in.h:41 +#: ../comps-el4.xml.in.h:15 +#: ../comps-el5.xml.in.h:16 msgid "Educational software for learning" msgstr "Softwares educacionais para aprendizado" -#: ../comps-f7.xml.in.h:42 ../comps-f8.xml.in.h:42 ../comps-f9.xml.in.h:42 -#: ../comps-el4.xml.in.h:16 ../comps-el5.xml.in.h:17 +#: ../comps-f7.xml.in.h:42 +#: ../comps-f8.xml.in.h:42 +#: ../comps-f9.xml.in.h:42 +#: ../comps-el4.xml.in.h:16 +#: ../comps-el5.xml.in.h:17 msgid "Engineering and Scientific" msgstr "Engenharia e Ci??ncia" -#: ../comps-f7.xml.in.h:43 ../comps-f8.xml.in.h:43 ../comps-f9.xml.in.h:43 +#: ../comps-f7.xml.in.h:43 +#: ../comps-f8.xml.in.h:43 +#: ../comps-f9.xml.in.h:43 msgid "English (UK) Support" msgstr "Suporte ?? Ingl??s (Reino Unido)" -#: ../comps-f7.xml.in.h:44 ../comps-f8.xml.in.h:44 ../comps-f9.xml.in.h:44 +#: ../comps-f7.xml.in.h:44 +#: ../comps-f8.xml.in.h:44 +#: ../comps-f9.xml.in.h:44 msgid "Estonian Support" msgstr "Suporte ?? Estoniano" -#: ../comps-f7.xml.in.h:45 ../comps-f8.xml.in.h:45 ../comps-f9.xml.in.h:45 +#: ../comps-f7.xml.in.h:45 +#: ../comps-f8.xml.in.h:45 +#: ../comps-f9.xml.in.h:45 msgid "Ethiopic Support" msgstr "Suporte ?? Et??ope" -#: ../comps-f7.xml.in.h:46 ../comps-f8.xml.in.h:46 ../comps-f9.xml.in.h:46 -#: ../comps-el4.xml.in.h:17 ../comps-el5.xml.in.h:18 +#: ../comps-f7.xml.in.h:46 +#: ../comps-f8.xml.in.h:46 +#: ../comps-f9.xml.in.h:46 +#: ../comps-el4.xml.in.h:17 +#: ../comps-el5.xml.in.h:18 msgid "FTP Server" msgstr "Servidor FTP" -#: ../comps-f7.xml.in.h:47 ../comps-f8.xml.in.h:47 ../comps-f9.xml.in.h:47 +#: ../comps-f7.xml.in.h:47 +#: ../comps-f8.xml.in.h:47 +#: ../comps-f9.xml.in.h:47 msgid "Faeroese Support" msgstr "Suporte ?? Faro??s" -#: ../comps-f7.xml.in.h:48 ../comps-f8.xml.in.h:49 ../comps-f9.xml.in.h:49 -#: ../comps-el4.xml.in.h:18 ../comps-el5.xml.in.h:19 +#: ../comps-f7.xml.in.h:48 +#: ../comps-f8.xml.in.h:49 +#: ../comps-f9.xml.in.h:49 +#: ../comps-el4.xml.in.h:18 +#: ../comps-el5.xml.in.h:19 msgid "Fedora Packager" -msgstr "Empacotador Fedora" +msgstr "Empacotador do Fedora" -#: ../comps-f7.xml.in.h:49 ../comps-f8.xml.in.h:50 ../comps-f9.xml.in.h:50 +#: ../comps-f7.xml.in.h:49 +#: ../comps-f8.xml.in.h:50 +#: ../comps-f9.xml.in.h:50 msgid "Filipino Support" msgstr "Suporte ?? Filipino" -#: ../comps-f7.xml.in.h:50 ../comps-f8.xml.in.h:51 ../comps-f9.xml.in.h:51 +#: ../comps-f7.xml.in.h:50 +#: ../comps-f8.xml.in.h:51 +#: ../comps-f9.xml.in.h:51 msgid "Finnish Support" msgstr "Suporte ?? Finland??s" -#: ../comps-f7.xml.in.h:51 ../comps-f8.xml.in.h:54 ../comps-f9.xml.in.h:54 +#: ../comps-f7.xml.in.h:51 +#: ../comps-f8.xml.in.h:54 +#: ../comps-f9.xml.in.h:54 msgid "French Support" msgstr "Suporte ?? Franc??s" -#: ../comps-f7.xml.in.h:52 ../comps-f8.xml.in.h:55 ../comps-f9.xml.in.h:55 -#: ../comps-el4.xml.in.h:19 ../comps-el5.xml.in.h:20 -msgid "" -"From CD recording to playing audio CDs and multimedia files, this package " -"group allows you to work with sound and video on the system." -msgstr "" -"De grava????o de CDs at?? a reprodu????o de CDs de ??udio e arquivos multim??dia, " -"este grupo de pacotes permite lidar com som e v??deo no sistema." - -#: ../comps-f7.xml.in.h:53 ../comps-f8.xml.in.h:56 ../comps-f9.xml.in.h:56 -#: ../comps-el4.xml.in.h:20 ../comps-el5.xml.in.h:21 +#: ../comps-f7.xml.in.h:52 +#: ../comps-f8.xml.in.h:55 +#: ../comps-f9.xml.in.h:55 +#: ../comps-el4.xml.in.h:19 +#: ../comps-el5.xml.in.h:20 +msgid "From CD recording to playing audio CDs and multimedia files, this package group allows you to work with sound and video on the system." +msgstr "De grava????o de CDs at?? a reprodu????o de CDs de ??udio e arquivos multim??dia, este grupo de pacotes permite lidar com som e v??deo no sistema." + +#: ../comps-f7.xml.in.h:53 +#: ../comps-f8.xml.in.h:56 +#: ../comps-f9.xml.in.h:56 +#: ../comps-el4.xml.in.h:20 +#: ../comps-el5.xml.in.h:21 msgid "GNOME Desktop Environment" msgstr "Ambiente de Trabalho GNOME" -#: ../comps-f7.xml.in.h:54 ../comps-f8.xml.in.h:57 ../comps-f9.xml.in.h:57 -#: ../comps-el4.xml.in.h:21 ../comps-el5.xml.in.h:22 +#: ../comps-f7.xml.in.h:54 +#: ../comps-f8.xml.in.h:57 +#: ../comps-f9.xml.in.h:57 +#: ../comps-el4.xml.in.h:21 +#: ../comps-el5.xml.in.h:22 msgid "GNOME Software Development" msgstr "Desenvolvimento de Software GNOME" -#: ../comps-f7.xml.in.h:55 ../comps-f8.xml.in.h:58 ../comps-f9.xml.in.h:58 -msgid "" -"GNOME is a powerful graphical user interface which includes a panel, " -"desktop, system icons, and a graphical file manager." -msgstr "" -"O GNOME ?? uma poderosa interface gr??fica que inclui um painel, uma ??rea de " -"trabalho, ??cones de sistema e um gerenciador de arquivos gr??fico." - -#: ../comps-f7.xml.in.h:56 ../comps-f8.xml.in.h:59 ../comps-f9.xml.in.h:59 +#: ../comps-f7.xml.in.h:55 +#: ../comps-f8.xml.in.h:58 +#: ../comps-f9.xml.in.h:58 +msgid "GNOME is a powerful graphical user interface which includes a panel, desktop, system icons, and a graphical file manager." +msgstr "O GNOME ?? uma poderosa interface gr??fica que inclui um painel, uma ??rea de trabalho, ??cones de sistema e um gerenciador de arquivos gr??fico." + +#: ../comps-f7.xml.in.h:56 +#: ../comps-f8.xml.in.h:59 +#: ../comps-f9.xml.in.h:59 msgid "Gaelic Support" msgstr "Suporte ?? Ga??lico" -#: ../comps-f7.xml.in.h:57 ../comps-f8.xml.in.h:60 ../comps-f9.xml.in.h:60 +#: ../comps-f7.xml.in.h:57 +#: ../comps-f8.xml.in.h:60 +#: ../comps-f9.xml.in.h:60 msgid "Galician Support" msgstr "Suporte ?? Galego" -#: ../comps-f7.xml.in.h:58 ../comps-f8.xml.in.h:61 ../comps-f9.xml.in.h:61 +#: ../comps-f7.xml.in.h:58 +#: ../comps-f8.xml.in.h:61 +#: ../comps-f9.xml.in.h:61 #: ../comps-el5.xml.in.h:24 msgid "Games and Entertainment" msgstr "Jogos e Entretenimento" -#: ../comps-f7.xml.in.h:59 ../comps-f8.xml.in.h:62 ../comps-f9.xml.in.h:62 +#: ../comps-f7.xml.in.h:59 +#: ../comps-f8.xml.in.h:62 +#: ../comps-f9.xml.in.h:62 msgid "Georgian Support" msgstr "Suporte ?? Georgiano" -#: ../comps-f7.xml.in.h:60 ../comps-f8.xml.in.h:63 ../comps-f9.xml.in.h:63 +#: ../comps-f7.xml.in.h:60 +#: ../comps-f8.xml.in.h:63 +#: ../comps-f9.xml.in.h:63 msgid "German Support" msgstr "Suporte ?? Alem??o" -#: ../comps-f7.xml.in.h:61 ../comps-f8.xml.in.h:64 ../comps-f9.xml.in.h:64 -#: ../comps-el4.xml.in.h:23 ../comps-el5.xml.in.h:25 +#: ../comps-f7.xml.in.h:61 +#: ../comps-f8.xml.in.h:64 +#: ../comps-f9.xml.in.h:64 +#: ../comps-el4.xml.in.h:23 +#: ../comps-el5.xml.in.h:25 msgid "Graphical Internet" msgstr "Internet em Modo Gr??fico" -#: ../comps-f7.xml.in.h:62 ../comps-f8.xml.in.h:65 ../comps-f9.xml.in.h:65 -#: ../comps-el4.xml.in.h:24 ../comps-el5.xml.in.h:26 +#: ../comps-f7.xml.in.h:62 +#: ../comps-f8.xml.in.h:65 +#: ../comps-f9.xml.in.h:65 +#: ../comps-el4.xml.in.h:24 +#: ../comps-el5.xml.in.h:26 msgid "Graphics" msgstr "Gr??ficos" -#: ../comps-f7.xml.in.h:63 ../comps-f8.xml.in.h:66 ../comps-f9.xml.in.h:66 +#: ../comps-f7.xml.in.h:63 +#: ../comps-f8.xml.in.h:66 +#: ../comps-f9.xml.in.h:66 msgid "Greek Support" msgstr "Suporte ?? Grego" -#: ../comps-f7.xml.in.h:64 ../comps-f8.xml.in.h:67 ../comps-f9.xml.in.h:67 +#: ../comps-f7.xml.in.h:64 +#: ../comps-f8.xml.in.h:67 +#: ../comps-f9.xml.in.h:67 msgid "Gujarati Support" msgstr "Suporte ?? Gujarati" -#: ../comps-f7.xml.in.h:65 ../comps-f8.xml.in.h:68 ../comps-f9.xml.in.h:68 -#: ../comps-el4.xml.in.h:25 ../comps-el5.xml.in.h:27 +#: ../comps-f7.xml.in.h:65 +#: ../comps-f8.xml.in.h:68 +#: ../comps-f9.xml.in.h:68 +#: ../comps-el4.xml.in.h:25 +#: ../comps-el5.xml.in.h:27 msgid "Hardware Support" msgstr "Suporte de Hardware" -#: ../comps-f7.xml.in.h:66 ../comps-f8.xml.in.h:69 ../comps-f9.xml.in.h:69 -#: ../comps-el4.xml.in.h:26 ../comps-el5.xml.in.h:28 +#: ../comps-f7.xml.in.h:66 +#: ../comps-f8.xml.in.h:69 +#: ../comps-f9.xml.in.h:69 +#: ../comps-el4.xml.in.h:26 +#: ../comps-el5.xml.in.h:28 msgid "Hebrew Support" msgstr "Suporte ?? Hebraico" -#: ../comps-f7.xml.in.h:67 ../comps-f8.xml.in.h:70 ../comps-f9.xml.in.h:70 +#: ../comps-f7.xml.in.h:67 +#: ../comps-f8.xml.in.h:70 +#: ../comps-f9.xml.in.h:70 msgid "Hindi Support" msgstr "Suporte ?? Hindi" -#: ../comps-f7.xml.in.h:68 ../comps-f8.xml.in.h:71 ../comps-f9.xml.in.h:71 +#: ../comps-f7.xml.in.h:68 +#: ../comps-f8.xml.in.h:71 +#: ../comps-f9.xml.in.h:71 msgid "Hungarian Support" msgstr "Suporte ?? H??ngaro" -#: ../comps-f7.xml.in.h:69 ../comps-f8.xml.in.h:72 ../comps-f9.xml.in.h:72 +#: ../comps-f7.xml.in.h:69 +#: ../comps-f8.xml.in.h:72 +#: ../comps-f9.xml.in.h:72 msgid "Icelandic Support" msgstr "Suporte ?? Island??s" -#: ../comps-f7.xml.in.h:70 ../comps-f8.xml.in.h:73 ../comps-f9.xml.in.h:73 +#: ../comps-f7.xml.in.h:70 +#: ../comps-f8.xml.in.h:73 +#: ../comps-f9.xml.in.h:73 msgid "Indonesian Support" msgstr "Suporte ?? Indon??sio" -#: ../comps-f7.xml.in.h:71 ../comps-f8.xml.in.h:74 ../comps-f9.xml.in.h:74 -#: ../comps-el4.xml.in.h:27 ../comps-el5.xml.in.h:29 -msgid "" -"Install these packages in order to develop GTK+ and GNOME graphical " -"applications." -msgstr "" -"Instale estes pacotes para desenvolver aplica????es gr??ficas GTK+ ou GNOME." - -#: ../comps-f7.xml.in.h:72 ../comps-f8.xml.in.h:75 ../comps-f9.xml.in.h:75 -msgid "" -"Install these packages in order to develop GTK+ and XFCE graphical " -"applications." -msgstr "" -"Instale estes pacotes para desenvolver aplica????es gr??ficas GTK+ e XFCE." - -#: ../comps-f7.xml.in.h:73 ../comps-f8.xml.in.h:76 ../comps-f9.xml.in.h:76 -#: ../comps-el4.xml.in.h:28 ../comps-el5.xml.in.h:30 +#: ../comps-f7.xml.in.h:71 +#: ../comps-f8.xml.in.h:74 +#: ../comps-f9.xml.in.h:74 +#: ../comps-el4.xml.in.h:27 +#: ../comps-el5.xml.in.h:29 +msgid "Install these packages in order to develop GTK+ and GNOME graphical applications." +msgstr "Instale estes pacotes para desenvolver aplica????es gr??ficas do GNOME e em GTK+." + +#: ../comps-f7.xml.in.h:72 +#: ../comps-f8.xml.in.h:75 +#: ../comps-f9.xml.in.h:75 +msgid "Install these packages in order to develop GTK+ and XFCE graphical applications." +msgstr "Instale estes pacotes para desenvolver aplica????es gr??ficas do XFCE e em GTK+." + +#: ../comps-f7.xml.in.h:73 +#: ../comps-f8.xml.in.h:76 +#: ../comps-f9.xml.in.h:76 +#: ../comps-el4.xml.in.h:28 +#: ../comps-el5.xml.in.h:30 msgid "Install these packages to develop QT and KDE graphical applications." -msgstr "Instale estes pacotes para desenvolver aplica????es gr??ficas QT e KDE." +msgstr "Instale estes pacotes para desenvolver aplica????es gr??ficas do KDE e em QT." -#: ../comps-f7.xml.in.h:74 ../comps-f8.xml.in.h:77 ../comps-f9.xml.in.h:77 -msgid "" -"Install these tools to enable the system to print or act as a print server." -msgstr "" -"Instale estas ferramentas para habilitar o sistema a imprimir ou atuar como " -"um servidor de impress??o." - -#: ../comps-f7.xml.in.h:75 ../comps-f8.xml.in.h:78 ../comps-f9.xml.in.h:78 -#: ../comps-el4.xml.in.h:29 ../comps-el5.xml.in.h:31 -msgid "" -"Install this group of packages to use the base graphical (X) user interface." -msgstr "" -"Instale este grupo de pacotes para usar a interface gr??fica base de usu??rio " -"(X)." - -#: ../comps-f7.xml.in.h:76 ../comps-f8.xml.in.h:80 ../comps-f9.xml.in.h:80 +#: ../comps-f7.xml.in.h:74 +#: ../comps-f8.xml.in.h:77 +#: ../comps-f9.xml.in.h:77 +msgid "Install these tools to enable the system to print or act as a print server." +msgstr "Instale estas ferramentas para habilitar o sistema a imprimir ou atuar como um servidor de impress??o." + +#: ../comps-f7.xml.in.h:75 +#: ../comps-f8.xml.in.h:78 +#: ../comps-f9.xml.in.h:78 +#: ../comps-el4.xml.in.h:29 +#: ../comps-el5.xml.in.h:31 +msgid "Install this group of packages to use the base graphical (X) user interface." +msgstr "Instale este grupo de pacotes para usar a interface gr??fica base de usu??rio (X)." + +#: ../comps-f7.xml.in.h:76 +#: ../comps-f8.xml.in.h:80 +#: ../comps-f9.xml.in.h:80 msgid "Inuktitut Support" msgstr "Suporte ?? Inuktitut" -#: ../comps-f7.xml.in.h:77 ../comps-f8.xml.in.h:81 ../comps-f9.xml.in.h:81 +#: ../comps-f7.xml.in.h:77 +#: ../comps-f8.xml.in.h:81 +#: ../comps-f9.xml.in.h:81 msgid "Irish Support" msgstr "Suporte ?? Irland??s" -#: ../comps-f7.xml.in.h:78 ../comps-f8.xml.in.h:82 ../comps-f9.xml.in.h:82 +#: ../comps-f7.xml.in.h:78 +#: ../comps-f8.xml.in.h:82 +#: ../comps-f9.xml.in.h:82 msgid "Italian Support" msgstr "Suporte ?? Italiano" -#: ../comps-f7.xml.in.h:79 ../comps-f8.xml.in.h:83 ../comps-f9.xml.in.h:83 -#: ../comps-el4.xml.in.h:30 ../comps-el5.xml.in.h:32 +#: ../comps-f7.xml.in.h:79 +#: ../comps-f8.xml.in.h:83 +#: ../comps-f9.xml.in.h:83 +#: ../comps-el4.xml.in.h:30 +#: ../comps-el5.xml.in.h:32 msgid "Japanese Support" msgstr "Suporte ?? Japon??s" -#: ../comps-f7.xml.in.h:80 ../comps-f8.xml.in.h:84 ../comps-f9.xml.in.h:84 +#: ../comps-f7.xml.in.h:80 +#: ../comps-f8.xml.in.h:84 +#: ../comps-f9.xml.in.h:84 #: ../comps-el4.xml.in.h:31 msgid "Java" msgstr "Java" -#: ../comps-f7.xml.in.h:81 ../comps-f8.xml.in.h:85 ../comps-f9.xml.in.h:85 +#: ../comps-f7.xml.in.h:81 +#: ../comps-f8.xml.in.h:85 +#: ../comps-f9.xml.in.h:85 #: ../comps-el4.xml.in.h:32 msgid "Java Development" -msgstr "Desenvolvimento Java" +msgstr "Desenvolvimento em Java" -#: ../comps-f7.xml.in.h:82 ../comps-f8.xml.in.h:86 ../comps-f9.xml.in.h:86 -#: ../comps-el4.xml.in.h:33 ../comps-el5.xml.in.h:33 +#: ../comps-f7.xml.in.h:82 +#: ../comps-f8.xml.in.h:86 +#: ../comps-f9.xml.in.h:86 +#: ../comps-el4.xml.in.h:33 +#: ../comps-el5.xml.in.h:33 msgid "KDE (K Desktop Environment)" msgstr "Ambiente de Trabalho KDE" -#: ../comps-f7.xml.in.h:83 ../comps-f8.xml.in.h:87 ../comps-f9.xml.in.h:87 -#: ../comps-el4.xml.in.h:34 ../comps-el5.xml.in.h:34 +#: ../comps-f7.xml.in.h:83 +#: ../comps-f8.xml.in.h:87 +#: ../comps-f9.xml.in.h:87 +#: ../comps-el4.xml.in.h:34 +#: ../comps-el5.xml.in.h:34 msgid "KDE Software Development" msgstr "Desenvolvimento de Software KDE" -#: ../comps-f7.xml.in.h:84 ../comps-f8.xml.in.h:88 ../comps-f9.xml.in.h:88 -msgid "" -"KDE is a powerful graphical user interface which includes a panel, desktop, " -"system icons, and a graphical file manager." -msgstr "" -"O KDE ?? uma poderosa interface gr??fica que inclui um painel, uma ??rea de " -"trabalho, ??cones de sistema e um gerenciador de arquivos gr??fico." - -#: ../comps-f7.xml.in.h:85 ../comps-f8.xml.in.h:89 ../comps-f9.xml.in.h:89 +#: ../comps-f7.xml.in.h:84 +#: ../comps-f8.xml.in.h:88 +#: ../comps-f9.xml.in.h:88 +msgid "KDE is a powerful graphical user interface which includes a panel, desktop, system icons, and a graphical file manager." +msgstr "O KDE ?? uma poderosa interface gr??fica que inclui um painel, uma ??rea de trabalho, ??cones de sistema e um gerenciador de arquivos gr??fico." + +#: ../comps-f7.xml.in.h:85 +#: ../comps-f8.xml.in.h:89 +#: ../comps-f9.xml.in.h:89 msgid "Kannada Support" msgstr "Suporte ?? Kannada" -#: ../comps-f7.xml.in.h:86 ../comps-f8.xml.in.h:90 ../comps-f9.xml.in.h:90 +#: ../comps-f7.xml.in.h:86 +#: ../comps-f8.xml.in.h:90 +#: ../comps-f9.xml.in.h:90 msgid "Khmer Support" msgstr "Suporte ?? Khmer" -#: ../comps-f7.xml.in.h:87 ../comps-f8.xml.in.h:91 ../comps-f9.xml.in.h:91 +#: ../comps-f7.xml.in.h:87 +#: ../comps-f8.xml.in.h:91 +#: ../comps-f9.xml.in.h:91 msgid "Korean Support" msgstr "Suporte ?? Coreano" -#: ../comps-f7.xml.in.h:88 ../comps-f8.xml.in.h:92 ../comps-f9.xml.in.h:92 +#: ../comps-f7.xml.in.h:88 +#: ../comps-f8.xml.in.h:92 +#: ../comps-f9.xml.in.h:92 msgid "Languages" msgstr "Idiomas" -#: ../comps-f7.xml.in.h:89 ../comps-f8.xml.in.h:93 ../comps-f9.xml.in.h:93 +#: ../comps-f7.xml.in.h:89 +#: ../comps-f8.xml.in.h:93 +#: ../comps-f9.xml.in.h:93 msgid "Lao Support" msgstr "Suporte ?? Laosiano" -#: ../comps-f7.xml.in.h:90 ../comps-f8.xml.in.h:94 ../comps-f9.xml.in.h:94 +#: ../comps-f7.xml.in.h:90 +#: ../comps-f8.xml.in.h:94 +#: ../comps-f9.xml.in.h:94 msgid "Latvian Support" msgstr "Suporte ?? Let??o" -#: ../comps-f7.xml.in.h:91 ../comps-f8.xml.in.h:96 ../comps-f9.xml.in.h:96 +#: ../comps-f7.xml.in.h:91 +#: ../comps-f8.xml.in.h:96 +#: ../comps-f9.xml.in.h:96 msgid "Legacy Network Server" msgstr "Servidor de Rede Legada" -#: ../comps-f7.xml.in.h:92 ../comps-f8.xml.in.h:97 ../comps-f9.xml.in.h:97 +#: ../comps-f7.xml.in.h:92 +#: ../comps-f8.xml.in.h:97 +#: ../comps-f9.xml.in.h:97 msgid "Legacy Software Development" msgstr "Desenvolvimento de Software Legado" -#: ../comps-f7.xml.in.h:93 ../comps-f8.xml.in.h:98 ../comps-f9.xml.in.h:98 +#: ../comps-f7.xml.in.h:93 +#: ../comps-f8.xml.in.h:98 +#: ../comps-f9.xml.in.h:98 msgid "Legacy Software Support" msgstr "Suporte ao Software Legado" -#: ../comps-f7.xml.in.h:94 ../comps-f8.xml.in.h:99 ../comps-f9.xml.in.h:99 +#: ../comps-f7.xml.in.h:94 +#: ../comps-f8.xml.in.h:99 +#: ../comps-f9.xml.in.h:99 msgid "Lithuanian Support" msgstr "Suporte ?? Lituano" -#: ../comps-f7.xml.in.h:95 ../comps-f8.xml.in.h:101 ../comps-f9.xml.in.h:101 -#: ../comps-el4.xml.in.h:36 ../comps-el5.xml.in.h:36 +#: ../comps-f7.xml.in.h:95 +#: ../comps-f8.xml.in.h:101 +#: ../comps-f9.xml.in.h:101 +#: ../comps-el4.xml.in.h:36 +#: ../comps-el5.xml.in.h:36 msgid "Mail Server" msgstr "Servidor de E-mail" -#: ../comps-f7.xml.in.h:96 ../comps-f8.xml.in.h:102 ../comps-f9.xml.in.h:102 +#: ../comps-f7.xml.in.h:96 +#: ../comps-f8.xml.in.h:102 +#: ../comps-f9.xml.in.h:102 msgid "Malay Support" msgstr "Suporte ?? Malaio" -#: ../comps-f7.xml.in.h:97 ../comps-f8.xml.in.h:103 ../comps-f9.xml.in.h:103 +#: ../comps-f7.xml.in.h:97 +#: ../comps-f8.xml.in.h:103 +#: ../comps-f9.xml.in.h:103 msgid "Malayalam Support" msgstr "Suporte ?? Malayalam" -#: ../comps-f7.xml.in.h:98 ../comps-f8.xml.in.h:104 ../comps-f9.xml.in.h:104 +#: ../comps-f7.xml.in.h:98 +#: ../comps-f8.xml.in.h:104 +#: ../comps-f9.xml.in.h:104 msgid "Maori Support" msgstr "Suporte ?? Maori" -#: ../comps-f7.xml.in.h:99 ../comps-f8.xml.in.h:105 ../comps-f9.xml.in.h:105 +#: ../comps-f7.xml.in.h:99 +#: ../comps-f8.xml.in.h:105 +#: ../comps-f9.xml.in.h:105 msgid "Marathi Support" msgstr "Suporte ?? Marati" -#: ../comps-f7.xml.in.h:100 ../comps-f8.xml.in.h:107 ../comps-f9.xml.in.h:107 +#: ../comps-f7.xml.in.h:100 +#: ../comps-f8.xml.in.h:107 +#: ../comps-f9.xml.in.h:107 msgid "MySQL Database" msgstr "Banco de Dados MySQL" -#: ../comps-f7.xml.in.h:101 ../comps-f8.xml.in.h:109 ../comps-f9.xml.in.h:109 -#: ../comps-el4.xml.in.h:37 ../comps-el5.xml.in.h:37 +#: ../comps-f7.xml.in.h:101 +#: ../comps-f8.xml.in.h:109 +#: ../comps-f9.xml.in.h:109 +#: ../comps-el4.xml.in.h:37 +#: ../comps-el5.xml.in.h:37 msgid "Network Servers" msgstr "Servidores de Rede" -#: ../comps-f7.xml.in.h:102 ../comps-f8.xml.in.h:110 ../comps-f9.xml.in.h:110 -#: ../comps-el4.xml.in.h:38 ../comps-el5.xml.in.h:38 +#: ../comps-f7.xml.in.h:102 +#: ../comps-f8.xml.in.h:110 +#: ../comps-f9.xml.in.h:110 +#: ../comps-el4.xml.in.h:38 +#: ../comps-el5.xml.in.h:38 msgid "News Server" msgstr "Servidor de Not??cias" -#: ../comps-f7.xml.in.h:103 ../comps-f8.xml.in.h:111 ../comps-f9.xml.in.h:111 +#: ../comps-f7.xml.in.h:103 +#: ../comps-f8.xml.in.h:111 +#: ../comps-f9.xml.in.h:111 msgid "Northern Sotho Support" msgstr "Suporte ?? Sotho do Norte" -#: ../comps-f7.xml.in.h:104 ../comps-f8.xml.in.h:112 ../comps-f9.xml.in.h:112 +#: ../comps-f7.xml.in.h:104 +#: ../comps-f8.xml.in.h:112 +#: ../comps-f9.xml.in.h:112 msgid "Norwegian Support" msgstr "Suporte ?? Noruegu??s" -#: ../comps-f7.xml.in.h:105 ../comps-f8.xml.in.h:113 ../comps-f9.xml.in.h:113 -#: ../comps-el4.xml.in.h:39 ../comps-el5.xml.in.h:39 +#: ../comps-f7.xml.in.h:105 +#: ../comps-f8.xml.in.h:113 +#: ../comps-f9.xml.in.h:113 +#: ../comps-el4.xml.in.h:39 +#: ../comps-el5.xml.in.h:39 msgid "Office/Productivity" msgstr "Escrit??rio/Produtividade" -#: ../comps-f7.xml.in.h:106 ../comps-f8.xml.in.h:115 ../comps-f9.xml.in.h:115 +#: ../comps-f7.xml.in.h:106 +#: ../comps-f8.xml.in.h:115 +#: ../comps-f9.xml.in.h:115 msgid "Oriya Support" msgstr "Suporte ?? Oriya" -#: ../comps-f7.xml.in.h:107 ../comps-f8.xml.in.h:116 ../comps-f9.xml.in.h:116 -#: ../comps-el4.xml.in.h:40 ../comps-el5.xml.in.h:40 -msgid "" -"Packages which provide functionality for developing and building " -"applications." -msgstr "" -"Pacotes que oferecem funcionalidades para o desenvolvimento e compila????o de " -"aplica????es." - -#: ../comps-f7.xml.in.h:108 ../comps-f8.xml.in.h:117 ../comps-f9.xml.in.h:117 +#: ../comps-f7.xml.in.h:107 +#: ../comps-f8.xml.in.h:116 +#: ../comps-f9.xml.in.h:116 +#: ../comps-el4.xml.in.h:40 +#: ../comps-el5.xml.in.h:40 +msgid "Packages which provide functionality for developing and building applications." +msgstr "Pacotes que oferecem funcionalidades para o desenvolvimento e compila????o de aplica????es." + +#: ../comps-f7.xml.in.h:108 +#: ../comps-f8.xml.in.h:117 +#: ../comps-f9.xml.in.h:117 msgid "Persian Support" msgstr "Suporte ?? Persa" -#: ../comps-f7.xml.in.h:109 ../comps-f8.xml.in.h:118 ../comps-f9.xml.in.h:118 +#: ../comps-f7.xml.in.h:109 +#: ../comps-f8.xml.in.h:118 +#: ../comps-f9.xml.in.h:118 msgid "Polish Support" msgstr "Suporte ?? Polon??s" -#: ../comps-f7.xml.in.h:110 ../comps-f8.xml.in.h:119 ../comps-f9.xml.in.h:119 +#: ../comps-f7.xml.in.h:110 +#: ../comps-f8.xml.in.h:119 +#: ../comps-f9.xml.in.h:119 msgid "Portuguese Support" msgstr "Suporte ?? Portugu??s" -#: ../comps-f7.xml.in.h:111 ../comps-f8.xml.in.h:120 ../comps-f9.xml.in.h:120 +#: ../comps-f7.xml.in.h:111 +#: ../comps-f8.xml.in.h:120 +#: ../comps-f9.xml.in.h:120 msgid "PostgreSQL Database" msgstr "Banco de Dados PostgreSQL" -#: ../comps-f7.xml.in.h:112 ../comps-f8.xml.in.h:121 ../comps-f9.xml.in.h:121 +#: ../comps-f7.xml.in.h:112 +#: ../comps-f8.xml.in.h:121 +#: ../comps-f9.xml.in.h:121 msgid "Printing Support" msgstr "Suporte ?? Impress??o" -#: ../comps-f7.xml.in.h:113 ../comps-f8.xml.in.h:122 ../comps-f9.xml.in.h:122 +#: ../comps-f7.xml.in.h:113 +#: ../comps-f8.xml.in.h:122 +#: ../comps-f9.xml.in.h:122 msgid "Punjabi Support" msgstr "Suporte ?? Punjabi" -#: ../comps-f7.xml.in.h:114 ../comps-f8.xml.in.h:123 ../comps-f9.xml.in.h:123 +#: ../comps-f7.xml.in.h:114 +#: ../comps-f8.xml.in.h:123 +#: ../comps-f9.xml.in.h:123 msgid "Romanian Support" msgstr "Suporte ?? Romeno" -#: ../comps-f7.xml.in.h:115 ../comps-f8.xml.in.h:124 ../comps-f9.xml.in.h:124 +#: ../comps-f7.xml.in.h:115 +#: ../comps-f8.xml.in.h:124 +#: ../comps-f9.xml.in.h:124 msgid "Ruby" msgstr "Ruby" -#: ../comps-f7.xml.in.h:116 ../comps-f8.xml.in.h:125 ../comps-f9.xml.in.h:125 +#: ../comps-f7.xml.in.h:116 +#: ../comps-f8.xml.in.h:125 +#: ../comps-f9.xml.in.h:125 msgid "Russian Support" msgstr "Suporte ?? Russo" -#: ../comps-f7.xml.in.h:117 ../comps-f8.xml.in.h:126 ../comps-f9.xml.in.h:126 +#: ../comps-f7.xml.in.h:117 +#: ../comps-f8.xml.in.h:126 +#: ../comps-f9.xml.in.h:126 msgid "Samoan Support" msgstr "Suporte ?? Samoano" -#: ../comps-f7.xml.in.h:118 ../comps-f8.xml.in.h:127 ../comps-f9.xml.in.h:127 +#: ../comps-f7.xml.in.h:118 +#: ../comps-f8.xml.in.h:127 +#: ../comps-f9.xml.in.h:127 msgid "Serbian Support" msgstr "Suporte ?? S??rvio" -#: ../comps-f7.xml.in.h:119 ../comps-f8.xml.in.h:128 ../comps-f9.xml.in.h:128 +#: ../comps-f7.xml.in.h:119 +#: ../comps-f8.xml.in.h:128 +#: ../comps-f9.xml.in.h:128 msgid "Server Configuration Tools" msgstr "Ferramentas de Configura????o de Servidores" -#: ../comps-f7.xml.in.h:120 ../comps-f8.xml.in.h:129 ../comps-f9.xml.in.h:129 -#: ../comps-el4.xml.in.h:41 ../comps-el5.xml.in.h:41 +#: ../comps-f7.xml.in.h:120 +#: ../comps-f8.xml.in.h:129 +#: ../comps-f9.xml.in.h:129 +#: ../comps-el4.xml.in.h:41 +#: ../comps-el5.xml.in.h:41 msgid "Servers" msgstr "Servidores" -#: ../comps-f7.xml.in.h:121 ../comps-f8.xml.in.h:130 ../comps-f9.xml.in.h:130 -#: ../comps-el4.xml.in.h:42 ../comps-el5.xml.in.h:42 -msgid "" -"Simple window managers that aren't part of a larger desktop environment." -msgstr "" -"Gerenciadores de janelas simples que n??o fazem parte de um ambiente de " -"trabalho maior." - -#: ../comps-f7.xml.in.h:122 ../comps-f8.xml.in.h:131 ../comps-f9.xml.in.h:131 +#: ../comps-f7.xml.in.h:121 +#: ../comps-f8.xml.in.h:130 +#: ../comps-f9.xml.in.h:130 +#: ../comps-el4.xml.in.h:42 +#: ../comps-el5.xml.in.h:42 +msgid "Simple window managers that aren't part of a larger desktop environment." +msgstr "Gerenciadores de janelas simples que n??o fazem parte de um ambiente de trabalho maior." + +#: ../comps-f7.xml.in.h:122 +#: ../comps-f8.xml.in.h:131 +#: ../comps-f9.xml.in.h:131 msgid "Sinhala Support" msgstr "Suporte ?? Sinhala" -#: ../comps-f7.xml.in.h:123 ../comps-f8.xml.in.h:132 ../comps-f9.xml.in.h:132 +#: ../comps-f7.xml.in.h:123 +#: ../comps-f8.xml.in.h:132 +#: ../comps-f9.xml.in.h:132 msgid "Slovak Support" msgstr "Suporte ?? Eslovaco" -#: ../comps-f7.xml.in.h:124 ../comps-f8.xml.in.h:133 ../comps-f9.xml.in.h:133 +#: ../comps-f7.xml.in.h:124 +#: ../comps-f8.xml.in.h:133 +#: ../comps-f9.xml.in.h:133 msgid "Slovenian Support" msgstr "Suporte ?? Esloveno" -#: ../comps-f7.xml.in.h:125 ../comps-f8.xml.in.h:134 ../comps-f9.xml.in.h:134 +#: ../comps-f7.xml.in.h:125 +#: ../comps-f8.xml.in.h:134 +#: ../comps-f9.xml.in.h:134 msgid "Smallest possible installation" -msgstr "A menor instala????o poss??vel" +msgstr "Menor instala????o poss??vel" -#: ../comps-f7.xml.in.h:126 ../comps-f8.xml.in.h:135 ../comps-f9.xml.in.h:135 -#: ../comps-el4.xml.in.h:43 ../comps-el5.xml.in.h:43 +#: ../comps-f7.xml.in.h:126 +#: ../comps-f8.xml.in.h:135 +#: ../comps-f9.xml.in.h:135 +#: ../comps-el4.xml.in.h:43 +#: ../comps-el5.xml.in.h:43 msgid "Software used for running network servers" msgstr "Softwares utilizados para servidores de rede em execu????o" -#: ../comps-f7.xml.in.h:127 ../comps-f8.xml.in.h:136 ../comps-f9.xml.in.h:136 +#: ../comps-f7.xml.in.h:127 +#: ../comps-f8.xml.in.h:136 +#: ../comps-f9.xml.in.h:136 msgid "Somali Support" msgstr "Suporte ?? Somali" -#: ../comps-f7.xml.in.h:128 ../comps-f8.xml.in.h:137 ../comps-f9.xml.in.h:137 -msgid "" -"Sometimes called text editors, these are programs that allow you to create " -"and edit text files. This includes Emacs and Vi." -msgstr "" -"Algumas vezes chamados de editores de texto, estes programas permitem criar " -"e editar arquivos de texto. Isto inclui o Emacs e o Vi." - -#: ../comps-f7.xml.in.h:129 ../comps-f8.xml.in.h:138 ../comps-f9.xml.in.h:138 -#: ../comps-el4.xml.in.h:45 ../comps-el5.xml.in.h:45 +#: ../comps-f7.xml.in.h:128 +#: ../comps-f8.xml.in.h:137 +#: ../comps-f9.xml.in.h:137 +msgid "Sometimes called text editors, these are programs that allow you to create and edit text files. This includes Emacs and Vi." +msgstr "Algumas vezes chamados de editores de texto, estes programas permitem criar e editar arquivos de texto. Isto inclui o Emacs e o Vi." + +#: ../comps-f7.xml.in.h:129 +#: ../comps-f8.xml.in.h:138 +#: ../comps-f9.xml.in.h:138 +#: ../comps-el4.xml.in.h:45 +#: ../comps-el5.xml.in.h:45 msgid "Sound and Video" msgstr "Som e V??deo" -#: ../comps-f7.xml.in.h:130 ../comps-f8.xml.in.h:139 ../comps-f9.xml.in.h:139 +#: ../comps-f7.xml.in.h:130 +#: ../comps-f8.xml.in.h:139 +#: ../comps-f9.xml.in.h:139 msgid "Southern Ndebele Support" msgstr "Suporte ?? Ndebele do Sul" -#: ../comps-f7.xml.in.h:131 ../comps-f8.xml.in.h:140 ../comps-f9.xml.in.h:140 +#: ../comps-f7.xml.in.h:131 +#: ../comps-f8.xml.in.h:140 +#: ../comps-f9.xml.in.h:140 msgid "Southern Sotho Support" msgstr "Suporte ?? Sotho do Sul" -#: ../comps-f7.xml.in.h:132 ../comps-f8.xml.in.h:141 ../comps-f9.xml.in.h:141 +#: ../comps-f7.xml.in.h:132 +#: ../comps-f8.xml.in.h:141 +#: ../comps-f9.xml.in.h:141 msgid "Spanish Support" msgstr "Suporte ?? Espanhol" -#: ../comps-f7.xml.in.h:133 ../comps-f8.xml.in.h:142 ../comps-f9.xml.in.h:142 +#: ../comps-f7.xml.in.h:133 +#: ../comps-f8.xml.in.h:142 +#: ../comps-f9.xml.in.h:142 #: ../comps-el4.xml.in.h:46 msgid "Support for developing programs in the Java programming language." -msgstr "" -"Suporte ao desenvolvimento de programas na linguagem de programa????o Java." +msgstr "Suporte ao desenvolvimento de programas na linguagem de programa????o Java." -#: ../comps-f7.xml.in.h:134 ../comps-f8.xml.in.h:143 ../comps-f9.xml.in.h:143 +#: ../comps-f7.xml.in.h:134 +#: ../comps-f8.xml.in.h:143 +#: ../comps-f9.xml.in.h:143 #: ../comps-el4.xml.in.h:47 msgid "Support for running programs written in the Java programming language." -msgstr "" -"Suporte para a execu????o de programas escritos na linguagem de programa????o " -"Java." +msgstr "Suporte para a execu????o de programas escritos na linguagem de programa????o Java." -#: ../comps-f7.xml.in.h:135 ../comps-f8.xml.in.h:144 ../comps-f9.xml.in.h:144 +#: ../comps-f7.xml.in.h:135 +#: ../comps-f8.xml.in.h:144 +#: ../comps-f9.xml.in.h:144 msgid "Swati Support" msgstr "Suporte ?? Swati" -#: ../comps-f7.xml.in.h:136 ../comps-f8.xml.in.h:145 ../comps-f9.xml.in.h:145 +#: ../comps-f7.xml.in.h:136 +#: ../comps-f8.xml.in.h:145 +#: ../comps-f9.xml.in.h:145 msgid "Swedish Support" msgstr "Suporte ?? Sueco" -#: ../comps-f7.xml.in.h:137 ../comps-f8.xml.in.h:146 ../comps-f9.xml.in.h:146 -#: ../comps-el4.xml.in.h:48 ../comps-el5.xml.in.h:46 +#: ../comps-f7.xml.in.h:137 +#: ../comps-f8.xml.in.h:146 +#: ../comps-f9.xml.in.h:146 +#: ../comps-el4.xml.in.h:48 +#: ../comps-el5.xml.in.h:46 msgid "System Tools" msgstr "Ferramentas do Sistema" -#: ../comps-f7.xml.in.h:138 ../comps-f8.xml.in.h:147 ../comps-f9.xml.in.h:147 +#: ../comps-f7.xml.in.h:138 +#: ../comps-f8.xml.in.h:147 +#: ../comps-f9.xml.in.h:147 msgid "Tagalog Support" msgstr "Suporte ?? Tagalog" -#: ../comps-f7.xml.in.h:139 ../comps-f8.xml.in.h:148 ../comps-f9.xml.in.h:148 +#: ../comps-f7.xml.in.h:139 +#: ../comps-f8.xml.in.h:148 +#: ../comps-f9.xml.in.h:148 msgid "Tamil Support" msgstr "Suporte ?? Tamil" -#: ../comps-f7.xml.in.h:140 ../comps-f8.xml.in.h:149 ../comps-f9.xml.in.h:149 +#: ../comps-f7.xml.in.h:140 +#: ../comps-f8.xml.in.h:149 +#: ../comps-f9.xml.in.h:149 msgid "Telugu Support" msgstr "Suporte ?? Telugu" -#: ../comps-f7.xml.in.h:141 ../comps-f8.xml.in.h:150 ../comps-f9.xml.in.h:150 -#: ../comps-el4.xml.in.h:49 ../comps-el5.xml.in.h:47 +#: ../comps-f7.xml.in.h:141 +#: ../comps-f8.xml.in.h:150 +#: ../comps-f9.xml.in.h:150 +#: ../comps-el4.xml.in.h:49 +#: ../comps-el5.xml.in.h:47 msgid "Text-based Internet" msgstr "Internet em Modo Texto" -#: ../comps-f7.xml.in.h:142 ../comps-f8.xml.in.h:151 ../comps-f9.xml.in.h:151 +#: ../comps-f7.xml.in.h:142 +#: ../comps-f8.xml.in.h:151 +#: ../comps-f9.xml.in.h:151 msgid "Thai Support" msgstr "Suporte ?? Tailand??s" @@ -685,413 +968,478 @@ msgid "The Eclipse Integrated Development Environment." msgstr "O Ambiente Integrado de Desenvolvimento Eclipse." -#: ../comps-f7.xml.in.h:144 ../comps-f8.xml.in.h:152 ../comps-f9.xml.in.h:152 -#: ../comps-el4.xml.in.h:51 ../comps-el5.xml.in.h:49 +#: ../comps-f7.xml.in.h:144 +#: ../comps-f8.xml.in.h:152 +#: ../comps-f9.xml.in.h:152 +#: ../comps-el4.xml.in.h:51 +#: ../comps-el5.xml.in.h:49 msgid "The applications include office suites, PDF viewers, and more." msgstr "As aplica????es incluem su??tes de escrit??rio, visualizadores PDF e mais." -#: ../comps-f7.xml.in.h:145 ../comps-f8.xml.in.h:153 ../comps-f9.xml.in.h:153 -msgid "" -"The packages in this group are core libraries needed to develop applications." -msgstr "" -"Os pacotes deste grupo s??o bibliotecas de base necess??rias para desenvolver " -"aplica????es." - -#: ../comps-f7.xml.in.h:146 ../comps-f8.xml.in.h:154 ../comps-f9.xml.in.h:154 -#: ../comps-el4.xml.in.h:52 ../comps-el5.xml.in.h:50 +#: ../comps-f7.xml.in.h:145 +#: ../comps-f8.xml.in.h:153 +#: ../comps-f9.xml.in.h:153 +msgid "The packages in this group are core libraries needed to develop applications." +msgstr "Os pacotes deste grupo s??o bibliotecas de base necess??rias para desenvolver aplica????es." + +#: ../comps-f7.xml.in.h:146 +#: ../comps-f8.xml.in.h:154 +#: ../comps-f9.xml.in.h:154 +#: ../comps-el4.xml.in.h:52 +#: ../comps-el5.xml.in.h:50 msgid "These packages allow you to configure an IMAP or SMTP mail server." msgstr "Este pacotes permitem configurar servidores de e-mail IMAP ou SMTP." -#: ../comps-f7.xml.in.h:147 ../comps-f8.xml.in.h:155 ../comps-f9.xml.in.h:155 -msgid "" -"These packages allow you to develop applications for the X Window System." +#: ../comps-f7.xml.in.h:147 +#: ../comps-f8.xml.in.h:155 +#: ../comps-f9.xml.in.h:155 +msgid "These packages allow you to develop applications for the X Window System." msgstr "Estes pacotes permitem desenvolver aplica????es para o X Window System." -#: ../comps-f7.xml.in.h:148 ../comps-f8.xml.in.h:156 ../comps-f9.xml.in.h:156 -#: ../comps-el4.xml.in.h:53 ../comps-el5.xml.in.h:51 -msgid "" -"These packages are helpful when developing web applications or web pages." -msgstr "" -"Estes pacotes s??o ??teis no desenvolvimento de aplica????es ou p??ginas web." - -#: ../comps-f7.xml.in.h:149 ../comps-f8.xml.in.h:157 ../comps-f9.xml.in.h:157 -msgid "" -"These packages include network-based servers such as DHCP, Kerberos and NIS." -msgstr "" -"Estes pacotes incluem servidores baseados em rede como o DHCP, Kerberos e " -"NIS." - -#: ../comps-f7.xml.in.h:150 ../comps-f8.xml.in.h:158 ../comps-f9.xml.in.h:158 -msgid "" -"These packages include servers for old network protocols such as rsh and " -"telnet." -msgstr "" -"Estes pacotes incluem servidores para protocolos de rede antigos como rsh e " -"telnet." - -#: ../comps-f7.xml.in.h:151 ../comps-f8.xml.in.h:159 ../comps-f9.xml.in.h:159 +#: ../comps-f7.xml.in.h:148 +#: ../comps-f8.xml.in.h:156 +#: ../comps-f9.xml.in.h:156 +#: ../comps-el4.xml.in.h:53 +#: ../comps-el5.xml.in.h:51 +msgid "These packages are helpful when developing web applications or web pages." +msgstr "Estes pacotes s??o ??teis no desenvolvimento de aplica????es ou p??ginas web." + +#: ../comps-f7.xml.in.h:149 +#: ../comps-f8.xml.in.h:157 +#: ../comps-f9.xml.in.h:157 +msgid "These packages include network-based servers such as DHCP, Kerberos and NIS." +msgstr "Estes pacotes incluem servidores baseados em rede como o DHCP, Kerberos e NIS." + +#: ../comps-f7.xml.in.h:150 +#: ../comps-f8.xml.in.h:158 +#: ../comps-f9.xml.in.h:158 +msgid "These packages include servers for old network protocols such as rsh and telnet." +msgstr "Estes pacotes incluem servidores para protocolos de rede antigos como rsh e telnet." + +#: ../comps-f7.xml.in.h:151 +#: ../comps-f8.xml.in.h:159 +#: ../comps-f9.xml.in.h:159 msgid "These packages provide a virtualization environment." msgstr "Estes pacotes oferecem um ambiente de virtualiza????o." -#: ../comps-f7.xml.in.h:152 ../comps-f8.xml.in.h:160 ../comps-f9.xml.in.h:160 +#: ../comps-f7.xml.in.h:152 +#: ../comps-f8.xml.in.h:160 +#: ../comps-f9.xml.in.h:160 msgid "These packages provide compatibility with previous releases." msgstr "Estes pacotes oferecem compatibilidade com as vers??es anteriores." -#: ../comps-f7.xml.in.h:153 ../comps-f8.xml.in.h:161 ../comps-f9.xml.in.h:161 -msgid "" -"These packages provide support for various locales including fonts and input " -"methods." -msgstr "" -"Estes pacotes oferecem suporte para v??rias localidades, incluindo fontes e " -"m??todos de entrada." - -#: ../comps-f7.xml.in.h:154 ../comps-f8.xml.in.h:162 ../comps-f9.xml.in.h:162 -msgid "" -"These tools allow you to create documents in the DocBook format and convert " -"them into HTML, PDF, Postscript, and text." -msgstr "" -"Estas ferramentas permitem criar documentos no formato DocBook e convert??-" -"los para HTML, PDF, PostScript e texto." - -#: ../comps-f7.xml.in.h:155 ../comps-f8.xml.in.h:163 ../comps-f9.xml.in.h:163 -#: ../comps-el4.xml.in.h:55 ../comps-el5.xml.in.h:53 +#: ../comps-f7.xml.in.h:153 +#: ../comps-f8.xml.in.h:161 +#: ../comps-f9.xml.in.h:161 +msgid "These packages provide support for various locales including fonts and input methods." +msgstr "Estes pacotes oferecem suporte para v??rias localidades, incluindo fontes e m??todos de entrada." + +#: ../comps-f7.xml.in.h:154 +#: ../comps-f8.xml.in.h:162 +#: ../comps-f9.xml.in.h:162 +msgid "These tools allow you to create documents in the DocBook format and convert them into HTML, PDF, Postscript, and text." +msgstr "Estas ferramentas permitem criar documentos no formato DocBook e convert??-los para HTML, PDF, PostScript e texto." + +#: ../comps-f7.xml.in.h:155 +#: ../comps-f8.xml.in.h:163 +#: ../comps-f9.xml.in.h:163 +#: ../comps-el4.xml.in.h:55 +#: ../comps-el5.xml.in.h:53 msgid "These tools allow you to run a Web server on the system." msgstr "Estas ferramentas permitem rodar um servidor Web no seu computador." -#: ../comps-f7.xml.in.h:156 ../comps-f8.xml.in.h:164 ../comps-f9.xml.in.h:164 -#: ../comps-el4.xml.in.h:56 ../comps-el5.xml.in.h:54 +#: ../comps-f7.xml.in.h:156 +#: ../comps-f8.xml.in.h:164 +#: ../comps-f9.xml.in.h:164 +#: ../comps-el4.xml.in.h:56 +#: ../comps-el5.xml.in.h:54 msgid "These tools allow you to run an FTP server on the system." msgstr "Estas ferramentas permitem rodar um servidor FTP no seu computador." -#: ../comps-f7.xml.in.h:157 ../comps-f8.xml.in.h:165 ../comps-f9.xml.in.h:165 -#: ../comps-el4.xml.in.h:57 ../comps-el5.xml.in.h:55 -msgid "" -"These tools include core development tools such as automake, gcc, perl, " -"python, and debuggers." -msgstr "" -"Estas ferramentas incluem ferramentas b??sicas de desenvolvimento como " -"automake, gcc, perl, python e depuradores." - -#: ../comps-f7.xml.in.h:158 ../comps-f8.xml.in.h:166 ../comps-f9.xml.in.h:166 -#: ../comps-el4.xml.in.h:58 ../comps-el5.xml.in.h:56 +#: ../comps-f7.xml.in.h:157 +#: ../comps-f8.xml.in.h:165 +#: ../comps-f9.xml.in.h:165 +#: ../comps-el4.xml.in.h:57 +#: ../comps-el5.xml.in.h:55 +msgid "These tools include core development tools such as automake, gcc, perl, python, and debuggers." +msgstr "Estas ferramentas incluem ferramentas b??sicas de desenvolvimento como automake, gcc, perl, python e depuradores." + +#: ../comps-f7.xml.in.h:158 +#: ../comps-f8.xml.in.h:166 +#: ../comps-f9.xml.in.h:166 +#: ../comps-el4.xml.in.h:58 +#: ../comps-el5.xml.in.h:56 msgid "This group allows you to configure the system as a news server." msgstr "Este grupo permite configurar o sistema como um servidor de not??cias." -#: ../comps-f7.xml.in.h:159 ../comps-f8.xml.in.h:167 ../comps-f9.xml.in.h:167 +#: ../comps-f7.xml.in.h:159 +#: ../comps-f8.xml.in.h:167 +#: ../comps-f9.xml.in.h:167 msgid "This group contains all of Red Hat's custom server configuration tools." -msgstr "" -"Este grupo cont??m todas as ferramentas de configura????o de servidores da Red " -"Hat." - -#: ../comps-f7.xml.in.h:160 ../comps-f8.xml.in.h:168 ../comps-f9.xml.in.h:168 -msgid "" -"This group includes a minimal set of packages. Useful for creating small " -"router/firewall boxes, for example." -msgstr "" -"Este grupo inclui um conjunto m??nimo de pacotes. ??til, por exemplo, para a " -"cria????o de pequenas caixas de roteadores/firewalls." +msgstr "Este grupo cont??m todas as ferramentas personalizadas de configura????o de servidores da Red Hat." -#: ../comps-f7.xml.in.h:161 ../comps-f8.xml.in.h:169 ../comps-f9.xml.in.h:169 -#: ../comps-el4.xml.in.h:59 ../comps-el5.xml.in.h:57 +#: ../comps-f7.xml.in.h:160 +#: ../comps-f8.xml.in.h:168 +#: ../comps-f9.xml.in.h:168 +msgid "This group includes a minimal set of packages. Useful for creating small router/firewall boxes, for example." +msgstr "Este grupo inclui um conjunto m??nimo de pacotes. ??til, por exemplo, para a cria????o de pequenas caixas de roteadores/firewalls." + +#: ../comps-f7.xml.in.h:161 +#: ../comps-f8.xml.in.h:169 +#: ../comps-f9.xml.in.h:169 +#: ../comps-el4.xml.in.h:59 +#: ../comps-el5.xml.in.h:57 msgid "This group includes graphical email, Web, and chat clients." msgstr "Este grupo inclui clientes gr??ficos de e-mail, Web e chat." -#: ../comps-f7.xml.in.h:162 ../comps-f8.xml.in.h:170 ../comps-f9.xml.in.h:170 -#: ../comps-el4.xml.in.h:60 ../comps-el5.xml.in.h:58 -msgid "" -"This group includes packages for performing mathematical and scientific " -"computations and plotting, as well as unit conversion." -msgstr "" -"Este grupo inclui pacotes para efetuar c??lculos matem??ticos e cient??ficos, " -"plotar e efetuar convers??es de unidades." - -#: ../comps-f7.xml.in.h:163 ../comps-f8.xml.in.h:171 ../comps-f9.xml.in.h:171 -#: ../comps-el4.xml.in.h:61 ../comps-el5.xml.in.h:59 +#: ../comps-f7.xml.in.h:162 +#: ../comps-f8.xml.in.h:170 +#: ../comps-f9.xml.in.h:170 +#: ../comps-el4.xml.in.h:60 +#: ../comps-el5.xml.in.h:58 +msgid "This group includes packages for performing mathematical and scientific computations and plotting, as well as unit conversion." +msgstr "Este grupo inclui pacotes para efetuar c??lculos matem??ticos e cient??ficos, plotar e efetuar convers??es de unidades." + +#: ../comps-f7.xml.in.h:163 +#: ../comps-f8.xml.in.h:171 +#: ../comps-f9.xml.in.h:171 +#: ../comps-el4.xml.in.h:61 +#: ../comps-el5.xml.in.h:59 msgid "This group includes packages to help you manipulate and scan images." -msgstr "" -"Este grupo inclui pacotes que o ajudam a manipular e digitalizar imagens." - -#: ../comps-f7.xml.in.h:164 ../comps-f8.xml.in.h:172 ../comps-f9.xml.in.h:172 -#: ../comps-el4.xml.in.h:62 ../comps-el5.xml.in.h:60 -msgid "" -"This group includes text-based email, Web, and chat clients. These " -"applications do not require the X Window System." -msgstr "" -"Este grupo inclui clientes de e-mail em modo texto, de Web e de chat. Estas " -"aplica????es n??o necessitam do X Window System." - -#: ../comps-f7.xml.in.h:165 ../comps-f8.xml.in.h:173 ../comps-f9.xml.in.h:173 -#: ../comps-el4.xml.in.h:63 ../comps-el5.xml.in.h:61 -msgid "" -"This group is a collection of graphical administration tools for the system, " -"such as for managing user accounts and configuring system hardware." -msgstr "" -"Este grupo ?? uma cole????o de ferramentas gr??ficas de administra????o para o " -"sistema, como a gest??o de contas dos usu??rios e a configura????o do hardware " -"do sistema." - -#: ../comps-f7.xml.in.h:166 ../comps-f8.xml.in.h:174 ../comps-f9.xml.in.h:174 -#: ../comps-el4.xml.in.h:66 ../comps-el5.xml.in.h:64 -msgid "" -"This group is a collection of tools and resources of Armenian environments." -msgstr "" -"Este grupo ?? um cole????o de ferramentas e recursos de ambientes arm??nios." - -#: ../comps-f7.xml.in.h:167 ../comps-f8.xml.in.h:175 ../comps-f9.xml.in.h:175 -#: ../comps-el4.xml.in.h:69 ../comps-el5.xml.in.h:68 -msgid "" -"This group is a collection of tools for various hardware specific utilities." -msgstr "" -"Este grupo ?? uma cole????o de ferramentas para v??rios utilit??rios de hardwares " -"espec??ficos." - -#: ../comps-f7.xml.in.h:168 ../comps-f8.xml.in.h:176 ../comps-f9.xml.in.h:176 -#: ../comps-el4.xml.in.h:70 ../comps-el5.xml.in.h:69 -msgid "" -"This group is a collection of various tools for the system, such as the " -"client for connecting to SMB shares and tools to monitor network traffic." -msgstr "" -"Este grupo ?? uma cole????o de v??rias ferramentas para o sistema, como o " -"cliente para conectar a compartilhamentos SMB e ferramentas para monitorar o " -"tr??fego de rede." +msgstr "Este grupo inclui pacotes que o ajudam a manipular e digitalizar imagens." -#: ../comps-f7.xml.in.h:169 ../comps-f8.xml.in.h:177 ../comps-f9.xml.in.h:177 -msgid "" -"This package group allows you to run a DNS name server (BIND) on the system." -msgstr "" -"Este grupo de pacotes permite rodar um servidor de nomes DNS (BIND) no " -"sistema." - -#: ../comps-f7.xml.in.h:170 ../comps-f8.xml.in.h:178 ../comps-f9.xml.in.h:178 -msgid "" -"This package group allows you to share files between Linux and MS Windows" -"(tm) systems." -msgstr "" -"Este grupo de pacotes permite compartilhar arquivos entre os sistemas " -"operacionais Linux e MS Windows(tm)." - -#: ../comps-f7.xml.in.h:171 ../comps-f8.xml.in.h:179 ../comps-f9.xml.in.h:179 +#: ../comps-f7.xml.in.h:164 +#: ../comps-f8.xml.in.h:172 +#: ../comps-f9.xml.in.h:172 +#: ../comps-el4.xml.in.h:62 +#: ../comps-el5.xml.in.h:60 +msgid "This group includes text-based email, Web, and chat clients. These applications do not require the X Window System." +msgstr "Este grupo inclui clientes de e-mail em modo texto, de Web e de chat. Estas aplica????es n??o necessitam do X Window System." + +#: ../comps-f7.xml.in.h:165 +#: ../comps-f8.xml.in.h:173 +#: ../comps-f9.xml.in.h:173 +#: ../comps-el4.xml.in.h:63 +#: ../comps-el5.xml.in.h:61 +msgid "This group is a collection of graphical administration tools for the system, such as for managing user accounts and configuring system hardware." +msgstr "Este grupo ?? uma cole????o de ferramentas gr??ficas de administra????o para o sistema, como a gest??o de contas dos usu??rios e a configura????o do hardware do sistema." + +#: ../comps-f7.xml.in.h:166 +#: ../comps-f8.xml.in.h:174 +#: ../comps-f9.xml.in.h:174 +#: ../comps-el4.xml.in.h:66 +#: ../comps-el5.xml.in.h:64 +msgid "This group is a collection of tools and resources of Armenian environments." +msgstr "Este grupo ?? um cole????o de ferramentas e recursos de ambientes arm??nios." + +#: ../comps-f7.xml.in.h:167 +#: ../comps-f8.xml.in.h:175 +#: ../comps-f9.xml.in.h:175 +#: ../comps-el4.xml.in.h:69 +#: ../comps-el5.xml.in.h:68 +msgid "This group is a collection of tools for various hardware specific utilities." +msgstr "Este grupo ?? uma cole????o de ferramentas para v??rios utilit??rios de hardwares espec??ficos." + +#: ../comps-f7.xml.in.h:168 +#: ../comps-f8.xml.in.h:176 +#: ../comps-f9.xml.in.h:176 +#: ../comps-el4.xml.in.h:70 +#: ../comps-el5.xml.in.h:69 +msgid "This group is a collection of various tools for the system, such as the client for connecting to SMB shares and tools to monitor network traffic." +msgstr "Este grupo ?? uma cole????o de v??rias ferramentas para o sistema, como o cliente para conectar a compartilhamentos SMB e ferramentas para monitorar o tr??fego de rede." + +#: ../comps-f7.xml.in.h:169 +#: ../comps-f8.xml.in.h:177 +#: ../comps-f9.xml.in.h:177 +msgid "This package group allows you to run a DNS name server (BIND) on the system." +msgstr "Este grupo de pacotes permite rodar um servidor de nomes DNS (BIND) no sistema." + +#: ../comps-f7.xml.in.h:170 +#: ../comps-f8.xml.in.h:178 +#: ../comps-f9.xml.in.h:178 +msgid "This package group allows you to share files between Linux and MS Windows(tm) systems." +msgstr "Este grupo de pacotes permite compartilhar arquivos entre os sistemas operacionais Linux e MS Windows(tm)." + +#: ../comps-f7.xml.in.h:171 +#: ../comps-f8.xml.in.h:179 +#: ../comps-f9.xml.in.h:179 msgid "This package group contains packages useful for use with MySQL." msgstr "Este grupo cont??m pacotes ??teis para usar com o MySQL." -#: ../comps-f7.xml.in.h:172 ../comps-f8.xml.in.h:180 ../comps-f9.xml.in.h:180 +#: ../comps-f7.xml.in.h:172 +#: ../comps-f8.xml.in.h:180 +#: ../comps-f9.xml.in.h:180 msgid "This package group includes packages useful for use with Postgresql." msgstr "Este grupo inclui pacotes ??teis para usar com o Postgresql." -#: ../comps-f7.xml.in.h:173 ../comps-f8.xml.in.h:181 ../comps-f9.xml.in.h:181 +#: ../comps-f7.xml.in.h:173 +#: ../comps-f8.xml.in.h:181 +#: ../comps-f9.xml.in.h:181 msgid "Tibetan Support" msgstr "Suporte ?? Tibetano" -#: ../comps-f7.xml.in.h:174 ../comps-f8.xml.in.h:182 ../comps-f9.xml.in.h:182 +#: ../comps-f7.xml.in.h:174 +#: ../comps-f8.xml.in.h:182 +#: ../comps-f9.xml.in.h:182 msgid "Tonga Support" msgstr "Suporte ?? Tonga" -#: ../comps-f7.xml.in.h:175 ../comps-f8.xml.in.h:183 ../comps-f9.xml.in.h:183 -#: ../comps-el4.xml.in.h:71 ../comps-el5.xml.in.h:70 +#: ../comps-f7.xml.in.h:175 +#: ../comps-f8.xml.in.h:183 +#: ../comps-f9.xml.in.h:183 +#: ../comps-el4.xml.in.h:71 +#: ../comps-el5.xml.in.h:70 msgid "Tools and Utilities needed by a Fedora Packager" -msgstr "Ferramentas e Utilit??rios necess??rios para um Empacotador do Fedora" +msgstr "Ferramentas e utilit??rios necess??rios para um Empacotador do Fedora" -#: ../comps-f7.xml.in.h:176 ../comps-f8.xml.in.h:184 ../comps-f9.xml.in.h:184 +#: ../comps-f7.xml.in.h:176 +#: ../comps-f8.xml.in.h:184 +#: ../comps-f9.xml.in.h:184 msgid "Tsonga Support" msgstr "Suporte ?? Tsonga" -#: ../comps-f7.xml.in.h:177 ../comps-f8.xml.in.h:185 ../comps-f9.xml.in.h:185 +#: ../comps-f7.xml.in.h:177 +#: ../comps-f8.xml.in.h:185 +#: ../comps-f9.xml.in.h:185 msgid "Tswana Support" msgstr "Suporte ?? Tswana" -#: ../comps-f7.xml.in.h:178 ../comps-f8.xml.in.h:186 ../comps-f9.xml.in.h:186 +#: ../comps-f7.xml.in.h:178 +#: ../comps-f8.xml.in.h:186 +#: ../comps-f9.xml.in.h:186 msgid "Turkish Support" msgstr "Suporte ?? Turco" -#: ../comps-f7.xml.in.h:179 ../comps-f8.xml.in.h:187 ../comps-f9.xml.in.h:187 +#: ../comps-f7.xml.in.h:179 +#: ../comps-f8.xml.in.h:187 +#: ../comps-f9.xml.in.h:187 msgid "Ukrainian Support" msgstr "Suporte ?? Ucraniano" -#: ../comps-f7.xml.in.h:180 ../comps-f8.xml.in.h:188 ../comps-f9.xml.in.h:188 +#: ../comps-f7.xml.in.h:180 +#: ../comps-f8.xml.in.h:188 +#: ../comps-f9.xml.in.h:188 msgid "Urdu Support" msgstr "Suporte ?? Urdu" -#: ../comps-f7.xml.in.h:181 ../comps-f8.xml.in.h:189 ../comps-f9.xml.in.h:189 -#: ../comps-el4.xml.in.h:72 ../comps-el5.xml.in.h:71 +#: ../comps-f7.xml.in.h:181 +#: ../comps-f8.xml.in.h:189 +#: ../comps-f9.xml.in.h:189 +#: ../comps-el4.xml.in.h:72 +#: ../comps-el5.xml.in.h:71 msgid "Various core pieces of the system." -msgstr "V??rias partes do n??cleo do sistema." +msgstr "V??rias partes centrais do sistema." -#: ../comps-f7.xml.in.h:182 ../comps-f8.xml.in.h:190 ../comps-f9.xml.in.h:190 +#: ../comps-f7.xml.in.h:182 +#: ../comps-f8.xml.in.h:190 +#: ../comps-f9.xml.in.h:190 #: ../comps-el5.xml.in.h:72 msgid "Various ways to relax and spend your free time." msgstr "V??rias maneiras de relaxar e passar seu tempo livre." -#: ../comps-f7.xml.in.h:183 ../comps-f8.xml.in.h:191 ../comps-f9.xml.in.h:191 +#: ../comps-f7.xml.in.h:183 +#: ../comps-f8.xml.in.h:191 +#: ../comps-f9.xml.in.h:191 msgid "Venda Support" msgstr "Suporte ?? Venda" -#: ../comps-f7.xml.in.h:184 ../comps-f8.xml.in.h:192 ../comps-f9.xml.in.h:192 +#: ../comps-f7.xml.in.h:184 +#: ../comps-f8.xml.in.h:192 +#: ../comps-f9.xml.in.h:192 msgid "Vietnamese Support" msgstr "Suporte ?? Vietnamita" -#: ../comps-f7.xml.in.h:185 ../comps-f8.xml.in.h:193 ../comps-f9.xml.in.h:193 +#: ../comps-f7.xml.in.h:185 +#: ../comps-f8.xml.in.h:193 +#: ../comps-f9.xml.in.h:193 msgid "Virtualization" msgstr "Virtualiza????o" -#: ../comps-f7.xml.in.h:186 ../comps-f8.xml.in.h:194 ../comps-f9.xml.in.h:194 -#: ../comps-el4.xml.in.h:73 ../comps-el5.xml.in.h:73 +#: ../comps-f7.xml.in.h:186 +#: ../comps-f8.xml.in.h:194 +#: ../comps-f9.xml.in.h:194 +#: ../comps-el4.xml.in.h:73 +#: ../comps-el5.xml.in.h:73 msgid "Web Development" msgstr "Desenvolvimento Web" -#: ../comps-f7.xml.in.h:187 ../comps-f8.xml.in.h:195 ../comps-f9.xml.in.h:195 -#: ../comps-el4.xml.in.h:74 ../comps-el5.xml.in.h:74 +#: ../comps-f7.xml.in.h:187 +#: ../comps-f8.xml.in.h:195 +#: ../comps-f9.xml.in.h:195 +#: ../comps-el4.xml.in.h:74 +#: ../comps-el5.xml.in.h:74 msgid "Web Server" msgstr "Servidor Web" -#: ../comps-f7.xml.in.h:188 ../comps-f8.xml.in.h:196 ../comps-f9.xml.in.h:196 +#: ../comps-f7.xml.in.h:188 +#: ../comps-f8.xml.in.h:196 +#: ../comps-f9.xml.in.h:196 msgid "Welsh Support" msgstr "Suporte ?? Gal??s" -#: ../comps-f7.xml.in.h:189 ../comps-f8.xml.in.h:197 ../comps-f9.xml.in.h:197 -#: ../comps-el4.xml.in.h:75 ../comps-el5.xml.in.h:75 +#: ../comps-f7.xml.in.h:189 +#: ../comps-f8.xml.in.h:197 +#: ../comps-f9.xml.in.h:197 +#: ../comps-el4.xml.in.h:75 +#: ../comps-el5.xml.in.h:75 msgid "Window Managers" msgstr "Gerenciadores de Janelas" -#: ../comps-f7.xml.in.h:190 ../comps-f8.xml.in.h:198 ../comps-f9.xml.in.h:198 +#: ../comps-f7.xml.in.h:190 +#: ../comps-f8.xml.in.h:198 +#: ../comps-f9.xml.in.h:198 msgid "Windows File Server" msgstr "Servidor de Arquivos Windows" -#: ../comps-f7.xml.in.h:191 ../comps-f8.xml.in.h:199 ../comps-f9.xml.in.h:199 +#: ../comps-f7.xml.in.h:191 +#: ../comps-f8.xml.in.h:199 +#: ../comps-f9.xml.in.h:199 msgid "X Software Development" msgstr "Desenvolvimento de Software X" -#: ../comps-f7.xml.in.h:192 ../comps-f8.xml.in.h:200 ../comps-f9.xml.in.h:200 -#: ../comps-el4.xml.in.h:76 ../comps-el5.xml.in.h:76 +#: ../comps-f7.xml.in.h:192 +#: ../comps-f8.xml.in.h:200 +#: ../comps-f9.xml.in.h:200 +#: ../comps-el4.xml.in.h:76 +#: ../comps-el5.xml.in.h:76 msgid "X Window System" msgstr "X Window System" -#: ../comps-f7.xml.in.h:193 ../comps-f8.xml.in.h:201 ../comps-f9.xml.in.h:201 +#: ../comps-f7.xml.in.h:193 +#: ../comps-f8.xml.in.h:201 +#: ../comps-f9.xml.in.h:201 msgid "XFCE" msgstr "XFCE" -#: ../comps-f7.xml.in.h:194 ../comps-f8.xml.in.h:202 ../comps-f9.xml.in.h:202 +#: ../comps-f7.xml.in.h:194 +#: ../comps-f8.xml.in.h:202 +#: ../comps-f9.xml.in.h:202 msgid "XFCE Software Development" msgstr "Desenvolvimento de Software XFCE" -#: ../comps-f7.xml.in.h:195 ../comps-f8.xml.in.h:203 ../comps-f9.xml.in.h:203 +#: ../comps-f7.xml.in.h:195 +#: ../comps-f8.xml.in.h:203 +#: ../comps-f9.xml.in.h:203 msgid "Xhosa Support" msgstr "Suporte ?? Xhosa" -#: ../comps-f7.xml.in.h:196 ../comps-f8.xml.in.h:204 ../comps-f9.xml.in.h:204 +#: ../comps-f7.xml.in.h:196 +#: ../comps-f8.xml.in.h:204 +#: ../comps-f9.xml.in.h:204 msgid "Zulu Support" msgstr "Suporte ?? Zulu" -#: ../comps-f8.xml.in.h:21 ../comps-f9.xml.in.h:21 +#: ../comps-f8.xml.in.h:21 +#: ../comps-f9.xml.in.h:21 msgid "Buildsystem building group" msgstr "Grupo de constru????o do Buildsystem" -#: ../comps-f8.xml.in.h:48 ../comps-f9.xml.in.h:48 +#: ../comps-f8.xml.in.h:48 +#: ../comps-f9.xml.in.h:48 msgid "Fedora Eclipse" msgstr "Fedora Eclipse" -#: ../comps-f8.xml.in.h:52 ../comps-f9.xml.in.h:52 +#: ../comps-f8.xml.in.h:52 +#: ../comps-f9.xml.in.h:52 msgid "Fonts" msgstr "Fontes" -#: ../comps-f8.xml.in.h:53 ../comps-f9.xml.in.h:53 +#: ../comps-f8.xml.in.h:53 +#: ../comps-f9.xml.in.h:53 msgid "Fonts packages for rendering text on the desktop." msgstr "Pacotes de fontes para renderizar textos no ambiente de trabalho." -#: ../comps-f8.xml.in.h:79 ../comps-f9.xml.in.h:79 +#: ../comps-f8.xml.in.h:79 +#: ../comps-f9.xml.in.h:79 msgid "Integrated Development Environments based on Eclipse." msgstr "Ambientes Integrados de Desenvolvimento baseados no Eclipse." -#: ../comps-f8.xml.in.h:95 ../comps-f9.xml.in.h:95 +#: ../comps-f8.xml.in.h:95 +#: ../comps-f9.xml.in.h:95 msgid "Legacy Fonts" msgstr "Fontes Legadas" -#: ../comps-f8.xml.in.h:100 ../comps-f9.xml.in.h:100 +#: ../comps-f8.xml.in.h:100 +#: ../comps-f9.xml.in.h:100 msgid "Low Saxon Support" msgstr "Suporte ?? Baixo Sax??o" -#: ../comps-f8.xml.in.h:106 ../comps-f9.xml.in.h:106 +#: ../comps-f8.xml.in.h:106 +#: ../comps-f9.xml.in.h:106 msgid "Mongolian Support" msgstr "Suporte ?? Mongol" -#: ../comps-f8.xml.in.h:108 ../comps-f9.xml.in.h:108 +#: ../comps-f8.xml.in.h:108 +#: ../comps-f9.xml.in.h:108 msgid "Nepali Support" msgstr "Suporte ?? Nepal??s" -#: ../comps-f8.xml.in.h:114 ../comps-f9.xml.in.h:114 +#: ../comps-f8.xml.in.h:114 +#: ../comps-f9.xml.in.h:114 msgid "Older bitmap and vector fonts packages" msgstr "Pacotes de fontes vetoriais e bitmaps antigos" -#: ../comps-el4.xml.in.h:3 ../comps-el5.xml.in.h:3 +#: ../comps-el4.xml.in.h:3 +#: ../comps-el5.xml.in.h:3 msgid "Applications for a variety of tasks" msgstr "Aplica????es para uma variedade de tarefas" -#: ../comps-el4.xml.in.h:12 ../comps-el5.xml.in.h:13 +#: ../comps-el4.xml.in.h:12 +#: ../comps-el5.xml.in.h:13 msgid "Dialup Networking Support" msgstr "Suporte ?? Rede Dialup" -#: ../comps-el4.xml.in.h:22 ../comps-el5.xml.in.h:23 -msgid "" -"GNOME is a powerful, graphical user interface which includes a panel, " -"desktop, system icons, and a graphical file manager." -msgstr "" -"O GNOME ?? uma poderosa interface gr??fica que inclui um painel, uma ??rea de " -"trabalho, ??cones de sistema e um gerenciador de arquivos gr??fico." - -#: ../comps-el4.xml.in.h:35 ../comps-el5.xml.in.h:35 -msgid "" -"KDE is a powerful, graphical user interface which includes a panel, desktop, " -"system icons, and a graphical file manager." -msgstr "" -"O KDE ?? uma poderosa interface gr??fica que inclui um painel, uma ??rea de " -"trabalho, ??cones de sistema e um gerenciador de arquivos gr??fico." +#: ../comps-el4.xml.in.h:22 +#: ../comps-el5.xml.in.h:23 +msgid "GNOME is a powerful, graphical user interface which includes a panel, desktop, system icons, and a graphical file manager." +msgstr "O GNOME ?? uma poderosa interface gr??fica que inclui um painel, uma ??rea de trabalho, ??cones de sistema e um gerenciador de arquivos gr??fico." + +#: ../comps-el4.xml.in.h:35 +#: ../comps-el5.xml.in.h:35 +msgid "KDE is a powerful, graphical user interface which includes a panel, desktop, system icons, and a graphical file manager." +msgstr "O KDE ?? uma poderosa interface gr??fica que inclui um painel, uma ??rea de trabalho, ??cones de sistema e um gerenciador de arquivos gr??fico." + +#: ../comps-el4.xml.in.h:44 +#: ../comps-el5.xml.in.h:44 +msgid "Sometimes called text editors, these are programs that allow you to create and edit files. These include Emacs and Vi." +msgstr "Algumas vezes chamados de editores de texto, estes programas permitem criar e editar arquivos. Isto inclui o Emacs e o Vi." -#: ../comps-el4.xml.in.h:44 ../comps-el5.xml.in.h:44 -msgid "" -"Sometimes called text editors, these are programs that allow you to create " -"and edit files. These include Emacs and Vi." -msgstr "" -"Algumas vezes chamados de editores de texto, estes programas permitem criar " -"e editar arquivos. Isto inclui o Emacs e o Vi." - -#: ../comps-el4.xml.in.h:50 ../comps-el5.xml.in.h:48 +#: ../comps-el4.xml.in.h:50 +#: ../comps-el5.xml.in.h:48 msgid "The XEmacs text editor." msgstr "O editor de texto XEmacs." -#: ../comps-el4.xml.in.h:54 ../comps-el5.xml.in.h:52 -msgid "" -"These tools allow you to create documentation in the DocBook format and " -"convert them to HTML, PDF, Postscript, and text." -msgstr "" -"Estas ferramentas permitem criar documenta????o no formato DocBook e convert??-" -"la para HTML, PDF, PostScript e texto." +#: ../comps-el4.xml.in.h:54 +#: ../comps-el5.xml.in.h:52 +msgid "These tools allow you to create documentation in the DocBook format and convert them to HTML, PDF, Postscript, and text." +msgstr "Estas ferramentas permitem criar documenta????o no formato DocBook e convert??-la para HTML, PDF, PostScript e texto." -#: ../comps-el4.xml.in.h:64 ../comps-el5.xml.in.h:62 +#: ../comps-el4.xml.in.h:64 +#: ../comps-el5.xml.in.h:62 msgid "This group is a collection of network servers for specific purposes" -msgstr "" -"Este grupo ?? uma cole????o de servidores de redes para prop??sitos espec??ficos" +msgstr "Este grupo ?? uma cole????o de servidores de redes para prop??sitos espec??ficos." -#: ../comps-el4.xml.in.h:65 ../comps-el5.xml.in.h:63 -msgid "" -"This group is a collection of tools and resources of Arabic environments." +#: ../comps-el4.xml.in.h:65 +#: ../comps-el5.xml.in.h:63 +msgid "This group is a collection of tools and resources of Arabic environments." msgstr "Este grupo ?? um cole????o de ferramentas e recursos de ambientes ??rabes." -#: ../comps-el4.xml.in.h:67 ../comps-el5.xml.in.h:66 -msgid "" -"This group is a collection of tools and resources of Hebrew environments." -msgstr "" -"Este grupo ?? um cole????o de ferramentas e recursos de ambientes hebraicos." - -#: ../comps-el4.xml.in.h:68 ../comps-el5.xml.in.h:67 -msgid "" -"This group is a collection of tools and resources of Japanese environments." -msgstr "" -"Este grupo ?? um cole????o de ferramentas e recursos de ambientes japoneses." +#: ../comps-el4.xml.in.h:67 +#: ../comps-el5.xml.in.h:66 +msgid "This group is a collection of tools and resources of Hebrew environments." +msgstr "Este grupo ?? um cole????o de ferramentas e recursos de ambientes hebraicos." + +#: ../comps-el4.xml.in.h:68 +#: ../comps-el5.xml.in.h:67 +msgid "This group is a collection of tools and resources of Japanese environments." +msgstr "Este grupo ?? um cole????o de ferramentas e recursos de ambientes japoneses." -#: ../comps-el4.xml.in.h:77 ../comps-el5.xml.in.h:77 +#: ../comps-el4.xml.in.h:77 +#: ../comps-el5.xml.in.h:77 msgid "XEmacs" msgstr "XEmacs" #: ../comps-el5.xml.in.h:65 -msgid "" -"This group is a collection of tools and resources of Czech environments." +msgid "This group is a collection of tools and resources of Czech environments." msgstr "Este grupo ?? um cole????o de ferramentas e recursos de ambientes checos." + From fedora-extras-commits at redhat.com Tue Apr 1 03:35:30 2008 From: fedora-extras-commits at redhat.com (Jim Radford (radford)) Date: Tue, 1 Apr 2008 03:35:30 GMT Subject: rpms/dkim-milter/devel dkim-milter, NONE, 1.1 dkim-milter.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2 Message-ID: <200804010335.m313ZUuF025304@cvs-int.fedora.redhat.com> Author: radford Update of /cvs/pkgs/rpms/dkim-milter/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25279/devel Modified Files: .cvsignore sources Added Files: dkim-milter dkim-milter.spec Log Message: * Sun Mar 30 2008 Jim Radford - 2.5.1-5 - Just use the full path explicitly since daemon --user uses -. - Add a %postun to restart on upgrade * Sat Mar 29 2008 Jim Radford - 2.5.1-4 - Add /usr/sbin to the PATH so init script can find dkim-filter * Thu Mar 27 2008 Jim Radford - 2.5.1-3 - Socket specification now need local: * Mon Mar 24 2008 Jim Radford - 2.5.1-2 - New style user/group creation, better source URL, support optflags, use install -p and move the key dir from /var/db to /etc (since it's not written). * Mon Mar 24 2008 Jim Radford - 2.5.1-1 - New upstream * Wed Dec 19 2007 Jim Radford - 2.4.0-2 - Fix build deps by adding m4 and groff * Sun Dec 2 2007 Jim Radford 2.4.0-1.fc8 - Initial package. --- NEW FILE dkim-milter --- #!/bin/bash # # /etc/init.d/dkim-milter # # chkconfig: - 79 21 # description: DomainKeys Identified Mail Milter # processname: dkim-filter # config: /etc/mail/dkim-milter/dkim-milter.conf # config: /etc/sysconfig/dkim-milter # pidfile: /var/run/dkim-milter.pid # Source function library. . /etc/init.d/functions desc="DomainKeys Identified Mail Milter" name=dkim-milter prog=dkim-filter prog_with_path=/usr/sbin/${prog} user=${name} pidfile=/var/run/${name}.pid config=/etc/mail/${name}/${prog}.conf SOCKET=local:/var/run/${name}/${name}.sock EXTRA_FLAGS="" [ -r /etc/sysconfig/${name} ] && . /etc/sysconfig/${name} start() { echo -n "Starting ${desc} (${prog}): " touch ${pidfile} chown ${user}:${user} ${pidfile} daemon --user ${user} ${prog_with_path} -x ${config} -P ${pidfile} -p ${SOCKET} ${EXTRA_FLAGS} RETVAL=$? echo if [ ${RETVAL} -eq 0 ]; then touch /var/lock/subsys/${name} return 0 else return 1 fi } stop() { echo -n "Shutting down ${desc}: " rm -f /var/lock/subsys/${name} killproc ${prog} RETVAL=$? echo if [ ${RETVAL} -eq 0 ]; then rm -f ${pidfile} return 0 else return 1 fi } case "$1" in start) start ;; stop) stop ;; status) status -p ${pidfile} ${prog} ;; restart|reload) stop start ;; condrestart) [ -f /var/lock/subsys/${name} ] && stop start ;; *) echo "Usage: ${name} {start|stop|status|reload|restart}" exit 1 ;; esac exit $? --- NEW FILE dkim-milter.spec --- Name: dkim-milter Version: 2.5.1 Release: 5%{?dist} Summary: DomainKeys Identified Mail sender authentication sendmail milter Group: System Environment/Daemons License: Sendmail URL: http://www.dkim.org/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: dkim-milter BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: sendmail-devel, openssl-devel, m4, groff Requires: sendmail Requires(pre): shadow-utils Requires(post): /sbin/chkconfig Requires(preun): /sbin/service Requires(postun): /sbin/service %define keydir %{_sysconfdir}/mail/%{name}/keys %description The dkim-milter package is an open source implementation of the DKIM sender authentication system proposed by the E-mail Signing Technology Group (ESTG), now a proposed standard of the IETF (RFC4871). DKIM is an amalgamation of the DomainKeys (DK) proposal by Yahoo!, Inc. and the Internet Identified Mail (IIM) proposal by Cisco. This package consists of a library that implements the DKIM service and a milter-based filter application that can plug in to the sendmail MTA to provide that service to sufficiently recent sendmail MTAs and other MTAs that support the milter protocol. %prep %setup -q cat > devtools/Site/site.config.m4 <<'EOF' define(`confMANROOT', `%{_mandir}/man') define(`confUBINDIR', `%{_sbindir}') define(`confCCOPTS', `%{optflags}') EOF %build make %{?_smp_mflags} sed -i~ -e 's@^Domain\|^KeyFile\|^Socket@# &@' \ -e 's@^# KeyList.*@KeyList %{keydir}/keylist@' \ dkim-filter/dkim-filter.conf.sample sed -i~ -e 's!inet:8891 at localhost!local:%{_localstatedir}/run/%{name}/%{name}.sock!' INSTALL %install rm -rf %{buildroot} install -p -d %{buildroot}%{_sysconfdir}/sysconfig cat > %{buildroot}%{_sysconfdir}/sysconfig/%{name} <<'EOF' # To sign only, use -bs # EXTRA_FLAGS=-bs EOF install -p -m 644 -D dkim-filter/dkim-filter.conf.sample %{buildroot}%{_sysconfdir}/mail/%{name}/dkim-filter.conf install -p -D /dev/null %{buildroot}%{_localstatedir}/run/%{name}/%{name}.sock install -p -m 644 -D /dev/null %{buildroot}%{keydir}/keylist cat > %{buildroot}%{keydir}/keylist <<'EOF' # sender-pattern:signing-domain:keypath # *:example.com:selector EOF install -p -d %{buildroot}%{_mandir}/man{3,5,8} install -p -d %{buildroot}%{_sbindir} make install DESTDIR=%{buildroot} {UBIN,MAN}{OWN,GRP}=$(whoami) UBINMODE=755 MANMODE=644 rm -rf %{buildroot}%{_mandir}/man3 # /ar.3.gz install -p -m 755 -D %{SOURCE1} %{buildroot}%{_initrddir}/%{name} %pre getent group %{name} >/dev/null || groupadd -r %{name} getent passwd %{name} >/dev/null || \ useradd -r -g %{name} -d %{keydir} -s /sbin/nologin -c "DKIM Milter" %{name} exit 0 %post /sbin/chkconfig --add %{name} || : %preun if [ $1 -eq 0 ]; then /sbin/service %{name} stop > /dev/null || : /sbin/chkconfig --del %{name} || : fi %postun if [ "$1" -ge "1" ]; then /sbin/service %{name} condrestart >/dev/null || : fi %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README LICENSE RELEASE_NOTES INSTALL %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %dir %{_sysconfdir}/mail/%{name} %config(noreplace) %{_sysconfdir}/mail/%{name}/dkim-filter.conf %dir %attr(700,dkim-milter,dkim-milter) %{keydir} %config(noreplace) %attr(-,dkim-milter,dkim-milter) %{keydir}/keylist %dir %attr(700,dkim-milter,dkim-milter) %{_localstatedir}/run/%{name} %ghost %{_localstatedir}/run/%{name}/%{name}.sock %attr(550,dkim-milter,dkim-milter) %{_sbindir}/dkim-filter %{_sbindir}/dkim-testkey %{_sbindir}/dkim-testssp %{_sbindir}/dkim-genkey %{_initrddir}/%{name} %{_mandir}/*/* %changelog * Sun Mar 30 2008 Jim Radford - 2.5.1-5 - Just use the full path explicitly since daemon --user uses -. - Add a %postun to restart on upgrade * Sat Mar 29 2008 Jim Radford - 2.5.1-4 - Add /usr/sbin to the PATH so init script can find dkim-filter * Thu Mar 27 2008 Jim Radford - 2.5.1-3 - Socket specification now need local: * Mon Mar 24 2008 Jim Radford - 2.5.1-2 - New style user/group creation, better source URL, support optflags, use install -p and move the key dir from /var/db to /etc (since it's not written). * Mon Mar 24 2008 Jim Radford - 2.5.1-1 - New upstream * Wed Dec 19 2007 Jim Radford - 2.4.0-2 - Fix build deps by adding m4 and groff * Sun Dec 2 2007 Jim Radford 2.4.0-1.fc8 - Initial package. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/dkim-milter/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 1 Apr 2008 03:14:19 -0000 1.1 +++ .cvsignore 1 Apr 2008 03:34:38 -0000 1.2 @@ -0,0 +1 @@ +dkim-milter-2.5.1.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/dkim-milter/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 1 Apr 2008 03:14:19 -0000 1.1 +++ sources 1 Apr 2008 03:34:38 -0000 1.2 @@ -0,0 +1 @@ +591ffca39c0dbdf07bd3491d0da89332 dkim-milter-2.5.1.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 03:41:33 2008 From: fedora-extras-commits at redhat.com (Christopher Aillon (caillon)) Date: Tue, 1 Apr 2008 03:41:33 GMT Subject: rpms/fbdesk/devel fbdesk-gcc43.patch, NONE, 1.1 fbdesk.spec, 1.22, 1.23 Message-ID: <200804010341.m313fX6w025489@cvs-int.fedora.redhat.com> Author: caillon Update of /cvs/extras/rpms/fbdesk/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25466 Modified Files: fbdesk.spec Added Files: fbdesk-gcc43.patch Log Message: * Mon Mar 31 2008 Christopher Aillon - 1.4.1-4 - Add needed C++ #include directives for GCC 4.3 fbdesk-gcc43.patch: --- NEW FILE fbdesk-gcc43.patch --- diff -up fbdesk-1.4.1/src/main.cc.gcc43 fbdesk-1.4.1/src/main.cc --- fbdesk-1.4.1/src/main.cc.gcc43 2008-03-31 23:36:49.000000000 -0400 +++ fbdesk-1.4.1/src/main.cc 2008-03-31 23:37:12.000000000 -0400 @@ -23,6 +23,8 @@ #include "FbDesk.hh" #include "version.h" +#include +#include #include #include #include diff -up fbdesk-1.4.1/src/FbDesk.cc.gcc43 fbdesk-1.4.1/src/FbDesk.cc --- fbdesk-1.4.1/src/FbDesk.cc.gcc43 2008-03-31 23:36:06.000000000 -0400 +++ fbdesk-1.4.1/src/FbDesk.cc 2008-03-31 23:36:32.000000000 -0400 @@ -39,6 +39,7 @@ #include #include #include +#include using namespace std; using namespace FbTk; diff -up fbdesk-1.4.1/src/FbTk/KeyUtil.cc.gcc43 fbdesk-1.4.1/src/FbTk/KeyUtil.cc --- fbdesk-1.4.1/src/FbTk/KeyUtil.cc.gcc43 2008-03-31 23:34:03.000000000 -0400 +++ fbdesk-1.4.1/src/FbTk/KeyUtil.cc 2008-03-31 23:34:13.000000000 -0400 @@ -24,6 +24,7 @@ #include "KeyUtil.hh" #include "App.hh" +#include #include namespace { diff -up fbdesk-1.4.1/src/FbTk/ThemeItems.cc.gcc43 fbdesk-1.4.1/src/FbTk/ThemeItems.cc --- fbdesk-1.4.1/src/FbTk/ThemeItems.cc.gcc43 2008-03-31 23:34:33.000000000 -0400 +++ fbdesk-1.4.1/src/FbTk/ThemeItems.cc 2008-03-31 23:34:59.000000000 -0400 @@ -39,6 +39,8 @@ #include "Image.hh" #include "StringUtil.hh" +#include +#include #include #ifdef HAVE_CSTDIO #include diff -up fbdesk-1.4.1/src/FbTk/FbPixmap.cc.gcc43 fbdesk-1.4.1/src/FbTk/FbPixmap.cc --- fbdesk-1.4.1/src/FbTk/FbPixmap.cc.gcc43 2008-03-31 23:32:29.000000000 -0400 +++ fbdesk-1.4.1/src/FbTk/FbPixmap.cc 2008-03-31 23:32:45.000000000 -0400 @@ -30,6 +30,7 @@ #include #include #include +#include using namespace std; diff -up fbdesk-1.4.1/src/FbTk/Theme.cc.gcc43 fbdesk-1.4.1/src/FbTk/Theme.cc --- fbdesk-1.4.1/src/FbTk/Theme.cc.gcc43 2008-03-31 23:30:11.000000000 -0400 +++ fbdesk-1.4.1/src/FbTk/Theme.cc 2008-03-31 23:31:24.000000000 -0400 @@ -29,6 +29,7 @@ #include "FileUtil.hh" #include "Image.hh" +#include #ifdef HAVE_CSTDIO #include #else diff -up fbdesk-1.4.1/src/FbTk/TextBox.cc.gcc43 fbdesk-1.4.1/src/FbTk/TextBox.cc --- fbdesk-1.4.1/src/FbTk/TextBox.cc.gcc43 2008-03-31 23:33:15.000000000 -0400 +++ fbdesk-1.4.1/src/FbTk/TextBox.cc 2008-03-31 23:33:27.000000000 -0400 @@ -27,6 +27,7 @@ #include "App.hh" #include "KeyUtil.hh" +#include #ifdef HAVE_CCTYPE #include #else diff -up fbdesk-1.4.1/src/FbTk/XFontImp.cc.gcc43 fbdesk-1.4.1/src/FbTk/XFontImp.cc --- fbdesk-1.4.1/src/FbTk/XFontImp.cc.gcc43 2006-03-25 06:53:47.000000000 -0500 +++ fbdesk-1.4.1/src/FbTk/XFontImp.cc 2008-03-31 23:26:33.000000000 -0400 @@ -28,6 +28,7 @@ #include +#include #include #include #ifdef HAVE_CSTDIO diff -up fbdesk-1.4.1/src/FbTk/StringUtil.cc.gcc43 fbdesk-1.4.1/src/FbTk/StringUtil.cc --- fbdesk-1.4.1/src/FbTk/StringUtil.cc.gcc43 2008-03-31 23:31:48.000000000 -0400 +++ fbdesk-1.4.1/src/FbTk/StringUtil.cc 2008-03-31 23:32:07.000000000 -0400 @@ -49,6 +49,7 @@ #include #include #include +#include using std::string; using std::transform; diff -up fbdesk-1.4.1/src/FbTk/TextureRender.cc.gcc43 fbdesk-1.4.1/src/FbTk/TextureRender.cc --- fbdesk-1.4.1/src/FbTk/TextureRender.cc.gcc43 2008-03-31 23:27:43.000000000 -0400 +++ fbdesk-1.4.1/src/FbTk/TextureRender.cc 2008-03-31 23:29:41.000000000 -0400 @@ -31,6 +31,7 @@ #include "FbPixmap.hh" #include "GContext.hh" +#include #include #include #ifdef HAVE_CSTDIO Index: fbdesk.spec =================================================================== RCS file: /cvs/extras/rpms/fbdesk/devel/fbdesk.spec,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- fbdesk.spec 18 Feb 2008 20:20:12 -0000 1.22 +++ fbdesk.spec 1 Apr 2008 03:40:53 -0000 1.23 @@ -1,6 +1,6 @@ Name: fbdesk Version: 1.4.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Icon Manager for Fluxbox @@ -8,6 +8,7 @@ License: MIT URL: http://fluxbox.sourceforge.net/fbdesk/ Source0: http://fluxbox.sourceforge.net/download/fbdesk-1.4.1.tar.gz +Patch1: %{name}-gcc43.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: freetype-devel BuildRequires: libpng-devel @@ -26,6 +27,7 @@ %prep %setup -q +%patch1 -p1 -b .gcc43 %build %configure --x-includes=%{_includedir} --x-libraries=%{_libdir} @@ -50,6 +52,9 @@ %changelog +* Mon Mar 31 2008 Christopher Aillon - 1.4.1-4 +- Add needed C++ #include directives for GCC 4.3 + * Mon Feb 18 2008 Fedora Release Engineering - 1.4.1-3 - Autorebuild for GCC 4.3 From fedora-extras-commits at redhat.com Tue Apr 1 03:49:03 2008 From: fedora-extras-commits at redhat.com (Dave Jones (davej)) Date: Tue, 1 Apr 2008 03:49:03 GMT Subject: rpms/kernel/devel linux-2.6-sata-eeepc-faster.patch, NONE, 1.1 kernel.spec, 1.565, 1.566 Message-ID: <200804010349.m313n3Mq025669@cvs-int.fedora.redhat.com> Author: davej Update of /cvs/pkgs/rpms/kernel/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25626 Modified Files: kernel.spec Added Files: linux-2.6-sata-eeepc-faster.patch Log Message: Support UDMA66 on Asus Eee. (experimental) linux-2.6-sata-eeepc-faster.patch: --- NEW FILE linux-2.6-sata-eeepc-faster.patch --- The Asus Eee PC prints this during bootup.. ata2.00: limited to UDMA/33 due to 40-wire cable Which is unfortunate, as it has.. ata2.00: ATA-4: SILICONMOTION SM223AC, , max UDMA/66 I believe there actually is no cable, and the flash is directly connected to the controller. [root at eee ~]# hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 64 MB in 3.08 seconds = 20.76 MB/sec With the patch below it returns.. TBD Signed-off-by: Dave Jones --- linux-2.6.24.noarch/drivers/ata/ata_piix.c~ 2008-03-31 23:43:05.000000000 -0400 +++ linux-2.6.24.noarch/drivers/ata/ata_piix.c 2008-03-31 23:44:34.000000000 -0400 @@ -716,6 +716,7 @@ struct ich_laptop { static const struct ich_laptop ich_laptop[] = { /* devid, subvendor, subdev */ + { 0x2653, 0x1043, 0x82d8 }, /* ICH6M on Asus Eee PC */ { 0x27DF, 0x0005, 0x0280 }, /* ICH7 on Acer 5602WLMi */ { 0x27DF, 0x1025, 0x0102 }, /* ICH7 on Acer 5602aWLMi */ { 0x27DF, 0x1025, 0x0110 }, /* ICH7 on Acer 3682WLMi */ Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v retrieving revision 1.565 retrieving revision 1.566 diff -u -r1.565 -r1.566 --- kernel.spec 1 Apr 2008 02:14:18 -0000 1.565 +++ kernel.spec 1 Apr 2008 03:48:16 -0000 1.566 @@ -624,6 +624,9 @@ # kludge to make ich9 e1000 work Patch2000: linux-2.6-e1000-ich9.patch +# Make Eee disk faster. +Patch2010: linux-2.6-sata-eeepc-faster.patch + # atl2 network driver Patch2020: linux-2.6-netdev-atl2.patch @@ -1121,6 +1124,9 @@ ApplyPatch linux-2.6-lirc.patch ApplyPatch linux-2.6-e1000-ich9.patch + +ApplyPatch linux-2.6-sata-eeepc-faster.patch + ApplyPatch linux-2.6-netdev-atl2.patch # Nouveau DRM + drm fixes @@ -1737,6 +1743,9 @@ %kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL} -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.conf %{with_xen} xen %changelog +* Mon Mar 31 2008 Dave Jones +- Support UDMA66 on Asus Eee. (experimental) + * Mon Mar 31 2008 Chuck Ebbert - Disable HDA audio power save by default. (#433495) (Users can still enable it manually.) From fedora-extras-commits at redhat.com Tue Apr 1 03:57:54 2008 From: fedora-extras-commits at redhat.com (Ian Kent (iankent)) Date: Tue, 1 Apr 2008 03:57:54 GMT Subject: rpms/autofs/devel autofs-5.0.3-map-type-in-map-name.patch, 1.3, 1.4 autofs.spec, 1.238, 1.239 Message-ID: <200804010357.m313vsb9025795@cvs-int.fedora.redhat.com> Author: iankent Update of /cvs/pkgs/rpms/autofs/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25772 Modified Files: autofs-5.0.3-map-type-in-map-name.patch autofs.spec Log Message: * Sun Apr 1 2008 Ian Kent - 5.0.3-11 - and another try at fixing lexer matching map type in map name. autofs-5.0.3-map-type-in-map-name.patch: Index: autofs-5.0.3-map-type-in-map-name.patch =================================================================== RCS file: /cvs/pkgs/rpms/autofs/devel/autofs-5.0.3-map-type-in-map-name.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- autofs-5.0.3-map-type-in-map-name.patch 30 Mar 2008 03:58:30 -0000 1.3 +++ autofs-5.0.3-map-type-in-map-name.patch 1 Apr 2008 03:57:45 -0000 1.4 @@ -1,19 +1,6 @@ -diff --git a/CHANGELOG b/CHANGELOG -index af5a1b0..76f2477 100644 ---- a/CHANGELOG -+++ b/CHANGELOG -@@ -12,6 +12,7 @@ - - update fix expire working harder than needed. - - add missing check for zero length NIS key (Wengang Wang). - - init SASL callbacks on every ldap lookup library load. -+- fix incorrect match of map type name when included in map name. - - 14/01/2008 autofs-5.0.3 - ----------------------- -diff --git a/lib/master_tok.l b/lib/master_tok.l -index b379940..4bbe033 100644 ---- a/lib/master_tok.l -+++ b/lib/master_tok.l +diff -up autofs-5.0.3/lib/master_tok.l.map-type-in-map-name autofs-5.0.3/lib/master_tok.l +--- autofs-5.0.3/lib/master_tok.l.map-type-in-map-name 2008-04-01 11:14:00.000000000 +0800 ++++ autofs-5.0.3/lib/master_tok.l 2008-04-01 11:14:00.000000000 +0800 @@ -77,6 +77,7 @@ int my_yyinput(char *, int); char buff[1024]; char *bptr; @@ -22,7 +9,7 @@ %} -@@ -190,13 +191,27 @@ OPTNTOUT (-n{OPTWS}|-n{OPTWS}={OPTWS}|--negative-timeout{OPTWS}|--negative-timeo +@@ -190,13 +191,27 @@ OPTNTOUT (-n{OPTWS}|-n{OPTWS}={OPTWS}|-- {OPTWS}\\\n{OPTWS} {} {MULTI} { @@ -39,9 +26,10 @@ + } } - {MTYPE} { +- {MTYPE} { - strcpy(master_lval.strtype, master_text); - return(MAPTYPE); ++ {MTYPE}/({DNSERVERSTR}|{DNATTRSTR}=)? { + tlen = master_leng - 1; + if (bptr != buff && isblank(master_text[tlen])) { + strncat(buff, master_text, tlen); @@ -54,7 +42,7 @@ } {MULTISEP} { return(DDASH); } -@@ -226,7 +241,7 @@ OPTNTOUT (-n{OPTWS}|-n{OPTWS}={OPTWS}|--negative-timeout{OPTWS}|--negative-timeo +@@ -226,7 +241,7 @@ OPTNTOUT (-n{OPTWS}|-n{OPTWS}={OPTWS}|-- yyless(0); } @@ -63,3 +51,15 @@ BEGIN(DNSTR); yyless(0); } +diff -up autofs-5.0.3/lib/master_parse.y.map-type-in-map-name autofs-5.0.3/lib/master_parse.y +diff -up autofs-5.0.3/CHANGELOG.map-type-in-map-name autofs-5.0.3/CHANGELOG +--- autofs-5.0.3/CHANGELOG.map-type-in-map-name 2008-04-01 11:14:00.000000000 +0800 ++++ autofs-5.0.3/CHANGELOG 2008-04-01 11:14:00.000000000 +0800 +@@ -10,6 +10,7 @@ + - fix unlink of mount tree incorrectly causing autofs mount fail. + - add missing check for zero length NIS key (Wengang Wang). + - init SASL callbacks on every ldap lookup library load. ++- fix incorrect match of map type name when included in map name. + + 14/01/2008 autofs-5.0.3 + ----------------------- Index: autofs.spec =================================================================== RCS file: /cvs/pkgs/rpms/autofs/devel/autofs.spec,v retrieving revision 1.238 retrieving revision 1.239 diff -u -r1.238 -r1.239 --- autofs.spec 30 Mar 2008 03:58:30 -0000 1.238 +++ autofs.spec 1 Apr 2008 03:57:45 -0000 1.239 @@ -4,7 +4,7 @@ Summary: A tool for automatically mounting and unmounting filesystems Name: autofs Version: 5.0.3 -Release: 10 +Release: 11 Epoch: 1 License: GPL Group: System Environment/Daemons @@ -125,6 +125,9 @@ %{_libdir}/autofs/ %changelog +* Sun Apr 1 2008 Ian Kent - 5.0.3-11 +- and another try at fixing lexer matching map type in map name. + * Sun Mar 30 2008 Ian Kent - 5.0.3-10 - another try a fixing lexer matching map type in map name. From fedora-extras-commits at redhat.com Tue Apr 1 04:10:11 2008 From: fedora-extras-commits at redhat.com (Brandon Holbrook (static)) Date: Tue, 1 Apr 2008 04:10:11 GMT Subject: rpms/php-pear-Mail-mimeDecode/devel php-pear-Mail-mimeDecode.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2 Message-ID: <200804010410.m314ABfv032564@cvs-int.fedora.redhat.com> Author: static Update of /cvs/extras/rpms/php-pear-Mail-mimeDecode/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32475 Modified Files: .cvsignore sources Added Files: php-pear-Mail-mimeDecode.spec Log Message: Initial checkin --- NEW FILE php-pear-Mail-mimeDecode.spec --- %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} Name: php-pear-Mail-mimeDecode Version: 1.5.0 Release: 3%{?dist} Summary: Class to decode mime messages Group: Development/Libraries License: BSD URL: http://pear.php.net/package/Mail_mimeDecode Source0: http://pear.php.net/get/Mail_mimeDecode-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-pear >= 1:1.6.0 Requires: php-pear(PEAR) >= 1.6.0 Requires: php-pear(Mail_Mime) > 1.4.0 Requires(post): %{__pear} Requires(postun): %{__pear} Provides: php-pear(Mail_mimeDecode) = %{version} %description Provides a class to deal with the decoding and interpreting of mime messages. This package used to be part of the Mail_Mime package, but has been split off. To run post-installation tests, execute: pear run-tests -p Mail_mimeDecode %prep %setup -q -c #cd Mail_mimeDecode-%{version} [ -f package2.xml ] || mv package.xml package2.xml mv package2.xml Mail_mimeDecode-%{version}/Mail_mimeDecode.xml # Empty build section, nothing required %build %install rm -rf %{buildroot} docdir cd Mail_mimeDecode-%{version} %{__pear} install --nodeps --packagingroot %{buildroot} Mail_mimeDecode.xml # Move documentation # Uncomment these lines whenever this package starts including docs #mkdir -p docdir #mv %{buildroot}%{pear_docdir}/* docdir # Clean up unnecessary files rm -rf %{buildroot}%{pear_phpdir}/.??* # Install XML package description mkdir -p %{buildroot}%{pear_xmldir} install -pm 644 Mail_mimeDecode.xml %{buildroot}%{pear_xmldir} %check # Sanity check lst=$(find %{buildroot}%{pear_xmldir} -exec grep -q %{buildroot} {} \; -print) [ ! -z "$lst" ] && echo "Reference to BUILDROOT in $lst" && exit 1; %clean rm -rf %{buildroot} %post %{__pear} install --nodeps --soft --force --register-only %{pear_xmldir}/Mail_mimeDecode.xml >/dev/null ||: %postun # if refcount = 0 then package has been removed (not upgraded) if [ "$1" -eq "0" ]; then %{__pear} uninstall --nodeps --ignore-errors --register-only Mail_mimeDecode >/dev/null ||: fi %files %defattr(-,root,root,-) # Uncomment whenever this package starts including docs #%doc Mail_mimeDecode-%{version}/docdir/Mail_mimeDecode/* %{pear_xmldir}/Mail_mimeDecode.xml %{pear_testdir}/Mail_mimeDecode %{pear_phpdir}/Mail/mimeDecode.php %changelog * Sun Mar 30 2008 Brandon Holbrook 1.5.0-3 - Re-Corrected license :) * Wed Mar 26 2008 Brandon Holbrook 1.5.0-2 - Corrected license - No longer own pear_datadir/Mail * Thu Dec 6 2007 Brandon Holbrook 1.5.0-1 - Initial Build Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/php-pear-Mail-mimeDecode/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 1 Apr 2008 03:18:31 -0000 1.1 +++ .cvsignore 1 Apr 2008 04:09:31 -0000 1.2 @@ -0,0 +1 @@ +Mail_mimeDecode-1.5.0.tgz Index: sources =================================================================== RCS file: /cvs/extras/rpms/php-pear-Mail-mimeDecode/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 1 Apr 2008 03:18:31 -0000 1.1 +++ sources 1 Apr 2008 04:09:31 -0000 1.2 @@ -0,0 +1 @@ +e81f99c951eb5f199caa9dcd9c16f97f Mail_mimeDecode-1.5.0.tgz From fedora-extras-commits at redhat.com Tue Apr 1 04:11:34 2008 From: fedora-extras-commits at redhat.com (Bill Nottingham (notting)) Date: Tue, 1 Apr 2008 04:11:34 GMT Subject: rpms/mash/devel .cvsignore, 1.25, 1.26 mash.spec, 1.24, 1.25 sources, 1.27, 1.28 Message-ID: <200804010411.m314BY60032707@cvs-int.fedora.redhat.com> Author: notting Update of /cvs/extras/rpms/mash/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32641 Modified Files: .cvsignore mash.spec sources Log Message: update to 0.3.3 Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/mash/devel/.cvsignore,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- .cvsignore 22 Feb 2008 16:12:06 -0000 1.25 +++ .cvsignore 1 Apr 2008 04:10:52 -0000 1.26 @@ -1 +1 @@ -mash-0.3.2.tar.gz +mash-0.3.3.tar.gz Index: mash.spec =================================================================== RCS file: /cvs/extras/rpms/mash/devel/mash.spec,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- mash.spec 22 Feb 2008 16:12:06 -0000 1.24 +++ mash.spec 1 Apr 2008 04:10:52 -0000 1.25 @@ -1,7 +1,7 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: mash -Version: 0.3.2 +Version: 0.3.3 Release: 1%{?dist} Summary: Koji buildsystem to yum repository converter Group: Development/Tools @@ -43,6 +43,9 @@ %{_datadir}/mash %changelog +* Tue Apr 1 2008 Bill Nottingham 0.3.3-1 +- add gtk modules to multilib list (#439949) + * Fri Feb 22 2008 Bill Nottingham 0.3.2-1 - fix typo that broke handling of unsigned packages - fix yum api usage (#433555, ) Index: sources =================================================================== RCS file: /cvs/extras/rpms/mash/devel/sources,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- sources 22 Feb 2008 16:12:06 -0000 1.27 +++ sources 1 Apr 2008 04:10:52 -0000 1.28 @@ -1 +1 @@ -89049bd515c45bfc247ee8ed69c8d772 mash-0.3.2.tar.gz +6730c48b86bcaf3a6a057d16b38f4c95 mash-0.3.3.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 04:11:44 2008 From: fedora-extras-commits at redhat.com (Matthias Clasen (mclasen)) Date: Tue, 1 Apr 2008 04:11:44 GMT Subject: rpms/glib2/devel .cvsignore, 1.85, 1.86 glib2.spec, 1.160, 1.161 sources, 1.87, 1.88 Message-ID: <200804010411.m314Bi7f032712@cvs-int.fedora.redhat.com> Author: mclasen Update of /cvs/extras/rpms/glib2/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32656 Modified Files: .cvsignore glib2.spec sources Log Message: 2.16.2 Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/glib2/devel/.cvsignore,v retrieving revision 1.85 retrieving revision 1.86 diff -u -r1.85 -r1.86 --- .cvsignore 11 Mar 2008 02:36:34 -0000 1.85 +++ .cvsignore 1 Apr 2008 04:10:59 -0000 1.86 @@ -1 +1 @@ -glib-2.16.1.tar.bz2 +glib-2.16.2.tar.bz2 Index: glib2.spec =================================================================== RCS file: /cvs/extras/rpms/glib2/devel/glib2.spec,v retrieving revision 1.160 retrieving revision 1.161 diff -u -r1.160 -r1.161 --- glib2.spec 11 Mar 2008 02:36:34 -0000 1.160 +++ glib2.spec 1 Apr 2008 04:10:59 -0000 1.161 @@ -2,7 +2,7 @@ Summary: A library of handy utility functions Name: glib2 -Version: 2.16.1 +Version: 2.16.2 Release: 1%{?dist} License: LGPLv2+ Group: System Environment/Libraries @@ -123,6 +123,9 @@ %{_libdir}/lib*.a %changelog +* Tue Apr 1 2008 Matthias Clasen - 2.16.2-1 +- Update to 2.16.2 + * Mon Mar 10 2008 Matthias Clasen - 2.16.1-1 - Update to 2.16.1 Index: sources =================================================================== RCS file: /cvs/extras/rpms/glib2/devel/sources,v retrieving revision 1.87 retrieving revision 1.88 diff -u -r1.87 -r1.88 --- sources 11 Mar 2008 02:36:34 -0000 1.87 +++ sources 1 Apr 2008 04:10:59 -0000 1.88 @@ -1 +1 @@ -9852daf0605f827bfd7199ffe4f5b22d glib-2.16.1.tar.bz2 +662224ad0186183f64de98ef2183454b glib-2.16.2.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 04:13:20 2008 From: fedora-extras-commits at redhat.com (Brandon Holbrook (static)) Date: Tue, 1 Apr 2008 04:13:20 GMT Subject: rpms/php-pear-Mail-mimeDecode/F-8 php-pear-Mail-mimeDecode.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2 Message-ID: <200804010413.m314DK9K000342@cvs-int.fedora.redhat.com> Author: static Update of /cvs/extras/rpms/php-pear-Mail-mimeDecode/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv307 Modified Files: .cvsignore sources Added Files: php-pear-Mail-mimeDecode.spec Log Message: Initial checkin --- NEW FILE php-pear-Mail-mimeDecode.spec --- %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} Name: php-pear-Mail-mimeDecode Version: 1.5.0 Release: 3%{?dist} Summary: Class to decode mime messages Group: Development/Libraries License: BSD URL: http://pear.php.net/package/Mail_mimeDecode Source0: http://pear.php.net/get/Mail_mimeDecode-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-pear >= 1:1.6.0 Requires: php-pear(PEAR) >= 1.6.0 Requires: php-pear(Mail_Mime) > 1.4.0 Requires(post): %{__pear} Requires(postun): %{__pear} Provides: php-pear(Mail_mimeDecode) = %{version} %description Provides a class to deal with the decoding and interpreting of mime messages. This package used to be part of the Mail_Mime package, but has been split off. To run post-installation tests, execute: pear run-tests -p Mail_mimeDecode %prep %setup -q -c #cd Mail_mimeDecode-%{version} [ -f package2.xml ] || mv package.xml package2.xml mv package2.xml Mail_mimeDecode-%{version}/Mail_mimeDecode.xml # Empty build section, nothing required %build %install rm -rf %{buildroot} docdir cd Mail_mimeDecode-%{version} %{__pear} install --nodeps --packagingroot %{buildroot} Mail_mimeDecode.xml # Move documentation # Uncomment these lines whenever this package starts including docs #mkdir -p docdir #mv %{buildroot}%{pear_docdir}/* docdir # Clean up unnecessary files rm -rf %{buildroot}%{pear_phpdir}/.??* # Install XML package description mkdir -p %{buildroot}%{pear_xmldir} install -pm 644 Mail_mimeDecode.xml %{buildroot}%{pear_xmldir} %check # Sanity check lst=$(find %{buildroot}%{pear_xmldir} -exec grep -q %{buildroot} {} \; -print) [ ! -z "$lst" ] && echo "Reference to BUILDROOT in $lst" && exit 1; %clean rm -rf %{buildroot} %post %{__pear} install --nodeps --soft --force --register-only %{pear_xmldir}/Mail_mimeDecode.xml >/dev/null ||: %postun # if refcount = 0 then package has been removed (not upgraded) if [ "$1" -eq "0" ]; then %{__pear} uninstall --nodeps --ignore-errors --register-only Mail_mimeDecode >/dev/null ||: fi %files %defattr(-,root,root,-) # Uncomment whenever this package starts including docs #%doc Mail_mimeDecode-%{version}/docdir/Mail_mimeDecode/* %{pear_xmldir}/Mail_mimeDecode.xml %{pear_testdir}/Mail_mimeDecode %{pear_phpdir}/Mail/mimeDecode.php %changelog * Sun Mar 30 2008 Brandon Holbrook 1.5.0-3 - Re-Corrected license :) * Wed Mar 26 2008 Brandon Holbrook 1.5.0-2 - Corrected license - No longer own pear_datadir/Mail * Thu Dec 6 2007 Brandon Holbrook 1.5.0-1 - Initial Build Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/php-pear-Mail-mimeDecode/F-8/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 1 Apr 2008 03:18:31 -0000 1.1 +++ .cvsignore 1 Apr 2008 04:12:41 -0000 1.2 @@ -0,0 +1 @@ +Mail_mimeDecode-1.5.0.tgz Index: sources =================================================================== RCS file: /cvs/extras/rpms/php-pear-Mail-mimeDecode/F-8/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 1 Apr 2008 03:18:31 -0000 1.1 +++ sources 1 Apr 2008 04:12:41 -0000 1.2 @@ -0,0 +1 @@ +e81f99c951eb5f199caa9dcd9c16f97f Mail_mimeDecode-1.5.0.tgz From fedora-extras-commits at redhat.com Tue Apr 1 04:17:30 2008 From: fedora-extras-commits at redhat.com (Daniel J Walsh (dwalsh)) Date: Tue, 1 Apr 2008 04:17:30 GMT Subject: rpms/libselinux/devel .cvsignore, 1.168, 1.169 libselinux.spec, 1.322, 1.323 sources, 1.170, 1.171 Message-ID: <200804010417.m314HUPV000507@cvs-int.fedora.redhat.com> Author: dwalsh Update of /cvs/extras/rpms/libselinux/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv482 Modified Files: .cvsignore libselinux.spec sources Log Message: * Tue Apr 1 2008 Dan Walsh - 2.0.61-1 - Update to Upstream * Man page typo fix from Jim Meyering. Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/libselinux/devel/.cvsignore,v retrieving revision 1.168 retrieving revision 1.169 diff -u -r1.168 -r1.169 --- .cvsignore 23 Mar 2008 11:32:37 -0000 1.168 +++ .cvsignore 1 Apr 2008 04:16:52 -0000 1.169 @@ -149,3 +149,4 @@ libselinux-2.0.58.tgz libselinux-2.0.59.tgz libselinux-2.0.60.tgz +libselinux-2.0.61.tgz Index: libselinux.spec =================================================================== RCS file: /cvs/extras/rpms/libselinux/devel/libselinux.spec,v retrieving revision 1.322 retrieving revision 1.323 diff -u -r1.322 -r1.323 --- libselinux.spec 23 Mar 2008 11:32:37 -0000 1.322 +++ libselinux.spec 1 Apr 2008 04:16:52 -0000 1.323 @@ -3,7 +3,7 @@ Summary: SELinux library and simple utilities Name: libselinux -Version: 2.0.60 +Version: 2.0.61 Release: 1%{?dist} License: Public Domain Group: System Environment/Libraries @@ -137,7 +137,12 @@ %{python_sitearch}/selinux/* %changelog +* Tue Apr 1 2008 Dan Walsh - 2.0.61-1 +- Update to Upstream + * Man page typo fix from Jim Meyering. + * Sun Mar 23 2008 Dan Walsh - 2.0.60-1 +- Update to Upstream * Changed selinux_init_load_policy() to not warn about a failed mount of selinuxfs if selinux was disabled in the kernel. * Thu Mar 13 2008 Dan Walsh - 2.0.59-2 Index: sources =================================================================== RCS file: /cvs/extras/rpms/libselinux/devel/sources,v retrieving revision 1.170 retrieving revision 1.171 diff -u -r1.170 -r1.171 --- sources 23 Mar 2008 11:32:37 -0000 1.170 +++ sources 1 Apr 2008 04:16:52 -0000 1.171 @@ -1 +1 @@ -d50ccbd38a1bcba6c2cd6fb358c32030 libselinux-2.0.60.tgz +52f5ba3c4948f8739dde19d283f35ae0 libselinux-2.0.61.tgz From fedora-extras-commits at redhat.com Tue Apr 1 06:55:14 2008 From: fedora-extras-commits at redhat.com (Andreas Thienemann (ixs)) Date: Tue, 1 Apr 2008 06:55:14 GMT Subject: rpms/mod_suphp/EL-4 mod_suphp-0.6.1-AddHandler.patch, NONE, 1.1 mod_suphp-0.6.1-chroot.patch, NONE, 1.1 Message-ID: <200804010655.m316tEwh014142@cvs-int.fedora.redhat.com> Author: ixs Update of /cvs/pkgs/rpms/mod_suphp/EL-4 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14129 Added Files: mod_suphp-0.6.1-AddHandler.patch mod_suphp-0.6.1-chroot.patch Log Message: * Sun Mar 30 2008 Andreas Thienemann - 0.6.3-1 - Updated to 0.6.3 fixing two security problems. #439687 mod_suphp-0.6.1-AddHandler.patch: --- NEW FILE mod_suphp-0.6.1-AddHandler.patch --- --- suphp-0.6.1/src/apache2/mod_suphp.c.orig 2006-02-06 16:08:30.591794312 +0100 +++ suphp-0.6.1/src/apache2/mod_suphp.c 2006-02-06 16:08:36.532891128 +0100 @@ -313,8 +313,8 @@ AP_INIT_TAKE2("suPHP_UserGroup", suphp_handle_cmd_user_group, NULL, RSRC_CONF | ACCESS_CONF, "User and group scripts shall be run as"), #endif - AP_INIT_ITERATE("suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, ACCESS_CONF, "Tells mod_suphp to handle these MIME-types"), - AP_INIT_ITERATE("suPHP_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, ACCESS_CONF, "Tells mod_suphp not to handle these MIME-types"), + AP_INIT_ITERATE("suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, RSRC_CONF | ACCESS_CONF, "Tells mod_suphp to handle these MIME-types"), + AP_INIT_ITERATE("suPHP_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, RSRC_CONF | ACCESS_CONF, "Tells mod_suphp not to handle these MIME-types"), {NULL} }; mod_suphp-0.6.1-chroot.patch: --- NEW FILE mod_suphp-0.6.1-chroot.patch --- Hello list! I've written a patch around the chroot() function in suPHP 0.6.1. First I'll explain our old setup and why we find this patch useful. Since we are improving our webserver security at the moment, we were looking for a possibility to chroot() some users. Our old setup consists of mod_php and PHP per VirtualHost configurations like: php_admin_value open_basedir ... php_admin_value upload_tmp_dir ... ... With disable_functions we disabled functions like exec(), system(), etc to let the user stay in his open_basedir (executed programs don't got the open_basedir restrictions). Some users requested the possibility to exec programs like the ImageMagick tools, needed for Typo3 or other PHP programs like PHP gallery. I know about the possibility to configure a safe_mode_exec_dir within the php.ini, but it is not the best solution. The new suPHP version 0.6.1 offers the possibility to chroot and it works nice. Though there are some problems: - There is only one configuration file and the chroot-path is configured within the global config. If you want to chroot each virtual host into it's own chroot-jail it isn't possible. - When chrooted the path of the php script stays like outsite the chroot environment. Example: before suPHP chroot() SCRIPT_FILENAME = /chroot/YOUR_SITE/var/www/index.php CURRENT_ROOT = / CHROOT = /chroot/YOUR_SITE/ after suPHP chroot() SCRIPT_FILENAME = /chroot/YOUR_SITE/var/www/index.php CURRENT_ROOT = /chroot/YOUR_SITE/ PHP will look for a file called /chroot/YOUR_SITE/var/www/index.php inside the chroot environment. Infact the file is /var/www/index.php inside the chroot environment. What the attached patch does: - It adds a mod_suphp configuration option called "suPHP_Options" (the name might not be the best, but since suPHP_ConfigPath was already in use, I've choosen this name) - It "translates" the script path after chroot() so that PHP will find the right script. Here are the steps I used to build a chroot environment for a virtual host: - Create a directory structure for the chroot directory: $ mkdir -p /chroot/YOUR_SITE/\ {bin,etc,lib,tmp,usr/bin,usr/lib/,var/www} - Copy the php binary and depending libraries into the chroot directory: $ ldd /usr/bin/php-cgi | sed -e \ 's,.*=> /\(.*\) (0x.*,\1,' | while read lib; \ do LIBDIR="/chroot/YOUR_SITE/`dirname ${lib}`"; \ test ! -d $LIBDIR && mkdir -p $LIBDIR; \ cp -v /${lib} /chroot/YOUR_SITE/${lib}; \ done - Copy a php.ini into the chroot directory and change the doc_root configuration parameter. $ cat /chroot/YOUR_SITE/etc/php.ini | sed -e 's,^doc_root.*$,doc_root ="/var/www/",' > \ /chroot/YOUR_SITE/etc/php.ini - Create a apache VirtualHost: ServerName YOUR_SITE.EXAMPLE ServerAdmin [11]YOU at YOUR_SITE.EXAMPLE DocumentRoot /chroot/YOUR_SITE/var/www/ suPHP_Engine On suPHP_Options /chroot/YOUR_SITE-suphp.conf # chrooted view suPHP_ConfigPath /etc/ - Create a suPHP configuration file. Just pick the default file and set chroot=/chroot/YOUR_SITE/ WARNING there are some limitations with this patch: - First, I'm not the best C, C++ developer and this is my first apache module work - The code is mostly quick and dirty hacked, because I wanted to try if this would work. - Only the apache2 module was patched. I'd appreciate if you review this patch and post your comments on this. Greetings, Jan --- suphp-0.6.1/src/apache2/mod_suphp.c.orig 2006-05-24 04:31:35.000000000 +0200 +++ suphp-0.6.1/src/apache2/mod_suphp.c 2006-05-24 04:34:58.000000000 +0200 @@ -114,6 +114,7 @@ char *target_user; char *target_group; #endif + char *suphp_options; apr_table_t *handlers; } suphp_conf; @@ -130,7 +131,9 @@ cfg->target_user = NULL; cfg->target_group = NULL; #endif - + + cfg->suphp_options = NULL; + /* Create table with 0 initial elements */ /* This size may be increased for performance reasons */ cfg->handlers = apr_table_make(p, 0); @@ -175,6 +178,13 @@ else merged->target_group = NULL; #endif + + if (child->suphp_options) + merged->suphp_options = apr_pstrdup(p, child->suphp_options); + else if (parent->suphp_options) + merged->suphp_options = apr_pstrdup(p, parent->suphp_options); + else + merged->suphp_options = NULL; merged->handlers = apr_table_overlay(p, child->handlers, parent->handlers); @@ -265,6 +275,17 @@ return NULL; } +static const char *suphp_handle_cmd_options(cmd_parms *cmd, void *mconfig, + const char *arg) +{ + suphp_conf *cfg; + cfg = (suphp_conf *) mconfig; + + cfg->suphp_options = apr_pstrdup(cmd->pool, arg); + + return NULL; +} + #ifdef SUPHP_USE_USERGROUP static const char *suphp_handle_cmd_user_group(cmd_parms *cmd, void *mconfig, @@ -315,6 +336,7 @@ #endif AP_INIT_ITERATE("suPHP_AddHandler", suphp_handle_cmd_add_handler, NULL, RSRC_CONF | ACCESS_CONF, "Tells mod_suphp to handle these MIME-types"), AP_INIT_ITERATE("suPHP_RemoveHandler", suphp_handle_cmd_remove_handler, NULL, RSRC_CONF | ACCESS_CONF, "Tells mod_suphp not to handle these MIME-types"), + AP_INIT_TAKE1("suPHP_Options", suphp_handle_cmd_options, NULL, OR_OPTIONS, "The configuration file suPHP should use for this virtual host"), {NULL} }; @@ -436,6 +458,11 @@ { apr_table_setn(r->subprocess_env, "SUPHP_PHP_CONFIG", apr_pstrdup(p, dconf->php_config)); } + + if (dconf->suphp_options) + { + apr_table_setn(r->subprocess_env, "SUPHP_OPTIONS", apr_pstrdup(p, dconf->suphp_options)); + } apr_table_setn(r->subprocess_env, "SUPHP_HANDLER", r->handler); --- suphp-0.6.1/src/Application.cpp.orig 2006-05-24 04:31:35.000000000 +0200 +++ suphp-0.6.1/src/Application.cpp 2006-05-24 04:34:13.000000000 +0200 @@ -50,16 +50,23 @@ API& api = API_Helper::getSystemAPI(); Logger& logger = api.getSystemLogger(); -#ifdef OPT_CONFIGFILE - File cfgFile = File(OPT_CONFIGFILE); -#else - File cfgFile = File("/etc/suphp.conf"); -#endif std::string interpreter; TargetMode targetMode; Environment newEnv; + File cfgFile = File(""); + + try { + cfgFile = File(env.getVar("SUPHP_OPTIONS").c_str()); + } catch (KeyNotFoundException &e) { +#ifdef OPT_CONFIGFILE + cfgFile = File(OPT_CONFIGFILE); +#else + cfgFile = File("/etc/suphp.conf"); +#endif + } + // Begin try block - soft exception cannot really be handled before // initialization try { @@ -88,14 +95,23 @@ return 1; } - this->checkScriptFile(scriptFilename, config, env); - // Root privileges are needed for chroot() // so do this before changing process permissions if (config.getChrootPath().length() > 0) { api.chroot(config.getChrootPath()); + + // after chroot() the SCRIPT_FILENAME path has changed + // and needs to get "translated" + std::string strChrootPath(config.getChrootPath()); + + // TODO: check if there is a "/" at the beginning of scriptFilename + scriptFilename.replace(scriptFilename.find(strChrootPath), strChrootPath.length(), ""); + env.setVar("DOCUMENT_ROOT", "/"); + env.setVar("SCRIPT_FILENAME", scriptFilename); } + this->checkScriptFile(scriptFilename, config, env); + this->changeProcessPermissions(scriptFilename, config, env); interpreter = this->getInterpreter(env, config); @@ -396,6 +412,8 @@ env.deleteVar("SUPHP_AUTH_PW"); if (env.hasVar("SUPHP_PHP_CONFIG")) env.deleteVar("SUPHP_PHP_CONFIG"); + if (env.hasVar("SUPHP_OPTIONS")) + env.deleteVar("SUPHP_OPTIONS"); // Reset PATH env.putVar("PATH", config.getEnvPath()); From fedora-extras-commits at redhat.com Tue Apr 1 07:35:37 2008 From: fedora-extras-commits at redhat.com (Ding-Yi Chen (dchen)) Date: Tue, 1 Apr 2008 07:35:37 GMT Subject: rpms/libsvm/devel libsvm-2.86.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 libsvm.spec, 1.16, 1.17 log, 1.1, 1.2 sources, 1.3, 1.4 libsvm-2.85.patch, 1.4, NONE Message-ID: <200804010735.m317ZbZn020740@cvs-int.fedora.redhat.com> Author: dchen Update of /cvs/pkgs/rpms/libsvm/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20710/devel Modified Files: .cvsignore libsvm.spec log sources Added Files: libsvm-2.86.patch Removed Files: libsvm-2.85.patch Log Message: Upstream update to 2.86 libsvm-2.86.patch: --- NEW FILE libsvm-2.86.patch --- diff -up ./java/test_applet.html.orig ./java/test_applet.html --- ./java/test_applet.html.orig 2003-07-12 14:06:55.000000000 +1000 +++ ./java/test_applet.html 2008-04-01 16:17:52.000000000 +1000 @@ -1 +1,3 @@ - + + + diff -up ./java/svm_train.java.orig ./java/svm_train.java diff -up ./java/libsvm/svm_parameter.java.orig ./java/libsvm/svm_parameter.java --- ./java/libsvm/svm_parameter.java.orig 2006-03-04 01:44:14.000000000 +1000 +++ ./java/libsvm/svm_parameter.java 2008-04-01 16:17:52.000000000 +1000 @@ -1,6 +1,7 @@ package libsvm; public class svm_parameter implements Cloneable,java.io.Serializable { + static final long serialVersionUID = 2709444323471798245L; /* svm_type */ public static final int C_SVC = 0; public static final int NU_SVC = 1; diff -up ./java/libsvm/svm_problem.java.orig ./java/libsvm/svm_problem.java --- ./java/libsvm/svm_problem.java.orig 2003-10-11 22:30:47.000000000 +1000 +++ ./java/libsvm/svm_problem.java 2008-04-01 16:17:52.000000000 +1000 @@ -1,6 +1,7 @@ package libsvm; public class svm_problem implements java.io.Serializable { + static final long serialVersionUID = -4451389443706847272L; public int l; public double[] y; public svm_node[][] x; diff -up ./java/libsvm/svm_node.java.orig ./java/libsvm/svm_node.java --- ./java/libsvm/svm_node.java.orig 2003-10-11 22:30:47.000000000 +1000 +++ ./java/libsvm/svm_node.java 2008-04-01 16:17:52.000000000 +1000 @@ -1,6 +1,7 @@ package libsvm; public class svm_node implements java.io.Serializable { + static final long serialVersionUID = 2709444323471798245L; public int index; public double value; } diff -up ./java/libsvm/svm.m4.orig ./java/libsvm/svm.m4 diff -up ./java/libsvm/svm_model.java.orig ./java/libsvm/svm_model.java --- ./java/libsvm/svm_model.java.orig 2007-01-13 08:23:39.000000000 +1000 +++ ./java/libsvm/svm_model.java 2008-04-01 16:17:52.000000000 +1000 @@ -4,6 +4,7 @@ package libsvm; public class svm_model implements java.io.Serializable { + static final long serialVersionUID = 2709444323471798245L; svm_parameter param; // parameter int nr_class; // number of classes, = 2 in regression/one class svm int l; // total #SV diff -up ./java/libsvm/svm.java.orig ./java/libsvm/svm.java diff -up ./java/Makefile.orig ./java/Makefile --- ./java/Makefile.orig 2007-11-11 22:17:30.000000000 +1000 +++ ./java/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -3,13 +3,22 @@ FILES = libsvm/svm.class libsvm/svm_mode libsvm/svm_parameter.class libsvm/svm_problem.class \ svm_train.class svm_predict.class svm_toy.class svm_scale.class -#JAVAC = jikes -JAVAC_FLAGS = -target 1.5 -source 1.5 -JAVAC = javac -# JAVAC_FLAGS = +JAVA_TARGETDIR=${INSTDIR}/share/libsvm/java +JAVA_DOCDIR=${INSTDIR}/share/javadoc/libsvm-${LIBSVM_VER} +CLASSPATH = . +JAVAC_FLAGS = -target 1.5 -source 1.5 -classpath ${CLASSPATH} + +ifndef JAVAC +JAVAC=javac +endif + +ifndef JAR +JAR=jar +endif + all: $(FILES) - jar cvf libsvm.jar *.class libsvm/*.class + ${JAR} cvf libsvm.jar *.class libsvm/*.class .java.class: $(JAVAC) $(JAVAC_FLAGS) $< @@ -17,8 +26,22 @@ all: $(FILES) libsvm/svm.java: libsvm/svm.m4 m4 libsvm/svm.m4 > libsvm/svm.java +javadoc: + javadoc -d docs *.java libsvm/*.java + +install: + mkdir -p ${JAVA_TARGETDIR} + install -m 644 libsvm.jar ${JAVA_TARGETDIR} + install -m 644 test_applet.html ${JAVA_TARGETDIR} +# mkdir -p ${JAVA_DOCDIR} +# cd docs; cp -R * ${JAVA_DOCDIR} +uninstall: + rm -fr ${JAVA_TARGETDIR} + rm -fr ${JAVA_DOCDIR} + clean: rm -f libsvm/*.class *.class *.jar libsvm/*~ *~ libsvm/svm.java + rm -rf docs dist: clean all rm *.class libsvm/*.class diff -up ./java/svm_toy.java.orig ./java/svm_toy.java --- ./java/svm_toy.java.orig 2007-07-01 23:02:51.000000000 +1000 +++ ./java/svm_toy.java 2008-04-01 16:17:52.000000000 +1000 @@ -6,7 +6,7 @@ import java.awt.event.*; import java.io.*; public class svm_toy extends Applet { - + static final long serialVersionUID = -8325676470152687806L; static final String DEFAULT_PARAM="-t 2 -c 100"; int XLEN; int YLEN; @@ -453,6 +453,7 @@ public class svm_toy extends Applet { } class AppletFrame extends Frame { + static final long serialVersionUID = -8428435143024670779L; AppletFrame(String title, Applet applet, int width, int height) { super(title); diff -up ./java/svm_predict.java.orig ./java/svm_predict.java diff -up ./java/svm_scale.java.orig ./java/svm_scale.java diff -up ./svm.h.orig ./svm.h diff -up ./python/cross_validation.py.orig ./python/cross_validation.py diff -up ./python/svmc_wrap.c.orig ./python/svmc_wrap.c diff -up ./python/svm_test.py.orig ./python/svm_test.py diff -up ./python/Makefile.orig ./python/Makefile --- ./python/Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./python/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -2,9 +2,16 @@ CXX? = g++ SWIG ?= swig #Windows: see ../README ../Makefile.win -PYTHON_INCLUDEDIR ?= /usr/include/python2.4 +#PYTHON_TEMP:=${shell mktemp} +#PYTHON_VERSION:=${shell python -V 2> ${PYTHON_TEMP} ; cat ${PYTHON_TEMP} | awk 'BEGIN {FS= "[ .]"} {printf("%s.%s",$$2,$$3)}'; rm -f ${PYTHON_TEMP}} +ifndef PYTHON_INCLUDEDIR -CFLAGS = -O3 -I$(PYTHON_INCLUDEDIR) -I.. +PYTHON_INCLUDEDIR?= /usr/include/python${PYTHON_VERSION} + +endif +PYTHON_TARGETDIR=${LIB_INSTDIR}/python${PYTHON_VERSION}/site-packages/libsvm + +CFLAGS_PYTHON = ${CFLAGS} -O3 -I$(PYTHON_INCLUDEDIR) -I.. LDFLAGS = -shared # Mac OS # LDFLAGS = -framework Python -bundle @@ -15,16 +22,34 @@ svmc.so: svmc_wrap.o svm.o $(CXX) $(LDFLAGS) -o svmc.so svmc_wrap.o svm.o svmc_wrap.o: svmc_wrap.c ../svm.h - $(CXX) $(CFLAGS) -fPIC -c svmc_wrap.c +# echo "PYTHON_VERSION=${PYTHON_VERSION}" +# echo "CFLAGS=${CFLAGS}" +# echo "CFLAGS_PYTHON=${CFLAGS_PYTHON}" + $(CXX) $(CFLAGS_PYTHON) -fPIC -c svmc_wrap.c svmc_wrap.c: svmc.i $(SWIG) -python -noproxy svmc.i svm.o: ../svm.cpp ../svm.h - $(CXX) $(CFLAGS) -fPIC -c ../svm.cpp + $(CXX) $(CFLAGS_PYTHON) -fPIC -c ../svm.cpp clean: rm -f *~ *.o *.so *.pyc *.pyo svm.o moreclean: clean rm -f svmc_wrap.c + + +install: all + mkdir -p ${PYTHON_TARGETDIR} + install -m 755 cross_validation.py ${PYTHON_TARGETDIR} + install -m 644 svm.py ${PYTHON_TARGETDIR} + install -m 755 svm_test.py ${PYTHON_TARGETDIR} + install -m 755 test_cross_validation.py ${PYTHON_TARGETDIR} + install -m 644 *.i ${PYTHON_TARGETDIR} + install -m 755 *.so ${PYTHON_TARGETDIR} + install -m 755 ../tools/*.py ${PYTHON_TARGETDIR} + +uninstall: + rm -fr ${LIBDIR}/python${PYTHON_VERSION}/site-packages/libsvm + diff -up ./python/test_cross_validation.py.orig ./python/test_cross_validation.py diff -up ./python/svm.py.orig ./python/svm.py diff -up ./tools/subset.py.orig ./tools/subset.py diff -up ./tools/checkdata.py.orig ./tools/checkdata.py diff -up ./tools/easy.py.orig ./tools/easy.py --- ./tools/easy.py.orig 2008-02-10 22:12:43.000000000 +1000 +++ ./tools/easy.py 2008-04-01 16:17:52.000000000 +1000 @@ -2,6 +2,7 @@ import sys import os +from distutils.sysconfig import get_python_lib from subprocess import * if len(sys.argv) <= 1: @@ -12,10 +13,10 @@ if len(sys.argv) <= 1: is_win32 = (sys.platform == 'win32') if not is_win32: - svmscale_exe = "../svm-scale" - svmtrain_exe = "../svm-train" - svmpredict_exe = "../svm-predict" - grid_py = "./grid.py" + svmscale_exe = "/usr/bin/svm-scale" + svmtrain_exe = "/usr/bin/svm-train" + svmpredict_exe = "/usr/bin/svm-predict" + grid_py = get_python_lib(1)+"/libsvm/grid.py" gnuplot_exe = "/usr/bin/gnuplot" else: # example for windows diff -up ./tools/grid.py.orig ./tools/grid.py --- ./tools/grid.py.orig 2008-03-10 00:33:09.000000000 +1000 +++ ./tools/grid.py 2008-04-01 16:17:52.000000000 +1000 @@ -11,7 +11,7 @@ from subprocess import * is_win32 = (sys.platform == 'win32') if not is_win32: - svmtrain_exe = "../svm-train" + svmtrain_exe = "/usr/bin/svm-train" gnuplot_exe = "/usr/bin/gnuplot" else: # example for windows @@ -88,6 +88,7 @@ Usage: grid.py [-log2c begin,end,step] [ i = i + 1 pass_through_string = join(pass_through_options," ") + print 'dataset_pathname=%s' % dataset_pathname assert os.path.exists(svmtrain_exe),"svm-train executable not found" assert os.path.exists(gnuplot_exe),"gnuplot executable not found" assert os.path.exists(dataset_pathname),"dataset not found" diff -up ./svm-train.c.orig ./svm-train.c diff -up ./Makefile.orig ./Makefile --- ./Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./Makefile 2008-04-01 16:21:40.000000000 +1000 @@ -1,15 +1,109 @@ CXX? = g++ CFLAGS = -Wall -O3 +MAKE = make +LIBSVM_VER=${LIBSVM_VER_MAJOR}.${LIBSVM_VER_MINOR} +DOT_LIBS=.libs +LIBS= -L${DOT_LIBS} -lsvm -all: svm-train svm-predict svm-scale +export LIBSVM_VER -svm-predict: svm-predict.c svm.o - $(CXX) $(CFLAGS) svm-predict.c svm.o -o svm-predict -lm -svm-train: svm-train.c svm.o - $(CXX) $(CFLAGS) svm-train.c svm.o -o svm-train -lm -svm-scale: svm-scale.c - $(CXX) $(CFLAGS) svm-scale.c -o svm-scale -svm.o: svm.cpp svm.h - $(CXX) $(CFLAGS) -c svm.cpp +ifndef DESTDIR +INSTDIR=/usr +else +INSTDIR=${DESTDIR}/usr +endif + +export INSTDIR + +IS_64=$(shell /bin/uname -i | awk '/64/ {print 64}') + +ifndef LIBDIR +LIB_INSTDIR=${INSTDIR}/lib${IS_64} +else +LIB_INSTDIR=${INSTDIR}/..${LIBDIR} +endif + +ifndef LIBDIR +LIBDIR=/usr/lib${IS_64} +endif + +export LIBDIR +export LIB_INSTDIR + +all: svm-train svm-predict svm-scale svm-python svm-java svm-lib svm-toy-gtk svm-toy-qt + +svm-lib: %{DOT_LIBS}/libsvm.so + +%{DOT_LIBS}/libsvm.so: svm-share.o + $(CXX) -shared -Wl,-soname,libsvm.so.${LIBSVM_VER_MAJOR}\ + -o libsvm.so.${LIBSVM_VER} svm-share.o -lm + mkdir -p .libs + cd ${DOT_LIBS}; ln -sf ../libsvm.so.${LIBSVM_VER} libsvm.so +svm-share.o: svm.cpp svm.h + $(CXX) -g -fPIC $(CFLAGS) -c svm.cpp -o svm-share.o +svm-predict: svm-predict.c %{DOT_LIBS}/libsvm.so + $(CXX) $(CFLAGS) svm-predict.c -o svm-predict $(LIBS) -lm +svm-train: svm-train.c %{DOT_LIBS}/libsvm.so + $(CXX) $(CFLAGS) svm-train.c -o svm-train $(LIBS) -lm +svm-scale: svm-scale.c %{DOT_LIBS}/libsvm.so + $(CXX) $(CFLAGS) svm-scale.c -o svm-scale $(LIBS) +#svm.o: svm.cpp svm.h +# $(CXX) $(CFLAGS) -c svm.cpp clean: - rm -f *~ svm.o svm-train svm-predict svm-scale + rm -f *~ svm.o svm-train svm-predict svm-scale svm-toy/gtk/svm-toy-gtk svm-toy/qt/svm-toy-qt + ${MAKE} -C python clean + ${MAKE} -C java clean +svm-python: + ${MAKE} -C python +svm-java: + ${MAKE} -C java +svm-toy-gtk: + ${MAKE} -C svm-toy/gtk +svm-toy-qt: + ${MAKE} -C svm-toy/qt + +install: all + mkdir -p ${INSTDIR}/bin + install -m 755 svm-train ${INSTDIR}/bin + install -m 755 svm-predict ${INSTDIR}/bin + install -m 755 svm-scale ${INSTDIR}/bin + mkdir -p ${LIB_INSTDIR} + install -m 755 libsvm.so.${LIBSVM_VER} ${LIB_INSTDIR} + /sbin/ldconfig -n ${LIB_INSTDIR} + cd ${LIB_INSTDIR}; ln -fs libsvm.so.${LIBSVM_VER_MAJOR} libsvm.so +# install package libsvm-devel + mkdir -p ${INSTDIR}/include/libsvm + install -m 644 svm.h ${INSTDIR}/include/libsvm + mkdir -p ${INSTDIR}/share/libsvm/src/java/libsvm + install -m 644 *.h ${INSTDIR}/share/libsvm/src + install -m 644 *.c ${INSTDIR}/share/libsvm/src + install -m 644 *.cpp ${INSTDIR}/share/libsvm/src + install -m 644 Makefile ${INSTDIR}/share/libsvm/src + install -m 644 java/*.java ${INSTDIR}/share/libsvm/src/java + install -m 644 java/Makefile ${INSTDIR}/share/libsvm/src/java + install -m 644 java/libsvm/*.java ${INSTDIR}/share/libsvm/src/java/libsvm + install -m 644 java/libsvm/*.m4 ${INSTDIR}/share/libsvm/src/java/libsvm +# install package libsvm-python + ${MAKE} -C python install +# install package libsvm-java + ${MAKE} -C java install +# install package svm-toy + install -m 755 svm-toy/gtk/svm-toy-gtk ${INSTDIR}/bin + install -m 755 svm-toy/qt/svm-toy-qt ${INSTDIR}/bin +# install examples + mkdir -p ${INSTDIR}/share/libsvm/examples + install -m 644 heart_scale ${INSTDIR}/share/libsvm/examples +uninstall: + rm -f ${INSTDIR}/bin/svm-train + rm -f ${INSTDIR}/bin/svm-predict + rm -f ${INSTDIR}/bin/svm-scale + rm -fr ${INSTDIR}/libsvm/examples + rm -f ${INSTDIR}/include/libsvm/svm.h + rm -f ${LIB_INSTDIR}/libsvm/svm.o + rm -fr ${INSTDIR}/libsvm/src + rm -fr ${INSTDIR}/libsvm + ${MAKE} -C python uninstall + ${MAKE} -C java uninstall + rm -f ${INSTDIR}/bin/svm-toy-gtk + rm -f ${INSTDIR}/bin/svm-toy-qt + diff -up ./svm-scale.c.orig ./svm-scale.c diff -up ./FAQ.html.orig ./FAQ.html diff -up ./svm-predict.c.orig ./svm-predict.c diff -up ./svm-toy/qt/Makefile.orig ./svm-toy/qt/Makefile --- ./svm-toy/qt/Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./svm-toy/qt/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -1,19 +1,23 @@ CXX? = g++ CFLAGS = -Wall -O3 -DQT_THREAD_SUPPORT +QTDIR = $(LIBDIR)/qt-3.3 BIN = $(QTDIR)/bin INCLUDE = $(QTDIR)/include LIB = $(QTDIR)/lib -#BIN = /usr/bin -#INCLUDE = /usr/include/qt3 -#LIB = /usr/lib/qt3 +DOT_LIBS=../../.libs +LIBS= -L${DOT_LIBS} -lsvm -svm-toy: svm-toy.cpp svm-toy.moc ../../svm.o - $(CXX) -I$(INCLUDE) $(CFLAGS) svm-toy.cpp ../../svm.o -o svm-toy -L$(LIB) -lqt-mt +all: svm-toy-qt + +svm-toy-qt: svm-toy.cpp svm-toy.moc ../../svm.o + $(CXX) -I$(INCLUDE) $(CFLAGS) svm-toy.cpp ../../svm.o -o svm-toy-qt -L$(LIB) $(LIBS) -lqt-mt # add -pthread for bsd svm-toy.moc: svm-toy.cpp + echo "LIBDIR=${LIBDIR}" + echo "QTDIR=${QTDIR}" $(BIN)/moc svm-toy.cpp -o svm-toy.moc -../../svm.o: - cd ../..; make svm.o +#../../svm.o: +# cd ../..; make svm.o clean: rm -f *~ svm-toy svm-toy.moc ../../svm.o diff -up ./svm-toy/qt/svm-toy.cpp.orig ./svm-toy/qt/svm-toy.cpp diff -up ./svm-toy/gtk/interface.h.orig ./svm-toy/gtk/interface.h diff -up ./svm-toy/gtk/interface.c.orig ./svm-toy/gtk/interface.c diff -up ./svm-toy/gtk/Makefile.orig ./svm-toy/gtk/Makefile --- ./svm-toy/gtk/Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./svm-toy/gtk/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -1,22 +1,28 @@ CC? = gcc CXX? = g++ -CFLAGS = -Wall -O3 -g `gtk-config --cflags` -LIBS = `gtk-config --libs` +#CFLAGS = -Wall -O3 -g `gtk-config --cflags` +#LIBS = `gtk-config --libs` +COPT = `pkg-config --cflags --libs gtk+-2.0` +DOT_LIBS=../../.libs +LIBS= -L${DOT_LIBS} -lsvm -svm-toy: main.o interface.o callbacks.o ../../svm.o - $(CXX) $(CFLAGS) main.o interface.o callbacks.o ../../svm.o -o svm-toy $(LIBS) + +all: svm-toy-gtk + +svm-toy-gtk: main.o interface.o callbacks.o + $(CXX) $(COPT) main.o interface.o callbacks.o ${LIBS} -o svm-toy-gtk main.o: main.c - $(CC) $(CFLAGS) -c main.c + $(CC) $(COPT) -c main.c interface.o: interface.c interface.h - $(CC) $(CFLAGS) -c interface.c + $(CC) $(COPT) -c interface.c callbacks.o: callbacks.cpp callbacks.h - $(CXX) $(CFLAGS) -c callbacks.cpp + $(CXX) $(COPT) -c callbacks.cpp -../../svm.o: - cd ../..; make svm.o +#../../svm.o: +# cd ../..; make svm.o clean: - rm -f *~ callbacks.o svm-toy main.o interface.o callbacks.o ../../svm.o + rm -f *~ callbacks.o svm-toy main.o interface.o callbacks.o diff -up ./svm-toy/gtk/callbacks.h.orig ./svm-toy/gtk/callbacks.h diff -up ./svm-toy/gtk/main.c.orig ./svm-toy/gtk/main.c diff -up ./svm-toy/gtk/callbacks.cpp.orig ./svm-toy/gtk/callbacks.cpp --- ./svm-toy/gtk/callbacks.cpp.orig 2008-04-01 16:55:09.000000000 +1000 +++ ./svm-toy/gtk/callbacks.cpp 2008-04-01 17:04:12.000000000 +1000 @@ -2,6 +2,7 @@ #include #include #include +#include #include "callbacks.h" #include "interface.h" #include "../../svm.h" Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/devel/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 4 Feb 2008 08:13:47 -0000 1.3 +++ .cvsignore 1 Apr 2008 07:34:44 -0000 1.4 @@ -1,2 +1,2 @@ guide.pdf -libsvm-2.85.tar.gz +libsvm-2.86.tar.gz Index: libsvm.spec =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/devel/libsvm.spec,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- libsvm.spec 10 Mar 2008 23:37:12 -0000 1.16 +++ libsvm.spec 1 Apr 2008 07:34:44 -0000 1.17 @@ -1,6 +1,6 @@ Name: libsvm -Version: 2.85 -Release: 6%{?dist} +Version: 2.86 +Release: 0%{?dist} Summary: A Library for Support Vector Machines Group: Development/Libraries @@ -17,6 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %define libsvm_ver_major 2 +%define libsvm_ver_minor 86 %{!?pyver: %define pyver %(python -c 'import sys; print(sys.version[0:3])')} %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define libsvm_python_dir %{python_sitearch}/libsvm @@ -105,7 +106,7 @@ %build -make all CFLAGS="$RPM_OPT_FLAGS" PYTHON_VERSION="%{pyver}" JAVAC="%{javac}" JAR="%{jar}" LIBDIR=%{_libdir} +make all CFLAGS="$RPM_OPT_FLAGS" PYTHON_VERSION="%{pyver}" JAVAC="%{javac}" JAR="%{jar}" LIBDIR="%{_libdir}" LIBSVM_VER_MAJOR="%{libsvm_ver_major}" LIBSVM_VER_MINOR=%{libsvm_ver_minor} %{__sed} -i 's/\r//' FAQ.html %{__sed} -i 's/\r//' ChangeLog mv python/README python/README-Python @@ -117,7 +118,7 @@ %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} PYTHON_VERSION="%{pyver}" +make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} PYTHON_VERSION="%{pyver}" LIBSVM_VER_MAJOR="%{libsvm_ver_major}" LIBSVM_VER_MINOR=%{libsvm_ver_minor} #cd ${RPM_BUILD_ROOT}%{libdir_libsvm}; ln -sf %{name}.so.%{version} %{name}.so rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/src mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps/ @@ -201,8 +202,17 @@ %changelog +* Tue Mar 11 2008 Ding-Yi Chen - 2.86-0 +- Upstream update to 2.86 + - svm-scale for java + - version number in svm.h and svm.m4 + - rename svmtrain.exe to svm-train.exe + - python: while 1 --> while True, Popen -> call + - show best parameters on the contour of grid.py +- LIBSVM_VER_MAJOR and LIBSVM_VER_MINOR are defined in libsvm.spec instead in + * Tue Mar 11 2008 Ding-Yi Chen - 2.85-6 -- Add desktop files in install section. +- Fix build error. * Mon Mar 10 2008 Ding-Yi Chen - 2.85-5 - [Bug 436392]: Fix by copy from right place. Index: log =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/devel/log,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- log 4 Feb 2008 08:13:47 -0000 1.1 +++ log 1 Apr 2008 07:34:44 -0000 1.2 @@ -132,4 +132,11 @@ avoid warning of gcc 4.2 sigma 0.001 to 1e-12; in Newton direction of prob output 2 * (long int) l avoid warning of old Visual C++ - grid.py: avoid gnuplot problem \ No newline at end of file + grid.py: avoid gnuplot problem on windows + +2.86: 2008/04/01 + svm-scale for java + version number in svm.h and svm.m4 + rename svmtrain.exe to svm-train.exe + python: while 1 --> while True, Popen -> call + show best parameters on the contour of grid.py \ No newline at end of file Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/devel/sources,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sources 4 Feb 2008 08:13:47 -0000 1.3 +++ sources 1 Apr 2008 07:34:44 -0000 1.4 @@ -1,2 +1,2 @@ aae7a8f7e357e86e1c893b706bb02a63 guide.pdf -c839d919cc6fa7b5ad86ea37b7cebcc3 libsvm-2.85.tar.gz +fe0cccace12516382be5a7c513e4b056 libsvm-2.86.tar.gz --- libsvm-2.85.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 07:39:22 2008 From: fedora-extras-commits at redhat.com (Ding-Yi Chen (dchen)) Date: Tue, 1 Apr 2008 07:39:22 GMT Subject: rpms/libsvm/F-7 libsvm-2.86.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 libsvm.spec, 1.12, 1.13 log, 1.1, 1.2 sources, 1.3, 1.4 libsvm-2.85.patch, 1.3, NONE Message-ID: <200804010739.m317dMOH020893@cvs-int.fedora.redhat.com> Author: dchen Update of /cvs/pkgs/rpms/libsvm/F-7 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20861/F-7 Modified Files: .cvsignore libsvm.spec log sources Added Files: libsvm-2.86.patch Removed Files: libsvm-2.85.patch Log Message: Upstream update to 2.86 libsvm-2.86.patch: --- NEW FILE libsvm-2.86.patch --- diff -up ./java/test_applet.html.orig ./java/test_applet.html --- ./java/test_applet.html.orig 2003-07-12 14:06:55.000000000 +1000 +++ ./java/test_applet.html 2008-04-01 16:17:52.000000000 +1000 @@ -1 +1,3 @@ - + + + diff -up ./java/svm_train.java.orig ./java/svm_train.java diff -up ./java/libsvm/svm_parameter.java.orig ./java/libsvm/svm_parameter.java --- ./java/libsvm/svm_parameter.java.orig 2006-03-04 01:44:14.000000000 +1000 +++ ./java/libsvm/svm_parameter.java 2008-04-01 16:17:52.000000000 +1000 @@ -1,6 +1,7 @@ package libsvm; public class svm_parameter implements Cloneable,java.io.Serializable { + static final long serialVersionUID = 2709444323471798245L; /* svm_type */ public static final int C_SVC = 0; public static final int NU_SVC = 1; diff -up ./java/libsvm/svm_problem.java.orig ./java/libsvm/svm_problem.java --- ./java/libsvm/svm_problem.java.orig 2003-10-11 22:30:47.000000000 +1000 +++ ./java/libsvm/svm_problem.java 2008-04-01 16:17:52.000000000 +1000 @@ -1,6 +1,7 @@ package libsvm; public class svm_problem implements java.io.Serializable { + static final long serialVersionUID = -4451389443706847272L; public int l; public double[] y; public svm_node[][] x; diff -up ./java/libsvm/svm_node.java.orig ./java/libsvm/svm_node.java --- ./java/libsvm/svm_node.java.orig 2003-10-11 22:30:47.000000000 +1000 +++ ./java/libsvm/svm_node.java 2008-04-01 16:17:52.000000000 +1000 @@ -1,6 +1,7 @@ package libsvm; public class svm_node implements java.io.Serializable { + static final long serialVersionUID = 2709444323471798245L; public int index; public double value; } diff -up ./java/libsvm/svm.m4.orig ./java/libsvm/svm.m4 diff -up ./java/libsvm/svm_model.java.orig ./java/libsvm/svm_model.java --- ./java/libsvm/svm_model.java.orig 2007-01-13 08:23:39.000000000 +1000 +++ ./java/libsvm/svm_model.java 2008-04-01 16:17:52.000000000 +1000 @@ -4,6 +4,7 @@ package libsvm; public class svm_model implements java.io.Serializable { + static final long serialVersionUID = 2709444323471798245L; svm_parameter param; // parameter int nr_class; // number of classes, = 2 in regression/one class svm int l; // total #SV diff -up ./java/libsvm/svm.java.orig ./java/libsvm/svm.java diff -up ./java/Makefile.orig ./java/Makefile --- ./java/Makefile.orig 2007-11-11 22:17:30.000000000 +1000 +++ ./java/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -3,13 +3,22 @@ FILES = libsvm/svm.class libsvm/svm_mode libsvm/svm_parameter.class libsvm/svm_problem.class \ svm_train.class svm_predict.class svm_toy.class svm_scale.class -#JAVAC = jikes -JAVAC_FLAGS = -target 1.5 -source 1.5 -JAVAC = javac -# JAVAC_FLAGS = +JAVA_TARGETDIR=${INSTDIR}/share/libsvm/java +JAVA_DOCDIR=${INSTDIR}/share/javadoc/libsvm-${LIBSVM_VER} +CLASSPATH = . +JAVAC_FLAGS = -target 1.5 -source 1.5 -classpath ${CLASSPATH} + +ifndef JAVAC +JAVAC=javac +endif + +ifndef JAR +JAR=jar +endif + all: $(FILES) - jar cvf libsvm.jar *.class libsvm/*.class + ${JAR} cvf libsvm.jar *.class libsvm/*.class .java.class: $(JAVAC) $(JAVAC_FLAGS) $< @@ -17,8 +26,22 @@ all: $(FILES) libsvm/svm.java: libsvm/svm.m4 m4 libsvm/svm.m4 > libsvm/svm.java +javadoc: + javadoc -d docs *.java libsvm/*.java + +install: + mkdir -p ${JAVA_TARGETDIR} + install -m 644 libsvm.jar ${JAVA_TARGETDIR} + install -m 644 test_applet.html ${JAVA_TARGETDIR} +# mkdir -p ${JAVA_DOCDIR} +# cd docs; cp -R * ${JAVA_DOCDIR} +uninstall: + rm -fr ${JAVA_TARGETDIR} + rm -fr ${JAVA_DOCDIR} + clean: rm -f libsvm/*.class *.class *.jar libsvm/*~ *~ libsvm/svm.java + rm -rf docs dist: clean all rm *.class libsvm/*.class diff -up ./java/svm_toy.java.orig ./java/svm_toy.java --- ./java/svm_toy.java.orig 2007-07-01 23:02:51.000000000 +1000 +++ ./java/svm_toy.java 2008-04-01 16:17:52.000000000 +1000 @@ -6,7 +6,7 @@ import java.awt.event.*; import java.io.*; public class svm_toy extends Applet { - + static final long serialVersionUID = -8325676470152687806L; static final String DEFAULT_PARAM="-t 2 -c 100"; int XLEN; int YLEN; @@ -453,6 +453,7 @@ public class svm_toy extends Applet { } class AppletFrame extends Frame { + static final long serialVersionUID = -8428435143024670779L; AppletFrame(String title, Applet applet, int width, int height) { super(title); diff -up ./java/svm_predict.java.orig ./java/svm_predict.java diff -up ./java/svm_scale.java.orig ./java/svm_scale.java diff -up ./svm.h.orig ./svm.h diff -up ./python/cross_validation.py.orig ./python/cross_validation.py diff -up ./python/svmc_wrap.c.orig ./python/svmc_wrap.c diff -up ./python/svm_test.py.orig ./python/svm_test.py diff -up ./python/Makefile.orig ./python/Makefile --- ./python/Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./python/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -2,9 +2,16 @@ CXX? = g++ SWIG ?= swig #Windows: see ../README ../Makefile.win -PYTHON_INCLUDEDIR ?= /usr/include/python2.4 +#PYTHON_TEMP:=${shell mktemp} +#PYTHON_VERSION:=${shell python -V 2> ${PYTHON_TEMP} ; cat ${PYTHON_TEMP} | awk 'BEGIN {FS= "[ .]"} {printf("%s.%s",$$2,$$3)}'; rm -f ${PYTHON_TEMP}} +ifndef PYTHON_INCLUDEDIR -CFLAGS = -O3 -I$(PYTHON_INCLUDEDIR) -I.. +PYTHON_INCLUDEDIR?= /usr/include/python${PYTHON_VERSION} + +endif +PYTHON_TARGETDIR=${LIB_INSTDIR}/python${PYTHON_VERSION}/site-packages/libsvm + +CFLAGS_PYTHON = ${CFLAGS} -O3 -I$(PYTHON_INCLUDEDIR) -I.. LDFLAGS = -shared # Mac OS # LDFLAGS = -framework Python -bundle @@ -15,16 +22,34 @@ svmc.so: svmc_wrap.o svm.o $(CXX) $(LDFLAGS) -o svmc.so svmc_wrap.o svm.o svmc_wrap.o: svmc_wrap.c ../svm.h - $(CXX) $(CFLAGS) -fPIC -c svmc_wrap.c +# echo "PYTHON_VERSION=${PYTHON_VERSION}" +# echo "CFLAGS=${CFLAGS}" +# echo "CFLAGS_PYTHON=${CFLAGS_PYTHON}" + $(CXX) $(CFLAGS_PYTHON) -fPIC -c svmc_wrap.c svmc_wrap.c: svmc.i $(SWIG) -python -noproxy svmc.i svm.o: ../svm.cpp ../svm.h - $(CXX) $(CFLAGS) -fPIC -c ../svm.cpp + $(CXX) $(CFLAGS_PYTHON) -fPIC -c ../svm.cpp clean: rm -f *~ *.o *.so *.pyc *.pyo svm.o moreclean: clean rm -f svmc_wrap.c + + +install: all + mkdir -p ${PYTHON_TARGETDIR} + install -m 755 cross_validation.py ${PYTHON_TARGETDIR} + install -m 644 svm.py ${PYTHON_TARGETDIR} + install -m 755 svm_test.py ${PYTHON_TARGETDIR} + install -m 755 test_cross_validation.py ${PYTHON_TARGETDIR} + install -m 644 *.i ${PYTHON_TARGETDIR} + install -m 755 *.so ${PYTHON_TARGETDIR} + install -m 755 ../tools/*.py ${PYTHON_TARGETDIR} + +uninstall: + rm -fr ${LIBDIR}/python${PYTHON_VERSION}/site-packages/libsvm + diff -up ./python/test_cross_validation.py.orig ./python/test_cross_validation.py diff -up ./python/svm.py.orig ./python/svm.py diff -up ./tools/subset.py.orig ./tools/subset.py diff -up ./tools/checkdata.py.orig ./tools/checkdata.py diff -up ./tools/easy.py.orig ./tools/easy.py --- ./tools/easy.py.orig 2008-02-10 22:12:43.000000000 +1000 +++ ./tools/easy.py 2008-04-01 16:17:52.000000000 +1000 @@ -2,6 +2,7 @@ import sys import os +from distutils.sysconfig import get_python_lib from subprocess import * if len(sys.argv) <= 1: @@ -12,10 +13,10 @@ if len(sys.argv) <= 1: is_win32 = (sys.platform == 'win32') if not is_win32: - svmscale_exe = "../svm-scale" - svmtrain_exe = "../svm-train" - svmpredict_exe = "../svm-predict" - grid_py = "./grid.py" + svmscale_exe = "/usr/bin/svm-scale" + svmtrain_exe = "/usr/bin/svm-train" + svmpredict_exe = "/usr/bin/svm-predict" + grid_py = get_python_lib(1)+"/libsvm/grid.py" gnuplot_exe = "/usr/bin/gnuplot" else: # example for windows diff -up ./tools/grid.py.orig ./tools/grid.py --- ./tools/grid.py.orig 2008-03-10 00:33:09.000000000 +1000 +++ ./tools/grid.py 2008-04-01 16:17:52.000000000 +1000 @@ -11,7 +11,7 @@ from subprocess import * is_win32 = (sys.platform == 'win32') if not is_win32: - svmtrain_exe = "../svm-train" + svmtrain_exe = "/usr/bin/svm-train" gnuplot_exe = "/usr/bin/gnuplot" else: # example for windows @@ -88,6 +88,7 @@ Usage: grid.py [-log2c begin,end,step] [ i = i + 1 pass_through_string = join(pass_through_options," ") + print 'dataset_pathname=%s' % dataset_pathname assert os.path.exists(svmtrain_exe),"svm-train executable not found" assert os.path.exists(gnuplot_exe),"gnuplot executable not found" assert os.path.exists(dataset_pathname),"dataset not found" diff -up ./svm-train.c.orig ./svm-train.c diff -up ./Makefile.orig ./Makefile --- ./Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./Makefile 2008-04-01 16:21:40.000000000 +1000 @@ -1,15 +1,109 @@ CXX? = g++ CFLAGS = -Wall -O3 +MAKE = make +LIBSVM_VER=${LIBSVM_VER_MAJOR}.${LIBSVM_VER_MINOR} +DOT_LIBS=.libs +LIBS= -L${DOT_LIBS} -lsvm -all: svm-train svm-predict svm-scale +export LIBSVM_VER -svm-predict: svm-predict.c svm.o - $(CXX) $(CFLAGS) svm-predict.c svm.o -o svm-predict -lm -svm-train: svm-train.c svm.o - $(CXX) $(CFLAGS) svm-train.c svm.o -o svm-train -lm -svm-scale: svm-scale.c - $(CXX) $(CFLAGS) svm-scale.c -o svm-scale -svm.o: svm.cpp svm.h - $(CXX) $(CFLAGS) -c svm.cpp +ifndef DESTDIR +INSTDIR=/usr +else +INSTDIR=${DESTDIR}/usr +endif + +export INSTDIR + +IS_64=$(shell /bin/uname -i | awk '/64/ {print 64}') + +ifndef LIBDIR +LIB_INSTDIR=${INSTDIR}/lib${IS_64} +else +LIB_INSTDIR=${INSTDIR}/..${LIBDIR} +endif + +ifndef LIBDIR +LIBDIR=/usr/lib${IS_64} +endif + +export LIBDIR +export LIB_INSTDIR + +all: svm-train svm-predict svm-scale svm-python svm-java svm-lib svm-toy-gtk svm-toy-qt + +svm-lib: %{DOT_LIBS}/libsvm.so + +%{DOT_LIBS}/libsvm.so: svm-share.o + $(CXX) -shared -Wl,-soname,libsvm.so.${LIBSVM_VER_MAJOR}\ + -o libsvm.so.${LIBSVM_VER} svm-share.o -lm + mkdir -p .libs + cd ${DOT_LIBS}; ln -sf ../libsvm.so.${LIBSVM_VER} libsvm.so +svm-share.o: svm.cpp svm.h + $(CXX) -g -fPIC $(CFLAGS) -c svm.cpp -o svm-share.o +svm-predict: svm-predict.c %{DOT_LIBS}/libsvm.so + $(CXX) $(CFLAGS) svm-predict.c -o svm-predict $(LIBS) -lm +svm-train: svm-train.c %{DOT_LIBS}/libsvm.so + $(CXX) $(CFLAGS) svm-train.c -o svm-train $(LIBS) -lm +svm-scale: svm-scale.c %{DOT_LIBS}/libsvm.so + $(CXX) $(CFLAGS) svm-scale.c -o svm-scale $(LIBS) +#svm.o: svm.cpp svm.h +# $(CXX) $(CFLAGS) -c svm.cpp clean: - rm -f *~ svm.o svm-train svm-predict svm-scale + rm -f *~ svm.o svm-train svm-predict svm-scale svm-toy/gtk/svm-toy-gtk svm-toy/qt/svm-toy-qt + ${MAKE} -C python clean + ${MAKE} -C java clean +svm-python: + ${MAKE} -C python +svm-java: + ${MAKE} -C java +svm-toy-gtk: + ${MAKE} -C svm-toy/gtk +svm-toy-qt: + ${MAKE} -C svm-toy/qt + +install: all + mkdir -p ${INSTDIR}/bin + install -m 755 svm-train ${INSTDIR}/bin + install -m 755 svm-predict ${INSTDIR}/bin + install -m 755 svm-scale ${INSTDIR}/bin + mkdir -p ${LIB_INSTDIR} + install -m 755 libsvm.so.${LIBSVM_VER} ${LIB_INSTDIR} + /sbin/ldconfig -n ${LIB_INSTDIR} + cd ${LIB_INSTDIR}; ln -fs libsvm.so.${LIBSVM_VER_MAJOR} libsvm.so +# install package libsvm-devel + mkdir -p ${INSTDIR}/include/libsvm + install -m 644 svm.h ${INSTDIR}/include/libsvm + mkdir -p ${INSTDIR}/share/libsvm/src/java/libsvm + install -m 644 *.h ${INSTDIR}/share/libsvm/src + install -m 644 *.c ${INSTDIR}/share/libsvm/src + install -m 644 *.cpp ${INSTDIR}/share/libsvm/src + install -m 644 Makefile ${INSTDIR}/share/libsvm/src + install -m 644 java/*.java ${INSTDIR}/share/libsvm/src/java + install -m 644 java/Makefile ${INSTDIR}/share/libsvm/src/java + install -m 644 java/libsvm/*.java ${INSTDIR}/share/libsvm/src/java/libsvm + install -m 644 java/libsvm/*.m4 ${INSTDIR}/share/libsvm/src/java/libsvm +# install package libsvm-python + ${MAKE} -C python install +# install package libsvm-java + ${MAKE} -C java install +# install package svm-toy + install -m 755 svm-toy/gtk/svm-toy-gtk ${INSTDIR}/bin + install -m 755 svm-toy/qt/svm-toy-qt ${INSTDIR}/bin +# install examples + mkdir -p ${INSTDIR}/share/libsvm/examples + install -m 644 heart_scale ${INSTDIR}/share/libsvm/examples +uninstall: + rm -f ${INSTDIR}/bin/svm-train + rm -f ${INSTDIR}/bin/svm-predict + rm -f ${INSTDIR}/bin/svm-scale + rm -fr ${INSTDIR}/libsvm/examples + rm -f ${INSTDIR}/include/libsvm/svm.h + rm -f ${LIB_INSTDIR}/libsvm/svm.o + rm -fr ${INSTDIR}/libsvm/src + rm -fr ${INSTDIR}/libsvm + ${MAKE} -C python uninstall + ${MAKE} -C java uninstall + rm -f ${INSTDIR}/bin/svm-toy-gtk + rm -f ${INSTDIR}/bin/svm-toy-qt + diff -up ./svm-scale.c.orig ./svm-scale.c diff -up ./FAQ.html.orig ./FAQ.html diff -up ./svm-predict.c.orig ./svm-predict.c diff -up ./svm-toy/qt/Makefile.orig ./svm-toy/qt/Makefile --- ./svm-toy/qt/Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./svm-toy/qt/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -1,19 +1,23 @@ CXX? = g++ CFLAGS = -Wall -O3 -DQT_THREAD_SUPPORT +QTDIR = $(LIBDIR)/qt-3.3 BIN = $(QTDIR)/bin INCLUDE = $(QTDIR)/include LIB = $(QTDIR)/lib -#BIN = /usr/bin -#INCLUDE = /usr/include/qt3 -#LIB = /usr/lib/qt3 +DOT_LIBS=../../.libs +LIBS= -L${DOT_LIBS} -lsvm -svm-toy: svm-toy.cpp svm-toy.moc ../../svm.o - $(CXX) -I$(INCLUDE) $(CFLAGS) svm-toy.cpp ../../svm.o -o svm-toy -L$(LIB) -lqt-mt +all: svm-toy-qt + +svm-toy-qt: svm-toy.cpp svm-toy.moc ../../svm.o + $(CXX) -I$(INCLUDE) $(CFLAGS) svm-toy.cpp ../../svm.o -o svm-toy-qt -L$(LIB) $(LIBS) -lqt-mt # add -pthread for bsd svm-toy.moc: svm-toy.cpp + echo "LIBDIR=${LIBDIR}" + echo "QTDIR=${QTDIR}" $(BIN)/moc svm-toy.cpp -o svm-toy.moc -../../svm.o: - cd ../..; make svm.o +#../../svm.o: +# cd ../..; make svm.o clean: rm -f *~ svm-toy svm-toy.moc ../../svm.o diff -up ./svm-toy/qt/svm-toy.cpp.orig ./svm-toy/qt/svm-toy.cpp diff -up ./svm-toy/gtk/interface.h.orig ./svm-toy/gtk/interface.h diff -up ./svm-toy/gtk/interface.c.orig ./svm-toy/gtk/interface.c diff -up ./svm-toy/gtk/Makefile.orig ./svm-toy/gtk/Makefile --- ./svm-toy/gtk/Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./svm-toy/gtk/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -1,22 +1,28 @@ CC? = gcc CXX? = g++ -CFLAGS = -Wall -O3 -g `gtk-config --cflags` -LIBS = `gtk-config --libs` +#CFLAGS = -Wall -O3 -g `gtk-config --cflags` +#LIBS = `gtk-config --libs` +COPT = `pkg-config --cflags --libs gtk+-2.0` +DOT_LIBS=../../.libs +LIBS= -L${DOT_LIBS} -lsvm -svm-toy: main.o interface.o callbacks.o ../../svm.o - $(CXX) $(CFLAGS) main.o interface.o callbacks.o ../../svm.o -o svm-toy $(LIBS) + +all: svm-toy-gtk + +svm-toy-gtk: main.o interface.o callbacks.o + $(CXX) $(COPT) main.o interface.o callbacks.o ${LIBS} -o svm-toy-gtk main.o: main.c - $(CC) $(CFLAGS) -c main.c + $(CC) $(COPT) -c main.c interface.o: interface.c interface.h - $(CC) $(CFLAGS) -c interface.c + $(CC) $(COPT) -c interface.c callbacks.o: callbacks.cpp callbacks.h - $(CXX) $(CFLAGS) -c callbacks.cpp + $(CXX) $(COPT) -c callbacks.cpp -../../svm.o: - cd ../..; make svm.o +#../../svm.o: +# cd ../..; make svm.o clean: - rm -f *~ callbacks.o svm-toy main.o interface.o callbacks.o ../../svm.o + rm -f *~ callbacks.o svm-toy main.o interface.o callbacks.o diff -up ./svm-toy/gtk/callbacks.h.orig ./svm-toy/gtk/callbacks.h diff -up ./svm-toy/gtk/main.c.orig ./svm-toy/gtk/main.c diff -up ./svm-toy/gtk/callbacks.cpp.orig ./svm-toy/gtk/callbacks.cpp --- ./svm-toy/gtk/callbacks.cpp.orig 2008-04-01 16:55:09.000000000 +1000 +++ ./svm-toy/gtk/callbacks.cpp 2008-04-01 17:04:12.000000000 +1000 @@ -2,6 +2,7 @@ #include #include #include +#include #include "callbacks.h" #include "interface.h" #include "../../svm.h" Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/F-7/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 4 Feb 2008 08:16:09 -0000 1.3 +++ .cvsignore 1 Apr 2008 07:38:44 -0000 1.4 @@ -1,2 +1,2 @@ guide.pdf -libsvm-2.85.tar.gz +libsvm-2.86.tar.gz Index: libsvm.spec =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/F-7/libsvm.spec,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- libsvm.spec 10 Mar 2008 23:52:44 -0000 1.12 +++ libsvm.spec 1 Apr 2008 07:38:44 -0000 1.13 @@ -1,6 +1,6 @@ Name: libsvm -Version: 2.85 -Release: 6%{?dist} +Version: 2.86 +Release: 0%{?dist} Summary: A Library for Support Vector Machines Group: Development/Libraries @@ -17,6 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %define libsvm_ver_major 2 +%define libsvm_ver_minor 86 %{!?pyver: %define pyver %(python -c 'import sys; print(sys.version[0:3])')} %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define libsvm_python_dir %{python_sitearch}/libsvm @@ -105,7 +106,7 @@ %build -make all CFLAGS="$RPM_OPT_FLAGS" PYTHON_VERSION="%{pyver}" JAVAC="%{javac}" JAR="%{jar}" LIBDIR=%{_libdir} +make all CFLAGS="$RPM_OPT_FLAGS" PYTHON_VERSION="%{pyver}" JAVAC="%{javac}" JAR="%{jar}" LIBDIR="%{_libdir}" LIBSVM_VER_MAJOR="%{libsvm_ver_major}" LIBSVM_VER_MINOR=%{libsvm_ver_minor} %{__sed} -i 's/\r//' FAQ.html %{__sed} -i 's/\r//' ChangeLog mv python/README python/README-Python @@ -117,7 +118,7 @@ %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} PYTHON_VERSION="%{pyver}" +make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} PYTHON_VERSION="%{pyver}" LIBSVM_VER_MAJOR="%{libsvm_ver_major}" LIBSVM_VER_MINOR=%{libsvm_ver_minor} #cd ${RPM_BUILD_ROOT}%{libdir_libsvm}; ln -sf %{name}.so.%{version} %{name}.so rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/src mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps/ @@ -201,8 +202,17 @@ %changelog +* Tue Mar 11 2008 Ding-Yi Chen - 2.86-0 +- Upstream update to 2.86 + - svm-scale for java + - version number in svm.h and svm.m4 + - rename svmtrain.exe to svm-train.exe + - python: while 1 --> while True, Popen -> call + - show best parameters on the contour of grid.py +- LIBSVM_VER_MAJOR and LIBSVM_VER_MINOR are defined in libsvm.spec instead in + * Tue Mar 11 2008 Ding-Yi Chen - 2.85-6 -- Add desktop files in install section. +- Fix build error. * Mon Mar 10 2008 Ding-Yi Chen - 2.85-5 - [Bug 436392]: Fix by copy from right place. Index: log =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/F-7/log,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- log 4 Feb 2008 08:16:09 -0000 1.1 +++ log 1 Apr 2008 07:38:44 -0000 1.2 @@ -132,4 +132,11 @@ avoid warning of gcc 4.2 sigma 0.001 to 1e-12; in Newton direction of prob output 2 * (long int) l avoid warning of old Visual C++ - grid.py: avoid gnuplot problem \ No newline at end of file + grid.py: avoid gnuplot problem on windows + +2.86: 2008/04/01 + svm-scale for java + version number in svm.h and svm.m4 + rename svmtrain.exe to svm-train.exe + python: while 1 --> while True, Popen -> call + show best parameters on the contour of grid.py \ No newline at end of file Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/F-7/sources,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sources 4 Feb 2008 08:16:09 -0000 1.3 +++ sources 1 Apr 2008 07:38:44 -0000 1.4 @@ -1,2 +1,2 @@ aae7a8f7e357e86e1c893b706bb02a63 guide.pdf -c839d919cc6fa7b5ad86ea37b7cebcc3 libsvm-2.85.tar.gz +fe0cccace12516382be5a7c513e4b056 libsvm-2.86.tar.gz --- libsvm-2.85.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 07:41:04 2008 From: fedora-extras-commits at redhat.com (Ding-Yi Chen (dchen)) Date: Tue, 1 Apr 2008 07:41:04 GMT Subject: rpms/libsvm/F-8 libsvm-2.86.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 libsvm.spec, 1.15, 1.16 log, 1.1, 1.2 sources, 1.3, 1.4 libsvm-2.85.patch, 1.3, NONE Message-ID: <200804010741.m317f4Q2021022@cvs-int.fedora.redhat.com> Author: dchen Update of /cvs/pkgs/rpms/libsvm/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20981/F-8 Modified Files: .cvsignore libsvm.spec log sources Added Files: libsvm-2.86.patch Removed Files: libsvm-2.85.patch Log Message: Upstream update to 2.86 libsvm-2.86.patch: --- NEW FILE libsvm-2.86.patch --- diff -up ./java/test_applet.html.orig ./java/test_applet.html --- ./java/test_applet.html.orig 2003-07-12 14:06:55.000000000 +1000 +++ ./java/test_applet.html 2008-04-01 16:17:52.000000000 +1000 @@ -1 +1,3 @@ - + + + diff -up ./java/svm_train.java.orig ./java/svm_train.java diff -up ./java/libsvm/svm_parameter.java.orig ./java/libsvm/svm_parameter.java --- ./java/libsvm/svm_parameter.java.orig 2006-03-04 01:44:14.000000000 +1000 +++ ./java/libsvm/svm_parameter.java 2008-04-01 16:17:52.000000000 +1000 @@ -1,6 +1,7 @@ package libsvm; public class svm_parameter implements Cloneable,java.io.Serializable { + static final long serialVersionUID = 2709444323471798245L; /* svm_type */ public static final int C_SVC = 0; public static final int NU_SVC = 1; diff -up ./java/libsvm/svm_problem.java.orig ./java/libsvm/svm_problem.java --- ./java/libsvm/svm_problem.java.orig 2003-10-11 22:30:47.000000000 +1000 +++ ./java/libsvm/svm_problem.java 2008-04-01 16:17:52.000000000 +1000 @@ -1,6 +1,7 @@ package libsvm; public class svm_problem implements java.io.Serializable { + static final long serialVersionUID = -4451389443706847272L; public int l; public double[] y; public svm_node[][] x; diff -up ./java/libsvm/svm_node.java.orig ./java/libsvm/svm_node.java --- ./java/libsvm/svm_node.java.orig 2003-10-11 22:30:47.000000000 +1000 +++ ./java/libsvm/svm_node.java 2008-04-01 16:17:52.000000000 +1000 @@ -1,6 +1,7 @@ package libsvm; public class svm_node implements java.io.Serializable { + static final long serialVersionUID = 2709444323471798245L; public int index; public double value; } diff -up ./java/libsvm/svm.m4.orig ./java/libsvm/svm.m4 diff -up ./java/libsvm/svm_model.java.orig ./java/libsvm/svm_model.java --- ./java/libsvm/svm_model.java.orig 2007-01-13 08:23:39.000000000 +1000 +++ ./java/libsvm/svm_model.java 2008-04-01 16:17:52.000000000 +1000 @@ -4,6 +4,7 @@ package libsvm; public class svm_model implements java.io.Serializable { + static final long serialVersionUID = 2709444323471798245L; svm_parameter param; // parameter int nr_class; // number of classes, = 2 in regression/one class svm int l; // total #SV diff -up ./java/libsvm/svm.java.orig ./java/libsvm/svm.java diff -up ./java/Makefile.orig ./java/Makefile --- ./java/Makefile.orig 2007-11-11 22:17:30.000000000 +1000 +++ ./java/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -3,13 +3,22 @@ FILES = libsvm/svm.class libsvm/svm_mode libsvm/svm_parameter.class libsvm/svm_problem.class \ svm_train.class svm_predict.class svm_toy.class svm_scale.class -#JAVAC = jikes -JAVAC_FLAGS = -target 1.5 -source 1.5 -JAVAC = javac -# JAVAC_FLAGS = +JAVA_TARGETDIR=${INSTDIR}/share/libsvm/java +JAVA_DOCDIR=${INSTDIR}/share/javadoc/libsvm-${LIBSVM_VER} +CLASSPATH = . +JAVAC_FLAGS = -target 1.5 -source 1.5 -classpath ${CLASSPATH} + +ifndef JAVAC +JAVAC=javac +endif + +ifndef JAR +JAR=jar +endif + all: $(FILES) - jar cvf libsvm.jar *.class libsvm/*.class + ${JAR} cvf libsvm.jar *.class libsvm/*.class .java.class: $(JAVAC) $(JAVAC_FLAGS) $< @@ -17,8 +26,22 @@ all: $(FILES) libsvm/svm.java: libsvm/svm.m4 m4 libsvm/svm.m4 > libsvm/svm.java +javadoc: + javadoc -d docs *.java libsvm/*.java + +install: + mkdir -p ${JAVA_TARGETDIR} + install -m 644 libsvm.jar ${JAVA_TARGETDIR} + install -m 644 test_applet.html ${JAVA_TARGETDIR} +# mkdir -p ${JAVA_DOCDIR} +# cd docs; cp -R * ${JAVA_DOCDIR} +uninstall: + rm -fr ${JAVA_TARGETDIR} + rm -fr ${JAVA_DOCDIR} + clean: rm -f libsvm/*.class *.class *.jar libsvm/*~ *~ libsvm/svm.java + rm -rf docs dist: clean all rm *.class libsvm/*.class diff -up ./java/svm_toy.java.orig ./java/svm_toy.java --- ./java/svm_toy.java.orig 2007-07-01 23:02:51.000000000 +1000 +++ ./java/svm_toy.java 2008-04-01 16:17:52.000000000 +1000 @@ -6,7 +6,7 @@ import java.awt.event.*; import java.io.*; public class svm_toy extends Applet { - + static final long serialVersionUID = -8325676470152687806L; static final String DEFAULT_PARAM="-t 2 -c 100"; int XLEN; int YLEN; @@ -453,6 +453,7 @@ public class svm_toy extends Applet { } class AppletFrame extends Frame { + static final long serialVersionUID = -8428435143024670779L; AppletFrame(String title, Applet applet, int width, int height) { super(title); diff -up ./java/svm_predict.java.orig ./java/svm_predict.java diff -up ./java/svm_scale.java.orig ./java/svm_scale.java diff -up ./svm.h.orig ./svm.h diff -up ./python/cross_validation.py.orig ./python/cross_validation.py diff -up ./python/svmc_wrap.c.orig ./python/svmc_wrap.c diff -up ./python/svm_test.py.orig ./python/svm_test.py diff -up ./python/Makefile.orig ./python/Makefile --- ./python/Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./python/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -2,9 +2,16 @@ CXX? = g++ SWIG ?= swig #Windows: see ../README ../Makefile.win -PYTHON_INCLUDEDIR ?= /usr/include/python2.4 +#PYTHON_TEMP:=${shell mktemp} +#PYTHON_VERSION:=${shell python -V 2> ${PYTHON_TEMP} ; cat ${PYTHON_TEMP} | awk 'BEGIN {FS= "[ .]"} {printf("%s.%s",$$2,$$3)}'; rm -f ${PYTHON_TEMP}} +ifndef PYTHON_INCLUDEDIR -CFLAGS = -O3 -I$(PYTHON_INCLUDEDIR) -I.. +PYTHON_INCLUDEDIR?= /usr/include/python${PYTHON_VERSION} + +endif +PYTHON_TARGETDIR=${LIB_INSTDIR}/python${PYTHON_VERSION}/site-packages/libsvm + +CFLAGS_PYTHON = ${CFLAGS} -O3 -I$(PYTHON_INCLUDEDIR) -I.. LDFLAGS = -shared # Mac OS # LDFLAGS = -framework Python -bundle @@ -15,16 +22,34 @@ svmc.so: svmc_wrap.o svm.o $(CXX) $(LDFLAGS) -o svmc.so svmc_wrap.o svm.o svmc_wrap.o: svmc_wrap.c ../svm.h - $(CXX) $(CFLAGS) -fPIC -c svmc_wrap.c +# echo "PYTHON_VERSION=${PYTHON_VERSION}" +# echo "CFLAGS=${CFLAGS}" +# echo "CFLAGS_PYTHON=${CFLAGS_PYTHON}" + $(CXX) $(CFLAGS_PYTHON) -fPIC -c svmc_wrap.c svmc_wrap.c: svmc.i $(SWIG) -python -noproxy svmc.i svm.o: ../svm.cpp ../svm.h - $(CXX) $(CFLAGS) -fPIC -c ../svm.cpp + $(CXX) $(CFLAGS_PYTHON) -fPIC -c ../svm.cpp clean: rm -f *~ *.o *.so *.pyc *.pyo svm.o moreclean: clean rm -f svmc_wrap.c + + +install: all + mkdir -p ${PYTHON_TARGETDIR} + install -m 755 cross_validation.py ${PYTHON_TARGETDIR} + install -m 644 svm.py ${PYTHON_TARGETDIR} + install -m 755 svm_test.py ${PYTHON_TARGETDIR} + install -m 755 test_cross_validation.py ${PYTHON_TARGETDIR} + install -m 644 *.i ${PYTHON_TARGETDIR} + install -m 755 *.so ${PYTHON_TARGETDIR} + install -m 755 ../tools/*.py ${PYTHON_TARGETDIR} + +uninstall: + rm -fr ${LIBDIR}/python${PYTHON_VERSION}/site-packages/libsvm + diff -up ./python/test_cross_validation.py.orig ./python/test_cross_validation.py diff -up ./python/svm.py.orig ./python/svm.py diff -up ./tools/subset.py.orig ./tools/subset.py diff -up ./tools/checkdata.py.orig ./tools/checkdata.py diff -up ./tools/easy.py.orig ./tools/easy.py --- ./tools/easy.py.orig 2008-02-10 22:12:43.000000000 +1000 +++ ./tools/easy.py 2008-04-01 16:17:52.000000000 +1000 @@ -2,6 +2,7 @@ import sys import os +from distutils.sysconfig import get_python_lib from subprocess import * if len(sys.argv) <= 1: @@ -12,10 +13,10 @@ if len(sys.argv) <= 1: is_win32 = (sys.platform == 'win32') if not is_win32: - svmscale_exe = "../svm-scale" - svmtrain_exe = "../svm-train" - svmpredict_exe = "../svm-predict" - grid_py = "./grid.py" + svmscale_exe = "/usr/bin/svm-scale" + svmtrain_exe = "/usr/bin/svm-train" + svmpredict_exe = "/usr/bin/svm-predict" + grid_py = get_python_lib(1)+"/libsvm/grid.py" gnuplot_exe = "/usr/bin/gnuplot" else: # example for windows diff -up ./tools/grid.py.orig ./tools/grid.py --- ./tools/grid.py.orig 2008-03-10 00:33:09.000000000 +1000 +++ ./tools/grid.py 2008-04-01 16:17:52.000000000 +1000 @@ -11,7 +11,7 @@ from subprocess import * is_win32 = (sys.platform == 'win32') if not is_win32: - svmtrain_exe = "../svm-train" + svmtrain_exe = "/usr/bin/svm-train" gnuplot_exe = "/usr/bin/gnuplot" else: # example for windows @@ -88,6 +88,7 @@ Usage: grid.py [-log2c begin,end,step] [ i = i + 1 pass_through_string = join(pass_through_options," ") + print 'dataset_pathname=%s' % dataset_pathname assert os.path.exists(svmtrain_exe),"svm-train executable not found" assert os.path.exists(gnuplot_exe),"gnuplot executable not found" assert os.path.exists(dataset_pathname),"dataset not found" diff -up ./svm-train.c.orig ./svm-train.c diff -up ./Makefile.orig ./Makefile --- ./Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./Makefile 2008-04-01 16:21:40.000000000 +1000 @@ -1,15 +1,109 @@ CXX? = g++ CFLAGS = -Wall -O3 +MAKE = make +LIBSVM_VER=${LIBSVM_VER_MAJOR}.${LIBSVM_VER_MINOR} +DOT_LIBS=.libs +LIBS= -L${DOT_LIBS} -lsvm -all: svm-train svm-predict svm-scale +export LIBSVM_VER -svm-predict: svm-predict.c svm.o - $(CXX) $(CFLAGS) svm-predict.c svm.o -o svm-predict -lm -svm-train: svm-train.c svm.o - $(CXX) $(CFLAGS) svm-train.c svm.o -o svm-train -lm -svm-scale: svm-scale.c - $(CXX) $(CFLAGS) svm-scale.c -o svm-scale -svm.o: svm.cpp svm.h - $(CXX) $(CFLAGS) -c svm.cpp +ifndef DESTDIR +INSTDIR=/usr +else +INSTDIR=${DESTDIR}/usr +endif + +export INSTDIR + +IS_64=$(shell /bin/uname -i | awk '/64/ {print 64}') + +ifndef LIBDIR +LIB_INSTDIR=${INSTDIR}/lib${IS_64} +else +LIB_INSTDIR=${INSTDIR}/..${LIBDIR} +endif + +ifndef LIBDIR +LIBDIR=/usr/lib${IS_64} +endif + +export LIBDIR +export LIB_INSTDIR + +all: svm-train svm-predict svm-scale svm-python svm-java svm-lib svm-toy-gtk svm-toy-qt + +svm-lib: %{DOT_LIBS}/libsvm.so + +%{DOT_LIBS}/libsvm.so: svm-share.o + $(CXX) -shared -Wl,-soname,libsvm.so.${LIBSVM_VER_MAJOR}\ + -o libsvm.so.${LIBSVM_VER} svm-share.o -lm + mkdir -p .libs + cd ${DOT_LIBS}; ln -sf ../libsvm.so.${LIBSVM_VER} libsvm.so +svm-share.o: svm.cpp svm.h + $(CXX) -g -fPIC $(CFLAGS) -c svm.cpp -o svm-share.o +svm-predict: svm-predict.c %{DOT_LIBS}/libsvm.so + $(CXX) $(CFLAGS) svm-predict.c -o svm-predict $(LIBS) -lm +svm-train: svm-train.c %{DOT_LIBS}/libsvm.so + $(CXX) $(CFLAGS) svm-train.c -o svm-train $(LIBS) -lm +svm-scale: svm-scale.c %{DOT_LIBS}/libsvm.so + $(CXX) $(CFLAGS) svm-scale.c -o svm-scale $(LIBS) +#svm.o: svm.cpp svm.h +# $(CXX) $(CFLAGS) -c svm.cpp clean: - rm -f *~ svm.o svm-train svm-predict svm-scale + rm -f *~ svm.o svm-train svm-predict svm-scale svm-toy/gtk/svm-toy-gtk svm-toy/qt/svm-toy-qt + ${MAKE} -C python clean + ${MAKE} -C java clean +svm-python: + ${MAKE} -C python +svm-java: + ${MAKE} -C java +svm-toy-gtk: + ${MAKE} -C svm-toy/gtk +svm-toy-qt: + ${MAKE} -C svm-toy/qt + +install: all + mkdir -p ${INSTDIR}/bin + install -m 755 svm-train ${INSTDIR}/bin + install -m 755 svm-predict ${INSTDIR}/bin + install -m 755 svm-scale ${INSTDIR}/bin + mkdir -p ${LIB_INSTDIR} + install -m 755 libsvm.so.${LIBSVM_VER} ${LIB_INSTDIR} + /sbin/ldconfig -n ${LIB_INSTDIR} + cd ${LIB_INSTDIR}; ln -fs libsvm.so.${LIBSVM_VER_MAJOR} libsvm.so +# install package libsvm-devel + mkdir -p ${INSTDIR}/include/libsvm + install -m 644 svm.h ${INSTDIR}/include/libsvm + mkdir -p ${INSTDIR}/share/libsvm/src/java/libsvm + install -m 644 *.h ${INSTDIR}/share/libsvm/src + install -m 644 *.c ${INSTDIR}/share/libsvm/src + install -m 644 *.cpp ${INSTDIR}/share/libsvm/src + install -m 644 Makefile ${INSTDIR}/share/libsvm/src + install -m 644 java/*.java ${INSTDIR}/share/libsvm/src/java + install -m 644 java/Makefile ${INSTDIR}/share/libsvm/src/java + install -m 644 java/libsvm/*.java ${INSTDIR}/share/libsvm/src/java/libsvm + install -m 644 java/libsvm/*.m4 ${INSTDIR}/share/libsvm/src/java/libsvm +# install package libsvm-python + ${MAKE} -C python install +# install package libsvm-java + ${MAKE} -C java install +# install package svm-toy + install -m 755 svm-toy/gtk/svm-toy-gtk ${INSTDIR}/bin + install -m 755 svm-toy/qt/svm-toy-qt ${INSTDIR}/bin +# install examples + mkdir -p ${INSTDIR}/share/libsvm/examples + install -m 644 heart_scale ${INSTDIR}/share/libsvm/examples +uninstall: + rm -f ${INSTDIR}/bin/svm-train + rm -f ${INSTDIR}/bin/svm-predict + rm -f ${INSTDIR}/bin/svm-scale + rm -fr ${INSTDIR}/libsvm/examples + rm -f ${INSTDIR}/include/libsvm/svm.h + rm -f ${LIB_INSTDIR}/libsvm/svm.o + rm -fr ${INSTDIR}/libsvm/src + rm -fr ${INSTDIR}/libsvm + ${MAKE} -C python uninstall + ${MAKE} -C java uninstall + rm -f ${INSTDIR}/bin/svm-toy-gtk + rm -f ${INSTDIR}/bin/svm-toy-qt + diff -up ./svm-scale.c.orig ./svm-scale.c diff -up ./FAQ.html.orig ./FAQ.html diff -up ./svm-predict.c.orig ./svm-predict.c diff -up ./svm-toy/qt/Makefile.orig ./svm-toy/qt/Makefile --- ./svm-toy/qt/Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./svm-toy/qt/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -1,19 +1,23 @@ CXX? = g++ CFLAGS = -Wall -O3 -DQT_THREAD_SUPPORT +QTDIR = $(LIBDIR)/qt-3.3 BIN = $(QTDIR)/bin INCLUDE = $(QTDIR)/include LIB = $(QTDIR)/lib -#BIN = /usr/bin -#INCLUDE = /usr/include/qt3 -#LIB = /usr/lib/qt3 +DOT_LIBS=../../.libs +LIBS= -L${DOT_LIBS} -lsvm -svm-toy: svm-toy.cpp svm-toy.moc ../../svm.o - $(CXX) -I$(INCLUDE) $(CFLAGS) svm-toy.cpp ../../svm.o -o svm-toy -L$(LIB) -lqt-mt +all: svm-toy-qt + +svm-toy-qt: svm-toy.cpp svm-toy.moc ../../svm.o + $(CXX) -I$(INCLUDE) $(CFLAGS) svm-toy.cpp ../../svm.o -o svm-toy-qt -L$(LIB) $(LIBS) -lqt-mt # add -pthread for bsd svm-toy.moc: svm-toy.cpp + echo "LIBDIR=${LIBDIR}" + echo "QTDIR=${QTDIR}" $(BIN)/moc svm-toy.cpp -o svm-toy.moc -../../svm.o: - cd ../..; make svm.o +#../../svm.o: +# cd ../..; make svm.o clean: rm -f *~ svm-toy svm-toy.moc ../../svm.o diff -up ./svm-toy/qt/svm-toy.cpp.orig ./svm-toy/qt/svm-toy.cpp diff -up ./svm-toy/gtk/interface.h.orig ./svm-toy/gtk/interface.h diff -up ./svm-toy/gtk/interface.c.orig ./svm-toy/gtk/interface.c diff -up ./svm-toy/gtk/Makefile.orig ./svm-toy/gtk/Makefile --- ./svm-toy/gtk/Makefile.orig 2007-10-14 16:29:12.000000000 +1000 +++ ./svm-toy/gtk/Makefile 2008-04-01 16:17:52.000000000 +1000 @@ -1,22 +1,28 @@ CC? = gcc CXX? = g++ -CFLAGS = -Wall -O3 -g `gtk-config --cflags` -LIBS = `gtk-config --libs` +#CFLAGS = -Wall -O3 -g `gtk-config --cflags` +#LIBS = `gtk-config --libs` +COPT = `pkg-config --cflags --libs gtk+-2.0` +DOT_LIBS=../../.libs +LIBS= -L${DOT_LIBS} -lsvm -svm-toy: main.o interface.o callbacks.o ../../svm.o - $(CXX) $(CFLAGS) main.o interface.o callbacks.o ../../svm.o -o svm-toy $(LIBS) + +all: svm-toy-gtk + +svm-toy-gtk: main.o interface.o callbacks.o + $(CXX) $(COPT) main.o interface.o callbacks.o ${LIBS} -o svm-toy-gtk main.o: main.c - $(CC) $(CFLAGS) -c main.c + $(CC) $(COPT) -c main.c interface.o: interface.c interface.h - $(CC) $(CFLAGS) -c interface.c + $(CC) $(COPT) -c interface.c callbacks.o: callbacks.cpp callbacks.h - $(CXX) $(CFLAGS) -c callbacks.cpp + $(CXX) $(COPT) -c callbacks.cpp -../../svm.o: - cd ../..; make svm.o +#../../svm.o: +# cd ../..; make svm.o clean: - rm -f *~ callbacks.o svm-toy main.o interface.o callbacks.o ../../svm.o + rm -f *~ callbacks.o svm-toy main.o interface.o callbacks.o diff -up ./svm-toy/gtk/callbacks.h.orig ./svm-toy/gtk/callbacks.h diff -up ./svm-toy/gtk/main.c.orig ./svm-toy/gtk/main.c diff -up ./svm-toy/gtk/callbacks.cpp.orig ./svm-toy/gtk/callbacks.cpp --- ./svm-toy/gtk/callbacks.cpp.orig 2008-04-01 16:55:09.000000000 +1000 +++ ./svm-toy/gtk/callbacks.cpp 2008-04-01 17:04:12.000000000 +1000 @@ -2,6 +2,7 @@ #include #include #include +#include #include "callbacks.h" #include "interface.h" #include "../../svm.h" Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/F-8/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 4 Feb 2008 08:17:45 -0000 1.3 +++ .cvsignore 1 Apr 2008 07:40:24 -0000 1.4 @@ -1,2 +1,2 @@ guide.pdf -libsvm-2.85.tar.gz +libsvm-2.86.tar.gz Index: libsvm.spec =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/F-8/libsvm.spec,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- libsvm.spec 10 Mar 2008 23:55:46 -0000 1.15 +++ libsvm.spec 1 Apr 2008 07:40:24 -0000 1.16 @@ -1,6 +1,6 @@ Name: libsvm -Version: 2.85 -Release: 6%{?dist} +Version: 2.86 +Release: 0%{?dist} Summary: A Library for Support Vector Machines Group: Development/Libraries @@ -17,6 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %define libsvm_ver_major 2 +%define libsvm_ver_minor 86 %{!?pyver: %define pyver %(python -c 'import sys; print(sys.version[0:3])')} %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define libsvm_python_dir %{python_sitearch}/libsvm @@ -105,7 +106,7 @@ %build -make all CFLAGS="$RPM_OPT_FLAGS" PYTHON_VERSION="%{pyver}" JAVAC="%{javac}" JAR="%{jar}" LIBDIR=%{_libdir} +make all CFLAGS="$RPM_OPT_FLAGS" PYTHON_VERSION="%{pyver}" JAVAC="%{javac}" JAR="%{jar}" LIBDIR="%{_libdir}" LIBSVM_VER_MAJOR="%{libsvm_ver_major}" LIBSVM_VER_MINOR=%{libsvm_ver_minor} %{__sed} -i 's/\r//' FAQ.html %{__sed} -i 's/\r//' ChangeLog mv python/README python/README-Python @@ -117,7 +118,7 @@ %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} PYTHON_VERSION="%{pyver}" +make install DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} PYTHON_VERSION="%{pyver}" LIBSVM_VER_MAJOR="%{libsvm_ver_major}" LIBSVM_VER_MINOR=%{libsvm_ver_minor} #cd ${RPM_BUILD_ROOT}%{libdir_libsvm}; ln -sf %{name}.so.%{version} %{name}.so rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/src mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps/ @@ -201,8 +202,17 @@ %changelog +* Tue Mar 11 2008 Ding-Yi Chen - 2.86-0 +- Upstream update to 2.86 + - svm-scale for java + - version number in svm.h and svm.m4 + - rename svmtrain.exe to svm-train.exe + - python: while 1 --> while True, Popen -> call + - show best parameters on the contour of grid.py +- LIBSVM_VER_MAJOR and LIBSVM_VER_MINOR are defined in libsvm.spec instead in + * Tue Mar 11 2008 Ding-Yi Chen - 2.85-6 -- Add desktop files in install section. +- Fix build error. * Mon Mar 10 2008 Ding-Yi Chen - 2.85-5 - [Bug 436392]: Fix by copy from right place. Index: log =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/F-8/log,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- log 4 Feb 2008 08:17:45 -0000 1.1 +++ log 1 Apr 2008 07:40:24 -0000 1.2 @@ -132,4 +132,11 @@ avoid warning of gcc 4.2 sigma 0.001 to 1e-12; in Newton direction of prob output 2 * (long int) l avoid warning of old Visual C++ - grid.py: avoid gnuplot problem \ No newline at end of file + grid.py: avoid gnuplot problem on windows + +2.86: 2008/04/01 + svm-scale for java + version number in svm.h and svm.m4 + rename svmtrain.exe to svm-train.exe + python: while 1 --> while True, Popen -> call + show best parameters on the contour of grid.py \ No newline at end of file Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/libsvm/F-8/sources,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sources 4 Feb 2008 08:17:45 -0000 1.3 +++ sources 1 Apr 2008 07:40:24 -0000 1.4 @@ -1,2 +1,2 @@ aae7a8f7e357e86e1c893b706bb02a63 guide.pdf -c839d919cc6fa7b5ad86ea37b7cebcc3 libsvm-2.85.tar.gz +fe0cccace12516382be5a7c513e4b056 libsvm-2.86.tar.gz --- libsvm-2.85.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 07:45:51 2008 From: fedora-extras-commits at redhat.com (David Nielsen (dnielsen)) Date: Tue, 1 Apr 2008 07:45:51 GMT Subject: rpms/ipod-sharp/F-8 ipod-sharp-0.8.0-libdir.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 ipod-sharp.spec, 1.9, 1.10 sources, 1.4, 1.5 ipod-sharp-0.6.2-monodir.patch, 1.1, NONE Message-ID: <200804010745.m317jpFU021218@cvs-int.fedora.redhat.com> Author: dnielsen Update of /cvs/pkgs/rpms/ipod-sharp/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21169/F-8 Modified Files: .cvsignore ipod-sharp.spec sources Added Files: ipod-sharp-0.8.0-libdir.patch Removed Files: ipod-sharp-0.6.2-monodir.patch Log Message: Bump to 0.8.0 ipod-sharp-0.8.0-libdir.patch: --- NEW FILE ipod-sharp-0.8.0-libdir.patch --- diff -uarN ipod-sharp-0.8.0.orig/ipod-sharp.pc.in ipod-sharp-0.8.0/ipod-sharp.pc.in --- ipod-sharp-0.8.0.orig/ipod-sharp.pc.in 2007-09-17 13:57:21.000000000 +0200 +++ ipod-sharp-0.8.0/ipod-sharp.pc.in 2008-02-01 09:14:38.000000000 +0100 @@ -2,7 +2,7 @@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ -Libraries=@prefix@/lib/ipod-sharp/ipod-sharp.dll +Libraries=@libdir@/ipod-sharp/ipod-sharp.dll Name: ipod-sharp Description: ipod-sharp - Library for interfacing with Apple iPod devices diff -uarN ipod-sharp-0.8.0.orig/ipod-sharp-ui.pc.in ipod-sharp-0.8.0/ipod-sharp-ui.pc.in --- ipod-sharp-0.8.0.orig/ipod-sharp-ui.pc.in 2007-09-17 13:57:21.000000000 +0200 +++ ipod-sharp-0.8.0/ipod-sharp-ui.pc.in 2008-02-01 09:14:50.000000000 +0100 @@ -1,7 +1,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ -Libraries=@prefix@/lib/ipod-sharp/ipod-sharp-ui.dll +Libraries=@libdir@/ipod-sharp/ipod-sharp-ui.dll Name: ipod-sharp-ui Description: ipod-sharp-ui - Widgets useful for working with ipod-sharp diff -uarN ipod-sharp-0.8.0.orig/src/Firmware/Makefile.am ipod-sharp-0.8.0/src/Firmware/Makefile.am --- ipod-sharp-0.8.0.orig/src/Firmware/Makefile.am 2007-10-12 18:13:35.000000000 +0200 +++ ipod-sharp-0.8.0/src/Firmware/Makefile.am 2008-02-01 09:17:00.000000000 +0100 @@ -1,7 +1,7 @@ MCS_FLAGS = -debug ASSEMBLY = ipod-sharp-firmware.dll -ipoddir = $(prefix)/lib/ipod-sharp +ipoddir = $(libdir)/ipod-sharp ipod_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb ASSEMBLY_SOURCES = \ diff -uarN ipod-sharp-0.8.0.orig/src/Firmware/Makefile.in ipod-sharp-0.8.0/src/Firmware/Makefile.in --- ipod-sharp-0.8.0.orig/src/Firmware/Makefile.in 2007-12-19 00:34:46.000000000 +0100 +++ ipod-sharp-0.8.0/src/Firmware/Makefile.in 2008-02-01 09:16:47.000000000 +0100 @@ -150,7 +150,7 @@ top_srcdir = @top_srcdir@ MCS_FLAGS = -debug ASSEMBLY = ipod-sharp-firmware.dll -ipoddir = $(prefix)/lib/ipod-sharp +ipoddir = $(libdir)/ipod-sharp ipod_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb ASSEMBLY_SOURCES = \ $(srcdir)/DmgImage.cs \ diff -uarN ipod-sharp-0.8.0.orig/src/Makefile.am ipod-sharp-0.8.0/src/Makefile.am --- ipod-sharp-0.8.0.orig/src/Makefile.am 2007-10-12 18:13:35.000000000 +0200 +++ ipod-sharp-0.8.0/src/Makefile.am 2008-02-01 09:17:19.000000000 +0100 @@ -4,7 +4,7 @@ ASSEMBLY = ipod-sharp.dll -ipoddir = $(prefix)/lib/ipod-sharp +ipoddir = $(libdir)/ipod-sharp ipod_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb ASSEMBLY_SOURCES = \ diff -uarN ipod-sharp-0.8.0.orig/src/Makefile.in ipod-sharp-0.8.0/src/Makefile.in --- ipod-sharp-0.8.0.orig/src/Makefile.in 2007-12-19 00:34:46.000000000 +0100 +++ ipod-sharp-0.8.0/src/Makefile.in 2008-02-01 09:16:24.000000000 +0100 @@ -163,7 +163,7 @@ SUBDIRS = Firmware MCS_FLAGS = -debug ASSEMBLY = ipod-sharp.dll -ipoddir = $(prefix)/lib/ipod-sharp +ipoddir = $(libdir)/ipod-sharp ipod_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb ASSEMBLY_SOURCES = \ $(srcdir)/Album.cs \ diff -uarN ipod-sharp-0.8.0.orig/ui/Makefile.am ipod-sharp-0.8.0/ui/Makefile.am --- ipod-sharp-0.8.0.orig/ui/Makefile.am 2007-10-17 23:27:20.000000000 +0200 +++ ipod-sharp-0.8.0/ui/Makefile.am 2008-02-01 09:15:55.000000000 +0100 @@ -3,7 +3,7 @@ ASSEMBLY = ipod-sharp-ui.dll -ipodsharpdir = $(prefix)/lib/ipod-sharp +ipodsharpdir = $(libdir)/ipod-sharp ipodsharp_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb ASSEMBLY_SOURCES = \ diff -uarN ipod-sharp-0.8.0.orig/ui/Makefile.in ipod-sharp-0.8.0/ui/Makefile.in --- ipod-sharp-0.8.0.orig/ui/Makefile.in 2007-12-19 00:34:46.000000000 +0100 +++ ipod-sharp-0.8.0/ui/Makefile.in 2008-02-01 09:15:41.000000000 +0100 @@ -150,7 +150,7 @@ top_srcdir = @top_srcdir@ MCS_FLAGS = -debug ASSEMBLY = ipod-sharp-ui.dll -ipodsharpdir = $(prefix)/lib/ipod-sharp +ipodsharpdir = $(libdir)/ipod-sharp ipodsharp_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb ASSEMBLY_SOURCES = \ $(srcdir)/AssemblyInfo.cs \ Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/ipod-sharp/F-8/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- .cvsignore 3 Apr 2007 17:07:02 -0000 1.4 +++ .cvsignore 1 Apr 2008 07:45:15 -0000 1.5 @@ -1 +1 @@ -ipod-sharp-0.6.3.tar.gz +ipod-sharp-0.8.0.tar.gz Index: ipod-sharp.spec =================================================================== RCS file: /cvs/pkgs/rpms/ipod-sharp/F-8/ipod-sharp.spec,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ipod-sharp.spec 24 Aug 2007 16:10:33 -0000 1.9 +++ ipod-sharp.spec 1 Apr 2008 07:45:15 -0000 1.10 @@ -1,21 +1,23 @@ Name: ipod-sharp -Version: 0.6.3 -Release: 3%{?dist} +Version: 0.8.0 +Release: 2%{?dist} Summary: Support for high level features of Apple's iPod Group: Development/Libraries License: LGPLv2+ URL: http://banshee-project.org/Subprojects/Ipod-sharp Source0: http://banshee-project.org/files/ipod-sharp/%{name}-%{version}.tar.gz -Patch0: ipod-sharp-0.6.2-monodir.patch +Patch0: %{name}-%{version}-libdir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # We only have mono on these arches: ExclusiveArch: %ix86 x86_64 ppc ia64 armv4l sparc alpha BuildRequires: libipoddevice-devel +BuildRequires: podsleuth-devel BuildRequires: mono-devel BuildRequires: gtk-sharp2-devel +BuildRequires: ndesk-dbus-glib-devel %description ipod-sharp provies support for high level features of Apple's iPod, @@ -23,20 +25,29 @@ iTunes/iPod database, and syncing music. ipod-sharp also provides a CIL wrapper for libipoddevice. +%package devel +Summary: Development files for ipod-sharp +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} pkgconfig + +%description devel +Development files for podsleuth + %prep %setup -q -%patch0 -p1 -b .monodir + +#libdir madness +%patch0 -p1 -b .libdir %build -export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} %configure --disable-docs -make %{?_smp_mflags} + +# breaks with smp flag set +make %install %{__rm} -rf ${RPM_BUILD_ROOT} -export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} -make install DESTDIR=${RPM_BUILD_ROOT} \ - GACUTIL_FLAGS="/package %{name} /gacdir %{_libdir} /root ${RPM_BUILD_ROOT}%{_libdir}" +make DESTDIR=${RPM_BUILD_ROOT} install %clean %{__rm} -rf ${RPM_BUILD_ROOT} @@ -44,14 +55,21 @@ %files %defattr(-,root,root,-) %doc COPYING -%{_libdir}/pkgconfig/ipod-sharp.pc -%{_libdir}/pkgconfig/ipod-sharp-ui.pc -%dir %{_libdir}/ipod-sharp -%{_libdir}/ipod-sharp/ipod-sharp.dll -%{_libdir}/ipod-sharp/ipod-sharp-ui.dll -%{_libdir}/ipod-sharp/ipod-sharp-firmware.dll +%{_libdir}/ipod-sharp/ + +%files devel +%defattr(-,root,root,-) +%{_libdir}/pkgconfig/ %changelog +* Tue Apr 01 2008 David Nielsen 0.8.0-2 +- BR ndesk-dbus-glib instead of ndesk-dbus + +* Fri Feb 01 2008 David Nielsen 0.8.0-1 +- bump to 0.8.0 +- patch for libdir madness +- split out development files + * Fri Aug 24 2007 Adam Jackson - 0.6.3-3 - Rebuild for build ID Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/ipod-sharp/F-8/sources,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sources 3 Apr 2007 17:07:02 -0000 1.4 +++ sources 1 Apr 2008 07:45:15 -0000 1.5 @@ -1 +1 @@ -c35131c3350e686d4a006377c1711834 ipod-sharp-0.6.3.tar.gz +ecb58c18599035fca34935a1287584f3 ipod-sharp-0.8.0.tar.gz --- ipod-sharp-0.6.2-monodir.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 07:49:58 2008 From: fedora-extras-commits at redhat.com (Panu Matilainen (pmatilai)) Date: Tue, 1 Apr 2008 07:49:58 GMT Subject: rpms/rpm/devel rpm-4.4.2.3-nss.patch,1.1,1.2 Message-ID: <200804010749.m317nw7M021302@cvs-int.fedora.redhat.com> Author: pmatilai Update of /cvs/pkgs/rpms/rpm/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21276 Modified Files: rpm-4.4.2.3-nss.patch Log Message: Rediff NSS patch to fight off fuzz rpm-4.4.2.3-nss.patch: Index: rpm-4.4.2.3-nss.patch =================================================================== RCS file: /cvs/pkgs/rpms/rpm/devel/rpm-4.4.2.3-nss.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- rpm-4.4.2.3-nss.patch 25 Jan 2008 15:17:21 -0000 1.1 +++ rpm-4.4.2.3-nss.patch 1 Apr 2008 07:49:50 -0000 1.2 @@ -1,7 +1,14 @@ -diff -r ec9e6c427068 Makefile.am ---- a/Makefile.am Wed Oct 24 16:02:51 2007 +0300 -+++ b/Makefile.am Thu Nov 01 10:56:58 2007 +0100 -@@ -10,14 +10,14 @@ EXTRA_DIST = CHANGES ChangeLog CREDITS D +commit c8173f26908886f7b02f7f88a7a2aed9498839da +Author: Panu Matilainen +Date: Tue Apr 1 10:42:49 2008 +0300 + + NSS support + +diff --git a/Makefile.am b/Makefile.am +index 0495836..4c68c4c 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -10,14 +10,14 @@ EXTRA_DIST = CHANGES ChangeLog CREDITS Doxyheader GROUPS README.amiga INSTALL \ po/*.in po/*.po po/rpm.pot \ rpm.magic rpmpopt-$(VERSION) rpmqv.c @@ -52,10 +59,11 @@ `make -s sources -C file/src` \ `make -s sources -C popt` -diff -r ec9e6c427068 autogen.sh ---- a/autogen.sh Wed Oct 24 16:02:51 2007 +0300 -+++ b/autogen.sh Thu Nov 01 10:56:58 2007 +0100 -@@ -48,9 +48,6 @@ if [ -d zlib ]; then +diff --git a/autogen.sh b/autogen.sh +index 27d4118..63bfbe1 100755 +--- a/autogen.sh ++++ b/autogen.sh +@@ -48,9 +48,6 @@ fi if [ -d zlib ]; then (echo "--- zlib"; cd zlib; ./autogen.sh --noconfigure "$@") fi @@ -65,9 +73,10 @@ if [ -d elfutils ]; then (echo "--- elfutils"; cd elfutils; ./autogen.sh --noconfigure "$@") fi -diff -r ec9e6c427068 build/Makefile.am ---- a/build/Makefile.am Wed Oct 24 16:02:51 2007 +0300 -+++ b/build/Makefile.am Thu Nov 01 10:56:58 2007 +0100 +diff --git a/build/Makefile.am b/build/Makefile.am +index 83d2dee..75b41c2 100644 +--- a/build/Makefile.am ++++ b/build/Makefile.am @@ -9,7 +9,7 @@ INCLUDES = -I. \ -I$(top_srcdir)/lib \ -I$(top_srcdir)/rpmdb \ @@ -77,10 +86,11 @@ @WITH_MAGIC_INCLUDE@ \ @WITH_POPT_INCLUDE@ \ @WITH_LIBELF_INCLUDE@ \ -diff -r ec9e6c427068 configure.ac ---- a/configure.ac Wed Oct 24 16:02:51 2007 +0300 -+++ b/configure.ac Thu Nov 01 10:56:58 2007 +0100 -@@ -463,34 +463,32 @@ AC_SUBST(WITH_LIBDWARF_DEBUGEDIT) +diff --git a/configure.ac b/configure.ac +index b004391..c98c86d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -463,34 +463,32 @@ AC_SUBST(WITH_LIBDWARF_INCLUDE) AC_SUBST(WITH_LIBDWARF_DEBUGEDIT) #================= @@ -127,21 +137,21 @@ - if test -z "${WITH_BEECRYPT_LIB}" ; then - AC_MSG_ERROR([rpm requires beecrypt]) - fi --]) ++ AC_MSG_ERROR([rpm requires NSS]) + ]) -AC_SUBST(WITH_BEECRYPT_SUBDIR) -AC_SUBST(WITH_BEECRYPT_INCLUDE) -AC_SUBST(WITH_BEECRYPT_LIB) -+ AC_MSG_ERROR([rpm requires NSS]) -+]) +CPPFLAGS="$save_CPPFLAGS" +AC_SUBST(WITH_NSS_INCLUDE) +AC_SUBST(WITH_NSS_LIB) #================= # Check for neon library. Prefer external, otherwise internal. -diff -r ec9e6c427068 lib/Makefile.am ---- a/lib/Makefile.am Wed Oct 24 16:02:51 2007 +0300 -+++ b/lib/Makefile.am Thu Nov 01 10:56:58 2007 +0100 +diff --git a/lib/Makefile.am b/lib/Makefile.am +index d433b75..fe761da 100644 +--- a/lib/Makefile.am ++++ b/lib/Makefile.am @@ -9,7 +9,7 @@ INCLUDES = -I. \ -I$(top_srcdir)/build \ -I$(top_srcdir)/rpmdb \ @@ -151,10 +161,11 @@ @WITH_POPT_INCLUDE@ \ -I$(top_srcdir)/misc \ @INCPATH@ -diff -r ec9e6c427068 lib/formats.c ---- a/lib/formats.c Wed Oct 24 16:02:51 2007 +0300 -+++ b/lib/formats.c Thu Nov 01 10:56:58 2007 +0100 -@@ -210,23 +210,17 @@ static /*@only@*/ char * base64Format(in +diff --git a/lib/formats.c b/lib/formats.c +index 59f953a..e4354ff 100644 +--- a/lib/formats.c ++++ b/lib/formats.c +@@ -210,23 +210,17 @@ static /*@only@*/ char * base64Format(int_32 type, const void * data, int lc; /* XXX HACK ALERT: element field abused as no. bytes of binary data. */ size_t ns = element; @@ -182,7 +193,7 @@ t = stpcpy(t, enc); enc = _free(enc); } -@@ -310,16 +304,13 @@ static /*@only@*/ char * xmlFormat(int_3 +@@ -310,16 +304,13 @@ static /*@only@*/ char * xmlFormat(int_32 type, const void * data, xtag = "string"; break; case RPM_BIN_TYPE: @@ -206,10 +217,11 @@ xtag = "base64"; } break; case RPM_CHAR_TYPE: -diff -r ec9e6c427068 lib/package.c ---- a/lib/package.c Wed Oct 24 16:02:51 2007 +0300 -+++ b/lib/package.c Thu Nov 01 10:56:58 2007 +0100 -@@ -1008,11 +1008,9 @@ rpmRC rpmReadPackageFile(rpmts ts, FD_t +diff --git a/lib/package.c b/lib/package.c +index 09571b0..8458b02 100644 +--- a/lib/package.c ++++ b/lib/package.c +@@ -1008,11 +1008,9 @@ rpmRC rpmReadPackageFile(rpmts ts, FD_t fd, const char * fn, Header * hdrp) fddig->hashctx = NULL; /*@switchbreak@*/ break; case PGPHASHALGO_SHA1: @@ -221,10 +233,11 @@ dig->sha1ctx = fddig->hashctx; fddig->hashctx = NULL; /*@switchbreak@*/ break; -diff -r ec9e6c427068 lib/rpmchecksig.c ---- a/lib/rpmchecksig.c Wed Oct 24 16:02:51 2007 +0300 -+++ b/lib/rpmchecksig.c Thu Nov 01 10:56:58 2007 +0100 -@@ -447,7 +447,7 @@ rpmRC rpmcliImportPubkey(const rpmts ts, +diff --git a/lib/rpmchecksig.c b/lib/rpmchecksig.c +index b4d377e..83b2d2e 100644 +--- a/lib/rpmchecksig.c ++++ b/lib/rpmchecksig.c +@@ -447,7 +447,7 @@ rpmRC rpmcliImportPubkey(const rpmts ts, const unsigned char * pkt, ssize_t pktl if (rpmtsOpenDB(ts, (O_RDWR|O_CREAT))) return RPMRC_FAIL; @@ -245,9 +258,25 @@ assert(dig->sha1ctx == NULL); dig->sha1ctx = fddig->hashctx; fddig->hashctx = NULL; -diff -r ec9e6c427068 lib/rpmts.c ---- a/lib/rpmts.c Wed Oct 24 16:02:51 2007 +0300 -+++ b/lib/rpmts.c Thu Nov 01 10:56:58 2007 +0100 +diff --git a/lib/rpmrc.c b/lib/rpmrc.c +index d402a1e..07e604a 100644 +--- a/lib/rpmrc.c ++++ b/lib/rpmrc.c +@@ -1884,6 +1884,10 @@ int rpmReadConfigFiles(const char * file, const char * target) + /* Reset umask to its default umask(2) value. */ + mode = umask(mode); + ++ /* Initialize crypto engine as early as possible */ ++ if (rpmInitCrypto() < 0) { ++ return -1; ++ } + /* Preset target macros */ + /*@-nullstate@*/ /* FIX: target can be NULL */ + rpmRebuildTargetVars(&target, NULL); +diff --git a/lib/rpmts.c b/lib/rpmts.c +index ef791c6..8423957 100644 +--- a/lib/rpmts.c ++++ b/lib/rpmts.c @@ -4,7 +4,7 @@ */ #include "system.h" @@ -257,10 +286,11 @@ #include #include /* XXX rpmtsOpenDB() needs rpmGetPath */ -diff -r ec9e6c427068 lib/signature.c ---- a/lib/signature.c Wed Oct 24 16:02:51 2007 +0300 -+++ b/lib/signature.c Thu Nov 01 10:56:58 2007 +0100 -@@ -1215,9 +1215,10 @@ verifyRSASignature(rpmts ts, /*@out@*/ c +diff --git a/lib/signature.c b/lib/signature.c +index 5617e32..0db1349 100644 +--- a/lib/signature.c ++++ b/lib/signature.c +@@ -1215,9 +1215,10 @@ verifyRSASignature(rpmts ts, /*@out@*/ char * t, int_32 sigtag = rpmtsSigtag(ts); pgpDig dig = rpmtsDig(ts); pgpDigParams sigp = rpmtsSignature(ts); @@ -272,7 +302,7 @@ *t = '\0'; if (dig != NULL && dig->hdrmd5ctx == md5ctx) -@@ -1248,43 +1249,40 @@ verifyRSASignature(rpmts ts, /*@out@*/ c +@@ -1248,43 +1249,40 @@ verifyRSASignature(rpmts ts, /*@out@*/ char * t, switch (sigp->hash_algo) { case PGPHASHALGO_MD5: t = stpcpy(t, " RSA/MD5"); @@ -323,7 +353,7 @@ break; } -@@ -1295,8 +1293,6 @@ verifyRSASignature(rpmts ts, /*@out@*/ c +@@ -1295,8 +1293,6 @@ verifyRSASignature(rpmts ts, /*@out@*/ char * t, (void) rpmswEnter(rpmtsOp(ts, RPMTS_OP_DIGEST), 0); { DIGEST_CTX ctx = rpmDigestDup(md5ctx); @@ -332,7 +362,7 @@ if (sigp->hash != NULL) xx = rpmDigestUpdate(ctx, sigp->hash, sigp->hashlen); -@@ -1313,40 +1309,18 @@ verifyRSASignature(rpmts ts, /*@out@*/ c +@@ -1313,40 +1309,18 @@ verifyRSASignature(rpmts ts, /*@out@*/ char * t, } #endif @@ -392,7 +422,7 @@ res = RPMRC_OK; else res = RPMRC_FAIL; -@@ -1401,6 +1370,7 @@ verifyDSASignature(rpmts ts, /*@out@*/ c +@@ -1401,6 +1370,7 @@ verifyDSASignature(rpmts ts, /*@out@*/ char * t, pgpDigParams sigp = rpmtsSignature(ts); rpmRC res; int xx; @@ -400,7 +430,7 @@ *t = '\0'; if (dig != NULL && dig->hdrsha1ctx == sha1ctx) -@@ -1428,7 +1398,6 @@ verifyDSASignature(rpmts ts, /*@out@*/ c +@@ -1428,7 +1398,6 @@ verifyDSASignature(rpmts ts, /*@out@*/ char * t, (void) rpmswEnter(rpmtsOp(ts, RPMTS_OP_DIGEST), 0); { DIGEST_CTX ctx = rpmDigestDup(sha1ctx); @@ -408,7 +438,7 @@ if (sigp->hash != NULL) xx = rpmDigestUpdate(ctx, sigp->hash, sigp->hashlen); -@@ -1442,19 +1411,18 @@ verifyDSASignature(rpmts ts, /*@out@*/ c +@@ -1442,19 +1411,18 @@ verifyDSASignature(rpmts ts, /*@out@*/ char * t, memcpy(trailer+2, &nb, sizeof(nb)); xx = rpmDigestUpdate(ctx, trailer, sizeof(trailer)); } @@ -433,7 +463,7 @@ } /* Retrieve the matching public key. */ -@@ -1463,8 +1431,8 @@ verifyDSASignature(rpmts ts, /*@out@*/ c +@@ -1463,8 +1431,8 @@ verifyDSASignature(rpmts ts, /*@out@*/ char * t, goto exit; (void) rpmswEnter(rpmtsOp(ts, RPMTS_OP_SIGNATURE), 0); @@ -444,9 +474,10 @@ res = RPMRC_OK; else res = RPMRC_FAIL; -diff -r ec9e6c427068 python/Makefile.am ---- a/python/Makefile.am Wed Oct 24 16:02:51 2007 +0300 -+++ b/python/Makefile.am Thu Nov 01 10:56:58 2007 +0100 +diff --git a/python/Makefile.am b/python/Makefile.am +index 1b8c83a..c1da992 100644 +--- a/python/Makefile.am ++++ b/python/Makefile.am @@ -17,7 +17,7 @@ INCLUDES = -I. \ -I$(top_srcdir)/rpmdb \ -I$(top_srcdir)/rpmio \ @@ -456,7 +487,7 @@ @WITH_POPT_INCLUDE@ \ -I$(top_srcdir)/misc \ -I$(pyincdir) \ -@@ -42,7 +42,7 @@ rpm_LTLIBRARIES = _rpmmodule.la +@@ -42,7 +42,7 @@ rpmdir = $(pylibdir)/site-packages/rpm rpm_LTLIBRARIES = _rpmmodule.la _rpmmodule_la_LDFLAGS = $(mylibs) $(LIBS) -module -avoid-version @@ -465,9 +496,10 @@ _rpmmodule_la_SOURCES = rpmmodule.c header-py.c \ rpmal-py.c rpmds-py.c rpmdb-py.c rpmfd-py.c rpmfts-py.c \ -diff -r ec9e6c427068 rpmdb/Makefile.am ---- a/rpmdb/Makefile.am Wed Oct 24 16:02:51 2007 +0300 -+++ b/rpmdb/Makefile.am Thu Nov 01 10:56:58 2007 +0100 +diff --git a/rpmdb/Makefile.am b/rpmdb/Makefile.am +index 0f017f9..2393dd7 100644 +--- a/rpmdb/Makefile.am ++++ b/rpmdb/Makefile.am @@ -9,7 +9,7 @@ INCLUDES = -I. \ -I$(top_srcdir)/build \ -I$(top_srcdir)/lib \ @@ -477,10 +509,11 @@ @WITH_POPT_INCLUDE@ \ -I$(top_srcdir)/misc \ @WITH_SQLITE3_INCLUDE@ \ -diff -r ec9e6c427068 rpmio/Makefile.am ---- a/rpmio/Makefile.am Wed Oct 24 16:02:51 2007 +0300 -+++ b/rpmio/Makefile.am Thu Nov 01 10:56:58 2007 +0100 -@@ -10,7 +10,7 @@ EXTRA_PROGRAMS = tax tdigest tdir tfts t +diff --git a/rpmio/Makefile.am b/rpmio/Makefile.am +index 2d26dcc..44e4096 100644 +--- a/rpmio/Makefile.am ++++ b/rpmio/Makefile.am +@@ -10,7 +10,7 @@ EXTRA_PROGRAMS = tax tdigest tdir tfts tget thkp tput tglob tinv tkey tring trpm INCLUDES = -I. \ -I$(top_srcdir) \ @@ -498,9 +531,9 @@ rpmio.h rpmurl.h rpmmacro.h rpmlog.h rpmmessages.h rpmerr.h rpmpgp.h \ rpmsq.h rpmsw.h ugid.h noinst_HEADERS = rpmio_internal.h rpmlua.h rpmhook.h -- --BEECRYPTLOBJS = $(shell test X"@WITH_BEECRYPT_SUBDIR@" != X && cat $(top_builddir)/@WITH_BEECTYPT_SUBDIR@/listobjs) +-BEECRYPTLOBJS = $(shell test X"@WITH_BEECRYPT_SUBDIR@" != X && cat $(top_builddir)/@WITH_BEECTYPT_SUBDIR@/listobjs) +- LDFLAGS = -L$(RPM_BUILD_ROOT)$(usrlibdir) -L$(DESTDIR)$(usrlibdir) usrlibdir = $(libdir)@MARK64@ @@ -516,7 +549,7 @@ @WITH_NEON_LIB@ \ @WITH_LUA_LIB@ \ @WITH_MAGIC_LIB@ \ -@@ -44,22 +42,10 @@ librpmio_la_LIBADD = # $(BEECRYPTLOBJS) +@@ -44,22 +42,10 @@ librpmio_la_LDFLAGS = -release 4.4 $(LDFLAGS) \ librpmio_la_LIBADD = # $(BEECRYPTLOBJS) librpmio_la_DEPENDENCIES = # .created @@ -540,7 +573,7 @@ .PHONY: sources sources: -@@ -105,7 +91,6 @@ tinv_LDADD = librpmio.la $(top_builddir) +@@ -105,7 +91,6 @@ tinv_LDFLAGS = @LDFLAGS_STATIC@ tinv_LDADD = librpmio.la $(top_builddir)/popt/libpopt.la tkey_SOURCES = tkey.c @@ -548,10 +581,12 @@ tkey_LDADD = librpmio.la $(top_builddir)/popt/libpopt.la tring_SOURCES = tring.c -diff -r ec9e6c427068 rpmio/base64.c ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/rpmio/base64.c Thu Nov 01 10:56:58 2007 +0100 -@@ -0,0 +1,254 @@ +diff --git a/rpmio/base64.c b/rpmio/base64.c +new file mode 100644 +index 0000000..b11b381 +--- /dev/null ++++ b/rpmio/base64.c +@@ -0,0 +1,253 @@ +/* base64 encoder/decoder based on public domain implementation + * by Chris Venter */ + @@ -652,21 +687,20 @@ + return output; +} + -+static int base64_decode_value(char value_in) ++static int base64_decode_value(unsigned char value_in) +{ -+ static const char decoding[] = {62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-2,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51}; -+ static const char decoding_size = sizeof(decoding); ++ static const int decoding[] = {62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-2,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51}; + value_in -= 43; -+ if (value_in < 0 || value_in > decoding_size) ++ if (value_in > sizeof(decoding)/sizeof(int)) + return -1; -+ return decoding[(int)value_in]; ++ return decoding[value_in]; +} + +static size_t base64_decode_block(const char *code_in, const size_t length_in, char *plaintext_out) +{ + const char *codechar = code_in; + char *plainchar = plaintext_out; -+ char fragment; ++ int fragment; + + *plainchar = 0; + @@ -677,38 +711,38 @@ + { + return plainchar - plaintext_out; + } -+ fragment = (char)base64_decode_value(*codechar++); ++ fragment = base64_decode_value(*codechar++); + } while (fragment < 0); -+ *plainchar = (fragment & 0x03f) << 2; ++ *plainchar = (char)((fragment & 0x03f) << 2); + + do { + if (codechar == code_in+length_in) + { + return plainchar - plaintext_out; + } -+ fragment = (char)base64_decode_value(*codechar++); ++ fragment = base64_decode_value(*codechar++); + } while (fragment < 0); -+ *plainchar++ |= (fragment & 0x030) >> 4; -+ *plainchar = (fragment & 0x00f) << 4; ++ *plainchar++ |= (char)((fragment & 0x030) >> 4); ++ *plainchar = (char)((fragment & 0x00f) << 4); + + do { + if (codechar == code_in+length_in) + { + return plainchar - plaintext_out; + } -+ fragment = (char)base64_decode_value(*codechar++); ++ fragment = base64_decode_value(*codechar++); + } while (fragment < 0); -+ *plainchar++ |= (fragment & 0x03c) >> 2; -+ *plainchar = (fragment & 0x003) << 6; ++ *plainchar++ |= (char)((fragment & 0x03c) >> 2); ++ *plainchar = (char)((fragment & 0x003) << 6); + + do { + if (codechar == code_in+length_in) + { + return plainchar - plaintext_out; + } -+ fragment = (char)base64_decode_value(*codechar++); ++ fragment = base64_decode_value(*codechar++); + } while (fragment < 0); -+ *plainchar++ |= (fragment & 0x03f); ++ *plainchar++ |= (char)(fragment & 0x03f); + } + /* control should not reach here */ + return plainchar - plaintext_out; @@ -806,9 +840,11 @@ +} +#endif + -diff -r ec9e6c427068 rpmio/base64.h ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/rpmio/base64.h Thu Nov 01 10:56:58 2007 +0100 +diff --git a/rpmio/base64.h b/rpmio/base64.h +new file mode 100644 +index 0000000..79ae0b6 +--- /dev/null ++++ b/rpmio/base64.h @@ -0,0 +1,29 @@ +/* base64 encoder/decoder based on public domain implementation + * by Chris Venter */ @@ -839,9 +875,10 @@ + * returns NULL on failures + */ +char *b64crc(const unsigned char *data, size_t len); -diff -r ec9e6c427068 rpmio/digest.c ---- a/rpmio/digest.c Wed Oct 24 16:02:51 2007 +0300 -+++ b/rpmio/digest.c Thu Nov 01 10:56:58 2007 +0100 +diff --git a/rpmio/digest.c b/rpmio/digest.c +index 5b4cde8..894cf82 100644 +--- a/rpmio/digest.c ++++ b/rpmio/digest.c @@ -19,16 +19,7 @@ */ struct DIGEST_CTX_s { @@ -860,7 +897,7 @@ }; /*@-boundsread@*/ -@@ -37,115 +28,101 @@ rpmDigestDup(DIGEST_CTX octx) +@@ -37,115 +28,98 @@ rpmDigestDup(DIGEST_CTX octx) { DIGEST_CTX nctx; nctx = memcpy(xcalloc(1, sizeof(*nctx)), octx, sizeof(*nctx)); @@ -979,9 +1016,6 @@ + HASH_HashType type; + DIGEST_CTX ctx = xcalloc(1, sizeof(*ctx)); + -+ if (NSS_NoDB_Init(NULL) != SECSuccess) -+ return NULL; -+ + ctx->flags = flags; + + type = getHashType(hashalgo); @@ -1035,7 +1069,7 @@ /*@=boundsread@*/ } /*@=mustmod@*/ -@@ -154,35 +131,37 @@ int +@@ -154,35 +128,37 @@ DPRINTF((stderr, "*** Update(%p,%p,%d) param %p \"%s\"\n", ctx, data, len, ctx-> int rpmDigestFinal(DIGEST_CTX ctx, void ** datap, size_t *lenp, int asAscii) { @@ -1082,7 +1116,7 @@ *t++ = hex[ (unsigned)((*s >> 4) & 0x0f) ]; *t++ = hex[ (unsigned)((*s++ ) & 0x0f) ]; } -@@ -191,11 +170,10 @@ DPRINTF((stderr, "*** Final(%p,%p,%p,%d) +@@ -191,11 +167,10 @@ DPRINTF((stderr, "*** Final(%p,%p,%p,%d) param %p digest %p\n", ctx, datap, lenp } /*@=branchstate@*/ if (digest) { @@ -1096,9 +1130,10 @@ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */ free(ctx); return 0; -diff -r ec9e6c427068 rpmio/rpmio_internal.h ---- a/rpmio/rpmio_internal.h Wed Oct 24 16:02:51 2007 +0300 -+++ b/rpmio/rpmio_internal.h Thu Nov 01 10:56:58 2007 +0100 +diff --git a/rpmio/rpmio_internal.h b/rpmio/rpmio_internal.h +index c2906e8..f92ee8a 100644 +--- a/rpmio/rpmio_internal.h ++++ b/rpmio/rpmio_internal.h @@ -9,30 +9,14 @@ #include #include @@ -1163,10 +1198,20 @@ }; /** \ingroup rpmio -diff -r ec9e6c427068 rpmio/rpmpgp.c ---- a/rpmio/rpmpgp.c Wed Oct 24 16:02:51 2007 +0300 -+++ b/rpmio/rpmpgp.c Thu Nov 01 10:56:58 2007 +0100 -@@ -260,38 +260,100 @@ const char * pgpMpiHex(const byte *p) +diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c +index 5d2c6f4..2cc03f8 100644 +--- a/rpmio/rpmpgp.c ++++ b/rpmio/rpmpgp.c +@@ -17,6 +17,8 @@ static int _debug = 0; + /*@unchecked@*/ + static int _print = 0; + ++static int _crypto_initialized = 0; ++ + /*@unchecked@*/ /*@null@*/ + static pgpDig _dig = NULL; + +@@ -260,39 +262,101 @@ const char * pgpMpiHex(const byte *p) /** * @return 0 on success */ @@ -1245,7 +1290,7 @@ + return item; +} /*@=boundswrite@*/ -+ + +static SECKEYPublicKey *pgpNewPublicKey(KeyType type) +{ + PRArenaPool *arena; @@ -1278,10 +1323,11 @@ +{ + return pgpNewPublicKey(dsaKey); +} - ++ int pgpPrtSubType(const byte *h, unsigned int hlen, pgpSigType sigtype) { -@@ -407,6 +469,10 @@ static const char * pgpSigDSA[] = { + const byte *p = h; +@@ -407,6 +471,10 @@ static const char * pgpSigDSA[] = { }; /*@=varuse =readonlytrans @*/ @@ -1292,14 +1338,13 @@ static int pgpPrtSigParams(/*@unused@*/ pgpTag tag, byte pubkey_algo, byte sigtype, const byte *p, const byte *h, unsigned int hlen) /*@globals fileSystem @*/ -@@ -414,7 +480,13 @@ static int pgpPrtSigParams(/*@unused@*/ +@@ -414,7 +482,13 @@ static int pgpPrtSigParams(/*@unused@*/ pgpTag tag, byte pubkey_algo, byte sigty { const byte * pend = h + hlen; int i; -- + SECItem dsaraw; + unsigned char dsabuf[2*DSA_SUBPRIME_LEN]; -+ + + dsaraw.type = 0; + dsaraw.data = dsabuf; + dsaraw.len = sizeof(dsabuf); @@ -1307,7 +1352,7 @@ for (i = 0; p < pend; i++, p += pgpMpiLen(p)) { if (pubkey_algo == PGPPUBKEYALGO_RSA) { if (i >= 1) break; -@@ -423,9 +495,9 @@ static int pgpPrtSigParams(/*@unused@*/ +@@ -423,9 +497,9 @@ static int pgpPrtSigParams(/*@unused@*/ pgpTag tag, byte pubkey_algo, byte sigty { switch (i) { case 0: /* m**d */ @@ -1320,7 +1365,7 @@ /*@switchbreak@*/ break; default: /*@switchbreak@*/ break; -@@ -440,11 +512,21 @@ fprintf(stderr, "\t m**d = "), mpfprin +@@ -440,11 +514,21 @@ fprintf(stderr, "\t m**d = "), mpfprintln(stderr, _dig->c.size, _dig->c.data); int xx; xx = 0; switch (i) { @@ -1345,7 +1390,7 @@ /*@switchbreak@*/ break; default: xx = 1; -@@ -629,16 +711,17 @@ static const byte * pgpPrtPubkeyParams(b +@@ -629,16 +713,17 @@ static const byte * pgpPrtPubkeyParams(byte pubkey_algo, if (pubkey_algo == PGPPUBKEYALGO_RSA) { if (i >= 2) break; if (_dig) { @@ -1369,7 +1414,7 @@ /*@switchbreak@*/ break; default: /*@switchbreak@*/ break; -@@ -648,26 +731,23 @@ fprintf(stderr, "\t e = "), mpfprin +@@ -648,26 +733,23 @@ fprintf(stderr, "\t e = "), mpfprintln(stderr, _dig->rsa_pk.e.size, _dig->r } else if (pubkey_algo == PGPPUBKEYALGO_DSA) { if (i >= 4) break; if (_dig) { @@ -1405,16 +1450,15 @@ /*@switchbreak@*/ break; default: /*@switchbreak@*/ break; -@@ -1014,6 +1094,8 @@ pgpDig pgpNewDig(void) +@@ -1023,6 +1105,7 @@ int pgpPrtPkt(const byte *pkt, unsigned int pleft) pgpDig pgpNewDig(void) { pgpDig dig = xcalloc(1, sizeof(*dig)); -+ NSS_NoDB_Init(NULL); + return dig; } -@@ -1038,14 +1120,27 @@ void pgpCleanDig(pgpDig dig) +@@ -1047,14 +1130,27 @@ void pgpCleanDig(pgpDig dig) dig->md5 = _free(dig->md5); dig->sha1 = _free(dig->sha1); @@ -1450,11 +1494,10 @@ } /*@-nullstate@*/ return; -@@ -1072,14 +1167,6 @@ pgpDig pgpFreeDig(/*@only@*/ /*@null@*/ - (void) rpmDigestFinal(dig->sha1ctx, NULL, NULL, 0); +@@ -1082,14 +1178,6 @@ pgpDig pgpFreeDig(/*@only@*/ /*@null@*/ pgpDig dig) /*@=branchstate@*/ dig->sha1ctx = NULL; -- + - mpbfree(&dig->p); - mpbfree(&dig->q); - mpnfree(&dig->g); @@ -1462,23 +1505,24 @@ - mpnfree(&dig->hm); - mpnfree(&dig->r); - mpnfree(&dig->s); - +- #ifdef NOTYET /*@-branchstate@*/ -@@ -1094,12 +1181,6 @@ pgpDig pgpFreeDig(/*@only@*/ /*@null@*/ - (void) rpmDigestFinal(dig->md5ctx, NULL, NULL, 0); + if (dig->hdrmd5ctx != NULL) +@@ -1104,12 +1192,6 @@ pgpDig pgpFreeDig(/*@only@*/ /*@null@*/ pgpDig dig) /*@=branchstate@*/ dig->md5ctx = NULL; -- + - mpbfree(&dig->rsa_pk.n); - mpnfree(&dig->rsa_pk.e); - mpnfree(&dig->m); - mpnfree(&dig->c); - mpnfree(&dig->hm); - +- dig = _free(dig); } -@@ -1286,20 +1367,13 @@ char * pgpArmorWrap(int atype, const uns + return dig; +@@ -1295,20 +1377,13 @@ char * pgpArmorWrap(int atype, const unsigned char * s, size_t ns) { const char * enc; char * t; @@ -1486,7 +1530,7 @@ + size_t nt = 0; char * val; - int lc; -- + - nt = ((ns + 2) / 3) * 4; - /*@-globs@*/ - /* Add additional bytes necessary for eol string(s). */ @@ -1495,32 +1539,50 @@ - if (((nt + b64encode_chars_per_line - 1) % b64encode_chars_per_line) != 0) - ++lc; - nt += lc * strlen(b64encode_eolstr); -- } -- /*@=globs@*/ -+ + enc = b64encode(s, ns, -1); + if (enc != NULL) { + nt = strlen(enc); -+ } + } +- /*@=globs@*/ nt += 512; /* XXX slop for armor and crc */ -@@ -1311,9 +1385,9 @@ char * pgpArmorWrap(int atype, const uns +@@ -1320,9 +1395,9 @@ char * pgpArmorWrap(int atype, const unsigned char * s, size_t ns) /*@-globs@*/ t = stpcpy( stpcpy(t, "-----\nVersion: rpm-"), VERSION); /*@=globs@*/ - t = stpcpy(t, " (beecrypt-4.1.2)\n\n"); -- -- if ((enc = b64encode(s, ns)) != NULL) { + t = stpcpy(t, " (NSS-3)\n\n"); -+ + +- if ((enc = b64encode(s, ns)) != NULL) { + if (enc != NULL) { t = stpcpy(t, enc); enc = _free(enc); if ((enc = b64crc(s, ns)) != NULL) { -diff -r ec9e6c427068 rpmio/rpmpgp.h ---- a/rpmio/rpmpgp.h Wed Oct 24 16:02:51 2007 +0300 -+++ b/rpmio/rpmpgp.h Thu Nov 01 10:56:58 2007 +0100 +@@ -1339,5 +1414,18 @@ char * pgpArmorWrap(int atype, const unsigned char * s, size_t ns) + + return val; + } +- + /*@=boundsread@*/ ++ ++int rpmInitCrypto(void) { ++ int rc = 0; ++ ++ if (!_crypto_initialized && NSS_NoDB_Init(NULL) != SECSuccess) { ++ rc = -1; ++ } else { ++ _crypto_initialized = 1; ++ } ++ ++ return rc; ++} ++ ++ +diff --git a/rpmio/rpmpgp.h b/rpmio/rpmpgp.h +index d90d4e7..c1e2db5 100644 +--- a/rpmio/rpmpgp.h ++++ b/rpmio/rpmpgp.h @@ -12,11 +12,7 @@ #include @@ -1533,7 +1595,23 @@ /** */ -@@ -1393,6 +1389,15 @@ DIGEST_CTX rpmDigestDup(DIGEST_CTX octx) +@@ -1384,6 +1380,15 @@ unsigned int pgpCRC(const byte *octets, size_t len) + } + + /** \ingroup rpmio ++ * Perform cryptography initialization. ++ * It must be called before any cryptography can be used within rpm. ++ * It's not normally necessary to call it directly as it's called in ++ * general rpm initialization routines. ++ * @return 0 on success, -1 on failure ++ */ ++int rpmInitCrypto(void); ++ ++/** \ingroup rpmio + * Duplicate a digest context. + * @param octx existing digest context + * @return duplicated digest context +@@ -1393,6 +1398,15 @@ DIGEST_CTX rpmDigestDup(DIGEST_CTX octx) /*@*/; /** \ingroup rpmio @@ -1549,10 +1627,11 @@ * Initialize digest. * Set bit count to 0 and buffer to mysterious initialization constants. * @param hashalgo type of digest -diff -r ec9e6c427068 rpmio/tkey.c ---- a/rpmio/tkey.c Wed Oct 24 16:02:51 2007 +0300 -+++ b/rpmio/tkey.c Thu Nov 01 10:56:58 2007 +0100 -@@ -31,7 +31,7 @@ fprintf(stderr, "*** sig is\n%s\n", sig) +diff --git a/rpmio/tkey.c b/rpmio/tkey.c +index e03dba0..9fb7805 100644 +--- a/rpmio/tkey.c ++++ b/rpmio/tkey.c +@@ -31,7 +31,7 @@ fprintf(stderr, "*** sig is\n%s\n", sig); return rc; } @@ -1561,7 +1640,7 @@ fprintf(stderr, "*** b64encode failed\n"); return rc; } -@@ -51,52 +51,40 @@ fprintf(stderr, "??? %5d %02x != %02x '% +@@ -51,52 +51,40 @@ fprintf(stderr, "??? %5d %02x != %02x '%c' != '%c'\n", i, (*s & 0xff), (*t & 0xf return rc; } @@ -1641,11 +1720,10 @@ "; int -@@ -107,28 +95,6 @@ main (int argc, char *argv[]) - int rc; +@@ -108,28 +96,6 @@ main (int argc, char *argv[]) dig = pgpNewDig(); -- + - mpbzero(&dig->p); mpbsethex(&dig->p, fips_p); - mpbzero(&dig->q); mpbsethex(&dig->q, fips_q); - mpnzero(&dig->g); mpnsethex(&dig->g, fips_g); @@ -1667,10 +1745,11 @@ - mpnfree(&dig->hm); - mpnfree(&dig->r); - mpnfree(&dig->s); - +- fprintf(stderr, "=============================== GPG Secret Key\n"); if ((rc = doit(jbjSecretDSA, dig, printing)) != 0) -@@ -144,39 +110,33 @@ fprintf(stderr, "======================= + fprintf(stderr, "==> FAILED: rc %d\n", rc); +@@ -144,39 +110,33 @@ fprintf(stderr, "=============================== GPG Signature of \"abc\"\n"); { DIGEST_CTX ctx = rpmDigestInit(PGPHASHALGO_SHA1, RPMDIGEST_NONE); struct pgpDigParams_s * dsig = &dig->signature; @@ -1705,7 +1784,7 @@ - &dig->y, &dig->r, &dig->s); fprintf(stderr, "=============================== DSA verify: rc %d\n", rc); -- + - mpbfree(&dig->p); - mpbfree(&dig->q); - mpnfree(&dig->g); @@ -1714,15 +1793,16 @@ - mpnfree(&dig->hm); - mpnfree(&dig->r); - mpnfree(&dig->s); - +- dig = pgpFreeDig(dig); return rc; } + -diff -r ec9e6c427068 tools/Makefile.am ---- a/tools/Makefile.am Wed Oct 24 16:02:51 2007 +0300 -+++ b/tools/Makefile.am Thu Nov 01 10:56:58 2007 +0100 +diff --git a/tools/Makefile.am b/tools/Makefile.am +index 72bfd0b..053a02a 100644 +--- a/tools/Makefile.am ++++ b/tools/Makefile.am @@ -8,7 +8,7 @@ INCLUDES = -I. \ -I$(top_srcdir)/lib \ -I$(top_srcdir)/rpmdb \ @@ -1732,7 +1812,7 @@ @WITH_POPT_INCLUDE@ \ @WITH_LIBELF_INCLUDE@ \ @WITH_LIBDWARF_INCLUDE@ \ -@@ -36,10 +36,10 @@ convertdb1_SOURCES = convertdb1.c +@@ -36,10 +36,10 @@ bin_PROGRAMS = rpmgraph convertdb1_SOURCES = convertdb1.c debugedit_SOURCES = debugedit.c hashtab.c @@ -1746,9 +1826,10 @@ @WITH_POPT_LIB@ javadeps_SOURCES = javadeps.c -diff -r ec9e6c427068 tools/debugedit.c ---- a/tools/debugedit.c Wed Oct 24 16:02:51 2007 +0300 -+++ b/tools/debugedit.c Thu Nov 01 10:56:58 2007 +0100 +diff --git a/tools/debugedit.c b/tools/debugedit.c +index f6e27b6..e69ff3d 100644 +--- a/tools/debugedit.c ++++ b/tools/debugedit.c @@ -36,8 +36,8 @@ #include #include @@ -1760,7 +1841,7 @@ #include "hashtab.h" #define DW_TAG_partial_unit 0x3c -@@ -1304,22 +1304,27 @@ error_out: +@@ -1304,22 +1304,29 @@ error_out: return NULL; } @@ -1780,6 +1861,8 @@ + int i = sizeof(algorithms)/sizeof(algorithms[0]); + void *digest = NULL; + size_t len; ++ ++ rpmInitCrypto(); while (i-- > 0) { @@ -1794,7 +1877,7 @@ { fprintf (stderr, "Cannot handle %Zu-byte build ID\n", build_id_size); exit (1); -@@ -1335,7 +1340,7 @@ handle_build_id (DSO *dso, Elf_Data *bui +@@ -1335,7 +1342,7 @@ handle_build_id (DSO *dso, Elf_Data *build_id, /* Clear the old bits so they do not affect the new hash. */ memset ((char *) build_id->d_buf + build_id_offset, 0, build_id_size); @@ -1803,261 +1886,21 @@ /* Slurp the relevant header bits and section contents and feed them into the hash function. The only bits we ignore are the offset -@@ -1349,8 +1354,7 @@ handle_build_id (DSO *dso, Elf_Data *bui - inline void process (const void *data, size_t size); - inline void process (const void *data, size_t size) - { -- memchunk chunk = { .data = (void *) data, .size = size }; -- hashFunctionContextUpdateMC (&ctx, &chunk); -+ rpmDigestUpdate(ctx, data, size); - } - - union -@@ -1405,22 +1409,17 @@ handle_build_id (DSO *dso, Elf_Data *bui - } - } - -- hashFunctionContextDigest (&ctx, (byte *) build_id->d_buf + build_id_offset); -- hashFunctionContextFree (&ctx); -+ rpmDigestFinal(ctx, &digest, &len, 0); -+ memcpy((unsigned char *)build_id->d_buf + build_id_offset, digest, build_id_size); -+ free(digest); - - elf_flagdata (build_id, ELF_C_SET, ELF_F_DIRTY); - - /* Now format the build ID bits in hex to print out. */ - { -- const unsigned char * id = build_id->d_buf + build_id_offset; -+ const byte * id = (byte *)build_id->d_buf + build_id_offset; - char hex[build_id_size * 2 + 1]; -- int n = snprintf (hex, 3, "%02" PRIx8, id[0]); -- assert (n == 2); -- for (i = 1; i < build_id_size; ++i) -- { -- n = snprintf (&hex[i * 2], 3, "%02" PRIx8, id[i]); -- assert (n == 2); -- } -+ pgpHexCvt(hex, id, build_id_size); - puts (hex); - } - } -diff -r 39cb695c7c8b rpmio/base64.c ---- a/rpmio/base64.c Thu Nov 01 10:42:01 2007 +0100 -+++ b/rpmio/base64.c Wed Nov 14 18:16:51 2007 +0100 -@@ -98,21 +98,20 @@ char *b64encode(const void *data, size_t - return output; - } - --static int base64_decode_value(char value_in) --{ -- static const char decoding[] = {62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-2,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51}; -- static const char decoding_size = sizeof(decoding); -+static int base64_decode_value(unsigned char value_in) -+{ -+ static const int decoding[] = {62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-2,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51}; - value_in -= 43; -- if (value_in < 0 || value_in > decoding_size) -+ if (value_in > sizeof(decoding)/sizeof(int)) - return -1; -- return decoding[(int)value_in]; -+ return decoding[value_in]; - } - - static size_t base64_decode_block(const char *code_in, const size_t length_in, char *plaintext_out) - { - const char *codechar = code_in; - char *plainchar = plaintext_out; -- char fragment; -+ int fragment; - - *plainchar = 0; - -@@ -123,38 +122,38 @@ static size_t base64_decode_block(const - { - return plainchar - plaintext_out; - } -- fragment = (char)base64_decode_value(*codechar++); -- } while (fragment < 0); -- *plainchar = (fragment & 0x03f) << 2; -- -- do { -- if (codechar == code_in+length_in) -- { -- return plainchar - plaintext_out; -- } -- fragment = (char)base64_decode_value(*codechar++); -- } while (fragment < 0); -- *plainchar++ |= (fragment & 0x030) >> 4; -- *plainchar = (fragment & 0x00f) << 4; -- -- do { -- if (codechar == code_in+length_in) -- { -- return plainchar - plaintext_out; -- } -- fragment = (char)base64_decode_value(*codechar++); -- } while (fragment < 0); -- *plainchar++ |= (fragment & 0x03c) >> 2; -- *plainchar = (fragment & 0x003) << 6; -- -- do { -- if (codechar == code_in+length_in) -- { -- return plainchar - plaintext_out; -- } -- fragment = (char)base64_decode_value(*codechar++); -- } while (fragment < 0); -- *plainchar++ |= (fragment & 0x03f); -+ fragment = base64_decode_value(*codechar++); -+ } while (fragment < 0); -+ *plainchar = (char)((fragment & 0x03f) << 2); -+ -+ do { -+ if (codechar == code_in+length_in) -+ { -+ return plainchar - plaintext_out; -+ } -+ fragment = base64_decode_value(*codechar++); -+ } while (fragment < 0); -+ *plainchar++ |= (char)((fragment & 0x030) >> 4); -+ *plainchar = (char)((fragment & 0x00f) << 4); -+ -+ do { -+ if (codechar == code_in+length_in) -+ { -+ return plainchar - plaintext_out; -+ } -+ fragment = base64_decode_value(*codechar++); -+ } while (fragment < 0); -+ *plainchar++ |= (char)((fragment & 0x03c) >> 2); -+ *plainchar = (char)((fragment & 0x003) << 6); -+ -+ do { -+ if (codechar == code_in+length_in) -+ { -+ return plainchar - plaintext_out; -+ } -+ fragment = base64_decode_value(*codechar++); -+ } while (fragment < 0); -+ *plainchar++ |= (char)(fragment & 0x03f); - } - /* control should not reach here */ - return plainchar - plaintext_out; -diff -up rpm-4.4.2.2/rpmio/digest.c.nss-init rpm-4.4.2.2/rpmio/digest.c ---- rpm-4.4.2.2/rpmio/digest.c.nss-init 2007-11-15 15:00:41.000000000 +0200 -+++ rpm-4.4.2.2/rpmio/digest.c 2007-11-15 15:00:41.000000000 +0200 -@@ -78,9 +78,6 @@ rpmDigestInit(pgpHashAlgo hashalgo, rpmD - HASH_HashType type; - DIGEST_CTX ctx = xcalloc(1, sizeof(*ctx)); - -- if (NSS_NoDB_Init(NULL) != SECSuccess) -- return NULL; -- - ctx->flags = flags; - - type = getHashType(hashalgo); -diff -up rpm-4.4.2.2/rpmio/rpmpgp.h.nss-init rpm-4.4.2.2/rpmio/rpmpgp.h ---- rpm-4.4.2.2/rpmio/rpmpgp.h.nss-init 2007-11-15 15:00:41.000000000 +0200 -+++ rpm-4.4.2.2/rpmio/rpmpgp.h 2007-11-15 15:00:41.000000000 +0200 -@@ -1380,6 +1380,15 @@ unsigned int pgpCRC(const byte *octets, - } - - /** \ingroup rpmio -+ * Perform cryptography initialization. -+ * It must be called before any cryptography can be used within rpm. -+ * It's not normally necessary to call it directly as it's called in -+ * general rpm initialization routines. -+ * @return 0 on success, -1 on failure -+ */ -+int rpmInitCrypto(void); -+ -+/** \ingroup rpmio - * Duplicate a digest context. - * @param octx existing digest context - * @return duplicated digest context -diff -up rpm-4.4.2.2/rpmio/rpmpgp.c.nss-init rpm-4.4.2.2/rpmio/rpmpgp.c ---- rpm-4.4.2.2/rpmio/rpmpgp.c.nss-init 2007-11-15 15:00:41.000000000 +0200 -+++ rpm-4.4.2.2/rpmio/rpmpgp.c 2007-11-15 15:00:41.000000000 +0200 -@@ -17,6 +17,8 @@ static int _debug = 0; - /*@unchecked@*/ - static int _print = 0; - -+static int _crypto_initialized = 0; -+ - /*@unchecked@*/ /*@null@*/ - static pgpDig _dig = NULL; - -@@ -1094,7 +1096,6 @@ int pgpPrtPkt(const byte *pkt, unsigned - pgpDig pgpNewDig(void) - { - pgpDig dig = xcalloc(1, sizeof(*dig)); -- NSS_NoDB_Init(NULL); - - return dig; - } -@@ -1404,5 +1405,18 @@ char * pgpArmorWrap(int atype, const uns - - return val; - } -- - /*@=boundsread@*/ -+ -+int rpmInitCrypto(void) { -+ int rc = 0; -+ -+ if (!_crypto_initialized && NSS_NoDB_Init(NULL) != SECSuccess) { -+ rc = -1; -+ } else { -+ _crypto_initialized = 1; -+ } -+ -+ return rc; -+} -+ -+ -diff -up rpm-4.4.2.2/tools/debugedit.c.nss-init rpm-4.4.2.2/tools/debugedit.c ---- rpm-4.4.2.2/tools/debugedit.c.nss-init 2007-11-15 15:01:42.000000000 +0200 -+++ rpm-4.4.2.2/tools/debugedit.c 2007-11-15 15:02:23.000000000 +0200 -@@ -1318,6 +1318,8 @@ handle_build_id (DSO *dso, Elf_Data *bui - void *digest = NULL; - size_t len; - -+ rpmInitCrypto(); -+ - while (i-- > 0) - { - algorithm = algorithms[i]; -diff -up rpm-4.4.2.2/lib/rpmrc.c.nss-init rpm-4.4.2.2/lib/rpmrc.c ---- rpm-4.4.2.2/lib/rpmrc.c.nss-init 2007-09-11 09:28:15.000000000 +0300 -+++ rpm-4.4.2.2/lib/rpmrc.c 2007-11-15 15:00:41.000000000 +0200 -@@ -1850,6 +1850,10 @@ static int rpmReadRC(/*@null@*/ const ch - - int rpmReadConfigFiles(const char * file, const char * target) - { -+ /* Initialize crypto engine as early as possible */ -+ if (rpmInitCrypto() < 0) { -+ return -1; -+ } - - /* Preset target macros */ - /*@-nullstate@*/ /* FIX: target can be NULL */ -diff -up rpm-4.4.2.2/tools/debugedit.c.gcc43 rpm-4.4.2.2/tools/debugedit.c ---- rpm-4.4.2.2/tools/debugedit.c.gcc43 2008-01-04 08:57:09.000000000 +0200 -+++ rpm-4.4.2.2/tools/debugedit.c 2008-01-04 08:58:40.000000000 +0200 -@@ -1353,12 +1353,6 @@ handle_build_id (DSO *dso, Elf_Data *bui +@@ -1346,13 +1353,6 @@ handle_build_id (DSO *dso, Elf_Data *build_id, or Elf64 object, only that we are consistent in what bits feed the hash so it comes out the same for the same file contents. */ { - inline void process (const void *data, size_t size); - inline void process (const void *data, size_t size) - { -- rpmDigestUpdate(ctx, data, size); +- memchunk chunk = { .data = (void *) data, .size = size }; +- hashFunctionContextUpdateMC (&ctx, &chunk); - } - union { GElf_Ehdr ehdr; -@@ -1387,7 +1381,7 @@ handle_build_id (DSO *dso, Elf_Data *bui +@@ -1381,7 +1381,7 @@ handle_build_id (DSO *dso, Elf_Data *build_id, goto bad; if (elf64_xlatetom (&x, &x, dso->ehdr.e_ident[EI_DATA]) == NULL) goto bad; @@ -2066,7 +1909,7 @@ } x.d_type = ELF_T_SHDR; -@@ -1399,14 +1393,14 @@ handle_build_id (DSO *dso, Elf_Data *bui +@@ -1393,34 +1393,29 @@ handle_build_id (DSO *dso, Elf_Data *build_id, u.shdr.sh_offset = 0; if (elf64_xlatetom (&x, &x, dso->ehdr.e_ident[EI_DATA]) == NULL) goto bad; @@ -2083,3 +1926,28 @@ } } } + +- hashFunctionContextDigest (&ctx, (byte *) build_id->d_buf + build_id_offset); +- hashFunctionContextFree (&ctx); ++ rpmDigestFinal(ctx, &digest, &len, 0); ++ memcpy((unsigned char *)build_id->d_buf + build_id_offset, digest, build_id_size); ++ free(digest); + + elf_flagdata (build_id, ELF_C_SET, ELF_F_DIRTY); + + /* Now format the build ID bits in hex to print out. */ + { +- const unsigned char * id = build_id->d_buf + build_id_offset; ++ const byte * id = (byte *)build_id->d_buf + build_id_offset; + char hex[build_id_size * 2 + 1]; +- int n = snprintf (hex, 3, "%02" PRIx8, id[0]); +- assert (n == 2); +- for (i = 1; i < build_id_size; ++i) +- { +- n = snprintf (&hex[i * 2], 3, "%02" PRIx8, id[i]); +- assert (n == 2); +- } ++ pgpHexCvt(hex, id, build_id_size); + puts (hex); + } + } From fedora-extras-commits at redhat.com Tue Apr 1 07:52:22 2008 From: fedora-extras-commits at redhat.com (Panu Matilainen (pmatilai)) Date: Tue, 1 Apr 2008 07:52:22 GMT Subject: rpms/rpm/devel rpm-4.4.2.3-prereq.patch, NONE, 1.1 rpm-4.4.1-prereq.patch, 1.1, NONE Message-ID: <200804010752.m317qMUh021360@cvs-int.fedora.redhat.com> Author: pmatilai Update of /cvs/pkgs/rpms/rpm/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21345 Added Files: rpm-4.4.2.3-prereq.patch Removed Files: rpm-4.4.1-prereq.patch Log Message: - adjust dependency printing wrt prereq (#431721) rpm-4.4.2.3-prereq.patch: --- NEW FILE rpm-4.4.2.3-prereq.patch --- diff -up rpm-4.4.2.3/build/rpmfc.c.prereq rpm-4.4.2.3/build/rpmfc.c --- rpm-4.4.2.3/build/rpmfc.c.prereq 2008-04-01 09:47:42.000000000 +0300 +++ rpm-4.4.2.3/build/rpmfc.c 2008-04-01 09:54:54.000000000 +0300 @@ -1488,7 +1488,7 @@ static struct DepMsg_s depMsgs[] = { _notpre(RPMSENSE_SCRIPT_POSTUN), 0 }, { "Requires", { "%{?__find_requires}", NULL, NULL, NULL }, -1, -1, RPMTAG_REQUIREFLAGS, /* XXX inherit name/version arrays */ - RPMSENSE_FIND_REQUIRES|RPMSENSE_TRIGGERIN|RPMSENSE_TRIGGERUN|RPMSENSE_TRIGGERPOSTUN|RPMSENSE_TRIGGERPREIN, 0 }, + RPMSENSE_PREREQ, RPMSENSE_PREREQ }, { "Conflicts", { "%{?__find_conflicts}", NULL, NULL, NULL }, RPMTAG_CONFLICTNAME, RPMTAG_CONFLICTVERSION, RPMTAG_CONFLICTFLAGS, 0, -1 }, diff -up rpm-4.4.2.3/lib/rpmlib.h.prereq rpm-4.4.2.3/lib/rpmlib.h --- rpm-4.4.2.3/lib/rpmlib.h.prereq 2008-04-01 09:13:04.000000000 +0300 +++ rpm-4.4.2.3/lib/rpmlib.h 2008-04-01 09:47:42.000000000 +0300 @@ -505,8 +505,7 @@ typedef enum rpmsenseFlags_e { RPMSENSE_EQUAL = (1 << 3), RPMSENSE_PROVIDES = (1 << 4), /* only used internally by builds */ RPMSENSE_CONFLICTS = (1 << 5), /* only used internally by builds */ - /* bit 6 used to be RPMSENSE_PREREQ */ -#define RPMSENSE_PREREQ RPMSENSE_ANY + RPMSENSE_PREREQ = (1 << 6), /*!< @todo Legacy. */ RPMSENSE_OBSOLETES = (1 << 7), /* only used internally by builds */ RPMSENSE_INTERP = (1 << 8), /*!< Interpreter used by scriptlet. */ RPMSENSE_SCRIPT_PRE = ((1 << 9)|RPMSENSE_PREREQ), /*!< %pre dependency. */ --- rpm-4.4.1-prereq.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 08:01:41 2008 From: fedora-extras-commits at redhat.com (Panu Matilainen (pmatilai)) Date: Tue, 1 Apr 2008 08:01:41 GMT Subject: rpms/rpm/devel .cvsignore, 1.23, 1.24 rpm.spec, 1.281, 1.282 sources, 1.129, 1.130 Message-ID: <200804010801.m3181fZe027561@cvs-int.fedora.redhat.com> Author: pmatilai Update of /cvs/pkgs/rpms/rpm/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21464 Modified Files: .cvsignore rpm.spec sources Log Message: - update to 4.4.2.3 final - resolves #436770, #431009, #435620, #433188, #430428, #432496 Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/rpm/devel/.cvsignore,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- .cvsignore 25 Jan 2008 15:17:21 -0000 1.23 +++ .cvsignore 1 Apr 2008 08:00:59 -0000 1.24 @@ -1 +1 @@ -rpm-4.4.2.3-rc1.tar.gz +rpm-4.4.2.3.tar.gz Index: rpm.spec =================================================================== RCS file: /cvs/pkgs/rpms/rpm/devel/rpm.spec,v retrieving revision 1.281 retrieving revision 1.282 diff -u -r1.281 -r1.282 --- rpm.spec 30 Mar 2008 13:55:48 -0000 1.281 +++ rpm.spec 1 Apr 2008 08:00:59 -0000 1.282 @@ -6,11 +6,11 @@ Summary: The RPM package management system Name: rpm Version: 4.4.2.3 -Release: 0.5.rc1 +Release: 1%{?dist} Group: System Environment/Base Url: http://www.rpm.org/ -Source: http://rpm.org/releases/rpm-4.4.x/%{name}-%{version}-rc1.tar.gz -Patch1: rpm-4.4.1-prereq.patch +Source: http://rpm.org/releases/rpm-4.4.x/%{name}-%{version}.tar.gz +Patch1: rpm-4.4.2.3-prereq.patch Patch2: rpm-4.4.2-ghost-conflicts.patch Patch3: rpm-4.4.2-trust.patch Patch4: rpm-4.4.2.2-devel-autodep.patch @@ -23,9 +23,7 @@ Patch11: rpm-4.4.2.3-queryformat-arch.patch Patch12: rpm-4.4.2.3-no-order-rescan-limit.patch -Patch50: rpm-4.4.2.3-geode-instplat.patch - -Patch51: rpm-4.4.2.3-rc1-sparc-mcpu.patch +Patch50: rpm-4.4.2.3-rc1-sparc-mcpu.patch # XXX Beware, this is one murky license, partially GPL/LGPL dual-licensed # and several different components with their own licenses included... @@ -136,7 +134,7 @@ %endif %prep -%setup -q -n %{name}-%{version}-rc1 +%setup -q -n %{name}-%{version} %patch1 -p1 -b .prereq %patch2 -p1 -b .ghostconflicts %patch3 -p1 -b .trust @@ -150,8 +148,7 @@ %patch11 -p1 -b .qfmt-arch %patch12 -p1 -b .no-order-limit -%patch50 -p1 -b .geode-instplat -%patch51 -p1 -b .sparc-mcpu +%patch50 -p1 -b .sparc-mcpu # force external popt rm -rf popt/ @@ -404,6 +401,12 @@ %endif %changelog +* Tue Apr 01 2008 Panu Matilainen 4.4.2.3-1 +- update to 4.4.2.3 final +- resolves #436770, #431009, #435620, #433188, #430428, #432496 +- adjust dependency printing wrt prereq (#431721) +- rediff nss patch to fix fuzz brokenness + * Sun Mar 30 2008 Tom "spot" Callaway 4.4.2.3-0.5.rc1 - actually apply sparc optflags patch Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/rpm/devel/sources,v retrieving revision 1.129 retrieving revision 1.130 diff -u -r1.129 -r1.130 --- sources 25 Jan 2008 15:17:21 -0000 1.129 +++ sources 1 Apr 2008 08:00:59 -0000 1.130 @@ -1 +1 @@ -b3614e3f01195af2bc9af57d50e2be5c rpm-4.4.2.3-rc1.tar.gz +b8f0661ac765ce1a2de66ca53e37af83 rpm-4.4.2.3.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 08:22:25 2008 From: fedora-extras-commits at redhat.com (Caolan McNamara (caolanm)) Date: Tue, 1 Apr 2008 08:22:25 GMT Subject: rpms/openoffice.org/F-9 openoffice.org.spec, 1.1457, 1.1458 workspace.notes2.patch, 1.5, 1.6 Message-ID: <200804010822.m318MPAk027830@cvs-int.fedora.redhat.com> Author: caolanm Update of /cvs/pkgs/rpms/openoffice.org/F-9 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27779 Modified Files: openoffice.org.spec workspace.notes2.patch Log Message: rhbz#439727 upgrade to notes3 Index: openoffice.org.spec =================================================================== RCS file: /cvs/pkgs/rpms/openoffice.org/F-9/openoffice.org.spec,v retrieving revision 1.1457 retrieving revision 1.1458 diff -u -r1.1457 -r1.1458 --- openoffice.org.spec 28 Mar 2008 09:28:02 -0000 1.1457 +++ openoffice.org.spec 1 Apr 2008 08:21:37 -0000 1.1458 @@ -1,6 +1,6 @@ %define oootag OOH680 %define ooomilestone 12 -%define rh_rpm_release 3 +%define rh_rpm_release 4 # undef to get english only and no-langpacks for a faster smoketest build %define langpacks 1 @@ -2890,6 +2890,9 @@ %changelog +* Tue Apr 01 2008 Caolan McNamara - 1:2.4.0-12.4 +- Resolves: rhbz#439727 add workspace.notes3.patch4 + * Fri Mar 28 2008 Caolan McNamara - 1:2.4.0-12.3 - add openoffice.org-2.4.0.ooo87204.toolkit.64bitevent.patch - add openoffice.org-2.4.0.ooo87490.sfx2.allprotocols.urlopen.patch workspace.notes2.patch: View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.5 -r 1.6 workspace.notes2.patch Index: workspace.notes2.patch =================================================================== RCS file: /cvs/pkgs/rpms/openoffice.org/F-9/workspace.notes2.patch,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- workspace.notes2.patch 6 Feb 2008 13:44:01 -0000 1.5 +++ workspace.notes2.patch 1 Apr 2008 08:21:37 -0000 1.6 @@ -1,489 +1,481 @@ -Index: util/tools/inc/tools/color.hxx -diff -u util/tools/inc/tools/color.hxx:1.2 util/tools/inc/tools/color.hxx:1.2.70.4 ---- util/tools/inc/tools/color.hxx:1.2 Wed Apr 11 13:08:56 2007 -+++ util/tools/inc/tools/color.hxx Thu Jan 31 04:24:58 2008 -@@ -88,6 +88,33 @@ - #define COL_WHITE RGB_COLORDATA( 0xFF, 0xFF, 0xFF ) - #define COL_TRANSPARENT TRGB_COLORDATA( 0xFF, 0xFF, 0xFF, 0xFF ) - #define COL_AUTO (UINT32)0xFFFFFFFF -+#define COL_AUTHOR1_DARK RGB_COLORDATA(198, 146, 0) -+#define COL_AUTHOR1_NORMAL RGB_COLORDATA(255, 255, 158) -+#define COL_AUTHOR1_LIGHT RGB_COLORDATA(255, 255, 195) -+#define COL_AUTHOR2_DARK RGB_COLORDATA(6, 70, 162) -+#define COL_AUTHOR2_NORMAL RGB_COLORDATA(216, 232, 255) -+#define COL_AUTHOR2_LIGHT RGB_COLORDATA(233, 242, 255) -+#define COL_AUTHOR3_DARK RGB_COLORDATA(87, 157, 28) -+#define COL_AUTHOR3_NORMAL RGB_COLORDATA(218, 248, 193) -+#define COL_AUTHOR3_LIGHT RGB_COLORDATA(226, 250, 207) -+#define COL_AUTHOR4_DARK RGB_COLORDATA(105, 43, 157) -+#define COL_AUTHOR4_NORMAL RGB_COLORDATA(228, 210, 245) -+#define COL_AUTHOR4_LIGHT RGB_COLORDATA(239, 228, 248) -+#define COL_AUTHOR5_DARK RGB_COLORDATA(197, 0, 11) -+#define COL_AUTHOR5_NORMAL RGB_COLORDATA(254, 205, 208) -+#define COL_AUTHOR5_LIGHT RGB_COLORDATA(255, 227, 229) -+#define COL_AUTHOR6_DARK RGB_COLORDATA(0, 128, 128) -+#define COL_AUTHOR6_NORMAL RGB_COLORDATA(210, 246, 246) -+#define COL_AUTHOR6_LIGHT RGB_COLORDATA(230, 250, 250) -+#define COL_AUTHOR7_DARK RGB_COLORDATA(140, 132, 0) -+#define COL_AUTHOR7_NORMAL RGB_COLORDATA(237, 252, 163) -+#define COL_AUTHOR7_LIGHT RGB_COLORDATA(242, 254, 181) -+#define COL_AUTHOR8_DARK RGB_COLORDATA(53, 85, 107) -+#define COL_AUTHOR8_NORMAL RGB_COLORDATA(211, 222, 232) -+#define COL_AUTHOR8_LIGHT RGB_COLORDATA(226, 234, 241) -+#define COL_AUTHOR9_DARK RGB_COLORDATA(209, 118, 0) -+#define COL_AUTHOR9_NORMAL RGB_COLORDATA(255, 226, 185) -+#define COL_AUTHOR9_LIGHT RGB_COLORDATA(255, 231, 199) +Index: framework/binfilter/bf_sw/source/ui/config/sw_viewopt.cxx +diff -u framework/binfilter/bf_sw/source/ui/config/sw_viewopt.cxx:1.9 framework/binfilter/bf_sw/source/ui/config/sw_viewopt.cxx:1.9.28.1 +--- framework/binfilter/bf_sw/source/ui/config/sw_viewopt.cxx:1.9 Thu Sep 6 06:09:46 2007 ++++ framework/binfilter/bf_sw/source/ui/config/sw_viewopt.cxx Sun Dec 2 15:10:53 2007 +@@ -97,7 +97,6 @@ + /*N*/ Color SwViewOption::aFieldShadingsColor(COL_LIGHTGRAY); + /*N*/ Color SwViewOption::aSectionBoundColor(COL_LIGHTGRAY); + /*M*/ Color SwViewOption::aPageBreakColor(COL_BLUE); +-/*N*/ Color SwViewOption::aNotesIndicatorColor(COL_YELLOW); + /*N*/ Color SwViewOption::aScriptIndicatorColor(COL_GREEN); + /*N*/ + /*N*/ sal_Int32 SwViewOption::nAppearanceFlags = VIEWOPT_DOC_BOUNDARIES|VIEWOPT_OBJECT_BOUNDARIES; +@@ -393,7 +392,6 @@ + /*N*/ aValue = rConfig.GetColorValue(svtools::WRITERPAGEBREAKS); + /*N*/ aPageBreakColor.SetColor(aValue.nColor); + /*N*/ +-/*N*/ aNotesIndicatorColor.SetColor(rConfig.GetColorValue(svtools::WRITERNOTESINDICATOR).nColor); + /*N*/ aScriptIndicatorColor.SetColor(rConfig.GetColorValue(svtools::WRITERSCRIPTINDICATOR).nColor); + /*N*/ } + /* -----------------------------23.04.2002 17:48------------------------------ +Index: util/svtools/inc/svtools/colorcfg.hxx +diff -u util/svtools/inc/svtools/colorcfg.hxx:1.3 util/svtools/inc/svtools/colorcfg.hxx:1.3.154.1 +--- util/svtools/inc/svtools/colorcfg.hxx:1.3 Wed Jun 27 06:44:14 2007 ++++ util/svtools/inc/svtools/colorcfg.hxx Sun Dec 2 12:54:44 2007 +@@ -77,7 +77,6 @@ + WRITERFIELDSHADINGS , + WRITERIDXSHADINGS , + WRITERDIRECTCURSOR , +- WRITERNOTESINDICATOR, + WRITERSCRIPTINDICATOR, + WRITERSECTIONBOUNDARIES, + WRITERPAGEBREAKS, +Index: util/svtools/source/config/colorcfg.cxx +diff -u util/svtools/source/config/colorcfg.cxx:1.17 util/svtools/source/config/colorcfg.cxx:1.17.140.1 +--- util/svtools/source/config/colorcfg.cxx:1.17 Fri Jul 6 03:04:05 2007 ++++ util/svtools/source/config/colorcfg.cxx Sun Dec 2 12:54:44 2007 +@@ -200,7 +200,6 @@ + { RTL_CONSTASCII_USTRINGPARAM("/WriterFieldShadings"),sal_True }, + { RTL_CONSTASCII_USTRINGPARAM("/WriterIdxShadings") ,sal_True }, + { RTL_CONSTASCII_USTRINGPARAM("/WriterDirectCursor") ,sal_True }, +- { RTL_CONSTASCII_USTRINGPARAM("/WriterNotesIndicator") ,sal_False }, + { RTL_CONSTASCII_USTRINGPARAM("/WriterScriptIndicator") ,sal_False }, + { RTL_CONSTASCII_USTRINGPARAM("/WriterSectionBoundaries") ,sal_True }, + { RTL_CONSTASCII_USTRINGPARAM("/WriterPageBreaks") ,sal_False }, +@@ -569,8 +568,7 @@ + 0xc0c0c0, // WRITERFIELDSHADIN + 0xc0c0c0, // WRITERIDXSHADINGS + 0, // WRITERDIRECTCURSOR +- COL_YELLOW, //WRITERNOTESINDICATOR +- COL_GREEN, //WRITERSCRIPTINDICATOR ++ COL_GREEN, //WRITERSCRIPTINDICATOR + 0xc0c0c0, //WRITERSECTIONBOUNDARIES + COL_BLUE, //WRITERPAGEBREAKS, + COL_LIGHTBLUE, // HTMLSGML +Index: sw/sw/inc/viewopt.hxx +diff -u sw/sw/inc/viewopt.hxx:1.28 sw/sw/inc/viewopt.hxx:1.27.6.2 +--- sw/sw/inc/viewopt.hxx:1.28 Tue Feb 19 05:35:32 2008 ++++ sw/sw/inc/viewopt.hxx Wed Mar 5 01:26:52 2008 +@@ -156,7 +156,6 @@ + static Color aFieldShadingsColor; + static Color aSectionBoundColor; + static Color aPageBreakColor; +- static Color aNotesIndicatorColor; + static Color aScriptIndicatorColor; - #define COLOR_CHANNEL_MERGE( _def_cDst, _def_cSrc, _def_cSrcTrans ) \ - ((BYTE)((((long)(_def_cDst)-(_def_cSrc))*(_def_cSrcTrans)+(((_def_cSrc)<<8L)|(_def_cDst)))>>8L)) -Index: util/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu -diff -u util/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu:1.32 util/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu:1.32.62.1 ---- util/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu:1.32 Thu Nov 22 07:25:14 2007 -+++ util/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu Sun Jan 27 07:45:10 2008 -@@ -34,6 +34,11 @@ - Run AutoText Entry - - -+ -+ -+ Notes -+ -+ - - - ~Hidden Paragraphs -Index: sw/sw/inc/PostItMgr.hxx -diff -u /dev/null sw/sw/inc/PostItMgr.hxx:1.1.2.56 ---- /dev/null Tue Feb 5 02:33:13 2008 -+++ sw/sw/inc/PostItMgr.hxx Thu Jan 31 02:08:57 2008 -@@ -0,0 +1,204 @@ -+/************************************************************************* -+ * -+ * OpenOffice.org - a multi-platform office productivity suite -+ * -+ * $RCSfile$ -+ * -+ * $Revision$ -+ * -+ * last change: $Author$ $Date$ -+ * -+ * The Contents of this file are made available subject to -+ * the terms of GNU Lesser General Public License Version 2.1. -+ * -+ * -+ * GNU Lesser General Public License Version 2.1 -+ * ============================================= -+ * Copyright 2005 by Sun Microsystems, Inc. -+ * 901 San Antonio Road, Palo Alto, CA 94303, USA -+ * -+ * This library is free software; you can redistribute it and/or -+ * modify it under the terms of the GNU Lesser General Public -+ * License version 2.1, as published by the Free Software Foundation. -+ * -+ * This library is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ * Lesser General Public License for more details. -+ * -+ * You should have received a copy of the GNU Lesser General Public -+ * License along with this library; if not, write to the Free Software -+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, -+ * MA 02111-1307 USA -+ * -+ ************************************************************************/ -+ -+#ifndef _POSTITMGR_HXX -+#define _POSTITMGR_HXX -+ -+#ifndef _SFXLSTNER_HXX -+#include -+#endif -+ -+#include -+#include -+ -+#include -+#include -+ -+class SwWrtShell; -+class SwDoc; -+class SwView; -+class SwPostItField; -+class SwFmtFld; -+class SfxBroadcaster; -+class SfxHint; -+class SwPostIt; -+class SwEditWin; -+class Color; -+ -+#define SORT_POS 1 -+#define SORT_AUTHOR 2 -+#define SORT_DATE 3 -+ -+#define COL_NOTES_SIDEPANE_ARROW_ENABLED RGB_COLORDATA(0,0,0) -+#define COL_NOTES_SIDEPANE_ARROW_DISABLED RGB_COLORDATA(172,168,153) -+ -+ -+struct SwPostItItem [...31862 lines suppressed...] - Text [ en-US ] = "Identifier"; - }; -- LB_WN( BASICIDENTIFIER, 37 ) -+ LB_WN( BASICIDENTIFIER, 36 ) +@@ -1297,8 +1295,7 @@ - FixedText FT_BASICCOMMENT - { -- FT_POS_SIZE( 38 ); -+ FT_POS_SIZE( 37 ); - Text [ en-US ] = "Comment"; - }; -- LB_WN( BASICCOMMENT, 38 ) -+ LB_WN( BASICCOMMENT, 37 ) + if ( mpPostItMgr ) + { +- if ( pWrtShell->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE) ) +- mpPostItMgr->CalcRects(); ++ mpPostItMgr->CalcRects(); + mpPostItMgr->LayoutPostIts(); + } + } +Index: sw/sw/source/ui/uiview/viewsrch.cxx +diff -u sw/sw/source/ui/uiview/viewsrch.cxx:1.29 sw/sw/source/ui/uiview/viewsrch.cxx:1.29.132.1 +--- sw/sw/source/ui/uiview/viewsrch.cxx:1.29 Wed Dec 5 08:44:36 2007 ++++ sw/sw/source/ui/uiview/viewsrch.cxx Thu Mar 27 07:53:20 2008 +@@ -133,6 +133,8 @@ + #include + #endif - FixedText FT_BASICNUMBER - { -- FT_POS_SIZE( 39 ); -+ FT_POS_SIZE( 38 ); - Text [ en-US ] = "Number"; - }; -- LB_WN( BASICNUMBER, 39 ) -+ LB_WN( BASICNUMBER, 38) ++#include "PostItMgr.hxx" ++ + using namespace com::sun::star; + using namespace ::com::sun::star::i18n; + using namespace ::com::sun::star::lang; +@@ -209,7 +211,7 @@ + break; - FixedText FT_BASICSTRING - { -- FT_POS_SIZE( 40 ); -+ FT_POS_SIZE( 39 ); - Text [ en-US ] = "String"; - }; -- LB_WN( BASICSTRING, 40 ) -+ LB_WN( BASICSTRING, 39 ) + case FID_SEARCH_OFF: +- if(pArgs) ++ if(pArgs) + { + // Dialog abmelden + delete pSrchItem; +@@ -403,6 +405,7 @@ + } + break; + } ++ + uno::Reference< frame::XDispatchRecorder > xRecorder = + GetViewFrame()->GetBindings().GetRecorder(); + //prevent additional dialogs in recorded macros +@@ -692,7 +695,6 @@ + } + } - FixedText FT_BASICOPERATOR - { -- FT_POS_SIZE( 41 ); -+ FT_POS_SIZE( 40 ); - Text [ en-US ] = "Operator"; - }; -- LB_WN( BASICOPERATOR, 41 ) -+ LB_WN( BASICOPERATOR, 40 ) +- + ULONG SwView::FUNC_Search( const SwSearchOptions& rOptions ) + { + BOOL bDoReplace = pSrchItem->GetCommand() == SVX_SEARCHCMD_REPLACE || +Index: sw/sw/source/ui/wrtsh/wrtsh2.cxx +diff -u sw/sw/source/ui/wrtsh/wrtsh2.cxx:1.31 sw/sw/source/ui/wrtsh/wrtsh2.cxx:1.30.6.3 +--- sw/sw/source/ui/wrtsh/wrtsh2.cxx:1.31 Tue Feb 26 06:27:49 2008 ++++ sw/sw/source/ui/wrtsh/wrtsh2.cxx Fri Mar 14 16:41:52 2008 +@@ -174,8 +174,7 @@ - FixedText FT_BASICKEYWORD - { -- FT_POS_SIZE( 42 ); -+ FT_POS_SIZE( 41 ); - Text [ en-US ] = "Reserved expression"; - }; -- LB_WN( BASICKEYWORD, 42 ) -+ LB_WN( BASICKEYWORD, 41 ) + StartUndo(UNDO_INSERT, &aRewriter); - FixedText FT_BASICERROR - { -- FT_POS_SIZE( 43 ); -+ FT_POS_SIZE( 42 ); - Text [ en-US ] = "Error"; - }; -- LB_WN( BASICERROR, 43 ) -+ LB_WN( BASICERROR, 42 ) +- USHORT nType = rFld.GetTyp()->Which(); +- if( HasSelection() && nType != RES_POSTITFLD) ++ if( HasSelection() ) + DelRight(); - String ST_EXTENSION - { + SwEditShell::Insert(rFld); +Index: sw/sw/uiconfig/sglobal/menubar/menubar.xml +diff -u sw/sw/uiconfig/sglobal/menubar/menubar.xml:1.29 sw/sw/uiconfig/sglobal/menubar/menubar.xml:1.28.6.2 +--- sw/sw/uiconfig/sglobal/menubar/menubar.xml:1.29 Fri Mar 7 04:24:51 2008 ++++ sw/sw/uiconfig/sglobal/menubar/menubar.xml Thu Mar 13 04:04:59 2008 +@@ -116,8 +116,8 @@ + + + +- + ++ + + + +Index: sw/sw/uiconfig/sweb/menubar/menubar.xml +diff -u sw/sw/uiconfig/sweb/menubar/menubar.xml:1.28 sw/sw/uiconfig/sweb/menubar/menubar.xml:1.27.6.2 +--- sw/sw/uiconfig/sweb/menubar/menubar.xml:1.28 Fri Mar 7 04:26:10 2008 ++++ sw/sw/uiconfig/sweb/menubar/menubar.xml Thu Mar 13 04:05:03 2008 +@@ -89,8 +89,8 @@ + + + +- + ++ + + + +Index: sw/sw/uiconfig/swform/menubar/menubar.xml +diff -u sw/sw/uiconfig/swform/menubar/menubar.xml:1.5 sw/sw/uiconfig/swform/menubar/menubar.xml:1.4.6.2 +--- sw/sw/uiconfig/swform/menubar/menubar.xml:1.5 Fri Mar 7 04:26:28 2008 ++++ sw/sw/uiconfig/swform/menubar/menubar.xml Thu Mar 13 04:05:06 2008 +@@ -117,8 +117,8 @@ + + + +- + ++ + + + +Index: sw/sw/uiconfig/swreport/menubar/menubar.xml +diff -u sw/sw/uiconfig/swreport/menubar/menubar.xml:1.5 sw/sw/uiconfig/swreport/menubar/menubar.xml:1.4.6.2 +--- sw/sw/uiconfig/swreport/menubar/menubar.xml:1.5 Fri Mar 7 04:27:03 2008 ++++ sw/sw/uiconfig/swreport/menubar/menubar.xml Thu Mar 13 04:05:10 2008 +@@ -117,8 +117,8 @@ + + + +- + ++ + + + +Index: sw/sw/uiconfig/swriter/menubar/menubar.xml +diff -u sw/sw/uiconfig/swriter/menubar/menubar.xml:1.32 sw/sw/uiconfig/swriter/menubar/menubar.xml:1.31.6.2 +--- sw/sw/uiconfig/swriter/menubar/menubar.xml:1.32 Fri Mar 7 04:27:36 2008 ++++ sw/sw/uiconfig/swriter/menubar/menubar.xml Thu Mar 13 04:05:13 2008 +@@ -119,8 +119,8 @@ + + + +- + ++ + + + +Index: sw/sw/uiconfig/swxform/menubar/menubar.xml +diff -u sw/sw/uiconfig/swxform/menubar/menubar.xml:1.5 sw/sw/uiconfig/swxform/menubar/menubar.xml:1.4.6.2 +--- sw/sw/uiconfig/swxform/menubar/menubar.xml:1.5 Fri Mar 7 04:28:14 2008 ++++ sw/sw/uiconfig/swxform/menubar/menubar.xml Thu Mar 13 04:05:17 2008 +@@ -117,8 +117,8 @@ + + + +- + ++ + + + From fedora-extras-commits at redhat.com Tue Apr 1 08:23:38 2008 From: fedora-extras-commits at redhat.com (Caolan McNamara (caolanm)) Date: Tue, 1 Apr 2008 08:23:38 GMT Subject: rpms/openoffice.org/F-9 workspace.notes2.patch,1.6,1.7 Message-ID: <200804010823.m318NcUv027892@cvs-int.fedora.redhat.com> Author: caolanm Update of /cvs/pkgs/rpms/openoffice.org/F-9 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27869 Modified Files: workspace.notes2.patch Log Message: rhbz#439727 upgrade to notes3 workspace.notes2.patch: View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.6 -r 1.7 workspace.notes2.patch Index: workspace.notes2.patch =================================================================== RCS file: /cvs/pkgs/rpms/openoffice.org/F-9/workspace.notes2.patch,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- workspace.notes2.patch 1 Apr 2008 08:21:37 -0000 1.6 +++ workspace.notes2.patch 1 Apr 2008 08:23:21 -0000 1.7 @@ -11561,4479 +11561,6 @@ +{ + return (Menu*) GetMenu()->GetSVMenu(); +} -Index: util/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu -diff -u util/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu:1.33 util/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu:1.33.6.1 ---- util/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu:1.33 Tue Feb 19 05:11:13 2008 -+++ util/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu Thu Feb 21 09:43:14 2008 -@@ -1,2234 +1,2234 @@ -- -- -- -- -- -- -- -- AutoTe~xt... -- -- -- 1 -- -- -- -- -- ~Print Layout -- -- -- 1 -- -- -- -- -- Insert Header -- -- -- -- -- Insert Footer -- -- -- -- -- Run AutoText Entry -- -- -- -- -- Notes -- -- -- -- -- ~Hidden Paragraphs -- -- -- -- -- S~cript... -- -- -- -- -- Hori~zontal Ruler... -- -- -- -- -- Anchor to Character -- -- -- To ~Character -- -- -- -- -- Page Number -- -- -- -- -- He~ader -- -- -- -- -- Foote~r -- -- -- -- -- Print options page view -- -- -- 1 -- -- -- -- -- Preview Zoom -- -- -- 1 -- -- -- -- -- Insert Endnote Directly -- -- -- 1 -- -- -- -- -- Number Recognition -- -- -- -- -- ~Section... -- -- -- 1 -- -- -- -- -- ~Indexes and Tables... -- -- -- -- -- ~Bibliography Entry... -- -- -- -- -- Direct Cursor On/Off -- -- -- 1 -- -- -- -- -- AutoCorrect -- -- -- -- -- Font Color -- -- -- 1 -- -- -- -- -- ~All Indexes and Tables -- -- -- -- -- Current ~Index -- -- -- -- -- Delete index -- -- -- -- -- ~Protect Records... -- -- -- -- -- ~Links -- -- -- -- -- ~Record -- -- -- -- -- ~Show -- -- -- [...4088 lines suppressed...] -+ -+ -+ -+ Highlighting -+ -+ -+ 1 -+ -+ -+ -+ -+ Fields -+ -+ -+ 1 -+ -+ -+ -+ -+ Highlight Fill -+ -+ -+ -+ -+ Vertical Ruler -+ -+ -+ -+ -+ ~Hyphenation... -+ -+ -+ 1 -+ -+ -+ -+ -+ Vertical Scroll Bar -+ -+ -+ -+ -+ Add Unknown Words -+ -+ -+ -+ -+ Scroll Horizontal -+ -+ -+ -+ -+ Outline ~Numbering... -+ -+ -+ -+ -+ ~Nonprinting Characters -+ -+ -+ 1 -+ -+ -+ -+ -+ So~rt... -+ -+ -+ -+ -+ Fie~ld Shadings -+ -+ -+ 1 -+ -+ -+ -+ -+ Calculat~e -+ -+ -+ -+ -+ ~Field Names -+ -+ -+ 1 -+ -+ -+ -+ -+ Table Boundaries -+ -+ -+ -+ -+ Book Preview -+ -+ -+ 1 -+ -+ -+ -+ -+ Remove Direct Character Formats -+ -+ -+ -+ -+ E-mail as ~Microsoft Word... -+ -+ -+ -+ -+ E-mail as ~OpenDocument Text... -+ -+ -+ -+ -+ ~Standard -+ -+ -+ -+ -+ ~Block Area -+ -+ -+ -+ -+ -+ -+ T~able -+ -+ -+ -+ -+ ~Insert -+ -+ -+ -+ -+ ~Delete -+ -+ -+ -+ -+ ~Select -+ -+ -+ -+ -+ A~utofit -+ -+ -+ -+ -+ ~Convert -+ -+ -+ -+ -+ ~Update -+ -+ -+ -+ -+ Inde~xes and Tables -+ -+ -+ -+ -+ ~Word Count -+ -+ -+ -+ -+ Styl~es -+ -+ -+ -+ -+ ~Wrap -+ -+ -+ -+ -+ Auto~Format -+ -+ -+ -+ -+ Selection Mode -+ -+ -+ -+ -+ Index: sw/sw/inc/PostItMgr.hxx diff -u sw/sw/inc/PostItMgr.hxx:1.3 sw/sw/inc/PostItMgr.hxx:1.2.6.7 --- sw/sw/inc/PostItMgr.hxx:1.3 Fri Mar 7 06:48:41 2008 From fedora-extras-commits at redhat.com Tue Apr 1 08:33:06 2008 From: fedora-extras-commits at redhat.com (Ivana Varekova (varekova)) Date: Tue, 1 Apr 2008 08:33:06 GMT Subject: rpms/bzip2/F-8 bzip2-1.0.5.patch,NONE,1.1 bzip2.spec,1.33,1.34 Message-ID: <200804010833.m318X6rs028167@cvs-int.fedora.redhat.com> Author: varekova Update of /cvs/pkgs/rpms/bzip2/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27807 Modified Files: bzip2.spec Added Files: bzip2-1.0.5.patch Log Message: - fix cash on malformed archive file - CVE-2008-1372 (#438118) (apply upstream patch) bzip2-1.0.5.patch: --- NEW FILE bzip2-1.0.5.patch --- diff -urN bzip2-1.0.4/bzlib.c bzip2-1.0.5/bzlib.c --- bzip2-1.0.4/bzlib.c 2007-01-02 21:00:55.000000000 -0500 +++ bzip2-1.0.5/bzlib.c 2007-12-09 08:57:21.000000000 -0500 @@ -598,6 +598,7 @@ UInt32 c_tPos = s->tPos; char* cs_next_out = s->strm->next_out; unsigned int cs_avail_out = s->strm->avail_out; + Int32 ro_blockSize100k = s->blockSize100k; /* end restore */ UInt32 avail_out_INIT = cs_avail_out; diff -urN bzip2-1.0.4/bzlib_private.h bzip2-1.0.5/bzlib_private.h --- bzip2-1.0.4/bzlib_private.h 2007-01-02 21:00:55.000000000 -0500 +++ bzip2-1.0.5/bzlib_private.h 2007-12-09 09:00:46.000000000 -0500 @@ -442,11 +442,15 @@ /*-- Macros for decompression. --*/ #define BZ_GET_FAST(cccc) \ + /* c_tPos is unsigned, hence test < 0 is pointless. */ \ + if (s->tPos >= (UInt32)100000 * (UInt32)s->blockSize100k) return True; \ s->tPos = s->tt[s->tPos]; \ cccc = (UChar)(s->tPos & 0xff); \ s->tPos >>= 8; #define BZ_GET_FAST_C(cccc) \ + /* c_tPos is unsigned, hence test < 0 is pointless. */ \ + if (c_tPos >= (UInt32)100000 * (UInt32)ro_blockSize100k) return True; \ c_tPos = c_tt[c_tPos]; \ cccc = (UChar)(c_tPos & 0xff); \ c_tPos >>= 8; @@ -469,8 +473,10 @@ (((UInt32)s->ll16[i]) | (GET_LL4(i) << 16)) #define BZ_GET_SMALL(cccc) \ - cccc = BZ2_indexIntoF ( s->tPos, s->cftab ); \ - s->tPos = GET_LL(s->tPos); + /* c_tPos is unsigned, hence test < 0 is pointless. */ \ + if (s->tPos >= (UInt32)100000 * (UInt32)s->blockSize100k) return True; \ + cccc = BZ2_indexIntoF ( s->tPos, s->cftab ); \ + s->tPos = GET_LL(s->tPos); /*-- externs for decompression. --*/ Index: bzip2.spec =================================================================== RCS file: /cvs/pkgs/rpms/bzip2/F-8/bzip2.spec,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- bzip2.spec 21 May 2007 12:25:47 -0000 1.33 +++ bzip2.spec 1 Apr 2008 08:32:13 -0000 1.34 @@ -1,7 +1,7 @@ Summary: A file compression utility Name: bzip2 Version: 1.0.4 -Release: 12%{?dist} +Release: 13%{?dist} License: BSD Group: Applications/File URL: http://www.bzip.org/ @@ -9,6 +9,7 @@ Patch0: bzip2-1.0.4-saneso.patch Patch5: bzip2-1.0.4-cflags.patch Patch6: bzip2-1.0.4-bzip2recover.patch +Patch7: bzip2-1.0.5.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -45,6 +46,7 @@ %patch0 -p1 -b .saneso %patch5 -p1 -b .cflags %patch6 -p1 -b .bz2recover +%patch7 -p1 -b .1.0.5 %build @@ -108,6 +110,10 @@ %{_libdir}/*.a %changelog +* Tue Apr 1 2008 Ivana Varekova 1.0.5-13 +- fix cash on malformed archive file - CVE-2008-1372 (#438118) + (apply upstream patch) + * Mon May 21 2007 Ivana Varekova 1.0.4-12 - fix *.so,*.a directory From fedora-extras-commits at redhat.com Tue Apr 1 08:46:21 2008 From: fedora-extras-commits at redhat.com (Laurent Rineau (rineau)) Date: Tue, 1 Apr 2008 08:46:21 GMT Subject: rpms/CGAL/devel CGAL.spec,1.20,1.21 Message-ID: <200804010846.m318kLdq028512@cvs-int.fedora.redhat.com> Author: rineau Update of /cvs/pkgs/rpms/CGAL/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28480 Modified Files: CGAL.spec Log Message: * Tue Apr 1 2008 Laurent Rineau - 3.3.1-10 - Rebuild for Rawhide. BR: qt3-devel instead of qt-devel (which is now Qt-4.x). Index: CGAL.spec =================================================================== RCS file: /cvs/pkgs/rpms/CGAL/devel/CGAL.spec,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- CGAL.spec 25 Mar 2008 13:21:46 -0000 1.20 +++ CGAL.spec 1 Apr 2008 08:45:37 -0000 1.21 @@ -2,7 +2,7 @@ Name: CGAL Version: 3.3.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Computational Geometry Algorithms Library Group: System Environment/Libraries @@ -269,6 +269,9 @@ %changelog +* Tue Apr 1 2008 Laurent Rineau - 3.3.1-10 +- Rebuild for Rawhide. BR: qt3-devel instead of qt-devel (which is now Qt-4.x). + * Mon Feb 11 2008 Laurent Rineau - 3.3.1-9%{dist} - Rebuild with g++-4.3. From fedora-extras-commits at redhat.com Tue Apr 1 08:46:56 2008 From: fedora-extras-commits at redhat.com (David Nielsen (dnielsen)) Date: Tue, 1 Apr 2008 08:46:56 GMT Subject: rpms/mono-zeroconf/F-8 mono-zeroconf.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2 Message-ID: <200804010846.m318kuNP028533@cvs-int.fedora.redhat.com> Author: dnielsen Update of /cvs/pkgs/rpms/mono-zeroconf/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28492/F-8 Modified Files: .cvsignore sources Added Files: mono-zeroconf.spec Log Message: Initial import --- NEW FILE mono-zeroconf.spec --- %define debug_package %{nil} Name: mono-zeroconf Version: 0.7.5 Release: 3%{?dist} Summary: Mono-zeroconf namespace Group: Development/Languages License: GPLv2 URL: http://banshee-project.org/files/mono-zeroconf Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-libdir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: mono-devel, avahi-sharp, monodoc-devel Requires: monodoc # Bug 241850 - no Mono on pp64 ExcludeArch: ppc64 %description Mono.Zeroconf is a cross platform Zero Configuration Networking library for Mono and .NET. %package devel Summary: .pc file for mono zeroconf Group: Documentation Requires: %{name} = %{version}-%{release} pkgconfig %description devel Development file for mono zeroconf %prep %setup -q # libdir madness %patch0 -p1 -b .libdir %build %configure make %install %{__rm} -rf %{buildroot} make DESTDIR=%{buildroot} install %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc COPYING AUTHORS ChangeLog NEWS README %{_bindir}/mzclient %{_libdir}/mono-zeroconf/ %{_libdir}/mono/gac/Mono.Zeroconf %{_libdir}/mono/mono-zeroconf %{_libdir}/monodoc/sources/mono-zeroconf* %{_libdir}/mono/gac/policy.1.0.Mono.Zeroconf/ %files devel %{_libdir}/pkgconfig/mono-zeroconf.pc %changelog * Mon Mar 31 2008 David Nielsen - 0.7.5-3 - Remove debuginfo * Fri Feb 01 2008 David Nielsen - 0.7.5-2 - Exclude ppc64 - Spec fixes * Fri Feb 01 2008 David Nielsen - 0.7.5-1 - bump to 0.7.5 - patch for libdir madness * Fri Jan 04 2008 Paul F. Johnson 0.7.3-2 - spec fixes * Thu Dec 29 2007 Paul F. Johnson 0.7.3-1 - Initial import for FE Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/mono-zeroconf/F-8/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 14 Jan 2008 21:47:45 -0000 1.1 +++ .cvsignore 1 Apr 2008 08:45:58 -0000 1.2 @@ -0,0 +1 @@ +mono-zeroconf-0.7.5.tar.bz2 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/mono-zeroconf/F-8/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 14 Jan 2008 21:47:45 -0000 1.1 +++ sources 1 Apr 2008 08:45:58 -0000 1.2 @@ -0,0 +1 @@ +bedac5b9288dce742854f15c4dbc0e2f mono-zeroconf-0.7.5.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 08:51:49 2008 From: fedora-extras-commits at redhat.com (David Nielsen (dnielsen)) Date: Tue, 1 Apr 2008 08:51:49 GMT Subject: rpms/gnome-do/F-8 gnome-do.spec,1.10,1.11 Message-ID: <200804010851.m318pn9x028798@cvs-int.fedora.redhat.com> Author: dnielsen Update of /cvs/pkgs/rpms/gnome-do/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28745/F-8 Modified Files: gnome-do.spec Log Message: Fix 439793 Index: gnome-do.spec =================================================================== RCS file: /cvs/pkgs/rpms/gnome-do/F-8/gnome-do.spec,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- gnome-do.spec 29 Mar 2008 13:24:36 -0000 1.10 +++ gnome-do.spec 1 Apr 2008 08:51:12 -0000 1.11 @@ -2,12 +2,12 @@ Name: gnome-do Version: 0.4.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Quick launch and search License: GPLv3+ Group: Applications/File -URL: https://edge.launchpad.net/gc/ +URL: http://do.davebsd.com/ Source0: http://do.davebsd.com/src/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-libdir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -82,6 +82,9 @@ %{_libdir}/pkgconfig/* %changelog +* Tue Apr 01 2008 David Nielsen - 0.4.0.1-2 +- #439793 - correct URL + * Sat Mar 29 2008 David Nielsen - 0.4.0.1-1 - Bump to 0.4.0.1 - Hopefully bring an end to the endless dups of 432201 From fedora-extras-commits at redhat.com Tue Apr 1 08:52:20 2008 From: fedora-extras-commits at redhat.com (Tomas Janousek (tjanouse)) Date: Tue, 1 Apr 2008 08:52:20 GMT Subject: rpms/bash/devel bash-3.2-190350.patch,1.1,1.2 Message-ID: <200804010852.m318qK1Q028869@cvs-int.fedora.redhat.com> Author: tjanouse Update of /cvs/pkgs/rpms/bash/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28838 Modified Files: bash-3.2-190350.patch Log Message: email typo bash-3.2-190350.patch: Index: bash-3.2-190350.patch =================================================================== RCS file: /cvs/pkgs/rpms/bash/devel/bash-3.2-190350.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- bash-3.2-190350.patch 15 Jan 2008 13:55:03 -0000 1.1 +++ bash-3.2-190350.patch 1 Apr 2008 08:52:01 -0000 1.2 @@ -11,7 +11,7 @@ This patch fixes it and tries to fix redoing the 'I' command as well. I'm not sure about 'c', though. -Signed-off-by: Tomas Janousek +Signed-off-by: Tomas Janousek --- lib/readline/misc.c | 2 +- lib/readline/readline.c | 2 +- From fedora-extras-commits at redhat.com Tue Apr 1 08:53:58 2008 From: fedora-extras-commits at redhat.com (Ivana Varekova (varekova)) Date: Tue, 1 Apr 2008 08:53:58 GMT Subject: rpms/bzip2/F-7 bzip2-1.0.5.patch,NONE,1.1 bzip2.spec,1.31,1.32 Message-ID: <200804010853.m318rwec028913@cvs-int.fedora.redhat.com> Author: varekova Update of /cvs/pkgs/rpms/bzip2/F-7 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28804 Modified Files: bzip2.spec Added Files: bzip2-1.0.5.patch Log Message: - fix cash on malformed archive file - CVE-2008-1372 (#438118) (apply upstream patch) bzip2-1.0.5.patch: --- NEW FILE bzip2-1.0.5.patch --- diff -urN bzip2-1.0.4/bzlib.c bzip2-1.0.5/bzlib.c --- bzip2-1.0.4/bzlib.c 2007-01-02 21:00:55.000000000 -0500 +++ bzip2-1.0.5/bzlib.c 2007-12-09 08:57:21.000000000 -0500 @@ -598,6 +598,7 @@ UInt32 c_tPos = s->tPos; char* cs_next_out = s->strm->next_out; unsigned int cs_avail_out = s->strm->avail_out; + Int32 ro_blockSize100k = s->blockSize100k; /* end restore */ UInt32 avail_out_INIT = cs_avail_out; diff -urN bzip2-1.0.4/bzlib_private.h bzip2-1.0.5/bzlib_private.h --- bzip2-1.0.4/bzlib_private.h 2007-01-02 21:00:55.000000000 -0500 +++ bzip2-1.0.5/bzlib_private.h 2007-12-09 09:00:46.000000000 -0500 @@ -442,11 +442,15 @@ /*-- Macros for decompression. --*/ #define BZ_GET_FAST(cccc) \ + /* c_tPos is unsigned, hence test < 0 is pointless. */ \ + if (s->tPos >= (UInt32)100000 * (UInt32)s->blockSize100k) return True; \ s->tPos = s->tt[s->tPos]; \ cccc = (UChar)(s->tPos & 0xff); \ s->tPos >>= 8; #define BZ_GET_FAST_C(cccc) \ + /* c_tPos is unsigned, hence test < 0 is pointless. */ \ + if (c_tPos >= (UInt32)100000 * (UInt32)ro_blockSize100k) return True; \ c_tPos = c_tt[c_tPos]; \ cccc = (UChar)(c_tPos & 0xff); \ c_tPos >>= 8; @@ -469,8 +473,10 @@ (((UInt32)s->ll16[i]) | (GET_LL4(i) << 16)) #define BZ_GET_SMALL(cccc) \ - cccc = BZ2_indexIntoF ( s->tPos, s->cftab ); \ - s->tPos = GET_LL(s->tPos); + /* c_tPos is unsigned, hence test < 0 is pointless. */ \ + if (s->tPos >= (UInt32)100000 * (UInt32)s->blockSize100k) return True; \ + cccc = BZ2_indexIntoF ( s->tPos, s->cftab ); \ + s->tPos = GET_LL(s->tPos); /*-- externs for decompression. --*/ Index: bzip2.spec =================================================================== RCS file: /cvs/pkgs/rpms/bzip2/F-7/bzip2.spec,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- bzip2.spec 4 Apr 2007 13:55:03 -0000 1.31 +++ bzip2.spec 1 Apr 2008 08:53:22 -0000 1.32 @@ -1,7 +1,7 @@ Summary: A file compression utility Name: bzip2 Version: 1.0.4 -Release: 10%{?dist} +Release: 11%{?dist} License: BSD Group: Applications/File URL: http://www.bzip.org/ @@ -9,6 +9,7 @@ Patch0: bzip2-1.0.4-saneso.patch Patch5: bzip2-1.0.4-cflags.patch Patch6: bzip2-1.0.4-bzip2recover.patch +Patch7: bzip2-1.0.5.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -45,6 +46,7 @@ %patch0 -p1 -b .saneso %patch5 -p1 -b .cflags %patch6 -p1 -b .bz2recover +%patch7 -p1 -b .1.0.5 %build @@ -108,6 +110,10 @@ %{_libdir}/*.a %changelog +* Tue Apr 1 2008 Ivana Varekova 1.0.4-11 +- fix cash on malformed archive file - CVE-2008-1372 (#438118) + (apply upstream patch) + * Wed Apr 4 2007 Ivana Varekova 1.0.4-10 - change libz.a permissions From fedora-extras-commits at redhat.com Tue Apr 1 09:03:50 2008 From: fedora-extras-commits at redhat.com (Andreas Thienemann (ixs)) Date: Tue, 1 Apr 2008 09:03:50 GMT Subject: rpms/mod_suphp/EL-5 mod_suphp.spec,1.14,1.15 Message-ID: <200804010903.m3193oNa002700@cvs-int.fedora.redhat.com> Author: ixs Update of /cvs/pkgs/rpms/mod_suphp/EL-5 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2676 Modified Files: mod_suphp.spec Log Message: * Sun Mar 30 2008 Andreas Thienemann - 0.6.3-1 - Updated to 0.6.3 fixing two security problems. #439687 Index: mod_suphp.spec =================================================================== RCS file: /cvs/pkgs/rpms/mod_suphp/EL-5/mod_suphp.spec,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- mod_suphp.spec 31 Mar 2008 19:12:28 -0000 1.14 +++ mod_suphp.spec 1 Apr 2008 09:03:11 -0000 1.15 @@ -16,9 +16,19 @@ %define handler x-httpd-php %define apr /usr/bin/apr-config %endif +%elseif 0%{?rhel} + %if "%{rhel}" >= "5" + %define php /usr/bin/php + %define handler x-httpd-php + %define apr /usr/bin/apr-1-config + %else + %define php /usr/bin/php + %define handler x-httpd-php + %define apr /usr/bin/apr-config + %endif %else %define php /usr/bin/php - %define handler x-httpd-php + %define handler x-httpd-php %define apr /usr/bin/apr-config %endif From fedora-extras-commits at redhat.com Tue Apr 1 09:07:15 2008 From: fedora-extras-commits at redhat.com (Andreas Thienemann (ixs)) Date: Tue, 1 Apr 2008 09:07:15 GMT Subject: rpms/mod_suphp/EL-4 README.fedora, NONE, 1.1 mod_suphp.conf, NONE, 1.1 mod_suphp.spec, 1.6, 1.7 Message-ID: <200804010907.m3197Fp9002796@cvs-int.fedora.redhat.com> Author: ixs Update of /cvs/pkgs/rpms/mod_suphp/EL-4 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2776 Modified Files: mod_suphp.spec Added Files: README.fedora mod_suphp.conf Log Message: * Sun Mar 30 2008 Andreas Thienemann - 0.6.3-1 - Updated to 0.6.3 fixing two security problems. #439687 --- NEW FILE README.fedora --- In order to activate mod_suphp support, /etc/httpd/conf.d/mod_suphp.conf has to be edited. The commented line "suPHP_AddHandler ###HANDLER###" has to be uncommented, for mod_suphp to work. After a restart of the httpd, php scripts should be executed with the rights of the user owning them. In case you do need mod_php support for a certain virtual host or directory, you can selectively disable mod_suphp and fall back to mod_php: suPHP_Engine off suPHP_RemoveHandler .php php_admin_flag engine on php_admin_flag register_globals on This should do the trick nicely. The register_globals flag is purely optional and should be avoided if possibly. Should you require mod_userdir support, in order to enable ~user URLs, you should set check_vhost_docroot=false in the /etc/suphp.conf file, as currently suphp would fail with an incorrect vhost. --- NEW FILE mod_suphp.conf --- # This is the Apache server configuration file providing suPHP support.. # It contains the configuration directives to instruct the server how to # serve php pages while switching to the user context before rendering. LoadModule suphp_module modules/mod_suphp.so ### Uncomment to activate mod_suphp #suPHP_AddHandler ###HANDLER### # This option tells mod_suphp if a PHP-script requested on this server (or # VirtualHost) should be run with the PHP-interpreter or returned to the # browser "as it is". suPHP_Engine on # This option tells mod_suphp which path to pass on to the PHP-interpreter # (by setting the PHPRC environment variable). # Do *NOT* refer to a file but to the directory the file resists in. # # E.g.: If you want to use "/path/to/server/config/php.ini", use "suPHP_Config # /path/to/server/config". # # If you don't use this option, PHP will use its compiled in default path. #suPHP_ConfigPath /etc Index: mod_suphp.spec =================================================================== RCS file: /cvs/pkgs/rpms/mod_suphp/EL-4/mod_suphp.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- mod_suphp.spec 31 Mar 2008 19:17:06 -0000 1.6 +++ mod_suphp.spec 1 Apr 2008 09:06:36 -0000 1.7 @@ -16,9 +16,19 @@ %define handler x-httpd-php %define apr /usr/bin/apr-config %endif +%elseif 0%{?rhel} + %if "%{rhel}" >= "5" + %define php /usr/bin/php + %define handler x-httpd-php + %define apr /usr/bin/apr-1-config + %else + %define php /usr/bin/php + %define handler x-httpd-php + %define apr /usr/bin/apr-config + %endif %else %define php /usr/bin/php - %define handler x-httpd-php + %define handler x-httpd-php %define apr /usr/bin/apr-config %endif From fedora-extras-commits at redhat.com Tue Apr 1 09:14:08 2008 From: fedora-extras-commits at redhat.com (Jindrich Novy (jnovy)) Date: Tue, 1 Apr 2008 09:14:08 GMT Subject: rpms/netpbm/F-7 netpbm-10.35-gcc43.patch, NONE, 1.1 netpbm-10.35-rgbtxt.patch, NONE, 1.1 .cvsignore, 1.25, 1.26 netpbm-10.23-security.patch, 1.17, 1.18 netpbm.spec, 1.90, 1.91 sources, 1.30, 1.31 Message-ID: <200804010914.m319E8Yv002988@cvs-int.fedora.redhat.com> Author: jnovy Update of /cvs/extras/rpms/netpbm/F-7 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2950 Modified Files: .cvsignore netpbm-10.23-security.patch netpbm.spec sources Added Files: netpbm-10.35-gcc43.patch netpbm-10.35-rgbtxt.patch Log Message: * Mon Mar 31 2008 Jindrich Novy 10.35.41-1 - update to 10.35.41 (fixes pnmnorm, pgmdeshadow, pgmmedian, pgmbentley and pamtosvg, pamtosvg, pbmtext, ppmtoarbtxt and gcc-4.3 build) - package rgb.txt for pnmtopng (#313301) - drop useless xorg-x11-server-utils BR - fix to let it built with gcc 4.3 - sync security patch and fix typos netpbm-10.35-gcc43.patch: --- NEW FILE netpbm-10.35-gcc43.patch --- diff -up netpbm-10.35.36/lib/libpbm3.c.gcc43 netpbm-10.35.36/lib/libpbm3.c --- netpbm-10.35.36/lib/libpbm3.c.gcc43 2007-12-31 07:02:07.000000000 +0100 +++ netpbm-10.35.36/lib/libpbm3.c 2008-01-08 13:08:52.000000000 +0100 @@ -105,7 +105,7 @@ packBitsWithMmxSse(FILE * const ) ]; */ - typedef int v8qi __attribute__ ((mode(V8QI))); + typedef int v8qi __attribute__ ((vector_size(8))); typedef int di __attribute__ ((mode(DI))); di const zero64 = 0; /* to clear with PXOR */ netpbm-10.35-rgbtxt.patch: --- NEW FILE netpbm-10.35-rgbtxt.patch --- diff -up netpbm-10.35.40/pm_config.in.h.rgbtxt netpbm-10.35.40/pm_config.in.h --- netpbm-10.35.40/pm_config.in.h.rgbtxt 2008-03-09 11:28:32.000000000 +0100 +++ netpbm-10.35.40/pm_config.in.h 2008-03-14 12:27:28.000000000 +0100 @@ -67,9 +67,9 @@ #define RGB_DB2 "PBMplus_Dir:RGB.TXT" #define RGB_DB3 "PBMplus_Dir:RGB.TXT" #else -#define RGB_DB1 "/usr/lib/X11/rgb.txt" -#define RGB_DB2 "/usr/share/X11/rgb.txt" -#define RGB_DB3 "/usr/X11R6/lib/X11/rgb.txt" +#define RGB_DB1 "/usr/share/netpbm/rgb.txt" +#define RGB_DB2 "/usr/lib/X11/rgb.txt" +#define RGB_DB3 "/usr/share/X11/rgb.txt" #endif /* CONFIGURE: This is the name of an environment variable that tells Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/netpbm/F-7/.cvsignore,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- .cvsignore 18 Sep 2006 11:55:07 -0000 1.25 +++ .cvsignore 1 Apr 2008 09:13:30 -0000 1.26 @@ -1,28 +1 @@ -netpbm-nojbig-10.24.tar.bz2 -netpbmdoc-nojbig-10.24.tar.bz2 -netpbm-nojbig-10.25.tar.bz2 -netpbmdoc-nojbig-10.25.tar.bz2 -netpbm-nojbig-10.26.tar.bz2 -netpbmdoc-nojbig-10.26.tar.bz2 -netpbm-10.26.4.tar.bz2 -netpbmdoc-10.26.4.tar.bz2 -netpbm-10.27.tar.bz2 -netpbmdoc-10.27.tar.bz2 -netpbm-10.28.tar.bz2 -netpbmdoc-10.28.tar.bz2 -netpbm-10.29.tar.bz2 -netpbmdoc-10.29.tar.bz2 -netpbmdoc-10.30.tar.bz2 -netpbm-10.30.tar.bz2 -netpbmdoc-10.31.tar.bz2 -netpbm-10.31.tar.bz2 -netpbm-10.32.tar.bz2 -netpbmdoc-10.32.tar.bz2 -netpbm-10.33.tar.bz2 -netpbmdoc-10.33.tar.bz2 -netpbmdoc-10.34.tar.bz2 -netpbm-10.34.tar.bz2 -netpbm-10.34.l1.tar.bz2 -netpbmdoc-10.34.l1.tar.bz2 -netpbm-10.35.l1.tar.bz2 -netpbmdoc-10.35.l1.tar.bz2 +netpbm-10.35.41.tar.bz2 netpbm-10.23-security.patch: Index: netpbm-10.23-security.patch =================================================================== RCS file: /cvs/extras/rpms/netpbm/F-7/netpbm-10.23-security.patch,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- netpbm-10.23-security.patch 19 Dec 2006 13:47:12 -0000 1.17 +++ netpbm-10.23-security.patch 1 Apr 2008 09:13:30 -0000 1.18 @@ -1128,20 +1128,6 @@ *padrightP = ( ( h10P->pixmap_width + 15 ) / 16 ) * 16 - h10P->pixmap_width; *bits_per_itemP = 16; -@@ -223,9 +226,13 @@ - *formatP = PGM_TYPE; - *visualclassP = StaticGray; - *maxvalP = ( 1 << h10P->display_planes ) - 1; -+ overflow_add(*maxvalP, 1); - *colorsP = pnm_allocrow( *maxvalP + 1 ); - for ( i = 0; i <= *maxvalP; ++i ) - PNM_ASSIGN1( (*colorsP)[i], i ); -+ overflow_add(h10P->pixmap_width, 15); -+ if(h10P->pixmap_width < 0) -+ pm_error("assert: negative width"); - *padrightP = - ( ( h10P->pixmap_width + 15 ) / 16 ) * 16 - h10P->pixmap_width; - *bits_per_itemP = 16; @@ -544,6 +551,7 @@ *colsP = h11FixedP->pixmap_width; Index: netpbm.spec =================================================================== RCS file: /cvs/extras/rpms/netpbm/F-7/netpbm.spec,v retrieving revision 1.90 retrieving revision 1.91 diff -u -r1.90 -r1.91 --- netpbm.spec 9 Dec 2007 18:00:48 -0000 1.90 +++ netpbm.spec 1 Apr 2008 09:13:30 -0000 1.91 @@ -1,13 +1,13 @@ Summary: A library for handling different graphics file formats Name: netpbm -Version: 10.35.32 -Release: 2%{?dist} +Version: 10.35.41 +Release: 1%{?dist} License: Assorted licenses, see %{_docdir}/%{name}-%{version}/copyright_summary Group: System Environment/Libraries URL: http://netpbm.sourceforge.net/ -# Source0 is prepared by -# svn checkout https://netpbm.svn.sourceforge.net/svnroot/netpbm/stable netpbm-%{nersion} -# svn checkout https://netpbm.svn.sourceforge.net/svnroot/netpbm/userguide netpbm-%{nersion}/userguide +# Source0 is prepared by +# svn checkout https://netpbm.svn.sourceforge.net/svnroot/netpbm/stable netpbm-%{version} +# svn checkout https://netpbm.svn.sourceforge.net/svnroot/netpbm/userguide netpbm-%{version}/userguide # and removing the .svn directories Source0: netpbm-%{version}.tar.bz2 Patch1: netpbm-10.17-time.patch @@ -27,9 +27,11 @@ Patch16: netpbm-10.35-pbmtog3segfault.patch Patch17: netpbm-10.35-pbmtomacp.patch Patch18: netpbm-10.35-glibc.patch +Patch19: netpbm-10.35-gcc43.patch +Patch20: netpbm-10.35-rgbtxt.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, flex -BuildRequires: libX11-devel xorg-x11-server-utils python +BuildRequires: libX11-devel, python %description The netpbm package contains a library of functions which support @@ -85,6 +87,8 @@ %patch16 -p1 -b .pbmtog3segfault %patch17 -p1 -b .pbmtomacp %patch18 -p1 -b .glibc +%patch19 -p1 -b .gcc43 +%patch20 -p1 -b .rgbtxt ##mv shhopt/shhopt.h shhopt/pbmshhopt.h ##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile @@ -173,6 +177,7 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/netpbm mv $RPM_BUILD_ROOT/usr/misc/*.map $RPM_BUILD_ROOT%{_datadir}/netpbm/ +mv $RPM_BUILD_ROOT/usr/misc/rgb.txt $RPM_BUILD_ROOT%{_datadir}/netpbm/ rm -rf $RPM_BUILD_ROOT/usr/README rm -rf $RPM_BUILD_ROOT/usr/VERSION rm -rf $RPM_BUILD_ROOT/usr/link @@ -209,14 +214,23 @@ %{_datadir}/netpbm/ %changelog +* Mon Mar 31 2008 Jindrich Novy 10.35.41-1 +- update to 10.35.41 (fixes pnmnorm, pgmdeshadow, pgmmedian, + pgmbentley and pamtosvg, pamtosvg, pbmtext, ppmtoarbtxt and + gcc-4.3 build) +- package rgb.txt for pnmtopng (#313301) +- drop useless xorg-x11-server-utils BR +- fix to let it built with gcc 4.3 +- sync security patch and fix typos + * Wed Nov 2 2007 Jindrich Novy 10.35.32-2 -- remove man pages that lack corresponding binaries (#417131) +- remove man pages that lack corresponding binaries (#220739) * Thu Oct 18 2007 Jindrich Novy 10.35.32-1 - remove .svn directories from tarball to reduce its size - update fixes rhbz#337181 and likely others -* Thu Oct 18 2007 MATSUURA Takanori - 10.35.32-0 +* Thu Oct 18 2007 MATSUURA Takanori 10.35.32-0 - update to 10.35.32 from svn tree - create man pages from userguide HTML files Index: sources =================================================================== RCS file: /cvs/extras/rpms/netpbm/F-7/sources,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- sources 18 Oct 2007 10:51:18 -0000 1.30 +++ sources 1 Apr 2008 09:13:30 -0000 1.31 @@ -1 +1 @@ -d816dd084194f2e7ccf7ab97ee89b155 netpbm-10.35.32.tar.bz2 +41c78be399bbf244a3f0f11f55231a90 netpbm-10.35.41.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 09:18:51 2008 From: fedora-extras-commits at redhat.com (Denis Leroy (denis)) Date: Tue, 1 Apr 2008 09:18:51 GMT Subject: rpms/gcdmaster/devel gcdmaster-1.2.2-sigc2.patch, NONE, 1.1 gcdmaster.spec, 1.8, 1.9 Message-ID: <200804010918.m319IpiA003105@cvs-int.fedora.redhat.com> Author: denis Update of /cvs/pkgs/rpms/gcdmaster/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3080 Modified Files: gcdmaster.spec Added Files: gcdmaster-1.2.2-sigc2.patch Log Message: Added patch for sigc++ API change. Rebuild gcdmaster-1.2.2-sigc2.patch: --- NEW FILE gcdmaster-1.2.2-sigc2.patch --- --- cdrdao-1.2.2/xdao/xcdrdao.cc~ 15 Aug 2007 14:24:49 -0000 1.30 +++ cdrdao-1.2.2/xdao/xcdrdao.cc 29 Dec 2007 12:31:55 -0000 1.32 @@ -144,7 +102,7 @@ installSignalHandler(SIGCHLD, signalHandler); // setup periodic GUI updates - Glib::signal_timeout().connect(SigC::slot(&guiUpdatePeriodic), 2000); + Glib::signal_timeout().connect(sigc::ptr_fun(&guiUpdatePeriodic), 2000); installSignalHandler(SIGPIPE, SIG_IGN); Index: gcdmaster.spec =================================================================== RCS file: /cvs/pkgs/rpms/gcdmaster/devel/gcdmaster.spec,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- gcdmaster.spec 16 Feb 2008 13:50:23 -0000 1.8 +++ gcdmaster.spec 1 Apr 2008 09:18:10 -0000 1.9 @@ -1,6 +1,6 @@ Name: gcdmaster Version: 1.2.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A Gnome2 Disk-At-Once (DAO) Audio CD writer Group: Applications/Multimedia @@ -9,6 +9,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: http://download.sourceforge.net/cdrdao/cdrdao-%{version}.tar.bz2 Patch0: gcdmaster-1.2.2-gcc43.patch +Patch1: gcdmaster-1.2.2-sigc2.patch Requires: cdrdao BuildRequires: gtkmm24-devel BuildRequires: libgnomeuimm26-devel @@ -29,6 +30,7 @@ %prep %setup -q -n cdrdao-%{version} %patch0 -p1 -b .gcc43 +%patch1 -p1 -b .sigc %build @@ -85,6 +87,9 @@ %{_mandir}/man1/gcdmaster* %changelog +* Tue Apr 1 2008 Denis Leroy - 1.2.2-4 +- Added patch for sigc++ API change + * Sat Feb 16 2008 Denis Leroy - 1.2.2-3 - Added patch for gcc 4.3 rebuild From fedora-extras-commits at redhat.com Tue Apr 1 09:21:32 2008 From: fedora-extras-commits at redhat.com (Daniel J Walsh (dwalsh)) Date: Tue, 1 Apr 2008 09:21:32 GMT Subject: rpms/selinux-policy/devel policy-20071130.patch, 1.114, 1.115 selinux-policy.spec, 1.643, 1.644 Message-ID: <200804010921.m319LWev003226@cvs-int.fedora.redhat.com> Author: dwalsh Update of /cvs/extras/rpms/selinux-policy/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3200 Modified Files: policy-20071130.patch selinux-policy.spec Log Message: * Tue Apr 1 2008 Dan Walsh 3.3.1-27 - Allow nsplugin to read /etc/mozpluggerrc, user_fonts - Allow syslog to manage innd logs. - Allow procmail to ioctl spamd_exec_t policy-20071130.patch: Index: policy-20071130.patch =================================================================== RCS file: /cvs/extras/rpms/selinux-policy/devel/policy-20071130.patch,v retrieving revision 1.114 retrieving revision 1.115 diff -u -r1.114 -r1.115 --- policy-20071130.patch 30 Mar 2008 05:41:15 -0000 1.114 +++ policy-20071130.patch 1 Apr 2008 09:21:21 -0000 1.115 @@ -3998,7 +3998,7 @@ +/usr/bin/octave-[^/]* -- gen_context(system_u:object_r:java_exec_t,s0) diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/java.if serefpolicy-3.3.1/policy/modules/apps/java.if --- nsaserefpolicy/policy/modules/apps/java.if 2007-10-12 14:56:02.000000000 +0200 -+++ serefpolicy-3.3.1/policy/modules/apps/java.if 2008-03-06 17:15:51.000000000 +0100 ++++ serefpolicy-3.3.1/policy/modules/apps/java.if 2008-03-30 17:08:53.000000000 +0200 @@ -32,7 +32,7 @@ ## ## @@ -4302,14 +4302,15 @@ + diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/loadkeys.te serefpolicy-3.3.1/policy/modules/apps/loadkeys.te --- nsaserefpolicy/policy/modules/apps/loadkeys.te 2007-12-19 11:32:09.000000000 +0100 -+++ serefpolicy-3.3.1/policy/modules/apps/loadkeys.te 2008-03-28 21:10:09.000000000 +0100 -@@ -44,3 +44,6 @@ ++++ serefpolicy-3.3.1/policy/modules/apps/loadkeys.te 2008-04-01 07:14:00.000000000 +0200 +@@ -44,3 +44,7 @@ optional_policy(` nscd_dontaudit_search_pid(loadkeys_t) ') + +userdom_dontaudit_write_unpriv_user_home_content_files(loadkeys_t) +userdom_dontaudit_list_user_home_dirs(user, loadkeys_t) ++userdom_dontaudit_list_sysadm_home_dirs(loadkeys_t) diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/mono.if serefpolicy-3.3.1/policy/modules/apps/mono.if --- nsaserefpolicy/policy/modules/apps/mono.if 2007-01-02 18:57:22.000000000 +0100 +++ serefpolicy-3.3.1/policy/modules/apps/mono.if 2008-03-03 14:24:51.000000000 +0100 @@ -4437,7 +4438,7 @@ +') diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/mozilla.fc serefpolicy-3.3.1/policy/modules/apps/mozilla.fc --- nsaserefpolicy/policy/modules/apps/mozilla.fc 2007-10-12 14:56:02.000000000 +0200 -+++ serefpolicy-3.3.1/policy/modules/apps/mozilla.fc 2008-03-26 06:58:58.000000000 +0100 ++++ serefpolicy-3.3.1/policy/modules/apps/mozilla.fc 2008-04-01 07:23:41.000000000 +0200 @@ -1,8 +1,8 @@ -HOME_DIR/\.galeon(/.*)? gen_context(system_u:object_r:ROLE_mozilla_home_t,s0) -HOME_DIR/\.java(/.*)? gen_context(system_u:object_r:ROLE_mozilla_home_t,s0) @@ -4452,7 +4453,15 @@ # # /bin -@@ -29,3 +29,5 @@ +@@ -17,7 +17,6 @@ + # + # /etc + # +-/etc/mozpluggerrc -- gen_context(system_u:object_r:mozilla_conf_t,s0) + + # + # /lib +@@ -29,3 +28,5 @@ /usr/lib(64)?/mozilla[^/]*/mozilla-.* -- gen_context(system_u:object_r:mozilla_exec_t,s0) /usr/lib(64)?/firefox[^/]*/mozilla-.* -- gen_context(system_u:object_r:mozilla_exec_t,s0) /usr/lib(64)?/[^/]*firefox[^/]*/firefox-bin -- gen_context(system_u:object_r:mozilla_exec_t,s0) @@ -5454,8 +5463,8 @@ +') diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/apps/nsplugin.te serefpolicy-3.3.1/policy/modules/apps/nsplugin.te --- nsaserefpolicy/policy/modules/apps/nsplugin.te 1970-01-01 01:00:00.000000000 +0100 -+++ serefpolicy-3.3.1/policy/modules/apps/nsplugin.te 2008-03-29 12:28:11.000000000 +0100 -@@ -0,0 +1,183 @@ ++++ serefpolicy-3.3.1/policy/modules/apps/nsplugin.te 2008-04-01 07:01:32.000000000 +0200 +@@ -0,0 +1,184 @@ + +policy_module(nsplugin,1.0.0) + @@ -5595,6 +5604,7 @@ + xserver_xdm_rw_shm(nsplugin_t) + xserver_read_xdm_tmp_files(nsplugin_t) + xserver_read_user_xauth(user, nsplugin_t) ++ xserver_use_user_fonts(user, nsplugin_t) +') + +######################################## @@ -8235,7 +8245,7 @@ +/etc/rc\.d/init\.d/httpd -- gen_context(system_u:object_r:httpd_script_exec_t,s0) diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/apache.if serefpolicy-3.3.1/policy/modules/services/apache.if --- nsaserefpolicy/policy/modules/services/apache.if 2007-10-23 23:17:42.000000000 +0200 -+++ serefpolicy-3.3.1/policy/modules/services/apache.if 2008-03-20 14:37:55.000000000 +0100 ++++ serefpolicy-3.3.1/policy/modules/services/apache.if 2008-04-01 11:19:49.000000000 +0200 @@ -13,21 +13,16 @@ # template(`apache_content_template',` @@ -8665,7 +8675,7 @@ ') ######################################## -@@ -1088,3 +1037,133 @@ +@@ -1088,3 +1037,142 @@ allow httpd_t $1:process signal; ') @@ -8757,6 +8767,10 @@ + attribute httpdcontent; + attribute httpd_script_exec_type; + type httpd_bool_t; ++ type httpd_php_tmp_t; ++ type httpd_suexec_tmp_t; ++ type httpd_tmp_t; ++ + ') + + allow $1 httpd_t:process { getattr ptrace signal_perms }; @@ -8794,6 +8808,11 @@ + + seutil_domtrans_setfiles($1) + ++ manage_app_pattern($1, httpd_tmp_t) ++ manage_app_pattern($1, httpd_php_tmp_t) ++ manage_app_pattern($1, httpd_suexec_tmp_t) ++ files_tmp_filetrans($1, httpd_tmp_t, { file dir }) ++ +# apache_set_booleans($1, $2, $3, httpd_bool_t ) +# seutil_setsebool_per_role_template($1, httpd, $3) +# allow httpd_setsebool_t httpd_bool_t:dir list_dir_perms; @@ -15052,8 +15071,18 @@ +/etc/rc.d/init.d/innd -- gen_context(system_u:object_r:innd_script_exec_t,s0) diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/inn.if serefpolicy-3.3.1/policy/modules/services/inn.if --- nsaserefpolicy/policy/modules/services/inn.if 2007-01-02 18:57:43.000000000 +0100 -+++ serefpolicy-3.3.1/policy/modules/services/inn.if 2008-02-26 14:29:22.000000000 +0100 -@@ -176,3 +176,80 @@ ++++ serefpolicy-3.3.1/policy/modules/services/inn.if 2008-03-30 12:29:52.000000000 +0200 +@@ -54,8 +54,7 @@ + ') + + logging_rw_generic_log_dirs($1) +- allow $1 innd_log_t:dir search; +- allow $1 innd_log_t:file manage_file_perms; ++ manage_files_pattern($1, innd_log_t,innd_log_t) + ') + + ######################################## +@@ -176,3 +175,80 @@ corecmd_search_bin($1) domtrans_pattern($1,innd_exec_t,innd_t) ') @@ -22285,7 +22314,7 @@ +/etc/rc.d/init.d/spamd -- gen_context(system_u:object_r:spamd_script_exec_t,s0) diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/spamassassin.if serefpolicy-3.3.1/policy/modules/services/spamassassin.if --- nsaserefpolicy/policy/modules/services/spamassassin.if 2007-10-12 14:56:07.000000000 +0200 -+++ serefpolicy-3.3.1/policy/modules/services/spamassassin.if 2008-02-26 14:29:22.000000000 +0100 ++++ serefpolicy-3.3.1/policy/modules/services/spamassassin.if 2008-04-01 07:58:40.000000000 +0200 @@ -34,10 +34,11 @@ # cjp: when tunables are available, spamc stuff should be # toggled on activation of spamc, and similarly for spamd. @@ -22606,7 +22635,7 @@ ') can_exec($1,spamd_exec_t) -@@ -398,11 +149,65 @@ +@@ -398,11 +149,66 @@ ## # template(`spamassassin_domtrans_user_client',` @@ -22635,6 +22664,7 @@ + ') + + domtrans_pattern($1,spamc_exec_t,spamc_t) ++ allow $1 spamc_exec_t:file ioctl; +') + +######################################## @@ -22674,7 +22704,7 @@ ') ######################################## -@@ -446,11 +251,31 @@ +@@ -446,11 +252,31 @@ ## # template(`spamassassin_domtrans_user_local_client',` @@ -22708,7 +22738,7 @@ ') ######################################## -@@ -469,6 +294,7 @@ +@@ -469,6 +295,7 @@ ') files_search_var_lib($1) @@ -22716,7 +22746,7 @@ read_files_pattern($1,spamd_var_lib_t,spamd_var_lib_t) ') -@@ -528,3 +354,133 @@ +@@ -528,3 +355,133 @@ dontaudit $1 spamd_tmp_t:sock_file getattr; ') @@ -24028,7 +24058,7 @@ /var/lib/pam_devperm/:0 -- gen_context(system_u:object_r:xdm_var_lib_t,s0) diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/services/xserver.if serefpolicy-3.3.1/policy/modules/services/xserver.if --- nsaserefpolicy/policy/modules/services/xserver.if 2007-12-04 17:02:50.000000000 +0100 -+++ serefpolicy-3.3.1/policy/modules/services/xserver.if 2008-03-25 22:57:54.000000000 +0100 ++++ serefpolicy-3.3.1/policy/modules/services/xserver.if 2008-04-01 07:01:14.000000000 +0200 @@ -12,9 +12,15 @@ ## ## @@ -30409,7 +30439,7 @@ +/root(/.*)? gen_context(system_u:object_r:admin_home_t,s0) diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdomain.if serefpolicy-3.3.1/policy/modules/system/userdomain.if --- nsaserefpolicy/policy/modules/system/userdomain.if 2008-02-15 15:52:56.000000000 +0100 -+++ serefpolicy-3.3.1/policy/modules/system/userdomain.if 2008-03-29 13:10:01.000000000 +0100 ++++ serefpolicy-3.3.1/policy/modules/system/userdomain.if 2008-04-01 07:17:26.000000000 +0200 @@ -29,9 +29,14 @@ ') @@ -31638,7 +31668,7 @@ ') ######################################## -@@ -2003,10 +2027,10 @@ +@@ -2003,10 +2027,11 @@ # template(`userdom_dontaudit_list_user_home_dirs',` gen_require(` @@ -31648,10 +31678,11 @@ - dontaudit $2 $1_home_dir_t:dir list_dir_perms; + dontaudit $2 user_home_dir_t:dir list_dir_perms; ++ dontaudit $2 user_home_t:dir list_dir_perms; ') ######################################## -@@ -2038,11 +2062,47 @@ +@@ -2038,11 +2063,47 @@ # template(`userdom_manage_user_home_content_dirs',` gen_require(` @@ -31701,7 +31732,7 @@ ') ######################################## -@@ -2074,10 +2134,10 @@ +@@ -2074,10 +2135,10 @@ # template(`userdom_dontaudit_setattr_user_home_content_files',` gen_require(` @@ -31714,7 +31745,7 @@ ') ######################################## -@@ -2107,11 +2167,11 @@ +@@ -2107,11 +2168,11 @@ # template(`userdom_read_user_home_content_files',` gen_require(` @@ -31728,7 +31759,7 @@ ') ######################################## -@@ -2141,11 +2201,11 @@ +@@ -2141,11 +2202,11 @@ # template(`userdom_dontaudit_read_user_home_content_files',` gen_require(` @@ -31743,7 +31774,7 @@ ') ######################################## -@@ -2175,10 +2235,14 @@ +@@ -2175,10 +2236,14 @@ # template(`userdom_dontaudit_write_user_home_content_files',` gen_require(` @@ -31760,7 +31791,7 @@ ') ######################################## -@@ -2208,11 +2272,11 @@ +@@ -2208,11 +2273,11 @@ # template(`userdom_read_user_home_content_symlinks',` gen_require(` @@ -31774,7 +31805,7 @@ ') ######################################## -@@ -2242,11 +2306,11 @@ +@@ -2242,11 +2307,11 @@ # template(`userdom_exec_user_home_content_files',` gen_require(` @@ -31788,7 +31819,7 @@ ') ######################################## -@@ -2276,10 +2340,10 @@ +@@ -2276,10 +2341,10 @@ # template(`userdom_dontaudit_exec_user_home_content_files',` gen_require(` @@ -31801,7 +31832,7 @@ ') ######################################## -@@ -2311,12 +2375,12 @@ +@@ -2311,12 +2376,12 @@ # template(`userdom_manage_user_home_content_files',` gen_require(` @@ -31817,7 +31848,7 @@ ') ######################################## -@@ -2348,10 +2412,10 @@ +@@ -2348,10 +2413,10 @@ # template(`userdom_dontaudit_manage_user_home_content_dirs',` gen_require(` @@ -31830,7 +31861,7 @@ ') ######################################## -@@ -2383,12 +2447,12 @@ +@@ -2383,12 +2448,12 @@ # template(`userdom_manage_user_home_content_symlinks',` gen_require(` @@ -31846,7 +31877,7 @@ ') ######################################## -@@ -2420,12 +2484,12 @@ +@@ -2420,12 +2485,12 @@ # template(`userdom_manage_user_home_content_pipes',` gen_require(` @@ -31862,7 +31893,7 @@ ') ######################################## -@@ -2457,12 +2521,12 @@ +@@ -2457,12 +2522,12 @@ # template(`userdom_manage_user_home_content_sockets',` gen_require(` @@ -31878,7 +31909,7 @@ ') ######################################## -@@ -2507,11 +2571,11 @@ +@@ -2507,11 +2572,11 @@ # template(`userdom_user_home_dir_filetrans',` gen_require(` @@ -31892,7 +31923,7 @@ ') ######################################## -@@ -2556,11 +2620,11 @@ +@@ -2556,11 +2621,11 @@ # template(`userdom_user_home_content_filetrans',` gen_require(` @@ -31906,7 +31937,7 @@ ') ######################################## -@@ -2600,11 +2664,11 @@ +@@ -2600,11 +2665,11 @@ # template(`userdom_user_home_dir_filetrans_user_home_content',` gen_require(` @@ -31920,7 +31951,7 @@ ') ######################################## -@@ -2634,11 +2698,11 @@ +@@ -2634,11 +2699,11 @@ # template(`userdom_write_user_tmp_sockets',` gen_require(` @@ -31934,7 +31965,7 @@ ') ######################################## -@@ -2668,11 +2732,11 @@ +@@ -2668,11 +2733,11 @@ # template(`userdom_list_user_tmp',` gen_require(` @@ -31948,7 +31979,7 @@ ') ######################################## -@@ -2704,10 +2768,10 @@ +@@ -2704,10 +2769,10 @@ # template(`userdom_dontaudit_list_user_tmp',` gen_require(` @@ -31961,7 +31992,7 @@ ') ######################################## -@@ -2739,10 +2803,10 @@ +@@ -2739,10 +2804,10 @@ # template(`userdom_dontaudit_manage_user_tmp_dirs',` gen_require(` @@ -31974,7 +32005,7 @@ ') ######################################## -@@ -2772,12 +2836,12 @@ +@@ -2772,12 +2837,12 @@ # template(`userdom_read_user_tmp_files',` gen_require(` @@ -31990,7 +32021,7 @@ ') ######################################## -@@ -2809,10 +2873,10 @@ +@@ -2809,10 +2874,10 @@ # template(`userdom_dontaudit_read_user_tmp_files',` gen_require(` @@ -32003,7 +32034,7 @@ ') ######################################## -@@ -2844,10 +2908,48 @@ +@@ -2844,10 +2909,48 @@ # template(`userdom_dontaudit_append_user_tmp_files',` gen_require(` @@ -32054,7 +32085,7 @@ ') ######################################## -@@ -2877,12 +2979,12 @@ +@@ -2877,12 +2980,12 @@ # template(`userdom_rw_user_tmp_files',` gen_require(` @@ -32070,7 +32101,7 @@ ') ######################################## -@@ -2914,10 +3016,10 @@ +@@ -2914,10 +3017,10 @@ # template(`userdom_dontaudit_manage_user_tmp_files',` gen_require(` @@ -32083,7 +32114,7 @@ ') ######################################## -@@ -2949,12 +3051,12 @@ +@@ -2949,12 +3052,12 @@ # template(`userdom_read_user_tmp_symlinks',` gen_require(` @@ -32099,7 +32130,7 @@ ') ######################################## -@@ -2986,11 +3088,11 @@ +@@ -2986,11 +3089,11 @@ # template(`userdom_manage_user_tmp_dirs',` gen_require(` @@ -32113,7 +32144,7 @@ ') ######################################## -@@ -3022,11 +3124,11 @@ +@@ -3022,11 +3125,11 @@ # template(`userdom_manage_user_tmp_files',` gen_require(` @@ -32127,7 +32158,7 @@ ') ######################################## -@@ -3058,11 +3160,11 @@ +@@ -3058,11 +3161,11 @@ # template(`userdom_manage_user_tmp_symlinks',` gen_require(` @@ -32141,7 +32172,7 @@ ') ######################################## -@@ -3094,11 +3196,11 @@ +@@ -3094,11 +3197,11 @@ # template(`userdom_manage_user_tmp_pipes',` gen_require(` @@ -32155,7 +32186,7 @@ ') ######################################## -@@ -3130,11 +3232,11 @@ +@@ -3130,11 +3233,11 @@ # template(`userdom_manage_user_tmp_sockets',` gen_require(` @@ -32169,7 +32200,7 @@ ') ######################################## -@@ -3179,10 +3281,10 @@ +@@ -3179,10 +3282,10 @@ # template(`userdom_user_tmp_filetrans',` gen_require(` @@ -32182,7 +32213,7 @@ files_search_tmp($2) ') -@@ -3223,10 +3325,10 @@ +@@ -3223,10 +3326,10 @@ # template(`userdom_tmp_filetrans_user_tmp',` gen_require(` @@ -32195,7 +32226,7 @@ ') ######################################## -@@ -3254,6 +3356,42 @@ +@@ -3254,6 +3357,42 @@ ## ## # @@ -32238,7 +32269,7 @@ template(`userdom_rw_user_tmpfs_files',` gen_require(` type $1_tmpfs_t; -@@ -4231,11 +4369,11 @@ +@@ -4231,11 +4370,11 @@ # interface(`userdom_search_staff_home_dirs',` gen_require(` @@ -32252,7 +32283,7 @@ ') ######################################## -@@ -4251,10 +4389,10 @@ +@@ -4251,10 +4390,10 @@ # interface(`userdom_dontaudit_search_staff_home_dirs',` gen_require(` @@ -32265,7 +32296,7 @@ ') ######################################## -@@ -4270,11 +4408,11 @@ +@@ -4270,11 +4409,11 @@ # interface(`userdom_manage_staff_home_dirs',` gen_require(` @@ -32279,7 +32310,7 @@ ') ######################################## -@@ -4289,16 +4427,16 @@ +@@ -4289,16 +4428,16 @@ # interface(`userdom_relabelto_staff_home_dirs',` gen_require(` @@ -32299,7 +32330,7 @@ ## users home directory. ## ## -@@ -4307,12 +4445,27 @@ +@@ -4307,12 +4446,27 @@ ## ## # @@ -32330,7 +32361,7 @@ ') ######################################## -@@ -4327,13 +4480,13 @@ +@@ -4327,13 +4481,13 @@ # interface(`userdom_read_staff_home_content_files',` gen_require(` @@ -32348,7 +32379,7 @@ ') ######################################## -@@ -4531,10 +4684,10 @@ +@@ -4531,10 +4685,10 @@ # interface(`userdom_getattr_sysadm_home_dirs',` gen_require(` @@ -32361,7 +32392,7 @@ ') ######################################## -@@ -4551,10 +4704,10 @@ +@@ -4551,10 +4705,10 @@ # interface(`userdom_dontaudit_getattr_sysadm_home_dirs',` gen_require(` @@ -32374,7 +32405,7 @@ ') ######################################## -@@ -4569,10 +4722,10 @@ +@@ -4569,10 +4723,10 @@ # interface(`userdom_search_sysadm_home_dirs',` gen_require(` @@ -32387,7 +32418,7 @@ ') ######################################## -@@ -4588,10 +4741,10 @@ +@@ -4588,10 +4742,10 @@ # interface(`userdom_dontaudit_search_sysadm_home_dirs',` gen_require(` @@ -32400,7 +32431,7 @@ ') ######################################## -@@ -4606,10 +4759,10 @@ +@@ -4606,10 +4760,10 @@ # interface(`userdom_list_sysadm_home_dirs',` gen_require(` @@ -32413,7 +32444,7 @@ ') ######################################## -@@ -4625,10 +4778,10 @@ +@@ -4625,10 +4779,10 @@ # interface(`userdom_dontaudit_list_sysadm_home_dirs',` gen_require(` @@ -32426,7 +32457,7 @@ ') ######################################## -@@ -4644,12 +4797,11 @@ +@@ -4644,12 +4798,11 @@ # interface(`userdom_dontaudit_read_sysadm_home_content_files',` gen_require(` @@ -32442,7 +32473,7 @@ ') ######################################## -@@ -4676,10 +4828,10 @@ +@@ -4676,10 +4829,10 @@ # interface(`userdom_sysadm_home_dir_filetrans',` gen_require(` @@ -32455,7 +32486,7 @@ ') ######################################## -@@ -4694,10 +4846,10 @@ +@@ -4694,10 +4847,10 @@ # interface(`userdom_search_sysadm_home_content_dirs',` gen_require(` @@ -32468,7 +32499,7 @@ ') ######################################## -@@ -4712,13 +4864,13 @@ +@@ -4712,13 +4865,13 @@ # interface(`userdom_read_sysadm_home_content_files',` gen_require(` @@ -32486,7 +32517,7 @@ ') ######################################## -@@ -4754,11 +4906,49 @@ +@@ -4754,11 +4907,49 @@ # interface(`userdom_search_all_users_home_dirs',` gen_require(` @@ -32537,7 +32568,7 @@ ') ######################################## -@@ -4778,6 +4968,14 @@ +@@ -4778,6 +4969,14 @@ files_list_home($1) allow $1 home_dir_type:dir list_dir_perms; @@ -32552,7 +32583,7 @@ ') ######################################## -@@ -4839,6 +5037,26 @@ +@@ -4839,6 +5038,26 @@ ######################################## ## @@ -32579,7 +32610,7 @@ ## Create, read, write, and delete all directories ## in all users home directories. ## -@@ -4859,6 +5077,25 @@ +@@ -4859,6 +5078,25 @@ ######################################## ## @@ -32605,7 +32636,7 @@ ## Create, read, write, and delete all files ## in all users home directories. ## -@@ -4879,6 +5116,26 @@ +@@ -4879,6 +5117,26 @@ ######################################## ## @@ -32632,7 +32663,7 @@ ## Create, read, write, and delete all symlinks ## in all users home directories. ## -@@ -5115,7 +5372,7 @@ +@@ -5115,7 +5373,7 @@ # interface(`userdom_relabelto_generic_user_home_dirs',` gen_require(` @@ -32641,7 +32672,7 @@ ') files_search_home($1) -@@ -5304,6 +5561,50 @@ +@@ -5304,6 +5562,50 @@ ######################################## ## @@ -32692,7 +32723,7 @@ ## Create, read, write, and delete directories in ## unprivileged users home directories. ## -@@ -5509,6 +5810,42 @@ +@@ -5509,6 +5811,42 @@ ######################################## ## @@ -32735,7 +32766,7 @@ ## Read and write unprivileged user ttys. ## ## -@@ -5674,6 +6011,42 @@ +@@ -5674,6 +6012,42 @@ ######################################## ## @@ -32778,7 +32809,7 @@ ## Send a dbus message to all user domains. ## ## -@@ -5704,3 +6077,370 @@ +@@ -5704,3 +6078,370 @@ interface(`userdom_unconfined',` refpolicywarn(`$0($*) has been deprecated.') ') Index: selinux-policy.spec =================================================================== RCS file: /cvs/extras/rpms/selinux-policy/devel/selinux-policy.spec,v retrieving revision 1.643 retrieving revision 1.644 diff -u -r1.643 -r1.644 --- selinux-policy.spec 29 Mar 2008 18:36:09 -0000 1.643 +++ selinux-policy.spec 1 Apr 2008 09:21:21 -0000 1.644 @@ -17,7 +17,7 @@ Summary: SELinux policy configuration Name: selinux-policy Version: 3.3.1 -Release: 26%{?dist} +Release: 27%{?dist} License: GPLv2+ Group: System Environment/Base Source: serefpolicy-%{version}.tgz @@ -387,6 +387,11 @@ %endif %changelog +* Tue Apr 1 2008 Dan Walsh 3.3.1-27 +- Allow nsplugin to read /etc/mozpluggerrc, user_fonts +- Allow syslog to manage innd logs. +- Allow procmail to ioctl spamd_exec_t + * Sat Mar 28 2008 Dan Walsh 3.3.1-26 - Allow initrc_t to dbus chat with consolekit. From fedora-extras-commits at redhat.com Tue Apr 1 09:47:49 2008 From: fedora-extras-commits at redhat.com (Hans de Goede (jwrdegoede)) Date: Tue, 1 Apr 2008 09:47:49 GMT Subject: rpms/liquidwar/devel liquidwar.spec,1.9,1.10 Message-ID: <200804010947.m319lnY4003632@cvs-int.fedora.redhat.com> Author: jwrdegoede Update of /cvs/extras/rpms/liquidwar/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3597 Modified Files: liquidwar.spec Log Message: * Tue Apr 1 2008 Hans de Goede 5.6.4-4 - Add missing BuildRequires: desktop-file-utils Index: liquidwar.spec =================================================================== RCS file: /cvs/extras/rpms/liquidwar/devel/liquidwar.spec,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- liquidwar.spec 19 Feb 2008 09:10:44 -0000 1.9 +++ liquidwar.spec 1 Apr 2008 09:47:09 -0000 1.10 @@ -1,6 +1,6 @@ Name: liquidwar Version: 5.6.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Multiplayer wargame with liquid armies Group: Amusements/Games License: GPLv2+ @@ -11,6 +11,7 @@ Source3: liquidwar.logrotate BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: allegro-devel allegro-tools tetex-latex python texinfo +BuildRequires: desktop-file-utils Requires: hicolor-icon-theme Requires(post): /sbin/install-info Requires(preun): /sbin/install-info @@ -180,6 +181,9 @@ %changelog +* Tue Apr 1 2008 Hans de Goede 5.6.4-4 +- Add missing BuildRequires: desktop-file-utils + * Tue Feb 19 2008 Fedora Release Engineering - 5.6.4-3 - Autorebuild for GCC 4.3 From fedora-extras-commits at redhat.com Tue Apr 1 09:50:12 2008 From: fedora-extras-commits at redhat.com (Hans de Goede (jwrdegoede)) Date: Tue, 1 Apr 2008 09:50:12 GMT Subject: rpms/allegro/devel allegro-4.2.2-gcc43-asm.patch, NONE, 1.1 allegro.spec, 1.49, 1.50 Message-ID: <200804010950.m319oCAd003756@cvs-int.fedora.redhat.com> Author: jwrdegoede Update of /cvs/extras/rpms/allegro/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3721 Modified Files: allegro.spec Added Files: allegro-4.2.2-gcc43-asm.patch Log Message: * Tue Apr 1 2008 Hans de Goede 4.2.2-9 - Fix i386 asm code compilation with latest binutils - Remove -fomit-frame-pointer from the compile flags of the default build, so that we get a usefull debuginfo even for the normal (non debug/profile) lib allegro-4.2.2-gcc43-asm.patch: --- NEW FILE allegro-4.2.2-gcc43-asm.patch --- diff -up allegro-4.2.2/src/i386/icpus.s~ allegro-4.2.2/src/i386/icpus.s --- allegro-4.2.2/src/i386/icpus.s~ 2008-03-20 15:11:46.000000000 +0100 +++ allegro-4.2.2/src/i386/icpus.s 2008-03-20 15:11:46.000000000 +0100 @@ -67,7 +67,7 @@ FUNC(_i_is_fpu) fninit movl $0x5A5A, %eax - fnstsw %eax + fnstsw %ax cmpl $0, %eax jne is_fpu_not_found Index: allegro.spec =================================================================== RCS file: /cvs/extras/rpms/allegro/devel/allegro.spec,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- allegro.spec 19 Feb 2008 06:42:36 -0000 1.49 +++ allegro.spec 1 Apr 2008 09:49:30 -0000 1.50 @@ -1,6 +1,6 @@ Name: allegro Version: 4.2.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A game programming library Summary(es): Una libreria de programacion de juegos @@ -20,6 +20,7 @@ Patch6: allegro-4.0.3-libdir.patch Patch7: allegro-4.2.2-pulseaudio.patch Patch8: allegro-4.2.2-gcc43.patch +Patch9: allegro-4.2.2-gcc43-asm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: esound-devel, texinfo, perl, arts-devel, glib2-devel BuildRequires: xorg-x11-proto-devel, libX11-devel, libXext-devel, libXt-devel @@ -163,6 +164,7 @@ %patch6 -p1 -z .multilib2 %patch7 -p1 -z .pulse %patch8 -p1 -z .gcc43 +%patch9 -p1 -z .gcc43-asm iconv -f iso-8859-1 -t utf-8 docs/src/allegro._tx > docs/src/allegro._tx.tmp mv docs/src/allegro._tx.tmp docs/src/allegro._tx @@ -174,12 +176,12 @@ %endif --enable-svgalib=no \ --enable-dbglib=yes \ - --enable-proflib=yes -%ifnarch %{ix86} -make CFLAGS="$RPM_OPT_FLAGS -DALLEGRO_USE_C -I%{_includedir}/kde/artsc" -%else -make CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/kde/artsc" -%endif + --enable-proflib=yes \ + --enable-opts=generic +# GRRR configure insists on adding -fomit-frame-pointer, remove it +sed -i 's/-fomit-frame-pointer//g' makefile +# Explicitly set PROG_LDFLAGS to avoid stripping of the utilities +make CFLAGS="$RPM_OPT_FLAGS" PROG_LDFLAGS="-Wl,--export-dynamic" %install @@ -291,6 +293,11 @@ %changelog +* Tue Apr 1 2008 Hans de Goede 4.2.2-9 +- Fix i386 asm code compilation with latest binutils +- Remove -fomit-frame-pointer from the compile flags of the default build, so + that we get a usefull debuginfo even for the normal (non debug/profile) lib + * Tue Feb 19 2008 Fedora Release Engineering - 4.2.2-8 - Autorebuild for GCC 4.3 From fedora-extras-commits at redhat.com Tue Apr 1 09:53:44 2008 From: fedora-extras-commits at redhat.com (Denis Leroy (denis)) Date: Tue, 1 Apr 2008 09:53:44 GMT Subject: rpms/k3d/devel k3d-0.6.7.0-sigc2.patch,NONE,1.1 k3d.spec,1.20,1.21 Message-ID: <200804010953.m319riQl003934@cvs-int.fedora.redhat.com> Author: denis Update of /cvs/pkgs/rpms/k3d/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3904 Modified Files: k3d.spec Added Files: k3d-0.6.7.0-sigc2.patch Log Message: Added patch to fix sigc++ include headers k3d-0.6.7.0-sigc2.patch: --- NEW FILE k3d-0.6.7.0-sigc2.patch --- --- k3d-0.6.7.0/k3dsdk/node.cpp~ 2006-05-31 22:27:27.000000000 +0200 +++ k3d-0.6.7.0/k3dsdk/node.cpp 2008-04-01 11:32:56.000000000 +0200 @@ -26,6 +26,7 @@ #include "iplugin_factory.h" #include "node.h" +#include #include #include --- k3d-0.6.7.0/k3dsdk/mesh_modifier.h~ 2006-02-19 06:43:39.000000000 +0100 +++ k3d-0.6.7.0/k3dsdk/mesh_modifier.h 2008-04-01 11:32:52.000000000 +0200 @@ -27,6 +27,8 @@ #include "imesh_source.h" #include "mesh.h" +#include + namespace k3d { Index: k3d.spec =================================================================== RCS file: /cvs/pkgs/rpms/k3d/devel/k3d.spec,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- k3d.spec 16 Feb 2008 16:18:00 -0000 1.20 +++ k3d.spec 1 Apr 2008 09:53:03 -0000 1.21 @@ -12,6 +12,7 @@ Patch1: k3d-0.6.6.0-vfs.patch Patch2: k3d-0.6.7.0-desktop.patch Patch3: k3d-0.6.7.0-gcc43.patch +Patch4: k3d-0.6.7.0-sigc2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: aqsis @@ -77,6 +78,7 @@ %patch1 -p1 -b .vfs %patch2 -p1 -b .desktop %patch3 -p1 -b .gcc43 +%patch4 -p1 -b .sigc2 %build @@ -159,6 +161,9 @@ %changelog +* Tue Apr 1 2008 Denis Leroy - 0.6.7.0-5 +- Added patch to fix sigc++ include headers + * Sat Feb 16 2008 Denis Leroy - 0.6.7.0-5 - Added patch for gcc 4.3 rebuild From fedora-extras-commits at redhat.com Tue Apr 1 10:05:04 2008 From: fedora-extras-commits at redhat.com (David Nielsen (dnielsen)) Date: Tue, 1 Apr 2008 10:05:04 GMT Subject: rpms/gnome-do/devel gnome-do.spec,1.9,1.10 Message-ID: <200804011005.m31A54K6010425@cvs-int.fedora.redhat.com> Author: dnielsen Update of /cvs/pkgs/rpms/gnome-do/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10371/devel Modified Files: gnome-do.spec Log Message: Fix 439793 Index: gnome-do.spec =================================================================== RCS file: /cvs/pkgs/rpms/gnome-do/devel/gnome-do.spec,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- gnome-do.spec 29 Mar 2008 12:30:41 -0000 1.9 +++ gnome-do.spec 1 Apr 2008 10:04:26 -0000 1.10 @@ -2,12 +2,12 @@ Name: gnome-do Version: 0.4.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Quick launch and search License: GPLv3+ Group: Applications/File -URL: https://edge.launchpad.net/gc/ +URL: http://do.davebsd.com/ Source0: http://do.davebsd.com/src/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-libdir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -82,6 +82,9 @@ %{_libdir}/pkgconfig/* %changelog +* Tue Apr 01 2008 David Nielsen - 0.4.0.1-2 +- #439793 - correct URL + * Sat Mar 29 2008 David Nielsen - 0.4.0.1-1 - Bump to 0.4.0.1 - Hopefully bring an end to the endless dups of 432201 From fedora-extras-commits at redhat.com Tue Apr 1 10:14:55 2008 From: fedora-extras-commits at redhat.com (David Nielsen (dnielsen)) Date: Tue, 1 Apr 2008 10:14:55 GMT Subject: rpms/mono-zeroconf/devel mono-zeroconf.spec,1.3,1.4 Message-ID: <200804011014.m31AEti9010745@cvs-int.fedora.redhat.com> Author: dnielsen Update of /cvs/pkgs/rpms/mono-zeroconf/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10696/devel Modified Files: mono-zeroconf.spec Log Message: Remove debuginfo and mono minimum requirement Index: mono-zeroconf.spec =================================================================== RCS file: /cvs/pkgs/rpms/mono-zeroconf/devel/mono-zeroconf.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- mono-zeroconf.spec 1 Feb 2008 07:17:34 -0000 1.3 +++ mono-zeroconf.spec 1 Apr 2008 10:14:20 -0000 1.4 @@ -1,6 +1,8 @@ +%define debug_package %{nil} + Name: mono-zeroconf Version: 0.7.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Mono-zeroconf namespace Group: Development/Languages License: GPLv2 @@ -8,7 +10,7 @@ Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-libdir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: mono-devel >= 1.2.6, avahi-sharp, monodoc-devel +BuildRequires: mono-devel, avahi-sharp, monodoc-devel Requires: monodoc # Bug 241850 - no Mono on pp64 @@ -57,6 +59,9 @@ %{_libdir}/pkgconfig/mono-zeroconf.pc %changelog +* Mon Mar 31 2008 David Nielsen - 0.7.5-3 +- Remove debuginfo + * Fri Feb 01 2008 David Nielsen - 0.7.5-2 - Exclude ppc64 - Spec fixes From fedora-extras-commits at redhat.com Tue Apr 1 10:16:49 2008 From: fedora-extras-commits at redhat.com (Than Ngo (than)) Date: Tue, 1 Apr 2008 10:16:49 GMT Subject: rpms/kde-l10n/devel .cvsignore, 1.5, 1.6 kde-l10n.spec, 1.16, 1.17 sources, 1.5, 1.6 Message-ID: <200804011016.m31AGnY7010856@cvs-int.fedora.redhat.com> Author: than Update of /cvs/extras/rpms/kde-l10n/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10792 Modified Files: .cvsignore kde-l10n.spec sources Log Message: 4.0.3 Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/kde-l10n/devel/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 3 Mar 2008 12:56:34 -0000 1.5 +++ .cvsignore 1 Apr 2008 10:16:15 -0000 1.6 @@ -131,3 +131,48 @@ kde-l10n-wa-4.0.2.tar.bz2 kde-l10n-zh_CN-4.0.2.tar.bz2 kde-l10n-zh_TW-4.0.2.tar.bz2 +kde-l10n-ar-4.0.3.tar.bz2 +kde-l10n-be-4.0.3.tar.bz2 +kde-l10n-bg-4.0.3.tar.bz2 +kde-l10n-ca-4.0.3.tar.bz2 +kde-l10n-cs-4.0.3.tar.bz2 +kde-l10n-csb-4.0.3.tar.bz2 +kde-l10n-da-4.0.3.tar.bz2 +kde-l10n-de-4.0.3.tar.bz2 +kde-l10n-el-4.0.3.tar.bz2 +kde-l10n-en_GB-4.0.3.tar.bz2 +kde-l10n-eo-4.0.3.tar.bz2 +kde-l10n-es-4.0.3.tar.bz2 +kde-l10n-et-4.0.3.tar.bz2 +kde-l10n-eu-4.0.3.tar.bz2 +kde-l10n-fi-4.0.3.tar.bz2 +kde-l10n-fr-4.0.3.tar.bz2 +kde-l10n-ga-4.0.3.tar.bz2 +kde-l10n-gl-4.0.3.tar.bz2 +kde-l10n-hi-4.0.3.tar.bz2 +kde-l10n-hu-4.0.3.tar.bz2 +kde-l10n-it-4.0.3.tar.bz2 +kde-l10n-ja-4.0.3.tar.bz2 +kde-l10n-km-4.0.3.tar.bz2 +kde-l10n-ko-4.0.3.tar.bz2 +kde-l10n-mk-4.0.3.tar.bz2 +kde-l10n-lv-4.0.3.tar.bz2 +kde-l10n-nb-4.0.3.tar.bz2 +kde-l10n-nds-4.0.3.tar.bz2 +kde-l10n-ne-4.0.3.tar.bz2 +kde-l10n-nl-4.0.3.tar.bz2 +kde-l10n-nn-4.0.3.tar.bz2 +kde-l10n-pa-4.0.3.tar.bz2 +kde-l10n-pl-4.0.3.tar.bz2 +kde-l10n-pt-4.0.3.tar.bz2 +kde-l10n-pt_BR-4.0.3.tar.bz2 +kde-l10n-ru-4.0.3.tar.bz2 +kde-l10n-se-4.0.3.tar.bz2 +kde-l10n-sl-4.0.3.tar.bz2 +kde-l10n-sv-4.0.3.tar.bz2 +kde-l10n-th-4.0.3.tar.bz2 +kde-l10n-tr-4.0.3.tar.bz2 +kde-l10n-uk-4.0.3.tar.bz2 +kde-l10n-wa-4.0.3.tar.bz2 +kde-l10n-zh_CN-4.0.3.tar.bz2 +kde-l10n-zh_TW-4.0.3.tar.bz2 Index: kde-l10n.spec =================================================================== RCS file: /cvs/extras/rpms/kde-l10n/devel/kde-l10n.spec,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- kde-l10n.spec 3 Mar 2008 14:46:54 -0000 1.16 +++ kde-l10n.spec 1 Apr 2008 10:16:15 -0000 1.17 @@ -1,7 +1,7 @@ %define buildall 0 Name: kde-l10n -Version: 4.0.2 +Version: 4.0.3 Release: 1%{dist} Url: http://www.kde.org Summary: Internationalization support for KDE @@ -1189,6 +1189,9 @@ %lang(zh_TW) %{_datadir}/locale/zh_TW/* %changelog +* Tue Apr 01 2008 Than Ngo 4.0.3-1 +- 4.0.3 + * Mon Mar 03 2008 Than Ngo 4.0.2-1 - 4.0.2 Index: sources =================================================================== RCS file: /cvs/extras/rpms/kde-l10n/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 3 Mar 2008 12:56:34 -0000 1.5 +++ sources 1 Apr 2008 10:16:15 -0000 1.6 @@ -1,45 +1,45 @@ -7eb3f8912a54bfd855d1e8956f386fe9 kde-l10n-ar-4.0.2.tar.bz2 -c02c67f71305b62cc33663fea0c8f574 kde-l10n-be-4.0.2.tar.bz2 -71f9b0ddfd43e4be2850de94d64cc792 kde-l10n-bg-4.0.2.tar.bz2 -e9efec6d7bdb2954a0161a3697aac441 kde-l10n-ca-4.0.2.tar.bz2 -d316108bbdeb8c2cd7ecc62ede2c1785 kde-l10n-cs-4.0.2.tar.bz2 -caef781008569069ac8585380e54a291 kde-l10n-csb-4.0.2.tar.bz2 -9e979225383c00b73a93cbae5328dbc2 kde-l10n-da-4.0.2.tar.bz2 -56b7e67c617d7a97cad91df41765b650 kde-l10n-de-4.0.2.tar.bz2 -292e00df7a8a930f4fd4ea693a5cbd50 kde-l10n-el-4.0.2.tar.bz2 -9c74d4606a397f160916c2dd0b6deeea kde-l10n-en_GB-4.0.2.tar.bz2 -6b942a03c60311d0273e43eac64884fa kde-l10n-eo-4.0.2.tar.bz2 -c86e6a4bfcfc242260c0bd6b1a5c8d6b kde-l10n-es-4.0.2.tar.bz2 -ee2bdae262e17f3215c80d9c4624b3dd kde-l10n-et-4.0.2.tar.bz2 -002c3d8367d90549d0350a5723228408 kde-l10n-eu-4.0.2.tar.bz2 -d26f79e0ecc071d3bc22b2455c697383 kde-l10n-fi-4.0.2.tar.bz2 -5b775530134858b25a5a78555ae812d5 kde-l10n-fr-4.0.2.tar.bz2 -21172ddeffd4a3355a0b700834ce4eea kde-l10n-ga-4.0.2.tar.bz2 -cc90adaf7bfc591c53653540e268631d kde-l10n-gl-4.0.2.tar.bz2 -d2cb424cabebc54996225176e6b85591 kde-l10n-hi-4.0.2.tar.bz2 -6b2bffb65d811b05dd038498a65fabd7 kde-l10n-hu-4.0.2.tar.bz2 -31de13ef52381250178fd32eeac9e5fa kde-l10n-it-4.0.2.tar.bz2 -fbed60a10cf19b012ecaae09f3415f92 kde-l10n-ja-4.0.2.tar.bz2 -9e1fed21863ba08e05ce2d66df566954 kde-l10n-km-4.0.2.tar.bz2 -b7364ab5cef941a39b6166624a1bdbf8 kde-l10n-ko-4.0.2.tar.bz2 -14f2da2b53d0cd35b3fac3aba64d28b3 kde-l10n-mk-4.0.2.tar.bz2 -ab897bf89ee80c2548af0c3a21ae9e87 kde-l10n-lv-4.0.2.tar.bz2 -9da3b8b83bc7ce0dd6678baf19e408f9 kde-l10n-nb-4.0.2.tar.bz2 -a5f8a74ecd211197f5b3609346077c7b kde-l10n-nds-4.0.2.tar.bz2 -0940569b04ef0a049bfa26012d729273 kde-l10n-ne-4.0.2.tar.bz2 -ee9651792e75ad98891ab95c3db397f9 kde-l10n-nl-4.0.2.tar.bz2 -ed6ec39f0ece0128e7f1d44115d8ad6b kde-l10n-nn-4.0.2.tar.bz2 -1d347c3330272224f65bbcf78337425b kde-l10n-pa-4.0.2.tar.bz2 -17756a5f9bbb813315b08655d51e9187 kde-l10n-pl-4.0.2.tar.bz2 -e6a3b09ff9c64176b3d758cae90d1a43 kde-l10n-pt-4.0.2.tar.bz2 -6fa11383e79ed536bf4b4118a3d26033 kde-l10n-pt_BR-4.0.2.tar.bz2 -91f98c134b2fc7b8ba760b675ea30dd6 kde-l10n-ru-4.0.2.tar.bz2 -e22ea3a549a6b15706ad5a49bfea7ad2 kde-l10n-se-4.0.2.tar.bz2 -9c650d1ffb30e909fd85b5a790fc69c7 kde-l10n-sl-4.0.2.tar.bz2 -9dc35f123d8fb9df634fa84033374259 kde-l10n-sv-4.0.2.tar.bz2 -4509283a19b42d6a22f7b36db3326d6a kde-l10n-th-4.0.2.tar.bz2 -01edffb4e27c5a80b12e090cd04b82a6 kde-l10n-tr-4.0.2.tar.bz2 -5f7e65db801b224419a1178734a0c557 kde-l10n-uk-4.0.2.tar.bz2 -72d3f2dcc42cad0203a4af5832809786 kde-l10n-wa-4.0.2.tar.bz2 -b4253ac4657f43138c71a6248e2054ce kde-l10n-zh_CN-4.0.2.tar.bz2 -d04097d9e73dcd04da78545d31d9f409 kde-l10n-zh_TW-4.0.2.tar.bz2 +1a17f15f2373c5bc266e3708ae50984e kde-l10n-ar-4.0.3.tar.bz2 +2ca020f451cb9048482f73ac2a0a5494 kde-l10n-be-4.0.3.tar.bz2 +75f8f7f53961feca33d79dfad4415531 kde-l10n-bg-4.0.3.tar.bz2 +f39c0c4f7f427baf207bb1f56f3d3404 kde-l10n-ca-4.0.3.tar.bz2 +d74ddb4bdd85b48e28b0318f77f72203 kde-l10n-cs-4.0.3.tar.bz2 +491de80a16efde0d8137fb7bac7fb22b kde-l10n-csb-4.0.3.tar.bz2 +4634b36867e68e4c2eb734335f9a20fb kde-l10n-da-4.0.3.tar.bz2 +eaaf6902cbfdec28a2d17f47addf6b6e kde-l10n-de-4.0.3.tar.bz2 +eb43699cb555891415d918eaf49cc3b2 kde-l10n-el-4.0.3.tar.bz2 +3dd8fb7758602c6fd36ba4bab7c27374 kde-l10n-en_GB-4.0.3.tar.bz2 +f22fe699a74751c4ad93df1e908daf0f kde-l10n-eo-4.0.3.tar.bz2 +095e1bc34f4e08f8f6bc3a108c83eaa5 kde-l10n-es-4.0.3.tar.bz2 +49b01ce6bf14553f36e7bc8a0b379f37 kde-l10n-et-4.0.3.tar.bz2 +f1bd7456da839fc354b6cbecc89c1c88 kde-l10n-eu-4.0.3.tar.bz2 +e785f870785bb569aaeea2cf46acdf38 kde-l10n-fi-4.0.3.tar.bz2 +0aa87f8161f42b5ff88b1368cd0a03a9 kde-l10n-fr-4.0.3.tar.bz2 +9c883e7b9bcd799aa7852a72e22fc5f4 kde-l10n-ga-4.0.3.tar.bz2 +acbf812aa121fe08f1f9f5c315294380 kde-l10n-gl-4.0.3.tar.bz2 +13e145832513757f4140ea5577e25a96 kde-l10n-hi-4.0.3.tar.bz2 +149366cc93fcfdbe5c323c0f426cbe6d kde-l10n-hu-4.0.3.tar.bz2 +ea8c52d87d018bbced6f923247c8ad3b kde-l10n-it-4.0.3.tar.bz2 +256fb57f2cde2c5938d25d44f37a9e5e kde-l10n-ja-4.0.3.tar.bz2 +85a4540105ca6b112d3eb58f1e50811f kde-l10n-km-4.0.3.tar.bz2 +5e241003854de6f57d834de50956af26 kde-l10n-ko-4.0.3.tar.bz2 +65c4f9b2ca37e4bb8730b259aab32419 kde-l10n-mk-4.0.3.tar.bz2 +812de44ef51ccba3863444b283ca2db9 kde-l10n-lv-4.0.3.tar.bz2 +c4b267d76f37a91c022bcf87707bd33a kde-l10n-nb-4.0.3.tar.bz2 +c14b0237831ace2c94b72d80012d31ef kde-l10n-nds-4.0.3.tar.bz2 +96319396d2ae177b63f6584ab462f257 kde-l10n-ne-4.0.3.tar.bz2 +d1c008d3f1763d6a0f91e80ed6d9e4c7 kde-l10n-nl-4.0.3.tar.bz2 +c8cd28a7fffb16614d0f30b6d7fadc09 kde-l10n-nn-4.0.3.tar.bz2 +e0c2c1cd1f9bcb85fe4dac924f9950e5 kde-l10n-pa-4.0.3.tar.bz2 +01beb6ae6d3a08a744a92c515fd52edd kde-l10n-pl-4.0.3.tar.bz2 +87d47bf3be01f4ca9f2ff3d6f5176cbe kde-l10n-pt-4.0.3.tar.bz2 +05b99352924d5fa71da028ecc13ac0b3 kde-l10n-pt_BR-4.0.3.tar.bz2 +47a3bed86a6e3fe9d1f309efe9df0c23 kde-l10n-ru-4.0.3.tar.bz2 +6e51cffbe107e7d88af2305eb607785c kde-l10n-se-4.0.3.tar.bz2 +dff092453f9cca803650c3d788fed546 kde-l10n-sl-4.0.3.tar.bz2 +79eb37a63297a474e04b1e369ea68fe1 kde-l10n-sv-4.0.3.tar.bz2 +2c027915e952a910182328db0e97cc33 kde-l10n-th-4.0.3.tar.bz2 +f5e6976565880b1321d9793eeadfaf9d kde-l10n-tr-4.0.3.tar.bz2 +31e1e7fcf581e18e44683682f267d4b0 kde-l10n-uk-4.0.3.tar.bz2 +6921697e85ea60d3f0a2a2300e37f28e kde-l10n-wa-4.0.3.tar.bz2 +0c54fd1485f0d6728256835e1942d418 kde-l10n-zh_CN-4.0.3.tar.bz2 +fb1d1404e6754a1d20e55cb0972eae5a kde-l10n-zh_TW-4.0.3.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 10:29:37 2008 From: fedora-extras-commits at redhat.com (David Nielsen (dnielsen)) Date: Tue, 1 Apr 2008 10:29:37 GMT Subject: rpms/mono-zeroconf/F-8 mono-zeroconf-libdir.patch,NONE,1.1 Message-ID: <200804011029.m31ATbZo011485@cvs-int.fedora.redhat.com> Author: dnielsen Update of /cvs/pkgs/rpms/mono-zeroconf/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11398 Added Files: mono-zeroconf-libdir.patch Log Message: add patch that disappeared in the first commit http://koji.fedoraproject.org/koji/getfile?taskID=541567 mono-zeroconf-libdir.patch: --- NEW FILE mono-zeroconf-libdir.patch --- diff -uarN mono-zeroconf-0.7.5.orig/configure mono-zeroconf-0.7.5/configure --- mono-zeroconf-0.7.5.orig/configure 2008-01-25 20:28:05.000000000 +0100 +++ mono-zeroconf-0.7.5/configure 2008-02-01 07:47:03.000000000 +0100 @@ -3100,8 +3100,8 @@ { (exit 1); exit 1; }; } fi -GACUTIL_FLAGS='-package $(PACKAGE) -root $(DESTDIR)$(prefix)/lib' -GACUTIL_POLICY_FLAGS='-root $(DESTDIR)$(prefix)/lib' +GACUTIL_FLAGS='-package $(PACKAGE) -root $(DESTDIR)$(libdir)' +GACUTIL_POLICY_FLAGS='-root $(DESTDIR)$(libdir)' diff -uarN mono-zeroconf-0.7.5.orig/configure.ac mono-zeroconf-0.7.5/configure.ac --- mono-zeroconf-0.7.5.orig/configure.ac 2008-01-25 20:27:33.000000000 +0100 +++ mono-zeroconf-0.7.5/configure.ac 2008-02-01 07:47:44.000000000 +0100 @@ -33,8 +33,8 @@ AC_MSG_ERROR([You need to install al]) fi -GACUTIL_FLAGS='-package $(PACKAGE) -root $(DESTDIR)$(prefix)/lib' -GACUTIL_POLICY_FLAGS='-root $(DESTDIR)$(prefix)/lib' +GACUTIL_FLAGS='-package $(PACKAGE) -root $(DESTDIR)$(libdir)' +GACUTIL_POLICY_FLAGS='-root $(DESTDIR)$(libdir)' AC_SUBST(GACUTIL_FLAGS) AC_SUBST(GACUTIL_POLICY_FLAGS) From fedora-extras-commits at redhat.com Tue Apr 1 10:31:02 2008 From: fedora-extras-commits at redhat.com (Miroslav Lichvar (mlichvar)) Date: Tue, 1 Apr 2008 10:31:02 GMT Subject: rpms/conky/devel .cvsignore, 1.5, 1.6 conky.spec, 1.8, 1.9 sources, 1.5, 1.6 conky-1.5.0-includes.patch, 1.1, NONE Message-ID: <200804011031.m31AV2PL011592@cvs-int.fedora.redhat.com> Author: mlichvar Update of /cvs/pkgs/rpms/conky/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11528 Modified Files: .cvsignore conky.spec sources Removed Files: conky-1.5.0-includes.patch Log Message: - Update to 1.5.1 Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/conky/devel/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 23 Mar 2008 12:02:54 -0000 1.5 +++ .cvsignore 1 Apr 2008 10:30:19 -0000 1.6 @@ -1 +1 @@ -conky-1.5.0.tar.bz2 +conky-1.5.1.tar.bz2 Index: conky.spec =================================================================== RCS file: /cvs/pkgs/rpms/conky/devel/conky.spec,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- conky.spec 23 Mar 2008 12:02:54 -0000 1.8 +++ conky.spec 1 Apr 2008 10:30:19 -0000 1.9 @@ -5,7 +5,7 @@ %bcond_without wlan Name: conky -Version: 1.5.0 +Version: 1.5.1 Release: 1%{?dist} Summary: A system monitor for X @@ -15,8 +15,6 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch0: conky-1.5.0-includes.patch - BuildRequires: libXft-devel BuildRequires: libXt-devel BuildRequires: libXdamage-devel @@ -39,7 +37,6 @@ %prep %setup -q -%patch0 -p1 -b .includes for i in AUTHORS ChangeLog; do iconv -f iso8859-1 -t utf8 -o ${i}{_,} && touch -r ${i}{,_} && mv -f ${i}{_,} @@ -85,6 +82,9 @@ %changelog +* Tue Apr 01 2008 Miroslav Lichvar - 1.5.1-1 +- Update to 1.5.1 + * Sun Mar 23 2008 Miroslav Lichvar - 1.5.0-1 - Update to 1.5.0 - Convert doc files to UTF-8 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/conky/devel/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 23 Mar 2008 12:02:54 -0000 1.5 +++ sources 1 Apr 2008 10:30:19 -0000 1.6 @@ -1 +1 @@ -07fa339276289ddc31303a8081c85214 conky-1.5.0.tar.bz2 +afc121a67e4405cb44b7738be79946ac conky-1.5.1.tar.bz2 --- conky-1.5.0-includes.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 10:37:15 2008 From: fedora-extras-commits at redhat.com (Miroslav Lichvar (mlichvar)) Date: Tue, 1 Apr 2008 10:37:15 GMT Subject: rpms/conky/F-8 .cvsignore, 1.5, 1.6 conky.spec, 1.7, 1.8 sources, 1.5, 1.6 conky-1.5.0-includes.patch, 1.1, NONE Message-ID: <200804011037.m31AbFua011819@cvs-int.fedora.redhat.com> Author: mlichvar Update of /cvs/pkgs/rpms/conky/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11781 Modified Files: .cvsignore conky.spec sources Removed Files: conky-1.5.0-includes.patch Log Message: - Update to 1.5.1 Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/conky/F-8/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 23 Mar 2008 12:14:42 -0000 1.5 +++ .cvsignore 1 Apr 2008 10:36:27 -0000 1.6 @@ -1 +1 @@ -conky-1.5.0.tar.bz2 +conky-1.5.1.tar.bz2 Index: conky.spec =================================================================== RCS file: /cvs/pkgs/rpms/conky/F-8/conky.spec,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- conky.spec 23 Mar 2008 12:14:42 -0000 1.7 +++ conky.spec 1 Apr 2008 10:36:27 -0000 1.8 @@ -5,7 +5,7 @@ %bcond_without wlan Name: conky -Version: 1.5.0 +Version: 1.5.1 Release: 1%{?dist} Summary: A system monitor for X @@ -15,8 +15,6 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch0: conky-1.5.0-includes.patch - BuildRequires: libXft-devel BuildRequires: libXt-devel BuildRequires: libXdamage-devel @@ -39,7 +37,6 @@ %prep %setup -q -%patch0 -p1 -b .includes for i in AUTHORS ChangeLog; do iconv -f iso8859-1 -t utf8 -o ${i}{_,} && touch -r ${i}{,_} && mv -f ${i}{_,} @@ -85,6 +82,9 @@ %changelog +* Tue Apr 01 2008 Miroslav Lichvar - 1.5.1-1 +- Update to 1.5.1 + * Sun Mar 23 2008 Miroslav Lichvar - 1.5.0-1 - Update to 1.5.0 - Convert doc files to UTF-8 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/conky/F-8/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 23 Mar 2008 12:14:42 -0000 1.5 +++ sources 1 Apr 2008 10:36:27 -0000 1.6 @@ -1 +1 @@ -07fa339276289ddc31303a8081c85214 conky-1.5.0.tar.bz2 +afc121a67e4405cb44b7738be79946ac conky-1.5.1.tar.bz2 --- conky-1.5.0-includes.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 10:38:13 2008 From: fedora-extras-commits at redhat.com (Miroslav Lichvar (mlichvar)) Date: Tue, 1 Apr 2008 10:38:13 GMT Subject: rpms/conky/F-7 .cvsignore, 1.5, 1.6 conky.spec, 1.6, 1.7 sources, 1.5, 1.6 conky-1.5.0-includes.patch, 1.1, NONE Message-ID: <200804011038.m31AcDB1011919@cvs-int.fedora.redhat.com> Author: mlichvar Update of /cvs/pkgs/rpms/conky/F-7 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11825 Modified Files: .cvsignore conky.spec sources Removed Files: conky-1.5.0-includes.patch Log Message: - Update to 1.5.1 Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/conky/F-7/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- .cvsignore 23 Mar 2008 12:17:17 -0000 1.5 +++ .cvsignore 1 Apr 2008 10:37:33 -0000 1.6 @@ -1 +1 @@ -conky-1.5.0.tar.bz2 +conky-1.5.1.tar.bz2 Index: conky.spec =================================================================== RCS file: /cvs/pkgs/rpms/conky/F-7/conky.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- conky.spec 23 Mar 2008 12:17:17 -0000 1.6 +++ conky.spec 1 Apr 2008 10:37:33 -0000 1.7 @@ -5,7 +5,7 @@ %bcond_without wlan Name: conky -Version: 1.5.0 +Version: 1.5.1 Release: 1%{?dist} Summary: A system monitor for X @@ -15,8 +15,6 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Patch0: conky-1.5.0-includes.patch - BuildRequires: libXft-devel BuildRequires: libXt-devel BuildRequires: libXdamage-devel @@ -38,7 +36,6 @@ %prep %setup -q -%patch0 -p1 -b .includes for i in AUTHORS ChangeLog; do iconv -f iso8859-1 -t utf8 -o ${i}{_,} && touch -r ${i}{,_} && mv -f ${i}{_,} @@ -84,6 +81,9 @@ %changelog +* Tue Apr 01 2008 Miroslav Lichvar - 1.5.1-1 +- Update to 1.5.1 + * Sun Mar 23 2008 Miroslav Lichvar - 1.5.0-1 - Update to 1.5.0 - Convert doc files to UTF-8 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/conky/F-7/sources,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sources 23 Mar 2008 12:17:17 -0000 1.5 +++ sources 1 Apr 2008 10:37:33 -0000 1.6 @@ -1 +1 @@ -07fa339276289ddc31303a8081c85214 conky-1.5.0.tar.bz2 +afc121a67e4405cb44b7738be79946ac conky-1.5.1.tar.bz2 --- conky-1.5.0-includes.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 10:39:02 2008 From: fedora-extras-commits at redhat.com (Mark McLoughlin (markmc)) Date: Tue, 1 Apr 2008 10:39:02 GMT Subject: rpms/kernel-xen-2.6/devel/scripts rebase.sh,1.2,1.3 Message-ID: <200804011039.m31Ad2IV012205@cvs-int.fedora.redhat.com> Author: markmc Update of /cvs/pkgs/rpms/kernel-xen-2.6/devel/scripts In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11887/scripts Modified Files: rebase.sh Log Message: * Tue Apr 1 2008 Mark McLoughlin - Update to kernel-2_6_25-0_182_rc7_git6_fc9 - Fix oops when dlclose()ing some prelink libs (#436453) - Drop the patch to make hvc0 the preferred console (#437706, #434761) Index: rebase.sh =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/scripts/rebase.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- rebase.sh 6 Mar 2008 13:59:34 -0000 1.2 +++ rebase.sh 1 Apr 2008 10:38:18 -0000 1.3 @@ -155,9 +155,9 @@ cvs add patch-$NEW.bz2.sign if [ "$OLDGIT" -ne 0 ]; then rm -f patch-$OLD.bz2 + rm -f patch-$OLD.bz2.sign + cvs remove patch-$OLD.bz2.sign fi - rm -f patch-$OLD.bz2.sign - cvs remove patch-$OLD.bz2.sign fi if [ "$OLDRC" != "$NEWRC" -o "$OLDGIT" != "$NEWGIT" ]; then From fedora-extras-commits at redhat.com Tue Apr 1 10:39:08 2008 From: fedora-extras-commits at redhat.com (Mark McLoughlin (markmc)) Date: Tue, 1 Apr 2008 10:39:08 GMT Subject: rpms/kernel-xen-2.6/devel linux-2.6-alsa-kill-annoying-messages.patch, NONE, 1.1 linux-2.6-debug-vm-would-have-oomkilled.patch, NONE, 1.1 linux-2.6-drm-i915-modeset.patch, NONE, 1.1 linux-2.6-drm-radeon-fix-oops.patch, NONE, 1.1 linux-2.6-imac-transparent-bridge.patch, NONE, 1.1 linux-2.6-input-macbook-appletouch.patch, NONE, 1.1 linux-2.6-ms-wireless-receiver.patch, NONE, 1.1 linux-2.6-powerpc-zImage-32MiB.patch, NONE, 1.1 linux-2.6-sata-eeepc-faster.patch, NONE, 1.1 linux-2.6-sparc-selinux-mprotect-checks.patch, NONE, 1.1 linux-2.6-utrace.patch, 1.3, 1.4 linux-2.6-windfarm-pm121-fix.patch, NONE, 1.1 linux-2.6-windfarm-pm121.patch, NONE, 1.1 linux-2.6-xen-0004-xen-Do-not-pin-unpin-PMD-pages.patch, NONE, 1.1 linux-2.6-xen-0006-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch, 1.3, 1.4 linux-2.6-xen-0007-xen-Module-autoprobing-support-for-frontend-drivers.patch, 1.3, 1.4 linux-2.6-xen-0008-xen-Add-compatibility-aliases-for-frontend-drivers.patch, 1.3, 1.4 linux-2.6-xen-0009-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch, 1.2, 1.3 linux-2.6-xen-0010-xen-Add-a-vmlinuz-target.patch, 1.2, 1.3 linux-2.6-xen-0011-xen-Add-empty-xenctrl-module.patch, 1.2, 1.3 linux-2.6-xen-0012-xen-Add-proc-xen-capabilities.patch, 1.2, 1.3 linux-2.6-xen-0013-xen-Add-proc-xen-privcmd.patch, 1.2, 1.3 linux-2.6-xen-0014-xen-Add-proc-xen-xenbus.patch, 1.2, 1.3 linux-2.6-xen-0015-xen-Add-Xen-s-sys-hypervisor-interface.patch, 1.2, 1.3 linux-2.6-xen-0016-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch, 1.2, 1.3 linux-2.6-xen-0017-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch, 1.3, 1.4 linux-2.6-xen-0018-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch, NONE, 1.1 linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch, NONE, 1.1 patch-2.6.25-rc7-git6.bz2.sign, NONE, 1.1 patch-2.6.25-rc7.bz2.sign, NONE, 1.1 .cvsignore, 1.12, 1.13 .gitignore, 1.2, 1.3 Makefile, 1.6, 1.7 Makefile.config, 1.6, 1.7 config-debug, 1.3, 1.4 config-generic, 1.3, 1.4 config-nodebug, 1.3, 1.4 config-powerpc-generic, 1.3, 1.4 config-powerpc32-generic, 1.3, 1.4 config-powerpc64, 1.3, 1.4 config-sparc64-generic, 1.3, 1.4 config-x86_64-generic, 1.3, 1.4 kernel.spec, 1.20, 1.21 linux-2.6-compile-fix-gcc-43.patch, 1.2, 1.3 linux-2.6-drm-git-mm.patch, 1.2, 1.3 linux-2.6-firewire-git-pending.patch, 1.2, 1.3 linux-2.6-firewire-git-update.patch, 1.2, 1.3 linux-2.6-wireless-pending.patch, 1.2, 1.3 linux-2.6-wireless.patch, 1.3, 1.4 linux-2.6-xen-0001-squashfs-Fix-build-without-CONFIG_SMP.patch, 1.1, 1.2 linux-2.6-xen-0002-xen-execshield-Add-xen-specific-load_user_cs_desc.patch, 1.1, 1.2 linux-2.6-xen-0003-xen-execshield-fix-endless-GPF-fault-loop.patch, 1.1, 1.2 linux-2.6-xen-0005-xen-Make-xen-blkfront-write-its-protocol-ABI-to-xen.patch, 1.2, 1.3 nouveau-drm.patch, 1.3, 1.4 sources, 1.12, 1.13 upstream, 1.2, 1.3 linux-2.6-blkcipher-depend-on-chainiv.patch, 1.2, NONE linux-2.6-drm-git-i915-remove-priv-access.patch, 1.2, NONE linux-2.6-drm-git-mm-revert-nopfn.patch, 1.2, NONE linux-2.6-ia32-syscall-restart.patch, 1.2, NONE linux-2.6-ppc32-ucmpdi2.patch, 1.2, NONE linux-2.6-utrace-core.patch, 1.3, NONE linux-2.6-utrace-ptrace-compat-avr32.patch, 1.2, NONE linux-2.6-utrace-ptrace-compat-ia64.patch, 1.3, NONE linux-2.6-utrace-ptrace-compat-s390.patch, 1.3, NONE linux-2.6-utrace-ptrace-compat-sparc64.patch, 1.3, NONE linux-2.6-utrace-ptrace-compat.patch, 1.3, NONE linux-2.6-utrace-regset-avr32.patch, 1.2, NONE linux-2.6-utrace-regset-ia64.patch, 1.3, NONE linux-2.6-utrace-regset-s390.patch, 1.3, NONE linux-2.6-utrace-regset-sparc64.patch, 1.3, NONE linux-2.6-utrace-regset.patch, 1.3, NONE linux-2.6-utrace-tracehook-avr32.patch, 1.2, NONE linux-2.6-utrace-tracehook-ia64.patch, 1.3, NONE linux-2.6-utrace-tracehook-s390.patch, 1.3, NONE linux-2.6-utrace-tracehook-sparc64.patch, 1.3, NONE linux-2.6-utrace-tracehook-um.patch, 1.3, NONE linux-2.6-utrace-tracehook.patch, 1.3, NONE linux-2.6-virtio_blk-fix-sysfs-bits.patch, 1.2, NONE linux-2.6-wireless-pending-too.patch, 1.2, NONE linux-2.6-xen-0004-xen-Make-hvc0-the-preferred-console-in-domU.patch, 1.2, NONE linux-2.6-xen-0006-fbdev-Make-deferred-I-O-work-as-advertized.patch, 1.2, NONE linux-2.6-xen-0007-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch, 1.2, NONE linux-2.6-xen-0008-xen-Module-autoprobing-support-for-frontend-drivers.patch, 1.2, NONE linux-2.6-xen-0009-xen-Add-compatibility-aliases-for-frontend-drivers.patch, 1.2, NONE linux-2.6-xen-0010-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch, 1.1, NONE linux-2.6-xen-0011-xen-Add-a-vmlinuz-target.patch, 1.1, NONE linux-2.6-xen-0012-xen-Add-empty-xenctrl-module.patch, 1.1, NONE linux-2.6-xen-0013-xen-Add-proc-xen-capabilities.patch, 1.1, NONE linux-2.6-xen-0014-xen-Add-proc-xen-privcmd.patch, 1.2, NONE linux-2.6-xen-0015-xen-Add-proc-xen-xenbus.patch, 1.2, NONE linux-2.6-xen-0016-xen-Add-Xen-s-sys-hypervisor-interface.patch, 1.2, NONE linux-2.6-xen-0017-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch, 1.2, NONE linux-2.6-xen-0018-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch, 1.2, NONE linux-2.6-xen-0019-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch, 1.1, NONE linux-2.6-xen-0020-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch, 1.1, NONE patch-2.6.25-rc4.bz2.sign, 1.2, NONE Message-ID: <200804011039.m31Ad8SC012234@cvs-int.fedora.redhat.com> Author: markmc Update of /cvs/pkgs/rpms/kernel-xen-2.6/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11887 Modified Files: .cvsignore .gitignore Makefile Makefile.config config-debug config-generic config-nodebug config-powerpc-generic config-powerpc32-generic config-powerpc64 config-sparc64-generic config-x86_64-generic kernel.spec linux-2.6-compile-fix-gcc-43.patch linux-2.6-drm-git-mm.patch linux-2.6-firewire-git-pending.patch linux-2.6-firewire-git-update.patch linux-2.6-wireless-pending.patch linux-2.6-wireless.patch linux-2.6-xen-0001-squashfs-Fix-build-without-CONFIG_SMP.patch linux-2.6-xen-0002-xen-execshield-Add-xen-specific-load_user_cs_desc.patch linux-2.6-xen-0003-xen-execshield-fix-endless-GPF-fault-loop.patch linux-2.6-xen-0005-xen-Make-xen-blkfront-write-its-protocol-ABI-to-xen.patch nouveau-drm.patch sources upstream Added Files: linux-2.6-alsa-kill-annoying-messages.patch linux-2.6-debug-vm-would-have-oomkilled.patch linux-2.6-drm-i915-modeset.patch linux-2.6-drm-radeon-fix-oops.patch linux-2.6-imac-transparent-bridge.patch linux-2.6-input-macbook-appletouch.patch linux-2.6-ms-wireless-receiver.patch linux-2.6-powerpc-zImage-32MiB.patch linux-2.6-sata-eeepc-faster.patch linux-2.6-sparc-selinux-mprotect-checks.patch linux-2.6-utrace.patch linux-2.6-windfarm-pm121-fix.patch linux-2.6-windfarm-pm121.patch linux-2.6-xen-0004-xen-Do-not-pin-unpin-PMD-pages.patch linux-2.6-xen-0006-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch linux-2.6-xen-0007-xen-Module-autoprobing-support-for-frontend-drivers.patch linux-2.6-xen-0008-xen-Add-compatibility-aliases-for-frontend-drivers.patch linux-2.6-xen-0009-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch linux-2.6-xen-0010-xen-Add-a-vmlinuz-target.patch linux-2.6-xen-0011-xen-Add-empty-xenctrl-module.patch linux-2.6-xen-0012-xen-Add-proc-xen-capabilities.patch linux-2.6-xen-0013-xen-Add-proc-xen-privcmd.patch linux-2.6-xen-0014-xen-Add-proc-xen-xenbus.patch linux-2.6-xen-0015-xen-Add-Xen-s-sys-hypervisor-interface.patch linux-2.6-xen-0016-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch linux-2.6-xen-0017-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch linux-2.6-xen-0018-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch patch-2.6.25-rc7-git6.bz2.sign patch-2.6.25-rc7.bz2.sign Removed Files: linux-2.6-blkcipher-depend-on-chainiv.patch linux-2.6-drm-git-i915-remove-priv-access.patch linux-2.6-drm-git-mm-revert-nopfn.patch linux-2.6-ia32-syscall-restart.patch linux-2.6-ppc32-ucmpdi2.patch linux-2.6-utrace-core.patch linux-2.6-utrace-ptrace-compat-avr32.patch linux-2.6-utrace-ptrace-compat-ia64.patch linux-2.6-utrace-ptrace-compat-s390.patch linux-2.6-utrace-ptrace-compat-sparc64.patch linux-2.6-utrace-ptrace-compat.patch linux-2.6-utrace-regset-avr32.patch linux-2.6-utrace-regset-ia64.patch linux-2.6-utrace-regset-s390.patch linux-2.6-utrace-regset-sparc64.patch linux-2.6-utrace-regset.patch linux-2.6-utrace-tracehook-avr32.patch linux-2.6-utrace-tracehook-ia64.patch linux-2.6-utrace-tracehook-s390.patch linux-2.6-utrace-tracehook-sparc64.patch linux-2.6-utrace-tracehook-um.patch linux-2.6-utrace-tracehook.patch linux-2.6-virtio_blk-fix-sysfs-bits.patch linux-2.6-wireless-pending-too.patch linux-2.6-xen-0004-xen-Make-hvc0-the-preferred-console-in-domU.patch linux-2.6-xen-0006-fbdev-Make-deferred-I-O-work-as-advertized.patch linux-2.6-xen-0007-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch linux-2.6-xen-0008-xen-Module-autoprobing-support-for-frontend-drivers.patch linux-2.6-xen-0009-xen-Add-compatibility-aliases-for-frontend-drivers.patch linux-2.6-xen-0010-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch linux-2.6-xen-0011-xen-Add-a-vmlinuz-target.patch linux-2.6-xen-0012-xen-Add-empty-xenctrl-module.patch linux-2.6-xen-0013-xen-Add-proc-xen-capabilities.patch linux-2.6-xen-0014-xen-Add-proc-xen-privcmd.patch linux-2.6-xen-0015-xen-Add-proc-xen-xenbus.patch linux-2.6-xen-0016-xen-Add-Xen-s-sys-hypervisor-interface.patch linux-2.6-xen-0017-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch linux-2.6-xen-0018-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch linux-2.6-xen-0019-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch linux-2.6-xen-0020-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch patch-2.6.25-rc4.bz2.sign Log Message: * Tue Apr 1 2008 Mark McLoughlin - Update to kernel-2_6_25-0_182_rc7_git6_fc9 - Fix oops when dlclose()ing some prelink libs (#436453) - Drop the patch to make hvc0 the preferred console (#437706, #434761) linux-2.6-alsa-kill-annoying-messages.patch: --- NEW FILE linux-2.6-alsa-kill-annoying-messages.patch --- From: Adel Gadllah snd-hda-intel: don't print using snd_printdd on device open When CONFIG_SND_DEBUG_DETECT is set the hda-intel driver prints verbose info like this: ALSA sound/pci/hda/hda_intel.c:1259: azx_pcm_prepare: bufsize=0x4400, fragsize=0x1100, format=0x11 ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x7, stream=0x5, channel=0, format=0x11 ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x3, stream=0x5, channel=0, format=0x11 ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x3, stream=0x0, channel=0, format=0x0 ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x7, stream=0x0, channel=0, format=0x0 ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x3, stream=0x0, channel=0, format=0x0 Don't print anything in functions that get called when the device gets opened/prepared for output. Signed-off-by: Adel Gadllah Signed-off-by: Chuck Ebbert CC: Takashi Iwai --- Orignal patch was mangled by sender's mail software. diff -upNr linux-2.6.24.2.orign/sound/pci/hda/hda_codec.c linux-2.6.24.2/sound/pci/hda/hda_codec.c --- linux-2.6.24.2.orign/sound/pci/hda/hda_codec.c 2008-02-11 06:51:11.000000000 +0100 +++ linux-2.6.24.2/sound/pci/hda/hda_codec.c 2008-02-17 11:08:58.000000000 +0100 @@ -677,9 +677,6 @@ void snd_hda_codec_setup_stream(struct h if (!nid) return; - snd_printdd("hda_codec_setup_stream: " - "NID=0x%x, stream=0x%x, channel=%d, format=0x%x\n", - nid, stream_tag, channel_id, format); snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_CHANNEL_STREAMID, (stream_tag << 4) | channel_id); msleep(1); diff -upNr linux-2.6.24.2.orign/sound/pci/hda/hda_intel.c linux-2.6.24.2/sound/pci/hda/hda_intel.c --- linux-2.6.24.2.orign/sound/pci/hda/hda_intel.c 2008-02-11 06:51:11.000000000 +0100 +++ linux-2.6.24.2/sound/pci/hda/hda_intel.c 2008-02-17 11:10:16.000000000 +0100 @@ -1249,9 +1249,6 @@ static int azx_pcm_prepare(struct snd_pc return -EINVAL; } - snd_printdd("azx_pcm_prepare: bufsize=0x%x, fragsize=0x%x, " - "format=0x%x\n", - azx_dev->bufsize, azx_dev->fragsize, azx_dev->format_val); azx_setup_periods(azx_dev); azx_setup_controller(chip, azx_dev); if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) linux-2.6-debug-vm-would-have-oomkilled.patch: --- NEW FILE linux-2.6-debug-vm-would-have-oomkilled.patch --- diff --git a/kernel/sysctl.c b/kernel/sysctl.c index b2a2d68..3b132ee 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -67,6 +67,7 @@ extern int sysctl_overcommit_ratio; extern int sysctl_panic_on_oom; extern int sysctl_oom_kill_allocating_task; extern int sysctl_oom_dump_tasks; +extern int sysctl_would_have_oomkilled; extern int max_threads; extern int core_uses_pid; extern int suid_dumpable; @@ -861,6 +862,14 @@ static struct ctl_table vm_table[] = { .proc_handler = &proc_dointvec, }, { + .ctl_name = CTL_UNNUMBERED, + .procname = "would_have_oomkilled", + .data = &sysctl_would_have_oomkilled, + .maxlen = sizeof(sysctl_would_have_oomkilled), + .mode = 0644, + .proc_handler = &proc_dointvec, + }, + { .ctl_name = VM_OVERCOMMIT_RATIO, .procname = "overcommit_ratio", .data = &sysctl_overcommit_ratio, diff --git a/mm/oom_kill.c b/mm/oom_kill.c index f255eda..3335a94 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -30,6 +30,7 @@ int sysctl_panic_on_oom; int sysctl_oom_kill_allocating_task; int sysctl_oom_dump_tasks; +int sysctl_would_have_oomkilled; static DEFINE_SPINLOCK(zone_scan_mutex); /* #define DEBUG */ @@ -321,6 +322,12 @@ static void __oom_kill_task(struct task_struct *p, int verbose) return; } + if (sysctl_would_have_oomkilled == 1) { + printk(KERN_ERR "Would have killed process %d (%s). But continuing instead.\n", + task_pid_nr(p), p->comm); + return; + } + if (verbose) printk(KERN_ERR "Killed process %d (%s)\n", task_pid_nr(p), p->comm); @@ -363,6 +370,12 @@ static int oom_kill_task(struct task_struct *p) return 1; } while_each_thread(g, q); + if (sysctl_would_have_oomkilled == 1) { + printk(KERN_ERR "Would have killed process %d (%s). But continuing instead.\n", + task_pid_nr(p), p->comm); + return 1; + } + __oom_kill_task(p, 1); /* linux-2.6-drm-i915-modeset.patch: --- NEW FILE linux-2.6-drm-i915-modeset.patch --- diff --git a/drivers/char/drm/Makefile b/drivers/char/drm/Makefile index 721548c..2190a4c 100644 --- a/drivers/char/drm/Makefile +++ b/drivers/char/drm/Makefile @@ -7,14 +7,15 @@ drm-objs := drm_auth.o drm_bufs.o drm_context.o drm_dma.o drm_drawable.o \ drm_lock.o drm_memory.o drm_proc.o drm_stub.o drm_vm.o \ drm_agpsupport.o drm_scatter.o ati_pcigart.o drm_pci.o \ drm_sysfs.o drm_hashtab.o drm_sman.o drm_mm.o drm_object.o \ - drm_fence.o drm_ttm.o drm_bo.o drm_bo_move.o drm_bo_lock.o + drm_fence.o drm_ttm.o drm_bo.o drm_bo_move.o drm_bo_lock.o \ + drm_modes.o drm_crtc.o drm_edid.o tdfx-objs := tdfx_drv.o r128-objs := r128_drv.o r128_cce.o r128_state.o r128_irq.o mga-objs := mga_drv.o mga_dma.o mga_state.o mga_warp.o mga_irq.o i810-objs := i810_drv.o i810_dma.o i830-objs := i830_drv.o i830_dma.o i830_irq.o -i915-objs := i915_drv.o i915_dma.o i915_irq.o i915_mem.o i915_fence.o i915_buffer.o +i915-objs := i915_drv.o i915_dma.o i915_irq.o i915_mem.o i915_fence.o i915_buffer.o i915_init.o intel_display.o intel_lvds.o intel_crt.o intel_i2c.o intel_modes.o intel_sdvo.o intel_tv.o intel_fb.o nouveau-objs := nouveau_drv.o nouveau_state.o nouveau_fifo.o nouveau_mem.o \ nouveau_object.o nouveau_irq.o nouveau_notifier.o nouveau_swmthd.o \ nouveau_sgdma.o nouveau_dma.o nouveau_buffer.o nouveau_fence.o \ diff --git a/drivers/char/drm/drm.h b/drivers/char/drm/drm.h index 8fe8ac1..8f1c8d4 100644 --- a/drivers/char/drm/drm.h +++ b/drivers/char/drm/drm.h @@ -884,6 +884,185 @@ struct drm_mm_init_arg { uint64_t p_size; }; +struct drm_mm_info_arg { + unsigned int mem_type; + uint64_t p_size; +}; + + +/* + * Drm mode setting + */ +#define DRM_DISPLAY_INFO_LEN 32 +#define DRM_OUTPUT_NAME_LEN 32 +#define DRM_DISPLAY_MODE_LEN 32 +#define DRM_PROP_NAME_LEN 32 + +#define DRM_MODE_TYPE_BUILTIN (1<<0) +#define DRM_MODE_TYPE_CLOCK_C ((1<<1) | DRM_MODE_TYPE_BUILTIN) +#define DRM_MODE_TYPE_CRTC_C ((1<<2) | DRM_MODE_TYPE_BUILTIN) +#define DRM_MODE_TYPE_PREFERRED (1<<3) +#define DRM_MODE_TYPE_DEFAULT (1<<4) +#define DRM_MODE_TYPE_USERDEF (1<<5) +#define DRM_MODE_TYPE_DRIVER (1<<6) + +struct drm_mode_modeinfo { + unsigned int clock; + unsigned short hdisplay, hsync_start, hsync_end, htotal, hskew; + unsigned short vdisplay, vsync_start, vsync_end, vtotal, vscan; + + unsigned int vrefresh; /* vertical refresh * 1000 */ + + unsigned int flags; + unsigned int type; + char name[DRM_DISPLAY_MODE_LEN]; +}; + +struct drm_mode_card_res { + uint64_t fb_id_ptr; + uint64_t crtc_id_ptr; + uint64_t output_id_ptr; + int count_fbs; + int count_crtcs; + int count_outputs; + int min_width, max_width; + int min_height, max_height; +}; + +struct drm_mode_crtc { + uint64_t set_outputs_ptr; + + unsigned int crtc_id; /**< Id */ + unsigned int fb_id; /**< Id of framebuffer */ + + int x, y; /**< Position on the frameuffer */ + + int count_outputs; + unsigned int outputs; /**< Outputs that are connected */ + + int count_possibles; + unsigned int possibles; /**< Outputs that can be connected */ + int gamma_size; + int mode_valid; + struct drm_mode_modeinfo mode; +}; + +#define DRM_MODE_OUTPUT_NONE 0 +#define DRM_MODE_OUTPUT_DAC 1 +#define DRM_MODE_OUTPUT_TMDS 2 +#define DRM_MODE_OUTPUT_LVDS 3 +#define DRM_MODE_OUTPUT_TVDAC 4 + +struct drm_mode_get_output { + + uint64_t modes_ptr; + uint64_t props_ptr; + uint64_t prop_values_ptr; + + int count_modes; + int count_props; + unsigned int output; /**< Id */ + unsigned int crtc; /**< Id of crtc */ + unsigned int output_type; + unsigned int output_type_id; + + unsigned int connection; + unsigned int mm_width, mm_height; /**< HxW in millimeters */ + unsigned int subpixel; + int count_crtcs; + int count_clones; + unsigned int crtcs; /**< possible crtc to connect to */ + unsigned int clones; /**< list of clones */ +}; + +#define DRM_MODE_PROP_PENDING (1<<0) +#define DRM_MODE_PROP_RANGE (1<<1) +#define DRM_MODE_PROP_IMMUTABLE (1<<2) +#define DRM_MODE_PROP_ENUM (1<<3) // enumerated type with text strings +#define DRM_MODE_PROP_BLOB (1<<4) + +struct drm_mode_property_enum { + uint64_t value; + unsigned char name[DRM_PROP_NAME_LEN]; +}; + +struct drm_mode_get_property { + uint64_t values_ptr; /* values and blob lengths */ + uint64_t enum_blob_ptr; /* enum and blob id ptrs */ + + unsigned int prop_id; + unsigned int flags; + unsigned char name[DRM_PROP_NAME_LEN]; + + int count_values; + int count_enum_blobs; +}; + +struct drm_mode_output_set_property { + uint64_t value; + unsigned int prop_id; + unsigned int output_id; +}; + +struct drm_mode_get_blob { + uint32_t blob_id; + uint32_t length; + uint64_t data; +}; + +struct drm_mode_fb_cmd { + unsigned int buffer_id; + unsigned int width, height; + unsigned int pitch; + unsigned int bpp; + unsigned int handle; + unsigned int depth; +}; + +struct drm_mode_mode_cmd { + unsigned int output_id; + struct drm_mode_modeinfo mode; +}; + +#define DRM_MODE_CURSOR_BO 0x01 +#define DRM_MODE_CURSOR_MOVE 0x02 + +/* + * depending on the value in flags diffrent members are used. + * + * CURSOR_BO uses + * crtc + * width + * height + * handle - if 0 turns the cursor of + * + * CURSOR_MOVE uses + * crtc + * x + * y + */ +struct drm_mode_cursor { + unsigned int flags; + unsigned int crtc; + int x; + int y; + uint32_t width; + uint32_t height; + unsigned int handle; +}; + +/* + * oh so ugly hotplug [...15937 lines suppressed...] + */ + tv_format_atom = MakeAtom(TV_FORMAT_NAME, sizeof(TV_FORMAT_NAME) - 1, + TRUE); + + for (i = 0; i < NUM_TV_MODES; i++) + tv_format_name_atoms[i] = MakeAtom (tv_modes[i].name, + strlen (tv_modes[i].name), + TRUE); + + err = intel_tv_format_configure_property (output); + + if (err != 0) { + xf86DrvMsg(dev->scrnIndex, X_ERROR, + "RRConfigureOutputProperty error, %d\n", err); + } + + /* Set the current value of the tv_format property */ + if (!intel_tv_format_set_property (output)) + xf86DrvMsg(dev->scrnIndex, X_ERROR, + "RRChangeOutputProperty error, %d\n", err); + + for (i = 0; i < 4; i++) + { + INT32 range[2]; + margin_atoms[i] = MakeAtom(margin_names[i], strlen (margin_names[i]), + TRUE); + + range[0] = 0; + range[1] = 100; + err = RRConfigureOutputProperty(output->randr_output, margin_atoms[i], + TRUE, TRUE, FALSE, 2, range); + + if (err != 0) + xf86DrvMsg(dev->scrnIndex, X_ERROR, + "RRConfigureOutputProperty error, %d\n", err); + + err = RRChangeOutputProperty(output->randr_output, margin_atoms[i], + XA_INTEGER, 32, PropModeReplace, + 1, &tv_priv->margin[i], + FALSE, TRUE); + if (err != 0) + xf86DrvMsg(dev->scrnIndex, X_ERROR, + "RRChangeOutputProperty error, %d\n", err); + } +#endif +} + +static bool +intel_tv_set_property(struct drm_output *output, struct drm_property *property, + uint64_t val) +{ + struct drm_device *dev = output->dev; + int ret = 0; + + if (property == dev->mode_config.tv_left_margin_property || + property == dev->mode_config.tv_right_margin_property || + property == dev->mode_config.tv_top_margin_property || + property == dev->mode_config.tv_bottom_margin_property) { + ret = drm_output_property_set_value(output, property, val); + } else { + /* TV mode handling here */ + } + + return ret; +} + +static const struct drm_output_funcs intel_tv_output_funcs = { + .dpms = intel_tv_dpms, + .save = intel_tv_save, + .restore = intel_tv_restore, + .mode_valid = intel_tv_mode_valid, + .mode_fixup = intel_tv_mode_fixup, + .prepare = intel_output_prepare, + .mode_set = intel_tv_mode_set, + .commit = intel_output_commit, + .detect = intel_tv_detect, + .get_modes = intel_tv_get_modes, + .cleanup = intel_tv_destroy, + .set_property = intel_tv_set_property, +}; + +void +intel_tv_init(struct drm_device *dev) +{ + struct drm_i915_private *dev_priv = dev->dev_private; + struct drm_output *output; + struct intel_output *intel_output; + struct intel_tv_priv *tv_priv; + u32 tv_dac_on, tv_dac_off, save_tv_dac; + + /* FIXME: better TV detection and/or quirks */ +#if 0 + if (tv_priv->quirk_flag & QUIRK_IGNORE_TV) + return; +#endif + if ((I915_READ(TV_CTL) & TV_FUSE_STATE_MASK) == TV_FUSE_STATE_DISABLED) + return; + + /* + * Sanity check the TV output by checking to see if the + * DAC register holds a value + */ + save_tv_dac = I915_READ(TV_DAC); + + I915_WRITE(TV_DAC, save_tv_dac | TVDAC_STATE_CHG_EN); + tv_dac_on = I915_READ(TV_DAC); + + I915_WRITE(TV_DAC, save_tv_dac & ~TVDAC_STATE_CHG_EN); + tv_dac_off = I915_READ(TV_DAC); + + I915_WRITE(TV_DAC, save_tv_dac); + + /* + * If the register does not hold the state change enable + * bit, (either as a 0 or a 1), assume it doesn't really + * exist + */ + if ((tv_dac_on & TVDAC_STATE_CHG_EN) == 0 || + (tv_dac_off & TVDAC_STATE_CHG_EN) != 0) + return; + + output = drm_output_create(dev, &intel_tv_output_funcs, + DRM_MODE_OUTPUT_TVDAC); + + if (!output) + return; + + intel_output = drm_calloc(1, sizeof(struct intel_output) + + sizeof(struct intel_tv_priv), DRM_MEM_DRIVER); + if (!intel_output) { + drm_output_destroy(output); + return; + } + + tv_priv = (struct intel_tv_priv *)(intel_output + 1); + intel_output->type = INTEL_OUTPUT_TVOUT; + output->possible_crtcs = ((1 << 0) | (1 << 1)); + output->possible_clones = (1 << INTEL_OUTPUT_TVOUT); + intel_output->dev_priv = tv_priv; + tv_priv->type = TV_TYPE_UNKNOWN; + + tv_priv->tv_format = NULL; + + /* BIOS margin values */ + tv_priv->margin[TV_MARGIN_LEFT] = 54; + tv_priv->margin[TV_MARGIN_TOP] = 36; + tv_priv->margin[TV_MARGIN_RIGHT] = 46; + tv_priv->margin[TV_MARGIN_BOTTOM] = 37; + + if (!tv_priv->tv_format) + tv_priv->tv_format = kstrdup(tv_modes[0].name, GFP_KERNEL); + + output->driver_private = intel_output; + output->interlace_allowed = FALSE; + output->doublescan_allowed = FALSE; +} diff --git a/drivers/char/drm/nouveau_mem.c b/drivers/char/drm/nouveau_mem.c index a508a37..622fe99 100644 --- a/drivers/char/drm/nouveau_mem.c +++ b/drivers/char/drm/nouveau_mem.c @@ -372,7 +372,7 @@ nouveau_mem_init_ttm(struct drm_device *dev) bar1_size = drm_get_resource_len(dev, 1) >> PAGE_SHIFT; if (bar1_size < vram_size) { if ((ret = drm_bo_init_mm(dev, DRM_BO_MEM_PRIV0, - bar1_size, vram_size - bar1_size))) { + bar1_size, vram_size - bar1_size, 1))) { DRM_ERROR("Failed PRIV0 mm init: %d\n", ret); return ret; } @@ -383,7 +383,7 @@ nouveau_mem_init_ttm(struct drm_device *dev) #ifdef HACK_OLD_MM vram_size /= 4; #endif - if ((ret = drm_bo_init_mm(dev, DRM_BO_MEM_VRAM, 0, vram_size))) { + if ((ret = drm_bo_init_mm(dev, DRM_BO_MEM_VRAM, 0, vram_size, 1))) { DRM_ERROR("Failed VRAM mm init: %d\n", ret); return ret; } @@ -403,7 +403,7 @@ nouveau_mem_init_ttm(struct drm_device *dev) if ((ret = drm_bo_init_mm(dev, DRM_BO_MEM_TT, 0, dev_priv->gart_info.aper_size >> - PAGE_SHIFT))) { + PAGE_SHIFT, 1))) { DRM_ERROR("Failed TT mm init: %d\n", ret); return ret; } diff --git a/drivers/char/drm/radeon_state.c b/drivers/char/drm/radeon_state.c index 6f75512..8e4a494 100644 --- a/drivers/char/drm/radeon_state.c +++ b/drivers/char/drm/radeon_state.c @@ -3012,7 +3012,7 @@ static int radeon_cp_getparam(struct drm_device *dev, void *data, struct drm_fil */ case RADEON_PARAM_SAREA_HANDLE: /* The lock is the first dword in the sarea. */ - value = (long)dev->lock.hw_lock; + value = (long)dev->primary->master->lock.hw_lock; break; #endif case RADEON_PARAM_GART_TEX_HANDLE: linux-2.6-drm-radeon-fix-oops.patch: --- NEW FILE linux-2.6-drm-radeon-fix-oops.patch --- diff -up linux-2.6.24.noarch/drivers/char/drm/radeon_state.c.da linux-2.6.24.noarch/drivers/char/drm/radeon_state.c --- linux-2.6.24.noarch/drivers/char/drm/radeon_state.c.da 2008-03-31 11:28:35.000000000 +1000 +++ linux-2.6.24.noarch/drivers/char/drm/radeon_state.c 2008-03-31 11:28:48.000000000 +1000 @@ -3088,7 +3088,8 @@ static int radeon_cp_setparam(struct drm dev_priv->gart_info.table_size = RADEON_PCIGART_TABLE_SIZE; break; case RADEON_SETPARAM_VBLANK_CRTC: - return radeon_vblank_crtc_set(dev, sp->value); + if (dev_priv) + return radeon_vblank_crtc_set(dev, sp->value); break; default: DRM_DEBUG("Invalid parameter %d\n", sp->param); linux-2.6-imac-transparent-bridge.patch: --- NEW FILE linux-2.6-imac-transparent-bridge.patch --- --- linux/arch/powerpc/platforms/powermac/pci.c~ 2008-03-22 19:08:07.000000000 +0000 +++ linux/arch/powerpc/platforms/powermac/pci.c 2008-03-23 09:10:46.000000000 +0000 @@ -1271,6 +1271,12 @@ void pmac_pci_fixup_pciata(struct pci_de } } DECLARE_PCI_FIXUP_EARLY(PCI_ANY_ID, PCI_ANY_ID, pmac_pci_fixup_pciata); +#else /* CONFIG_PPC64 */ +static void __devinit imac_transparent_bridge(struct pci_dev *dev) +{ + dev->transparent = 1; +} +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_APPLE, 0x005b, imac_transparent_bridge); #endif /* CONFIG_PPC32 */ /* linux-2.6-input-macbook-appletouch.patch: --- NEW FILE linux-2.6-input-macbook-appletouch.patch --- https://bugzilla.redhat.com/show_bug.cgi?id=426574 Based on patch from ubuntu at https://bugs.edge.launchpad.net/ubuntu/+source/linux-meta/+bug/162090 --- vanilla-2.6.25-rc5/drivers/input/mouse/appletouch.c 2008-01-24 17:58:37.000000000 -0500 +++ linux-2.6.24.noarch/drivers/input/mouse/appletouch.c 2008-03-11 13:42:59.000000000 -0400 @@ -62,6 +62,11 @@ #define GEYSER4_ISO_PRODUCT_ID 0x021B #define GEYSER4_JIS_PRODUCT_ID 0x021C +/* Codes in updated driver for macbook3,1 support (and others?) */ +#define GEYSER4_HF_ANSI_PRODUCT_ID 0x0229 +#define GEYSER4_HF_ISO_PRODUCT_ID 0x022a +#define GEYSER4_HF_JIS_PRODUCT_ID 0x021b + #define ATP_DEVICE(prod) \ .match_flags = USB_DEVICE_ID_MATCH_DEVICE | \ USB_DEVICE_ID_MATCH_INT_CLASS | \ @@ -93,6 +98,11 @@ static struct usb_device_id atp_table [] { ATP_DEVICE(GEYSER4_ISO_PRODUCT_ID) }, { ATP_DEVICE(GEYSER4_JIS_PRODUCT_ID) }, + /* Core2 Duo MacBook3,1 */ + { ATP_DEVICE(GEYSER4_HF_ANSI_PRODUCT_ID) }, + { ATP_DEVICE(GEYSER4_HF_ISO_PRODUCT_ID) }, + { ATP_DEVICE(GEYSER4_HF_JIS_PRODUCT_ID) }, + /* Terminating entry */ { } }; @@ -217,7 +227,10 @@ static inline int atp_is_geyser_3(struct (productId == GEYSER3_JIS_PRODUCT_ID) || (productId == GEYSER4_ANSI_PRODUCT_ID) || (productId == GEYSER4_ISO_PRODUCT_ID) || - (productId == GEYSER4_JIS_PRODUCT_ID); + (productId == GEYSER4_JIS_PRODUCT_ID) || + (productId == GEYSER4_HF_ANSI_PRODUCT_ID) || + (productId == GEYSER4_HF_ISO_PRODUCT_ID) || + (productId == GEYSER4_HF_JIS_PRODUCT_ID); } /* linux-2.6-ms-wireless-receiver.patch: --- NEW FILE linux-2.6-ms-wireless-receiver.patch --- diff -up linux-2.6.24.noarch/include/linux/hid.h.jx linux-2.6.24.noarch/include/linux/hid.h --- linux-2.6.24.noarch/include/linux/hid.h.jx 2008-03-14 10:49:43.000000000 -0400 +++ linux-2.6.24.noarch/include/linux/hid.h 2008-03-14 10:56:08.000000000 -0400 @@ -296,6 +296,7 @@ #define HID_QUIRK_RDESC_MACBOOK_JIS 0x00000010 #define HID_QUIRK_RDESC_BUTTON_CONSUMER 0x00000020 #define HID_QUIRK_RDESC_SAMSUNG_REMOTE 0x00000040 +#define HID_QUIRK_RDESC_USAGE_NOT_PHYSICAL 0x00000080 /* * This is the global environment of the parser. This information is --- linux-2.6.24.noarch/drivers/hid/usbhid/hid-quirks.c.jx 2008-03-14 10:49:43.000000000 -0400 +++ linux-2.6.24.noarch/drivers/hid/usbhid/hid-quirks.c 2008-03-14 10:57:10.000000000 -0400 @@ -583,7 +583,7 @@ { USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_CORDLESS_DESKTOP_LX500, HID_QUIRK_LOGITECH_IGNORE_DOUBLED_WHEEL | HID_QUIRK_LOGITECH_EXPANDED_KEYMAP }, { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_NE4K, HID_QUIRK_MICROSOFT_KEYS }, - { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_LK6K, HID_QUIRK_MICROSOFT_KEYS }, + { USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_LK6K, HID_QUIRK_MICROSOFT_KEYS | HID_QUIRK_RDESC_USAGE_NOT_PHYSICAL }, { USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MIGHTYMOUSE, HID_QUIRK_MIGHTYMOUSE | HID_QUIRK_INVERT_HWHEEL }, @@ -1085,6 +1085,28 @@ } } +/* + * Microsoft Wireless Desktop Receiver (Model 1028) has several + * 'Usage Min/Max' where it ought to have 'Physical Min/Max' + */ +static void usbhid_fixup_microsoft_descriptor(unsigned char *rdesc, int rsize) +{ + if (rsize == 571 && rdesc[284] == 0x19 + && rdesc[286] == 0x2a + && rdesc[304] == 0x19 + && rdesc[306] == 0x29 + && rdesc[352] == 0x1a + && rdesc[355] == 0x2a + && rdesc[557] == 0x19 + && rdesc[559] == 0x29) { + printk(KERN_INFO "Fixing up Microsoft Wireless Receiver Model 1028 report descriptor\n"); + rdesc[284] = rdesc[304] = rdesc[558] = 0x35; + rdesc[352] = 0x36; + rdesc[286] = rdesc[355] = 0x46; + rdesc[306] = rdesc[559] = 0x45; + } +} + static void __usbhid_fixup_report_descriptor(__u32 quirks, char *rdesc, unsigned rsize) { if ((quirks & HID_QUIRK_RDESC_CYMOTION)) @@ -1108,6 +1130,8 @@ if (quirks & HID_QUIRK_RDESC_SAMSUNG_REMOTE) usbhid_fixup_samsung_irda_descriptor(rdesc, rsize); + if (quirks & HID_QUIRK_RDESC_USAGE_NOT_PHYSICAL) + usbhid_fixup_microsoft_descriptor(rdesc, rsize); } /** linux-2.6-powerpc-zImage-32MiB.patch: --- NEW FILE linux-2.6-powerpc-zImage-32MiB.patch --- --- linux-2.6.24.ppc64/arch/powerpc/boot/zImage.lds.S~ 2008-01-24 22:58:37.000000000 +0000 +++ linux-2.6.24.ppc64/arch/powerpc/boot/zImage.lds.S 2008-03-26 16:56:50.000000000 +0000 @@ -3,7 +3,7 @@ ENTRY(_zimage_start) EXTERN(_zimage_start) SECTIONS { - . = (4*1024*1024); + . = (32*1024*1024); _start = .; .text : { linux-2.6-sata-eeepc-faster.patch: --- NEW FILE linux-2.6-sata-eeepc-faster.patch --- The Asus Eee PC prints this during bootup.. ata2.00: limited to UDMA/33 due to 40-wire cable Which is unfortunate, as it has.. ata2.00: ATA-4: SILICONMOTION SM223AC, , max UDMA/66 I believe there actually is no cable, and the flash is directly connected to the controller. [root at eee ~]# hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 64 MB in 3.08 seconds = 20.76 MB/sec With the patch below it returns.. TBD Signed-off-by: Dave Jones --- linux-2.6.24.noarch/drivers/ata/ata_piix.c~ 2008-03-31 23:43:05.000000000 -0400 +++ linux-2.6.24.noarch/drivers/ata/ata_piix.c 2008-03-31 23:44:34.000000000 -0400 @@ -716,6 +716,7 @@ struct ich_laptop { static const struct ich_laptop ich_laptop[] = { /* devid, subvendor, subdev */ + { 0x2653, 0x1043, 0x82d8 }, /* ICH6M on Asus Eee PC */ { 0x27DF, 0x0005, 0x0280 }, /* ICH7 on Acer 5602WLMi */ { 0x27DF, 0x1025, 0x0102 }, /* ICH7 on Acer 5602aWLMi */ { 0x27DF, 0x1025, 0x0110 }, /* ICH7 on Acer 3682WLMi */ linux-2.6-sparc-selinux-mprotect-checks.patch: --- NEW FILE linux-2.6-sparc-selinux-mprotect-checks.patch --- diff -up linux-2.6.24.sparc64/security/selinux/hooks.c.BAD linux-2.6.24.sparc64/security/selinux/hooks.c --- linux-2.6.24.sparc64/security/selinux/hooks.c.BAD 2008-03-21 14:28:06.000000000 -0400 +++ linux-2.6.24.sparc64/security/selinux/hooks.c 2008-03-21 14:29:10.000000000 -0400 @@ -2825,6 +2825,7 @@ static int selinux_file_ioctl(struct fil static int file_map_prot_check(struct file *file, unsigned long prot, int shared) { +#ifndef CONFIG_SPARC if ((prot & PROT_EXEC) && (!file || (!shared && (prot & PROT_WRITE)))) { /* * We are making executable an anonymous mapping or a @@ -2835,6 +2836,7 @@ static int file_map_prot_check(struct fi if (rc) return rc; } +#endif if (file) { /* read access is always possible with a mapping */ @@ -2885,6 +2887,7 @@ static int selinux_file_mprotect(struct if (selinux_checkreqprot) prot = reqprot; +#ifndef CONFIG_SPARC if ((prot & PROT_EXEC) && !(vma->vm_flags & VM_EXEC)) { rc = 0; if (vma->vm_start >= vma->vm_mm->start_brk && @@ -2909,6 +2912,7 @@ static int selinux_file_mprotect(struct if (rc) return rc; } +#endif return file_map_prot_check(vma->vm_file, prot, vma->vm_flags&VM_SHARED); } linux-2.6-utrace.patch: View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.3 -r 1.4 linux-2.6-utrace.patch Index: linux-2.6-utrace.patch =================================================================== RCS file: linux-2.6-utrace.patch diff -N linux-2.6-utrace.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-utrace.patch 1 Apr 2008 10:38:06 -0000 1.4 @@ -0,0 +1,9357 @@ + Documentation/DocBook/Makefile | 2 +- + Documentation/DocBook/utrace.tmpl | 23 + + Documentation/utrace.txt | 579 +++++++++ + arch/mips/kernel/irixelf.c | 2 - + arch/powerpc/kernel/asm-offsets.c | 4 - + arch/powerpc/kernel/process.c | 5 - + arch/powerpc/kernel/ptrace.c | 35 +- + arch/powerpc/kernel/ptrace32.c | 2 +- + arch/powerpc/kernel/signal.c | 8 +- + arch/powerpc/kernel/signal_32.c | 19 +- + arch/powerpc/kernel/sys_ppc32.c | 5 - + arch/sparc64/kernel/binfmt_aout32.c | 2 - + arch/sparc64/kernel/process.c | 23 +- + arch/sparc64/kernel/ptrace.c | 28 +- + arch/sparc64/kernel/sys_sparc32.c | 41 +- + arch/x86/ia32/ia32_aout.c | 6 - + arch/x86/ia32/ia32_signal.c | 10 - + arch/x86/ia32/ia32entry.S | 14 +- + arch/x86/ia32/sys_ia32.c | 5 - + arch/x86/kernel/entry_64.S | 8 +- + arch/x86/kernel/ptrace.c | 157 +-- + arch/x86/kernel/signal_32.c | 37 +- + arch/x86/kernel/signal_64.c | 33 +- + arch/x86/kernel/vm86_32.c | 9 +- + fs/binfmt_aout.c | 6 - + fs/binfmt_elf.c | 6 - + fs/binfmt_elf_fdpic.c | 7 - + fs/binfmt_flat.c | 3 - + fs/binfmt_som.c | 2 - + fs/compat.c | 6 +- + fs/eventpoll.c | 3 +- + fs/exec.c | 12 +- + fs/proc/array.c | 9 +- + fs/proc/base.c | 43 +- + fs/select.c | 4 +- + include/asm-alpha/ptrace.h | 1 + + include/asm-ia64/ptrace.h | 1 + + include/asm-ia64/thread_info.h | 2 +- + include/asm-powerpc/ptrace.h | 1 + + include/asm-s390/thread_info.h | 2 +- + include/asm-sparc64/ptrace.h | 2 + + include/asm-x86/ptrace.h | 2 + + include/linux/init_task.h | 3 - + include/linux/ptrace.h | 71 +- + include/linux/sched.h | 46 +- + include/linux/thread_info.h | 10 +- + include/linux/tracehook.h | 493 ++++++++ + include/linux/utrace.h | 544 ++++++++ + init/Kconfig | 29 + + kernel/Makefile | 1 + + kernel/compat.c | 3 +- + kernel/exit.c | 371 +++--- + kernel/fork.c | 72 +- + kernel/ptrace.c | 2112 +++++++++++++++++++++++++------- + kernel/signal.c | 288 +---- + kernel/sys_ni.c | 4 + + kernel/utrace.c | 2377 +++++++++++++++++++++++++++++++++++ + mm/nommu.c | 4 +- + security/selinux/hooks.c | 59 +- + security/selinux/include/objsec.h | 1 - + 58 files changed, 6306 insertions(+), 1287 deletions(-) + +diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile +index 300e170..7cf3afc 100644 +--- a/Documentation/DocBook/Makefile ++++ b/Documentation/DocBook/Makefile +@@ -7,7 +7,7 @@ + # list of DOCBOOKS. + + DOCBOOKS := wanbook.xml z8530book.xml mcabook.xml videobook.xml \ +- kernel-hacking.xml kernel-locking.xml deviceiobook.xml \ ++ kernel-hacking.xml kernel-locking.xml deviceiobook.xml utrace.xml \ + procfs-guide.xml writing_usb_driver.xml networking.xml \ + kernel-api.xml filesystems.xml lsm.xml usb.xml \ + gadget.xml libata.xml mtdnand.xml librs.xml rapidio.xml \ +diff --git a/Documentation/DocBook/utrace.tmpl b/Documentation/DocBook/utrace.tmpl +new file mode 100644 +index ...f185043 100644 +--- /dev/null ++++ b/Documentation/DocBook/utrace.tmpl +@@ -0,0 +1,23 @@ ++ ++ ++ ++ ++ ++ The utrace User Debugging Infrastructure ++ ++ ++ ++ ++The utrace core API ++!Iinclude/linux/utrace.h ++!Ekernel/utrace.c ++ ++ ++Machine state access via utrace ++!Finclude/linux/regset.h struct user_regset ++!Finclude/linux/regset.h struct user_regset_view ++!Finclude/linux/regset.h task_user_regset_view ++ ++ ++ +diff --git a/Documentation/utrace.txt b/Documentation/utrace.txt +new file mode 100644 +index ...4d24c33 100644 +--- /dev/null ++++ b/Documentation/utrace.txt +@@ -0,0 +1,579 @@ ++DRAFT DRAFT DRAFT WORK IN PROGRESS DRAFT DRAFT DRAFT ++ ++This is work in progress and likely to change. ++ ++ ++ Roland McGrath ++ ++--- ++ ++ User Debugging Data & Event Rendezvous ++ ---- --------- ---- - ----- ---------- ++ ++See linux/utrace.h for all the declarations used here. ++See also linux/tracehook.h for the utrace_regset declarations. ++ ++The UTRACE is infrastructure code for tracing and controlling user ++threads. This is the foundation for writing tracing engines, which ++can be loadable kernel modules. The UTRACE interfaces provide three ++basic facilities: ++ ++* Thread event reporting ++ ++ Tracing engines can request callbacks for events of interest in ++ the thread: signals, system calls, exit, exec, clone, etc. ++ ++* Core thread control ++ ++ Tracing engines can prevent a thread from running (keeping it in ++ TASK_TRACED state), or make it single-step or block-step (when ++ hardware supports it). Engines can cause a thread to abort system ++ calls, they change the behaviors of signals, and they can inject ++ signal-style actions at will. ++ ++* Thread machine state access ++ ++ Tracing engines can read and write a thread's registers and ++ similar per-thread CPU state. ++ ++ ++ Tracing engines ++ ------- ------- ++ ++The basic actors in UTRACE are the thread and the tracing engine. ++A tracing engine is some body of code that calls into the utrace_* ++interfaces, represented by a struct utrace_engine_ops. (Usually it's a ++kernel module, though the legacy ptrace support is a tracing engine ++that is not in a kernel module.) The UTRACE interface operates on ++individual threads (struct task_struct). If an engine wants to ++treat several threads as a group, that is up to its higher-level ++code. Using the UTRACE starts out by attaching an engine to a thread. ++ ++ struct utrace_attached_engine * ++ utrace_attach(struct task_struct *target, int flags, ++ const struct utrace_engine_ops *ops, void *data); ++ ++Calling utrace_attach is what sets up a tracing engine to trace a ++thread. Use UTRACE_ATTACH_CREATE in flags, and pass your engine's ops. ++Check the return value with IS_ERR. If successful, it returns a ++struct pointer that is the handle used in all other utrace_* calls. ++The data argument is stored in the utrace_attached_engine structure, ++for your code to use however it wants. ++ ++ int utrace_detach(struct task_struct *target, ++ struct utrace_attached_engine *engine); ++ ++The utrace_detach call removes an engine from a thread. ++No more callbacks will be made after this returns success. ++ ++ ++An attached engine does nothing by default. ++An engine makes something happen by setting its flags. ++ ++ int utrace_set_flags(struct task_struct *target, ++ struct utrace_attached_engine *engine, ++ unsigned long flags); ++ ++The synchronization issues related to these two calls ++are discussed further below in "Teardown Races". ++ ++ ++ Action Flags ++ ------ ----- ++ [...8964 lines suppressed...] ++ current); ++ if (ret) ++ break; ++ } ++ } ++ } ++ rcu_read_unlock(); ++ ++ return ret; ++} ++ ++/* ++ * Called on the current task to return LSM_UNSAFE_* bits implied by tracing. ++ * Called with task_lock() held. ++ */ ++int ++utrace_unsafe_exec(struct task_struct *tsk) ++{ ++ struct utrace *utrace = tsk->utrace; ++ struct list_head *pos, *next; ++ struct utrace_attached_engine *engine; ++ const struct utrace_engine_ops *ops; ++ int unsafe = 0; ++ ++ /* XXX must change for sharing */ ++ list_for_each_safe_rcu(pos, next, &utrace->engines) { ++ engine = list_entry(pos, struct utrace_attached_engine, entry); ++ ops = rcu_dereference(engine->ops); ++ if (ops->unsafe_exec) ++ unsafe |= (*ops->unsafe_exec)(engine, tsk); ++ } ++ ++ return unsafe; ++} +diff --git a/mm/nommu.c b/mm/nommu.c +index 5d8ae08..515beac 100644 +--- a/mm/nommu.c ++++ b/mm/nommu.c +@@ -22,7 +22,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +@@ -734,7 +734,7 @@ static unsigned long determine_vm_flags( + * it's being traced - otherwise breakpoints set in it may interfere + * with another untraced process + */ +- if ((flags & MAP_PRIVATE) && (current->ptrace & PT_PTRACED)) ++ if ((flags & MAP_PRIVATE) && tracehook_expect_breakpoints(current)) + vm_flags &= ~VM_MAYSHARE; + + return vm_flags; +diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c +index 41a049f..44b756b 100644 +--- a/security/selinux/hooks.c ++++ b/security/selinux/hooks.c +@@ -24,7 +24,7 @@ + + #include + #include +-#include ++#include + #include + #include + #include +@@ -162,7 +162,7 @@ static int task_alloc_security(struct ta + return -ENOMEM; + + tsec->task = task; +- tsec->osid = tsec->sid = tsec->ptrace_sid = SECINITSID_UNLABELED; ++ tsec->osid = tsec->sid = SECINITSID_UNLABELED; + task->security = tsec; + + return 0; +@@ -1638,19 +1638,13 @@ static inline u32 file_to_av(struct file + + static int selinux_ptrace(struct task_struct *parent, struct task_struct *child) + { +- struct task_security_struct *psec = parent->security; +- struct task_security_struct *csec = child->security; + int rc; + + rc = secondary_ops->ptrace(parent,child); + if (rc) + return rc; + +- rc = task_has_perm(parent, child, PROCESS__PTRACE); +- /* Save the SID of the tracing process for later use in apply_creds. */ +- if (!(child->ptrace & PT_PTRACED) && !rc) +- csec->ptrace_sid = psec->sid; +- return rc; ++ return task_has_perm(parent, child, PROCESS__PTRACE); + } + + static int selinux_capget(struct task_struct *target, kernel_cap_t *effective, +@@ -2119,12 +2113,25 @@ static void selinux_bprm_apply_creds(str + /* Check for ptracing, and update the task SID if ok. + Otherwise, leave SID unchanged and kill. */ + if (unsafe & (LSM_UNSAFE_PTRACE | LSM_UNSAFE_PTRACE_CAP)) { +- rc = avc_has_perm(tsec->ptrace_sid, sid, +- SECCLASS_PROCESS, PROCESS__PTRACE, +- NULL); +- if (rc) { +- bsec->unsafe = 1; +- return; ++ struct task_struct *tracer; ++ struct task_security_struct *sec; ++ u32 ptsid = 0; ++ ++ rcu_read_lock(); ++ tracer = tracehook_tracer_task(current); ++ if (likely(tracer != NULL)) { ++ sec = tracer->security; ++ ptsid = sec->sid; ++ } ++ rcu_read_unlock(); ++ ++ if (ptsid != 0) { ++ rc = avc_has_perm(ptsid, sid, SECCLASS_PROCESS, ++ PROCESS__PTRACE, NULL); ++ if (rc) { ++ bsec->unsafe = 1; ++ return; ++ } + } + } + tsec->sid = sid; +@@ -2207,7 +2214,7 @@ static void selinux_bprm_post_apply_cred + + /* Wake up the parent if it is waiting so that it can + recheck wait permission to the new task SID. */ +- wake_up_interruptible(¤t->parent->signal->wait_chldexit); ++ wake_up_interruptible(¤t->real_parent->signal->wait_chldexit); + } + + /* superblock security operations */ +@@ -3080,11 +3087,6 @@ static int selinux_task_alloc_security(s + tsec2->keycreate_sid = tsec1->keycreate_sid; + tsec2->sockcreate_sid = tsec1->sockcreate_sid; + +- /* Retain ptracer SID across fork, if any. +- This will be reset by the ptrace hook upon any +- subsequent ptrace_attach operations. */ +- tsec2->ptrace_sid = tsec1->ptrace_sid; +- + return 0; + } + +@@ -5050,6 +5052,7 @@ static int selinux_setprocattr(struct ta + char *name, void *value, size_t size) + { + struct task_security_struct *tsec; ++ struct task_struct *tracer; + u32 sid = 0; + int error; + char *str = value; +@@ -5138,18 +5141,24 @@ static int selinux_setprocattr(struct ta + /* Check for ptracing, and update the task SID if ok. + Otherwise, leave SID unchanged and fail. */ + task_lock(p); +- if (p->ptrace & PT_PTRACED) { +- error = avc_has_perm_noaudit(tsec->ptrace_sid, sid, ++ rcu_read_lock(); ++ tracer = tracehook_tracer_task(p); ++ if (tracer != NULL) { ++ struct task_security_struct *ptsec = tracer->security; ++ u32 ptsid = ptsec->sid; ++ rcu_read_unlock(); ++ error = avc_has_perm_noaudit(ptsid, sid, + SECCLASS_PROCESS, + PROCESS__PTRACE, 0, &avd); + if (!error) + tsec->sid = sid; + task_unlock(p); +- avc_audit(tsec->ptrace_sid, sid, SECCLASS_PROCESS, ++ avc_audit(ptsid, sid, SECCLASS_PROCESS, + PROCESS__PTRACE, &avd, error, NULL); + if (error) + return error; + } else { ++ rcu_read_unlock(); + tsec->sid = sid; + task_unlock(p); + } +diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h +index c6c2bb4..1db31c2 100644 +--- a/security/selinux/include/objsec.h ++++ b/security/selinux/include/objsec.h +@@ -35,7 +35,6 @@ struct task_security_struct { + u32 create_sid; /* fscreate SID */ + u32 keycreate_sid; /* keycreate SID */ + u32 sockcreate_sid; /* fscreate SID */ +- u32 ptrace_sid; /* SID of ptrace parent */ + }; + + struct inode_security_struct { linux-2.6-windfarm-pm121-fix.patch: --- NEW FILE linux-2.6-windfarm-pm121-fix.patch --- --- linux-2.6.24.ppc64/drivers/macintosh/windfarm_pm121.c~ 2008-03-22 19:13:22.000000000 +0000 +++ linux-2.6.24.ppc64/drivers/macintosh/windfarm_pm121.c 2008-03-23 09:05:54.000000000 +0000 @@ -867,7 +867,7 @@ static struct wf_control* pm121_register { if (controls[id] == NULL && !strcmp(ct->name, match)) { if (wf_get_control(ct) == 0) - controls[FAN_OD] = ct; + controls[id] = ct; } return controls[id]; } @@ -879,10 +879,10 @@ static void pm121_new_control(struct wf_ if (pm121_all_controls_ok) return; - all = all && pm121_register_control(ct, "optical-driver-fan", FAN_OD); - all = all && pm121_register_control(ct, "hard-driver-fan", FAN_HD); - all = all && pm121_register_control(ct, "cpu-driver-fan", FAN_CPU); - all = all && pm121_register_control(ct, "cpufreq-clamp", CPUFREQ); + all = pm121_register_control(ct, "optical-drive-fan", FAN_OD) && all; + all = pm121_register_control(ct, "hard-drive-fan", FAN_HD) && all; + all = pm121_register_control(ct, "cpu-fan", FAN_CPU) && all; + all = pm121_register_control(ct, "cpufreq-clamp", CPUFREQ) && all; if (all) pm121_all_controls_ok = 1; @@ -909,24 +909,24 @@ static void pm121_new_sensor(struct wf_s if (pm121_all_sensors_ok) return; - all = all && pm121_register_sensor(sr, "cpu-temp", - &sensor_cpu_temp); - all = all && pm121_register_sensor(sr, "cpu-current", - &sensor_cpu_current); - all = all && pm121_register_sensor(sr, "cpu-voltage", - &sensor_cpu_voltage); - all = all && pm121_register_sensor(sr, "cpu-power", - &sensor_cpu_power); - all = all && pm121_register_sensor(sr, "hard-drive-temp", - &sensor_hard_drive_temp); - all = all && pm121_register_sensor(sr, "optical-drive-temp", - &sensor_optical_drive_temp); - all = all && pm121_register_sensor(sr, "incoming-air-temp", - &sensor_incoming_air_temp); - all = all && pm121_register_sensor(sr, "north-bridge-temp", - &sensor_north_bridge_temp); - all = all && pm121_register_sensor(sr, "gpu-temp", - &sensor_gpu_temp); + all = pm121_register_sensor(sr, "cpu-temp", + &sensor_cpu_temp) && all; + all = pm121_register_sensor(sr, "cpu-current", + &sensor_cpu_current) && all; + all = pm121_register_sensor(sr, "cpu-voltage", + &sensor_cpu_voltage) && all; + all = pm121_register_sensor(sr, "cpu-power", + &sensor_cpu_power) && all; + all = pm121_register_sensor(sr, "hard-drive-temp", + &sensor_hard_drive_temp) && all; + all = pm121_register_sensor(sr, "optical-drive-temp", + &sensor_optical_drive_temp) && all; + all = pm121_register_sensor(sr, "incoming-air-temp", + &sensor_incoming_air_temp) && all; + all = pm121_register_sensor(sr, "north-bridge-temp", + &sensor_north_bridge_temp) && all; + all = pm121_register_sensor(sr, "gpu-temp", + &sensor_gpu_temp) && all; if (all) pm121_all_sensors_ok = 1; linux-2.6-windfarm-pm121.patch: --- NEW FILE linux-2.6-windfarm-pm121.patch --- >From linuxppc-dev-bounces+dwmw2=infradead.org at ozlabs.org Sat Jan 26 11:57:27 2008 Return-path: Envelope-to: dwmw2 at baythorne.infradead.org Delivery-date: Sat, 26 Jan 2008 11:57:28 +0000 Received: from pentafluge.infradead.org ([2001:770:15f::1]) by baythorne.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1JIjf4-0007PK-Lq for dwmw2 at baythorne.infradead.org; Sat, 26 Jan 2008 11:57:27 +0000 Received: from ozlabs.org ([203.10.76.45]) by pentafluge.infradead.org with esmtps (Exim 4.68 #1 (Red Hat Linux)) id 1JIjep-0002yH-Db for dwmw2 at infradead.org; Sat, 26 Jan 2008 11:57:25 +0000 Received: from ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 3F138DDE42 for ; Sat, 26 Jan 2008 22:57:07 +1100 (EST) X-Original-To: linuxppc-dev at ozlabs.org Delivered-To: linuxppc-dev at ozlabs.org Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by ozlabs.org (Postfix) with ESMTP id C34F2DDE05 for ; Sat, 26 Jan 2008 22:56:53 +1100 (EST) Received: by fg-out-1718.google.com with SMTP id 16so871497fgg.39 for ; Sat, 26 Jan 2008 03:56:50 -0800 (PST) Received: by 10.86.50.8 with SMTP id x8mr2930559fgx.30.1201348610311; Sat, 26 Jan 2008 03:56:50 -0800 (PST) Received: from ?192.168.0.1? ( [82.243.217.90]) by mx.google.com with ESMTPS id e11sm3476258fga.5.2008.01.26.03.56.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 26 Jan 2008 03:56:48 -0800 (PST) Subject: [PATCH] windfarm: add PowerMac 12,1 support From: =?ISO-8859-1?Q?=C9tienne?= Bersac To: linuxppc-dev Date: Sat, 26 Jan 2008 12:55:25 +0100 Message-Id: <1201348525.6859.1.camel at thilivren> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 X-BeenThere: linuxppc-dev at ozlabs.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Sender: linuxppc-dev-bounces+dwmw2=infradead.org at ozlabs.org Errors-To: linuxppc-dev-bounces+dwmw2=infradead.org at ozlabs.org X-Spam-Score: 0.0 (/) X-Evolution-Source: imap://dwmw2 at pentafluge.infradead.org/ Content-Transfer-Encoding: 8bit From: ??tienne Bersac Implement a new driver named windfarm_pm121 which drive fans on PowerMac 12,1 machine : iMac G5 iSight (rev C) 17" and 20". It's based on windfarm_pm81 driver from Benjamin Herrenschmidt. Signed-off-by: ??tienne Bersac --- Implement fan control for PowerMac 12,1 machines. This needs update to windfarm_lm75 and windfarm_max6690 sensors drivers in order to properly match sensors by their location. The code is based on windfarm_pm81 driver, adapted to the complexity of PowerMac 12,1 : 4 system control loops instead of one, per-control target correction and per-model control rubber-banding. All the data are copied from Darwin 8.10 AppleMacRISC4PE-185.0.0 module as well as correction formula. diff --git a/arch/powerpc/configs/g5_defconfig b/arch/powerpc/configs/g5_defconfig index 3673dd2..4c048b3 100644 --- a/arch/powerpc/configs/g5_defconfig +++ b/arch/powerpc/configs/g5_defconfig @@ -667,6 +667,7 @@ CONFIG_WINDFARM=y CONFIG_WINDFARM_PM81=y CONFIG_WINDFARM_PM91=y CONFIG_WINDFARM_PM112=y +CONFIG_WINDFARM_PM121=y # CONFIG_PMAC_RACKMETER is not set CONFIG_NETDEVICES=y # CONFIG_NETDEVICES_MULTIQUEUE is not set diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig index 77f50b6..2d028e6 100644 --- a/drivers/macintosh/Kconfig +++ b/drivers/macintosh/Kconfig @@ -234,6 +234,14 @@ config WINDFARM_PM112 which are the recent dual and quad G5 machines using the 970MP dual-core processor. +config WINDFARM_PM121 + tristate "Support for thermal management on PowerMac12,1" + depends on WINDFARM && I2C && PMAC_SMU + select I2C_POWERMAC + help + This driver provides thermal control for the PowerMac12,1 + which is the iMac G5 (iSight) 970MP + config ANSLCD tristate "Support for ANS LCD display" depends on ADB_CUDA && PPC_PMAC diff --git a/drivers/macintosh/Makefile b/drivers/macintosh/Makefile index 2dfc3f4..e3132ef 100644 --- a/drivers/macintosh/Makefile +++ b/drivers/macintosh/Makefile @@ -42,4 +42,9 @@ obj-$(CONFIG_WINDFARM_PM112) += windfarm_pm112.o windfarm_smu_sat.o \ windfarm_smu_sensors.o \ windfarm_max6690_sensor.o \ windfarm_lm75_sensor.o windfarm_pid.o +obj-$(CONFIG_WINDFARM_PM121) += windfarm_pm121.o windfarm_smu_sat.o \ + windfarm_smu_controls.o \ + windfarm_smu_sensors.o \ + windfarm_max6690_sensor.o \ + windfarm_lm75_sensor.o windfarm_pid.o obj-$(CONFIG_PMAC_RACKMETER) += rack-meter.o diff --git a/drivers/macintosh/windfarm_lm75_sensor.c b/drivers/macintosh/windfarm_lm75_sensor.c index 7e10c3a..b92b959 100644 --- a/drivers/macintosh/windfarm_lm75_sensor.c +++ b/drivers/macintosh/windfarm_lm75_sensor.c @@ -127,6 +127,12 @@ static struct wf_lm75_sensor *wf_lm75_create(struct i2c_adapter *adapter, */ if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY")) lm->sens.name = "hd-temp"; + else if (!strcmp(loc, "Incoming Air Temp")) + lm->sens.name = "incoming-air-temp"; + else if (!strcmp(loc, "ODD Temp")) + lm->sens.name = "optical-drive-temp"; + else if (!strcmp(loc, "HD Temp")) + lm->sens.name = "hard-drive-temp"; else goto fail; diff --git a/drivers/macintosh/windfarm_max6690_sensor.c b/drivers/macintosh/windfarm_max6690_sensor.c index 5f03aab..e207a90 100644 --- a/drivers/macintosh/windfarm_max6690_sensor.c +++ b/drivers/macintosh/windfarm_max6690_sensor.c @@ -77,18 +77,28 @@ static struct wf_sensor_ops wf_max6690_ops = { .owner = THIS_MODULE, }; -static void wf_max6690_create(struct i2c_adapter *adapter, u8 addr) +static void wf_max6690_create(struct i2c_adapter *adapter, u8 addr, + const char *loc) { struct wf_6690_sensor *max; - char *name = "backside-temp"; + char *name; max = kzalloc(sizeof(struct wf_6690_sensor), GFP_KERNEL); if (max == NULL) { printk(KERN_ERR "windfarm: Couldn't create MAX6690 sensor %s: " - "no memory\n", name); + "no memory\n", loc); return; } + if (!strcmp(loc, "BACKSIDE")) + name = "backside-temp"; + else if (!strcmp(loc, "NB Ambient")) + name = "north-bridge-temp"; + else if (!strcmp(loc, "GPU Ambient")) + name = "gpu-temp"; + else + goto fail; + max->sens.ops = &wf_max6690_ops; max->sens.name = name; max->i2c.addr = addr >> 1; @@ -138,9 +148,7 @@ static int wf_max6690_attach(struct i2c_adapter *adapter) if (loc == NULL || addr == 0) continue; printk("found max6690, loc=%s addr=0x%02x\n", loc, addr); - if (strcmp(loc, "BACKSIDE")) - continue; - wf_max6690_create(adapter, addr); + wf_max6690_create(adapter, addr, loc); } return 0; diff --git a/drivers/macintosh/windfarm_pm121.c b/drivers/macintosh/windfarm_pm121.c new file mode 100644 index 0000000..5276156 --- /dev/null +++ b/drivers/macintosh/windfarm_pm121.c @@ -0,0 +1,1040 @@ +/* + * Windfarm PowerMac thermal control. iMac G5 iSight + * + * (c) Copyright 2007 ??tienne Bersac + * + * Bits & pieces from windfarm_pm81.c by (c) Copyright 2005 Benjamin + * Herrenschmidt, IBM Corp. + * + * Released under the term of the GNU GPL v2. + * + * + * + * PowerMac12,1 + * ============ + * + * + * The algorithm used is the PID control algorithm, used the same way + * the published Darwin code does, using the same values that are + * present in the Darwin 8.10 snapshot property lists (note however + * that none of the code has been re-used, it's a complete + * re-implementation + * + * There is two models using PowerMac12,1. Model 2 is iMac G5 iSight + * 17" while Model 3 is iMac G5 20". They do have both the same + * controls with a tiny difference. The control-ids of hard-drive-fan + * and cpu-fan is swapped. + * + * + * Target Correction : + * + * controls have a target correction calculated as : + * + * new_min = ((((average_power * slope) >> 16) + offset) >> 16) + min_value + * new_value = max(new_value, max(new_min, 0)) + * + * OD Fan control correction. + * + * # model_id: 2 + * offset : -19563152 + * slope : 1956315 + * + * # model_id: 3 + * offset : -15650652 + * slope : 1565065 + * + * HD Fan control correction. + * + * # model_id: 2 + * offset : -15650652 + * slope : 1565065 + * + * # model_id: 3 + * offset : -19563152 + * slope : 1956315 + * + * CPU Fan control correction. + * + * # model_id: 2 + * offset : -25431900 + * slope : 2543190 + * + * # model_id: 3 + * offset : -15650652 + * slope : 1565065 + * + * + * Target rubber-banding : + * + * Some controls have a target correction which depends on another + * control value. The correction is computed in the following way : + * + * new_min = ref_value * slope + offset + * + * ref_value is the value of the reference control. If new_min is + * greater than 0, then we correct the target value using : + * + * new_target = max (new_target, new_min >> 16) + * + * + * # model_id : 2 + * control : cpu-fan + * ref : optical-drive-fan + * offset : -15650652 + * slope : 1565065 + * + * # model_id : 3 + * control : optical-drive-fan + * ref : hard-drive-fan + * offset : -32768000 + * slope : 65536 + * + * + * In order to have the moste efficient correction with those + * dependencies, we must trigger HD loop before OD loop before CPU + * loop. + * + * + * The various control loops found in Darwin config file are: + * + * HD Fan control loop. + * + * # model_id: 2 + * control : hard-drive-fan + * sensor : hard-drive-temp + * PID params : G_d = 0x00000000 + * G_p = 0x002D70A3 + * G_r = 0x00019999 + * History = 2 entries + * Input target = 0x370000 + * Interval = 5s + * + * # model_id: 3 + * control : hard-drive-fan + * sensor : hard-drive-temp + * PID params : G_d = 0x00000000 + * G_p = 0x002170A3 + * G_r = 0x00019999 + * History = 2 entries + * Input target = 0x370000 + * Interval = 5s + * + * OD Fan control loop. + * + * # model_id: 2 + * control : optical-drive-fan + * sensor : optical-drive-temp + * PID params : G_d = 0x00000000 + * G_p = 0x001FAE14 + * G_r = 0x00019999 + * History = 2 entries + * Input target = 0x320000 + * Interval = 5s + * + * # model_id: 3 + * control : optical-drive-fan + * sensor : optical-drive-temp + * PID params : G_d = 0x00000000 + * G_p = 0x001FAE14 + * G_r = 0x00019999 + * History = 2 entries + * Input target = 0x320000 + * Interval = 5s + * + * GPU Fan control loop. + * + * # model_id: 2 + * control : hard-drive-fan + * sensor : gpu-temp + * PID params : G_d = 0x00000000 + * G_p = 0x002A6666 + * G_r = 0x00019999 + * History = 2 entries + * Input target = 0x5A0000 + * Interval = 5s + * + * # model_id: 3 + * control : cpu-fan + * sensor : gpu-temp + * PID params : G_d = 0x00000000 + * G_p = 0x0010CCCC + * G_r = 0x00019999 + * History = 2 entries + * Input target = 0x500000 + * Interval = 5s + * + * KODIAK (aka northbridge) Fan control loop. + * + * # model_id: 2 + * control : optical-drive-fan + * sensor : north-bridge-temp + * PID params : G_d = 0x00000000 + * G_p = 0x003BD70A + * G_r = 0x00019999 + * History = 2 entries + * Input target = 0x550000 + * Interval = 5s + * + * # model_id: 3 + * control : hard-drive-fan + * sensor : north-bridge-temp + * PID params : G_d = 0x00000000 + * G_p = 0x0030F5C2 + * G_r = 0x00019999 + * History = 2 entries + * Input target = 0x550000 + * Interval = 5s + * + * CPU Fan control loop. + * + * control : cpu-fan + * sensors : cpu-temp, cpu-power + * PID params : from SDB partition + * + * + * CPU Slew control loop. + * + * control : cpufreq-clamp + * sensor : cpu-temp + * + */ + +#undef DEBUG + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "windfarm.h" +#include "windfarm_pid.h" + +#define VERSION "0.3" + +static int pm121_mach_model; /* machine model id */ + +/* Controls & sensors */ +static struct wf_sensor *sensor_cpu_power; +static struct wf_sensor *sensor_cpu_temp; +static struct wf_sensor *sensor_cpu_voltage; +static struct wf_sensor *sensor_cpu_current; +static struct wf_sensor *sensor_gpu_temp; +static struct wf_sensor *sensor_north_bridge_temp; +static struct wf_sensor *sensor_hard_drive_temp; +static struct wf_sensor *sensor_optical_drive_temp; +static struct wf_sensor *sensor_incoming_air_temp; /* unused ! */ + +enum { + FAN_CPU, + FAN_HD, + FAN_OD, + CPUFREQ, + N_CONTROLS +}; +static struct wf_control *controls[N_CONTROLS] = {}; + +/* Set to kick the control loop into life */ +static int pm121_all_controls_ok, pm121_all_sensors_ok, pm121_started; + +enum { + FAILURE_FAN = 1 << 0, + FAILURE_SENSOR = 1 << 1, + FAILURE_OVERTEMP = 1 << 2 +}; + +/* All sys loops. Note the HD before the OD loop in order to have it + run before. */ +enum { + LOOP_GPU, /* control = hd or cpu, but luckily, + it doesn't matter */ + LOOP_HD, /* control = hd */ + LOOP_KODIAK, /* control = hd or od */ + LOOP_OD, /* control = od */ + N_LOOPS +}; + +static const char *loop_names[N_LOOPS] = { + "GPU", + "HD", + "KODIAK", + "OD", +}; + +#define PM121_NUM_CONFIGS 2 + +static unsigned int pm121_failure_state; +static int pm121_readjust, pm121_skipping; +static s32 average_power; + +struct pm121_correction { + int offset; + int slope; +}; + +static struct pm121_correction corrections[N_CONTROLS][PM121_NUM_CONFIGS] = { + /* FAN_OD */ + { + /* MODEL 2 */ + { .offset = -19563152, + .slope = 1956315 + }, + /* MODEL 3 */ + { .offset = -15650652, + .slope = 1565065 + }, + }, + /* FAN_HD */ + { + /* MODEL 2 */ + { .offset = -15650652, + .slope = 1565065 + }, + /* MODEL 3 */ + { .offset = -19563152, + .slope = 1956315 + }, + }, + /* FAN_CPU */ + { + /* MODEL 2 */ + { .offset = -25431900, + .slope = 2543190 + }, + /* MODEL 3 */ + { .offset = -15650652, + .slope = 1565065 + }, + }, + /* CPUFREQ has no correction (and is not implemented at all) */ +}; + +struct pm121_connection { + unsigned int control_id; + unsigned int ref_id; + struct pm121_correction correction; +}; + +static struct pm121_connection pm121_connections[] = { + /* MODEL 2 */ + { .control_id = FAN_CPU, + .ref_id = FAN_OD, + { .offset = -32768000, + .slope = 65536 + } + }, + /* MODEL 3 */ + { .control_id = FAN_OD, + .ref_id = FAN_HD, + { .offset = -32768000, + .slope = 65536 + } + }, +}; + +/* pointer to the current model connection */ +static struct pm121_connection *pm121_connection; + +/* + * ****** System Fans Control Loop ****** + * + */ + +/* Since each loop handles only one control and we want to avoid + * writing virtual control, we store the control correction with the + * loop params. Some data are not set, there are common to all loop + * and thus, hardcoded. + */ +struct pm121_sys_param { + /* purely informative since we use mach_model-2 as index */ + int model_id; + struct wf_sensor **sensor; /* use sensor_id instead ? */ + s32 gp, itarget; + unsigned int control_id; +}; + +static struct pm121_sys_param +pm121_sys_all_params[N_LOOPS][PM121_NUM_CONFIGS] = { + /* GPU Fan control loop */ + { + { .model_id = 2, + .sensor = &sensor_gpu_temp, + .gp = 0x002A6666, + .itarget = 0x5A0000, + .control_id = FAN_HD, + }, + { .model_id = 3, + .sensor = &sensor_gpu_temp, + .gp = 0x0010CCCC, + .itarget = 0x500000, + .control_id = FAN_CPU, + }, + }, + /* HD Fan control loop */ + { + { .model_id = 2, + .sensor = &sensor_hard_drive_temp, + .gp = 0x002D70A3, + .itarget = 0x370000, + .control_id = FAN_HD, + }, + { .model_id = 3, + .sensor = &sensor_hard_drive_temp, + .gp = 0x002170A3, + .itarget = 0x370000, + .control_id = FAN_HD, + }, + }, + /* KODIAK Fan control loop */ + { + { .model_id = 2, + .sensor = &sensor_north_bridge_temp, + .gp = 0x003BD70A, + .itarget = 0x550000, + .control_id = FAN_OD, + }, + { .model_id = 3, + .sensor = &sensor_north_bridge_temp, + .gp = 0x0030F5C2, + .itarget = 0x550000, + .control_id = FAN_HD, + }, + }, + /* OD Fan control loop */ + { + { .model_id = 2, + .sensor = &sensor_optical_drive_temp, + .gp = 0x001FAE14, + .itarget = 0x320000, + .control_id = FAN_OD, + }, + { .model_id = 3, + .sensor = &sensor_optical_drive_temp, + .gp = 0x001FAE14, + .itarget = 0x320000, + .control_id = FAN_OD, + }, + }, +}; + +/* the hardcoded values */ +#define PM121_SYS_GD 0x00000000 +#define PM121_SYS_GR 0x00019999 +#define PM121_SYS_HISTORY_SIZE 2 +#define PM121_SYS_INTERVAL 5 + +/* State data used by the system fans control loop + */ +struct pm121_sys_state { + int ticks; + s32 setpoint; + struct wf_pid_state pid; +}; + +struct pm121_sys_state *pm121_sys_state[N_LOOPS] = {}; + +/* + * ****** CPU Fans Control Loop ****** + * + */ + +#define PM121_CPU_INTERVAL 1 + +/* State data used by the cpu fans control loop + */ +struct pm121_cpu_state { + int ticks; + s32 setpoint; + struct wf_cpu_pid_state pid; +}; + +static struct pm121_cpu_state *pm121_cpu_state; + + + +/* + * ***** Implementation ***** + * + */ + +/* correction the value using the output-low-bound correction algo */ +static s32 pm121_correct(s32 new_setpoint, + unsigned int control_id, + s32 min) +{ + s32 new_min; + struct pm121_correction *correction; + correction = &corrections[control_id][pm121_mach_model - 2]; + + new_min = (average_power * correction->slope) >> 16; + new_min += correction->offset; + new_min = (new_min >> 16) + min; + + return max(new_setpoint, max(new_min, 0)); +} + +static s32 pm121_connect(unsigned int control_id, s32 setpoint) +{ + s32 new_min, value, new_setpoint; + + if (pm121_connection->control_id == control_id) { + controls[control_id]->ops->get_value(controls[control_id], + &value); + new_min = value * pm121_connection->correction.slope; + new_min += pm121_connection->correction.offset; + if (new_min > 0) { + new_setpoint = max(setpoint, (new_min >> 16)); + if (new_setpoint != setpoint) { + pr_debug("pm121: %s depending on %s, " + "corrected from %d to %d RPM\n", + controls[control_id]->name, + controls[pm121_connection->ref_id]->name, + (int) setpoint, (int) new_setpoint); + } + } else + new_setpoint = setpoint; + } + /* no connection */ + else + new_setpoint = setpoint; + + return new_setpoint; +} + +/* FAN LOOPS */ +static void pm121_create_sys_fans(int loop_id) +{ + struct pm121_sys_param *param = NULL; + struct wf_pid_param pid_param; + struct wf_control *control = NULL; + int i; + + /* First, locate the params for this model */ + for (i = 0; i < PM121_NUM_CONFIGS; i++) { + if (pm121_sys_all_params[loop_id][i].model_id == pm121_mach_model) { + param = &(pm121_sys_all_params[loop_id][i]); + break; + } + } + + /* No params found, put fans to max */ + if (param == NULL) { + printk(KERN_WARNING "pm121: %s fan config not found " + " for this machine model\n", + loop_names[loop_id]); + goto fail; + } + + control = controls[param->control_id]; + + /* Alloc & initialize state */ + pm121_sys_state[loop_id] = kmalloc(sizeof(struct pm121_sys_state), + GFP_KERNEL); + if (pm121_sys_state[loop_id] == NULL) { + printk(KERN_WARNING "pm121: Memory allocation error\n"); + goto fail; + } + pm121_sys_state[loop_id]->ticks = 1; + + /* Fill PID params */ + pid_param.gd = PM121_SYS_GD; + pid_param.gp = param->gp; + pid_param.gr = PM121_SYS_GR; + pid_param.interval = PM121_SYS_INTERVAL; + pid_param.history_len = PM121_SYS_HISTORY_SIZE; + pid_param.itarget = param->itarget; + pid_param.min = control->ops->get_min(control); + pid_param.max = control->ops->get_max(control); + + wf_pid_init(&pm121_sys_state[loop_id]->pid, &pid_param); + + pr_debug("pm121: %s Fan control loop initialized.\n" + " itarged=%d.%03d, min=%d RPM, max=%d RPM\n", + loop_names[loop_id], FIX32TOPRINT(pid_param.itarget), + pid_param.min, pid_param.max); + return; + + fail: + /* note that this is not optimal since another loop may still + control the same control */ + printk(KERN_WARNING "pm121: failed to set up %s loop " + "setting \"%s\" to max speed.\n", + loop_names[loop_id], control->name); + + if (control) + wf_control_set_max(control); +} + +static void pm121_sys_fans_tick(int loop_id) +{ + struct pm121_sys_param *param; + struct pm121_sys_state *st; + struct wf_sensor *sensor; + struct wf_control *control; + s32 temp, new_setpoint; + int rc; + + param = &(pm121_sys_all_params[loop_id][pm121_mach_model-2]); + st = pm121_sys_state[loop_id]; + sensor = *(param->sensor); + control = controls[param->control_id]; + + if (--st->ticks != 0) { + if (pm121_readjust) + goto readjust; + return; + } + st->ticks = PM121_SYS_INTERVAL; + + rc = sensor->ops->get_value(sensor, &temp); + if (rc) { + printk(KERN_WARNING "windfarm: %s sensor error %d\n", + sensor->name, rc); + pm121_failure_state |= FAILURE_SENSOR; + return; + } + + pr_debug("pm121: %s Fan tick ! %s: %d.%03d\n", + loop_names[loop_id], sensor->name, + FIX32TOPRINT(temp)); + + new_setpoint = wf_pid_run(&st->pid, temp); + + /* correction */ + new_setpoint = pm121_correct(new_setpoint, + param->control_id, + st->pid.param.min); + /* linked corretion */ + new_setpoint = pm121_connect(param->control_id, new_setpoint); + + if (new_setpoint == st->setpoint) + return; + st->setpoint = new_setpoint; + pr_debug("pm121: %s corrected setpoint: %d RPM\n", + control->name, (int)new_setpoint); + readjust: + if (control && pm121_failure_state == 0) { + rc = control->ops->set_value(control, st->setpoint); + if (rc) { + printk(KERN_WARNING "windfarm: %s fan error %d\n", + control->name, rc); + pm121_failure_state |= FAILURE_FAN; + } + } +} + + +/* CPU LOOP */ +static void pm121_create_cpu_fans(void) +{ + struct wf_cpu_pid_param pid_param; + const struct smu_sdbp_header *hdr; + struct smu_sdbp_cpupiddata *piddata; + struct smu_sdbp_fvt *fvt; + struct wf_control *fan_cpu; + s32 tmax, tdelta, maxpow, powadj; + + fan_cpu = controls[FAN_CPU]; + + /* First, locate the PID params in SMU SBD */ + hdr = smu_get_sdb_partition(SMU_SDB_CPUPIDDATA_ID, NULL); + if (hdr == 0) { + printk(KERN_WARNING "pm121: CPU PID fan config not found.\n"); + goto fail; + } + piddata = (struct smu_sdbp_cpupiddata *)&hdr[1]; + + /* Get the FVT params for operating point 0 (the only supported one + * for now) in order to get tmax + */ + hdr = smu_get_sdb_partition(SMU_SDB_FVT_ID, NULL); + if (hdr) { + fvt = (struct smu_sdbp_fvt *)&hdr[1]; + tmax = ((s32)fvt->maxtemp) << 16; + } else + tmax = 0x5e0000; /* 94 degree default */ + + /* Alloc & initialize state */ + pm121_cpu_state = kmalloc(sizeof(struct pm121_cpu_state), + GFP_KERNEL); + if (pm121_cpu_state == NULL) + goto fail; + pm121_cpu_state->ticks = 1; + + /* Fill PID params */ + pid_param.interval = PM121_CPU_INTERVAL; + pid_param.history_len = piddata->history_len; + if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { + printk(KERN_WARNING "pm121: History size overflow on " + "CPU control loop (%d)\n", piddata->history_len); + pid_param.history_len = WF_CPU_PID_MAX_HISTORY; + } + pid_param.gd = piddata->gd; + pid_param.gp = piddata->gp; + pid_param.gr = piddata->gr / pid_param.history_len; + + tdelta = ((s32)piddata->target_temp_delta) << 16; + maxpow = ((s32)piddata->max_power) << 16; + powadj = ((s32)piddata->power_adj) << 16; + + pid_param.tmax = tmax; + pid_param.ttarget = tmax - tdelta; + pid_param.pmaxadj = maxpow - powadj; + + pid_param.min = fan_cpu->ops->get_min(fan_cpu); + pid_param.max = fan_cpu->ops->get_max(fan_cpu); + + wf_cpu_pid_init(&pm121_cpu_state->pid, &pid_param); + + pr_debug("pm121: CPU Fan control initialized.\n"); + pr_debug(" ttarged=%d.%03d, tmax=%d.%03d, min=%d RPM, max=%d RPM,\n", + FIX32TOPRINT(pid_param.ttarget), FIX32TOPRINT(pid_param.tmax), + pid_param.min, pid_param.max); + + return; + + fail: + printk(KERN_WARNING "pm121: CPU fan config not found, max fan speed\n"); + + if (controls[CPUFREQ]) + wf_control_set_max(controls[CPUFREQ]); + if (fan_cpu) + wf_control_set_max(fan_cpu); +} + + +static void pm121_cpu_fans_tick(struct pm121_cpu_state *st) +{ + s32 new_setpoint, temp, power; + struct wf_control *fan_cpu = NULL; + int rc; + + if (--st->ticks != 0) { + if (pm121_readjust) + goto readjust; + return; + } + st->ticks = PM121_CPU_INTERVAL; + + fan_cpu = controls[FAN_CPU]; + + rc = sensor_cpu_temp->ops->get_value(sensor_cpu_temp, &temp); + if (rc) { + printk(KERN_WARNING "pm121: CPU temp sensor error %d\n", + rc); + pm121_failure_state |= FAILURE_SENSOR; + return; + } + + rc = sensor_cpu_power->ops->get_value(sensor_cpu_power, &power); + if (rc) { + printk(KERN_WARNING "pm121: CPU power sensor error %d\n", + rc); + pm121_failure_state |= FAILURE_SENSOR; + return; + } + + pr_debug("pm121: CPU Fans tick ! CPU temp: %d.%03d??C, power: %d.%03d\n", + FIX32TOPRINT(temp), FIX32TOPRINT(power)); + + if (temp > st->pid.param.tmax) + pm121_failure_state |= FAILURE_OVERTEMP; + + new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); + + /* correction */ + new_setpoint = pm121_correct(new_setpoint, + FAN_CPU, + st->pid.param.min); + + /* connected correction */ + new_setpoint = pm121_connect(FAN_CPU, new_setpoint); + + if (st->setpoint == new_setpoint) + return; + st->setpoint = new_setpoint; + pr_debug("pm121: CPU corrected setpoint: %d RPM\n", (int)new_setpoint); + + readjust: + if (fan_cpu && pm121_failure_state == 0) { + rc = fan_cpu->ops->set_value(fan_cpu, st->setpoint); + if (rc) { + printk(KERN_WARNING "pm121: %s fan error %d\n", + fan_cpu->name, rc); + pm121_failure_state |= FAILURE_FAN; + } + } +} + +/* + * ****** Common ****** + * + */ + +static void pm121_tick(void) +{ + unsigned int last_failure = pm121_failure_state; + unsigned int new_failure; + s32 total_power; + int i; + + if (!pm121_started) { + pr_debug("pm121: creating control loops !\n"); + for (i = 0; i < N_LOOPS; i++) + pm121_create_sys_fans(i); + + pm121_create_cpu_fans(); + pm121_started = 1; + } + + /* skipping ticks */ + if (pm121_skipping && --pm121_skipping) + return; + + /* compute average power */ + total_power = 0; + for (i = 0; i < pm121_cpu_state->pid.param.history_len; i++) + total_power += pm121_cpu_state->pid.powers[i]; + + average_power = total_power / pm121_cpu_state->pid.param.history_len; + + + pm121_failure_state = 0; + for (i = 0 ; i < N_LOOPS; i++) { + if (pm121_sys_state[i]) + pm121_sys_fans_tick(i); + } + + if (pm121_cpu_state) + pm121_cpu_fans_tick(pm121_cpu_state); + + pm121_readjust = 0; + new_failure = pm121_failure_state & ~last_failure; + + /* If entering failure mode, clamp cpufreq and ramp all + * fans to full speed. + */ + if (pm121_failure_state && !last_failure) { + for (i = 0; i < N_CONTROLS; i++) { + if (controls[i]) + wf_control_set_max(controls[i]); + } + } + + /* If leaving failure mode, unclamp cpufreq and readjust + * all fans on next iteration + */ + if (!pm121_failure_state && last_failure) { + if (controls[CPUFREQ]) + wf_control_set_min(controls[CPUFREQ]); + pm121_readjust = 1; + } + + /* Overtemp condition detected, notify and start skipping a couple + * ticks to let the temperature go down + */ + if (new_failure & FAILURE_OVERTEMP) { + wf_set_overtemp(); + pm121_skipping = 2; + } + + /* We only clear the overtemp condition if overtemp is cleared + * _and_ no other failure is present. Since a sensor error will + * clear the overtemp condition (can't measure temperature) at + * the control loop levels, but we don't want to keep it clear + * here in this case + */ + if (new_failure == 0 && last_failure & FAILURE_OVERTEMP) + wf_clear_overtemp(); +} + + +static struct wf_control* pm121_register_control(struct wf_control *ct, + const char *match, + unsigned int id) +{ + if (controls[id] == NULL && !strcmp(ct->name, match)) { + if (wf_get_control(ct) == 0) + controls[FAN_OD] = ct; + } + return controls[id]; +} + +static void pm121_new_control(struct wf_control *ct) +{ + int all = 1; + + if (pm121_all_controls_ok) + return; + + all = all && pm121_register_control(ct, "optical-driver-fan", FAN_OD); + all = all && pm121_register_control(ct, "hard-driver-fan", FAN_HD); + all = all && pm121_register_control(ct, "cpu-driver-fan", FAN_CPU); + all = all && pm121_register_control(ct, "cpufreq-clamp", CPUFREQ); + + if (all) + pm121_all_controls_ok = 1; +} + + + + +static struct wf_sensor* pm121_register_sensor(struct wf_sensor *sensor, + const char *match, + struct wf_sensor **var) +{ + if (*var == NULL && !strcmp(sensor->name, match)) { + if (wf_get_sensor(sensor) == 0) + *var = sensor; + } + return *var; +} + +static void pm121_new_sensor(struct wf_sensor *sr) +{ + int all = 1; + + if (pm121_all_sensors_ok) + return; + + all = all && pm121_register_sensor(sr, "cpu-temp", + &sensor_cpu_temp); + all = all && pm121_register_sensor(sr, "cpu-current", + &sensor_cpu_current); + all = all && pm121_register_sensor(sr, "cpu-voltage", + &sensor_cpu_voltage); + all = all && pm121_register_sensor(sr, "cpu-power", + &sensor_cpu_power); + all = all && pm121_register_sensor(sr, "hard-drive-temp", + &sensor_hard_drive_temp); + all = all && pm121_register_sensor(sr, "optical-drive-temp", + &sensor_optical_drive_temp); + all = all && pm121_register_sensor(sr, "incoming-air-temp", + &sensor_incoming_air_temp); + all = all && pm121_register_sensor(sr, "north-bridge-temp", + &sensor_north_bridge_temp); + all = all && pm121_register_sensor(sr, "gpu-temp", + &sensor_gpu_temp); + + if (all) + pm121_all_sensors_ok = 1; +} + + + +static int pm121_notify(struct notifier_block *self, + unsigned long event, void *data) +{ + switch (event) { + case WF_EVENT_NEW_CONTROL: + pr_debug("pm121: new control %s detected\n", + ((struct wf_control *)data)->name); + pm121_new_control(data); + break; + case WF_EVENT_NEW_SENSOR: + pr_debug("pm121: new sensor %s detected\n", + ((struct wf_sensor *)data)->name); + pm121_new_sensor(data); + break; + case WF_EVENT_TICK: + if (pm121_all_controls_ok && pm121_all_sensors_ok) + pm121_tick(); + break; + } + + return 0; +} + +static struct notifier_block pm121_events = { + .notifier_call = pm121_notify, +}; + +static int pm121_init_pm(void) +{ + const struct smu_sdbp_header *hdr; + + hdr = smu_get_sdb_partition(SMU_SDB_SENSORTREE_ID, NULL); + if (hdr != 0) { + struct smu_sdbp_sensortree *st = + (struct smu_sdbp_sensortree *)&hdr[1]; + pm121_mach_model = st->model_id; + } + + pm121_connection = &pm121_connections[pm121_mach_model - 2]; + + printk(KERN_INFO "pm121: Initializing for iMac G5 iSight model ID %d\n", + pm121_mach_model); + + return 0; +} + + +static int pm121_probe(struct platform_device *ddev) +{ + wf_register_client(&pm121_events); + + return 0; +} + +static int __devexit pm121_remove(struct platform_device *ddev) +{ + wf_unregister_client(&pm121_events); + return 0; +} + +static struct platform_driver pm121_driver = { + .probe = pm121_probe, + .remove = __devexit_p(pm121_remove), + .driver = { + .name = "windfarm", + .bus = &platform_bus_type, + }, +}; + + +static int __init pm121_init(void) +{ + int rc = -ENODEV; + + if (machine_is_compatible("PowerMac12,1")) + rc = pm121_init_pm(); + + if (rc == 0) { + request_module("windfarm_smu_controls"); + request_module("windfarm_smu_sensors"); + request_module("windfarm_smu_sat"); + request_module("windfarm_lm75_sensor"); + request_module("windfarm_max6690_sensor"); + request_module("windfarm_cpufreq_clamp"); + platform_driver_register(&pm121_driver); + } + + return rc; +} + +static void __exit pm121_exit(void) +{ + + platform_driver_unregister(&pm121_driver); +} + + +module_init(pm121_init); +module_exit(pm121_exit); + +MODULE_AUTHOR("??tienne Bersac "); +MODULE_DESCRIPTION("Thermal control logic for iMac G5 (iSight)"); +MODULE_LICENSE("GPL"); + diff --git a/drivers/macintosh/windfarm_smu_controls.c b/drivers/macintosh/windfarm_smu_controls.c index 58c2590..961fa0e 100644 --- a/drivers/macintosh/windfarm_smu_controls.c +++ b/drivers/macintosh/windfarm_smu_controls.c @@ -218,6 +218,10 @@ static struct smu_fan_control *smu_fan_create(struct device_node *node, fct->ctrl.name = "cpu-fan"; else if (!strcmp(l, "Hard Drive") || !strcmp(l, "Hard drive")) fct->ctrl.name = "drive-bay-fan"; + else if (!strcmp(l, "HDD Fan")) /* seen on iMac G5 iSight */ + fct->ctrl.name = "hard-drive-fan"; + else if (!strcmp(l, "ODD Fan")) /* same */ + fct->ctrl.name = "optical-drive-fan"; /* Unrecognized fan, bail out */ if (fct->ctrl.name == NULL) _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev at ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev linux-2.6-xen-0004-xen-Do-not-pin-unpin-PMD-pages.patch: --- NEW FILE linux-2.6-xen-0004-xen-Do-not-pin-unpin-PMD-pages.patch --- >From 80358c19beb40110031f9e0f68db37bfceb6b6d4 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Fri, 28 Mar 2008 14:40:38 +0000 Subject: [PATCH] xen: Do not pin/unpin PMD pages During process startup, in xen_pgd_pin(), we pin PTE pages but not PMD pages. If we then later map and unmap using an otherwise unused PMD page, the unpin in release_pd() fails because it wasn't previously pinned. i.e. with this simple test case: int fd = open("/dev/zero", O_RDONLY); munmap(mmap((void *)0x40000000, 0x1000_LEN, PROT_READ, MAP_PRIVATE, fd, 0), 0x1000); close(fd); we currently get: kernel BUG at arch/x86/xen/enlighten.c:678! ... EIP is at xen_release_pt+0x79/0xa9 ... Call Trace: [] ? __pmd_free_tlb+0x1a/0x75 [] ? free_pgd_range+0x1d2/0x2b5 [] ? free_pgtables+0x7e/0x93 [] ? unmap_region+0xb9/0xf5 [] ? do_munmap+0x193/0x1f5 [] ? sys_munmap+0x30/0x3f [] ? syscall_call+0x7/0xb ======================= and xen complains: (XEN) mm.c:2241:d4 Mfn 1cc37 not pinned Signed-off-by: Mark McLoughlin --- arch/x86/xen/enlighten.c | 31 ++++++++++++++++++++++--------- arch/x86/xen/mmu.c | 7 ------- arch/x86/xen/mmu.h | 7 +++++++ 3 files changed, 29 insertions(+), 16 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index f32795f..75760a7 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -683,10 +683,10 @@ static void xen_release_pt_init(u32 pfn) make_lowmem_page_readwrite(__va(PFN_PHYS(pfn))); } -static void pin_pagetable_pfn(unsigned level, unsigned long pfn) +static void pin_pagetable_pfn(unsigned cmd, unsigned long pfn) { struct mmuext_op op; - op.cmd = level; + op.cmd = cmd; op.arg1.mfn = pfn_to_mfn(pfn); if (HYPERVISOR_mmuext_op(&op, 1, NULL, DOMID_SELF)) BUG(); @@ -694,7 +694,8 @@ static void pin_pagetable_pfn(unsigned level, unsigned long pfn) /* This needs to make sure the new pte page is pinned iff its being attached to a pinned pagetable. */ -static void xen_alloc_ptpage(struct mm_struct *mm, u32 pfn, unsigned level) +static void xen_alloc_ptpage(struct mm_struct *mm, u32 pfn, + enum pt_level level) { struct page *page = pfn_to_page(pfn); @@ -703,7 +704,8 @@ static void xen_alloc_ptpage(struct mm_struct *mm, u32 pfn, unsigned level) if (!PageHighMem(page)) { make_lowmem_page_readonly(__va(PFN_PHYS(pfn))); - pin_pagetable_pfn(level, pfn); + if (level == PT_PTE) + pin_pagetable_pfn(MMUEXT_PIN_L1_TABLE, pfn); } else /* make sure there are no stray mappings of this page */ @@ -713,27 +715,38 @@ static void xen_alloc_ptpage(struct mm_struct *mm, u32 pfn, unsigned level) static void xen_alloc_pt(struct mm_struct *mm, u32 pfn) { - xen_alloc_ptpage(mm, pfn, MMUEXT_PIN_L1_TABLE); + xen_alloc_ptpage(mm, pfn, PT_PTE); } static void xen_alloc_pd(struct mm_struct *mm, u32 pfn) { - xen_alloc_ptpage(mm, pfn, MMUEXT_PIN_L2_TABLE); + xen_alloc_ptpage(mm, pfn, PT_PMD); } /* This should never happen until we're OK to use struct page */ -static void xen_release_pt(u32 pfn) +static void xen_release_ptpage(u32 pfn, enum pt_level level) { struct page *page = pfn_to_page(pfn); if (PagePinned(page)) { if (!PageHighMem(page)) { - pin_pagetable_pfn(MMUEXT_UNPIN_TABLE, pfn); + if (level == PT_PTE) + pin_pagetable_pfn(MMUEXT_UNPIN_TABLE, pfn); make_lowmem_page_readwrite(__va(PFN_PHYS(pfn))); } } } +static void xen_release_pt(u32 pfn) +{ + xen_release_ptpage(pfn, PT_PTE); +} + +static void xen_release_pd(u32 pfn) +{ + xen_release_ptpage(pfn, PT_PMD); +} + #ifdef CONFIG_HIGHPTE static void *xen_kmap_atomic_pte(struct page *page, enum km_type type) { @@ -854,7 +867,7 @@ static __init void xen_pagetable_setup_done(pgd_t *base) pv_mmu_ops.alloc_pt = xen_alloc_pt; pv_mmu_ops.alloc_pd = xen_alloc_pd; pv_mmu_ops.release_pt = xen_release_pt; - pv_mmu_ops.release_pd = xen_release_pt; + pv_mmu_ops.release_pd = xen_release_pd; pv_mmu_ops.set_pte = xen_set_pte; setup_shared_info(); diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 0144395..2a054ef 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -310,13 +310,6 @@ pgd_t xen_make_pgd(unsigned long pgd) } #endif /* CONFIG_X86_PAE */ -enum pt_level { - PT_PGD, - PT_PUD, - PT_PMD, - PT_PTE -}; - /* (Yet another) pagetable walker. This one is intended for pinning a pagetable. This means that it walks a pagetable and calls the diff --git a/arch/x86/xen/mmu.h b/arch/x86/xen/mmu.h index c9ff27f..b5e189b 100644 --- a/arch/x86/xen/mmu.h +++ b/arch/x86/xen/mmu.h @@ -3,6 +3,13 @@ #include #include +enum pt_level { + PT_PGD, + PT_PUD, + PT_PMD, + PT_PTE +}; + /* * Page-directory addresses above 4GB do not fit into architectural %cr3. * When accessing %cr3, or equivalent field in vcpu_guest_context, guests -- 1.5.4.1 linux-2.6-xen-0006-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch: Index: linux-2.6-xen-0006-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch =================================================================== RCS file: linux-2.6-xen-0006-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch diff -N linux-2.6-xen-0006-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0006-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch 1 Apr 2008 10:38:07 -0000 1.4 @@ -0,0 +1,1254 @@ +From 0a831ce74b5f19e615fe9756afa06af6c5226e94 Mon Sep 17 00:00:00 2001 +From: Markus Armbruster +Date: Mon, 25 Feb 2008 14:06:46 +0100 +Subject: [PATCH] xen pvfb: Para-virtual framebuffer, keyboard and pointer driver + +This is a pair of Xen para-virtual frontend device drivers: +drivers/video/xen-fbfront.c provides a framebuffer, and +drivers/input/xen-kbdfront provides keyboard and mouse. + +The backends run in dom0 user space. + +The two drivers are not in two separate patches, because the +intermediate step (one driver, not the other) is somewhat problematic: +the backend in dom0 needs both drivers, and will refuse to complete +device initialization unless they're both present. + +Signed-off-by: Markus Armbruster +--- + drivers/input/Kconfig | 9 + + drivers/input/Makefile | 2 + + drivers/input/xen-kbdfront.c | 340 +++++++++++++++++++++++ + drivers/video/Kconfig | 14 + + drivers/video/Makefile | 1 + + drivers/video/xen-fbfront.c | 550 ++++++++++++++++++++++++++++++++++++++ + include/xen/interface/io/fbif.h | 124 +++++++++ + include/xen/interface/io/kbdif.h | 114 ++++++++ + 8 files changed, 1154 insertions(+), 0 deletions(-) + create mode 100644 drivers/input/xen-kbdfront.c + create mode 100644 drivers/video/xen-fbfront.c + create mode 100644 include/xen/interface/io/fbif.h + create mode 100644 include/xen/interface/io/kbdif.h + +diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig +index d84ac4a..747633c 100644 +--- a/drivers/input/Kconfig ++++ b/drivers/input/Kconfig +@@ -149,6 +149,15 @@ config INPUT_APMPOWER + To compile this driver as a module, choose M here: the + module will be called apm-power. + ++config XEN_KBDDEV_FRONTEND ++ tristate "Xen virtual keyboard and mouse support" ++ depends on XEN_FBDEV_FRONTEND ++ default y ++ help ++ This driver implements the front-end of the Xen virtual ++ keyboard and mouse device driver. It communicates with a back-end ++ in another domain. ++ + comment "Input Device Drivers" + + source "drivers/input/keyboard/Kconfig" +diff --git a/drivers/input/Makefile b/drivers/input/Makefile +index 24bdec1..606e1b9 100644 +--- a/drivers/input/Makefile ++++ b/drivers/input/Makefile +@@ -24,3 +24,5 @@ obj-$(CONFIG_INPUT_MISC) += misc/ + obj-$(CONFIG_INPUT_LIRC) += lirc/ + + obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o ++ ++obj-$(CONFIG_XEN_KBDDEV_FRONTEND) += xen-kbdfront.o +diff --git a/drivers/input/xen-kbdfront.c b/drivers/input/xen-kbdfront.c +new file mode 100644 +index 0000000..0f47f46 +--- /dev/null ++++ b/drivers/input/xen-kbdfront.c +@@ -0,0 +1,340 @@ ++/* ++ * Xen para-virtual input device ++ * ++ * Copyright (C) 2005 Anthony Liguori ++ * Copyright (C) 2006-2008 Red Hat, Inc., Markus Armbruster ++ * ++ * Based on linux/drivers/input/mouse/sermouse.c ++ * ++ * This file is subject to the terms and conditions of the GNU General Public ++ * License. See the file COPYING in the main directory of this archive for ++ * more details. ++ */ ++ ++/* ++ * TODO: ++ * ++ * Switch to grant tables together with xen-fbfront.c. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++struct xenkbd_info { ++ struct input_dev *kbd; ++ struct input_dev *ptr; ++ struct xenkbd_page *page; ++ int irq; ++ struct xenbus_device *xbdev; ++ char phys[32]; ++}; ++ ++static int xenkbd_remove(struct xenbus_device *); ++static int xenkbd_connect_backend(struct xenbus_device *, struct xenkbd_info *); ++static void xenkbd_disconnect_backend(struct xenkbd_info *); ++ ++/* ++ * Note: if you need to send out events, see xenfb_do_update() for how ++ * to do that. ++ */ ++ ++static irqreturn_t input_handler(int rq, void *dev_id) ++{ ++ struct xenkbd_info *info = dev_id; ++ struct xenkbd_page *page = info->page; ++ __u32 cons, prod; ++ ++ prod = page->in_prod; ++ if (prod == page->in_cons) ++ return IRQ_HANDLED; ++ rmb(); /* ensure we see ring contents up to prod */ ++ for (cons = page->in_cons; cons != prod; cons++) { ++ union xenkbd_in_event *event; ++ struct input_dev *dev; ++ event = &XENKBD_IN_RING_REF(page, cons); ++ ++ dev = info->ptr; ++ switch (event->type) { ++ case XENKBD_TYPE_MOTION: ++ input_report_rel(dev, REL_X, event->motion.rel_x); ++ input_report_rel(dev, REL_Y, event->motion.rel_y); ++ break; ++ case XENKBD_TYPE_KEY: ++ dev = NULL; ++ if (test_bit(event->key.keycode, info->kbd->keybit)) ++ dev = info->kbd; ++ if (test_bit(event->key.keycode, info->ptr->keybit)) ++ dev = info->ptr; ++ if (dev) ++ input_report_key(dev, event->key.keycode, ++ event->key.pressed); ++ else ++ printk(KERN_WARNING ++ "xenkbd: unhandled keycode 0x%x\n", ++ event->key.keycode); ++ break; ++ case XENKBD_TYPE_POS: ++ input_report_abs(dev, ABS_X, event->pos.abs_x); ++ input_report_abs(dev, ABS_Y, event->pos.abs_y); ++ break; ++ } ++ if (dev) ++ input_sync(dev); ++ } ++ mb(); /* ensure we got ring contents */ ++ page->in_cons = cons; ++ notify_remote_via_irq(info->irq); ++ ++ return IRQ_HANDLED; ++} ++ ++static int __devinit xenkbd_probe(struct xenbus_device *dev, ++ const struct xenbus_device_id *id) ++{ ++ int ret, i; ++ struct xenkbd_info *info; ++ struct input_dev *kbd, *ptr; ++ ++ info = kzalloc(sizeof(*info), GFP_KERNEL); ++ if (!info) { ++ xenbus_dev_fatal(dev, -ENOMEM, "allocating info structure"); ++ return -ENOMEM; ++ } ++ dev->dev.driver_data = info; ++ info->xbdev = dev; ++ info->irq = -1; ++ snprintf(info->phys, sizeof(info->phys), "xenbus/%s", dev->nodename); ++ ++ info->page = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); ++ if (!info->page) ++ goto error_nomem; ++ ++ /* keyboard */ ++ kbd = input_allocate_device(); ++ if (!kbd) ++ goto error_nomem; ++ kbd->name = "Xen Virtual Keyboard"; ++ kbd->phys = info->phys; ++ kbd->id.bustype = BUS_PCI; ++ kbd->id.vendor = 0x5853; ++ kbd->id.product = 0xffff; ++ kbd->evbit[0] = BIT(EV_KEY); ++ for (i = KEY_ESC; i < KEY_UNKNOWN; i++) ++ set_bit(i, kbd->keybit); ++ for (i = KEY_OK; i < KEY_MAX; i++) ++ set_bit(i, kbd->keybit); ++ ++ ret = input_register_device(kbd); ++ if (ret) { ++ input_free_device(kbd); ++ xenbus_dev_fatal(dev, ret, "input_register_device(kbd)"); ++ goto error; ++ } ++ info->kbd = kbd; ++ ++ /* pointing device */ ++ ptr = input_allocate_device(); ++ if (!ptr) ++ goto error_nomem; ++ ptr->name = "Xen Virtual Pointer"; ++ ptr->phys = info->phys; ++ ptr->id.bustype = BUS_PCI; ++ ptr->id.vendor = 0x5853; ++ ptr->id.product = 0xfffe; ++ ptr->evbit[0] = BIT(EV_KEY) | BIT(EV_REL) | BIT(EV_ABS); ++ for (i = BTN_LEFT; i <= BTN_TASK; i++) ++ set_bit(i, ptr->keybit); ++ ptr->relbit[0] = BIT(REL_X) | BIT(REL_Y); ++ input_set_abs_params(ptr, ABS_X, 0, XENFB_WIDTH, 0, 0); ++ input_set_abs_params(ptr, ABS_Y, 0, XENFB_HEIGHT, 0, 0); ++ ++ ret = input_register_device(ptr); ++ if (ret) { ++ input_free_device(ptr); ++ xenbus_dev_fatal(dev, ret, "input_register_device(ptr)"); ++ goto error; ++ } ++ info->ptr = ptr; ++ ++ ret = xenkbd_connect_backend(dev, info); ++ if (ret < 0) ++ goto error; ++ ++ return 0; ++ ++ error_nomem: ++ ret = -ENOMEM; ++ xenbus_dev_fatal(dev, ret, "allocating device memory"); ++ error: ++ xenkbd_remove(dev); ++ return ret; ++} ++ ++static int xenkbd_resume(struct xenbus_device *dev) ++{ ++ struct xenkbd_info *info = dev->dev.driver_data; ++ ++ xenkbd_disconnect_backend(info); ++ memset(info->page, 0, PAGE_SIZE); ++ return xenkbd_connect_backend(dev, info); ++} ++ ++static int xenkbd_remove(struct xenbus_device *dev) ++{ ++ struct xenkbd_info *info = dev->dev.driver_data; ++ ++ xenkbd_disconnect_backend(info); ++ if (info->kbd) ++ input_unregister_device(info->kbd); ++ if (info->ptr) ++ input_unregister_device(info->ptr); ++ free_page((unsigned long)info->page); ++ kfree(info); ++ return 0; ++} ++ ++static int xenkbd_connect_backend(struct xenbus_device *dev, ++ struct xenkbd_info *info) ++{ ++ int ret, evtchn; ++ struct xenbus_transaction xbt; ++ ++ ret = xenbus_alloc_evtchn(dev, &evtchn); ++ if (ret) ++ return ret; ++ ret = bind_evtchn_to_irqhandler(evtchn, input_handler, ++ 0, dev->devicetype, info); ++ if (ret < 0) { ++ xenbus_free_evtchn(dev, evtchn); ++ xenbus_dev_fatal(dev, ret, "bind_evtchn_to_irqhandler"); ++ return ret; ++ } ++ info->irq = ret; ++ ++ again: ++ ret = xenbus_transaction_start(&xbt); ++ if (ret) { ++ xenbus_dev_fatal(dev, ret, "starting transaction"); ++ return ret; ++ } ++ ret = xenbus_printf(xbt, dev->nodename, "page-ref", "%lu", ++ virt_to_mfn(info->page)); ++ if (ret) ++ goto error_xenbus; ++ ret = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", ++ evtchn); ++ if (ret) ++ goto error_xenbus; ++ ret = xenbus_transaction_end(xbt, 0); ++ if (ret) { ++ if (ret == -EAGAIN) ++ goto again; ++ xenbus_dev_fatal(dev, ret, "completing transaction"); ++ return ret; ++ } ++ ++ xenbus_switch_state(dev, XenbusStateInitialised); ++ return 0; ++ ++ error_xenbus: ++ xenbus_transaction_end(xbt, 1); ++ xenbus_dev_fatal(dev, ret, "writing xenstore"); ++ return ret; ++} ++ ++static void xenkbd_disconnect_backend(struct xenkbd_info *info) ++{ ++ if (info->irq >= 0) ++ unbind_from_irqhandler(info->irq, info); ++ info->irq = -1; ++} ++ ++static void xenkbd_backend_changed(struct xenbus_device *dev, ++ enum xenbus_state backend_state) ++{ ++ struct xenkbd_info *info = dev->dev.driver_data; ++ int ret, val; ++ ++ switch (backend_state) { ++ case XenbusStateInitialising: ++ case XenbusStateInitialised: ++ case XenbusStateUnknown: ++ case XenbusStateClosed: ++ break; ++ ++ case XenbusStateInitWait: ++InitWait: ++ ret = xenbus_scanf(XBT_NIL, info->xbdev->otherend, ++ "feature-abs-pointer", "%d", &val); ++ if (ret < 0) ++ val = 0; ++ if (val) { ++ ret = xenbus_printf(XBT_NIL, info->xbdev->nodename, ++ "request-abs-pointer", "1"); ++ if (ret) ++ printk(KERN_WARNING ++ "xenkbd: can't request abs-pointer"); ++ } ++ xenbus_switch_state(dev, XenbusStateConnected); ++ break; ++ ++ case XenbusStateConnected: ++ /* ++ * Work around xenbus race condition: If backend goes ++ * through InitWait to Connected fast enough, we can ++ * get Connected twice here. ++ */ ++ if (dev->state != XenbusStateConnected) ++ goto InitWait; /* no InitWait seen yet, fudge it */ ++ break; ++ ++ case XenbusStateClosing: ++ xenbus_frontend_closed(dev); ++ break; ++ } ++} ++ ++static struct xenbus_device_id xenkbd_ids[] = { ++ { "vkbd" }, ++ { "" } ++}; ++ ++static struct xenbus_driver xenkbd = { ++ .name = "vkbd", ++ .owner = THIS_MODULE, ++ .ids = xenkbd_ids, ++ .probe = xenkbd_probe, ++ .remove = xenkbd_remove, ++ .resume = xenkbd_resume, ++ .otherend_changed = xenkbd_backend_changed, ++}; ++ ++static int __init xenkbd_init(void) ++{ ++ if (!is_running_on_xen()) ++ return -ENODEV; ++ ++ /* Nothing to do if running in dom0. */ ++ if (is_initial_xendomain()) ++ return -ENODEV; ++ ++ return xenbus_register_frontend(&xenkbd); ++} ++ ++static void __exit xenkbd_cleanup(void) ++{ ++ xenbus_unregister_driver(&xenkbd); ++} ++ ++module_init(xenkbd_init); ++module_exit(xenkbd_cleanup); ++ ++MODULE_LICENSE("GPL"); +diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig +index 1bd5fb3..e3dc8f8 100644 +--- a/drivers/video/Kconfig ++++ b/drivers/video/Kconfig +@@ -1930,6 +1930,20 @@ config FB_VIRTUAL + + If unsure, say N. + ++config XEN_FBDEV_FRONTEND ++ tristate "Xen virtual frame buffer support" ++ depends on FB && XEN ++ select FB_SYS_FILLRECT ++ select FB_SYS_COPYAREA ++ select FB_SYS_IMAGEBLIT ++ select FB_SYS_FOPS ++ select FB_DEFERRED_IO ++ default y ++ help ++ This driver implements the front-end of the Xen virtual ++ frame buffer driver. It communicates with a back-end ++ in another domain. ++ + source "drivers/video/omap/Kconfig" + + source "drivers/video/backlight/Kconfig" +diff --git a/drivers/video/Makefile b/drivers/video/Makefile +index 11c0e5e..f172b9b 100644 +--- a/drivers/video/Makefile ++++ b/drivers/video/Makefile +@@ -114,6 +114,7 @@ obj-$(CONFIG_FB_PS3) += ps3fb.o + obj-$(CONFIG_FB_SM501) += sm501fb.o + obj-$(CONFIG_FB_XILINX) += xilinxfb.o + obj-$(CONFIG_FB_OMAP) += omap/ ++obj-$(CONFIG_XEN_FBDEV_FRONTEND) += xen-fbfront.o + + # Platform or fallback drivers go here + obj-$(CONFIG_FB_UVESA) += uvesafb.o +diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c +new file mode 100644 +index 0000000..619a6f8 +--- /dev/null ++++ b/drivers/video/xen-fbfront.c +@@ -0,0 +1,550 @@ ++/* ++ * Xen para-virtual frame buffer device ++ * ++ * Copyright (C) 2005-2006 Anthony Liguori ++ * Copyright (C) 2006-2008 Red Hat, Inc., Markus Armbruster ++ * ++ * Based on linux/drivers/video/q40fb.c ++ * ++ * This file is subject to the terms and conditions of the GNU General Public ++ * License. See the file COPYING in the main directory of this archive for ++ * more details. ++ */ ++ ++/* ++ * TODO: ++ * ++ * Switch to grant tables when they become capable of dealing with the ++ * frame buffer. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++struct xenfb_info { ++ unsigned char *fb; ++ struct fb_info *fb_info; ++ int x1, y1, x2, y2; /* dirty rectangle, ++ protected by dirty_lock */ ++ spinlock_t dirty_lock; ++ int nr_pages; ++ int irq; ++ struct xenfb_page *page; ++ unsigned long *mfns; ++ int update_wanted; /* XENFB_TYPE_UPDATE wanted */ ++ ++ struct xenbus_device *xbdev; ++}; ++ ++static u32 xenfb_mem_len = XENFB_WIDTH * XENFB_HEIGHT * XENFB_DEPTH / 8; ++ ++static int xenfb_remove(struct xenbus_device *); ++static void xenfb_init_shared_page(struct xenfb_info *); ++static int xenfb_connect_backend(struct xenbus_device *, struct xenfb_info *); ++static void xenfb_disconnect_backend(struct xenfb_info *); ++ ++static void xenfb_do_update(struct xenfb_info *info, ++ int x, int y, int w, int h) ++{ ++ union xenfb_out_event event; ++ u32 prod; ++ ++ event.type = XENFB_TYPE_UPDATE; ++ event.update.x = x; ++ event.update.y = y; ++ event.update.width = w; ++ event.update.height = h; ++ ++ prod = info->page->out_prod; ++ /* caller ensures !xenfb_queue_full() */ ++ mb(); /* ensure ring space available */ ++ XENFB_OUT_RING_REF(info->page, prod) = event; ++ wmb(); /* ensure ring contents visible */ ++ info->page->out_prod = prod + 1; ++ ++ notify_remote_via_irq(info->irq); ++} ++ ++static int xenfb_queue_full(struct xenfb_info *info) ++{ ++ u32 cons, prod; ++ ++ prod = info->page->out_prod; ++ cons = info->page->out_cons; ++ return prod - cons == XENFB_OUT_RING_LEN; ++} ++ ++static void xenfb_refresh(struct xenfb_info *info, ++ int x1, int y1, int w, int h) ++{ ++ unsigned long flags; ++ int y2 = y1 + h - 1; ++ int x2 = x1 + w - 1; ++ ++ if (!info->update_wanted) ++ return; ++ ++ spin_lock_irqsave(&info->dirty_lock, flags); ++ ++ /* Combine with dirty rectangle: */ ++ if (info->y1 < y1) ++ y1 = info->y1; ++ if (info->y2 > y2) ++ y2 = info->y2; ++ if (info->x1 < x1) ++ x1 = info->x1; ++ if (info->x2 > x2) ++ x2 = info->x2; ++ ++ if (xenfb_queue_full(info)) { ++ /* Can't send right now, stash it in the dirty rectangle */ ++ info->x1 = x1; ++ info->x2 = x2; ++ info->y1 = y1; ++ info->y2 = y2; ++ spin_unlock_irqrestore(&info->dirty_lock, flags); ++ return; ++ } ++ ++ /* Clear dirty rectangle: */ ++ info->x1 = info->y1 = INT_MAX; ++ info->x2 = info->y2 = 0; ++ ++ spin_unlock_irqrestore(&info->dirty_lock, flags); ++ ++ if (x1 <= x2 && y1 <= y2) ++ xenfb_do_update(info, x1, y1, x2 - x1 + 1, y2 - y1 + 1); ++} ++ ++static void xenfb_deferred_io(struct fb_info *fb_info, ++ struct list_head *pagelist) ++{ ++ struct xenfb_info *info = fb_info->par; ++ struct page *page; ++ unsigned long beg, end; ++ int y1, y2, miny, maxy; ++ ++ miny = INT_MAX; ++ maxy = 0; ++ list_for_each_entry(page, pagelist, lru) { ++ beg = page->index << PAGE_SHIFT; ++ end = beg + PAGE_SIZE - 1; ++ y1 = beg / fb_info->fix.line_length; ++ y2 = end / fb_info->fix.line_length; ++ if (y2 >= fb_info->var.yres) ++ y2 = fb_info->var.yres - 1; ++ if (miny > y1) ++ miny = y1; ++ if (maxy < y2) ++ maxy = y2; ++ } ++ xenfb_refresh(info, 0, miny, fb_info->var.xres, maxy - miny + 1); ++} ++ ++static struct fb_deferred_io xenfb_defio = { ++ .delay = HZ / 20, ++ .deferred_io = xenfb_deferred_io, ++}; ++ ++static int xenfb_setcolreg(unsigned regno, unsigned red, unsigned green, ++ unsigned blue, unsigned transp, ++ struct fb_info *info) ++{ ++ u32 v; ++ ++ if (regno > info->cmap.len) ++ return 1; ++ ++#define CNVT_TOHW(val, width) ((((val)<<(width))+0x7FFF-(val))>>16) ++ red = CNVT_TOHW(red, info->var.red.length); ++ green = CNVT_TOHW(green, info->var.green.length); ++ blue = CNVT_TOHW(blue, info->var.blue.length); ++ transp = CNVT_TOHW(transp, info->var.transp.length); ++#undef CNVT_TOHW ++ ++ v = (red << info->var.red.offset) | ++ (green << info->var.green.offset) | ++ (blue << info->var.blue.offset); ++ ++ switch (info->var.bits_per_pixel) { ++ case 16: ++ case 24: ++ case 32: ++ ((u32 *)info->pseudo_palette)[regno] = v; ++ break; ++ } ++ ++ return 0; ++} ++ ++static void xenfb_fillrect(struct fb_info *p, const struct fb_fillrect *rect) ++{ ++ struct xenfb_info *info = p->par; ++ ++ sys_fillrect(p, rect); ++ xenfb_refresh(info, rect->dx, rect->dy, rect->width, rect->height); ++} ++ ++static void xenfb_imageblit(struct fb_info *p, const struct fb_image *image) ++{ ++ struct xenfb_info *info = p->par; ++ ++ sys_imageblit(p, image); ++ xenfb_refresh(info, image->dx, image->dy, image->width, image->height); ++} ++ ++static void xenfb_copyarea(struct fb_info *p, const struct fb_copyarea *area) ++{ ++ struct xenfb_info *info = p->par; ++ ++ sys_copyarea(p, area); ++ xenfb_refresh(info, area->dx, area->dy, area->width, area->height); ++} ++ ++static ssize_t xenfb_write(struct fb_info *p, const char __user *buf, ++ size_t count, loff_t *ppos) ++{ ++ struct xenfb_info *info = p->par; ++ ssize_t res; ++ ++ res = fb_sys_write(p, buf, count, ppos); ++ xenfb_refresh(info, 0, 0, info->page->width, info->page->height); ++ return res; ++} ++ ++static struct fb_ops xenfb_fb_ops = { ++ .owner = THIS_MODULE, ++ .fb_read = fb_sys_read, ++ .fb_write = xenfb_write, ++ .fb_setcolreg = xenfb_setcolreg, ++ .fb_fillrect = xenfb_fillrect, ++ .fb_copyarea = xenfb_copyarea, ++ .fb_imageblit = xenfb_imageblit, ++}; ++ ++static irqreturn_t xenfb_event_handler(int rq, void *dev_id) ++{ ++ /* ++ * No in events recognized, simply ignore them all. ++ * If you need to recognize some, see xen-kbdfront's ++ * input_handler() for how to do that. ++ */ ++ struct xenfb_info *info = dev_id; ++ struct xenfb_page *page = info->page; ++ ++ if (page->in_cons != page->in_prod) { ++ info->page->in_cons = info->page->in_prod; ++ notify_remote_via_irq(info->irq); ++ } ++ ++ /* Flush dirty rectangle: */ ++ xenfb_refresh(info, INT_MAX, INT_MAX, -INT_MAX, -INT_MAX); ++ ++ return IRQ_HANDLED; ++} ++ ++static int __devinit xenfb_probe(struct xenbus_device *dev, ++ const struct xenbus_device_id *id) ++{ ++ struct xenfb_info *info; ++ struct fb_info *fb_info; ++ int ret; ++ ++ info = kzalloc(sizeof(*info), GFP_KERNEL); ++ if (info == NULL) { ++ xenbus_dev_fatal(dev, -ENOMEM, "allocating info structure"); ++ return -ENOMEM; ++ } ++ dev->dev.driver_data = info; ++ info->xbdev = dev; ++ info->irq = -1; ++ info->x1 = info->y1 = INT_MAX; ++ spin_lock_init(&info->dirty_lock); ++ ++ info->fb = vmalloc(xenfb_mem_len); ++ if (info->fb == NULL) ++ goto error_nomem; ++ memset(info->fb, 0, xenfb_mem_len); ++ ++ info->nr_pages = (xenfb_mem_len + PAGE_SIZE - 1) >> PAGE_SHIFT; ++ ++ info->mfns = vmalloc(sizeof(unsigned long) * info->nr_pages); ++ if (!info->mfns) ++ goto error_nomem; ++ ++ /* set up shared page */ ++ info->page = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); ++ if (!info->page) ++ goto error_nomem; ++ ++ xenfb_init_shared_page(info); ++ ++ /* abusing framebuffer_alloc() to allocate pseudo_palette */ ++ fb_info = framebuffer_alloc(sizeof(u32) * 256, NULL); ++ if (fb_info == NULL) ++ goto error_nomem; ++ ++ /* complete the abuse: */ ++ fb_info->pseudo_palette = fb_info->par; ++ fb_info->par = info; ++ ++ fb_info->screen_base = info->fb; ++ ++ fb_info->fbops = &xenfb_fb_ops; ++ fb_info->var.xres_virtual = fb_info->var.xres = info->page->width; ++ fb_info->var.yres_virtual = fb_info->var.yres = info->page->height; ++ fb_info->var.bits_per_pixel = info->page->depth; ++ ++ fb_info->var.red = (struct fb_bitfield){16, 8, 0}; ++ fb_info->var.green = (struct fb_bitfield){8, 8, 0}; ++ fb_info->var.blue = (struct fb_bitfield){0, 8, 0}; ++ ++ fb_info->var.activate = FB_ACTIVATE_NOW; ++ fb_info->var.height = -1; ++ fb_info->var.width = -1; ++ fb_info->var.vmode = FB_VMODE_NONINTERLACED; ++ ++ fb_info->fix.visual = FB_VISUAL_TRUECOLOR; ++ fb_info->fix.line_length = info->page->line_length; ++ fb_info->fix.smem_start = 0; ++ fb_info->fix.smem_len = xenfb_mem_len; ++ strcpy(fb_info->fix.id, "xen"); ++ fb_info->fix.type = FB_TYPE_PACKED_PIXELS; ++ fb_info->fix.accel = FB_ACCEL_NONE; ++ ++ fb_info->flags = FBINFO_FLAG_DEFAULT; ++ ++ ret = fb_alloc_cmap(&fb_info->cmap, 256, 0); ++ if (ret < 0) { ++ framebuffer_release(fb_info); ++ xenbus_dev_fatal(dev, ret, "fb_alloc_cmap"); ++ goto error; ++ } ++ ++ fb_info->fbdefio = &xenfb_defio; ++ fb_deferred_io_init(fb_info); ++ ++ ret = register_framebuffer(fb_info); ++ if (ret) { ++ fb_deferred_io_cleanup(fb_info); ++ fb_dealloc_cmap(&fb_info->cmap); ++ framebuffer_release(fb_info); ++ xenbus_dev_fatal(dev, ret, "register_framebuffer"); ++ goto error; ++ } ++ info->fb_info = fb_info; ++ ++ ret = xenfb_connect_backend(dev, info); ++ if (ret < 0) ++ goto error; ++ ++ return 0; ++ ++ error_nomem: ++ ret = -ENOMEM; ++ xenbus_dev_fatal(dev, ret, "allocating device memory"); ++ error: ++ xenfb_remove(dev); ++ return ret; ++} ++ ++static int xenfb_resume(struct xenbus_device *dev) ++{ ++ struct xenfb_info *info = dev->dev.driver_data; ++ ++ xenfb_disconnect_backend(info); ++ xenfb_init_shared_page(info); ++ return xenfb_connect_backend(dev, info); ++} ++ ++static int xenfb_remove(struct xenbus_device *dev) ++{ ++ struct xenfb_info *info = dev->dev.driver_data; ++ ++ xenfb_disconnect_backend(info); ++ if (info->fb_info) { ++ fb_deferred_io_cleanup(info->fb_info); ++ unregister_framebuffer(info->fb_info); ++ fb_dealloc_cmap(&info->fb_info->cmap); ++ framebuffer_release(info->fb_info); ++ } ++ free_page((unsigned long)info->page); ++ vfree(info->mfns); ++ vfree(info->fb); ++ kfree(info); ++ ++ return 0; ++} ++ ++static unsigned long vmalloc_to_mfn(void *address) ++{ ++ return pfn_to_mfn(vmalloc_to_pfn(address)); ++} ++ ++static void xenfb_init_shared_page(struct xenfb_info *info) ++{ ++ int i; ++ ++ for (i = 0; i < info->nr_pages; i++) ++ info->mfns[i] = vmalloc_to_mfn(info->fb + i * PAGE_SIZE); ++ ++ info->page->pd[0] = vmalloc_to_mfn(info->mfns); ++ info->page->pd[1] = 0; ++ info->page->width = XENFB_WIDTH; ++ info->page->height = XENFB_HEIGHT; ++ info->page->depth = XENFB_DEPTH; ++ info->page->line_length = (info->page->depth / 8) * info->page->width; ++ info->page->mem_length = xenfb_mem_len; ++ info->page->in_cons = info->page->in_prod = 0; ++ info->page->out_cons = info->page->out_prod = 0; ++} ++ ++static int xenfb_connect_backend(struct xenbus_device *dev, ++ struct xenfb_info *info) ++{ ++ int ret, evtchn; ++ struct xenbus_transaction xbt; ++ ++ ret = xenbus_alloc_evtchn(dev, &evtchn); ++ if (ret) ++ return ret; ++ ret = bind_evtchn_to_irqhandler(evtchn, xenfb_event_handler, ++ 0, dev->devicetype, info); ++ if (ret < 0) { ++ xenbus_free_evtchn(dev, evtchn); ++ xenbus_dev_fatal(dev, ret, "bind_evtchn_to_irqhandler"); ++ return ret; ++ } ++ info->irq = ret; ++ ++ again: ++ ret = xenbus_transaction_start(&xbt); ++ if (ret) { ++ xenbus_dev_fatal(dev, ret, "starting transaction"); ++ return ret; ++ } ++ ret = xenbus_printf(xbt, dev->nodename, "page-ref", "%lu", ++ virt_to_mfn(info->page)); ++ if (ret) ++ goto error_xenbus; ++ ret = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", ++ evtchn); ++ if (ret) ++ goto error_xenbus; ++ ret = xenbus_printf(xbt, dev->nodename, "protocol", "%s", ++ XEN_IO_PROTO_ABI_NATIVE); ++ if (ret) ++ goto error_xenbus; ++ ret = xenbus_printf(xbt, dev->nodename, "feature-update", "1"); ++ if (ret) ++ goto error_xenbus; ++ ret = xenbus_transaction_end(xbt, 0); ++ if (ret) { ++ if (ret == -EAGAIN) ++ goto again; ++ xenbus_dev_fatal(dev, ret, "completing transaction"); ++ return ret; ++ } ++ ++ xenbus_switch_state(dev, XenbusStateInitialised); ++ return 0; ++ ++ error_xenbus: ++ xenbus_transaction_end(xbt, 1); ++ xenbus_dev_fatal(dev, ret, "writing xenstore"); ++ return ret; ++} ++ ++static void xenfb_disconnect_backend(struct xenfb_info *info) ++{ ++ if (info->irq >= 0) ++ unbind_from_irqhandler(info->irq, info); ++ info->irq = -1; ++} ++ ++static void xenfb_backend_changed(struct xenbus_device *dev, ++ enum xenbus_state backend_state) ++{ ++ struct xenfb_info *info = dev->dev.driver_data; ++ int val; ++ ++ switch (backend_state) { ++ case XenbusStateInitialising: ++ case XenbusStateInitialised: ++ case XenbusStateUnknown: ++ case XenbusStateClosed: ++ break; ++ ++ case XenbusStateInitWait: ++InitWait: ++ xenbus_switch_state(dev, XenbusStateConnected); ++ break; ++ ++ case XenbusStateConnected: ++ /* ++ * Work around xenbus race condition: If backend goes ++ * through InitWait to Connected fast enough, we can ++ * get Connected twice here. ++ */ ++ if (dev->state != XenbusStateConnected) ++ goto InitWait; /* no InitWait seen yet, fudge it */ ++ ++ if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, ++ "request-update", "%d", &val) < 0) ++ val = 0; ++ if (val) ++ info->update_wanted = 1; ++ break; ++ ++ case XenbusStateClosing: ++ xenbus_frontend_closed(dev); ++ break; ++ } ++} ++ ++static struct xenbus_device_id xenfb_ids[] = { ++ { "vfb" }, ++ { "" } ++}; ++ ++static struct xenbus_driver xenfb = { ++ .name = "vfb", ++ .owner = THIS_MODULE, ++ .ids = xenfb_ids, ++ .probe = xenfb_probe, ++ .remove = xenfb_remove, ++ .resume = xenfb_resume, ++ .otherend_changed = xenfb_backend_changed, ++}; ++ ++static int __init xenfb_init(void) ++{ ++ if (!is_running_on_xen()) ++ return -ENODEV; ++ ++ /* Nothing to do if running in dom0. */ ++ if (is_initial_xendomain()) ++ return -ENODEV; ++ ++ return xenbus_register_frontend(&xenfb); ++} ++ ++static void __exit xenfb_cleanup(void) ++{ ++ xenbus_unregister_driver(&xenfb); ++} ++ ++module_init(xenfb_init); ++module_exit(xenfb_cleanup); ++ ++MODULE_LICENSE("GPL"); +diff --git a/include/xen/interface/io/fbif.h b/include/xen/interface/io/fbif.h +new file mode 100644 +index 0000000..5a934dd +--- /dev/null ++++ b/include/xen/interface/io/fbif.h +@@ -0,0 +1,124 @@ ++/* ++ * fbif.h -- Xen virtual frame buffer device ++ * ++ * Permission is hereby granted, free of charge, to any person obtaining a copy ++ * of this software and associated documentation files (the "Software"), to ++ * deal in the Software without restriction, including without limitation the ++ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or ++ * sell copies of the Software, and to permit persons to whom the Software is ++ * furnished to do so, subject to the following conditions: ++ * ++ * The above copyright notice and this permission notice shall be included in ++ * all copies or substantial portions of the Software. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ++ * DEALINGS IN THE SOFTWARE. ++ * ++ * Copyright (C) 2005 Anthony Liguori ++ * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster ++ */ ++ ++#ifndef __XEN_PUBLIC_IO_FBIF_H__ ++#define __XEN_PUBLIC_IO_FBIF_H__ ++ ++/* Out events (frontend -> backend) */ ++ ++/* ++ * Out events may be sent only when requested by backend, and receipt ++ * of an unknown out event is an error. ++ */ ++ ++/* Event type 1 currently not used */ ++/* ++ * Framebuffer update notification event ++ * Capable frontend sets feature-update in xenstore. ++ * Backend requests it by setting request-update in xenstore. ++ */ ++#define XENFB_TYPE_UPDATE 2 ++ ++struct xenfb_update { ++ uint8_t type; /* XENFB_TYPE_UPDATE */ ++ int32_t x; /* source x */ ++ int32_t y; /* source y */ ++ int32_t width; /* rect width */ ++ int32_t height; /* rect height */ ++}; ++ ++#define XENFB_OUT_EVENT_SIZE 40 ++ ++union xenfb_out_event { ++ uint8_t type; ++ struct xenfb_update update; ++ char pad[XENFB_OUT_EVENT_SIZE]; ++}; ++ ++/* In events (backend -> frontend) */ ++ ++/* ++ * Frontends should ignore unknown in events. ++ * No in events currently defined. ++ */ ++ ++#define XENFB_IN_EVENT_SIZE 40 ++ ++union xenfb_in_event { ++ uint8_t type; ++ char pad[XENFB_IN_EVENT_SIZE]; ++}; ++ ++/* shared page */ ++ ++#define XENFB_IN_RING_SIZE 1024 ++#define XENFB_IN_RING_LEN (XENFB_IN_RING_SIZE / XENFB_IN_EVENT_SIZE) ++#define XENFB_IN_RING_OFFS 1024 ++#define XENFB_IN_RING(page) \ ++ ((union xenfb_in_event *)((char *)(page) + XENFB_IN_RING_OFFS)) ++#define XENFB_IN_RING_REF(page, idx) \ ++ (XENFB_IN_RING((page))[(idx) % XENFB_IN_RING_LEN]) ++ ++#define XENFB_OUT_RING_SIZE 2048 ++#define XENFB_OUT_RING_LEN (XENFB_OUT_RING_SIZE / XENFB_OUT_EVENT_SIZE) ++#define XENFB_OUT_RING_OFFS (XENFB_IN_RING_OFFS + XENFB_IN_RING_SIZE) ++#define XENFB_OUT_RING(page) \ ++ ((union xenfb_out_event *)((char *)(page) + XENFB_OUT_RING_OFFS)) ++#define XENFB_OUT_RING_REF(page, idx) \ ++ (XENFB_OUT_RING((page))[(idx) % XENFB_OUT_RING_LEN]) ++ ++struct xenfb_page { ++ uint32_t in_cons, in_prod; ++ uint32_t out_cons, out_prod; ++ ++ int32_t width; /* width of the framebuffer (in pixels) */ ++ int32_t height; /* height of the framebuffer (in pixels) */ ++ uint32_t line_length; /* length of a row of pixels (in bytes) */ ++ uint32_t mem_length; /* length of the framebuffer (in bytes) */ ++ uint8_t depth; /* depth of a pixel (in bits) */ ++ ++ /* ++ * Framebuffer page directory ++ * ++ * Each directory page holds PAGE_SIZE / sizeof(*pd) ++ * framebuffer pages, and can thus map up to PAGE_SIZE * ++ * PAGE_SIZE / sizeof(*pd) bytes. With PAGE_SIZE == 4096 and ++ * sizeof(unsigned long) == 4, that's 4 Megs. Two directory ++ * pages should be enough for a while. ++ */ ++ unsigned long pd[2]; ++}; ++ ++/* ++ * Wart: xenkbd needs to know resolution. Put it here until a better ++ * solution is found, but don't leak it to the backend. ++ */ ++#ifdef __KERNEL__ ++#define XENFB_WIDTH 800 ++#define XENFB_HEIGHT 600 ++#define XENFB_DEPTH 32 ++#endif ++ ++#endif +diff --git a/include/xen/interface/io/kbdif.h b/include/xen/interface/io/kbdif.h +new file mode 100644 +index 0000000..fb97f42 +--- /dev/null ++++ b/include/xen/interface/io/kbdif.h +@@ -0,0 +1,114 @@ ++/* ++ * kbdif.h -- Xen virtual keyboard/mouse ++ * ++ * Permission is hereby granted, free of charge, to any person obtaining a copy ++ * of this software and associated documentation files (the "Software"), to ++ * deal in the Software without restriction, including without limitation the ++ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or ++ * sell copies of the Software, and to permit persons to whom the Software is ++ * furnished to do so, subject to the following conditions: ++ * ++ * The above copyright notice and this permission notice shall be included in ++ * all copies or substantial portions of the Software. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ++ * DEALINGS IN THE SOFTWARE. ++ * ++ * Copyright (C) 2005 Anthony Liguori ++ * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster ++ */ ++ ++#ifndef __XEN_PUBLIC_IO_KBDIF_H__ ++#define __XEN_PUBLIC_IO_KBDIF_H__ ++ ++/* In events (backend -> frontend) */ ++ ++/* ++ * Frontends should ignore unknown in events. ++ */ ++ ++/* Pointer movement event */ ++#define XENKBD_TYPE_MOTION 1 ++/* Event type 2 currently not used */ ++/* Key event (includes pointer buttons) */ ++#define XENKBD_TYPE_KEY 3 ++/* ++ * Pointer position event ++ * Capable backend sets feature-abs-pointer in xenstore. ++ * Frontend requests ot instead of XENKBD_TYPE_MOTION by setting ++ * request-abs-update in xenstore. ++ */ ++#define XENKBD_TYPE_POS 4 ++ ++struct xenkbd_motion { ++ uint8_t type; /* XENKBD_TYPE_MOTION */ ++ int32_t rel_x; /* relative X motion */ ++ int32_t rel_y; /* relative Y motion */ ++}; ++ ++struct xenkbd_key { ++ uint8_t type; /* XENKBD_TYPE_KEY */ ++ uint8_t pressed; /* 1 if pressed; 0 otherwise */ ++ uint32_t keycode; /* KEY_* from linux/input.h */ ++}; ++ ++struct xenkbd_position { ++ uint8_t type; /* XENKBD_TYPE_POS */ ++ int32_t abs_x; /* absolute X position (in FB pixels) */ ++ int32_t abs_y; /* absolute Y position (in FB pixels) */ ++}; ++ ++#define XENKBD_IN_EVENT_SIZE 40 ++ ++union xenkbd_in_event { ++ uint8_t type; ++ struct xenkbd_motion motion; ++ struct xenkbd_key key; ++ struct xenkbd_position pos; ++ char pad[XENKBD_IN_EVENT_SIZE]; ++}; ++ ++/* Out events (frontend -> backend) */ ++ ++/* ++ * Out events may be sent only when requested by backend, and receipt ++ * of an unknown out event is an error. ++ * No out events currently defined. ++ */ ++ ++#define XENKBD_OUT_EVENT_SIZE 40 ++ ++union xenkbd_out_event { ++ uint8_t type; ++ char pad[XENKBD_OUT_EVENT_SIZE]; ++}; ++ ++/* shared page */ ++ ++#define XENKBD_IN_RING_SIZE 2048 ++#define XENKBD_IN_RING_LEN (XENKBD_IN_RING_SIZE / XENKBD_IN_EVENT_SIZE) ++#define XENKBD_IN_RING_OFFS 1024 ++#define XENKBD_IN_RING(page) \ ++ ((union xenkbd_in_event *)((char *)(page) + XENKBD_IN_RING_OFFS)) ++#define XENKBD_IN_RING_REF(page, idx) \ ++ (XENKBD_IN_RING((page))[(idx) % XENKBD_IN_RING_LEN]) ++ ++#define XENKBD_OUT_RING_SIZE 1024 ++#define XENKBD_OUT_RING_LEN (XENKBD_OUT_RING_SIZE / XENKBD_OUT_EVENT_SIZE) ++#define XENKBD_OUT_RING_OFFS (XENKBD_IN_RING_OFFS + XENKBD_IN_RING_SIZE) ++#define XENKBD_OUT_RING(page) \ ++ ((union xenkbd_out_event *)((char *)(page) + XENKBD_OUT_RING_OFFS)) ++#define XENKBD_OUT_RING_REF(page, idx) \ ++ (XENKBD_OUT_RING((page))[(idx) % XENKBD_OUT_RING_LEN]) ++ ++struct xenkbd_page { ++ uint32_t in_cons, in_prod; ++ uint32_t out_cons, out_prod; ++}; ++ ++#endif +-- +1.5.4.1 + linux-2.6-xen-0007-xen-Module-autoprobing-support-for-frontend-drivers.patch: Index: linux-2.6-xen-0007-xen-Module-autoprobing-support-for-frontend-drivers.patch =================================================================== RCS file: linux-2.6-xen-0007-xen-Module-autoprobing-support-for-frontend-drivers.patch diff -N linux-2.6-xen-0007-xen-Module-autoprobing-support-for-frontend-drivers.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0007-xen-Module-autoprobing-support-for-frontend-drivers.patch 1 Apr 2008 10:38:07 -0000 1.4 @@ -0,0 +1,97 @@ +From 39e9d001b6bc96cf01e7957ec8f0266237239473 Mon Sep 17 00:00:00 2001 +From: Mark McLoughlin +Date: Fri, 22 Feb 2008 12:42:52 +0000 +Subject: [PATCH] xen: Module autoprobing support for frontend drivers + +Add module aliases to support autoprobing modules +for xen frontend devices. + +Signed-off-by: Mark McLoughlin +--- + drivers/block/xen-blkfront.c | 1 + + drivers/net/xen-netfront.c | 1 + + drivers/xen/xenbus/xenbus_probe.c | 27 +++++++++++++++++++++++++-- + 3 files changed, 27 insertions(+), 2 deletions(-) + +diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c +index 2e7c81e..0c47c02 100644 +--- a/drivers/block/xen-blkfront.c ++++ b/drivers/block/xen-blkfront.c +@@ -1005,3 +1005,4 @@ module_exit(xlblk_exit); + MODULE_DESCRIPTION("Xen virtual block device frontend"); + MODULE_LICENSE("GPL"); + MODULE_ALIAS_BLOCKDEV_MAJOR(XENVBD_MAJOR); ++MODULE_ALIAS("xen:vbd"); +diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c +index 7483d45..b3fa27e 100644 +--- a/drivers/net/xen-netfront.c ++++ b/drivers/net/xen-netfront.c +@@ -1809,3 +1809,4 @@ module_exit(netif_exit); + + MODULE_DESCRIPTION("Xen virtual network device frontend"); + MODULE_LICENSE("GPL"); ++MODULE_ALIAS("xen:vif"); +diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c +index 4750de3..336363c 100644 +--- a/drivers/xen/xenbus/xenbus_probe.c ++++ b/drivers/xen/xenbus/xenbus_probe.c +@@ -88,6 +88,16 @@ int xenbus_match(struct device *_dev, struct device_driver *_drv) + return match_device(drv->ids, to_xenbus_device(_dev)) != NULL; + } + ++static int xenbus_uevent(struct device *_dev, struct kobj_uevent_env *env) ++{ ++ struct xenbus_device *dev = to_xenbus_device(_dev); ++ ++ if (add_uevent_var(env, "MODALIAS=xen:%s", dev->devicetype)) ++ return -ENOMEM; ++ ++ return 0; ++} ++ + /* device// => - */ + static int frontend_bus_id(char bus_id[BUS_ID_SIZE], const char *nodename) + { +@@ -166,6 +176,7 @@ static struct xen_bus_type xenbus_frontend = { + .bus = { + .name = "xen", + .match = xenbus_match, ++ .uevent = xenbus_uevent, + .probe = xenbus_dev_probe, + .remove = xenbus_dev_remove, + .shutdown = xenbus_dev_shutdown, +@@ -438,6 +449,12 @@ static ssize_t xendev_show_devtype(struct device *dev, + } + DEVICE_ATTR(devtype, S_IRUSR | S_IRGRP | S_IROTH, xendev_show_devtype, NULL); + ++static ssize_t xendev_show_modalias(struct device *dev, ++ struct device_attribute *attr, char *buf) ++{ ++ return sprintf(buf, "xen:%s\n", to_xenbus_device(dev)->devicetype); ++} ++DEVICE_ATTR(modalias, S_IRUSR | S_IRGRP | S_IROTH, xendev_show_modalias, NULL); + + int xenbus_probe_node(struct xen_bus_type *bus, + const char *type, +@@ -492,10 +509,16 @@ int xenbus_probe_node(struct xen_bus_type *bus, + + err = device_create_file(&xendev->dev, &dev_attr_devtype); + if (err) +- goto fail_remove_file; ++ goto fail_remove_nodename; ++ ++ err = device_create_file(&xendev->dev, &dev_attr_modalias); ++ if (err) ++ goto fail_remove_devtype; + + return 0; +-fail_remove_file: ++fail_remove_devtype: ++ device_remove_file(&xendev->dev, &dev_attr_devtype); ++fail_remove_nodename: + device_remove_file(&xendev->dev, &dev_attr_nodename); + fail_unregister: + device_unregister(&xendev->dev); +-- +1.5.4.1 + linux-2.6-xen-0008-xen-Add-compatibility-aliases-for-frontend-drivers.patch: Index: linux-2.6-xen-0008-xen-Add-compatibility-aliases-for-frontend-drivers.patch =================================================================== RCS file: linux-2.6-xen-0008-xen-Add-compatibility-aliases-for-frontend-drivers.patch diff -N linux-2.6-xen-0008-xen-Add-compatibility-aliases-for-frontend-drivers.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0008-xen-Add-compatibility-aliases-for-frontend-drivers.patch 1 Apr 2008 10:38:07 -0000 1.4 @@ -0,0 +1,37 @@ +From e0a0e15328d21827da1734778ed89fa31a83d217 Mon Sep 17 00:00:00 2001 +From: Mark McLoughlin +Date: Thu, 21 Feb 2008 11:13:12 +0000 +Subject: [PATCH] xen: Add compatibility aliases for frontend drivers + +Before getting merged, xen-blkfront was xenblk and +xen-netfront was xennet. + +Add compatibility module aliases to ease upgrades. + +Signed-off-by: Mark McLoughlin +--- + drivers/block/xen-blkfront.c | 1 + + drivers/net/xen-netfront.c | 1 + + 2 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c +index 0c47c02..8ce168d 100644 +--- a/drivers/block/xen-blkfront.c ++++ b/drivers/block/xen-blkfront.c +@@ -1006,3 +1006,4 @@ MODULE_DESCRIPTION("Xen virtual block device frontend"); + MODULE_LICENSE("GPL"); + MODULE_ALIAS_BLOCKDEV_MAJOR(XENVBD_MAJOR); + MODULE_ALIAS("xen:vbd"); ++MODULE_ALIAS("xenblk"); +diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c +index b3fa27e..e62018a 100644 +--- a/drivers/net/xen-netfront.c ++++ b/drivers/net/xen-netfront.c +@@ -1810,3 +1810,4 @@ module_exit(netif_exit); + MODULE_DESCRIPTION("Xen virtual network device frontend"); + MODULE_LICENSE("GPL"); + MODULE_ALIAS("xen:vif"); ++MODULE_ALIAS("xennet"); +-- +1.5.4.1 + linux-2.6-xen-0009-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch: Index: linux-2.6-xen-0009-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch =================================================================== RCS file: linux-2.6-xen-0009-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch diff -N linux-2.6-xen-0009-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0009-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch 1 Apr 2008 10:38:07 -0000 1.3 @@ -0,0 +1,107 @@ +From 4dabd728abdcdec2d9e1c1c7177479c03d8b5782 Mon Sep 17 00:00:00 2001 +From: Christian Limpach +Date: Wed, 19 Mar 2008 15:54:48 +0000 +Subject: [PATCH] xen blkfront: Delay wait for block devices until after the disk is added. + +When the xen block frontend driver is built as a module the module load +is only synchronous up to the point where the frontend and the backend +become connected rather than when the disk is added. + +This means that there can be a race on boot between loading the module and +loading the dm-* modules and doing the scan for LVM physical volumes (all +in the initrd). In the failure case the disk is not present until after the +scan for physical volumes is complete. + +Taken from: + + http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/11483a00c017 + +Signed-off-by: Christian Limpach +Signed-off-by: Mark McLoughlin +--- + drivers/block/xen-blkfront.c | 11 +++++++++++ + drivers/xen/xenbus/xenbus_probe.c | 5 ++++- + include/xen/xenbus.h | 1 + + 3 files changed, 16 insertions(+), 1 deletions(-) + +diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c +index 8ce168d..74f943a 100644 +--- a/drivers/block/xen-blkfront.c ++++ b/drivers/block/xen-blkfront.c +@@ -89,6 +89,7 @@ struct blkfront_info + struct blk_shadow shadow[BLK_RING_SIZE]; + unsigned long shadow_free; + int feature_barrier; ++ int is_ready; + + /** + * The number of people holding this device open. We won't allow a +@@ -840,6 +841,8 @@ static void blkfront_connect(struct blkfront_info *info) + spin_unlock_irq(&blkif_io_lock); + + add_disk(info->gd); ++ ++ info->is_ready = 1; + } + + /** +@@ -932,6 +935,13 @@ static int blkfront_remove(struct xenbus_device *dev) + return 0; + } + ++static int blkfront_is_ready(struct xenbus_device *dev) ++{ ++ struct blkfront_info *info = dev->dev.driver_data; ++ ++ return info->is_ready; ++} ++ + static int blkif_open(struct inode *inode, struct file *filep) + { + struct blkfront_info *info = inode->i_bdev->bd_disk->private_data; +@@ -978,6 +988,7 @@ static struct xenbus_driver blkfront = { + .remove = blkfront_remove, + .resume = blkfront_resume, + .otherend_changed = backend_changed, ++ .is_ready = blkfront_is_ready, + }; + + static int __init xlblk_init(void) +diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c +index 336363c..57ceb53 100644 +--- a/drivers/xen/xenbus/xenbus_probe.c ++++ b/drivers/xen/xenbus/xenbus_probe.c +@@ -869,6 +869,7 @@ static int is_disconnected_device(struct device *dev, void *data) + { + struct xenbus_device *xendev = to_xenbus_device(dev); + struct device_driver *drv = data; ++ struct xenbus_driver *xendrv; + + /* + * A device with no driver will never connect. We care only about +@@ -881,7 +882,9 @@ static int is_disconnected_device(struct device *dev, void *data) + if (drv && (dev->driver != drv)) + return 0; + +- return (xendev->state != XenbusStateConnected); ++ xendrv = to_xenbus_driver(dev->driver); ++ return (xendev->state != XenbusStateConnected || ++ (xendrv->is_ready && !xendrv->is_ready(xendev))); + } + + static int exists_disconnected_device(struct device_driver *drv) +diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h +index 6f7c290..6369d89 100644 +--- a/include/xen/xenbus.h ++++ b/include/xen/xenbus.h +@@ -97,6 +97,7 @@ struct xenbus_driver { + int (*uevent)(struct xenbus_device *, char **, int, char *, int); + struct device_driver driver; + int (*read_otherend_details)(struct xenbus_device *dev); ++ int (*is_ready)(struct xenbus_device *dev); + }; + + static inline struct xenbus_driver *to_xenbus_driver(struct device_driver *drv) +-- +1.5.4.1 + linux-2.6-xen-0010-xen-Add-a-vmlinuz-target.patch: Index: linux-2.6-xen-0010-xen-Add-a-vmlinuz-target.patch =================================================================== RCS file: linux-2.6-xen-0010-xen-Add-a-vmlinuz-target.patch diff -N linux-2.6-xen-0010-xen-Add-a-vmlinuz-target.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0010-xen-Add-a-vmlinuz-target.patch 1 Apr 2008 10:38:07 -0000 1.3 @@ -0,0 +1,78 @@ +From bbb538981bce7a062c4b47f38b7633295015be83 Mon Sep 17 00:00:00 2001 +From: Mark McLoughlin +Date: Tue, 19 Feb 2008 15:34:32 +0000 +Subject: [PATCH] xen: Add a vmlinuz target + +Although patches are in progress to allow Xen boot +a DomU using a bzImage, support for booting a Dom0 +using a bzImage is still a ways off. + +For now, just add a target to build a gzip-ed ELF +file which Xen can use to boot both Dom0 and DomU. + +Signed-off-by: Mark McLoughlin +--- + arch/x86/Makefile | 9 +++++++++ + arch/x86/boot/.gitignore | 1 + + arch/x86/boot/Makefile | 9 +++++++++ + 3 files changed, 19 insertions(+), 0 deletions(-) + +diff --git a/arch/x86/Makefile b/arch/x86/Makefile +index f1e739a..14a752e 100644 +--- a/arch/x86/Makefile ++++ b/arch/x86/Makefile +@@ -206,6 +206,15 @@ boot := arch/x86/boot + PHONY += zImage bzImage compressed zlilo bzlilo \ + zdisk bzdisk fdimage fdimage144 fdimage288 isoimage install + ++ifdef CONFIG_XEN ++PHONY += vmlinuz ++all: vmlinuz ++ ++vmlinuz: KBUILD_IMAGE := $(boot)/vmlinuz ++vmlinuz: vmlinux ++ $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) ++endif ++ + # Default kernel to build + all: bzImage + +diff --git a/arch/x86/boot/.gitignore b/arch/x86/boot/.gitignore +index b1bdc4c..35e7956 100644 +--- a/arch/x86/boot/.gitignore ++++ b/arch/x86/boot/.gitignore +@@ -5,3 +5,4 @@ setup.bin + setup.elf + cpustr.h + mkcpustr ++vmlinuz +diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile +index f88458e..61bba92 100644 +--- a/arch/x86/boot/Makefile ++++ b/arch/x86/boot/Makefile +@@ -26,6 +26,7 @@ SVGA_MODE := -DSVGA_MODE=NORMAL_VGA + #RAMDISK := -DRAMDISK=512 + + targets := vmlinux.bin setup.bin setup.elf zImage bzImage ++targets += vmlinuz vmlinux-stripped + subdir- := compressed + + setup-y += a20.o cmdline.o copy.o cpu.o cpucheck.o edd.o +@@ -105,6 +106,14 @@ $(obj)/setup.bin: $(obj)/setup.elf FORCE + $(obj)/compressed/vmlinux: FORCE + $(Q)$(MAKE) $(build)=$(obj)/compressed IMAGE_OFFSET=$(IMAGE_OFFSET) $@ + ++$(obj)/vmlinuz: $(obj)/vmlinux-stripped FORCE ++ $(call if_changed,gzip) ++ @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' ++ ++$(obj)/vmlinux-stripped: OBJCOPYFLAGS := -g --strip-unneeded ++$(obj)/vmlinux-stripped: vmlinux FORCE ++ $(call if_changed,objcopy) ++ + # Set this if you want to pass append arguments to the zdisk/fdimage/isoimage kernel + FDARGS = + # Set this if you want an initrd included with the zdisk/fdimage/isoimage kernel +-- +1.5.4.1 + linux-2.6-xen-0011-xen-Add-empty-xenctrl-module.patch: Index: linux-2.6-xen-0011-xen-Add-empty-xenctrl-module.patch =================================================================== RCS file: linux-2.6-xen-0011-xen-Add-empty-xenctrl-module.patch diff -N linux-2.6-xen-0011-xen-Add-empty-xenctrl-module.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0011-xen-Add-empty-xenctrl-module.patch 1 Apr 2008 10:38:07 -0000 1.3 @@ -0,0 +1,124 @@ +From 2e3248aaf569ff7e3ab2bc77f1414ac015d2c16c Mon Sep 17 00:00:00 2001 +From: Mark McLoughlin +Date: Mon, 4 Feb 2008 08:30:37 +0000 +Subject: [PATCH] xen: Add empty xenctrl module + +Add the basic infrastructure for a xenctrl module +which will contain the various kernel interfaces +used by (mainly Dom0) Xen userspace. + +Signed-off-by: Mark McLoughlin +--- + arch/x86/xen/Kconfig | 7 +++++ + drivers/xen/Makefile | 2 + + drivers/xen/xenctrl/Makefile | 4 +++ + drivers/xen/xenctrl/main.c | 62 ++++++++++++++++++++++++++++++++++++++++++ + 4 files changed, 75 insertions(+), 0 deletions(-) + create mode 100644 drivers/xen/xenctrl/Makefile + create mode 100644 drivers/xen/xenctrl/main.c + +diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig +index 4d5f264..4723bc1 100644 +--- a/arch/x86/xen/Kconfig ++++ b/arch/x86/xen/Kconfig +@@ -11,3 +11,10 @@ config XEN + This is the Linux Xen port. Enabling this will allow the + kernel to boot in a paravirtualized environment under the + Xen hypervisor. ++ ++config XENCTRL ++ tristate "Xen's user space control interfaces" ++ depends on XEN && PROC_FS ++ default y if XEN ++ help ++ This is the /proc/xen interface used by Xen's libxc. +diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile +index 56592f0..6737463 100644 +--- a/drivers/xen/Makefile ++++ b/drivers/xen/Makefile +@@ -1,2 +1,4 @@ + obj-y += grant-table.o + obj-y += xenbus/ ++ ++obj-$(CONFIG_XENCTRL) += xenctrl/ +diff --git a/drivers/xen/xenctrl/Makefile b/drivers/xen/xenctrl/Makefile +new file mode 100644 +index 0000000..1f43a43 +--- /dev/null ++++ b/drivers/xen/xenctrl/Makefile +@@ -0,0 +1,4 @@ ++obj-$(CONFIG_XENCTRL) += xenctrl.o ++ ++xenctrl-objs = ++xenctrl-objs += main.o +diff --git a/drivers/xen/xenctrl/main.c b/drivers/xen/xenctrl/main.c +new file mode 100644 +index 0000000..2965ceb +--- /dev/null ++++ b/drivers/xen/xenctrl/main.c +@@ -0,0 +1,62 @@ ++/****************************************************************************** ++ * ++ * main.c ++ * ++ * Xen userspace control interfaces ++ * ++ * Copyright (c) 2002-2004, K A Fraser, B Dragovic ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License version 2 ++ * as published by the Free Software Foundation; or, when distributed ++ * separately from the Linux kernel or incorporated into other ++ * software packages, subject to the following license: ++ * ++ * Permission is hereby granted, free of charge, to any person obtaining a copy ++ * of this source file (the "Software"), to deal in the Software without ++ * restriction, including without limitation the rights to use, copy, modify, ++ * merge, publish, distribute, sublicense, and/or sell copies of the Software, ++ * and to permit persons to whom the Software is furnished to do so, subject to ++ * the following conditions: ++ * ++ * The above copyright notice and this permission notice shall be included in ++ * all copies or substantial portions of the Software. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS ++ * IN THE SOFTWARE. ++ */ ++ ++#include ++#include ++#include ++ ++static int __init xenctrl_init(void) ++{ ++ struct proc_dir_entry *dir; ++ ++ if (!is_running_on_xen()) ++ return -ENODEV; ++ ++ dir = proc_mkdir("xen", NULL); ++ if (!dir) ++ return -ENOMEM; ++ ++ dir->owner = THIS_MODULE; ++ ++ return 0; ++} ++ ++static void __exit xenctrl_exit(void) ++{ ++ remove_proc_entry("xen", NULL); ++} ++ ++module_init(xenctrl_init); ++module_exit(xenctrl_exit); ++ ++MODULE_LICENSE("Dual BSD/GPL"); +-- +1.5.4.1 + linux-2.6-xen-0012-xen-Add-proc-xen-capabilities.patch: Index: linux-2.6-xen-0012-xen-Add-proc-xen-capabilities.patch =================================================================== RCS file: linux-2.6-xen-0012-xen-Add-proc-xen-capabilities.patch diff -N linux-2.6-xen-0012-xen-Add-proc-xen-capabilities.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0012-xen-Add-proc-xen-capabilities.patch 1 Apr 2008 10:38:07 -0000 1.3 @@ -0,0 +1,190 @@ +From 4303f417760f888d8afed5fd87aa76b3ec198a83 Mon Sep 17 00:00:00 2001 +From: Mark McLoughlin +Date: Mon, 4 Feb 2008 09:16:51 +0000 +Subject: [PATCH] xen: Add /proc/xen/capabilities + +/proc/xen/capabilities is used by the xend init script +to check whether it is running on Dom0. + +Signed-off-by: Mark McLoughlin +--- + drivers/xen/xenctrl/Makefile | 1 + + drivers/xen/xenctrl/capabilities.c | 68 ++++++++++++++++++++++++++++++++++++ + drivers/xen/xenctrl/main.c | 11 ++++++ + drivers/xen/xenctrl/xenctrl.h | 39 ++++++++++++++++++++ + 4 files changed, 119 insertions(+), 0 deletions(-) + create mode 100644 drivers/xen/xenctrl/capabilities.c + create mode 100644 drivers/xen/xenctrl/xenctrl.h + +diff --git a/drivers/xen/xenctrl/Makefile b/drivers/xen/xenctrl/Makefile +index 1f43a43..631f535 100644 +--- a/drivers/xen/xenctrl/Makefile ++++ b/drivers/xen/xenctrl/Makefile +@@ -2,3 +2,4 @@ obj-$(CONFIG_XENCTRL) += xenctrl.o + + xenctrl-objs = + xenctrl-objs += main.o ++xenctrl-objs += capabilities.o +diff --git a/drivers/xen/xenctrl/capabilities.c b/drivers/xen/xenctrl/capabilities.c +new file mode 100644 +index 0000000..1ff078a +--- /dev/null ++++ b/drivers/xen/xenctrl/capabilities.c +@@ -0,0 +1,68 @@ ++/****************************************************************************** ++ * ++ * capabilities.c ++ * ++ * /proc/xen/capabilities ++ * ++ * Copyright (c) 2002-2004, K A Fraser, B Dragovic ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License version 2 ++ * as published by the Free Software Foundation; or, when distributed ++ * separately from the Linux kernel or incorporated into other ++ * software packages, subject to the following license: ++ * ++ * Permission is hereby granted, free of charge, to any person obtaining a copy ++ * of this source file (the "Software"), to deal in the Software without ++ * restriction, including without limitation the rights to use, copy, modify, ++ * merge, publish, distribute, sublicense, and/or sell copies of the Software, ++ * and to permit persons to whom the Software is furnished to do so, subject to ++ * the following conditions: ++ * ++ * The above copyright notice and this permission notice shall be included in ++ * all copies or substantial portions of the Software. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS ++ * IN THE SOFTWARE. ++ */ ++ ++#include ++#include ++#include ++ ++static int capabilities_read(char *page, char **start, off_t off, ++ int count, int *eof, void *data) ++{ ++ int len = 0; ++ *page = 0; ++ ++ if (is_initial_xendomain()) ++ len = sprintf(page, "control_d\n"); ++ ++ *eof = 1; ++ return len; ++} ++ ++int __init capabilities_create_proc_entry(void) ++{ ++ struct proc_dir_entry *entry; ++ ++ entry = create_proc_entry("xen/capabilities", 0400, NULL); ++ if (!entry) ++ return -ENOMEM; ++ ++ entry->owner = THIS_MODULE; ++ entry->read_proc = capabilities_read; ++ ++ return 0; ++} ++ ++void __exit capabilities_remove_proc_entry(void) ++{ ++ remove_proc_entry("xen/capabilities", NULL); ++} +diff --git a/drivers/xen/xenctrl/main.c b/drivers/xen/xenctrl/main.c +index 2965ceb..0e42f7e 100644 +--- a/drivers/xen/xenctrl/main.c ++++ b/drivers/xen/xenctrl/main.c +@@ -31,6 +31,8 @@ + * IN THE SOFTWARE. + */ + ++#include "xenctrl.h" ++ + #include + #include + #include +@@ -38,6 +40,7 @@ + static int __init xenctrl_init(void) + { + struct proc_dir_entry *dir; ++ int ret; + + if (!is_running_on_xen()) + return -ENODEV; +@@ -48,11 +51,19 @@ static int __init xenctrl_init(void) + + dir->owner = THIS_MODULE; + ++ ret = capabilities_create_proc_entry(); ++ if (ret) ++ goto fail1; ++ + return 0; ++ ++ fail1: remove_proc_entry("xen", NULL); ++ return ret; + } + + static void __exit xenctrl_exit(void) + { ++ capabilities_remove_proc_entry(); + remove_proc_entry("xen", NULL); + } + +diff --git a/drivers/xen/xenctrl/xenctrl.h b/drivers/xen/xenctrl/xenctrl.h +new file mode 100644 +index 0000000..7378dde +--- /dev/null ++++ b/drivers/xen/xenctrl/xenctrl.h +@@ -0,0 +1,39 @@ ++/****************************************************************************** ++ * xenctl.h ++ * ++ * Xen userspace control interfaces ++ * ++ * Copyright (c) 2002-2004, K A Fraser, B Dragovic ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License version 2 ++ * as published by the Free Software Foundation; or, when distributed ++ * separately from the Linux kernel or incorporated into other ++ * software packages, subject to the following license: ++ * ++ * Permission is hereby granted, free of charge, to any person obtaining a copy ++ * of this source file (the "Software"), to deal in the Software without ++ * restriction, including without limitation the rights to use, copy, modify, ++ * merge, publish, distribute, sublicense, and/or sell copies of the Software, ++ * and to permit persons to whom the Software is furnished to do so, subject to ++ * the following conditions: ++ * ++ * The above copyright notice and this permission notice shall be included in ++ * all copies or substantial portions of the Software. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS ++ * IN THE SOFTWARE. ++ */ ++ ++#include ++ ++/* ++ * capabilities.c ++ */ ++int capabilities_create_proc_entry(void) __init; ++void capabilities_remove_proc_entry(void) __exit; +-- +1.5.4.1 + linux-2.6-xen-0013-xen-Add-proc-xen-privcmd.patch: Index: linux-2.6-xen-0013-xen-Add-proc-xen-privcmd.patch =================================================================== RCS file: linux-2.6-xen-0013-xen-Add-proc-xen-privcmd.patch diff -N linux-2.6-xen-0013-xen-Add-proc-xen-privcmd.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0013-xen-Add-proc-xen-privcmd.patch 1 Apr 2008 10:38:07 -0000 1.3 @@ -0,0 +1,285 @@ +From 6baf8f598c8d00216eb1ff03f3fba9706496e447 Mon Sep 17 00:00:00 2001 +From: Mark McLoughlin +Date: Mon, 4 Feb 2008 08:24:57 +0000 +Subject: [PATCH] xen: Add /proc/xen/privcmd + +/proc/xen/privcmd is an ioctl() interface which allows +userspace apps to invoke hypercalls. + +There should also be an ioctl (IOCTL_PRIVCMD_MMAP) +which is used to map foreign pages into a processes +address space, but we leave this unimplemented for +now pending further work on foreign page support. + +Signed-off-by: Mark McLoughlin +--- + drivers/xen/xenctrl/Makefile | 1 + + drivers/xen/xenctrl/main.c | 6 +++ + drivers/xen/xenctrl/privcmd.c | 81 +++++++++++++++++++++++++++++++++++++++ + drivers/xen/xenctrl/xenctrl.h | 6 +++ + include/asm-x86/xen/hypercall.h | 28 +++++++++++++ + include/xen/sys/privcmd.h | 79 ++++++++++++++++++++++++++++++++++++++ + 6 files changed, 201 insertions(+), 0 deletions(-) + create mode 100644 drivers/xen/xenctrl/privcmd.c + create mode 100644 include/xen/sys/privcmd.h + +diff --git a/drivers/xen/xenctrl/Makefile b/drivers/xen/xenctrl/Makefile +index 631f535..8a706cb 100644 +--- a/drivers/xen/xenctrl/Makefile ++++ b/drivers/xen/xenctrl/Makefile +@@ -3,3 +3,4 @@ obj-$(CONFIG_XENCTRL) += xenctrl.o + xenctrl-objs = + xenctrl-objs += main.o + xenctrl-objs += capabilities.o ++xenctrl-objs += privcmd.o +diff --git a/drivers/xen/xenctrl/main.c b/drivers/xen/xenctrl/main.c +index 0e42f7e..d1fe6ef 100644 +--- a/drivers/xen/xenctrl/main.c ++++ b/drivers/xen/xenctrl/main.c +@@ -55,14 +55,20 @@ static int __init xenctrl_init(void) + if (ret) + goto fail1; + ++ ret = privcmd_create_proc_entry(); ++ if (ret) ++ goto fail2; ++ + return 0; + ++ fail2: capabilities_remove_proc_entry(); + fail1: remove_proc_entry("xen", NULL); + return ret; + } + + static void __exit xenctrl_exit(void) + { ++ privcmd_remove_proc_entry(); + capabilities_remove_proc_entry(); + remove_proc_entry("xen", NULL); + } +diff --git a/drivers/xen/xenctrl/privcmd.c b/drivers/xen/xenctrl/privcmd.c +new file mode 100644 +index 0000000..58c4b83 +--- /dev/null ++++ b/drivers/xen/xenctrl/privcmd.c +@@ -0,0 +1,81 @@ ++/****************************************************************************** ++ * privcmd.c ++ * ++ * Interface to privileged domain-0 commands. ++ * ++ * Copyright (c) 2002-2004, K A Fraser, B Dragovic ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License version 2 ++ * as published by the Free Software Foundation; or, when distributed ++ * separately from the Linux kernel or incorporated into other ++ * software packages, subject to the following license: ++ * ++ * Permission is hereby granted, free of charge, to any person obtaining a copy ++ * of this source file (the "Software"), to deal in the Software without ++ * restriction, including without limitation the rights to use, copy, modify, ++ * merge, publish, distribute, sublicense, and/or sell copies of the Software, ++ * and to permit persons to whom the Software is furnished to do so, subject to ++ * the following conditions: ++ * ++ * The above copyright notice and this permission notice shall be included in ++ * all copies or substantial portions of the Software. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS ++ * IN THE SOFTWARE. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++ ++static long privcmd_ioctl(struct file *file, unsigned int cmd, ++ unsigned long arg) ++{ ++ switch (cmd) { ++ case IOCTL_PRIVCMD_HYPERCALL: { ++ privcmd_hypercall_t cmd; ++ ++ if (copy_from_user(&cmd, (void __user *)arg, sizeof(cmd))) ++ return -EFAULT; ++ ++ return privcmd_hypercall(&cmd); ++ } ++ ++ case IOCTL_PRIVCMD_MMAP: ++ case IOCTL_PRIVCMD_MMAPBATCH: ++ printk(KERN_WARNING "IOCTL_PRIVCMD_MMAP ioctl not yet implemented\n"); ++ default: ++ return -EINVAL; ++ } ++} ++ ++static const struct file_operations privcmd_file_ops = { ++ .unlocked_ioctl = privcmd_ioctl, ++}; ++ ++int __init privcmd_create_proc_entry(void) ++{ ++ static struct proc_dir_entry *entry; ++ ++ entry = create_proc_entry("xen/privcmd", 0400, NULL); ++ if (!entry) ++ return -ENOMEM; ++ ++ entry->owner = THIS_MODULE; ++ entry->proc_fops = &privcmd_file_ops; ++ ++ return 0; ++} ++ ++void __exit privcmd_remove_proc_entry(void) ++{ ++ remove_proc_entry("xen/privcmd", NULL); ++} +diff --git a/drivers/xen/xenctrl/xenctrl.h b/drivers/xen/xenctrl/xenctrl.h +index 7378dde..a35209a 100644 +--- a/drivers/xen/xenctrl/xenctrl.h ++++ b/drivers/xen/xenctrl/xenctrl.h +@@ -37,3 +37,9 @@ + */ + int capabilities_create_proc_entry(void) __init; + void capabilities_remove_proc_entry(void) __exit; ++ ++/* ++ * privcmd.c ++ */ ++int privcmd_create_proc_entry(void) __init; ++void privcmd_remove_proc_entry(void) __exit; +diff --git a/include/asm-x86/xen/hypercall.h b/include/asm-x86/xen/hypercall.h +index bc0ee7d..cd554ca 100644 +--- a/include/asm-x86/xen/hypercall.h ++++ b/include/asm-x86/xen/hypercall.h +@@ -410,4 +410,32 @@ MULTI_stack_switch(struct multicall_entry *mcl, + mcl->args[1] = esp; + } + ++#include ++ ++static inline int privcmd_hypercall(privcmd_hypercall_t *hypercall) ++{ ++ int ret; ++ ++ if (hypercall->op >= (PAGE_SIZE >> 5)) ++ return -EINVAL; ++ ++ __asm__ __volatile__ ( ++ "pushl %%ebx; pushl %%ecx; pushl %%edx; " ++ "pushl %%esi; pushl %%edi; " ++ "movl 8(%%eax),%%ebx ;" ++ "movl 16(%%eax),%%ecx ;" ++ "movl 24(%%eax),%%edx ;" ++ "movl 32(%%eax),%%esi ;" ++ "movl 40(%%eax),%%edi ;" ++ "movl (%%eax),%%eax ;" ++ "shll $5,%%eax ;" ++ "addl $hypercall_page,%%eax ;" ++ "call *%%eax ;" ++ "popl %%edi; popl %%esi; popl %%edx; " ++ "popl %%ecx; popl %%ebx" ++ : "=a" (ret) : "0" (hypercall) : "memory" ); ++ ++ return ret; ++} ++ + #endif /* __HYPERCALL_H__ */ +diff --git a/include/xen/sys/privcmd.h b/include/xen/sys/privcmd.h +new file mode 100644 +index 0000000..9cfa9d7 +--- /dev/null ++++ b/include/xen/sys/privcmd.h +@@ -0,0 +1,79 @@ ++/****************************************************************************** ++ * privcmd.h ++ * ++ * Interface to /proc/xen/privcmd. ++ * ++ * Copyright (c) 2003-2005, K A Fraser ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License version 2 ++ * as published by the Free Software Foundation; or, when distributed ++ * separately from the Linux kernel or incorporated into other ++ * software packages, subject to the following license: ++ * ++ * Permission is hereby granted, free of charge, to any person obtaining a copy ++ * of this source file (the "Software"), to deal in the Software without ++ * restriction, including without limitation the rights to use, copy, modify, ++ * merge, publish, distribute, sublicense, and/or sell copies of the Software, ++ * and to permit persons to whom the Software is furnished to do so, subject to ++ * the following conditions: ++ * ++ * The above copyright notice and this permission notice shall be included in ++ * all copies or substantial portions of the Software. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS ++ * IN THE SOFTWARE. ++ */ ++ ++#ifndef __LINUX_PUBLIC_PRIVCMD_H__ ++#define __LINUX_PUBLIC_PRIVCMD_H__ ++ ++#include ++ ++#ifndef __user ++#define __user ++#endif ++ ++typedef struct privcmd_hypercall ++{ ++ __u64 op; ++ __u64 arg[5]; ++} privcmd_hypercall_t; ++ ++typedef struct privcmd_mmap_entry { ++ __u64 va; ++ __u64 mfn; ++ __u64 npages; ++} privcmd_mmap_entry_t; ++ ++typedef struct privcmd_mmap { ++ int num; ++ domid_t dom; /* target domain */ ++ privcmd_mmap_entry_t __user *entry; ++} privcmd_mmap_t; ++ ++typedef struct privcmd_mmapbatch { ++ int num; /* number of pages to populate */ ++ domid_t dom; /* target domain */ ++ __u64 addr; /* virtual address */ ++ ulong __user *arr; /* array of mfns - top nibble set on err */ ++} privcmd_mmapbatch_t; ++ ++/* ++ * @cmd: IOCTL_PRIVCMD_HYPERCALL ++ * @arg: &privcmd_hypercall_t ++ * Return: Value returned from execution of the specified hypercall. ++ */ ++#define IOCTL_PRIVCMD_HYPERCALL \ ++ _IOC(_IOC_NONE, 'P', 0, sizeof(privcmd_hypercall_t)) ++#define IOCTL_PRIVCMD_MMAP \ ++ _IOC(_IOC_NONE, 'P', 2, sizeof(privcmd_mmap_t)) ++#define IOCTL_PRIVCMD_MMAPBATCH \ ++ _IOC(_IOC_NONE, 'P', 3, sizeof(privcmd_mmapbatch_t)) ++ ++#endif /* __LINUX_PUBLIC_PRIVCMD_H__ */ +-- +1.5.4.1 + linux-2.6-xen-0014-xen-Add-proc-xen-xenbus.patch: Index: linux-2.6-xen-0014-xen-Add-proc-xen-xenbus.patch =================================================================== RCS file: linux-2.6-xen-0014-xen-Add-proc-xen-xenbus.patch diff -N linux-2.6-xen-0014-xen-Add-proc-xen-xenbus.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0014-xen-Add-proc-xen-xenbus.patch 1 Apr 2008 10:38:07 -0000 1.3 @@ -0,0 +1,529 @@ +From 281e15a7f51ebd1e547199fd5583c1d68b3cf49b Mon Sep 17 00:00:00 2001 +From: Mark McLoughlin +Date: Mon, 4 Feb 2008 22:04:36 +0000 +Subject: [PATCH] xen: Add /proc/xen/xenbus + +This interface is used by userspace programs to talk to +xenstored. + +Since xenstored makes itself available to Dom0 userspace +via a socket this should only really be useful in Domu, +but it turns out that Dom0 apps historically default +to using /proc/xen/xenbus rather than the socket. + +Signed-off-by: Mark McLoughlin +--- + drivers/xen/xenbus/xenbus_comms.h | 1 - + drivers/xen/xenbus/xenbus_probe.c | 2 + + drivers/xen/xenbus/xenbus_xs.c | 1 + + drivers/xen/xenctrl/Makefile | 1 + + drivers/xen/xenctrl/main.c | 6 + + drivers/xen/xenctrl/xenbus.c | 398 +++++++++++++++++++++++++++++++++++++ + drivers/xen/xenctrl/xenctrl.h | 6 + + include/xen/xenbus.h | 2 + + 8 files changed, 416 insertions(+), 1 deletions(-) + create mode 100644 drivers/xen/xenctrl/xenbus.c + +diff --git a/drivers/xen/xenbus/xenbus_comms.h b/drivers/xen/xenbus/xenbus_comms.h +index c21db75..fcc9b29 100644 +--- a/drivers/xen/xenbus/xenbus_comms.h ++++ b/drivers/xen/xenbus/xenbus_comms.h +@@ -41,6 +41,5 @@ int xb_data_to_read(void); + int xb_wait_for_data_to_read(void); + int xs_input_avail(void); + extern struct xenstore_domain_interface *xen_store_interface; +-extern int xen_store_evtchn; + + #endif /* _XENBUS_COMMS_H */ +diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c +index 57ceb53..c811581 100644 +--- a/drivers/xen/xenbus/xenbus_probe.c ++++ b/drivers/xen/xenbus/xenbus_probe.c +@@ -56,6 +56,8 @@ + #include "xenbus_probe.h" + + int xen_store_evtchn; ++EXPORT_SYMBOL_GPL(xen_store_evtchn); ++ + struct xenstore_domain_interface *xen_store_interface; + static unsigned long xen_store_mfn; + +diff --git a/drivers/xen/xenbus/xenbus_xs.c b/drivers/xen/xenbus/xenbus_xs.c +index 227d53b..810e24a 100644 +--- a/drivers/xen/xenbus/xenbus_xs.c ++++ b/drivers/xen/xenbus/xenbus_xs.c +@@ -184,6 +184,7 @@ void *xenbus_dev_request_and_reply(struct xsd_sockmsg *msg) + + return ret; + } ++EXPORT_SYMBOL(xenbus_dev_request_and_reply); + + /* Send message to xs, get kmalloc'ed reply. ERR_PTR() on error. */ + static void *xs_talkv(struct xenbus_transaction t, +diff --git a/drivers/xen/xenctrl/Makefile b/drivers/xen/xenctrl/Makefile +index 8a706cb..23dafa3 100644 +--- a/drivers/xen/xenctrl/Makefile ++++ b/drivers/xen/xenctrl/Makefile +@@ -4,3 +4,4 @@ xenctrl-objs = + xenctrl-objs += main.o + xenctrl-objs += capabilities.o + xenctrl-objs += privcmd.o ++xenctrl-objs += xenbus.o +diff --git a/drivers/xen/xenctrl/main.c b/drivers/xen/xenctrl/main.c +index d1fe6ef..b0cf61b 100644 +--- a/drivers/xen/xenctrl/main.c ++++ b/drivers/xen/xenctrl/main.c +@@ -59,8 +59,13 @@ static int __init xenctrl_init(void) + if (ret) + goto fail2; + ++ ret = xenbus_create_proc_entry(); ++ if (ret) ++ goto fail3; ++ + return 0; + ++ fail3: privcmd_remove_proc_entry(); + fail2: capabilities_remove_proc_entry(); + fail1: remove_proc_entry("xen", NULL); + return ret; +@@ -68,6 +73,7 @@ static int __init xenctrl_init(void) + + static void __exit xenctrl_exit(void) + { ++ xenbus_remove_proc_entry(); + privcmd_remove_proc_entry(); + capabilities_remove_proc_entry(); + remove_proc_entry("xen", NULL); +diff --git a/drivers/xen/xenctrl/xenbus.c b/drivers/xen/xenctrl/xenbus.c +new file mode 100644 +index 0000000..57d5501 +--- /dev/null ++++ b/drivers/xen/xenctrl/xenbus.c +@@ -0,0 +1,398 @@ ++/* ++ * xenbus.c ++ * ++ * /proc/xen/xenbus gives user-space access to the kernel's xenbus ++ * connection to xenstore. ++ * ++ * Copyright (c) 2005, Christian Limpach ++ * Copyright (c) 2005, Rusty Russell, IBM Corporation ++ * ++ * This program is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU General Public License version 2 ++ * as published by the Free Software Foundation; or, when distributed ++ * separately from the Linux kernel or incorporated into other ++ * software packages, subject to the following license: ++ * ++ * Permission is hereby granted, free of charge, to any person obtaining a copy ++ * of this source file (the "Software"), to deal in the Software without ++ * restriction, including without limitation the rights to use, copy, modify, ++ * merge, publish, distribute, sublicense, and/or sell copies of the Software, ++ * and to permit persons to whom the Software is furnished to do so, subject to ++ * the following conditions: ++ * ++ * The above copyright notice and this permission notice shall be included in ++ * all copies or substantial portions of the Software. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ++ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS ++ * IN THE SOFTWARE. ++ */ ++ ++#include ++#include ++#include ++#include ++ ++#include ++ ++struct xenbus_dev_transaction { ++ struct list_head list; ++ struct xenbus_transaction handle; ++}; ++ ++struct read_buffer { ++ struct list_head list; ++ unsigned int cons; ++ unsigned int len; ++ char msg[]; ++}; ++ ++struct xenbus_dev_data { ++ /* In-progress transaction. */ ++ struct list_head transactions; ++ ++ /* Active watches. */ ++ struct list_head watches; ++ ++ /* Partial request. */ ++ unsigned int len; ++ union { ++ struct xsd_sockmsg msg; ++ char buffer[PAGE_SIZE]; ++ } u; ++ ++ /* Response queue. */ ++ struct list_head read_buffers; ++ wait_queue_head_t read_waitq; ++ ++ struct mutex reply_mutex; ++}; ++ ++static ssize_t xenbus_dev_read(struct file *filp, ++ char __user *ubuf, ++ size_t len, loff_t *ppos) ++{ ++ struct xenbus_dev_data *u = filp->private_data; ++ struct read_buffer *rb; ++ int i, ret; ++ ++ mutex_lock(&u->reply_mutex); ++ while (list_empty(&u->read_buffers)) { ++ mutex_unlock(&u->reply_mutex); ++ ret = wait_event_interruptible(u->read_waitq, ++ !list_empty(&u->read_buffers)); ++ if (ret) ++ return ret; ++ mutex_lock(&u->reply_mutex); ++ } ++ ++ rb = list_entry(u->read_buffers.next, struct read_buffer, list); ++ for (i = 0; i < len;) { ++ put_user(rb->msg[rb->cons], ubuf + i); ++ i++; ++ rb->cons++; ++ if (rb->cons == rb->len) { ++ list_del(&rb->list); ++ kfree(rb); ++ if (list_empty(&u->read_buffers)) ++ break; ++ rb = list_entry(u->read_buffers.next, ++ struct read_buffer, list); ++ } ++ } ++ mutex_unlock(&u->reply_mutex); ++ ++ return i; ++} ++ ++static void queue_reply(struct xenbus_dev_data *u, ++ char *data, unsigned int len) ++{ ++ struct read_buffer *rb; ++ ++ if (len == 0) ++ return; ++ ++ rb = kmalloc(sizeof(*rb) + len, GFP_KERNEL); ++ BUG_ON(rb == NULL); ++ ++ rb->cons = 0; ++ rb->len = len; ++ ++ memcpy(rb->msg, data, len); ++ ++ list_add_tail(&rb->list, &u->read_buffers); ++ ++ wake_up(&u->read_waitq); ++} ++ ++struct watch_adapter ++{ ++ struct list_head list; ++ struct xenbus_watch watch; ++ struct xenbus_dev_data *dev_data; ++ char *token; ++}; ++ ++static void free_watch_adapter(struct watch_adapter *watch) ++{ ++ kfree(watch->watch.node); ++ kfree(watch->token); ++ kfree(watch); ++} ++ ++static void watch_fired(struct xenbus_watch *watch, ++ const char **vec, ++ unsigned int len) ++{ ++ struct watch_adapter *adap = ++ container_of(watch, struct watch_adapter, watch); ++ struct xsd_sockmsg hdr; ++ const char *path, *token; ++ int path_len, tok_len, body_len; ++ ++ path = vec[XS_WATCH_PATH]; ++ token = adap->token; ++ ++ path_len = strlen(path) + 1; ++ tok_len = strlen(token) + 1; ++ body_len = path_len + tok_len; ++ ++ hdr.type = XS_WATCH_EVENT; ++ hdr.len = body_len; ++ ++ mutex_lock(&adap->dev_data->reply_mutex); ++ queue_reply(adap->dev_data, (char *)&hdr, sizeof(hdr)); ++ queue_reply(adap->dev_data, (char *)path, path_len); ++ queue_reply(adap->dev_data, (char *)token, tok_len); ++ mutex_unlock(&adap->dev_data->reply_mutex); ++} ++ ++static LIST_HEAD(watch_list); ++ ++static ssize_t xenbus_dev_write(struct file *filp, ++ const char __user *ubuf, ++ size_t len, loff_t *ppos) ++{ ++ struct xenbus_dev_data *u = filp->private_data; ++ struct xenbus_dev_transaction *trans = NULL; ++ uint32_t msg_type; ++ void *reply; ++ char *path, *token; ++ struct watch_adapter *watch, *tmp_watch; ++ int err, rc = len; ++ ++ if ((len + u->len) > sizeof(u->u.buffer)) { ++ rc = -EINVAL; ++ goto out; ++ } ++ ++ if (copy_from_user(u->u.buffer + u->len, ubuf, len) != 0) { ++ rc = -EFAULT; ++ goto out; ++ } ++ ++ u->len += len; ++ if ((u->len < sizeof(u->u.msg)) || ++ (u->len < (sizeof(u->u.msg) + u->u.msg.len))) ++ return rc; ++ ++ msg_type = u->u.msg.type; ++ ++ switch (msg_type) { ++ case XS_TRANSACTION_START: ++ case XS_TRANSACTION_END: ++ case XS_DIRECTORY: ++ case XS_READ: ++ case XS_GET_PERMS: ++ case XS_RELEASE: ++ case XS_GET_DOMAIN_PATH: ++ case XS_WRITE: ++ case XS_MKDIR: ++ case XS_RM: ++ case XS_SET_PERMS: ++ if (msg_type == XS_TRANSACTION_START) { ++ trans = kmalloc(sizeof(*trans), GFP_KERNEL); ++ if (!trans) { ++ rc = -ENOMEM; ++ goto out; ++ } ++ } ++ ++ reply = xenbus_dev_request_and_reply(&u->u.msg); ++ if (IS_ERR(reply)) { ++ kfree(trans); ++ rc = PTR_ERR(reply); ++ goto out; ++ } ++ ++ if (msg_type == XS_TRANSACTION_START) { ++ trans->handle.id = simple_strtoul(reply, NULL, 0); ++ list_add(&trans->list, &u->transactions); ++ } else if (msg_type == XS_TRANSACTION_END) { ++ list_for_each_entry(trans, &u->transactions, list) ++ if (trans->handle.id == u->u.msg.tx_id) ++ break; ++ BUG_ON(&trans->list == &u->transactions); ++ list_del(&trans->list); ++ kfree(trans); ++ } ++ mutex_lock(&u->reply_mutex); ++ queue_reply(u, (char *)&u->u.msg, sizeof(u->u.msg)); ++ queue_reply(u, (char *)reply, u->u.msg.len); ++ mutex_unlock(&u->reply_mutex); ++ kfree(reply); ++ break; ++ ++ case XS_WATCH: ++ case XS_UNWATCH: { ++ static const char *XS_RESP = "OK"; ++ struct xsd_sockmsg hdr; ++ ++ path = u->u.buffer + sizeof(u->u.msg); ++ token = memchr(path, 0, u->u.msg.len); ++ if (token == NULL) { ++ rc = -EILSEQ; ++ goto out; ++ } ++ token++; ++ ++ if (msg_type == XS_WATCH) { ++ watch = kmalloc(sizeof(*watch), GFP_KERNEL); ++ watch->watch.node = kmalloc(strlen(path)+1, ++ GFP_KERNEL); ++ strcpy((char *)watch->watch.node, path); ++ watch->watch.callback = watch_fired; ++ watch->token = kmalloc(strlen(token)+1, GFP_KERNEL); ++ strcpy(watch->token, token); ++ watch->dev_data = u; ++ ++ err = register_xenbus_watch(&watch->watch); ++ if (err) { ++ free_watch_adapter(watch); ++ rc = err; ++ goto out; ++ } ++ ++ list_add(&watch->list, &u->watches); ++ } else { ++ list_for_each_entry_safe(watch, tmp_watch, ++ &u->watches, list) { ++ if (!strcmp(watch->token, token) && ++ !strcmp(watch->watch.node, path)) ++ { ++ unregister_xenbus_watch(&watch->watch); ++ list_del(&watch->list); ++ free_watch_adapter(watch); ++ break; ++ } ++ } ++ } ++ ++ hdr.type = msg_type; ++ hdr.len = strlen(XS_RESP) + 1; ++ mutex_lock(&u->reply_mutex); ++ queue_reply(u, (char *)&hdr, sizeof(hdr)); ++ queue_reply(u, (char *)XS_RESP, hdr.len); ++ mutex_unlock(&u->reply_mutex); ++ break; ++ } ++ ++ default: ++ rc = -EINVAL; ++ break; ++ } ++ ++ out: ++ u->len = 0; ++ return rc; ++} ++ ++static int xenbus_dev_open(struct inode *inode, struct file *filp) ++{ ++ struct xenbus_dev_data *u; ++ ++ if (xen_store_evtchn == 0) ++ return -ENOENT; ++ ++ nonseekable_open(inode, filp); ++ ++ u = kzalloc(sizeof(*u), GFP_KERNEL); ++ if (u == NULL) ++ return -ENOMEM; ++ ++ INIT_LIST_HEAD(&u->transactions); ++ INIT_LIST_HEAD(&u->watches); ++ INIT_LIST_HEAD(&u->read_buffers); ++ init_waitqueue_head(&u->read_waitq); ++ ++ mutex_init(&u->reply_mutex); ++ ++ filp->private_data = u; ++ ++ return 0; ++} ++ ++static int xenbus_dev_release(struct inode *inode, struct file *filp) ++{ ++ struct xenbus_dev_data *u = filp->private_data; ++ struct xenbus_dev_transaction *trans, *tmp; ++ struct watch_adapter *watch, *tmp_watch; ++ ++ list_for_each_entry_safe(trans, tmp, &u->transactions, list) { ++ xenbus_transaction_end(trans->handle, 1); ++ list_del(&trans->list); ++ kfree(trans); ++ } ++ ++ list_for_each_entry_safe(watch, tmp_watch, &u->watches, list) { ++ unregister_xenbus_watch(&watch->watch); ++ list_del(&watch->list); ++ free_watch_adapter(watch); ++ } ++ ++ kfree(u); ++ ++ return 0; ++} ++ ++static unsigned int xenbus_dev_poll(struct file *file, poll_table *wait) ++{ ++ struct xenbus_dev_data *u = file->private_data; ++ ++ poll_wait(file, &u->read_waitq, wait); ++ if (!list_empty(&u->read_buffers)) ++ return POLLIN | POLLRDNORM; ++ return 0; ++} ++ ++static const struct file_operations xenbus_dev_file_ops = { ++ .read = xenbus_dev_read, ++ .write = xenbus_dev_write, ++ .open = xenbus_dev_open, ++ .release = xenbus_dev_release, ++ .poll = xenbus_dev_poll, ++}; ++ ++int __init xenbus_create_proc_entry(void) ++{ ++ struct proc_dir_entry *entry; ++ ++ entry = create_proc_entry("xen/xenbus", 0400, NULL); ++ if (!entry) ++ return -ENOMEM; ++ ++ entry->owner = THIS_MODULE; ++ entry->proc_fops = &xenbus_dev_file_ops; ++ ++ return 0; ++} ++ ++void __exit xenbus_remove_proc_entry(void) ++{ ++ remove_proc_entry("xen/xenbus", NULL); ++} +diff --git a/drivers/xen/xenctrl/xenctrl.h b/drivers/xen/xenctrl/xenctrl.h +index a35209a..e585c4b 100644 +--- a/drivers/xen/xenctrl/xenctrl.h ++++ b/drivers/xen/xenctrl/xenctrl.h +@@ -43,3 +43,9 @@ void capabilities_remove_proc_entry(void) __exit; + */ + int privcmd_create_proc_entry(void) __init; + void privcmd_remove_proc_entry(void) __exit; ++ ++/* ++ * xenbus.c ++ */ ++int xenbus_create_proc_entry(void) __init; ++void xenbus_remove_proc_entry(void) __exit; +diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h +index 6369d89..a3fef9d 100644 +--- a/include/xen/xenbus.h ++++ b/include/xen/xenbus.h +@@ -232,4 +232,6 @@ const char *xenbus_strstate(enum xenbus_state state); + int xenbus_dev_is_online(struct xenbus_device *dev); + int xenbus_frontend_closed(struct xenbus_device *dev); + ++extern int xen_store_evtchn; ++ + #endif /* _XEN_XENBUS_H */ +-- +1.5.4.1 + linux-2.6-xen-0015-xen-Add-Xen-s-sys-hypervisor-interface.patch: Index: linux-2.6-xen-0015-xen-Add-Xen-s-sys-hypervisor-interface.patch =================================================================== RCS file: linux-2.6-xen-0015-xen-Add-Xen-s-sys-hypervisor-interface.patch diff -N linux-2.6-xen-0015-xen-Add-Xen-s-sys-hypervisor-interface.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0015-xen-Add-Xen-s-sys-hypervisor-interface.patch 1 Apr 2008 10:38:07 -0000 1.3 @@ -0,0 +1,479 @@ +From 97f74781644be0af74aedcd86f064c508c2db9c3 Mon Sep 17 00:00:00 2001 +From: Mark McLoughlin +Date: Thu, 7 Feb 2008 15:32:28 +0000 +Subject: [PATCH] xen: Add Xen's /sys/hypervisor interface + +Hook up Xen's /sys/hypervisor interface: + + /sys/hypervisor/ + -> type + -> uuid + -> compilation + -> compile_date + -> compiled_by + -> compiler + -> properties + -> capabilities + -> changeset + -> pagesize + -> virtual_start + -> writable_pt + -> version + -> extra + -> major + -> minor + +Note: the hypervisor subsys hook requires that +SYS_HYPERVISOR is selected to enabled it, which in +turns means that the subsys will be registered by +a pv-ops kernel with Xen support, even on bare +metal. This hook needs to be changed to be runtime +enabled. + +Signed-off-by: Mark McLoughlin +--- + arch/x86/xen/Kconfig | 3 +- + drivers/xen/xenctrl/Makefile | 1 + + drivers/xen/xenctrl/main.c | 6 + + drivers/xen/xenctrl/sysfs.c | 349 +++++++++++++++++++++++++++++++++++++++ + drivers/xen/xenctrl/xenctrl.h | 6 + + include/xen/interface/version.h | 6 + + 6 files changed, 370 insertions(+), 1 deletions(-) + create mode 100644 drivers/xen/xenctrl/sysfs.c + +diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig +index 4723bc1..ff6a56a 100644 +--- a/arch/x86/xen/Kconfig ++++ b/arch/x86/xen/Kconfig +@@ -14,7 +14,8 @@ config XEN + + config XENCTRL + tristate "Xen's user space control interfaces" +- depends on XEN && PROC_FS ++ depends on XEN && PROC_FS && SYSFS + default y if XEN ++ select SYS_HYPERVISOR + help + This is the /proc/xen interface used by Xen's libxc. +diff --git a/drivers/xen/xenctrl/Makefile b/drivers/xen/xenctrl/Makefile +index 23dafa3..e126e76 100644 +--- a/drivers/xen/xenctrl/Makefile ++++ b/drivers/xen/xenctrl/Makefile +@@ -5,3 +5,4 @@ xenctrl-objs += main.o + xenctrl-objs += capabilities.o + xenctrl-objs += privcmd.o + xenctrl-objs += xenbus.o ++xenctrl-objs += sysfs.o +diff --git a/drivers/xen/xenctrl/main.c b/drivers/xen/xenctrl/main.c +index b0cf61b..87d0dba 100644 +--- a/drivers/xen/xenctrl/main.c ++++ b/drivers/xen/xenctrl/main.c +@@ -63,8 +63,13 @@ static int __init xenctrl_init(void) + if (ret) + goto fail3; + ++ ret = sys_hypervisor_init(); ++ if (ret) ++ goto fail4; ++ + return 0; + ++ fail4: xenbus_remove_proc_entry(); + fail3: privcmd_remove_proc_entry(); + fail2: capabilities_remove_proc_entry(); + fail1: remove_proc_entry("xen", NULL); +@@ -73,6 +78,7 @@ static int __init xenctrl_init(void) + + static void __exit xenctrl_exit(void) + { ++ sys_hypervisor_exit(); + xenbus_remove_proc_entry(); + privcmd_remove_proc_entry(); + capabilities_remove_proc_entry(); +diff --git a/drivers/xen/xenctrl/sysfs.c b/drivers/xen/xenctrl/sysfs.c +new file mode 100644 +index 0000000..8cbf4d6 +--- /dev/null ++++ b/drivers/xen/xenctrl/sysfs.c +@@ -0,0 +1,349 @@ ++/* ++ * copyright (c) 2006 IBM Corporation ++ * Authored by: Mike D. Day ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License version 2 as ++ * published by the Free Software Foundation. ++ */ ++ ++#include ++#include ++#include ++#include ++#include ++#include "xenctrl.h" ++ ++#define HYPERVISOR_ATTR_RO(_name) \ ++static struct kobj_attribute _name##_attr = __ATTR_RO(_name) ++ ++#define HYPERVISOR_ATTR_RW(_name) \ ++static struct kobj_attribute _name##_attr = \ ++ __ATTR(_name, 0644, _name##_show, _name##_store) ++ ++static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ return sprintf(buffer, "xen\n"); ++} ++ ++HYPERVISOR_ATTR_RO(type); ++ ++static int __init xen_sysfs_type_init(void) ++{ ++ return sysfs_create_file(hypervisor_kobj, &type_attr.attr); ++} ++ ++static void xen_sysfs_type_destroy(void) ++{ ++ sysfs_remove_file(hypervisor_kobj, &type_attr.attr); ++} ++ ++static ssize_t major_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ int version; ++ ++ version = HYPERVISOR_xen_version(XENVER_version, NULL); ++ if (!version) ++ return -ENODEV; ++ ++ return sprintf(buffer, "%d\n", version >> 16); ++} ++ ++HYPERVISOR_ATTR_RO(major); ++ ++static ssize_t minor_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ int version; ++ ++ version = HYPERVISOR_xen_version(XENVER_version, NULL); ++ if (!version) ++ return -ENODEV; ++ ++ return sprintf(buffer, "%d\n", version & 0xff); ++} ++ ++HYPERVISOR_ATTR_RO(minor); ++ ++static ssize_t extra_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ int ret; ++ struct xen_extraversion extra; ++ ++ ret = HYPERVISOR_xen_version(XENVER_extraversion, &extra); ++ if (ret) ++ return ret; ++ ++ return sprintf(buffer, "%s\n", extra.extraversion); ++} ++ ++HYPERVISOR_ATTR_RO(extra); ++ ++static struct attribute *version_attrs[] = { ++ &major_attr.attr, ++ &minor_attr.attr, ++ &extra_attr.attr, ++ NULL ++}; ++ ++static struct attribute_group version_group = { ++ .name = "version", ++ .attrs = version_attrs, ++}; ++ ++static int __init xen_sysfs_version_init(void) ++{ ++ return sysfs_create_group(hypervisor_kobj, &version_group); ++} ++ ++static void xen_sysfs_version_destroy(void) ++{ ++ sysfs_remove_group(hypervisor_kobj, &version_group); ++} ++ ++static ssize_t uuid_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ char *vm, *val; ++ int ret; ++ ++ vm = xenbus_read(XBT_NIL, "vm", "", NULL); ++ if (IS_ERR(vm)) ++ return PTR_ERR(vm); ++ ++ val = xenbus_read(XBT_NIL, vm, "uuid", NULL); ++ if (IS_ERR(val)) { ++ ret = PTR_ERR(val); ++ goto out; ++ } ++ ++ ret = sprintf(buffer, "%s\n", val); ++ ++ kfree(val); ++out: kfree(vm); ++ ++ return ret; ++} ++ ++HYPERVISOR_ATTR_RO(uuid); ++ ++static int __init xen_sysfs_uuid_init(void) ++{ ++ return sysfs_create_file(hypervisor_kobj, &uuid_attr.attr); ++} ++ ++static void xen_sysfs_uuid_destroy(void) ++{ ++ sysfs_remove_file(hypervisor_kobj, &uuid_attr.attr); ++} ++ ++static ssize_t compiler_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ struct xen_compile_info info; ++ int ret; ++ ++ ret = HYPERVISOR_xen_version(XENVER_compile_info, &info); ++ if (ret) ++ return ret; ++ ++ return sprintf(buffer, "%s\n", info.compiler); ++} ++ ++HYPERVISOR_ATTR_RO(compiler); ++ ++static ssize_t compiled_by_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ struct xen_compile_info info; ++ int ret; ++ ++ ret = HYPERVISOR_xen_version(XENVER_compile_info, &info); ++ if (ret) ++ return ret; ++ ++ return sprintf(buffer, "%s\n", info.compile_by); ++} ++ ++HYPERVISOR_ATTR_RO(compiled_by); ++ ++static ssize_t compile_date_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ struct xen_compile_info info; ++ int ret; ++ ++ ret = HYPERVISOR_xen_version(XENVER_compile_info, &info); ++ if (ret) ++ return ret; ++ ++ return sprintf(buffer, "%s\n", info.compile_date); ++} ++ ++HYPERVISOR_ATTR_RO(compile_date); ++ ++static struct attribute *xen_compile_attrs[] = { ++ &compiler_attr.attr, ++ &compiled_by_attr.attr, ++ &compile_date_attr.attr, ++ NULL ++}; ++ ++static struct attribute_group xen_compilation_group = { ++ .name = "compilation", ++ .attrs = xen_compile_attrs, ++}; ++ ++static int __init xen_compilation_init(void) ++{ ++ return sysfs_create_group(hypervisor_kobj, ++ &xen_compilation_group); ++} ++ ++static void xen_compilation_destroy(void) ++{ ++ sysfs_remove_group(hypervisor_kobj, ++ &xen_compilation_group); ++} ++ ++static ssize_t capabilities_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ struct xen_capabilities_info *caps; ++ int ret; ++ ++ caps = kmalloc(sizeof(struct xen_capabilities_info), GFP_KERNEL); ++ if (!caps) ++ return -ENOMEM; ++ ++ ret = HYPERVISOR_xen_version(XENVER_capabilities, caps); ++ if (ret) ++ goto out; ++ ++ ret = sprintf(buffer, "%s\n", caps->info); ++ ++out: kfree(caps); ++ ++ return ret; ++} ++ ++HYPERVISOR_ATTR_RO(capabilities); ++ ++static ssize_t changeset_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ struct xen_changeset_info cset; ++ int ret; ++ ++ ret = HYPERVISOR_xen_version(XENVER_changeset, &cset); ++ if (ret) ++ return ret; ++ ++ return sprintf(buffer, "%s\n", cset.info); ++} ++ ++HYPERVISOR_ATTR_RO(changeset); ++ ++static ssize_t virtual_start_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ struct xen_platform_parameters parms; ++ int ret; ++ ++ ret = HYPERVISOR_xen_version(XENVER_platform_parameters, &parms); ++ if (ret) ++ return ret; ++ ++ return sprintf(buffer, "%lx\n", parms.virt_start); ++} ++ ++HYPERVISOR_ATTR_RO(virtual_start); ++ ++static ssize_t pagesize_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ int ret; ++ ++ ret = HYPERVISOR_xen_version(XENVER_pagesize, NULL); ++ if (ret < 0) ++ return ret; ++ ++ return sprintf(buffer, "%x\n", ret); ++} ++ ++HYPERVISOR_ATTR_RO(pagesize); ++ ++static ssize_t writable_pt_show(struct kobject *kobj, struct kobj_attribute *attr, char *buffer) ++{ ++ struct xen_feature_info info; ++ int ret; ++ ++ info.submap_idx = XENFEAT_writable_page_tables; ++ ++ ret = HYPERVISOR_xen_version(XENVER_get_features, &info); ++ if (ret) ++ return ret; ++ ++ return sprintf(buffer, "%d\n", info.submap); ++} ++ ++HYPERVISOR_ATTR_RO(writable_pt); ++ ++static struct attribute *xen_properties_attrs[] = { ++ &capabilities_attr.attr, ++ &changeset_attr.attr, ++ &virtual_start_attr.attr, ++ &pagesize_attr.attr, ++ &writable_pt_attr.attr, ++ NULL ++}; ++ ++static struct attribute_group xen_properties_group = { ++ .name = "properties", ++ .attrs = xen_properties_attrs, ++}; ++ ++static int __init xen_properties_init(void) ++{ ++ return sysfs_create_group(hypervisor_kobj, ++ &xen_properties_group); ++} ++ ++static void xen_properties_destroy(void) ++{ ++ sysfs_remove_group(hypervisor_kobj, &xen_properties_group); ++} ++ ++int __init sys_hypervisor_init(void) ++{ ++ int ret; ++ ++ if (!is_running_on_xen()) ++ return -ENODEV; ++ ++ ret = xen_sysfs_type_init(); ++ if (ret) ++ goto out; ++ ret = xen_sysfs_version_init(); ++ if (ret) ++ goto version_out; ++ ret = xen_compilation_init(); ++ if (ret) ++ goto comp_out; ++ ret = xen_sysfs_uuid_init(); ++ if (ret) ++ goto uuid_out; ++ ret = xen_properties_init(); ++ if (!ret) ++ goto out; ++ ++ xen_sysfs_uuid_destroy(); ++uuid_out: ++ xen_compilation_destroy(); ++comp_out: ++ xen_sysfs_version_destroy(); ++version_out: ++ xen_sysfs_type_destroy(); ++out: ++ return ret; ++} ++ ++void __exit sys_hypervisor_exit(void) ++{ ++ xen_properties_destroy(); ++ xen_compilation_destroy(); ++ xen_sysfs_uuid_destroy(); ++ xen_sysfs_version_destroy(); ++ xen_sysfs_type_destroy(); ++} +diff --git a/drivers/xen/xenctrl/xenctrl.h b/drivers/xen/xenctrl/xenctrl.h +index e585c4b..1afbdfb 100644 +--- a/drivers/xen/xenctrl/xenctrl.h ++++ b/drivers/xen/xenctrl/xenctrl.h +@@ -49,3 +49,9 @@ void privcmd_remove_proc_entry(void) __exit; + */ + int xenbus_create_proc_entry(void) __init; + void xenbus_remove_proc_entry(void) __exit; ++ ++/* ++ * sysfs.c ++ */ ++int sys_hypervisor_init(void) __init; ++void sys_hypervisor_exit(void) __exit; +diff --git a/include/xen/interface/version.h b/include/xen/interface/version.h +index 453235e..dd58cf5 100644 +--- a/include/xen/interface/version.h ++++ b/include/xen/interface/version.h +@@ -57,4 +57,10 @@ struct xen_feature_info { + /* Declares the features reported by XENVER_get_features. */ + #include "features.h" + ++/* arg == NULL; returns host memory page size. */ ++#define XENVER_pagesize 7 ++ ++/* arg == xen_domain_handle_t. */ ++#define XENVER_guest_handle 8 ++ + #endif /* __XEN_PUBLIC_VERSION_H__ */ +-- +1.5.4.1 + linux-2.6-xen-0016-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch: Index: linux-2.6-xen-0016-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch =================================================================== RCS file: linux-2.6-xen-0016-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch diff -N linux-2.6-xen-0016-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0016-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch 1 Apr 2008 10:38:07 -0000 1.3 @@ -0,0 +1,79 @@ +From a750b42db7d287c4931bb8fd3572f3c5cebc5497 Mon Sep 17 00:00:00 2001 +From: Stephen Tweedie +Date: Wed, 21 Nov 2007 18:40:31 +0000 +Subject: [PATCH] xen debug: Add xprintk to log directly via hypercall + +For early debugging, it is useful to have a way of doing debugging output +direct to the hypervisor without having to rely on console being fully +initialised. + +Signed-off-by: Stephen Tweedie +--- + arch/x86/xen/enlighten.c | 32 ++++++++++++++++++++++++++++++++ + include/xen/hvc-console.h | 1 + + 2 files changed, 33 insertions(+), 0 deletions(-) + +diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c +index 75760a7..bc9a009 100644 +--- a/arch/x86/xen/enlighten.c ++++ b/arch/x86/xen/enlighten.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -142,6 +143,37 @@ static void __init xen_banner(void) + printk(KERN_INFO "Hypervisor signature: %s\n", xen_start_info->magic); + } + ++static void kcons_write_dom0(const char *s, unsigned int count) ++{ ++ int rc; ++ ++ while ((count > 0) && ++ ((rc = HYPERVISOR_console_io( ++ CONSOLEIO_write, count, (char *)s)) > 0)) { ++ count -= rc; ++ s += rc; ++ } ++} ++ ++ ++/*** Useful function for console debugging -- goes straight to Xen. ***/ ++asmlinkage int xprintk(const char *fmt, ...) ++{ ++ va_list args; ++ int printk_len; ++ static char printk_buf[1024]; ++ ++ /* Emit the output into the temporary buffer */ ++ va_start(args, fmt); ++ printk_len = vsnprintf(printk_buf, sizeof(printk_buf), fmt, args); ++ va_end(args); ++ ++ /* Send the processed output directly to Xen. */ ++ kcons_write_dom0(printk_buf, printk_len); ++ ++ return 0; ++} ++ + static void xen_cpuid(unsigned int *ax, unsigned int *bx, + unsigned int *cx, unsigned int *dx) + { +diff --git a/include/xen/hvc-console.h b/include/xen/hvc-console.h +index 21c0ecf..cb7a3c9 100644 +--- a/include/xen/hvc-console.h ++++ b/include/xen/hvc-console.h +@@ -2,5 +2,6 @@ + #define XEN_HVC_CONSOLE_H + + extern struct console xenboot_console; ++extern asmlinkage int xprintk(const char *fmt, ...); + + #endif /* XEN_HVC_CONSOLE_H */ +-- +1.5.4.1 + linux-2.6-xen-0017-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch: Index: linux-2.6-xen-0017-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch =================================================================== RCS file: linux-2.6-xen-0017-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch diff -N linux-2.6-xen-0017-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ linux-2.6-xen-0017-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch 1 Apr 2008 10:38:07 -0000 1.4 @@ -0,0 +1,58 @@ +From b50f268c17ea1835c761aff20a23c0d34ce73a43 Mon Sep 17 00:00:00 2001 +From: Mark McLoughlin +Date: Thu, 6 Mar 2008 11:10:59 +0000 +Subject: [PATCH] xen x86_64: Add 64 bit version of privcmd_hypercall() + +Signed-off-by: Mark McLoughlin +--- + include/asm-x86/xen/hypercall.h | 28 ++++++++++++++++++++++++++++ + 1 files changed, 28 insertions(+), 0 deletions(-) + +diff --git a/include/asm-x86/xen/hypercall.h b/include/asm-x86/xen/hypercall.h +index cd554ca..b0c518c 100644 +--- a/include/asm-x86/xen/hypercall.h ++++ b/include/asm-x86/xen/hypercall.h +@@ -412,6 +412,7 @@ MULTI_stack_switch(struct multicall_entry *mcl, + + #include + ++#ifdef CONFIG_X86_32 + static inline int privcmd_hypercall(privcmd_hypercall_t *hypercall) + { + int ret; +@@ -437,5 +438,32 @@ static inline int privcmd_hypercall(privcmd_hypercall_t *hypercall) + + return ret; + } ++#else /* CONFIG_X86_32 */ ++static inline int privcmd_hypercall(privcmd_hypercall_t *hypercall) ++{ ++ int ret; ++ long ign1, ign2, ign3; ++ ++ if (hypercall->op >= (PAGE_SIZE >> 5)) ++ return -EINVAL; ++ ++ __asm__ __volatile__ ( ++ "movq %8,%%r10; movq %9,%%r8;" ++ "shll $5,%%eax ;" ++ "addq $hypercall_page,%%rax ;" ++ "call *%%rax" ++ : "=a" (ret), "=D" (ign1), ++ "=S" (ign2), "=d" (ign3) ++ : "0" ((unsigned int)hypercall->op), ++ "1" (hypercall->arg[0]), ++ "2" (hypercall->arg[1]), ++ "3" (hypercall->arg[2]), ++ "g" (hypercall->arg[3]), ++ "g" (hypercall->arg[4]) ++ : "r8", "r10", "memory" ); ++ ++ return ret; ++} ++#endif /* CONFIG_X86_32 */ + + #endif /* __HYPERCALL_H__ */ +-- +1.5.4.1 + linux-2.6-xen-0018-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch: --- NEW FILE linux-2.6-xen-0018-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch --- >From 24b23b3a992388dcaa3a08361f0dab15b7385802 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Tue, 25 Mar 2008 11:56:43 +0000 Subject: [PATCH] xen x86_64: Only define load_user_cs_desc() on 32 bit load_user_cs_desc() is only used on 32 bit, so only define it in that case. Fixes compile failure in native_load_user_cs_desc() since mm_context_t->user_cs is only available on 32 bit. Signed-off-by: Mark McLoughlin --- arch/x86/kernel/paravirt.c | 2 ++ arch/x86/xen/enlighten.c | 4 ++++ include/asm-x86/desc.h | 4 ++++ include/asm-x86/paravirt.h | 4 ++++ 4 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c index d59db07..c845947 100644 --- a/arch/x86/kernel/paravirt.c +++ b/arch/x86/kernel/paravirt.c @@ -331,7 +331,9 @@ struct pv_cpu_ops pv_cpu_ops = { .read_tscp = native_read_tscp, .load_tr_desc = native_load_tr_desc, .set_ldt = native_set_ldt, +#ifdef CONFIG_X86_32 .load_user_cs_desc = native_load_user_cs_desc, +#endif .load_gdt = native_load_gdt, .load_idt = native_load_idt, .store_gdt = native_store_gdt, diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index bc9a009..5c91ae7 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -322,6 +322,7 @@ static void xen_set_ldt(const void *addr, unsigned entries) xen_mc_issue(PARAVIRT_LAZY_CPU); } +#ifdef CONFIG_X86_32 static inline void xen_load_user_cs_desc(int cpu, struct mm_struct *mm) { void *gdt; @@ -337,6 +338,7 @@ static inline void xen_load_user_cs_desc(int cpu, struct mm_struct *mm) HYPERVISOR_update_descriptor(mgdt.maddr, descriptor); } +#endif static void xen_load_gdt(const struct desc_ptr *dtr) { @@ -1046,7 +1048,9 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = { .load_tr_desc = paravirt_nop, .set_ldt = xen_set_ldt, +#ifdef CONFIG_X86_32 .load_user_cs_desc = xen_load_user_cs_desc, +#endif .load_gdt = xen_load_gdt, .load_idt = xen_load_idt, .load_tls = xen_load_tls, diff --git a/include/asm-x86/desc.h b/include/asm-x86/desc.h index ec3a84a..9b280be 100644 --- a/include/asm-x86/desc.h +++ b/include/asm-x86/desc.h @@ -95,7 +95,9 @@ static inline int desc_empty(const void *ptr) #define load_TLS(t, cpu) native_load_tls(t, cpu) #define set_ldt native_set_ldt +#ifdef CONFIG_X86_32 #define load_user_cs_desc native_load_user_cs_desc +#endif #define write_ldt_entry(dt, entry, desc) \ native_write_ldt_entry(dt, entry, desc) @@ -362,10 +364,12 @@ static inline void set_user_cs(struct desc_struct *desc, unsigned long limit) desc->b = (limit & 0xf0000) | 0x00c0fb00; } +#ifdef CONFIG_X86_32 static inline void native_load_user_cs_desc(int cpu, struct mm_struct *mm) { get_cpu_gdt_table(cpu)[GDT_ENTRY_DEFAULT_USER_CS] = mm->context.user_cs; } +#endif #ifdef CONFIG_X86_32 extern void arch_add_exec_range(struct mm_struct *mm, unsigned long limit); diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h index ff8d218..7d7070a 100644 --- a/include/asm-x86/paravirt.h +++ b/include/asm-x86/paravirt.h @@ -113,7 +113,9 @@ struct pv_cpu_ops { void (*store_gdt)(struct desc_ptr *); void (*store_idt)(struct desc_ptr *); void (*set_ldt)(const void *desc, unsigned entries); +#ifdef CONFIG_X86_32 void (*load_user_cs_desc)(int cpu, struct mm_struct *mm); +#endif unsigned long (*store_tr)(void); void (*load_tls)(struct thread_struct *t, unsigned int cpu); void (*write_ldt_entry)(struct desc_struct *ldt, int entrynum, @@ -755,11 +757,13 @@ static inline void set_ldt(const void *addr, unsigned entries) { PVOP_VCALL2(pv_cpu_ops.set_ldt, addr, entries); } +#ifdef CONFIG_X86_32 static inline void load_user_cs_desc(unsigned int cpu, struct mm_struct *mm) { PVOP_VCALL2(pv_cpu_ops.load_user_cs_desc, cpu, mm); } +#endif static inline void store_gdt(struct desc_ptr *dtr) { PVOP_VCALL1(pv_cpu_ops.store_gdt, dtr); -- 1.5.4.1 linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch: --- NEW FILE linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch --- >From 71e0f3287bad1bc651fd2ea450fef451663a0edd Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Thu, 28 Feb 2008 12:16:04 -0300 Subject: [PATCH] xen x86_64: Initial x86_64 support for Xen paravirt_ops Taken from the xen-64-2008-03-07 tag Signed-off-by: Eduardo Habkost Signed-off-by: Mark McLoughlin --- arch/x86/Kconfig | 3 +- arch/x86/kernel/acpi/boot.c | 4 +- arch/x86/kernel/apic_32.c | 4 +- arch/x86/kernel/apic_64.c | 2 +- arch/x86/kernel/asm-offsets_64.c | 15 + arch/x86/kernel/early_printk.c | 5 +- arch/x86/kernel/efi_64.c | 4 +- arch/x86/kernel/entry_32.S | 83 +----- arch/x86/kernel/entry_64.S | 72 ++++- arch/x86/kernel/genapic_64.c | 12 + arch/x86/kernel/head64.c | 4 + arch/x86/kernel/head_64.S | 23 ++ arch/x86/kernel/hpet.c | 4 +- arch/x86/kernel/io_apic_64.c | 2 +- arch/x86/kernel/irq_64.c | 5 + arch/x86/kernel/mpparse_32.c | 4 +- arch/x86/kernel/mpparse_64.c | 4 +- arch/x86/kernel/paravirt.c | 3 + arch/x86/kernel/process_64.c | 9 + arch/x86/kernel/setup64.c | 5 + arch/x86/kernel/setup_64.c | 41 +++- arch/x86/kernel/smpboot_64.c | 4 +- arch/x86/kernel/vsyscall_64.c | 31 ++- arch/x86/mach-visws/traps.c | 10 +- arch/x86/mm/init_32.c | 2 +- arch/x86/mm/init_64.c | 558 ++++++++++++++++++++++++++++++++-- arch/x86/mm/ioremap.c | 4 +- arch/x86/mm/pgtable_32.c | 25 ++- arch/x86/pci/mmconfig_32.c | 2 +- arch/x86/vdso/vdso32-setup.c | 6 +- arch/x86/xen/Kconfig | 1 - arch/x86/xen/Makefile | 6 + arch/x86/xen/enlighten.c | 301 +++++++++++++------ arch/x86/xen/entry.S | 5 + arch/x86/xen/entry_32.S | 81 +++++ arch/x86/xen/entry_64.S | 68 ++++ arch/x86/xen/events.c | 13 +- arch/x86/xen/genapic.c | 190 ++++++++++++ arch/x86/xen/init.h | 20 ++ arch/x86/xen/init_32.c | 3 + arch/x86/xen/init_64.c | 181 +++++++++++ arch/x86/xen/mmu.c | 417 ++++++++++++++++++------- arch/x86/xen/mmu.h | 47 ++-- arch/x86/xen/multicalls.c | 9 +- arch/x86/xen/setup.c | 22 ++ arch/x86/xen/smp.c | 16 + arch/x86/xen/xen-asm.S | 224 +++----------- arch/x86/xen/xen-asm_32.S | 184 +++++++++++ arch/x86/xen/xen-asm_64.S | 75 +++++ arch/x86/xen/xen-head.S | 21 +- arch/x86/xen/xen-ops.h | 11 + drivers/acpi/thermal.c | 5 + drivers/char/hvc_xen.c | 6 + drivers/ieee1394/init_ohci1394_dma.c | 2 +- drivers/serial/8250_early.c | 2 +- include/asm-x86/asm-hack.h | 27 ++ include/asm-x86/cmpxchg_64.h | 36 +++ include/asm-x86/desc_defs.h | 4 + include/asm-x86/fixmap_32.h | 22 +- include/asm-x86/fixmap_64.h | 31 ++- include/asm-x86/mmu_context_64.h | 6 +- include/asm-x86/page_64.h | 2 +- include/asm-x86/paravirt.h | 46 ++- include/asm-x86/percpu.h | 32 ++ include/asm-x86/pgalloc_64.h | 69 ++++- include/asm-x86/pgtable.h | 15 +- include/asm-x86/pgtable_64.h | 3 +- include/asm-x86/proto.h | 1 + include/asm-x86/smp_64.h | 3 + include/asm-x86/system.h | 3 +- include/asm-x86/xen/hypercall.h | 205 ++++++++++--- include/asm-x86/xen/hypervisor.h | 3 - include/asm-x86/xen/interface.h | 35 ++- include/linux/dmi.h | 1 + include/linux/elfnote.h | 2 +- include/xen/events.h | 2 + include/xen/interface/elfnote.h | 16 + include/xen/page.h | 34 ++- init/main.c | 10 + mm/slab.c | 8 +- 80 files changed, 2803 insertions(+), 673 deletions(-) create mode 100644 arch/x86/xen/entry.S create mode 100644 arch/x86/xen/entry_32.S create mode 100644 arch/x86/xen/entry_64.S create mode 100644 arch/x86/xen/genapic.c create mode 100644 arch/x86/xen/init.h create mode 100644 arch/x86/xen/init_32.c create mode 100644 arch/x86/xen/init_64.c create mode 100644 arch/x86/xen/xen-asm_32.S create mode 100644 arch/x86/xen/xen-asm_64.S create mode 100644 include/asm-x86/asm-hack.h diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 6c70fed..f18418d 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -89,7 +89,7 @@ config ARCH_MAY_HAVE_PC_FDC def_bool y config DMI - def_bool y + def_bool !XEN config RWSEM_GENERIC_SPINLOCK def_bool !X86_XADD @@ -327,6 +327,7 @@ config X86_RDC321X config X86_VSMP bool "Support for ScaleMP vSMP" + depends on !XEN depends on X86_64 && PCI help Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 2cdc9de..cfc79ac 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c @@ -141,7 +141,7 @@ char *__init __acpi_map_table(unsigned long phys, unsigned long size) offset = phys & (PAGE_SIZE - 1); mapped_size = PAGE_SIZE - offset; - set_fixmap(FIX_ACPI_END, phys); + set_fixmap_ma(FIX_ACPI_END, phys); base = fix_to_virt(FIX_ACPI_END); /* @@ -152,7 +152,7 @@ char *__init __acpi_map_table(unsigned long phys, unsigned long size) if (--idx < FIX_ACPI_BEGIN) return NULL; /* cannot handle this */ phys += PAGE_SIZE; - set_fixmap(idx, phys); + set_fixmap_ma(idx, phys); mapped_size += PAGE_SIZE; } diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c index 35a568e..40fc1b3 100644 --- a/arch/x86/kernel/apic_32.c +++ b/arch/x86/kernel/apic_32.c @@ -1138,7 +1138,7 @@ void __init init_apic_mappings(void) } else apic_phys = mp_lapic_addr; - set_fixmap_nocache(FIX_APIC_BASE, apic_phys); + set_fixmap_ma_nocache(FIX_APIC_BASE, apic_phys); printk(KERN_DEBUG "mapped APIC to %08lx (%08lx)\n", APIC_BASE, apic_phys); @@ -1172,7 +1172,7 @@ fake_ioapic_page: alloc_bootmem_pages(PAGE_SIZE); ioapic_phys = __pa(ioapic_phys); } - set_fixmap_nocache(idx, ioapic_phys); + set_fixmap_ma_nocache(idx, ioapic_phys); printk(KERN_DEBUG "mapped IOAPIC to %08lx (%08lx)\n", __fix_to_virt(idx), ioapic_phys); idx++; diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index d8d03e0..a611520 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c @@ -877,7 +877,7 @@ void __init init_apic_mappings(void) } else apic_phys = mp_lapic_addr; - set_fixmap_nocache(FIX_APIC_BASE, apic_phys); + set_fixmap_ma_nocache(FIX_APIC_BASE, apic_phys); apic_printk(APIC_VERBOSE, "mapped APIC to %16lx (%16lx)\n", APIC_BASE, apic_phys); diff --git a/arch/x86/kernel/asm-offsets_64.c b/arch/x86/kernel/asm-offsets_64.c index 494e1e0..d0fabfd 100644 --- a/arch/x86/kernel/asm-offsets_64.c +++ b/arch/x86/kernel/asm-offsets_64.c @@ -25,6 +25,8 @@ #define OFFSET(sym, str, mem) \ DEFINE(sym, offsetof(struct str, mem)) +#include + #define __NO_STUBS 1 #undef __SYSCALL #undef _ASM_X86_64_UNISTD_H_ @@ -92,6 +94,13 @@ int main(void) offsetof (struct rt_sigframe32, uc.uc_mcontext)); BLANK(); #endif + +#ifdef CONFIG_XEN [...5580 lines suppressed...] -#define ELFNOTE(name, type, desc) \ +#define ELFNOTE(name, type, desc...) \ ELFNOTE_START(name, type, "") \ desc ; \ ELFNOTE_END diff --git a/include/xen/events.h b/include/xen/events.h index 2bde54d..c18d2bf 100644 --- a/include/xen/events.h +++ b/include/xen/events.h @@ -3,6 +3,8 @@ #include +#include +#include #include #include diff --git a/include/xen/interface/elfnote.h b/include/xen/interface/elfnote.h index a64d3df..ee5501d 100644 --- a/include/xen/interface/elfnote.h +++ b/include/xen/interface/elfnote.h @@ -120,6 +120,22 @@ */ #define XEN_ELFNOTE_BSD_SYMTAB 11 +/* + * The lowest address the hypervisor hole can begin at (numeric). + * + * This must not be set higher than HYPERVISOR_VIRT_START. Its presence + * also indicates to the hypervisor that the kernel can deal with the + * hole starting at a higher address. + */ +#define XEN_ELFNOTE_HV_START_LOW 12 + +/* + * List of maddr_t-sized mask/value pairs describing how to recognize + * (non-present) L1 page table entries carrying valid MFNs (numeric). + */ +#define XEN_ELFNOTE_L1_MFN_VALID 13 + + #endif /* __XEN_PUBLIC_ELFNOTE_H__ */ /* diff --git a/include/xen/page.h b/include/xen/page.h index 031ef22..158fb60 100644 --- a/include/xen/page.h +++ b/include/xen/page.h @@ -8,6 +8,10 @@ #include +#include + +#include + #ifdef CONFIG_X86_PAE /* Xen machine address */ typedef struct xmaddr { @@ -70,6 +74,8 @@ static inline unsigned long mfn_to_pfn(unsigned long mfn) #endif pfn = 0; + //xprintk("mfn_to_pfn(%lx):\n", mfn); + /* * The array access can fail (e.g., device space beyond end of RAM). * In such cases it doesn't matter what we return (we return garbage), @@ -77,6 +83,7 @@ static inline unsigned long mfn_to_pfn(unsigned long mfn) */ __get_user(pfn, &machine_to_phys_mapping[mfn]); + //xprintk("mfn_to_pfn(%lx) = %lx\n", mfn, pfn); return pfn; } @@ -143,34 +150,29 @@ static inline void set_phys_to_machine(unsigned long pfn, unsigned long mfn) static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot) { - pte_t pte; - - pte.pte_high = (page_nr >> (32 - PAGE_SHIFT)) | - (pgprot_val(pgprot) >> 32); - pte.pte_high &= (__supported_pte_mask >> 32); - pte.pte_low = ((page_nr << PAGE_SHIFT) | pgprot_val(pgprot)); - pte.pte_low &= __supported_pte_mask; - - return pte; + pteval_t val; + + val = (page_nr << PAGE_SHIFT) | pgprot_val(pgprot); + val &= __supported_pte_mask; + return native_make_pte(val); } -static inline unsigned long long pte_val_ma(pte_t x) +static inline pteval_t pte_val_ma(pte_t x) { - return x.pte; + return native_pte_val(x); } -#define pmd_val_ma(v) ((v).pmd) -#define pud_val_ma(v) ((v).pgd.pgd) -#define __pte_ma(x) ((pte_t) { .pte = (x) }) +#define __pte_ma(x) (native_make_pte(x)) #define __pmd_ma(x) ((pmd_t) { (x) } ) #else /* !X86_PAE */ -#define pte_mfn(_pte) ((_pte).pte_low >> PAGE_SHIFT) +#define pte_mfn(_pte) ((native_pte_val(_pte) & __PHYSICAL_MASK) >> PAGE_SHIFT) #define mfn_pte(pfn, prot) __pte_ma(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) #define pte_val_ma(x) ((x).pte) -#define pmd_val_ma(v) ((v).pud.pgd.pgd) #define __pte_ma(x) ((pte_t) { (x) } ) #endif /* CONFIG_X86_PAE */ #define pgd_val_ma(x) ((x).pgd) +#define pmd_val_ma(x) (native_pmd_val((x))) +#define pud_val_ma(x) (native_pud_val((x))) xmaddr_t arbitrary_virt_to_machine(unsigned long address); diff --git a/init/main.c b/init/main.c index 530b36f..9341b4c 100644 --- a/init/main.c +++ b/init/main.c @@ -584,17 +584,25 @@ asmlinkage void __init start_kernel(void) rcu_init(); init_IRQ(); pidhash_init(); + printk("init_timers:\n"); init_timers(); hrtimers_init(); softirq_init(); + printk("timekeeping:\n"); timekeeping_init(); + printk("time:\n"); time_init(); + printk("profile:\n"); profile_init(); + printk("irqs_disabled:\n"); if (!irqs_disabled()) printk("start_kernel(): bug: interrupts were enabled early\n"); + printk("early_boot_irqs_on:\n"); early_boot_irqs_on(); + printk("local_irq_enable:\n"); local_irq_enable(); + printk("console_init:\n"); /* * HACK ALERT! This is early. We're enabling the console before * we've done PCI setups etc, and console_init() must be aware of @@ -631,7 +639,9 @@ asmlinkage void __init start_kernel(void) numa_policy_init(); if (late_time_init) late_time_init(); + printk("calibrate_delay:\n"); calibrate_delay(); + printk("pidmap_init:\n"); pidmap_init(); pgtable_cache_init(); prio_tree_init(); diff --git a/mm/slab.c b/mm/slab.c index ed27eb8..d434cc3 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -3201,6 +3201,8 @@ static inline void *____cache_alloc(struct kmem_cache *cachep, gfp_t flags) STATS_INC_ALLOCHIT(cachep); ac->touched = 1; objp = ac->entry[--ac->avail]; + if (!objp) + printk("really weird: avail objp for cache %s is null\n", cachep->name); } else { STATS_INC_ALLOCMISS(cachep); objp = cache_alloc_refill(cachep, flags); @@ -3463,8 +3465,10 @@ __cache_alloc(struct kmem_cache *cachep, gfp_t flags, void *caller) unsigned long save_flags; void *objp; - if (should_failslab(cachep, flags)) + if (should_failslab(cachep, flags)) { + printk("cache %s should fail\n", cachep->name); return NULL; + } cache_alloc_debugcheck_before(cachep, flags); local_irq_save(save_flags); @@ -3476,6 +3480,8 @@ __cache_alloc(struct kmem_cache *cachep, gfp_t flags, void *caller) if (unlikely((flags & __GFP_ZERO) && objp)) memset(objp, 0, obj_size(cachep)); + if (!objp) + printk("allocation from cache %s failed!!!\n", cachep->name); return objp; } -- 1.5.4.1 --- NEW FILE patch-2.6.25-rc7-git6.bz2.sign --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: See http://www.kernel.org/signature.html for info iD8DBQBH8I0iyGugalF9Dw4RAhRZAJwOpd7iZ2lz/ejNy9G+Vjza+8UT6wCfeMKn AXzSXS0xVpH9AVRkRDMrDRE= =L9G2 -----END PGP SIGNATURE----- --- NEW FILE patch-2.6.25-rc7.bz2.sign --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: See http://www.kernel.org/signature.html for info iD8DBQBH6bUByGugalF9Dw4RAiTzAJ94B313u9CkQ/8m0zS4kIljlipJQACfSS9k zPxzabJGk0ZBv+ppscEod78= =wb38 -----END PGP SIGNATURE----- Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/.cvsignore,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- .cvsignore 6 Mar 2008 13:59:25 -0000 1.12 +++ .cvsignore 1 Apr 2008 10:38:06 -0000 1.13 @@ -4,5 +4,6 @@ temp-* kernel-2.6.24 linux-2.6.24.tar.bz2 -patch-2.6.25-rc4.bz2 +patch-2.6.25-rc7.bz2 +patch-2.6.25-rc7-git6.bz2 xen-3.2.0.tar.gz Index: .gitignore =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/.gitignore,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- .gitignore 6 Mar 2008 13:59:25 -0000 1.2 +++ .gitignore 1 Apr 2008 10:38:06 -0000 1.3 @@ -4,5 +4,7 @@ temp-* kernel-2.6.24 linux-2.6.24.tar.bz2 -patch-2.6.25-rc4.bz2 +patch-2.6.25-rc7.bz2 +patch-2.6.25-rc7-git6.bz2 xen-3.2.0.tar.gz + Index: Makefile =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/Makefile,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Makefile 25 Mar 2008 12:37:23 -0000 1.6 +++ Makefile 1 Apr 2008 10:38:06 -0000 1.7 @@ -32,6 +32,9 @@ include $(MAKEFILE_COMMON) include Makefile.config +extremedebug: + @perl -pi -e 's/# CONFIG_DEBUG_PAGEALLOC is not set/CONFIG_DEBUG_PAGEALLOC=y/' config-nodebug + debug: @perl -pi -e 's/# CONFIG_SLUB_DEBUG_ON is not set/CONFIG_SLUB_DEBUG_ON=y/' config-nodebug @perl -pi -e 's/# CONFIG_LOCK_STAT is not set/CONFIG_LOCK_STAT=y/' config-nodebug @@ -46,6 +49,8 @@ @perl -pi -e 's/# CONFIG_DEBUG_SPINLOCK is not set/CONFIG_DEBUG_SPINLOCK=y/' config-nodebug @perl -pi -e 's/# CONFIG_DEBUG_VM is not set/CONFIG_DEBUG_VM=y/' config-nodebug @perl -pi -e 's/# CONFIG_DEBUG_SLEEP_IN_IRQ is not set/CONFIG_DEBUG_SLEEP_IN_IRQ=y/' config-nodebug + @perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-debug + @perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-nodebug @perl -pi -e 's/# CONFIG_FAULT_INJECTION is not set/CONFIG_FAULT_INJECTION=y/' config-nodebug @perl -pi -e 's/# CONFIG_FAILSLAB is not set/CONFIG_FAILSLAB=y/' config-nodebug @perl -pi -e 's/# CONFIG_FAIL_PAGE_ALLOC is not set/CONFIG_FAIL_PAGE_ALLOC=y/' config-nodebug @@ -54,6 +59,7 @@ @perl -pi -e 's/# CONFIG_FAULT_INJECTION_STACKTRACE_FILTER is not set/CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y/' config-nodebug @perl -pi -e 's/# CONFIG_DEBUG_SG is not set/CONFIG_DEBUG_SG=y/' config-nodebug @perl -pi -e 's/# CONFIG_EXT4DEV_FS is not set/CONFIG_EXT4DEV_FS=m/' config-generic + @perl -pi -e 's/# CONFIG_USB_DEBUG is not set/CONFIG_USB_DEBUG=y/' config-generic @perl -pi -e 's/^%define debugbuildsenabled 1/%define debugbuildsenabled 0/' kernel.spec @@ -69,6 +75,7 @@ @perl -pi -e 's/CONFIG_DEBUG_LOCK_ALLOC=y/# CONFIG_DEBUG_LOCK_ALLOC is not set/' config-nodebug @perl -pi -e 's/CONFIG_PROVE_LOCKING=y/# CONFIG_PROVE_LOCKING is not set/' config-nodebug @perl -pi -e 's/CONFIG_DEBUG_SPINLOCK=y/# CONFIG_DEBUG_SPINLOCK is not set/' config-nodebug + @perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-debug @perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-nodebug @perl -pi -e 's/CONFIG_DEBUG_VM=y/# CONFIG_DEBUG_VM is not set/' config-nodebug @perl -pi -e 's/CONFIG_DEBUG_SLEEP_IN_IRQ=y/# CONFIG_DEBUG_SLEEP_IN_IRQ is not set/' config-nodebug @@ -80,6 +87,7 @@ @perl -pi -e 's/CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y/# CONFIG_FAULT_INJECTION_STACKTRACE_FILTER is not set/' config-nodebug @perl -pi -e 's/CONFIG_DEBUG_SG=y/# CONFIG_DEBUG_SG is not set/' config-nodebug @perl -pi -e 's/CONFIG_EXT4DEV_FS=m/# CONFIG_EXT4DEV_FS is not set/' config-generic + @perl -pi -e 's/CONFIG_USB_DEBUG=y/# CONFIG_USB_DEBUG is not set/' config-generic @perl -pi -e 's/^%define debugbuildsenabled 0/%define debugbuildsenabled 1/' kernel.spec Index: config-debug =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/config-debug,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- config-debug 6 Mar 2008 13:59:25 -0000 1.3 +++ config-debug 1 Apr 2008 10:38:06 -0000 1.4 @@ -29,4 +29,6 @@ CONFIG_DEBUG_SG=y -CONFIG_DEBUG_PAGEALLOC=y +# CONFIG_DEBUG_PAGEALLOC is not set + +CONFIG_USB_DEBUG=y Index: config-generic =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/config-generic,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- config-generic 6 Mar 2008 13:59:25 -0000 1.3 +++ config-generic 1 Apr 2008 10:38:06 -0000 1.4 @@ -63,7 +63,7 @@ CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set # CONFIG_MODVERSIONS is not set -# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_KMOD=y # @@ -79,7 +79,7 @@ # CONFIG_PCIEASPM_DEBUG is not set CONFIG_HOTPLUG_PCI_PCIE=m CONFIG_HOTPLUG_PCI_FAKE=m -# CONFIG_PCI_LEGACY is not set +CONFIG_PCI_LEGACY=y CONFIG_ISA=y # CONFIG_EISA is not set @@ -643,6 +643,8 @@ CONFIG_FIREWIRE=m CONFIG_FIREWIRE_OHCI=m CONFIG_FIREWIRE_SBP2=m +CONFIG_FIREWIRE_OHCI_DEBUG=y +# CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not set # # IEEE 1394 (FireWire) support @@ -1250,6 +1252,7 @@ CONFIG_MAC80211_RC_DEFAULT="pid" CONFIG_MAC80211_RC_PID=y CONFIG_MAC80211_RC_SIMPLE=y +CONFIG_MAC80211_MESH=y CONFIG_MAC80211_LEDS=y CONFIG_MAC80211_DEBUGFS=y # CONFIG_MAC80211_DEBUG_PACKET_ALIGNMENT is not set @@ -1297,16 +1300,20 @@ CONFIG_LIBERTAS_CS=m CONFIG_LIBERTAS_SDIO=m CONFIG_LIBERTAS_DEBUG=y +CONFIG_IWLWIFI_LEDS=y CONFIG_IWL4965=m -CONFIG_IWL4965_DEBUG=y +CONFIG_IWLWIFI_DEBUG=y +CONFIG_IWLWIFI_DEBUGFS=y CONFIG_IWL4965_SENSITIVITY=y CONFIG_IWL4965_SPECTRUM_MEASUREMENT=y CONFIG_IWL4965_QOS=y CONFIG_IWL4965_HT=y +CONFIG_IWL4965_LEDS=y CONFIG_IWL3945=m CONFIG_IWL3945_DEBUG=y CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y CONFIG_IWL3945_QOS=y +CONFIG_IWL3945_LEDS=y CONFIG_NORTEL_HERMES=m CONFIG_P54_COMMON=m CONFIG_P54_USB=m @@ -2267,7 +2274,7 @@ # CONFIG_FB_ASILIANT is not set CONFIG_FB_CIRRUS=m # CONFIG_FB_CYBER2000 is not set -CONFIG_FB_CYBLA=m +# CONFIG_FB_CYBLA is not set # CONFIG_FB_GEODE is not set # CONFIG_FB_HECUBA is not set # CONFIG_FB_HGA is not set @@ -2428,7 +2435,7 @@ CONFIG_SND_HDA_CODEC_SI3054=y CONFIG_SND_HDA_GENERIC=y CONFIG_SND_HDA_POWER_SAVE=y -CONFIG_SND_HDA_POWER_SAVE_DEFAULT=5 +CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 CONFIG_SND_HDSPM=m CONFIG_SND_HIFIER=m CONFIG_SND_ICE1712=m @@ -2483,7 +2490,6 @@ # CONFIG_USB=y CONFIG_USB_SUPPORT=y -# CONFIG_USB_DEBUG is not set # DEPRECATED: See bug 362221. Fix udev. # CONFIG_USB_DEVICE_CLASS is not set @@ -2897,7 +2903,6 @@ CONFIG_CIFS_POSIX=y CONFIG_CIFS_WEAK_PW_HASH=y # CONFIG_CIFS_DEBUG2 is not set -CONFIG_CIFS_UPCALL=y CONFIG_CIFS_DFS_UPCALL=y CONFIG_NCP_FS=m CONFIG_NCPFS_PACKET_SIGNING=y @@ -3029,7 +3034,7 @@ # CONFIG_DEBUG_RODATA_TEST is not set # CONFIG_DEBUG_NX_TEST is not set -# CONFIG_DEBUG_BOOT_PARAMS is not set +CONFIG_DEBUG_BOOT_PARAMS=y # # Security options @@ -3141,6 +3146,10 @@ CONFIG_SCHED_DEBUG=y CONFIG_FAIR_GROUP_SCHED=y CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y +CONFIG_GROUP_SCHED=y +# CONFIG_RT_GROUP_SCHED is not set +CONFIG_CGROUP_SCHED=y +# CONFIG_CGROUP_MEM_RES_CTLR is not set CONFIG_CPUSETS=y CONFIG_CGROUPS=y @@ -3354,7 +3363,7 @@ CONFIG_DMA_ENGINE=y CONFIG_NET_DMA=y -# CONFIG_UNUSED_SYMBOLS is not set +CONFIG_UNUSED_SYMBOLS=y CONFIG_UTRACE=y CONFIG_PTRACE=y @@ -3454,15 +3463,8 @@ # CONFIG_BLK_DEV_XIP is not set CONFIG_MEMSTICK=m CONFIG_MEMSTICK_DEBUG=y - # CONFIG_MEMSTICK_UNSAFE_RESUME is not set CONFIG_MSPRO_BLOCK=m CONFIG_MEMSTICK_TIFM_MS=m +CONFIG_MEMSTICK_JMICRON_38X=m -CONFIG_GROUP_SCHED=y -CONFIG_FAIR_GROUP_SCHED=y -# CONFIG_RT_GROUP_SCHED is not set -CONFIG_CGROUP_SCHED=y -# CONFIG_CGROUP_MEM_RES_CTLR is not set - -# CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not set Index: config-nodebug =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/config-nodebug,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- config-nodebug 6 Mar 2008 13:59:25 -0000 1.3 +++ config-nodebug 1 Apr 2008 10:38:06 -0000 1.4 @@ -28,4 +28,6 @@ CONFIG_DEBUG_SG=y -CONFIG_DEBUG_PAGEALLOC=y +# CONFIG_DEBUG_PAGEALLOC is not set + +CONFIG_USB_DEBUG=y Index: config-powerpc-generic =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/config-powerpc-generic,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- config-powerpc-generic 6 Mar 2008 13:59:25 -0000 1.3 +++ config-powerpc-generic 1 Apr 2008 10:38:06 -0000 1.4 @@ -76,7 +76,7 @@ CONFIG_SND_AOA_SOUNDBUS_I2S=m CONFIG_XMON=y -CONFIG_XMON_DEFAULT=y +# CONFIG_XMON_DEFAULT is not set CONFIG_XMON_DISASSEMBLY=y CONFIG_BOOTX_TEXT=y @@ -205,7 +205,6 @@ CONFIG_AXON_RAM=m CONFIG_OPROFILE_CELL=y -# CONFIG_PPC_MPC52xx is not set CONFIG_SUSPEND_FREEZER=y # CONFIG_IDEPCI_PCIBUS_ORDER is not set CONFIG_PATA_PLATFORM=m Index: config-powerpc32-generic =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/config-powerpc32-generic,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- config-powerpc32-generic 6 Mar 2008 13:59:25 -0000 1.3 +++ config-powerpc32-generic 1 Apr 2008 10:38:06 -0000 1.4 @@ -9,7 +9,14 @@ CONFIG_PPC_MULTIPLATFORM=y CONFIG_PPC_CHRP=y CONFIG_PPC_PMAC=y -# CONFIG_PPC_PREP is not set +CONFIG_PPC_MPC52xx=y +CONFIG_PPC_PREP=y + +# CONFIG_PPC_MPC5200_SIMPLE is not set +CONFIG_SATA_FSL=m +CONFIG_GIANFAR=m +CONFIG_GFAR_NAPI=y +CONFIG_USB_EHCI_FSL=y CONFIG_PMAC_APM_EMU=y CONFIG_PMAC_BACKLIGHT=y Index: config-powerpc64 =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/config-powerpc64,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- config-powerpc64 6 Mar 2008 13:59:25 -0000 1.3 +++ config-powerpc64 1 Apr 2008 10:38:06 -0000 1.4 @@ -1,5 +1,6 @@ CONFIG_WINDFARM_PM81=y CONFIG_WINDFARM_PM91=y +CONFIG_WINDFARM_PM121=y CONFIG_PPC_PMAC64=y CONFIG_PPC_MAPLE=y CONFIG_PPC_SYSTEMSIM=y Index: config-sparc64-generic =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/config-sparc64-generic,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- config-sparc64-generic 6 Mar 2008 13:59:25 -0000 1.3 +++ config-sparc64-generic 1 Apr 2008 10:38:06 -0000 1.4 @@ -1,7 +1,12 @@ CONFIG_SPARC=y CONFIG_SPARC64=y CONFIG_SECCOMP=y +CONFIG_HZ_100=y +# CONFIG_HZ_1000 is not set +CONFIG_HZ=100 +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=m CONFIG_CPU_FREQ_DEBUG=y @@ -18,8 +23,6 @@ CONFIG_US2E_FREQ=m CONFIG_SUN_LDOMS=y -# CONFIG_NO_HZ is not set -# CONFIG_HIGH_RES_TIMERS is not set CONFIG_SCHED_SMT=y CONFIG_SCHED_MC=y # CONFIG_CRASH is not set @@ -44,13 +47,29 @@ CONFIG_WATCHDOG_CP1XXX=m CONFIG_WATCHDOG_RIO=m # CONFIG_CMDLINE_BOOL is not set -CONFIG_FB_BW2=y +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +# CONFIG_PARPORT is not set +# CONFIG_BLK_DEV_FD is not set +# CONFIG_LIRC_PVR150 is not set +# CONFIG_LIRC_PARALLEL is not set +# CONFIG_I2C_NFORCE2 is not set +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_PROSAVAGE is not set +# CONFIG_I2C_SAVAGE4 is not set +# CONFIG_I2C_SIMTEC is not set +# CONFIG_I2C_VOODOO3 is not set +CONFIG_I2C_ALI1535=m +# CONFIG_VGASTATE is not set +# CONFIG_FB_DDC is not set +# CONFIG_FB_BW2 is not set CONFIG_FB_CG3=y CONFIG_FB_CG6=y # CONFIG_FB_RIVA is not set # CONFIG_FB_MATROX is not set # CONFIG_FB_RADEON is not set CONFIG_FB_ATY=y +# CONFIG_FB_S3 is not set +# CONFIG_FB_SAVAGE is not set # CONFIG_FB_SIS is not set # CONFIG_FB_NEOMAGIC is not set # CONFIG_FB_3DFX is not set @@ -65,6 +84,13 @@ # CONFIG_FB_LEO is not set CONFIG_FB_XVR500=y CONFIG_FB_XVR2500=y +# CONFIG_DRM is not set +# CONFIG_VGASTATE is not set +# CONFIG_FB_DDC is not set +# CONFIG_FB_CIRRUS is not set +# CONFIG_FB_ATY128 is not set +# CONFIG_FB_KYRO is not set + # CONFIG_DRM_NOUVEAU is not set # CONFIG_MDA_CONSOLE is not set # CONFIG_PROM_CONSOLE is not set @@ -74,10 +100,12 @@ # CONFIG_FONT_7x14 is not set # CONFIG_FONT_10x18 is not set # CONFIG_FONT_6x11 is not set +# CONFIG_FONT_SUN12x22 is not set # CONFIG_FONT_PEARL_8x8 is not set # CONFIG_FONT_ACORN_8x8 is not set CONFIG_FONT_SUN8x16=y CONFIG_FONT_SUN12x22=y +# CONFIG_LOGO_LINUX_CLUT224 is not set # CONFIG_SERIAL_8250 is not set CONFIG_SERIAL_SUNZILOG=y CONFIG_SERIAL_SUNZILOG_CONSOLE=y @@ -130,9 +158,9 @@ # CONFIG_INPUT_PCSPKR is not set CONFIG_INPUT_SPARCSPKR=m # CONFIG_SOUND_PRIME is not set -CONFIG_SND_SUN_AMD7930=m +# CONFIG_SND_SUN_AMD7930 is not set CONFIG_SND_SUN_CS4231=m -CONFIG_SND_SUN_DBRI=m +# CONFIG_SND_SUN_DBRI is not set CONFIG_PARPORT_SUNBPP=m CONFIG_LOGO_SUN_CLUT224=y CONFIG_SUN_BPP=m @@ -143,11 +171,13 @@ # CONFIG_VIDEO_STRADIS is not set # CONFIG_IEEE1394_SBP2 is not set # CONFIG_USB_NET2280 is not set -# CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_BUGVERBOSE is not set # CONFIG_DEBUG_DCFLUSH is not set # CONFIG_DEBUG_BOOTMEM is not set -# CONFIG_DEBUG_PAGEALLOC is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_LOCKDEP is not set # CONFIG_STACK_DEBUG is not set CONFIG_SPARSEMEM_VMEMMAP=y Index: config-x86_64-generic =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/config-x86_64-generic,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- config-x86_64-generic 6 Mar 2008 13:59:25 -0000 1.3 +++ config-x86_64-generic 1 Apr 2008 10:38:06 -0000 1.4 @@ -152,7 +152,7 @@ CONFIG_I2C_AMD8111=m CONFIG_I2C_I801=m # CONFIG_I2C_I810 is not set -# CONFIG_I2C_PIIX4 is not set +CONFIG_I2C_PIIX4=m # CONFIG_I2C_SIS5595 is not set # CONFIG_I2C_SIS630 is not set CONFIG_I2C_SIS96X=m Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/kernel.spec,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- kernel.spec 25 Mar 2008 12:37:23 -0000 1.20 +++ kernel.spec 1 Apr 2008 10:38:06 -0000 1.21 @@ -43,9 +43,9 @@ # The next upstream release sublevel (base_sublevel+1) %define upstream_sublevel %(expr %{base_sublevel} + 1) # The rc snapshot level -%define rcrev 4 +%define rcrev 7 # The git snapshot level -%define gitrev 0 +%define gitrev 6 # Set rpm version accordingly %define rpmversion 2.6.%{upstream_sublevel} %endif @@ -142,7 +142,7 @@ %define xen_target vmlinuz %define xen_image arch/x86/boot/vmlinuz -%define KVERREL %{PACKAGE_VERSION}-%{PACKAGE_RELEASE} +%define KVERREL %{PACKAGE_VERSION}-%{PACKAGE_RELEASE}.%{_target_cpu} %define hdrarch %_target_cpu %if 0%{!?nopatches:1} @@ -255,7 +255,7 @@ # no need to build headers again for these arches, # they can just use i386 and ppc64 headers -%ifarch i586 i686 ppc64iseries +%ifarch i586 i686 ppc64iseries %define with_headers 0 %endif @@ -422,7 +422,7 @@ # Packages that need to be installed before the kernel is, because the %post # scripts use them. # -%define kernel_prereq fileutils, module-init-tools, initscripts >= 8.11.1-1, mkinitrd >= 6.0.30-1 +%define kernel_prereq fileutils, module-init-tools, initscripts >= 8.11.1-1, mkinitrd >= 6.0.39-1 # # This macro does requires, provides, conflicts, obsoletes for a kernel package. @@ -432,9 +432,11 @@ # %define kernel_reqprovconf \ Provides: kernel = %{rpmversion}-%{pkg_release}\ -Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1}\ +Provides: kernel-%{_target_cpu} = %{rpmversion}-%{pkg_release}%{?1:.%{1}}\ Provides: kernel-drm = 4.3.0\ Provides: kernel-drm-nouveau = 10\ +Provides: kernel-modeset = 1\ +Provides: kernel-uname-r = %{KVERREL}%{?1:.%{1}}\ Requires(pre): %{kernel_prereq}\ Conflicts: %{kernel_dot_org_conflicts}\ Conflicts: %{package_conflicts}\ @@ -471,6 +473,9 @@ BuildRequires: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar BuildRequires: bzip2, findutils, gzip, m4, perl, make >= 3.78, diffutils, gawk BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config +%if %{with_doc} +BuildRequires: xmlto +%endif %if %{with_sparse} BuildRequires: sparse >= 0.4.1 %endif @@ -567,40 +572,30 @@ # we always need nonintconfig, even for -vanilla kernels Patch06: linux-2.6-build-nonintconfig.patch +# we also need compile fixes for -vanilla +Patch07: linux-2.6-compile-fixes.patch +Patch08: linux-2.6-compile-fix-gcc-43.patch + %if !%{nopatches} Patch10: linux-2.6-hotfixes.patch -Patch21: linux-2.6-utrace-tracehook.patch -Patch22: linux-2.6-utrace-tracehook-ia64.patch -Patch23: linux-2.6-utrace-tracehook-sparc64.patch -Patch24: linux-2.6-utrace-tracehook-s390.patch -Patch25: linux-2.6-utrace-tracehook-um.patch -Patch26: linux-2.6-utrace-tracehook-avr32.patch -Patch27: linux-2.6-utrace-regset.patch -Patch28: linux-2.6-utrace-regset-ia64.patch -Patch29: linux-2.6-utrace-regset-sparc64.patch -Patch30: linux-2.6-utrace-regset-s390.patch -Patch31: linux-2.6-utrace-regset-avr32.patch -Patch32: linux-2.6-utrace-core.patch -Patch33: linux-2.6-utrace-ptrace-compat.patch -Patch34: linux-2.6-utrace-ptrace-compat-ia64.patch -Patch35: linux-2.6-utrace-ptrace-compat-sparc64.patch -Patch36: linux-2.6-utrace-ptrace-compat-s390.patch -Patch37: linux-2.6-utrace-ptrace-compat-avr32.patch +Patch21: linux-2.6-utrace.patch Patch41: linux-2.6-sysrq-c.patch Patch42: linux-2.6-x86-tune-generic.patch Patch75: linux-2.6-x86-debug-boot.patch -Patch80: linux-2.6-ia32-syscall-restart.patch - Patch123: linux-2.6-ppc-rtc.patch Patch140: linux-2.6-ps3-ehci-iso.patch Patch141: linux-2.6-ps3-storage-alias.patch Patch142: linux-2.6-ps3-legacy-bootloader-hack.patch Patch143: linux-2.6-g5-therm-shutdown.patch Patch144: linux-2.6-vio-modalias.patch +Patch145: linux-2.6-windfarm-pm121.patch +Patch146: linux-2.6-windfarm-pm121-fix.patch +Patch147: linux-2.6-imac-transparent-bridge.patch +Patch148: linux-2.6-powerpc-zImage-32MiB.patch Patch160: linux-2.6-execshield.patch Patch250: linux-2.6-debug-sizeof-structs.patch @@ -608,41 +603,44 @@ Patch270: linux-2.6-debug-taint-vm.patch Patch280: linux-2.6-debug-spinlock-taint.patch Patch330: linux-2.6-debug-no-quiet.patch +Patch340: linux-2.6-debug-vm-would-have-oomkilled.patch Patch350: linux-2.6-devmem.patch Patch370: linux-2.6-crash-driver.patch Patch400: linux-2.6-scsi-cpqarray-set-master.patch Patch402: linux-2.6-scsi-mpt-vmware-fix.patch +Patch410: linux-2.6-alsa-kill-annoying-messages.patch Patch420: linux-2.6-squashfs.patch Patch430: linux-2.6-net-silence-noisy-printks.patch Patch450: linux-2.6-input-kill-stupid-messages.patch +Patch451: linux-2.6-input-macbook-appletouch.patch Patch460: linux-2.6-serial-460800.patch Patch510: linux-2.6-silence-noise.patch Patch570: linux-2.6-selinux-mprotect-checks.patch +Patch580: linux-2.6-sparc-selinux-mprotect-checks.patch Patch610: linux-2.6-defaults-fat-utf8.patch Patch660: linux-2.6-libata-ali-atapi-dma.patch Patch670: linux-2.6-ata-quirk.patch Patch680: linux-2.6-wireless.patch Patch681: linux-2.6-wireless-pending.patch -Patch682: linux-2.6-wireless-pending-too.patch Patch690: linux-2.6-at76.patch -Patch820: linux-2.6-compile-fixes.patch -Patch821: linux-2.6-compile-fix-gcc-43.patch Patch1101: linux-2.6-default-mmf_dump_elf_headers.patch Patch1400: linux-2.6-smarter-relatime.patch Patch1515: linux-2.6-lirc.patch # nouveau + drm fixes Patch1801: linux-2.6-drm-git-mm.patch -Patch1802: linux-2.6-ppc32-ucmpdi2.patch Patch1803: nouveau-drm.patch -Patch1804: linux-2.6-drm-git-mm-revert-nopfn.patch -Patch1805: linux-2.6-drm-git-i915-remove-priv-access.patch +Patch1806: linux-2.6-drm-i915-modeset.patch +Patch1807: linux-2.6-drm-radeon-fix-oops.patch # kludge to make ich9 e1000 work Patch2000: linux-2.6-e1000-ich9.patch +# Make Eee disk faster. +Patch2010: linux-2.6-sata-eeepc-faster.patch + # atl2 network driver Patch2020: linux-2.6-netdev-atl2.patch @@ -655,6 +653,8 @@ # make USB EHCI driver respect "nousb" parameter Patch2300: linux-2.6-usb-ehci-hcd-respect-nousb.patch +# Fix HID usage descriptor on MS wireless desktop receiver +Patch2301: linux-2.6-ms-wireless-receiver.patch # acpi hotkey driver for asus eeepc Patch2350: linux-2.6-acpi-eeepc-hotkey.patch @@ -664,32 +664,27 @@ Patch2501: linux-2.6-ppc-use-libgcc.patch -Patch2503: linux-2.6-virtio_blk-fix-sysfs-bits.patch - -### HACK ### -Patch2502: linux-2.6-blkcipher-depend-on-chainiv.patch - # kernel-xen patches start Patch5000: linux-2.6-xen-0001-squashfs-Fix-build-without-CONFIG_SMP.patch Patch5001: linux-2.6-xen-0002-xen-execshield-Add-xen-specific-load_user_cs_desc.patch Patch5002: linux-2.6-xen-0003-xen-execshield-fix-endless-GPF-fault-loop.patch -Patch5003: linux-2.6-xen-0004-xen-Make-hvc0-the-preferred-console-in-domU.patch +Patch5003: linux-2.6-xen-0004-xen-Do-not-pin-unpin-PMD-pages.patch Patch5004: linux-2.6-xen-0005-xen-Make-xen-blkfront-write-its-protocol-ABI-to-xen.patch -Patch5005: linux-2.6-xen-0006-fbdev-Make-deferred-I-O-work-as-advertized.patch -Patch5006: linux-2.6-xen-0007-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch -Patch5007: linux-2.6-xen-0008-xen-Module-autoprobing-support-for-frontend-drivers.patch -Patch5008: linux-2.6-xen-0009-xen-Add-compatibility-aliases-for-frontend-drivers.patch -Patch5009: linux-2.6-xen-0010-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch -Patch5010: linux-2.6-xen-0011-xen-Add-a-vmlinuz-target.patch -Patch5011: linux-2.6-xen-0012-xen-Add-empty-xenctrl-module.patch -Patch5012: linux-2.6-xen-0013-xen-Add-proc-xen-capabilities.patch -Patch5013: linux-2.6-xen-0014-xen-Add-proc-xen-privcmd.patch -Patch5014: linux-2.6-xen-0015-xen-Add-proc-xen-xenbus.patch -Patch5015: linux-2.6-xen-0016-xen-Add-Xen-s-sys-hypervisor-interface.patch -Patch5016: linux-2.6-xen-0017-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch -Patch5017: linux-2.6-xen-0018-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch -Patch5018: linux-2.6-xen-0019-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch -Patch5019: linux-2.6-xen-0020-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch +Patch5005: linux-2.6-xen-0006-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch +Patch5006: linux-2.6-xen-0007-xen-Module-autoprobing-support-for-frontend-drivers.patch +Patch5007: linux-2.6-xen-0008-xen-Add-compatibility-aliases-for-frontend-drivers.patch +Patch5008: linux-2.6-xen-0009-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch +Patch5009: linux-2.6-xen-0010-xen-Add-a-vmlinuz-target.patch +Patch5010: linux-2.6-xen-0011-xen-Add-empty-xenctrl-module.patch +Patch5011: linux-2.6-xen-0012-xen-Add-proc-xen-capabilities.patch +Patch5012: linux-2.6-xen-0013-xen-Add-proc-xen-privcmd.patch +Patch5013: linux-2.6-xen-0014-xen-Add-proc-xen-xenbus.patch +Patch5014: linux-2.6-xen-0015-xen-Add-Xen-s-sys-hypervisor-interface.patch +Patch5015: linux-2.6-xen-0016-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch +Patch5016: linux-2.6-xen-0017-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch +Patch5017: linux-2.6-xen-0018-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch +Patch5018: linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch + # kernel-xen patches end # Xen hypervisor patches (20000+) @@ -705,7 +700,7 @@ %endif -BuildRoot: %{_tmppath}/%{mainpkgname}-%{KVERREL}-root-%{_target_cpu} +BuildRoot: %{_tmppath}/%{mainpkgname}-%{KVERREL}-root %description The kernel package contains the Linux kernel (vmlinuz), the core of any @@ -748,7 +743,7 @@ %package -n %{mainpkgname}-debuginfo-common Summary: Kernel source files used by %{mainpkgname}-debuginfo packages Group: Development/Debug -Provides: %{mainpkgname}-debuginfo-common-%{_target_cpu} = %{KVERREL} +Provides: %{mainpkgname}-debuginfo-common-%{_target_cpu} = %{version}-%{release} %description -n %{mainpkgname}-debuginfo-common This package is required by %{mainpkgname}-debuginfo subpackages. It provides the kernel source files common to all builds. @@ -762,13 +757,13 @@ %package -n %{variantbase}-%{?1:%{1}-}debuginfo\ Summary: Debug information for package %{variantbase}%{?1:-%{1}}\ Group: Development/Debug\ -Requires: %{mainpkgname}-debuginfo-common-%{_target_cpu} = %{KVERREL}\ -Provides: %{variantbase}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{KVERREL}\ +Requires: %{variantbase}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\ +Provides: %{variantbase}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\ AutoReqProv: no\ %description -n %{variantbase}%{?1:-%{1}}-debuginfo\ This package provides debug information for package %{variantbase}%{?1:-%{1}}.\ This is required to use SystemTap with %{variantbase}%{?1:-%{1}}-%{KVERREL}.\ -%{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:-?%{1}}(-%%{_target_cpu})?/.*|/.*%%{KVERREL}%{?1}(\.debug)?' -o debuginfo%{?1}.list}\ +%{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:\.%{1}}/.*|/.*%%{KVERREL}%{?1:\.%{1}}(\.debug)?' -o debuginfo%{?1}.list}\ %{nil} # @@ -779,9 +774,10 @@ %package -n %{variantbase}-%{?1:%{1}-}devel\ Summary: Development package for building kernel modules to match the %{?2:%{2} }kernel\ Group: System Environment/Kernel\ -Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{rpmversion}-%{release}\ -Provides: kernel-devel-%{_target_cpu} = %{rpmversion}-%{release}%{?1}\ -Provides: kernel-devel = %{rpmversion}-%{release}%{?1}\ +Provides: kernel%{?1:-%{1}}-devel-%{_target_cpu} = %{version}-%{release}\ +Provides: kernel-devel-%{_target_cpu} = %{version}-%{release}%{?1:.%{1}}\ +Provides: kernel-devel = %{version}-%{release}%{?1:.%{1}}\ +Provides: kernel-devel-uname-r = %{KVERREL}%{?1:.%{1}}\ AutoReqProv: no\ Requires(pre): /usr/bin/find\ %description -n %{variantbase}%{?1:-%{1}}-devel\ @@ -1039,35 +1035,23 @@ # builds (as used in the buildsystem). ApplyPatch linux-2.6-build-nonintconfig.patch +# +# misc small stuff to make things compile +# +C=$(wc -l $RPM_SOURCE_DIR/linux-2.6-compile-fixes.patch | awk '{print $1}') +if [ "$C" -gt 10 ]; then +ApplyPatch linux-2.6-compile-fixes.patch +fi + +# build with gcc43 +ApplyPatch linux-2.6-compile-fix-gcc-43.patch + %if !%{nopatches} ApplyPatch linux-2.6-hotfixes.patch # Roland's utrace ptrace replacement. -# Main patch includes i386, x86_64, powerpc. -#ApplyPatch linux-2.6-utrace-tracehook.patch -# Additional arch work by other contributors. -#ApplyPatch linux-2.6-utrace-tracehook-ia64.patch -#ApplyPatch linux-2.6-utrace-tracehook-sparc64.patch -#ApplyPatch linux-2.6-utrace-tracehook-s390.patch -#ApplyPatch linux-2.6-utrace-tracehook-um.patch -#ApplyPatch linux-2.6-utrace-tracehook-avr32.patch -# Main patch includes i386, x86_64, powerpc. -#ApplyPatch linux-2.6-utrace-regset.patch -# Additional arch work by other contributors. -#ApplyPatch linux-2.6-utrace-regset-ia64.patch -#ApplyPatch linux-2.6-utrace-regset-sparc64.patch -#ApplyPatch linux-2.6-utrace-regset-s390.patch -#ApplyPatch linux-2.6-utrace-regset-avr32.patch -# Core patch has no machine dependencies. -#ApplyPatch linux-2.6-utrace-core.patch -# Main patch includes i386, x86_64, powerpc. -#ApplyPatch linux-2.6-utrace-ptrace-compat.patch -# Additional arch work by other contributors. -#ApplyPatch linux-2.6-utrace-ptrace-compat-ia64.patch -#ApplyPatch linux-2.6-utrace-ptrace-compat-sparc64.patch -#ApplyPatch linux-2.6-utrace-ptrace-compat-s390.patch -#ApplyPatch linux-2.6-utrace-ptrace-compat-avr32.patch +ApplyPatch linux-2.6-utrace.patch # enable sysrq-c on all kernels, not only kexec ApplyPatch linux-2.6-sysrq-c.patch @@ -1077,8 +1061,6 @@ # Compile 686 kernels tuned for Pentium4. ApplyPatch linux-2.6-x86-tune-generic.patch -ApplyPatch linux-2.6-ia32-syscall-restart.patch - # # PowerPC # @@ -1088,6 +1070,8 @@ ### NOT (YET) UPSTREAM: # The EHCI ISO patch isn't yet upstream but is needed to fix reboot ApplyPatch linux-2.6-ps3-ehci-iso.patch +# Fixes some wireless optical mice +ApplyPatch linux-2.6-ms-wireless-receiver.patch # The storage alias patch is Fedora-local, and allows the old 'ps3_storage' # module name to work on upgrades. Otherwise, I believe mkinitrd will fail # to pull the module in, @@ -1098,6 +1082,13 @@ ApplyPatch linux-2.6-g5-therm-shutdown.patch # Provide modalias in sysfs for vio devices ApplyPatch linux-2.6-vio-modalias.patch +# Fan support on iMac G5 iSight +ApplyPatch linux-2.6-windfarm-pm121.patch +ApplyPatch linux-2.6-windfarm-pm121-fix.patch +# Work around PCIe bridge setup on iSight +ApplyPatch linux-2.6-imac-transparent-bridge.patch +# Link zImage at 32MiB (for POWER machines, Efika) +ApplyPatch linux-2.6-powerpc-zImage-32MiB.patch # # Exec shield @@ -1123,6 +1114,7 @@ %if !%{debugbuildsenabled} ApplyPatch linux-2.6-debug-no-quiet.patch %endif +ApplyPatch linux-2.6-debug-vm-would-have-oomkilled.patch # # Make /dev/mem a need-to-know function @@ -1144,6 +1136,7 @@ # ALSA # +ApplyPatch linux-2.6-alsa-kill-annoying-messages.patch # Filesystem patches. # Squashfs @@ -1156,6 +1149,8 @@ # Misc fixes # The input layer spews crap no-one cares about. ApplyPatch linux-2.6-input-kill-stupid-messages.patch +ApplyPatch linux-2.6-input-macbook-appletouch.patch + # Allow to use 480600 baud on 16C950 UARTs ApplyPatch linux-2.6-serial-460800.patch # Silence some useless messages that still get printed with 'quiet' @@ -1163,6 +1158,8 @@ # Fix the SELinux mprotect checks on executable mappings ApplyPatch linux-2.6-selinux-mprotect-checks.patch +# Fix SELinux for sparc +ApplyPatch linux-2.6-sparc-selinux-mprotect-checks.patch # Changes to upstream defaults. # Use UTF-8 by default on VFAT. @@ -1174,11 +1171,9 @@ ApplyPatch linux-2.6-ata-quirk.patch # wireless patches headed for 2.6.25 -#ApplyPatch linux-2.6-wireless.patch +ApplyPatch linux-2.6-wireless.patch # wireless patches headed for 2.6.26 ApplyPatch linux-2.6-wireless-pending.patch -# temporary backport of some later wireless patches -ApplyPatch linux-2.6-wireless-pending-too.patch # Add misc wireless bits from upstream wireless tree ApplyPatch linux-2.6-at76.patch @@ -1186,18 +1181,6 @@ # implement smarter atime updates support. ApplyPatch linux-2.6-smarter-relatime.patch -# -# misc small stuff to make things compile -# - -C=$(wc -l $RPM_SOURCE_DIR/linux-2.6-compile-fixes.patch | awk '{print $1}') -if [ "$C" -gt 10 ]; then -ApplyPatch linux-2.6-compile-fixes.patch -fi - -# build with gcc43 -ApplyPatch linux-2.6-compile-fix-gcc-43.patch - # build id related enhancements ApplyPatch linux-2.6-default-mmf_dump_elf_headers.patch @@ -1205,14 +1188,16 @@ ApplyPatch linux-2.6-lirc.patch ApplyPatch linux-2.6-e1000-ich9.patch + +ApplyPatch linux-2.6-sata-eeepc-faster.patch + ApplyPatch linux-2.6-netdev-atl2.patch # Nouveau DRM + drm fixes ApplyPatch linux-2.6-drm-git-mm.patch -ApplyPatch linux-2.6-ppc32-ucmpdi2.patch ApplyPatch nouveau-drm.patch -ApplyPatch linux-2.6-drm-git-mm-revert-nopfn.patch -ApplyPatch linux-2.6-drm-git-i915-remove-priv-access.patch +ApplyPatch linux-2.6-drm-i915-modeset.patch +ApplyPatch linux-2.6-drm-radeon-fix-oops.patch # ext4dev stable patch queue, slated for 2.6.25 #ApplyPatch linux-2.6-ext4-stable-queue.patch @@ -1229,34 +1214,29 @@ ApplyPatch linux-2.6-ppc-use-libgcc.patch -ApplyPatch linux-2.6-virtio_blk-fix-sysfs-bits.patch - -ApplyPatch linux-2.6-blkcipher-depend-on-chainiv.patch - # ---------- below all scheduled for 2.6.24 ----------------- # kernel-xen apply start ApplyPatch linux-2.6-xen-0001-squashfs-Fix-build-without-CONFIG_SMP.patch ApplyPatch linux-2.6-xen-0002-xen-execshield-Add-xen-specific-load_user_cs_desc.patch ApplyPatch linux-2.6-xen-0003-xen-execshield-fix-endless-GPF-fault-loop.patch -ApplyPatch linux-2.6-xen-0004-xen-Make-hvc0-the-preferred-console-in-domU.patch +ApplyPatch linux-2.6-xen-0004-xen-Do-not-pin-unpin-PMD-pages.patch ApplyPatch linux-2.6-xen-0005-xen-Make-xen-blkfront-write-its-protocol-ABI-to-xen.patch -ApplyPatch linux-2.6-xen-0006-fbdev-Make-deferred-I-O-work-as-advertized.patch -ApplyPatch linux-2.6-xen-0007-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch -ApplyPatch linux-2.6-xen-0008-xen-Module-autoprobing-support-for-frontend-drivers.patch -ApplyPatch linux-2.6-xen-0009-xen-Add-compatibility-aliases-for-frontend-drivers.patch -ApplyPatch linux-2.6-xen-0010-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch -ApplyPatch linux-2.6-xen-0011-xen-Add-a-vmlinuz-target.patch -ApplyPatch linux-2.6-xen-0012-xen-Add-empty-xenctrl-module.patch -ApplyPatch linux-2.6-xen-0013-xen-Add-proc-xen-capabilities.patch -ApplyPatch linux-2.6-xen-0014-xen-Add-proc-xen-privcmd.patch -ApplyPatch linux-2.6-xen-0015-xen-Add-proc-xen-xenbus.patch -ApplyPatch linux-2.6-xen-0016-xen-Add-Xen-s-sys-hypervisor-interface.patch -ApplyPatch linux-2.6-xen-0017-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch +ApplyPatch linux-2.6-xen-0006-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch +ApplyPatch linux-2.6-xen-0007-xen-Module-autoprobing-support-for-frontend-drivers.patch +ApplyPatch linux-2.6-xen-0008-xen-Add-compatibility-aliases-for-frontend-drivers.patch +ApplyPatch linux-2.6-xen-0009-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch +ApplyPatch linux-2.6-xen-0010-xen-Add-a-vmlinuz-target.patch +ApplyPatch linux-2.6-xen-0011-xen-Add-empty-xenctrl-module.patch +ApplyPatch linux-2.6-xen-0012-xen-Add-proc-xen-capabilities.patch +ApplyPatch linux-2.6-xen-0013-xen-Add-proc-xen-privcmd.patch +ApplyPatch linux-2.6-xen-0014-xen-Add-proc-xen-xenbus.patch +ApplyPatch linux-2.6-xen-0015-xen-Add-Xen-s-sys-hypervisor-interface.patch +ApplyPatch linux-2.6-xen-0016-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch +ApplyPatch linux-2.6-xen-0017-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch +ApplyPatch linux-2.6-xen-0018-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch %ifarch x86_64 -ApplyPatch linux-2.6-xen-0018-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch -ApplyPatch linux-2.6-xen-0019-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch -ApplyPatch linux-2.6-xen-0020-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch +ApplyPatch linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch %endif # kernel-xen apply end @@ -1295,7 +1275,7 @@ echo "# $Arch" > configs/$i cat .config >> configs/$i done -# end of kernel config +# end of kernel config %endif # get rid of unwanted files resulting from patch fuzz @@ -1352,15 +1332,8 @@ InstallName=${4:-vmlinuz} # Pick the right config file for the kernel we're building - if [ -n "$Flavour" ] ; then - Config=kernel-%{version}-%{_target_cpu}-$Flavour.config - DevelDir=/usr/src/kernels/%{KVERREL}-$Flavour-%{_target_cpu} - DevelLink=/usr/src/kernels/%{KVERREL}$Flavour-%{_target_cpu} - else - Config=kernel-%{version}-%{_target_cpu}.config - DevelDir=/usr/src/kernels/%{KVERREL}-%{_target_cpu} - DevelLink= - fi + Config=kernel-%{version}-%{_target_cpu}${Flavour:+-${Flavour}}.config + DevelDir=/usr/src/kernels/%{KVERREL}${Flavour:+.${Flavour}} # When the bootable image is just the ELF kernel, strip it. # We already copy the unstripped file into the debuginfo package. @@ -1370,11 +1343,11 @@ CopyKernel=cp fi - KernelVer=%{version}-%{release}$Flavour - echo BUILDING A KERNEL FOR $Flavour %{_target_cpu}... + KernelVer=%{version}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}} + echo BUILDING A KERNEL FOR ${Flavour} %{_target_cpu}... # make sure EXTRAVERSION says what we want it to say - perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}$Flavour/" Makefile + perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme %if !0%{?rcrev} @@ -1532,7 +1505,6 @@ 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 } ### @@ -1637,6 +1609,11 @@ chmod -R a+r * # copy the source over tar cf - Documentation | tar xf - -C $RPM_BUILD_ROOT/usr/share/doc/kernel-doc-%{kversion} + +# Make man pages for the kernel API. +make mandocs +mkdir -p $RPM_BUILD_ROOT/usr/share/man/man9 +mv Documentation/DocBook/man/*.9.gz $RPM_BUILD_ROOT/usr/share/man/man9 %endif %if %{with_headers} @@ -1691,13 +1668,22 @@ fi\ if [ "$HARDLINK" != "no" -a -x /usr/sbin/hardlink ]\ then\ - (cd /usr/src/kernels/%{KVERREL}-%{?1:%{1}-}%{_target_cpu} &&\ + (cd /usr/src/kernels/%{KVERREL}%{?1:.%{1}} &&\ /usr/bin/find . -type f | while read f; do\ - hardlink -c /usr/src/kernels/*.fc*-*/$f $f\ + hardlink -c /usr/src/kernels/*.fc*.*/$f $f\ done)\ fi\ %{nil} +# This macro defines a %%posttrans script for a kernel package. +# %%kernel_variant_posttrans [-v ] [-s -r ] +# More text can follow to go at the end of this variant's %%post. +# +%define kernel_variant_posttrans(s:r:v:) \ +%{expand:%%posttrans %{?-v*}}\ +/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --rpmposttrans %{KVERREL}%{?-v:.%{-v*}} || exit $?\ +%{nil} + # # This macro defines a %%post script for a kernel package and its devel package. # %%kernel_variant_post [-v ] [-s -r ] @@ -1705,13 +1691,14 @@ # %define kernel_variant_post(s:r:v:) \ %{expand:%%kernel_devel_post %{?-v*}}\ -%{expand:%%post -n %{variantbase}%{?-v:-%{-v*}}}\ +%{expand:%%kernel_variant_posttrans -n %{variantbase}%{?-v*}}\ +%{expand:%%post -n %{variantbase}%{?-v*}}\ %{-s:\ if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\ [ -f /etc/sysconfig/kernel ]; then\ /bin/sed -i -e 's/^DEFAULTKERNEL=%{-s*}$/DEFAULTKERNEL=%{-r*}/' /etc/sysconfig/kernel || exit $?\ fi}\ -/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{*} %{KVERREL}%{?-v*} || exit $?\ +/sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --mkinitrd --depmod --install %{*} %{KVERREL}%{?-v:.%{-v*}} || exit $?\ #if [ -x /sbin/weak-modules ]\ #then\ # /sbin/weak-modules --add-kernel %{KVERREL}%{?-v*} || exit $?\ @@ -1789,6 +1776,7 @@ %{_datadir}/doc/kernel-doc-%{kversion}/Documentation/* %dir %{_datadir}/doc/kernel-doc-%{kversion}/Documentation %dir %{_datadir}/doc/kernel-doc-%{kversion} +%{_datadir}/man/man9/* %endif # This is %{image_install_path} on an arch where that includes ELF files, @@ -1804,30 +1792,30 @@ %if %{1}\ %{expand:%%files -n %{variantbase}%{?2:-%{2}}}\ %defattr(-,root,root)\ -/%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2}\ -/boot/System.map-%{KVERREL}%{?2}\ -#/boot/symvers-%{KVERREL}%{?2}.gz\ -/boot/config-%{KVERREL}%{?2}\ +/%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:.%{2}}\ +/boot/System.map-%{KVERREL}%{?2:.%{2}}\ +#/boot/symvers-%{KVERREL}%{?2:.%{2}}.gz\ +/boot/config-%{KVERREL}%{?2:.%{2}}\ %{?-a:%{-a*}}\ -%dir /lib/modules/%{KVERREL}%{?2}\ -/lib/modules/%{KVERREL}%{?2}/kernel\ -/lib/modules/%{KVERREL}%{?2}/build\ -/lib/modules/%{KVERREL}%{?2}/source\ -/lib/modules/%{KVERREL}%{?2}/extra\ -/lib/modules/%{KVERREL}%{?2}/updates\ -/lib/modules/%{KVERREL}%{?2}/weak-updates\ +%dir /lib/modules/%{KVERREL}%{?2:.%{2}}\ +/lib/modules/%{KVERREL}%{?2:.%{2}}/kernel\ +/lib/modules/%{KVERREL}%{?2:.%{2}}/build\ +/lib/modules/%{KVERREL}%{?2:.%{2}}/source\ +/lib/modules/%{KVERREL}%{?2:.%{2}}/extra\ +/lib/modules/%{KVERREL}%{?2:.%{2}}/updates\ +/lib/modules/%{KVERREL}%{?2:.%{2}}/weak-updates\ %ifarch %{vdso_arches}\ -/lib/modules/%{KVERREL}%{?2}/vdso\ +/lib/modules/%{KVERREL}%{?2:.%{2}}/vdso\ %endif\ -/lib/modules/%{KVERREL}%{?2}/modules.block\ -/lib/modules/%{KVERREL}%{?2}/modules.networking\ -/lib/modules/%{KVERREL}%{?2}/modules.order\ -%ghost /boot/initrd-%{KVERREL}%{?2}.img\ +/lib/modules/%{KVERREL}%{?2:.%{2}}/modules.block\ +/lib/modules/%{KVERREL}%{?2:.%{2}}/modules.networking\ +/lib/modules/%{KVERREL}%{?2:.%{2}}/modules.order\ +%ghost /boot/initrd-%{KVERREL}%{?2:.%{2}}.img\ %{?-e:%{-e*}}\ %{expand:%%files -n %{variantbase}-%{?2:%{2}-}devel}\ %defattr(-,root,root)\ -%verify(not mtime) /usr/src/kernels/%{KVERREL}%{?2:-%{2}}-%{_target_cpu}\ -/usr/src/kernels/%{KVERREL}%{?2}-%{_target_cpu}\ +%verify(not mtime) /usr/src/kernels/%{KVERREL}%{?2:.%{2}}\ +/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\ %if %{with_debuginfo}\ %ifnarch noarch\ %if %{fancy_debuginfo}\ @@ -1838,10 +1826,10 @@ %defattr(-,root,root)\ %if !%{fancy_debuginfo}\ %if "%{elf_image_install_path}" != ""\ -%{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2}.debug\ +%{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2:.%{2}}.debug\ %endif\ -%{debuginfodir}/lib/modules/%{KVERREL}%{?2}\ -%{debuginfodir}/usr/src/kernels/%{KVERREL}%{?2:-%{2}}-%{_target_cpu}\ +%{debuginfodir}/lib/modules/%{KVERREL}%{?2:.%{2}}\ +%{debuginfodir}/usr/src/kernels/%{KVERREL}%{?2:.%{2}}\ %endif\ %endif\ %endif\ @@ -1858,6 +1846,11 @@ %kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL}xen -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}xen.conf %{with_xen} xen %changelog +* Tue Apr 1 2008 Mark McLoughlin +- Update to kernel-2_6_25-0_182_rc7_git6_fc9 +- Fix oops when dlclose()ing some prelink libs (#436453) +- Drop the patch to make hvc0 the preferred console (#437706, #434761) + * Tue Mar 25 2008 Mark McLoughlin - Re-enable execshield (bug #434759) linux-2.6-compile-fix-gcc-43.patch: Index: linux-2.6-compile-fix-gcc-43.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-compile-fix-gcc-43.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- linux-2.6-compile-fix-gcc-43.patch 6 Mar 2008 13:59:25 -0000 1.2 +++ linux-2.6-compile-fix-gcc-43.patch 1 Apr 2008 10:38:06 -0000 1.3 @@ -1,14 +1,3 @@ ---- linux-2.6.24.noarch.orig/include/linux/time.h -+++ linux-2.6.24.noarch/include/linux/time.h -@@ -169,7 +169,7 @@ extern struct timeval ns_to_timeval(cons - * @a: pointer to timespec to be incremented - * @ns: unsigned nanoseconds value to be added - */ --static inline void timespec_add_ns(struct timespec *a, u64 ns) -+static inline void timespec_add_ns(struct timespec *a, volatile u64 ns) - { - ns += a->tv_nsec; - while(unlikely(ns >= NSEC_PER_SEC)) { --- a/include/linux/module.h +++ b/include/linux/module.h @@ -30,6 +30,15 @@ linux-2.6-drm-git-mm.patch: Index: linux-2.6-drm-git-mm.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-drm-git-mm.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- linux-2.6-drm-git-mm.patch 6 Mar 2008 13:59:25 -0000 1.2 +++ linux-2.6-drm-git-mm.patch 1 Apr 2008 10:38:06 -0000 1.3 @@ -1,4 +1,4 @@ -commit 9ad1ccf9cff8aa911d965c94b83187b50c459d43 +commit 60abdfdecf0163fb3da7dc152c7d22179029badd Author: Xiang, Haihao Date: Fri Feb 29 12:07:01 2008 +1000 @@ -6,7 +6,7 @@ Signed-off-by: Dave Airlie -commit aa0e20c041614319ff66a40c5f70a9f7eae01fbc +commit f6f86ba80ca643b826a48d0a811e5dd644c7349e Author: Thomas Hellstrom Date: Fri Feb 29 12:05:48 2008 +1000 @@ -20,7 +20,7 @@ Signed-off-by: Dave Airlie -commit 9c005b094ecada32e04e0b9ebdcfe3ab47fe86b7 +commit f50888eab3d965aedbd27ec512a40db465e8b4d9 Author: Thomas Hellstrom Date: Fri Feb 29 11:53:45 2008 +1000 @@ -30,7 +30,7 @@ Signed-off-by: Dave Airlie -commit 35c64f7d95512505400849241605d26b9a9801b4 +commit 64c84bc78cf57bf5b028cda9d9dc09431aabff4b Author: Thomas Hellstrom Date: Fri Feb 29 11:49:39 2008 +1000 @@ -41,7 +41,7 @@ Signed-off-by: Dave Airlie -commit ae0806d80764d8ae63e74a5d7e3921a532d61d14 +commit 9ad34ad2452af7780ddad11c1157cd24ef42f471 Author: Thomas Hellstrom Date: Fri Feb 29 11:41:36 2008 +1000 @@ -53,7 +53,7 @@ Signed-off-by: Dave Airlie -commit e3d3d4c7421a2277be24254524f56e17419c1449 +commit 2f620305d4f7b28e9403d34caecafc639bea69ed Author: Kristian H??gsberg Date: Fri Feb 29 11:38:20 2008 +1000 @@ -63,7 +63,7 @@ Signed-off-by: Dave Airlie -commit e1a98c2e5dd333becd47e188cf66093e1a86f41b +commit b45d673ed96c158d37bb476dd0f92246427b1541 Author: Kristian H??gsberg Date: Fri Feb 29 11:35:21 2008 +1000 @@ -71,7 +71,7 @@ Signed-off-by: Dave Airlie -commit 70a1de5ac59b59cb8f7c1d08ce455374785bca05 +commit 0d543148472264c8ad2ccbd145f953c3412a7396 Author: Kristian H??gsberg Date: Fri Feb 29 11:31:08 2008 +1000 @@ -79,7 +79,7 @@ Signed-off-by: Dave Airlie -commit 047243f9c142c599d1ab82991a5a0a8dd0170bb8 +commit f7890c94ebabe07b3f7365526045c741dc4d3d8b Author: Kristian H??gsberg Date: Fri Feb 29 11:30:26 2008 +1000 @@ -87,7 +87,7 @@ Signed-off-by: Dave Airlie -commit b57dde526e116f14a5697b5c0d9697493baa2d5d +commit 28cd0c8c93179e272d76f327efffcf719ef85846 Author: Kristian H??gsberg Date: Fri Feb 29 11:29:42 2008 +1000 @@ -95,7 +95,7 @@ Signed-off-by: Dave Airlie -commit 3cb77dd7f3974fc64de6ec3859c970b9b9ddd1fc +commit f68e6c81fe11cf44a7b5db1ae7b3bc854f6d2e3e Author: Thomas Hellstrom Date: Fri Feb 29 11:27:30 2008 +1000 @@ -106,7 +106,7 @@ Signed-off-by: Dave Airlie -commit 0f066ed26802ff65965f7b29346cec98921c2b29 +commit 3fdbfb6b0a7c3f839424e768cd3bf137d8993bf6 Author: Thomas Hellstrom Date: Fri Feb 29 11:02:23 2008 +1000 @@ -114,7 +114,7 @@ Signed-off-by: Dave Airlie -commit e927ccfe2905d680b4217fc6af17c9c1ff86ebef +commit 3ffa46ff70b9e3128e4f297f05a0b48e8656588c Author: Thomas Hellstrom Date: Fri Feb 29 10:57:18 2008 +1000 @@ -124,7 +124,7 @@ Signed-off-by: Dave Airlie -commit ae0bdbd7e1d02e978323640256125f8a5391510a +commit d049bd7aa94ab159227d214b17da9aa6f5114b7e Author: Nick Piggin Date: Thu Feb 7 16:29:15 2008 +1000 @@ -136,7 +136,7 @@ Signed-off-by: Nick Piggin Signed-off-by: Dave Airlie -commit 29403da6adea71d155a4c3ad0923cd7c86f0bf9e +commit f35f0fbc2dd85a4c0865ef0dcb6724c7b863a94c Author: Dave Airlie Date: Thu Feb 7 16:21:57 2008 +1000 @@ -144,7 +144,7 @@ Signed-off-by: Dave Airlie -commit b691c8da4038e0e01fb3beaa06bf21468c8dd0f0 +commit adb114cd5ebd47beb4b6108e51c266a6aa118840 Author: Dave Airlie Date: Fri Jan 25 11:36:39 2008 +1000 @@ -156,7 +156,7 @@ Signed-off-by: Dave Airlie -commit 222a41948d2a1f454c7f978f3c3f18dc25061216 +commit 472d4dc9ecc22480dcd99e96d77e47fec0e99f1c Author: Dave Airlie Date: Fri Jan 25 11:05:59 2008 +1000 @@ -164,7 +164,7 @@ Signed-off-by: Dave Airlie -commit 046fd35ec86a5744b6a1073e47fd7fea1ab0c553 +commit de12324c869d2d5d6918c5e5c5752ded2e188492 Author: Kyle McMartin Date: Thu Jan 24 16:48:24 2008 +1000 @@ -178,7 +178,7 @@ Signed-off-by: Kyle McMartin Signed-off-by: Dave Airlie -commit 9f32218d9b003af5206d9e0c280a2bcff19ee125 +commit 88bf3e11fdde2d8b7deeb80e088a32aed697e9a8 Author: Eric Anholt Date: Thu Jan 24 16:47:28 2008 +1000 @@ -186,7 +186,7 @@ Signed-off-by: Dave Airlie -commit 9149865182a2edf9e62ad290bbe93521f1c00372 +commit e880b462be59edb1b66dbfe783faffc4872cfe75 Author: Thomas Hellstrom Date: Thu Jan 24 16:44:25 2008 +1000 @@ -197,7 +197,7 @@ Signed-off-by: Dave Airlie -commit f930fcb409db57172f7743d80cea9c6eb5bedfc4 +commit 4b432f39f3f0ad3015637b194aa7e09c82f7e2e6 Author: Keith Packard Date: Thu Jan 24 16:42:46 2008 +1000 @@ -214,7 +214,7 @@ Signed-off-by: Dave Airlie -commit ba1f054949cf2e71e80031fcbf8676db6d118b63 +commit 9c2cbb2b75df47338337549a39feddfb8dcbc2e5 Author: Keith Packard Date: Thu Jan 24 16:41:36 2008 +1000 @@ -230,7 +230,7 @@ Signed-off-by: Dave Airlie -commit f386dcbb2d8d6b2410ebfe733d82c615c41c2a25 +commit 84908108167c7f32a3dd9f456412acf9d03e8a2d Author: Keith Packard Date: Thu Jan 24 16:40:25 2008 +1000 @@ -246,7 +246,7 @@ Signed-off-by: Dave Airlie -commit 6e14fdc7ddb806e64e65ced441e925cd64603bd5 +commit d44fc71ba887c9b1b6d11328c2afea9bae92795c Author: Keith Packard Date: Thu Jan 24 16:39:42 2008 +1000 @@ -259,7 +259,7 @@ Signed-off-by: Dave Airlie -commit 7733096f48ad73ddb566b858d879fe0c49e48732 +commit fef882379805e96c5396f0d82be8b8ab6e4b2f31 Author: Keith Packard Date: Thu Jan 24 16:36:31 2008 +1000 @@ -271,7 +271,7 @@ Signed-off-by: Dave Airlie -commit f953d51ccca1d8ce00eec8dbcac86491f23805bb +commit cb08438f1177f93133df1d5da15afe1a0823f727 Author: Keith Packard Date: Thu Jan 24 16:35:31 2008 +1000 @@ -281,7 +281,7 @@ Signed-off-by: Dave Airlie -commit ca6d9673159712446a996c5810656fcb50a9cde4 +commit 9bd633fbcb38301c7e29d20cbedb6f92010422e3 Author: Keith Packard Date: Thu Jan 24 16:34:54 2008 +1000 @@ -291,7 +291,7 @@ Signed-off-by: Dave Airlie -commit 94626068d3d5f8df61e1df79abfabd828041ca80 +commit f754d61e9cb5c9281414b40e8f73b955d0e3f598 Author: Keith Packard Date: Thu Jan 24 16:34:16 2008 +1000 @@ -303,7 +303,7 @@ Signed-off-by: Dave Airlie -commit 3f8b8605ad27546b80b4a55d5451f7cd3726df01 +commit b43f3a2f2ac075dbfc7ef05634253d9c9a532285 Author: Keith Packard Date: Thu Jan 24 16:33:23 2008 +1000 @@ -316,7 +316,7 @@ Signed-off-by: Dave Airlie -commit d2a2f35ac08ab9945c3bce188ccb37e528958524 +commit 22f59a4634d6ad29c496a6e27292a617911fa8a9 Author: Keith Packard Date: Thu Jan 24 16:32:43 2008 +1000 @@ -328,7 +328,7 @@ Signed-off-by: Dave Airlie -commit 239158065c661384bae3c4488f569006515276c7 +commit 15203a8ea1398b694d4e9e91ac8d30e2779c06a2 Author: Keith Packard Date: Thu Jan 24 16:31:45 2008 +1000 @@ -342,7 +342,7 @@ Signed-off-by: Dave Airlie -commit 82ce6ced892adc8d990703edc30921bc9bbb6622 +commit 712419b3f4af8beee699ac1292987da17a9b9638 Author: Alan Hourihane Date: Thu Jan 24 16:29:48 2008 +1000 @@ -350,7 +350,7 @@ Signed-off-by: Dave Airlie -commit 9bf3dda2f4f6ca700fa255d4c4bdc2177f3f4ad4 +commit ccfeb3b197432f6a2be58a3c954ee6cd5ecb955f Author: Keith Packard Date: Thu Jan 24 16:28:38 2008 +1000 @@ -358,7 +358,7 @@ Signed-off-by: Dave Airlie -commit 34b894463c7b2020acf44515beda22af01deff0a +commit 6050439d75dd8f52a4a9f42303a9c2ca04706732 Author: Keith Packard Date: Thu Jan 24 16:26:40 2008 +1000 @@ -369,7 +369,7 @@ Signed-off-by: Dave Airlie -commit 64a5aa5d78c355b64da51eb34e66190b23323441 +commit 993e85860b508c84d70731de0c92d90e50bf9ad0 Author: Keith Packard Date: Thu Jan 24 16:25:57 2008 +1000 @@ -405,7 +405,7 @@ Signed-off-by: Dave Airlie -commit 5144432916c0f1babe5da083dd97e1e039371c15 +commit 3ee5bdaa04fc5659b9d4acf4347f635e90705e1a Author: M??rton N??meth Date: Thu Jan 24 15:58:57 2008 +1000 @@ -419,7 +419,7 @@ Signed-off-by: Dave Airlie -commit 6bdb74a590379e0b13863412acbce728ae231b74 +commit ce234d84fc7763c290649df183ec2fc116896881 Author: Zou Nan hai Date: Wed Jan 23 15:54:04 2008 +1000 @@ -429,7 +429,7 @@ Signed-off-by: Dave Airlie -commit 066a9afac5b7a15dc0301e63be2846ee0be69b2d +commit 26a23b582644d942dbac23cd60e4df29cf503800 Author: Jiri Slaby Date: Thu Nov 29 09:57:16 2007 +1000 @@ -443,7 +443,7 @@ Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie -commit 8a3a6cc3d4e868756749899a0d7362ec96304c1a +commit 46e99b6890f2098f536523ee14465f2887ea502b Author: Dave Airlie Date: Thu Nov 22 18:57:08 2007 +1000 @@ -453,13 +453,13 @@ Signed-off-by: Dave Airlie -commit 48db3c1e351529afd10a9aa7497dd3e06b9b23a6 +commit 6a94f6c5d6b0746f809d6dd088f9c8176529e36b Author: Dave Airlie Date: Thu Nov 22 18:53:36 2007 +1000 drm/i915: add some missing pieces of ttm superioctl -commit 29161ed6a3f019e27bc86ccb196549fe41a4f084 +commit a5ae627994b782afcae2917c5f2a4b44b0ff0725 Author: Michel D??nzer Date: Thu Nov 22 14:49:12 2007 +1000 @@ -480,7 +480,7 @@ Signed-off-by: Dave Airlie -commit c5dccf2bc096f85f29beb9e0790d21666327abac +commit 09e15fcf1d2cb0af9f096155a2d5c1b5313883b1 Author: Zou Nan hai Date: Thu Nov 22 14:28:52 2007 +1000 @@ -491,7 +491,7 @@ Signed-off-by: Dave Airlie -commit 50d29afe5aeda1041d01e7072ba818cd92204b71 +commit 89b968bb31affaa1397c40bfc2de3aa7ab4c07eb Author: Thomas Hellstrom Date: Thu Nov 22 13:30:34 2007 +1000 @@ -503,7 +503,7 @@ Signed-off-by: Dave Airlie -commit 6f97bf6cd57b9c2de0385febd174713ce0362456 +commit 830f778956475a51d4c15d817214b7907be0297a Author: Jerome Glisse Date: Thu Nov 22 13:18:53 2007 +1000 @@ -514,7 +514,7 @@ Signed-off-by: Dave Airlie -commit dd53ed406397c08dae0fc7e4c5c8e50fa9c4b1c6 +commit ba371808980b8f88871bf135274ade602456a5e2 Author: Dave Airlie Date: Mon Nov 5 16:59:20 2007 +1000 @@ -522,7 +522,7 @@ Signed-off-by: Dave Airlie -commit 38a6b4fc63e21563f1aa1af752db38f6306060f0 +commit c0da9794080ce8e4f58031dd43c15d4d5b4d75e7 Author: Thomas Hellstrom Date: Mon Nov 5 16:53:59 2007 +1000 @@ -533,7 +533,7 @@ Signed-off-by: Dave Airlie -commit 701dc84a06bd0859845c78dae1ed9cbff2d45909 +commit bca8bcf0153c1f088919f36639be2da8c873a707 Author: Dave Airlie Date: Mon Nov 5 16:39:19 2007 +1000 @@ -544,7 +544,7 @@ Signed-off-by: Thomas Hellstrom Signed-off-by: Dave Airlie -commit c5357c3d267db8705c2388f1dcd97e0a93dba4b7 +commit 2fcd80bd79a4ff34881ad88683d86678c392eed8 Author: Thomas Hellstrom Date: Mon Nov 5 14:54:31 2007 +1000 @@ -559,7 +559,7 @@ Signed-off-by: Thomas Hellstrom Signed-off-by: Dave Airlie -commit 7ff17c73a623935b0f834a299fc11185fe565942 +commit 90731086d29563c602a5d6580546c815810aacd8 Author: Dave Airlie Date: Mon Nov 5 14:13:19 2007 +1000 @@ -576,7 +576,7 @@ Signed-off-by: Thomas Hellstrom Signed-off-by: Dave Airlie -commit b60bff9208be6f1ca9c37c5e674bed298fb4a281 +commit dc95859b8d3636ec002786bc6676ed2ffe999bb8 Author: Thomas Hellstrom Date: Mon Nov 5 13:51:07 2007 +1000 @@ -587,7 +587,7 @@ Signed-off-by: Dave Airlie -commit 53c0684d7dd7e83a00bbd398a33d9f3b8bb6a9a5 +commit 774c9d3f7dfb0f5db1f82d96dce3efbe6d73bc57 Author: Thomas Hellstrom Date: Mon Nov 5 13:45:22 2007 +1000 @@ -600,7 +600,7 @@ Signed-off-by: Thomas Hellstrom Signed-off-by: Dave Airlie -commit ab3c9c6e912324697a67c849abbba8942c460fb0 +commit 7d6bff6369efece0f637dfc905f901e924927067 Author: Thomas Hellstrom Date: Mon Nov 5 13:21:19 2007 +1000 @@ -643,21 +643,18 @@ sis-objs := sis_drv.o sis_mm.o savage-objs := savage_drv.o savage_bci.o savage_state.o diff --git a/drivers/char/drm/ati_pcigart.c b/drivers/char/drm/ati_pcigart.c -index d352dbb..617abab 100644 +index 141f4df..c52ba6e 100644 --- a/drivers/char/drm/ati_pcigart.c +++ b/drivers/char/drm/ati_pcigart.c -@@ -45,9 +45,8 @@ static void *drm_ati_alloc_pcigart_table(int order) - - address = __get_free_pages(GFP_KERNEL | __GFP_COMP, - order); -- if (address == 0UL) { -+ if (address == 0UL) - return NULL; -- } - - page = virt_to_page(address); +@@ -43,7 +43,6 @@ static int drm_ati_alloc_pcigart_table(struct drm_device *dev, + gart_info->table_mask); + if (gart_info->table_handle == NULL) + return -ENOMEM; +- + return 0; + } -@@ -197,7 +196,7 @@ int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *ga +@@ -151,7 +150,7 @@ int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *ga page_base = (u32) entry->busaddr[i]; for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); j++) { @@ -666,7 +663,7 @@ case DRM_ATI_GART_IGP: *pci_gart = cpu_to_le32((page_base) | 0xc); break; -@@ -222,7 +221,7 @@ int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *ga +@@ -182,7 +181,7 @@ int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *ga mb(); #endif @@ -1042,18 +1039,18 @@ * Device specific ioctls should only be in their respective headers * The device specific ioctl range is from 0x40 to 0x99. diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h -index a6789f2..bd41621 100644 +index 8ea9dd1..c6df504 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h -@@ -55,6 +55,7 @@ - #include +@@ -56,6 +56,7 @@ #include /* For (un)lock_kernel */ + #include #include +#include #include #include #if defined(__alpha__) || defined(__powerpc__) -@@ -66,6 +67,7 @@ +@@ -67,6 +68,7 @@ #ifdef CONFIG_MTRR #include #endif @@ -1061,7 +1058,7 @@ #if defined(CONFIG_AGP) || defined(CONFIG_AGP_MODULE) #include #include -@@ -144,9 +146,22 @@ struct drm_device; +@@ -145,9 +147,22 @@ struct drm_device; #define DRM_MEM_CTXLIST 21 #define DRM_MEM_MM 22 #define DRM_MEM_HASHTAB 23 @@ -1084,7 +1081,7 @@ /*@}*/ -@@ -374,6 +389,12 @@ struct drm_buf_entry { +@@ -375,6 +390,12 @@ struct drm_buf_entry { struct drm_freelist freelist; }; @@ -1097,7 +1094,7 @@ /** File private data */ struct drm_file { int authenticated; -@@ -387,6 +408,14 @@ struct drm_file { +@@ -388,6 +409,14 @@ struct drm_file { struct drm_head *head; int remove_auth_on_close; unsigned long lock_count; @@ -1112,7 +1109,7 @@ struct file *filp; void *driver_priv; }; -@@ -518,6 +547,7 @@ struct drm_map_list { +@@ -519,6 +548,7 @@ struct drm_map_list { struct drm_hash_item hash; struct drm_map *map; /**< mapping */ uint64_t user_token; @@ -1120,7 +1117,7 @@ }; typedef struct drm_map drm_local_map_t; -@@ -555,6 +585,8 @@ struct drm_ati_pcigart_info { +@@ -558,6 +588,8 @@ struct drm_ati_pcigart_info { int table_size; }; @@ -1129,7 +1126,7 @@ /** * DRM driver structure. This structure represent the common code for * a family of cards. There will one drm_device for each card present -@@ -612,6 +644,9 @@ struct drm_driver { +@@ -615,6 +647,9 @@ struct drm_driver { void (*set_version) (struct drm_device *dev, struct drm_set_version *sv); @@ -1139,7 +1136,7 @@ int major; int minor; int patchlevel; -@@ -687,6 +722,10 @@ struct drm_device { +@@ -690,6 +725,10 @@ struct drm_device { struct list_head maplist; /**< Linked list of regions */ int map_count; /**< Number of mappable regions */ struct drm_open_hash map_hash; /**< User token hash table for maps */ @@ -1150,7 +1147,7 @@ /** \name Context handle management */ /*@{ */ -@@ -763,6 +802,9 @@ struct drm_device { +@@ -766,6 +805,9 @@ struct drm_device { unsigned int agp_buffer_token; struct drm_head primary; /**< primary screen head */ @@ -1160,7 +1157,7 @@ /** \name Drawable information */ /*@{ */ spinlock_t drw_lock; -@@ -770,6 +812,15 @@ struct drm_device { +@@ -773,6 +815,15 @@ struct drm_device { /*@} */ }; @@ -1176,7 +1173,7 @@ static __inline__ int drm_core_check_feature(struct drm_device *dev, int feature) { -@@ -866,6 +917,15 @@ extern int drm_free_agp(DRM_AGP_MEM * handle, int pages); +@@ -869,6 +920,15 @@ extern int drm_free_agp(DRM_AGP_MEM * handle, int pages); extern int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start); extern int drm_unbind_agp(DRM_AGP_MEM * handle); @@ -1192,7 +1189,7 @@ /* Misc. IOCTL support (drm_ioctl.h) */ extern int drm_irq_by_busid(struct drm_device *dev, void *data, struct drm_file *file_priv); -@@ -1023,7 +1083,8 @@ extern DRM_AGP_MEM *drm_agp_allocate_memory(struct agp_bridge_data *bridge, size +@@ -1026,7 +1086,8 @@ extern DRM_AGP_MEM *drm_agp_allocate_memory(struct agp_bridge_data *bridge, size extern int drm_agp_free_memory(DRM_AGP_MEM * handle); extern int drm_agp_bind_memory(DRM_AGP_MEM * handle, off_t start); extern int drm_agp_unbind_memory(DRM_AGP_MEM * handle); @@ -1202,7 +1199,7 @@ /* Stub support (drm_stub.h) */ extern int drm_get_dev(struct pci_dev *pdev, const struct pci_device_id *ent, struct drm_driver *driver); -@@ -1147,6 +1208,39 @@ extern void drm_free(void *pt, size_t size, int area); +@@ -1150,6 +1211,39 @@ extern void drm_free(void *pt, size_t size, int area); extern void *drm_calloc(size_t nmemb, size_t size, int area); #endif @@ -6194,7 +6191,7 @@ + return ret; +} diff --git a/drivers/char/drm/drm_fops.c b/drivers/char/drm/drm_fops.c -index 3992f73..a5920dc 100644 +index f09d4b5..ff2ca94 100644 --- a/drivers/char/drm/drm_fops.c +++ b/drivers/char/drm/drm_fops.c @@ -147,11 +147,18 @@ int drm_open(struct inode *inode, struct file *filp) @@ -6289,7 +6286,7 @@ /** * Release file. * -@@ -347,7 +395,7 @@ int drm_release(struct inode *inode, struct file *filp) +@@ -348,7 +396,7 @@ int drm_release(struct inode *inode, struct file *filp) if (drm_i_have_hw_lock(dev, file_priv)) { dev->driver->reclaim_buffers_locked(dev, file_priv); } else { @@ -6298,16 +6295,7 @@ int locked = 0; drm_idlelock_take(&dev->lock); -@@ -356,7 +404,7 @@ int drm_release(struct inode *inode, struct file *filp) - * Wait for a while. - */ - -- do{ -+ do { - spin_lock(&dev->lock.spinlock); - locked = dev->lock.idle_has_lock; - spin_unlock(&dev->lock.spinlock); -@@ -422,6 +470,7 @@ int drm_release(struct inode *inode, struct file *filp) +@@ -425,6 +473,7 @@ int drm_release(struct inode *inode, struct file *filp) mutex_unlock(&dev->ctxlist_mutex); mutex_lock(&dev->struct_mutex); @@ -6351,10 +6339,10 @@ } diff --git a/drivers/char/drm/drm_lock.c b/drivers/char/drm/drm_lock.c -index bea2a7d..316ab73 100644 +index 12dcdd1..1342e9d 100644 --- a/drivers/char/drm/drm_lock.c +++ b/drivers/char/drm/drm_lock.c -@@ -175,7 +175,7 @@ int drm_unlock(struct drm_device *dev, void *data, struct drm_file *file_priv) +@@ -176,7 +176,7 @@ int drm_unlock(struct drm_device *dev, void *data, struct drm_file *file_priv) if (dev->driver->kernel_context_switch_unlock) dev->driver->kernel_context_switch_unlock(dev); else { @@ -7673,10 +7661,10 @@ * * \param buf output buffer. diff --git a/drivers/char/drm/drm_scatter.c b/drivers/char/drm/drm_scatter.c -index 26d8f67..56c6eaa 100644 +index b2b0f3d..3b31040 100644 --- a/drivers/char/drm/drm_scatter.c +++ b/drivers/char/drm/drm_scatter.c -@@ -179,7 +179,7 @@ int drm_sg_alloc(struct drm_device *dev, struct drm_scatter_gather * request) +@@ -188,7 +188,7 @@ int drm_sg_alloc(struct drm_device *dev, struct drm_scatter_gather * request) return 0; @@ -8213,7 +8201,7 @@ +} +EXPORT_SYMBOL(drm_ttm_bind); diff --git a/drivers/char/drm/drm_vm.c b/drivers/char/drm/drm_vm.c -index 3d65c4d..6184b98 100644 +index 945df72..77576e3 100644 --- a/drivers/char/drm/drm_vm.c +++ b/drivers/char/drm/drm_vm.c @@ -40,6 +40,10 @@ @@ -8227,7 +8215,7 @@ static pgprot_t drm_io_prot(uint32_t map_type, struct vm_area_struct *vma) { -@@ -214,7 +218,7 @@ static void drm_vm_shm_close(struct vm_area_struct *vma) +@@ -225,7 +229,7 @@ static void drm_vm_shm_close(struct vm_area_struct *vma) found_maps++; if (pt->vma == vma) { list_del(&pt->head); @@ -8236,7 +8224,7 @@ } } -@@ -256,6 +260,9 @@ static void drm_vm_shm_close(struct vm_area_struct *vma) +@@ -267,6 +271,9 @@ static void drm_vm_shm_close(struct vm_area_struct *vma) dmah.size = map->size; __drm_pci_free(dev, &dmah); break; @@ -8246,7 +8234,7 @@ } drm_free(map, sizeof(*map), DRM_MEM_MAPS); } -@@ -398,7 +405,7 @@ static void drm_vm_open_locked(struct vm_area_struct *vma) +@@ -409,7 +416,7 @@ static void drm_vm_open_locked(struct vm_area_struct *vma) vma->vm_start, vma->vm_end - vma->vm_start); atomic_inc(&dev->vma_count); @@ -8255,7 +8243,7 @@ if (vma_entry) { vma_entry->vma = vma; vma_entry->pid = current->pid; -@@ -438,7 +445,7 @@ static void drm_vm_close(struct vm_area_struct *vma) +@@ -449,7 +456,7 @@ static void drm_vm_close(struct vm_area_struct *vma) list_for_each_entry_safe(pt, temp, &dev->vmalist, head) { if (pt->vma == vma) { list_del(&pt->head); @@ -8264,7 +8252,7 @@ break; } } -@@ -637,6 +644,8 @@ static int drm_mmap_locked(struct file *filp, struct vm_area_struct *vma) +@@ -647,6 +654,8 @@ static int drm_mmap_locked(struct file *filp, struct vm_area_struct *vma) vma->vm_private_data = (void *)map; vma->vm_flags |= VM_RESERVED; break; @@ -8273,7 +8261,7 @@ default: return -EINVAL; /* This should never happen. */ } -@@ -661,3 +670,186 @@ int drm_mmap(struct file *filp, struct vm_area_struct *vma) +@@ -671,3 +680,186 @@ int drm_mmap(struct file *filp, struct vm_area_struct *vma) return ret; } EXPORT_SYMBOL(drm_mmap); @@ -8662,7 +8650,7 @@ + DRM_MEMORYBARRIER(); +} diff --git a/drivers/char/drm/i915_dma.c b/drivers/char/drm/i915_dma.c -index e9d6663..d2b7d3f 100644 +index a043bb1..eed33f7 100644 --- a/drivers/char/drm/i915_dma.c +++ b/drivers/char/drm/i915_dma.c @@ -36,7 +36,7 @@ @@ -9031,9 +9019,8 @@ - return 0; + dev_priv->sarea_priv->pf_current_page &= ~(0x3 << shift); + dev_priv->sarea_priv->pf_current_page |= next_page << shift; - } - --static int i915_quiescent(struct drm_device * dev) ++} ++ +void i915_dispatch_flip(struct drm_device *dev, int planes, int sync) +{ + drm_i915_private_t *dev_priv = dev->dev_private; @@ -9052,8 +9039,9 @@ + i915_emit_breadcrumb(dev); + if (unlikely(!sync && ((dev_priv->counter & 0xFF) == 0))) + drm_fence_flush_old(dev, 0, dev_priv->counter); -+} -+ + } + +-static int i915_quiescent(struct drm_device * dev) +static int i915_quiescent(struct drm_device *dev) { drm_i915_private_t *dev_priv = dev->dev_private; @@ -9490,7 +9478,7 @@ + uint32_t fence_flags, + struct drm_fence_arg *fence_arg, + struct drm_fence_object **fence_p) - { ++{ + struct drm_device *dev = file_priv->head->dev; + int ret; + struct drm_fence_object *fence; @@ -9670,7 +9658,7 @@ +} + +static int i915_flip_bufs(struct drm_device *dev, void *data, struct drm_file *file_priv) -+{ + { + drm_i915_flip_t *param = data; + DRM_DEBUG("%s\n", __FUNCTION__); @@ -9765,7 +9753,7 @@ static int i915_set_status_page(struct drm_device *dev, void *data, struct drm_file *file_priv) { -@@ -800,17 +1582,33 @@ int i915_driver_unload(struct drm_device *dev) +@@ -800,20 +1582,35 @@ int i915_driver_unload(struct drm_device *dev) return 0; } @@ -9774,6 +9762,9 @@ { drm_i915_private_t *dev_priv = dev->dev_private; + if (!dev_priv) + return; +- + if (drm_getsarea(dev) && dev_priv->sarea_priv) + i915_do_cleanup_pageflip(dev); if (dev_priv->agp_heap) @@ -9801,7 +9792,7 @@ { drm_i915_private_t *dev_priv = dev->dev_private; i915_mem_release(dev, file_priv, dev_priv->agp_heap); -@@ -833,7 +1631,9 @@ struct drm_ioctl_desc i915_ioctls[] = { +@@ -836,7 +1633,9 @@ struct drm_ioctl_desc i915_ioctls[] = { DRM_IOCTL_DEF(DRM_I915_SET_VBLANK_PIPE, i915_vblank_pipe_set, DRM_AUTH|DRM_MASTER|DRM_ROOT_ONLY ), DRM_IOCTL_DEF(DRM_I915_GET_VBLANK_PIPE, i915_vblank_pipe_get, DRM_AUTH ), DRM_IOCTL_DEF(DRM_I915_VBLANK_SWAP, i915_vblank_swap, DRM_AUTH), @@ -9811,7 +9802,7 @@ }; int i915_max_ioctl = DRM_ARRAY_SIZE(i915_ioctls); -@@ -849,7 +1649,13 @@ int i915_max_ioctl = DRM_ARRAY_SIZE(i915_ioctls); +@@ -852,7 +1651,13 @@ int i915_max_ioctl = DRM_ARRAY_SIZE(i915_ioctls); * \returns * A value of 1 is always retured to indictate every i9x5 is AGP. */ @@ -10031,7 +10022,7 @@ + #endif /* _I915_DRM_H_ */ diff --git a/drivers/char/drm/i915_drv.c b/drivers/char/drm/i915_drv.c -index 4048f39..bd25a15 100644 +index b2b451d..415b1cf 100644 --- a/drivers/char/drm/i915_drv.c +++ b/drivers/char/drm/i915_drv.c @@ -37,6 +37,25 @@ @@ -10060,7 +10051,7 @@ enum pipe { PIPE_A = 0, -@@ -536,6 +555,7 @@ static struct drm_driver driver = { +@@ -537,6 +556,7 @@ static struct drm_driver driver = { DRIVER_IRQ_VBL2, .load = i915_driver_load, .unload = i915_driver_unload, @@ -10068,7 +10059,7 @@ .lastclose = i915_driver_lastclose, .preclose = i915_driver_preclose, .suspend = i915_suspend, -@@ -568,7 +588,8 @@ static struct drm_driver driver = { +@@ -569,7 +589,8 @@ static struct drm_driver driver = { .name = DRIVER_NAME, .id_table = pciidlist, }, linux-2.6-firewire-git-pending.patch: Index: linux-2.6-firewire-git-pending.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-firewire-git-pending.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- linux-2.6-firewire-git-pending.patch 6 Mar 2008 13:59:25 -0000 1.2 +++ linux-2.6-firewire-git-pending.patch 1 Apr 2008 10:38:06 -0000 1.3 @@ -3,485 +3,843 @@ # tree, which we think we're going to want... # -read_bus_info_block() is repeatedly called by workqueue jobs. -These will step on each others toes eventually if there are multiple -workqueue threads, and we end up with corrupt config ROM images. + +Increase reconnect management orb timeout. + +Signed-off-by: Jarod Wilson + +--- + + drivers/firewire/fw-sbp2.c | 15 +++++++++++++-- + 1 files changed, 13 insertions(+), 2 deletions(-) + +diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c +index d6d62c6..da315cf 100644 +--- a/drivers/firewire/fw-sbp2.c ++++ b/drivers/firewire/fw-sbp2.c +@@ -170,6 +170,7 @@ struct sbp2_target { + */ + #define SBP2_MIN_LOGIN_ORB_TIMEOUT 5000U /* Timeout in ms */ + #define SBP2_MAX_LOGIN_ORB_TIMEOUT 40000U /* Timeout in ms */ ++#define SBP2_MAX_RECONNECT_ORB_TIMEOUT 10000U /* Timeout in ms */ + #define SBP2_ORB_TIMEOUT 2000U /* Timeout in ms */ + #define SBP2_ORB_NULL 0x80000000 + #define SBP2_MAX_SG_ELEMENT_LENGTH 0xf000 +@@ -538,14 +539,24 @@ sbp2_send_management_orb(struct sbp2_logical_unit *lu, int node_id, + orb->request.status_fifo.low = + cpu_to_be32(lu->address_handler.offset); + +- if (function == SBP2_LOGIN_REQUEST) { ++ switch (function) { ++ ++ case SBP2_LOGIN_REQUEST: + /* Ask for 2^2 == 4 seconds reconnect grace period */ + orb->request.misc |= cpu_to_be32( + MANAGEMENT_ORB_RECONNECT(2) | + MANAGEMENT_ORB_EXCLUSIVE(sbp2_param_exclusive_login)); + timeout = lu->tgt->mgt_orb_timeout; +- } else { ++ break; ++ ++ case SBP2_RECONNECT_REQUEST: ++ timeout = min(SBP2_MAX_RECONNECT_ORB_TIMEOUT, ++ lu->tgt->mgt_orb_timeout); ++ break; ++ ++ default: + timeout = SBP2_ORB_TIMEOUT; ++ break; + } + + init_completion(&orb->done); + + + +Adds a goofy routine to dump the configuration ROM as far as it could be +read, if fw-core failed to get it all. Signed-off-by: Stefan Richter --- - drivers/firewire/fw-device.c | 41 +++++++++++++++++++++++------------ - 1 file changed, 27 insertions(+), 14 deletions(-) + +We may want to reduce it to printing + - any encountered Extended ROM keys, + - the number of quadlets that were successfully read + (in the last attempt, or in the most successfull attempt?), + - the return code of the last attempt +before submitting to mainline. + + drivers/firewire/fw-device.c | 126 ++++++++++++++++++++++------------- + drivers/firewire/fw-device.h | 1 + 2 files changed, 82 insertions(+), 45 deletions(-) Index: linux/drivers/firewire/fw-device.c =================================================================== --- linux.orig/drivers/firewire/fw-device.c +++ linux/drivers/firewire/fw-device.c -@@ -400,6 +400,9 @@ read_rom(struct fw_device *device, int g +@@ -18,6 +18,7 @@ + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + ++#include + #include + #include + #include +@@ -422,8 +423,12 @@ read_rom(struct fw_device *device, int g return callback_data.rcode; } -+#define READ_BIB_ROM_SIZE 256 -+#define READ_BIB_STACK_SIZE 16 -+ +-#define READ_BIB_ROM_SIZE 256 +-#define READ_BIB_STACK_SIZE 16 ++#define MAX_CONFIG_ROM_SIZE ((CSR_CONFIG_ROM_END - CSR_CONFIG_ROM) / 4) ++ ++struct config_rom_image { ++ u32 rom[MAX_CONFIG_ROM_SIZE]; ++ DECLARE_BITMAP(read, MAX_CONFIG_ROM_SIZE); ++}; + /* * Read the bus info block, perform a speed probe, and read all of the rest of - * the config ROM. We do all this with a cached bus generation. If the bus -@@ -409,16 +412,23 @@ read_rom(struct fw_device *device, int g +@@ -432,35 +437,36 @@ read_rom(struct fw_device *device, int g + * It's better to start all over in this case because the node from which we + * are reading the ROM may have changed the ROM during the reset. */ - static int read_bus_info_block(struct fw_device *device, int generation) +-static int read_bus_info_block(struct fw_device *device, int generation) ++static int read_bus_info_block(struct fw_device *device, int generation, ++ struct config_rom_image *rom_img) { -- static u32 rom[256]; -- u32 stack[16], sp, key; -- int i, end, length; -+ u32 *rom, *stack; -+ u32 sp, key; -+ int i, end, length, ret = -1; -+ -+ rom = kmalloc(sizeof(*rom) * READ_BIB_ROM_SIZE + -+ sizeof(*stack) * READ_BIB_STACK_SIZE, GFP_KERNEL); -+ if (rom == NULL) -+ return -ENOMEM; -+ -+ stack = &rom[READ_BIB_ROM_SIZE]; +- u32 *rom, *stack, *old_rom, *new_rom; ++ u32 *rom, *old_rom, *new_rom; ++ u32 stack[16]; + u32 sp, key; +- int i, end, length, ret = -1; ++ int i, end, length, ret; + +- rom = kmalloc(sizeof(*rom) * READ_BIB_ROM_SIZE + +- sizeof(*stack) * READ_BIB_STACK_SIZE, GFP_KERNEL); +- if (rom == NULL) ++ if (rom_img == NULL) + return -ENOMEM; +- +- stack = &rom[READ_BIB_ROM_SIZE]; ++ rom = rom_img->rom; device->max_speed = SCODE_100; /* First read the bus info block. */ for (i = 0; i < 5; i++) { - if (read_rom(device, generation, i, &rom[i]) != RCODE_COMPLETE) -- return -1; -+ goto out; +- if (read_rom(device, generation, i, &rom[i]) != RCODE_COMPLETE) +- goto out; ++ ret = read_rom(device, generation, i, &rom[i]); ++ if (ret != RCODE_COMPLETE) ++ return ret; ++ __set_bit(i, rom_img->read); /* * As per IEEE1212 7.2, during power-up, devices can * reply with a 0 for the first quadlet of the config -@@ -428,7 +438,7 @@ static int read_bus_info_block(struct fw +- * rom to indicate that they are booting (for example, ++ * ROM to indicate that they are booting (for example, + * if the firmware is on the disk of a external + * harddisk). In that case we just fail, and the * retry mechanism will try again later. */ if (i == 0 && rom[i] == 0) -- return -1; -+ goto out; +- goto out; ++ return -EAGAIN; } device->max_speed = device->node->max_speed; -@@ -478,26 +488,26 @@ static int read_bus_info_block(struct fw +@@ -484,15 +490,17 @@ static int read_bus_info_block(struct fw + device->max_speed = device->card->link_speed; + + while (device->max_speed > SCODE_100) { +- if (read_rom(device, generation, 0, &dummy) == +- RCODE_COMPLETE) ++ ret = read_rom(device, generation, 0, &dummy); ++ if (ret == RCODE_COMPLETE) + break; ++ if (ret == RCODE_GENERATION) ++ return ret; + device->max_speed--; + } + } + + /* +- * Now parse the config rom. The config rom is a recursive ++ * Now parse the config ROM. The config ROM is a recursive + * directory structure so we parse it using a stack of + * references to the blocks that make up the structure. We + * push a reference to the root directory on the stack to +@@ -504,44 +512,49 @@ static int read_bus_info_block(struct fw + while (sp > 0) { + /* + * Pop the next block reference of the stack. The +- * lower 24 bits is the offset into the config rom, ++ * lower 24 bits is the offset into the config ROM, + * the upper 8 bits are the type of the reference the + * block. */ key = stack[--sp]; i = key & 0xffffff; -- if (i >= ARRAY_SIZE(rom)) -+ if (i >= READ_BIB_ROM_SIZE) +- if (i >= READ_BIB_ROM_SIZE) ++ if (i >= MAX_CONFIG_ROM_SIZE) { /* * The reference points outside the standard - * config rom area, something's fishy. +- * config rom area, something's fishy. ++ * config ROM area. */ -- return -1; -+ goto out; - +- goto out; +- ++ if (key >> 24 == (CSR_EXTENDED_ROM | CSR_LEAF)) ++ fw_error("Extended ROM not supported\n"); ++ return -EINVAL; ++ } /* Read header quadlet for the block to get the length. */ - if (read_rom(device, generation, i, &rom[i]) != RCODE_COMPLETE) -- return -1; -+ goto out; +- if (read_rom(device, generation, i, &rom[i]) != RCODE_COMPLETE) +- goto out; ++ ret = read_rom(device, generation, i, &rom[i]); ++ if (ret != RCODE_COMPLETE) ++ return ret; ++ __set_bit(i, rom_img->read); end = i + (rom[i] >> 16) + 1; i++; -- if (end > ARRAY_SIZE(rom)) -+ if (end > READ_BIB_ROM_SIZE) +- if (end > READ_BIB_ROM_SIZE) ++ if (end > MAX_CONFIG_ROM_SIZE) { /* * This block extends outside standard config * area (and the array we're reading it * into). That's broken, so ignore this * device. */ -- return -1; -+ goto out; - +- goto out; +- ++ return -EINVAL; ++ } /* * Now read in the block. If this is a directory -@@ -507,9 +517,9 @@ static int read_bus_info_block(struct fw + * block, check the entries as we read them to see if + * it references another block, and push it in that case. + */ while (i < end) { - if (read_rom(device, generation, i, &rom[i]) != - RCODE_COMPLETE) -- return -1; -+ goto out; +- if (read_rom(device, generation, i, &rom[i]) != +- RCODE_COMPLETE) +- goto out; ++ ret = read_rom(device, generation, i, &rom[i]); ++ if (ret != RCODE_COMPLETE) ++ return ret; ++ __set_bit(i, rom_img->read); if ((key >> 30) == 3 && (rom[i] >> 30) > 1 && -- sp < ARRAY_SIZE(stack)) -+ sp < READ_BIB_STACK_SIZE) +- sp < READ_BIB_STACK_SIZE) ++ sp < ARRAY_SIZE(stack)) stack[sp++] = i + rom[i]; i++; } -@@ -519,11 +529,14 @@ static int read_bus_info_block(struct fw +@@ -552,7 +565,7 @@ static int read_bus_info_block(struct fw + old_rom = device->config_rom; + new_rom = kmemdup(rom, length * 4, GFP_KERNEL); + if (new_rom == NULL) +- goto out; ++ return -ENOMEM; - device->config_rom = kmalloc(length * 4, GFP_KERNEL); - if (device->config_rom == NULL) -- return -1; -+ goto out; - memcpy(device->config_rom, rom, length * 4); - device->config_rom_length = length; -+ ret = 0; -+ out: -+ kfree(rom); + down_write(&fw_device_rwsem); + device->config_rom = new_rom; +@@ -560,14 +573,25 @@ static int read_bus_info_block(struct fw + up_write(&fw_device_rwsem); + + kfree(old_rom); +- ret = 0; + device->cmc = rom[2] & 1 << 30; +- out: +- kfree(rom); -- return 0; -+ return ret; +- return ret; ++ return 0; ++} ++ ++static void dump_config_rom(struct config_rom_image *rom_img) ++{ ++ int i; ++ ++ if (rom_img == NULL || !test_bit(0, rom_img->read)) ++ return; ++ ++ fw_notify("config ROM read so far:\n"); ++ for_each_bit(i, rom_img->read, MAX_CONFIG_ROM_SIZE) ++ printk(KERN_NOTICE "%x: %08x\n", ++ CSR_CONFIG_ROM + i * 4, rom_img->rom[i]); } ++ static void fw_unit_release(struct device *dev) - --- -Stefan Richter --=====-==--- --== ---=- -http://arcgraph.de/sr/ - - -When a device changes its configuration ROM, it announces this with a -bus reset. firewire-core has to check which node initiated a bus reset -and whether any unit directories went away or were added on this node. - -Tested with an IOI FWB-IDE01AB which has its link-on bit set if bus -power is available but does not respond to ROM read requests if self -power is off. This implements - - recognition of the units if self power is switched on after fw-core - gave up the initial attempt to read the config ROM, - - shutdown of the units when self power is switched off. - -Also tested with a second PC running Linux/ieee1394. When the eth1394 -driver is inserted and removed on that node, fw-core now notices the -addition and removal of the IPv4 unit on the ieee1394 node. - -Signed-off-by: Stefan Richter ---- - -Applies after "firewire: replace static ROM cache by allocated cache". - - drivers/firewire/fw-cdev.c | 18 ++-- - drivers/firewire/fw-device.c | 147 ++++++++++++++++++++++++++++++--- - drivers/firewire/fw-topology.c | 3 - drivers/firewire/fw-topology.h | 11 +- - 4 files changed, 158 insertions(+), 21 deletions(-) - -Index: linux/drivers/firewire/fw-cdev.c -=================================================================== ---- linux.orig/drivers/firewire/fw-cdev.c -+++ linux/drivers/firewire/fw-cdev.c -@@ -32,6 +32,7 @@ - #include - #include - #include -+#include - #include - #include - #include "fw-transaction.h" -@@ -269,20 +270,25 @@ static int ioctl_get_info(struct client { - struct fw_cdev_get_info *get_info = buffer; - struct fw_cdev_event_bus_reset bus_reset; -+ struct fw_device *device = client->device; -+ unsigned long ret = 0; - - client->version = get_info->version; - get_info->version = FW_CDEV_VERSION; - -+ down(&device->device.sem); - if (get_info->rom != 0) { - void __user *uptr = u64_to_uptr(get_info->rom); - size_t want = get_info->rom_length; -- size_t have = client->device->config_rom_length * 4; -+ size_t have; - -- if (copy_to_user(uptr, client->device->config_rom, -- min(want, have))) -- return -EFAULT; -+ have = device->config_rom_length * 4; -+ ret = copy_to_user(uptr, device->config_rom, min(want, have)); - } -- get_info->rom_length = client->device->config_rom_length * 4; -+ get_info->rom_length = device->config_rom_length * 4; -+ up(&device->device.sem); -+ if (ret != 0) -+ return -EFAULT; - - client->bus_reset_closure = get_info->bus_reset_closure; - if (get_info->bus_reset != 0) { -@@ -293,7 +299,7 @@ static int ioctl_get_info(struct client - return -EFAULT; + struct fw_unit *unit = fw_unit(dev); +@@ -697,27 +721,32 @@ static void fw_device_init(struct work_s + { + struct fw_device *device = + container_of(work, struct fw_device, work.work); ++ struct config_rom_image *rom_img; + int minor, err; + ++ rom_img = kzalloc(sizeof(*rom_img), GFP_KERNEL); ++ + /* + * All failure paths here set node->data to NULL, so that we + * don't try to do device_for_each_child() on a kfree()'d + * device. + */ + +- if (read_bus_info_block(device, device->generation) < 0) { ++ err = read_bus_info_block(device, device->generation, rom_img); ++ if (err) { + if (device->config_rom_retries < MAX_RETRIES && + atomic_read(&device->state) == FW_DEVICE_INITIALIZING) { + device->config_rom_retries++; + schedule_delayed_work(&device->work, RETRY_DELAY); + } else { +- fw_notify("giving up on config rom for node id %x\n", +- device->node_id); ++ fw_notify("giving up on config ROM for node id %x " ++ "(returned %d)\n", device->node_id, err); ++ dump_config_rom(rom_img); + if (device->node == device->card->root_node) + schedule_delayed_work(&device->card->work, 0); + fw_device_release(&device->device); + } +- return; ++ goto out; } -- get_info->card = client->device->card->index; -+ get_info->card = device->card->index; + err = -ENOMEM; +@@ -786,7 +815,7 @@ static void fw_device_init(struct work_s + if (device->node == device->card->root_node) + schedule_delayed_work(&device->card->work, 0); - return 0; - } -Index: linux/drivers/firewire/fw-device.c -=================================================================== ---- linux.orig/drivers/firewire/fw-device.c -+++ linux/drivers/firewire/fw-device.c -@@ -26,6 +26,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -160,9 +161,9 @@ static void fw_device_release(struct dev - * Take the card lock so we don't set this to NULL while a - * FW_NODE_UPDATED callback is being handled. - */ -- spin_lock_irqsave(&device->card->lock, flags); -+ spin_lock_irqsave(&card->lock, flags); - device->node->data = NULL; -- spin_unlock_irqrestore(&device->card->lock, flags); -+ spin_unlock_irqrestore(&card->lock, flags); - - fw_node_put(device->node); - kfree(device->config_rom); -@@ -337,10 +338,14 @@ static ssize_t - config_rom_show(struct device *dev, struct device_attribute *attr, char *buf) - { - struct fw_device *device = fw_device(dev); -+ size_t length; +- return; ++ goto out; -- memcpy(buf, device->config_rom, device->config_rom_length * 4); -+ down(&dev->sem); -+ length = device->config_rom_length * 4; -+ memcpy(buf, device->config_rom, length); -+ up(&dev->sem); + error_with_cdev: + down_write(&fw_device_rwsem); +@@ -796,6 +825,8 @@ static void fw_device_init(struct work_s + fw_device_put(device); /* fw_device_idr's reference */ -- return device->config_rom_length * 4; -+ return length; + put_device(&device->device); /* our reference */ ++ out: ++ kfree(rom_img); } - static ssize_t -@@ -412,7 +417,7 @@ read_rom(struct fw_device *device, int g - */ - static int read_bus_info_block(struct fw_device *device, int generation) - { -- u32 *rom, *stack; -+ u32 *rom, *stack, *old_rom, *new_rom; - u32 sp, key; - int i, end, length, ret = -1; - -@@ -527,11 +532,18 @@ static int read_bus_info_block(struct fw - length = i; - } + static int update_unit(struct device *dev, void *data) +@@ -854,6 +885,7 @@ static void fw_device_refresh(struct wor + container_of(work, struct fw_device, work.work); + struct fw_card *card = device->card; + int node_id = device->node_id; ++ struct config_rom_image *rom_img = NULL; + + switch (reread_bus_info_block(device, device->generation)) { + case REREAD_BIB_ERROR: +@@ -890,13 +922,15 @@ static void fw_device_refresh(struct wor + */ + device_for_each_child(&device->device, NULL, shutdown_unit); -- device->config_rom = kmalloc(length * 4, GFP_KERNEL); -- if (device->config_rom == NULL) -+ old_rom = device->config_rom; -+ new_rom = kmemdup(rom, length * 4, GFP_KERNEL); -+ if (new_rom == NULL) - goto out; -- memcpy(device->config_rom, rom, length * 4); +- if (read_bus_info_block(device, device->generation) < 0) { ++ rom_img = kzalloc(sizeof(*rom_img), GFP_KERNEL); + -+ /* serialize with readers via sysfs or ioctl */ -+ down(&device->device.sem); -+ device->config_rom = new_rom; - device->config_rom_length = length; -+ up(&device->device.sem); -+ -+ kfree(old_rom); - ret = 0; - out: - kfree(rom); -@@ -724,7 +736,7 @@ static void fw_device_init(struct work_s - if (atomic_cmpxchg(&device->state, - FW_DEVICE_INITIALIZING, - FW_DEVICE_RUNNING) == FW_DEVICE_SHUTDOWN) { -- fw_device_shutdown(&device->work.work); -+ fw_device_shutdown(work); - } else { - if (device->config_rom_retries) - fw_notify("created device %s: GUID %08x%08x, S%d00, " -@@ -738,6 +750,7 @@ static void fw_device_init(struct work_s - device->device.bus_id, - device->config_rom[3], device->config_rom[4], - 1 << device->max_speed); -+ device->config_rom_retries = 0; ++ if (read_bus_info_block(device, device->generation, rom_img) != 0) { + if (device->config_rom_retries < MAX_RETRIES && + atomic_read(&device->state) == FW_DEVICE_INITIALIZING) { + device->config_rom_retries++; + schedule_delayed_work(&device->work, RETRY_DELAY); + +- return; ++ goto out; + } + goto give_up; } +@@ -910,16 +944,18 @@ static void fw_device_refresh(struct wor - /* -@@ -784,6 +797,104 @@ static void fw_device_update(struct work - device_for_each_child(&device->device, NULL, update_unit); + fw_notify("refreshed device %s\n", device->device.bus_id); + device->config_rom_retries = 0; +- goto out; ++ goto out_bm; + + give_up: + fw_notify("giving up on refresh of device %s\n", device->device.bus_id); + gone: + atomic_set(&device->state, FW_DEVICE_SHUTDOWN); + fw_device_shutdown(work); +- out: ++ out_bm: + if (node_id == card->root_node->node_id) + schedule_delayed_work(&card->work, 0); ++ out: ++ kfree(rom_img); } -+enum { -+ REREAD_BIB_ERROR, -+ REREAD_BIB_GONE, -+ REREAD_BIB_UNCHANGED, -+ REREAD_BIB_CHANGED, -+}; + void fw_node_event(struct fw_card *card, struct fw_node *node, int event) +Index: linux/drivers/firewire/fw-device.h +=================================================================== +--- linux.orig/drivers/firewire/fw-device.h ++++ linux/drivers/firewire/fw-device.h +@@ -142,6 +142,7 @@ static inline void fw_unit_put(struct fw + #define CSR_DEPENDENT_INFO 0x14 + #define CSR_MODEL 0x17 + #define CSR_INSTANCE 0x18 ++#define CSR_EXTENDED_ROM 0x1b + #define CSR_DIRECTORY_ID 0x20 + + struct fw_csr_iterator { + +-- +Stefan Richter +-=====-==--- --== -=--- +http://arcgraph.de/sr/ + + + +Date: Thu, 20 Mar 2008 22:04:36 +0100 (CET) +From: Stefan Richter +Subject: [PATCH] firewire: debug interrupt events +To: linux1394-devel at lists.sourceforge.net +cc: linux-kernel at vger.kernel.org, + Jarod Wilson + +This adds debug printks for asynchronous transmission and reception and +for self ID reception. They can be enabled at module load time, and at +runtime via /sys/module/firewire_ohci/parameters/debug. + +Signed-off-by: Jarod Wilson + +Also added: Logging of interrupt event codes and of cancelled AT +packets. + +The code now depends on a Kconfig variable. This makes it easier to +build firewire-ohci without the feature or to make it an option in the +future. The variable is currently hidden and always on. + +This feature inflates firewire-ohci.ko by 7 kB = 27% on x86-64 and by +4 kB = 23% on i686. + +Signed-off-by: Stefan Richter +--- + drivers/firewire/Kconfig | 5 + + drivers/firewire/fw-ohci.c | 182 +++++++++++++++++++++++++++++++++++++ + 2 files changed, 187 insertions(+) + +Index: linux/drivers/firewire/Kconfig +=================================================================== +--- linux.orig/drivers/firewire/Kconfig ++++ linux/drivers/firewire/Kconfig +@@ -54,6 +54,11 @@ config FIREWIRE_OHCI + directive, use "install modulename /bin/true" for the modules to be + blacklisted. + ++config FIREWIRE_OHCI_DEBUG ++ bool ++ depends on FIREWIRE_OHCI ++ default y ++ + config FIREWIRE_SBP2 + tristate "Support for storage devices (SBP-2 protocol driver)" + depends on FIREWIRE && SCSI +Index: linux/drivers/firewire/fw-ohci.c +=================================================================== +--- linux.orig/drivers/firewire/fw-ohci.c ++++ linux/drivers/firewire/fw-ohci.c +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + #include + #include + +@@ -237,6 +238,179 @@ static inline struct fw_ohci *fw_ohci(st + + static char ohci_driver_name[] = KBUILD_MODNAME; + ++#ifdef CONFIG_FIREWIRE_OHCI_DEBUG ++ ++#define OHCI_PARAM_DEBUG_IRQS 1 ++#define OHCI_PARAM_DEBUG_SELFIDS 2 ++#define OHCI_PARAM_DEBUG_AT_AR 4 ++ ++static int param_debug; ++module_param_named(debug, param_debug, int, 0644); ++MODULE_PARM_DESC(debug, "Verbose logging (default = 0" ++ ", IRQs = " __stringify(OHCI_PARAM_DEBUG_IRQS) ++ ", self-IDs = " __stringify(OHCI_PARAM_DEBUG_SELFIDS) ++ ", AT/AR events = " __stringify(OHCI_PARAM_DEBUG_AT_AR) ++ ", or a combination, or all = -1)"); + -+/* Reread and compare bus info block and header of root directory */ -+static int reread_bus_info_block(struct fw_device *device, int generation) ++static void log_irqs(u32 evt) +{ -+ u32 q; -+ int i; -+ -+ for (i = 0; i < 6; i++) { -+ if (read_rom(device, generation, i, &q) != RCODE_COMPLETE) -+ return REREAD_BIB_ERROR; ++ if (likely(!(param_debug & OHCI_PARAM_DEBUG_IRQS))) ++ return; + -+ if (i == 0 && q == 0) -+ return REREAD_BIB_GONE; ++ printk(KERN_DEBUG KBUILD_MODNAME ": IRQ %08x%s%s%s%s%s%s%s%s%s%s%s\n", ++ evt, ++ evt & OHCI1394_selfIDComplete ? " selfID" : "", ++ evt & OHCI1394_RQPkt ? " AR_req" : "", ++ evt & OHCI1394_RSPkt ? " AR_resp" : "", ++ evt & OHCI1394_reqTxComplete ? " AT_req" : "", ++ evt & OHCI1394_respTxComplete ? " AT_resp" : "", ++ evt & OHCI1394_isochRx ? " IR" : "", ++ evt & OHCI1394_isochTx ? " IT" : "", ++ evt & OHCI1394_postedWriteErr ? " postedWriteErr" : "", ++ evt & OHCI1394_cycleTooLong ? " cycleTooLong" : "", ++ evt & OHCI1394_cycle64Seconds ? " cycle64Seconds" : "", ++ evt & ~(OHCI1394_selfIDComplete | OHCI1394_RQPkt | ++ OHCI1394_RSPkt | OHCI1394_reqTxComplete | ++ OHCI1394_respTxComplete | OHCI1394_isochRx | ++ OHCI1394_isochTx | OHCI1394_postedWriteErr | ++ OHCI1394_cycleTooLong | OHCI1394_cycle64Seconds) ++ ? " ?" : ""); ++} + -+ if (i > device->config_rom_length || q != device->config_rom[i]) -+ return REREAD_BIB_CHANGED; -+ } ++static const char *speed[] = { ++ [0] = "S100", [1] = "S200", [2] = "S400", [3] = "beta", ++}; ++static const char *power[] = { ++ [0] = "+0W", [1] = "+15W", [2] = "+30W", [3] = "+45W", ++ [4] = "-3W", [5] = " ?W", [6] = "-3..-6W", [7] = "-3..-10W", ++}; ++static const char port[] = { '.', '-', 'p', 'c', }; + -+ return REREAD_BIB_UNCHANGED; ++static char _p(u32 *s, int shift) ++{ ++ return port[*s >> shift & 3]; +} + -+static void fw_device_refresh(struct work_struct *work) ++static void log_selfids(int generation, int self_id_count, u32 *s) +{ -+ struct fw_device *device = -+ container_of(work, struct fw_device, work.work); -+ struct fw_card *card = device->card; -+ int node_id = device->node_id; -+ -+ switch (reread_bus_info_block(device, device->generation)) { -+ case REREAD_BIB_ERROR: -+ if (device->config_rom_retries < MAX_RETRIES / 2 && -+ atomic_read(&device->state) == FW_DEVICE_INITIALIZING) { -+ device->config_rom_retries++; -+ schedule_delayed_work(&device->work, RETRY_DELAY / 2); ++ if (likely(!(param_debug & OHCI_PARAM_DEBUG_SELFIDS))) ++ return; + -+ return; -+ } -+ goto give_up; ++ printk(KERN_DEBUG KBUILD_MODNAME ": %d selfIDs, generation %d\n", ++ self_id_count, generation); + -+ case REREAD_BIB_GONE: -+ goto gone; ++ for (; self_id_count--; ++s) ++ if ((*s & 1 << 23) == 0) ++ printk(KERN_DEBUG "selfID 0: %08x, phy %d [%c%c%c] " ++ "%s gc=%d %s %s%s%s\n", ++ *s, *s >> 24 & 63, _p(s, 6), _p(s, 4), _p(s, 2), ++ speed[*s >> 14 & 3], *s >> 16 & 63, ++ power[*s >> 8 & 7], *s >> 22 & 1 ? "L" : "", ++ *s >> 11 & 1 ? "c" : "", *s & 2 ? "i" : ""); ++ else ++ printk(KERN_DEBUG "selfID n: %08x, phy %d " ++ "[%c%c%c%c%c%c%c%c]\n", ++ *s, *s >> 24 & 63, ++ _p(s, 16), _p(s, 14), _p(s, 12), _p(s, 10), ++ _p(s, 8), _p(s, 6), _p(s, 4), _p(s, 2)); ++} + -+ case REREAD_BIB_UNCHANGED: -+ if (atomic_cmpxchg(&device->state, -+ FW_DEVICE_INITIALIZING, -+ FW_DEVICE_RUNNING) == FW_DEVICE_SHUTDOWN) -+ goto gone; ++static const char *evts[] = { ++ [0x00] = "evt_no_status", [0x01] = "-reserved-", ++ [0x02] = "evt_long_packet", [0x03] = "evt_missing_ack", ++ [0x04] = "evt_underrun", [0x05] = "evt_overrun", ++ [0x06] = "evt_descriptor_read", [0x07] = "evt_data_read", ++ [0x08] = "evt_data_write", [0x09] = "evt_bus_reset", ++ [0x0a] = "evt_timeout", [0x0b] = "evt_tcode_err", ++ [0x0c] = "-reserved-", [0x0d] = "-reserved-", ++ [0x0e] = "evt_unknown", [0x0f] = "evt_flushed", ++ [0x10] = "-reserved-", [0x11] = "ack_complete", ++ [0x12] = "ack_pending ", [0x13] = "-reserved-", ++ [0x14] = "ack_busy_X", [0x15] = "ack_busy_A", ++ [0x16] = "ack_busy_B", [0x17] = "-reserved-", ++ [0x18] = "-reserved-", [0x19] = "-reserved-", ++ [0x1a] = "-reserved-", [0x1b] = "ack_tardy", ++ [0x1c] = "-reserved-", [0x1d] = "ack_data_error", ++ [0x1e] = "ack_type_error", [0x1f] = "-reserved-", ++ [0x20] = "pending/cancelled", ++}; ++static const char *tcodes[] = { ++ [0x0] = "QW req", [0x1] = "BW req", ++ [0x2] = "W resp", [0x3] = "-reserved-", ++ [0x4] = "QR req", [0x5] = "BR req", ++ [0x6] = "QR resp", [0x7] = "BR resp", ++ [0x8] = "cycle start", [0x9] = "Lk req", ++ [0xa] = "async stream packet", [0xb] = "Lk resp", ++ [0xc] = "-reserved-", [0xd] = "-reserved-", ++ [0xe] = "link internal", [0xf] = "-reserved-", ++}; ++static const char *phys[] = { ++ [0x0] = "phy config packet", [0x1] = "link-on packet", ++ [0x2] = "self-id packet", [0x3] = "-reserved-", ++}; + -+ fw_device_update(work); -+ device->config_rom_retries = 0; ++static void log_ar_at_event(char dir, int speed, u32 *header, int evt) ++{ ++ int tcode = header[0] >> 4 & 0xf; ++ char specific[12]; + ++ if (likely(!(param_debug & OHCI_PARAM_DEBUG_AT_AR))) + return; -+ } + -+ /* -+ * Something changed. We keep things simple and don't investigate -+ * further. We just destroy all previous units and create new ones. -+ */ -+ device_for_each_child(&device->device, NULL, shutdown_unit); -+ -+ if (read_bus_info_block(device, device->generation) < 0) { -+ if (device->config_rom_retries < MAX_RETRIES && -+ atomic_read(&device->state) == FW_DEVICE_INITIALIZING) { -+ device->config_rom_retries++; -+ schedule_delayed_work(&device->work, RETRY_DELAY); ++ if (unlikely(evt >= ARRAY_SIZE(evts))) ++ evt = 0x1f; + -+ return; -+ } -+ goto give_up; ++ if (header[0] == ~header[1]) { ++ printk(KERN_DEBUG "A%c %s, %s, %08x\n", ++ dir, evts[evt], phys[header[0] >> 30 & 0x3], ++ header[0]); ++ return; + } + -+ create_units(device); ++ switch (tcode) { ++ case 0x0: case 0x6: case 0x8: ++ snprintf(specific, sizeof(specific), " = %08x", ++ be32_to_cpu((__force __be32)header[3])); ++ break; ++ case 0x1: case 0x5: case 0x7: case 0x9: case 0xb: ++ snprintf(specific, sizeof(specific), " %x,%x", ++ header[3] >> 16, header[3] & 0xffff); ++ break; ++ default: ++ specific[0] = '\0'; ++ } + -+ if (atomic_cmpxchg(&device->state, -+ FW_DEVICE_INITIALIZING, -+ FW_DEVICE_RUNNING) == FW_DEVICE_SHUTDOWN) -+ goto gone; ++ switch (tcode) { ++ case 0xe: case 0xa: ++ printk(KERN_DEBUG "A%c %s, %s\n", ++ dir, evts[evt], tcodes[tcode]); ++ break; ++ case 0x0: case 0x1: case 0x4: case 0x5: case 0x9: ++ printk(KERN_DEBUG "A%c spd %x tl %02x, " ++ "%04x -> %04x, %s, " ++ "%s, %04x%08x%s\n", ++ dir, speed, header[0] >> 10 & 0x3f, ++ header[1] >> 16, header[0] >> 16, evts[evt], ++ tcodes[tcode], header[1] & 0xffff, header[2], specific); ++ break; ++ default: ++ printk(KERN_DEBUG "A%c spd %x tl %02x, " ++ "%04x -> %04x, %s, " ++ "%s%s\n", ++ dir, speed, header[0] >> 10 & 0x3f, ++ header[1] >> 16, header[0] >> 16, evts[evt], ++ tcodes[tcode], specific); ++ } ++} + -+ fw_notify("refreshed device %s\n", device->device.bus_id); -+ device->config_rom_retries = 0; -+ goto out; ++#else + -+ give_up: -+ fw_notify("giving up on refresh of device %s\n", device->device.bus_id); -+ gone: -+ atomic_set(&device->state, FW_DEVICE_SHUTDOWN); -+ fw_device_shutdown(work); -+ out: -+ if (node_id == card->root_node->node_id) -+ schedule_delayed_work(&card->work, 0); -+} ++#define log_irqs(evt) ++#define log_selfids(generation, self_id_count, sid) ++#define log_ar_at_event(dir, speed, header, evt) + - void fw_node_event(struct fw_card *card, struct fw_node *node, int event) ++#endif /* CONFIG_FIREWIRE_OHCI_DEBUG */ ++ + static inline void reg_write(const struct fw_ohci *ohci, int offset, u32 data) { - struct fw_device *device; -@@ -793,7 +904,7 @@ void fw_node_event(struct fw_card *card, - case FW_NODE_LINK_ON: - if (!node->link_on) - break; -- -+ create: - device = kzalloc(sizeof(*device), GFP_ATOMIC); - if (device == NULL) - break; -@@ -832,6 +943,22 @@ void fw_node_event(struct fw_card *card, - schedule_delayed_work(&device->work, INITIAL_DELAY); - break; - -+ case FW_NODE_INITIATED_RESET: -+ device = node->data; -+ if (device == NULL) -+ goto create; -+ -+ device->node_id = node->node_id; -+ smp_wmb(); /* update node_id before generation */ -+ device->generation = card->generation; -+ if (atomic_cmpxchg(&device->state, -+ FW_DEVICE_RUNNING, -+ FW_DEVICE_INITIALIZING) == FW_DEVICE_RUNNING) { -+ PREPARE_DELAYED_WORK(&device->work, fw_device_refresh); -+ schedule_delayed_work(&device->work, INITIAL_DELAY); -+ } -+ break; + writel(data, ohci->registers + offset); +@@ -368,6 +542,8 @@ static __le32 *handle_ar_packet(struct a + p.timestamp = status & 0xffff; + p.generation = ohci->request_generation; + ++ log_ar_at_event('R', p.speed, p.header, status >> 16 & 0x1f); + - case FW_NODE_UPDATED: - if (!node->link_on || node->data == NULL) - break; -Index: linux/drivers/firewire/fw-topology.c -=================================================================== ---- linux.orig/drivers/firewire/fw-topology.c -+++ linux/drivers/firewire/fw-topology.c -@@ -107,6 +107,7 @@ static struct fw_node *fw_node_create(u3 - node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid); - node->link_on = SELF_ID_LINK_ON(sid); - node->phy_speed = SELF_ID_PHY_SPEED(sid); -+ node->initiated_reset = SELF_ID_PHY_INITIATOR(sid); - node->port_count = port_count; - - atomic_set(&node->ref_count, 1); -@@ -430,6 +431,8 @@ update_tree(struct fw_card *card, struct - event = FW_NODE_LINK_OFF; - else if (!node0->link_on && node1->link_on) - event = FW_NODE_LINK_ON; -+ else if (node1->initiated_reset && node1->link_on) -+ event = FW_NODE_INITIATED_RESET; - else - event = FW_NODE_UPDATED; + /* + * The OHCI bus reset handler synthesizes a phy packet with + * the new generation number when a bus reset happens (see +@@ -816,6 +992,8 @@ static int handle_at_packet(struct conte + evt = le16_to_cpu(last->transfer_status) & 0x1f; + packet->timestamp = le16_to_cpu(last->res_count); + ++ log_ar_at_event('T', packet->speed, packet->header, evt); ++ + switch (evt) { + case OHCI1394_evt_timeout: + /* Async response transmit timed out. */ +@@ -1117,6 +1295,8 @@ static void bus_reset_tasklet(unsigned l + dma_free_coherent(ohci->card.device, CONFIG_ROM_SIZE, + free_rom, free_rom_bus); + ++ log_selfids(generation, self_id_count, ohci->self_id_buffer); ++ + fw_core_handle_bus_reset(&ohci->card, ohci->node_id, generation, + self_id_count, ohci->self_id_buffer); + } +@@ -1133,6 +1313,7 @@ static irqreturn_t irq_handler(int irq, + return IRQ_NONE; + + reg_write(ohci, OHCI1394_IntEventClear, event); ++ log_irqs(event); -Index: linux/drivers/firewire/fw-topology.h + if (event & OHCI1394_selfIDComplete) + tasklet_schedule(&ohci->bus_reset_tasklet); +@@ -1435,6 +1616,7 @@ static int ohci_cancel_packet(struct fw_ + if (packet->ack != 0) + goto out; + ++ log_ar_at_event('T', packet->speed, packet->header, 0x20); + driver_data->packet = NULL; + packet->ack = RCODE_CANCELLED; + packet->callback(packet, &ohci->card, packet->ack); + +-- +Stefan Richter +-=====-==--- --== =-=-- +http://arcgraph.de/sr/ + + +Date: Thu, 20 Mar 2008 23:48:23 +0100 (CET) +From: Stefan Richter +Subject: [PATCH] firewire: wait until PHY configuration packet was transmitted +To: linux1394-devel at lists.sourceforge.net +cc: linux-kernel at vger.kernel.org, + Jarod Wilson + +We now exit fw_send_phy_config /after/ the PHY config packet has been +transmitted, instead of before. A subsequent fw_core_initiate_bus_reset +will therefore not overlap with the transmission. This is meant to make +the send PHY config packet + reset bus routine more deterministic. + +Signed-off-by: Stefan Richter +Signed-off-by: Jarod Wilson +--- + drivers/firewire/fw-transaction.c | 49 ++++++++++++++---------------- + 1 file changed, 24 insertions(+), 25 deletions(-) + +Index: linux/drivers/firewire/fw-transaction.c =================================================================== ---- linux.orig/drivers/firewire/fw-topology.h -+++ linux/drivers/firewire/fw-topology.h -@@ -20,11 +20,12 @@ - #define __fw_topology_h - - enum { -- FW_NODE_CREATED = 0x00, -- FW_NODE_UPDATED = 0x01, -- FW_NODE_DESTROYED = 0x02, -- FW_NODE_LINK_ON = 0x03, -- FW_NODE_LINK_OFF = 0x04, -+ FW_NODE_CREATED, -+ FW_NODE_UPDATED, -+ FW_NODE_DESTROYED, -+ FW_NODE_LINK_ON, -+ FW_NODE_LINK_OFF, -+ FW_NODE_INITIATED_RESET, - }; +--- linux.orig/drivers/firewire/fw-transaction.c ++++ linux/drivers/firewire/fw-transaction.c +@@ -18,6 +18,7 @@ + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + ++#include + #include + #include + #include +@@ -294,42 +295,40 @@ fw_send_request(struct fw_card *card, st + } + EXPORT_SYMBOL(fw_send_request); + ++struct fw_phy_packet { ++ struct fw_packet packet; ++ struct completion done; ++}; ++ + static void + transmit_phy_packet_callback(struct fw_packet *packet, + struct fw_card *card, int status) + { +- kfree(packet); +-} +- +-static void send_phy_packet(struct fw_card *card, u32 data, int generation) +-{ +- struct fw_packet *packet; ++ struct fw_phy_packet *p = ++ container_of(packet, struct fw_phy_packet, packet); + +- packet = kzalloc(sizeof(*packet), GFP_ATOMIC); +- if (packet == NULL) +- return; +- +- packet->header[0] = data; +- packet->header[1] = ~data; +- packet->header_length = 8; +- packet->payload_length = 0; +- packet->speed = SCODE_100; +- packet->generation = generation; +- packet->callback = transmit_phy_packet_callback; +- +- card->driver->send_request(card, packet); ++ complete(&p->done); + } + + void fw_send_phy_config(struct fw_card *card, + int node_id, int generation, int gap_count) + { +- u32 q; +- +- q = PHY_IDENTIFIER(PHY_PACKET_CONFIG) | +- PHY_CONFIG_ROOT_ID(node_id) | +- PHY_CONFIG_GAP_COUNT(gap_count); ++ struct fw_phy_packet p; ++ u32 data = PHY_IDENTIFIER(PHY_PACKET_CONFIG) | ++ PHY_CONFIG_ROOT_ID(node_id) | ++ PHY_CONFIG_GAP_COUNT(gap_count); ++ ++ p.packet.header[0] = data; ++ p.packet.header[1] = ~data; ++ p.packet.header_length = 8; ++ p.packet.payload_length = 0; ++ p.packet.speed = SCODE_100; ++ p.packet.generation = generation; ++ p.packet.callback = transmit_phy_packet_callback; ++ init_completion(&p.done); + +- send_phy_packet(card, q, generation); ++ card->driver->send_request(card, &p.packet); ++ wait_for_completion(&p.done); + } - struct fw_node { + void fw_flush_transactions(struct fw_card *card) -- Stefan Richter --=====-==--- --== ---== +-=====-==--- --== =-=-- http://arcgraph.de/sr/ +There's a minor memory leak in firewire-ohci's ar_context_tasklet(), in that +we're not freeing up some of the memory we use for each ar_buffer, due to a +moving pointer. The problem has been there for a while, but didn't start +to be noticed until we were doing a coherent allocation for the ar_buffer -- +meaning we have a smaller pool of memory to work with now, so the problem +crops up sooner. The manifestation of this comes after doing a bunch of I/O to +a firewire disk, which eventually stalls, and this starts spewing to the +console: + +PCI-DMA: Out of IOMMU space for 53248 bytes at device 0000:04:09.0 + +The device there is one of my FireWire controllers trying to do I/O. The host +is a fairly new rev. opteron. + +Just need to make sure we're freeing the correct memory range is pass through +ar_context_tasklet to fix it. Probably something we ought to sneak into 2.6.25 +if its still doable... + +Signed-off-by: Jarod Wilson +--- + + drivers/firewire/fw-ohci.c | 9 +++++---- + 1 files changed, 5 insertions(+), 4 deletions(-) + +diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c +index 8ff9059..e1d50f7 100644 +--- a/drivers/firewire/fw-ohci.c ++++ b/drivers/firewire/fw-ohci.c +@@ -579,7 +579,8 @@ static void ar_context_tasklet(unsigned long data) + + if (d->res_count == 0) { + size_t size, rest, offset; +- dma_addr_t buffer_bus; ++ dma_addr_t start_bus; ++ void *start; + + /* + * This descriptor is finished and we may have a +@@ -588,9 +589,9 @@ static void ar_context_tasklet(unsigned long data) + */ + + offset = offsetof(struct ar_buffer, data); +- buffer_bus = le32_to_cpu(ab->descriptor.data_address) - offset; ++ start = buffer = ab; ++ start_bus = le32_to_cpu(ab->descriptor.data_address) - offset; + +- buffer = ab; + ab = ab->next; + d = &ab->descriptor; + size = buffer + PAGE_SIZE - ctx->pointer; +@@ -605,7 +606,7 @@ static void ar_context_tasklet(unsigned long data) + buffer = handle_ar_packet(ctx, buffer); + + dma_free_coherent(ohci->card.device, PAGE_SIZE, +- buffer, buffer_bus); ++ start, start_bus); + ar_context_add_page(ctx); + } else { + buffer = ctx->pointer; linux-2.6-firewire-git-update.patch: Index: linux-2.6-firewire-git-update.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-firewire-git-update.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- linux-2.6-firewire-git-update.patch 6 Mar 2008 13:59:25 -0000 1.2 +++ linux-2.6-firewire-git-update.patch 1 Apr 2008 10:38:06 -0000 1.3 @@ -1,21 +1,28 @@ -git diff in linux1394-git tree vs. 2.6.25-rc3-git4, 03/03/2008 +git diff in linux1394-2.6.git vs. v2.6.25-rc6, March 17, 2008. - Documentation/debugging-via-ohci1394.txt | 13 ++- - drivers/firewire/fw-card.c | 38 ---------- - drivers/firewire/fw-device.h | 27 ++++--- - drivers/firewire/fw-ohci.c | 114 +++++++++++++++++++++------- - drivers/firewire/fw-sbp2.c | 120 ++++++++++++------------------ - drivers/firewire/fw-transaction.c | 2 +- - drivers/firewire/fw-transaction.h | 10 +-- + Documentation/debugging-via-ohci1394.txt | 13 +- + drivers/firewire/fw-card.c | 40 +----- + drivers/firewire/fw-cdev.c | 13 +- + drivers/firewire/fw-device.c | 263 ++++++++++++++++++++++++------ + drivers/firewire/fw-device.h | 38 +++- + drivers/firewire/fw-ohci.c | 114 +++++++------- + drivers/firewire/fw-sbp2.c | 150 ++++++++--------- + drivers/firewire/fw-topology.c | 3 + + drivers/firewire/fw-topology.h | 11 +- + drivers/firewire/fw-transaction.c | 11 +- + drivers/firewire/fw-transaction.h | 6 - drivers/ieee1394/csr.c | 6 +- drivers/ieee1394/dv1394.c | 3 +- + drivers/ieee1394/highlevel.c | 6 +- + drivers/ieee1394/ieee1394_core.c | 2 +- drivers/ieee1394/nodemgr.c | 6 +- - drivers/ieee1394/ohci1394.c | 109 ++++++++++++--------------- + drivers/ieee1394/ohci1394.c | 111 ++++++------- + drivers/ieee1394/pcilynx.c | 12 +- drivers/ieee1394/raw1394.c | 1 - - drivers/ieee1394/sbp2.c | 7 +- + drivers/ieee1394/sbp2.c | 11 +- drivers/ieee1394/video1394.c | 3 +- - lib/Kconfig.debug | 10 +++ - 15 files changed, 233 insertions(+), 236 deletions(-) + lib/Kconfig.debug | 10 + + 22 files changed, 487 insertions(+), 346 deletions(-) diff --git a/Documentation/debugging-via-ohci1394.txt b/Documentation/debugging-via-ohci1394.txt index c360d4e..371ba27 100644 @@ -42,9 +49,18 @@ To activate it, enable CONFIG_PROVIDE_OHCI1394_DMA_INIT (Kernel hacking menu: Provide code for enabling DMA over FireWire early on boot) and pass the diff --git a/drivers/firewire/fw-card.c b/drivers/firewire/fw-card.c -index a034627..140b34d 100644 +index a034627..7e4012d 100644 --- a/drivers/firewire/fw-card.c +++ b/drivers/firewire/fw-card.c +@@ -331,7 +331,7 @@ fw_card_bm_work(struct work_struct *work) + */ + spin_unlock_irqrestore(&card->lock, flags); + goto out; +- } else if (root_device->config_rom[2] & BIB_CMC) { ++ } else if (root_device->cmc) { + /* + * FIXME: I suppose we should set the cmstr bit in the + * STATE_CLEAR register of this node, as described in @@ -398,7 +398,6 @@ fw_card_initialize(struct fw_card *card, const struct fw_card_driver *driver, { static atomic_t index = ATOMIC_INIT(-1); @@ -107,11 +123,569 @@ int fw_core_initiate_bus_reset(struct fw_card *card, int short_reset) { +diff --git a/drivers/firewire/fw-cdev.c b/drivers/firewire/fw-cdev.c +index 46bc197..4a54192 100644 +--- a/drivers/firewire/fw-cdev.c ++++ b/drivers/firewire/fw-cdev.c +@@ -269,21 +269,28 @@ static int ioctl_get_info(struct client *client, void *buffer) + { + struct fw_cdev_get_info *get_info = buffer; + struct fw_cdev_event_bus_reset bus_reset; ++ unsigned long ret = 0; + + client->version = get_info->version; + get_info->version = FW_CDEV_VERSION; + ++ down_read(&fw_device_rwsem); ++ + if (get_info->rom != 0) { + void __user *uptr = u64_to_uptr(get_info->rom); + size_t want = get_info->rom_length; + size_t have = client->device->config_rom_length * 4; + +- if (copy_to_user(uptr, client->device->config_rom, +- min(want, have))) +- return -EFAULT; ++ ret = copy_to_user(uptr, client->device->config_rom, ++ min(want, have)); + } + get_info->rom_length = client->device->config_rom_length * 4; + ++ up_read(&fw_device_rwsem); ++ ++ if (ret != 0) ++ return -EFAULT; ++ + client->bus_reset_closure = get_info->bus_reset_closure; + if (get_info->bus_reset != 0) { + void __user *uptr = u64_to_uptr(get_info->bus_reset); +diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c +index 870125a..f559c63 100644 +--- a/drivers/firewire/fw-device.c ++++ b/drivers/firewire/fw-device.c +@@ -25,7 +25,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +@@ -160,9 +160,9 @@ static void fw_device_release(struct device *dev) + * Take the card lock so we don't set this to NULL while a + * FW_NODE_UPDATED callback is being handled. + */ +- spin_lock_irqsave(&device->card->lock, flags); ++ spin_lock_irqsave(&card->lock, flags); + device->node->data = NULL; +- spin_unlock_irqrestore(&device->card->lock, flags); ++ spin_unlock_irqrestore(&card->lock, flags); + + fw_node_put(device->node); + kfree(device->config_rom); +@@ -195,7 +195,9 @@ show_immediate(struct device *dev, struct device_attribute *dattr, char *buf) + container_of(dattr, struct config_rom_attribute, attr); + struct fw_csr_iterator ci; + u32 *dir; +- int key, value; ++ int key, value, ret = -ENOENT; ++ ++ down_read(&fw_device_rwsem); + + if (is_fw_unit(dev)) + dir = fw_unit(dev)->directory; +@@ -204,11 +206,15 @@ show_immediate(struct device *dev, struct device_attribute *dattr, char *buf) + + fw_csr_iterator_init(&ci, dir); + while (fw_csr_iterator_next(&ci, &key, &value)) +- if (attr->key == key) +- return snprintf(buf, buf ? PAGE_SIZE : 0, +- "0x%06x\n", value); ++ if (attr->key == key) { ++ ret = snprintf(buf, buf ? PAGE_SIZE : 0, ++ "0x%06x\n", value); ++ break; ++ } ++ ++ up_read(&fw_device_rwsem); + +- return -ENOENT; ++ return ret; + } + + #define IMMEDIATE_ATTR(name, key) \ +@@ -221,9 +227,11 @@ show_text_leaf(struct device *dev, struct device_attribute *dattr, char *buf) + container_of(dattr, struct config_rom_attribute, attr); + struct fw_csr_iterator ci; + u32 *dir, *block = NULL, *p, *end; +- int length, key, value, last_key = 0; ++ int length, key, value, last_key = 0, ret = -ENOENT; + char *b; + ++ down_read(&fw_device_rwsem); ++ + if (is_fw_unit(dev)) + dir = fw_unit(dev)->directory; + else +@@ -238,18 +246,20 @@ show_text_leaf(struct device *dev, struct device_attribute *dattr, char *buf) + } + + if (block == NULL) +- return -ENOENT; ++ goto out; + + length = min(block[0] >> 16, 256U); + if (length < 3) +- return -ENOENT; ++ goto out; + + if (block[1] != 0 || block[2] != 0) + /* Unknown encoding. */ +- return -ENOENT; ++ goto out; + +- if (buf == NULL) +- return length * 4; ++ if (buf == NULL) { ++ ret = length * 4; ++ goto out; ++ } + + b = buf; + end = &block[length + 1]; +@@ -259,8 +269,11 @@ show_text_leaf(struct device *dev, struct device_attribute *dattr, char *buf) + /* Strip trailing whitespace and add newline. */ + while (b--, (isspace(*b) || *b == '\0') && b > buf); + strcpy(b + 1, "\n"); ++ ret = b + 2 - buf; ++ out: ++ up_read(&fw_device_rwsem); + +- return b + 2 - buf; ++ return ret; + } + + #define TEXT_LEAF_ATTR(name, key) \ +@@ -337,19 +350,28 @@ static ssize_t + config_rom_show(struct device *dev, struct device_attribute *attr, char *buf) + { + struct fw_device *device = fw_device(dev); ++ size_t length; + +- memcpy(buf, device->config_rom, device->config_rom_length * 4); ++ down_read(&fw_device_rwsem); ++ length = device->config_rom_length * 4; ++ memcpy(buf, device->config_rom, length); ++ up_read(&fw_device_rwsem); + +- return device->config_rom_length * 4; ++ return length; + } + + static ssize_t + guid_show(struct device *dev, struct device_attribute *attr, char *buf) + { + struct fw_device *device = fw_device(dev); ++ int ret; ++ ++ down_read(&fw_device_rwsem); ++ ret = snprintf(buf, PAGE_SIZE, "0x%08x%08x\n", ++ device->config_rom[3], device->config_rom[4]); ++ up_read(&fw_device_rwsem); + +- return snprintf(buf, PAGE_SIZE, "0x%08x%08x\n", +- device->config_rom[3], device->config_rom[4]); ++ return ret; + } + + static struct device_attribute fw_device_attributes[] = { +@@ -388,7 +410,7 @@ read_rom(struct fw_device *device, int generation, int index, u32 *data) + + init_completion(&callback_data.done); + +- offset = 0xfffff0000400ULL + index * 4; ++ offset = (CSR_REGISTER_BASE | CSR_CONFIG_ROM) + index * 4; + fw_send_request(device->card, &t, TCODE_READ_QUADLET_REQUEST, + device->node_id, generation, device->max_speed, + offset, NULL, 4, complete_transaction, &callback_data); +@@ -400,6 +422,9 @@ read_rom(struct fw_device *device, int generation, int index, u32 *data) + return callback_data.rcode; + } + ++#define READ_BIB_ROM_SIZE 256 ++#define READ_BIB_STACK_SIZE 16 ++ + /* + * Read the bus info block, perform a speed probe, and read all of the rest of + * the config ROM. We do all this with a cached bus generation. If the bus +@@ -409,16 +434,23 @@ read_rom(struct fw_device *device, int generation, int index, u32 *data) + */ + static int read_bus_info_block(struct fw_device *device, int generation) + { +- static u32 rom[256]; +- u32 stack[16], sp, key; +- int i, end, length; ++ u32 *rom, *stack, *old_rom, *new_rom; ++ u32 sp, key; ++ int i, end, length, ret = -1; ++ ++ rom = kmalloc(sizeof(*rom) * READ_BIB_ROM_SIZE + ++ sizeof(*stack) * READ_BIB_STACK_SIZE, GFP_KERNEL); ++ if (rom == NULL) ++ return -ENOMEM; ++ ++ stack = &rom[READ_BIB_ROM_SIZE]; + + device->max_speed = SCODE_100; + + /* First read the bus info block. */ + for (i = 0; i < 5; i++) { + if (read_rom(device, generation, i, &rom[i]) != RCODE_COMPLETE) +- return -1; ++ goto out; + /* + * As per IEEE1212 7.2, during power-up, devices can + * reply with a 0 for the first quadlet of the config +@@ -428,7 +460,7 @@ static int read_bus_info_block(struct fw_device *device, int generation) + * retry mechanism will try again later. + */ + if (i == 0 && rom[i] == 0) +- return -1; ++ goto out; + } + + device->max_speed = device->node->max_speed; +@@ -478,26 +510,26 @@ static int read_bus_info_block(struct fw_device *device, int generation) + */ + key = stack[--sp]; + i = key & 0xffffff; +- if (i >= ARRAY_SIZE(rom)) ++ if (i >= READ_BIB_ROM_SIZE) + /* + * The reference points outside the standard + * config rom area, something's fishy. + */ +- return -1; ++ goto out; + + /* Read header quadlet for the block to get the length. */ + if (read_rom(device, generation, i, &rom[i]) != RCODE_COMPLETE) +- return -1; ++ goto out; + end = i + (rom[i] >> 16) + 1; + i++; +- if (end > ARRAY_SIZE(rom)) ++ if (end > READ_BIB_ROM_SIZE) + /* + * This block extends outside standard config + * area (and the array we're reading it + * into). That's broken, so ignore this + * device. + */ +- return -1; ++ goto out; + + /* + * Now read in the block. If this is a directory +@@ -507,9 +539,9 @@ static int read_bus_info_block(struct fw_device *device, int generation) + while (i < end) { + if (read_rom(device, generation, i, &rom[i]) != + RCODE_COMPLETE) +- return -1; ++ goto out; + if ((key >> 30) == 3 && (rom[i] >> 30) > 1 && +- sp < ARRAY_SIZE(stack)) ++ sp < READ_BIB_STACK_SIZE) + stack[sp++] = i + rom[i]; + i++; + } +@@ -517,13 +549,23 @@ static int read_bus_info_block(struct fw_device *device, int generation) + length = i; + } + +- device->config_rom = kmalloc(length * 4, GFP_KERNEL); +- if (device->config_rom == NULL) +- return -1; +- memcpy(device->config_rom, rom, length * 4); ++ old_rom = device->config_rom; ++ new_rom = kmemdup(rom, length * 4, GFP_KERNEL); ++ if (new_rom == NULL) ++ goto out; ++ ++ down_write(&fw_device_rwsem); ++ device->config_rom = new_rom; + device->config_rom_length = length; ++ up_write(&fw_device_rwsem); + +- return 0; ++ kfree(old_rom); ++ ret = 0; ++ device->cmc = rom[2] & 1 << 30; ++ out: ++ kfree(rom); ++ ++ return ret; + } + + static void fw_unit_release(struct device *dev) +@@ -592,7 +634,14 @@ static int shutdown_unit(struct device *device, void *data) + return 0; + } + +-static DECLARE_RWSEM(idr_rwsem); ++/* ++ * fw_device_rwsem acts as dual purpose mutex: ++ * - serializes accesses to fw_device_idr, ++ * - serializes accesses to fw_device.config_rom/.config_rom_length and ++ * fw_unit.directory, unless those accesses happen at safe occasions ++ */ ++DECLARE_RWSEM(fw_device_rwsem); ++ + static DEFINE_IDR(fw_device_idr); + int fw_cdev_major; + +@@ -600,11 +649,11 @@ struct fw_device *fw_device_get_by_devt(dev_t devt) + { + struct fw_device *device; + +- down_read(&idr_rwsem); ++ down_read(&fw_device_rwsem); + device = idr_find(&fw_device_idr, MINOR(devt)); + if (device) + fw_device_get(device); +- up_read(&idr_rwsem); ++ up_read(&fw_device_rwsem); + + return device; + } +@@ -619,9 +668,9 @@ static void fw_device_shutdown(struct work_struct *work) + device_for_each_child(&device->device, NULL, shutdown_unit); + device_unregister(&device->device); + +- down_write(&idr_rwsem); ++ down_write(&fw_device_rwsem); + idr_remove(&fw_device_idr, minor); +- up_write(&idr_rwsem); ++ up_write(&fw_device_rwsem); + fw_device_put(device); + } + +@@ -674,10 +723,10 @@ static void fw_device_init(struct work_struct *work) + err = -ENOMEM; + + fw_device_get(device); +- down_write(&idr_rwsem); ++ down_write(&fw_device_rwsem); + if (idr_pre_get(&fw_device_idr, GFP_KERNEL)) + err = idr_get_new(&fw_device_idr, device, &minor); +- up_write(&idr_rwsem); ++ up_write(&fw_device_rwsem); + + if (err < 0) + goto error; +@@ -711,7 +760,7 @@ static void fw_device_init(struct work_struct *work) + if (atomic_cmpxchg(&device->state, + FW_DEVICE_INITIALIZING, + FW_DEVICE_RUNNING) == FW_DEVICE_SHUTDOWN) { +- fw_device_shutdown(&device->work.work); ++ fw_device_shutdown(work); + } else { + if (device->config_rom_retries) + fw_notify("created device %s: GUID %08x%08x, S%d00, " +@@ -725,6 +774,7 @@ static void fw_device_init(struct work_struct *work) + device->device.bus_id, + device->config_rom[3], device->config_rom[4], + 1 << device->max_speed); ++ device->config_rom_retries = 0; + } + + /* +@@ -739,9 +789,9 @@ static void fw_device_init(struct work_struct *work) + return; + + error_with_cdev: +- down_write(&idr_rwsem); ++ down_write(&fw_device_rwsem); + idr_remove(&fw_device_idr, minor); +- up_write(&idr_rwsem); ++ up_write(&fw_device_rwsem); + error: + fw_device_put(device); /* fw_device_idr's reference */ + +@@ -771,6 +821,107 @@ static void fw_device_update(struct work_struct *work) + device_for_each_child(&device->device, NULL, update_unit); + } + ++enum { ++ REREAD_BIB_ERROR, ++ REREAD_BIB_GONE, ++ REREAD_BIB_UNCHANGED, ++ REREAD_BIB_CHANGED, ++}; ++ ++/* Reread and compare bus info block and header of root directory */ ++static int reread_bus_info_block(struct fw_device *device, int generation) ++{ ++ u32 q; ++ int i; ++ ++ for (i = 0; i < 6; i++) { ++ if (read_rom(device, generation, i, &q) != RCODE_COMPLETE) ++ return REREAD_BIB_ERROR; ++ ++ if (i == 0 && q == 0) ++ return REREAD_BIB_GONE; ++ ++ if (i > device->config_rom_length || q != device->config_rom[i]) ++ return REREAD_BIB_CHANGED; ++ } ++ ++ return REREAD_BIB_UNCHANGED; ++} ++ ++static void fw_device_refresh(struct work_struct *work) ++{ ++ struct fw_device *device = ++ container_of(work, struct fw_device, work.work); ++ struct fw_card *card = device->card; ++ int node_id = device->node_id; ++ ++ switch (reread_bus_info_block(device, device->generation)) { ++ case REREAD_BIB_ERROR: ++ if (device->config_rom_retries < MAX_RETRIES / 2 && ++ atomic_read(&device->state) == FW_DEVICE_INITIALIZING) { ++ device->config_rom_retries++; ++ schedule_delayed_work(&device->work, RETRY_DELAY / 2); ++ ++ return; ++ } ++ goto give_up; ++ ++ case REREAD_BIB_GONE: ++ goto gone; ++ ++ case REREAD_BIB_UNCHANGED: ++ if (atomic_cmpxchg(&device->state, ++ FW_DEVICE_INITIALIZING, ++ FW_DEVICE_RUNNING) == FW_DEVICE_SHUTDOWN) ++ goto gone; ++ ++ fw_device_update(work); ++ device->config_rom_retries = 0; ++ ++ return; ++ ++ case REREAD_BIB_CHANGED: ++ break; ++ } ++ ++ /* ++ * Something changed. We keep things simple and don't investigate ++ * further. We just destroy all previous units and create new ones. ++ */ ++ device_for_each_child(&device->device, NULL, shutdown_unit); ++ ++ if (read_bus_info_block(device, device->generation) < 0) { ++ if (device->config_rom_retries < MAX_RETRIES && ++ atomic_read(&device->state) == FW_DEVICE_INITIALIZING) { ++ device->config_rom_retries++; ++ schedule_delayed_work(&device->work, RETRY_DELAY); ++ ++ return; ++ } ++ goto give_up; ++ } ++ ++ create_units(device); ++ ++ if (atomic_cmpxchg(&device->state, ++ FW_DEVICE_INITIALIZING, ++ FW_DEVICE_RUNNING) == FW_DEVICE_SHUTDOWN) ++ goto gone; ++ ++ fw_notify("refreshed device %s\n", device->device.bus_id); ++ device->config_rom_retries = 0; ++ goto out; ++ ++ give_up: ++ fw_notify("giving up on refresh of device %s\n", device->device.bus_id); ++ gone: ++ atomic_set(&device->state, FW_DEVICE_SHUTDOWN); ++ fw_device_shutdown(work); ++ out: ++ if (node_id == card->root_node->node_id) ++ schedule_delayed_work(&card->work, 0); ++} ++ + void fw_node_event(struct fw_card *card, struct fw_node *node, int event) + { + struct fw_device *device; +@@ -780,7 +931,7 @@ void fw_node_event(struct fw_card *card, struct fw_node *node, int event) + case FW_NODE_LINK_ON: + if (!node->link_on) + break; +- ++ create: + device = kzalloc(sizeof(*device), GFP_ATOMIC); + if (device == NULL) + break; +@@ -819,6 +970,22 @@ void fw_node_event(struct fw_card *card, struct fw_node *node, int event) + schedule_delayed_work(&device->work, INITIAL_DELAY); + break; + ++ case FW_NODE_INITIATED_RESET: ++ device = node->data; ++ if (device == NULL) ++ goto create; ++ ++ device->node_id = node->node_id; ++ smp_wmb(); /* update node_id before generation */ ++ device->generation = card->generation; ++ if (atomic_cmpxchg(&device->state, ++ FW_DEVICE_RUNNING, ++ FW_DEVICE_INITIALIZING) == FW_DEVICE_RUNNING) { ++ PREPARE_DELAYED_WORK(&device->work, fw_device_refresh); ++ schedule_delayed_work(&device->work, INITIAL_DELAY); ++ } ++ break; ++ + case FW_NODE_UPDATED: + if (!node->link_on || node->data == NULL) + break; diff --git a/drivers/firewire/fw-device.h b/drivers/firewire/fw-device.h -index 78ecd39..0d771fd 100644 +index 78ecd39..5f131f5 100644 --- a/drivers/firewire/fw-device.h +++ b/drivers/firewire/fw-device.h -@@ -64,28 +64,24 @@ struct fw_device { +@@ -21,6 +21,7 @@ + + #include + #include ++#include + #include + + enum fw_device_state { +@@ -46,6 +47,11 @@ struct fw_attribute_group { + * fw_device.node_id is guaranteed to be current too. + * + * The same applies to fw_device.card->node_id vs. fw_device.generation. ++ * ++ * fw_device.config_rom and fw_device.config_rom_length may be accessed during ++ * the lifetime of any fw_unit belonging to the fw_device, before device_del() ++ * was called on the last fw_unit. Alternatively, they may be accessed while ++ * holding fw_device_rwsem. + */ + struct fw_device { + atomic_t state; +@@ -53,6 +59,7 @@ struct fw_device { + int node_id; + int generation; + unsigned max_speed; ++ bool cmc; + struct fw_card *card; + struct device device; + struct list_head link; +@@ -64,28 +71,24 @@ struct fw_device { struct fw_attribute_group attribute_group; }; @@ -144,7 +718,19 @@ { put_device(&device->device); } -@@ -104,12 +100,23 @@ struct fw_unit { +@@ -96,20 +99,35 @@ int fw_device_enable_phys_dma(struct fw_device *device); + void fw_device_cdev_update(struct fw_device *device); + void fw_device_cdev_remove(struct fw_device *device); + ++extern struct rw_semaphore fw_device_rwsem; + extern int fw_cdev_major; + ++/* ++ * fw_unit.directory must not be accessed after device_del(&fw_unit.device). ++ */ + struct fw_unit { + struct device device; + u32 *directory; struct fw_attribute_group attribute_group; }; @@ -171,117 +757,19 @@ #define CSR_LEAF 0x80 #define CSR_DIRECTORY 0xc0 diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c -index 7ebad3c..28ea78c 100644 +index 996d61f..0f02b8d 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c -@@ -33,6 +33,10 @@ - #include - #include - -+#ifdef CONFIG_PPC_PMAC -+#include -+#endif -+ - #include "fw-ohci.h" - #include "fw-transaction.h" - -@@ -175,6 +179,7 @@ struct fw_ohci { +@@ -177,7 +177,7 @@ struct fw_ohci { + struct tasklet_struct bus_reset_tasklet; + int node_id; int generation; - int request_generation; +- int request_generation; ++ int request_generation; /* for timestamping incoming requests */ u32 bus_seconds; -+ bool old_uninorth; - - /* - * Spinlock for accessing fw_ohci data. Never call out of -@@ -311,15 +316,22 @@ static int ar_context_add_page(struct ar_context *ctx) - return 0; - } + bool old_uninorth; -+#if defined(CONFIG_PPC_PMAC) && defined(CONFIG_PPC32) -+#define cond_le32_to_cpu(v) \ -+ (ohci->old_uninorth ? (__force __u32)(v) : le32_to_cpu(v)) -+#else -+#define cond_le32_to_cpu(v) le32_to_cpu(v) -+#endif -+ - static __le32 *handle_ar_packet(struct ar_context *ctx, __le32 *buffer) - { - struct fw_ohci *ohci = ctx->ohci; - struct fw_packet p; - u32 status, length, tcode; - -- p.header[0] = le32_to_cpu(buffer[0]); -- p.header[1] = le32_to_cpu(buffer[1]); -- p.header[2] = le32_to_cpu(buffer[2]); -+ p.header[0] = cond_le32_to_cpu(buffer[0]); -+ p.header[1] = cond_le32_to_cpu(buffer[1]); -+ p.header[2] = cond_le32_to_cpu(buffer[2]); - - tcode = (p.header[0] >> 4) & 0x0f; - switch (tcode) { -@@ -331,7 +343,7 @@ static __le32 *handle_ar_packet(struct ar_context *ctx, __le32 *buffer) - break; - - case TCODE_READ_BLOCK_REQUEST : -- p.header[3] = le32_to_cpu(buffer[3]); -+ p.header[3] = cond_le32_to_cpu(buffer[3]); - p.header_length = 16; - p.payload_length = 0; - break; -@@ -340,7 +352,7 @@ static __le32 *handle_ar_packet(struct ar_context *ctx, __le32 *buffer) - case TCODE_READ_BLOCK_RESPONSE: - case TCODE_LOCK_REQUEST: - case TCODE_LOCK_RESPONSE: -- p.header[3] = le32_to_cpu(buffer[3]); -+ p.header[3] = cond_le32_to_cpu(buffer[3]); - p.header_length = 16; - p.payload_length = p.header[3] >> 16; - break; -@@ -357,7 +369,7 @@ static __le32 *handle_ar_packet(struct ar_context *ctx, __le32 *buffer) - - /* FIXME: What to do about evt_* errors? */ - length = (p.header_length + p.payload_length + 3) / 4; -- status = le32_to_cpu(buffer[length]); -+ status = cond_le32_to_cpu(buffer[length]); - - p.ack = ((status >> 16) & 0x1f) - 16; - p.speed = (status >> 21) & 0x7; -@@ -375,7 +387,7 @@ static __le32 *handle_ar_packet(struct ar_context *ctx, __le32 *buffer) - */ - - if (p.ack + 16 == 0x09) -- ohci->request_generation = (buffer[2] >> 16) & 0xff; -+ ohci->request_generation = (p.header[2] >> 16) & 0xff; - else if (ctx == &ohci->ar_request_ctx) - fw_core_handle_request(&ohci->card, &p); - else -@@ -532,7 +544,7 @@ static int - context_add_buffer(struct context *ctx) - { - struct descriptor_buffer *desc; -- dma_addr_t bus_addr; -+ dma_addr_t uninitialized_var(bus_addr); - int offset; - - /* -@@ -1022,13 +1034,14 @@ static void bus_reset_tasklet(unsigned long data) - */ - - self_id_count = (reg_read(ohci, OHCI1394_SelfIDCount) >> 3) & 0x3ff; -- generation = (le32_to_cpu(ohci->self_id_cpu[0]) >> 16) & 0xff; -+ generation = (cond_le32_to_cpu(ohci->self_id_cpu[0]) >> 16) & 0xff; - rmb(); - - for (i = 1, j = 0; j < self_id_count; i += 2, j++) { - if (ohci->self_id_cpu[i] != ~ohci->self_id_cpu[i + 1]) - fw_error("inconsistent self IDs\n"); -- ohci->self_id_buffer[j] = le32_to_cpu(ohci->self_id_cpu[i]); -+ ohci->self_id_buffer[j] = -+ cond_le32_to_cpu(ohci->self_id_cpu[i]); - } - rmb(); - -@@ -1091,6 +1104,11 @@ static void bus_reset_tasklet(unsigned long data) +@@ -1096,6 +1096,11 @@ static void bus_reset_tasklet(unsigned long data) reg_write(ohci, OHCI1394_ConfigROMhdr, ohci->next_header); } @@ -293,16 +781,7 @@ spin_unlock_irqrestore(&ohci->lock, flags); if (free_rom) -@@ -1316,7 +1334,7 @@ ohci_set_config_rom(struct fw_card *card, u32 *config_rom, size_t length) - unsigned long flags; - int retval = -EBUSY; - __be32 *next_config_rom; -- dma_addr_t next_config_rom_bus; -+ dma_addr_t uninitialized_var(next_config_rom_bus); - - ohci = fw_ohci(card); - -@@ -1429,6 +1447,9 @@ static int ohci_cancel_packet(struct fw_card *card, struct fw_packet *packet) +@@ -1434,6 +1439,9 @@ static int ohci_cancel_packet(struct fw_card *card, struct fw_packet *packet) static int ohci_enable_phys_dma(struct fw_card *card, int node_id, int generation) { @@ -312,7 +791,7 @@ struct fw_ohci *ohci = fw_ohci(card); unsigned long flags; int n, retval = 0; -@@ -1460,6 +1481,7 @@ ohci_enable_phys_dma(struct fw_card *card, int node_id, int generation) +@@ -1465,6 +1473,7 @@ ohci_enable_phys_dma(struct fw_card *card, int node_id, int generation) out: spin_unlock_irqrestore(&ohci->lock, flags); return retval; @@ -320,39 +799,30 @@ } static u64 -@@ -1487,7 +1509,7 @@ static int handle_ir_dualbuffer_packet(struct context *context, - void *p, *end; - int i; - -- if (db->first_res_count > 0 && db->second_res_count > 0) { -+ if (db->first_res_count != 0 && db->second_res_count != 0) { - if (ctx->excess_bytes <= le16_to_cpu(db->second_req_count)) { - /* This descriptor isn't done yet, stop iteration. */ - return 0; -@@ -1513,7 +1535,7 @@ static int handle_ir_dualbuffer_packet(struct context *context, - memcpy(ctx->header + i + 4, p + 8, ctx->base.header_size - 4); - i += ctx->base.header_size; - ctx->excess_bytes += -- (le32_to_cpu(*(u32 *)(p + 4)) >> 16) & 0xffff; -+ (le32_to_cpu(*(__le32 *)(p + 4)) >> 16) & 0xffff; - p += ctx->base.header_size + 4; - } - ctx->header_length = i; -@@ -2039,6 +2061,35 @@ static const struct fw_card_driver ohci_driver = { +@@ -2044,17 +2053,9 @@ static const struct fw_card_driver ohci_driver = { .stop_iso = ohci_stop_iso, }; -+#ifdef CONFIG_PPC_PMAC +-static int __devinit +-pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) +-{ +- struct fw_ohci *ohci; +- u32 bus_options, max_receive, link_speed; +- u64 guid; +- int err; +- size_t size; +- + #ifdef CONFIG_PPC_PMAC +- /* Necessary on some machines if fw-ohci was loaded/ unloaded before */ +static void ohci_pmac_on(struct pci_dev *dev) +{ -+ if (machine_is(powermac)) { -+ struct device_node *ofn = pci_device_to_OF_node(dev); -+ -+ if (ofn) { -+ pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 1); -+ pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 1); -+ } -+ } + if (machine_is(powermac)) { + struct device_node *ofn = pci_device_to_OF_node(dev); + +@@ -2063,8 +2064,35 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) + pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 1); + } + } +} + +static void ohci_pmac_off(struct pci_dev *dev) @@ -369,21 +839,23 @@ +#else +#define ohci_pmac_on(dev) +#define ohci_pmac_off(dev) -+#endif /* CONFIG_PPC_PMAC */ -+ - static int __devinit - pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) - { -@@ -2048,6 +2099,8 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) - int err; - size_t size; + #endif /* CONFIG_PPC_PMAC */ ++static int __devinit ++pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) ++{ ++ struct fw_ohci *ohci; ++ u32 bus_options, max_receive, link_speed; ++ u64 guid; ++ int err; ++ size_t size; ++ + ohci_pmac_on(dev); + ohci = kzalloc(sizeof(*ohci), GFP_KERNEL); if (ohci == NULL) { fw_error("Could not malloc fw_ohci data.\n"); -@@ -2059,13 +2112,17 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) +@@ -2076,7 +2104,7 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) err = pci_enable_device(dev); if (err) { fw_error("Failed to enable OHCI hardware.\n"); @@ -392,17 +864,7 @@ } pci_set_master(dev); - pci_write_config_dword(dev, OHCI1394_PCI_HCI_Control, 0); - pci_set_drvdata(dev, ohci); - -+#if defined(CONFIG_PPC_PMAC) && defined(CONFIG_PPC32) -+ ohci->old_uninorth = dev->vendor == PCI_VENDOR_ID_APPLE && -+ dev->device == PCI_DEVICE_ID_APPLE_UNI_N_FW; -+#endif - spin_lock_init(&ohci->lock); - - tasklet_init(&ohci->bus_reset_tasklet, -@@ -2151,8 +2208,8 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) +@@ -2172,8 +2200,8 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) pci_release_region(dev, 0); fail_disable: pci_disable_device(dev); @@ -413,13 +875,26 @@ return err; } -@@ -2180,39 +2237,42 @@ static void pci_remove(struct pci_dev *dev) +@@ -2201,72 +2229,42 @@ static void pci_remove(struct pci_dev *dev) pci_iounmap(dev, ohci->registers); pci_release_region(dev, 0); pci_disable_device(dev); - fw_card_put(&ohci->card); -+ ohci_pmac_off(dev); +- +-#ifdef CONFIG_PPC_PMAC +- /* On UniNorth, power down the cable and turn off the chip clock +- * to save power on laptops */ +- if (machine_is(powermac)) { +- struct device_node *ofn = pci_device_to_OF_node(dev); +- +- if (ofn) { +- pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 0); +- pmac_call_feature(PMAC_FTR_1394_CABLE_POWER, ofn, 0, 0); +- } +- } +-#endif /* CONFIG_PPC_PMAC */ + kfree(&ohci->card); ++ ohci_pmac_off(dev); fw_notify("Removed fw-ohci device.\n"); } @@ -445,6 +920,16 @@ + err = pci_set_power_state(dev, pci_choose_state(dev, state)); if (err) fw_error("pci_set_power_state failed with %d\n", err); +- +-/* PowerMac suspend code comes last */ +-#ifdef CONFIG_PPC_PMAC +- if (machine_is(powermac)) { +- struct device_node *ofn = pci_device_to_OF_node(pdev); +- +- if (ofn) +- pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 0); +- } +-#endif /* CONFIG_PPC_PMAC */ + ohci_pmac_off(dev); return 0; @@ -457,6 +942,16 @@ + struct fw_ohci *ohci = pci_get_drvdata(dev); int err; +-/* PowerMac resume code comes first */ +-#ifdef CONFIG_PPC_PMAC +- if (machine_is(powermac)) { +- struct device_node *ofn = pci_device_to_OF_node(pdev); +- +- if (ofn) +- pmac_call_feature(PMAC_FTR_1394_ENABLE, ofn, 0, 1); +- } +-#endif /* CONFIG_PPC_PMAC */ +- - pci_set_power_state(pdev, PCI_D0); - pci_restore_state(pdev); - err = pci_enable_device(pdev); @@ -468,20 +963,31 @@ fw_error("pci_enable_device failed\n"); return err; diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c -index 03069a4..d6d62c6 100644 +index 62b4e47..2a99937 100644 --- a/drivers/firewire/fw-sbp2.c +++ b/drivers/firewire/fw-sbp2.c -@@ -174,9 +174,6 @@ struct sbp2_target { +@@ -153,6 +153,7 @@ struct sbp2_target { + struct list_head lu_list; + + u64 management_agent_address; ++ u64 guid; + int directory_id; + int node_id; + int address_high; +@@ -173,10 +174,8 @@ struct sbp2_target { + #define SBP2_ORB_TIMEOUT 2000U /* Timeout in ms */ #define SBP2_ORB_NULL 0x80000000 #define SBP2_MAX_SG_ELEMENT_LENGTH 0xf000 - +-#define SBP2_RETRY_LIMIT 0xf /* 15 retries */ +- -#define SBP2_DIRECTION_TO_MEDIA 0x0 -#define SBP2_DIRECTION_FROM_MEDIA 0x1 -- ++#define SBP2_RETRY_LIMIT 0xf /* 15 retries */ ++#define SBP2_CYCLE_LIMIT (0xc8 << 12) /* 200 125us cycles */ + /* Unit directory keys */ #define SBP2_CSR_UNIT_CHARACTERISTICS 0x3a - #define SBP2_CSR_FIRMWARE_REVISION 0x3c -@@ -223,8 +220,8 @@ struct sbp2_status { +@@ -224,8 +223,8 @@ struct sbp2_status { }; struct sbp2_pointer { @@ -492,7 +998,7 @@ }; struct sbp2_orb { -@@ -252,8 +249,8 @@ struct sbp2_management_orb { +@@ -253,8 +252,8 @@ struct sbp2_management_orb { struct { struct sbp2_pointer password; struct sbp2_pointer response; @@ -503,7 +1009,7 @@ struct sbp2_pointer status_fifo; } request; __be32 response[4]; -@@ -262,20 +259,17 @@ struct sbp2_management_orb { +@@ -263,20 +262,17 @@ struct sbp2_management_orb { struct sbp2_status status; }; @@ -527,7 +1033,7 @@ #define COMMAND_ORB_REQUEST_FORMAT(v) ((v) << 29) #define COMMAND_ORB_NOTIFY ((1) << 31) -@@ -284,7 +278,7 @@ struct sbp2_command_orb { +@@ -285,7 +281,7 @@ struct sbp2_command_orb { struct { struct sbp2_pointer next; struct sbp2_pointer data_descriptor; @@ -536,7 +1042,7 @@ u8 command_block[12]; } request; struct scsi_cmnd *cmd; -@@ -453,8 +447,7 @@ sbp2_send_orb(struct sbp2_orb *orb, struct sbp2_logical_unit *lu, +@@ -459,8 +455,7 @@ sbp2_send_orb(struct sbp2_orb *orb, struct sbp2_logical_unit *lu, unsigned long flags; orb->pointer.high = 0; @@ -546,7 +1052,7 @@ spin_lock_irqsave(&device->card->lock, flags); list_add_tail(&orb->link, &lu->orb_list); -@@ -530,31 +523,31 @@ sbp2_send_management_orb(struct sbp2_logical_unit *lu, int node_id, +@@ -536,31 +531,31 @@ sbp2_send_management_orb(struct sbp2_logical_unit *lu, int node_id, if (dma_mapping_error(orb->response_bus)) goto fail_mapping_response; @@ -590,7 +1096,7 @@ init_completion(&orb->done); orb->base.callback = complete_management_orb; -@@ -599,8 +592,7 @@ sbp2_send_management_orb(struct sbp2_logical_unit *lu, int node_id, +@@ -605,8 +600,7 @@ sbp2_send_management_orb(struct sbp2_logical_unit *lu, int node_id, sizeof(orb->response), DMA_FROM_DEVICE); fail_mapping_response: if (response) @@ -600,7 +1106,7 @@ kref_put(&orb->base.kref, free_orb); return retval; -@@ -695,10 +687,8 @@ static void sbp2_conditionally_block(struct sbp2_logical_unit *lu) +@@ -701,10 +695,8 @@ static void sbp2_conditionally_block(struct sbp2_logical_unit *lu) if (!tgt->dont_block && !lu->blocked && lu->generation != card->generation) { lu->blocked = true; @@ -612,7 +1118,7 @@ } spin_unlock_irqrestore(&card->lock, flags); } -@@ -725,10 +715,8 @@ static void sbp2_conditionally_unblock(struct sbp2_logical_unit *lu) +@@ -731,10 +723,8 @@ static void sbp2_conditionally_unblock(struct sbp2_logical_unit *lu) } spin_unlock_irqrestore(&card->lock, flags); @@ -624,7 +1130,7 @@ } /* -@@ -790,7 +778,7 @@ static void sbp2_release_target(struct kref *kref) +@@ -796,7 +786,7 @@ static void sbp2_release_target(struct kref *kref) scsi_remove_host(shost); fw_notify("released %s\n", tgt->bus_id); @@ -633,7 +1139,40 @@ scsi_host_put(shost); fw_device_put(device); } -@@ -855,11 +843,10 @@ static void sbp2_login(struct work_struct *work) +@@ -825,6 +815,22 @@ complete_set_busy_timeout(struct fw_card *card, int rcode, + complete(done); + } + ++/* ++ * Write retransmit retry values into the BUSY_TIMEOUT register. ++ * - The single-phase retry protocol is supported by all SBP-2 devices, but the ++ * default retry_limit value is 0 (i.e. never retry transmission). We write a ++ * saner value after logging into the device. ++ * - The dual-phase retry protocol is optional to implement, and if not ++ * supported, writes to the dual-phase portion of the register will be ++ * ignored. We try to write the original 1394-1995 default here. ++ * - In the case of devices that are also SBP-3-compliant, all writes are ++ * ignored, as the register is read-only, but contains single-phase retry of ++ * 15, which is what we're trying to set for all SBP-2 device anyway, so this ++ * write attempt is safe and yields more consistent behavior for all devices. ++ * ++ * See section 8.3.2.3.5 of the 1394-1995 spec, section 6.2 of the SBP-2 spec, ++ * and section 6.4 of the SBP-3 spec for further details. ++ */ + static void sbp2_set_busy_timeout(struct sbp2_logical_unit *lu) + { + struct fw_device *device = fw_device(lu->tgt->unit->device.parent); +@@ -832,8 +838,7 @@ static void sbp2_set_busy_timeout(struct sbp2_logical_unit *lu) + struct fw_transaction t; + static __be32 busy_timeout; + +- /* FIXME: we should try to set dual-phase cycle_limit too */ +- busy_timeout = cpu_to_be32(SBP2_RETRY_LIMIT); ++ busy_timeout = cpu_to_be32(SBP2_CYCLE_LIMIT | SBP2_RETRY_LIMIT); + + fw_send_request(device->card, &t, TCODE_WRITE_QUADLET_REQUEST, + lu->tgt->node_id, lu->generation, device->max_speed, +@@ -885,11 +890,10 @@ static void sbp2_login(struct work_struct *work) tgt->address_high = local_node_id << 16; sbp2_set_generation(lu, generation); @@ -648,7 +1187,15 @@ fw_notify("%s: logged in to LUN %04x (%d retries)\n", tgt->bus_id, lu->lun, lu->retries); -@@ -1091,6 +1078,7 @@ static int sbp2_probe(struct device *dev) +@@ -1111,6 +1115,7 @@ static int sbp2_probe(struct device *dev) + kref_init(&tgt->kref); + INIT_LIST_HEAD(&tgt->lu_list); + tgt->bus_id = unit->device.bus_id; ++ tgt->guid = (u64)device->config_rom[3] << 32 | device->config_rom[4]; + + if (fw_device_enable_phys_dma(device) < 0) + goto fail_shost_put; +@@ -1119,6 +1124,7 @@ static int sbp2_probe(struct device *dev) goto fail_shost_put; fw_device_get(device); @@ -656,7 +1203,7 @@ /* Initialize to values that won't match anything in our table. */ firmware_revision = 0xff000000; -@@ -1106,8 +1094,6 @@ static int sbp2_probe(struct device *dev) +@@ -1134,8 +1140,6 @@ static int sbp2_probe(struct device *dev) sbp2_init_workarounds(tgt, model, firmware_revision); @@ -665,7 +1212,7 @@ /* Do the login in a workqueue so we can easily reschedule retries. */ list_for_each_entry(lu, &tgt->lu_list, link) sbp2_queue_work(lu, 0); -@@ -1339,9 +1325,12 @@ sbp2_map_scatterlist(struct sbp2_command_orb *orb, struct fw_device *device, +@@ -1367,9 +1371,12 @@ sbp2_map_scatterlist(struct sbp2_command_orb *orb, struct fw_device *device, * tables. */ if (count == 1 && sg_dma_len(sg) < SBP2_MAX_SG_ELEMENT_LENGTH) { @@ -681,7 +1228,7 @@ return 0; } -@@ -1362,16 +1351,14 @@ sbp2_map_scatterlist(struct sbp2_command_orb *orb, struct fw_device *device, +@@ -1390,16 +1397,14 @@ sbp2_map_scatterlist(struct sbp2_command_orb *orb, struct fw_device *device, goto fail_page_table; } l = min(sg_len, SBP2_MAX_SG_ELEMENT_LENGTH); @@ -700,7 +1247,7 @@ orb->page_table_bus = dma_map_single(device->card->device, orb->page_table, sizeof(orb->page_table), DMA_TO_DEVICE); -@@ -1385,11 +1372,10 @@ sbp2_map_scatterlist(struct sbp2_command_orb *orb, struct fw_device *device, +@@ -1413,11 +1418,10 @@ sbp2_map_scatterlist(struct sbp2_command_orb *orb, struct fw_device *device, * initiator (i.e. us), but data_descriptor can refer to data * on other nodes so we need to put our ID in descriptor.high. */ @@ -716,7 +1263,7 @@ return 0; -@@ -1435,8 +1421,7 @@ static int sbp2_scsi_queuecommand(struct scsi_cmnd *cmd, scsi_done_fn_t done) +@@ -1463,8 +1467,7 @@ static int sbp2_scsi_queuecommand(struct scsi_cmnd *cmd, scsi_done_fn_t done) orb->done = done; orb->cmd = cmd; @@ -726,7 +1273,7 @@ /* * At speed 100 we can do 512 bytes per packet, at speed 200, * 1024 bytes per packet etc. The SBP-2 max_payload field -@@ -1445,25 +1430,17 @@ static int sbp2_scsi_queuecommand(struct scsi_cmnd *cmd, scsi_done_fn_t done) +@@ -1473,25 +1476,17 @@ static int sbp2_scsi_queuecommand(struct scsi_cmnd *cmd, scsi_done_fn_t done) */ max_payload = min(device->max_speed + 7, device->card->max_receive - 1); @@ -755,7 +1302,7 @@ memcpy(orb->request.command_block, cmd->cmnd, COMMAND_SIZE(*cmd->cmnd)); orb->base.callback = complete_command_orb; -@@ -1491,11 +1468,8 @@ static int sbp2_scsi_slave_alloc(struct scsi_device *sdev) +@@ -1519,11 +1514,8 @@ static int sbp2_scsi_slave_alloc(struct scsi_device *sdev) sdev->allow_restart = 1; @@ -769,40 +1316,116 @@ if (lu->tgt->workarounds & SBP2_WORKAROUND_INQUIRY_36) sdev->inquiry_len = 36; +@@ -1581,16 +1573,14 @@ sbp2_sysfs_ieee1394_id_show(struct device *dev, struct device_attribute *attr, + { + struct scsi_device *sdev = to_scsi_device(dev); + struct sbp2_logical_unit *lu; +- struct fw_device *device; + + if (!sdev) + return 0; + + lu = sdev->hostdata; +- device = fw_device(lu->tgt->unit->device.parent); + +- return sprintf(buf, "%08x%08x:%06x:%04x\n", +- device->config_rom[3], device->config_rom[4], ++ return sprintf(buf, "%016llx:%06x:%04x\n", ++ (unsigned long long)lu->tgt->guid, + lu->tgt->directory_id, lu->lun); + } + +diff --git a/drivers/firewire/fw-topology.c b/drivers/firewire/fw-topology.c +index d2c7a3d..ebdec4c 100644 +--- a/drivers/firewire/fw-topology.c ++++ b/drivers/firewire/fw-topology.c +@@ -108,6 +108,7 @@ static struct fw_node *fw_node_create(u32 sid, int port_count, int color) + node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid); + node->link_on = SELF_ID_LINK_ON(sid); + node->phy_speed = SELF_ID_PHY_SPEED(sid); ++ node->initiated_reset = SELF_ID_PHY_INITIATOR(sid); + node->port_count = port_count; + + atomic_set(&node->ref_count, 1); +@@ -431,6 +432,8 @@ update_tree(struct fw_card *card, struct fw_node *root) + event = FW_NODE_LINK_OFF; + else if (!node0->link_on && node1->link_on) + event = FW_NODE_LINK_ON; ++ else if (node1->initiated_reset && node1->link_on) ++ event = FW_NODE_INITIATED_RESET; + else + event = FW_NODE_UPDATED; + +diff --git a/drivers/firewire/fw-topology.h b/drivers/firewire/fw-topology.h +index cedc1ec..addb9f8 100644 +--- a/drivers/firewire/fw-topology.h ++++ b/drivers/firewire/fw-topology.h +@@ -20,11 +20,12 @@ + #define __fw_topology_h + + enum { +- FW_NODE_CREATED = 0x00, +- FW_NODE_UPDATED = 0x01, +- FW_NODE_DESTROYED = 0x02, +- FW_NODE_LINK_ON = 0x03, +- FW_NODE_LINK_OFF = 0x04, ++ FW_NODE_CREATED, ++ FW_NODE_UPDATED, ++ FW_NODE_DESTROYED, ++ FW_NODE_LINK_ON, ++ FW_NODE_LINK_OFF, ++ FW_NODE_INITIATED_RESET, + }; + + struct fw_node { diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c -index 7fcc59d..99529e5 100644 +index 99529e5..e550535 100644 --- a/drivers/firewire/fw-transaction.c +++ b/drivers/firewire/fw-transaction.c -@@ -751,7 +751,7 @@ handle_topology_map(struct fw_card *card, struct fw_request *request, - void *payload, size_t length, void *callback_data) +@@ -396,7 +396,8 @@ const struct fw_address_region fw_high_memory_region = + const struct fw_address_region fw_private_region = + { .start = 0xffffe0000000ULL, .end = 0xfffff0000000ULL, }; + const struct fw_address_region fw_csr_region = +- { .start = 0xfffff0000000ULL, .end = 0xfffff0000800ULL, }; ++ { .start = CSR_REGISTER_BASE, ++ .end = CSR_REGISTER_BASE | CSR_CONFIG_ROM_END, }; + const struct fw_address_region fw_unit_space_region = + { .start = 0xfffff0000900ULL, .end = 0x1000000000000ULL, }; + EXPORT_SYMBOL(fw_low_memory_region); +@@ -741,7 +742,8 @@ fw_core_handle_response(struct fw_card *card, struct fw_packet *p) + EXPORT_SYMBOL(fw_core_handle_response); + + static const struct fw_address_region topology_map_region = +- { .start = 0xfffff0001000ull, .end = 0xfffff0001400ull, }; ++ { .start = CSR_REGISTER_BASE | CSR_TOPOLOGY_MAP, ++ .end = CSR_REGISTER_BASE | CSR_TOPOLOGY_MAP_END, }; + + static void + handle_topology_map(struct fw_card *card, struct fw_request *request, +@@ -779,7 +781,8 @@ static struct fw_address_handler topology_map = { + }; + + static const struct fw_address_region registers_region = +- { .start = 0xfffff0000000ull, .end = 0xfffff0000400ull, }; ++ { .start = CSR_REGISTER_BASE, ++ .end = CSR_REGISTER_BASE | CSR_CONFIG_ROM, }; + + static void + handle_registers(struct fw_card *card, struct fw_request *request, +@@ -788,7 +791,7 @@ handle_registers(struct fw_card *card, struct fw_request *request, + unsigned long long offset, + void *payload, size_t length, void *callback_data) { - int i, start, end; -- u32 *map; -+ __be32 *map; +- int reg = offset - CSR_REGISTER_BASE; ++ int reg = offset & ~CSR_REGISTER_BASE; + unsigned long long bus_time; + __be32 *data = payload; - if (!TCODE_IS_READ_REQUEST(tcode)) { - fw_send_response(card, request, RCODE_TYPE_ERROR); diff --git a/drivers/firewire/fw-transaction.h b/drivers/firewire/fw-transaction.h -index 09cb728..1a22a23 100644 +index a43bb22..8d1987f 100644 --- a/drivers/firewire/fw-transaction.h +++ b/drivers/firewire/fw-transaction.h -@@ -86,12 +86,12 @@ - static inline void - fw_memcpy_from_be32(void *_dst, void *_src, size_t size) - { -- u32 *dst = _dst; -- u32 *src = _src; -+ u32 *dst = _dst; -+ __be32 *src = _src; - int i; - - for (i = 0; i < size / 4; i++) -- dst[i] = cpu_to_be32(src[i]); -+ dst[i] = be32_to_cpu(src[i]); - } - - static inline void -@@ -221,7 +221,6 @@ struct fw_card { +@@ -221,12 +221,9 @@ struct fw_card { const struct fw_card_driver *driver; struct device *device; atomic_t device_count; @@ -810,7 +1433,12 @@ int node_id; int generation; -@@ -263,9 +262,6 @@ struct fw_card { +- /* This is the generation used for timestamping incoming requests. */ +- int request_generation; + int current_tlabel, tlabel_mask; + struct list_head transaction_list; + struct timer_list flush_timer; +@@ -263,9 +260,6 @@ struct fw_card { int bm_generation; }; @@ -858,6 +1486,50 @@ }; +diff --git a/drivers/ieee1394/highlevel.c b/drivers/ieee1394/highlevel.c +index b642546..fa2bfec 100644 +--- a/drivers/ieee1394/highlevel.c ++++ b/drivers/ieee1394/highlevel.c +@@ -339,7 +339,7 @@ u64 hpsb_allocate_and_register_addrspace(struct hpsb_highlevel *hl, + if ((alignment & 3) || (alignment > 0x800000000000ULL) || + (hweight64(alignment) != 1)) { + HPSB_ERR("%s called with invalid alignment: 0x%048llx", +- __FUNCTION__, (unsigned long long)alignment); ++ __func__, (unsigned long long)alignment); + return retval; + } + +@@ -354,7 +354,7 @@ u64 hpsb_allocate_and_register_addrspace(struct hpsb_highlevel *hl, + if (((start|end) & ~align_mask) || (start >= end) || + (end > CSR1212_ALL_SPACE_END)) { + HPSB_ERR("%s called with invalid addresses " +- "(start = %012Lx end = %012Lx)", __FUNCTION__, ++ "(start = %012Lx end = %012Lx)", __func__, + (unsigned long long)start,(unsigned long long)end); + return retval; + } +@@ -422,7 +422,7 @@ int hpsb_register_addrspace(struct hpsb_highlevel *hl, struct hpsb_host *host, + + if (((start|end) & 3) || (start >= end) || + (end > CSR1212_ALL_SPACE_END)) { +- HPSB_ERR("%s called with invalid addresses", __FUNCTION__); ++ HPSB_ERR("%s called with invalid addresses", __func__); + return 0; + } + +diff --git a/drivers/ieee1394/ieee1394_core.c b/drivers/ieee1394/ieee1394_core.c +index 36c747b..942bf1f 100644 +--- a/drivers/ieee1394/ieee1394_core.c ++++ b/drivers/ieee1394/ieee1394_core.c +@@ -242,7 +242,7 @@ int hpsb_bus_reset(struct hpsb_host *host) + { + if (host->in_bus_reset) { + HPSB_NOTICE("%s called while bus reset already in progress", +- __FUNCTION__); ++ __func__); + return 1; + } + diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index 511e432..70afa37 100644 --- a/drivers/ieee1394/nodemgr.c @@ -876,9 +1548,18 @@ id->vendor_id != ud->vendor_id) continue; diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c -index 969de2a..29b8910 100644 +index 969de2a..0808bae 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c +@@ -708,7 +708,7 @@ static void insert_packet(struct ti_ohci *ohci, + /* FIXME: do something about it */ + PRINT(KERN_ERR, + "%s: packet data addr: %p size %Zd bytes " +- "cross page boundary", __FUNCTION__, ++ "cross page boundary", __func__, + packet->data, packet->data_size); + } + #endif @@ -2993,15 +2993,9 @@ do { \ return err; \ } while (0) @@ -1080,6 +1761,62 @@ if (err) { PRINT(KERN_ERR, "pci_enable_device failed with %d", err); return err; +diff --git a/drivers/ieee1394/pcilynx.c b/drivers/ieee1394/pcilynx.c +index 8af01ab..9c35e0d 100644 +--- a/drivers/ieee1394/pcilynx.c ++++ b/drivers/ieee1394/pcilynx.c +@@ -226,7 +226,7 @@ static int get_phy_reg(struct ti_lynx *lynx, int addr) + if (addr > 15) { + PRINT(KERN_ERR, lynx->id, + "%s: PHY register address %d out of range", +- __FUNCTION__, addr); ++ __func__, addr); + return -1; + } + +@@ -238,7 +238,7 @@ static int get_phy_reg(struct ti_lynx *lynx, int addr) + + if (i > 10000) { + PRINT(KERN_ERR, lynx->id, "%s: runaway loop, aborting", +- __FUNCTION__); ++ __func__); + retval = -1; + break; + } +@@ -261,13 +261,13 @@ static int set_phy_reg(struct ti_lynx *lynx, int addr, int val) + + if (addr > 15) { + PRINT(KERN_ERR, lynx->id, +- "%s: PHY register address %d out of range", __FUNCTION__, addr); ++ "%s: PHY register address %d out of range", __func__, addr); + return -1; + } + + if (val > 0xff) { + PRINT(KERN_ERR, lynx->id, +- "%s: PHY register value %d out of range", __FUNCTION__, val); ++ "%s: PHY register value %d out of range", __func__, val); + return -1; + } + +@@ -287,7 +287,7 @@ static int sel_phy_reg_page(struct ti_lynx *lynx, int page) + + if (page > 7) { + PRINT(KERN_ERR, lynx->id, +- "%s: PHY page %d out of range", __FUNCTION__, page); ++ "%s: PHY page %d out of range", __func__, page); + return -1; + } + +@@ -309,7 +309,7 @@ static int sel_phy_reg_port(struct ti_lynx *lynx, int port) + + if (port > 15) { + PRINT(KERN_ERR, lynx->id, +- "%s: PHY port %d out of range", __FUNCTION__, port); ++ "%s: PHY port %d out of range", __func__, port); + return -1; + } + diff --git a/drivers/ieee1394/raw1394.c b/drivers/ieee1394/raw1394.c index 37e7e10..3634785 100644 --- a/drivers/ieee1394/raw1394.c @@ -1093,10 +1830,28 @@ /******************************************************************************/ diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c -index 9e2b196..29e6663 100644 +index f53f72d..16b9d0a 100644 --- a/drivers/ieee1394/sbp2.c +++ b/drivers/ieee1394/sbp2.c -@@ -1980,11 +1980,8 @@ static int sbp2scsi_slave_alloc(struct scsi_device *sdev) +@@ -615,7 +615,7 @@ static struct sbp2_command_info *sbp2util_allocate_command_orb( + cmd->Current_SCpnt = Current_SCpnt; + list_add_tail(&cmd->list, &lu->cmd_orb_inuse); + } else +- SBP2_ERR("%s: no orbs available", __FUNCTION__); ++ SBP2_ERR("%s: no orbs available", __func__); + spin_unlock_irqrestore(&lu->cmd_orb_lock, flags); + return cmd; + } +@@ -1294,7 +1294,7 @@ static int sbp2_set_busy_timeout(struct sbp2_lu *lu) + + data = cpu_to_be32(SBP2_BUSY_TIMEOUT_VALUE); + if (hpsb_node_write(lu->ne, SBP2_BUSY_TIMEOUT_ADDRESS, &data, 4)) +- SBP2_ERR("%s error", __FUNCTION__); ++ SBP2_ERR("%s error", __func__); + return 0; + } + +@@ -1985,11 +1985,8 @@ static int sbp2scsi_slave_alloc(struct scsi_device *sdev) lu->sdev = sdev; sdev->allow_restart = 1; linux-2.6-wireless-pending.patch: View full diff with command: /usr/bin/cvs -f diff -kk -u -N -r 1.2 -r 1.3 linux-2.6-wireless-pending.patch Index: linux-2.6-wireless-pending.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-wireless-pending.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- linux-2.6-wireless-pending.patch 6 Mar 2008 13:59:26 -0000 1.2 +++ linux-2.6-wireless-pending.patch 1 Apr 2008 10:38:06 -0000 1.3 @@ -1,20080 +1,71648 @@ -commit e4861829072c61883114c64a3af61f305a789ff0 -Author: Johannes Berg -Date: Wed Feb 27 13:39:00 2008 +0100 +commit e5225b397308f9eea86327293b73dc88068e0179 +Author: Holger Schurig +Date: Wed Mar 26 10:04:44 2008 +0100 - mac80211: fix key replacing, hw accel + libertas: reduce debug output - Even though I thought about it a lot and had also tested it, some - of my recent changes in the key code broke replacing keys, making - the kernel oops because a key is removed from a list while not on - it. + This patch tries to make dmesg logs between different runs easier + to compare by - This patch fixes that using the list as an indication whether or - not the key is on it (an empty list means it's not on any list.) + * removing the jiffies (use CONFIG_PRINTK_TIME if you need + timing) + * remove the line numbers, they change with each applied patch - Also, this patch fixes hw accel enabling, the check for not doing - hw accel when the interface is down was lost and is restored by - this. + It also changes the deprecated __FUNCTION__ to __func__ to make + checkpatch.pl happy. - Additionally, move adding the key to the list into the function - __ieee80211_key_replace() for more consistency. + Signed-off-by: Holger Schurig + Acked-by: Dan Williams + Signed-off-by: John W. Linville + +commit 056cdd599d004e36de64c925b8a13f6676451360 +Author: Johannes Berg +Date: Wed Mar 26 23:21:47 2008 +0100 + + mac80211: reorder fields to make some structures smaller + + This patch reorders some fields in various structures to have + less padding within the structures, making them smaller. It + doesn't yet make any type adjustments, but often size_t is used + for example for IE lengths which is total overkill since size_t + will be 8 bytes long on 64-bit yet the length can at most fill + a u8. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville -commit db4d1169d0b893bfb7923b6526748fe2c5a7373f -Author: Johannes Berg -Date: Mon Feb 25 16:27:45 2008 +0100 +commit 8dd62822ddbf6a9314e9b92a3816c04490c91293 +Author: John W. Linville +Date: Wed Mar 26 15:21:33 2008 -0400 - mac80211: split ieee80211_key_alloc/free + prism54: correct thinko in "prism54: Convert stats_sem in a mutex" - In order to RCU-ify sta_info, we need to be able to allocate - a key without linking it to an sdata/sta structure (because - allocation cannot be done in an rcu critical section). This - patch splits up ieee80211_key_alloc() and updates all users - appropriately. + mutex_trylock has different return code semantics than down_trylock... - While at it, this patch fixes a number of race conditions - such as finally making key replacement atomic, unfortunately - at the expense of more complex code. + Signed-off-by: John W. Linville + +commit cee24a3e580f1062c8bb8b1692b95014d882bc7d +Author: Ron Rindjunsky +Date: Wed Mar 26 20:36:03 2008 +0200 + + mac80211: A-MPDU MLME use dynamic allocation - Note that this patch documents /existing/ bugs with sta info - and key interaction, there is currently a race condition - when a sta info is freed without holding the RTNL. This will - finally be fixed by a followup patch. + This patch alters the A-MPDU MLME in sta_info to use dynamic allocation, + thus drastically improving memory usage - from a constant ~2 Kbyte in + the previous (static) allocation to a lower limit of ~200 Byte and an upper + limit of ~2 Kbyte. - Signed-off-by: Johannes Berg + Signed-off-by: Ron Rindjunsky + Signed-off-by: Tomas Winkler Signed-off-by: John W. Linville -commit 6f48422a29714ed92f6136d9e7d3ff39c75607d7 +commit 6c507cd0400cb51dd2ee251c1b8756b9375a1128 Author: Johannes Berg -Date: Mon Feb 25 16:27:44 2008 +0100 +Date: Wed Mar 26 14:14:55 2008 +0100 - mac80211: remove STA infos last_ack stuff + cfg80211: don't export ieee80211_get_channel - These things aren't used and the only possible use is within - rate control algorithms, however those can, if they need it, - keep track of it in their private data. last_ack_ms isn't - even updated so completely useless. + This patch makes ieee80211_get_channel a static inline defined in + cfg80211's header file which simply calls __ieee80211_get_channel + to avoid symbol clashes with the ieee80211 code. + + The problem was pointed out by David Miller, thanks! Signed-off-by: Johannes Berg + Cc: David Miller Signed-off-by: John W. Linville -commit e6a5ddf20886206caf1c4a2431f6ff01198ab0f7 -Author: Johannes Berg -Date: Mon Feb 25 16:27:42 2008 +0100 +commit 7d5796118353cd45e9e301fdf3ff99fdec5390e9 +Author: Holger Schurig +Date: Wed Mar 26 13:26:55 2008 +0100 - mac80211: safely free beacon in ieee80211_if_reinit + libertas: the compact flash driver is no longer experimental - If ieee80211_if_reinit() is called from ieee80211_unregister_hw() - then it is possible that the driver will still request a beacon - (it is allowed to until ieee80211_unregister_hw() has returned.) - This means we need to use an RCU-protected write to the beacon - information even in this function. + Signed-off-by: Holger Schurig + Acked-by: Dan Williams + Signed-off-by: John W. Linville + +commit 62436138c83f221943c1f5d9cff41305d3d26ac4 +Author: Holger Schurig +Date: Wed Mar 26 09:57:45 2008 +0100 + + libertas: remove CMD_802_11_PWR_CFG - Signed-off-by: Johannes Berg + This has nowhere been used. Note: in the firmware manual this was + documented as CMD_802_11_PA_CFG. If we ever need it, we can/should + re-implement it as a direct command. + + Signed-off-by: Holger Schurig + Acked-by: Dan Williams Signed-off-by: John W. Linville -commit 2485f7105f20f85c2dbebc67be6b2cb97175fa7e -Author: Johannes Berg -Date: Mon Feb 25 16:27:41 2008 +0100 +commit c2b310a73b62f074b0019b940417cafbdbafde41 +Author: Holger Schurig +Date: Wed Mar 26 09:57:14 2008 +0100 - mac80211: clarify use of TX status/RX callbacks + libertas: kill useless #define LBS_MONITOR_OFF 0 - This patch clarifies the use of the irqsafe vs. non-irq-safe - functions and their respective locking requirements. + Signed-off-by: Holger Schurig + Acked-by: Dan Williams + Signed-off-by: John W. Linville + +commit 69dc5d9da5c499c23db7b80217023403da103816 +Author: Tomas Winkler +Date: Tue Mar 25 16:33:41 2008 -0700 + + iwlwifi: iwl_priv - clean up in types of members - Signed-off-by: Johannes Berg + This patch fix types of is_open and iw_mode members + of iwl_priv sturct + + Signed-off-by: Tomas Winkler + Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville -commit 38c07b430b50172b803fe4c7f76cba580ba9931f -Author: Pavel Roskin -Date: Tue Feb 26 17:59:14 2008 -0500 +commit 0472f887e0689fff2dce82c01d40698432965b5a +Author: Emmanuel Grumbach +Date: Tue Mar 25 16:33:40 2008 -0700 - ath5k: fix all endian issues reported by sparse + iwlwifi: allow a default callback for ASYNC host commands - Changes-licensed-under: ISC [...102990 lines suppressed...] ++!Finclude/net/mac80211.h ieee80211_rts_get ++!Finclude/net/mac80211.h ieee80211_rts_duration ++!Finclude/net/mac80211.h ieee80211_ctstoself_get ++!Finclude/net/mac80211.h ieee80211_ctstoself_duration ++!Finclude/net/mac80211.h ieee80211_generic_frame_duration ++!Finclude/net/mac80211.h ieee80211_get_hdrlen_from_skb ++!Finclude/net/mac80211.h ieee80211_get_hdrlen ++!Finclude/net/mac80211.h ieee80211_wake_queue ++!Finclude/net/mac80211.h ieee80211_stop_queue ++!Finclude/net/mac80211.h ieee80211_start_queues ++!Finclude/net/mac80211.h ieee80211_stop_queues ++!Finclude/net/mac80211.h ieee80211_wake_queues ++ ++ ++ ++ ++ Frame filtering ++!Pinclude/net/mac80211.h Frame filtering ++!Finclude/net/mac80211.h ieee80211_filter_flags ++ ++ ++ ++ ++ Advanced driver interface ++ ++ ++ Information contained within this part of the book is ++ of interest only for advanced interaction of mac80211 ++ with drivers to exploit more hardware capabilities and ++ improve performance. ++ ++ ++ ++ ++ Hardware crypto acceleration ++!Pinclude/net/mac80211.h Hardware crypto acceleration ++ ++!Finclude/net/mac80211.h set_key_cmd ++!Finclude/net/mac80211.h ieee80211_key_conf ++!Finclude/net/mac80211.h ieee80211_key_alg ++!Finclude/net/mac80211.h ieee80211_key_flags ++ ++ ++ ++ Multiple queues and QoS support ++ TBD ++!Finclude/net/mac80211.h ieee80211_tx_queue_params ++!Finclude/net/mac80211.h ieee80211_tx_queue_stats_data ++!Finclude/net/mac80211.h ieee80211_tx_queue ++ ++ ++ ++ Access point mode support ++ TBD ++ Some parts of the if_conf should be discussed here instead ++ ++ Insert notes about VLAN interfaces with hw crypto here or ++ in the hw crypto chapter. ++ ++!Finclude/net/mac80211.h ieee80211_get_buffered_bc ++!Finclude/net/mac80211.h ieee80211_beacon_get ++ ++ ++ ++ Supporting multiple virtual interfaces ++ TBD ++ ++ Note: WDS with identical MAC address should almost always be OK ++ ++ ++ Insert notes about having multiple virtual interfaces with ++ different MAC addresses here, note which configurations are ++ supported by mac80211, add notes about supporting hw crypto ++ with it. ++ ++ ++ ++ ++ Hardware scan offload ++ TBD ++!Finclude/net/mac80211.h ieee80211_scan_completed ++ ++ ++ ++ ++ Rate control interface ++ ++ TBD ++ ++ This part of the book describes the rate control algorithm ++ interface and how it relates to mac80211 and drivers. ++ ++ ++ ++ dummy chapter ++ TBD ++ ++ ++ ++ ++ Internals ++ ++ TBD ++ ++ This part of the book describes mac80211 internals. ++ ++ ++ ++ ++ Key handling ++ ++ Key handling basics ++!Pnet/mac80211/key.c Key handling basics ++ ++ ++ MORE TBD ++ TBD ++ ++ ++ ++ ++ Receive processing ++ TBD ++ ++ ++ ++ Transmit processing ++ TBD ++ ++ ++ ++ Station info handling ++ ++ Programming information ++!Fnet/mac80211/sta_info.h sta_info ++!Fnet/mac80211/sta_info.h ieee80211_sta_info_flags ++ ++ ++ STA information lifetime rules ++!Pnet/mac80211/sta_info.c STA information lifetime rules ++ ++ ++ ++ ++ Synchronisation ++ TBD ++ Locking, lots of RCU ++ ++ ++ +diff -up linux-2.6.24.noarch/Documentation/DocBook/Makefile.orig linux-2.6.24.noarch/Documentation/DocBook/Makefile +--- linux-2.6.24.noarch/Documentation/DocBook/Makefile.orig 2008-03-28 11:53:57.000000000 -0400 ++++ linux-2.6.24.noarch/Documentation/DocBook/Makefile 2008-03-28 11:55:11.000000000 -0400 +@@ -11,7 +11,8 @@ DOCBOOKS := wanbook.xml z8530book.xml mc + procfs-guide.xml writing_usb_driver.xml networking.xml \ + kernel-api.xml filesystems.xml lsm.xml usb.xml \ + gadget.xml libata.xml mtdnand.xml librs.xml rapidio.xml \ +- genericirq.xml s390-drivers.xml uio-howto.xml scsi.xml ++ genericirq.xml s390-drivers.xml uio-howto.xml scsi.xml \ ++ mac80211.xml + + ### + # The build process is as follows (targets): +diff -up linux-2.6.24.noarch/Documentation/feature-removal-schedule.txt.orig linux-2.6.24.noarch/Documentation/feature-removal-schedule.txt +--- linux-2.6.24.noarch/Documentation/feature-removal-schedule.txt.orig 2008-03-28 10:30:27.000000000 -0400 ++++ linux-2.6.24.noarch/Documentation/feature-removal-schedule.txt 2008-03-28 11:55:11.000000000 -0400 +@@ -230,33 +230,6 @@ Who: Jean Delvare + + --------------------------- + +-What: bcm43xx wireless network driver +-When: 2.6.26 +-Files: drivers/net/wireless/bcm43xx +-Why: This driver's functionality has been replaced by the +- mac80211-based b43 and b43legacy drivers. +-Who: John W. Linville +- +---------------------------- +- +-What: ieee80211 softmac wireless networking component +-When: 2.6.26 (or after removal of bcm43xx and port of zd1211rw to mac80211) +-Files: net/ieee80211/softmac +-Why: No in-kernel drivers will depend on it any longer. +-Who: John W. Linville +- +---------------------------- +- +-What: rc80211-simple rate control algorithm for mac80211 +-When: 2.6.26 +-Files: net/mac80211/rc80211-simple.c +-Why: This algorithm was provided for reference but always exhibited bad +- responsiveness and performance and has some serious flaws. It has been +- replaced by rc80211-pid. +-Who: Stefano Brivio +- +---------------------------- +- + What (Why): + - include/linux/netfilter_ipv4/ipt_TOS.h ipt_tos.h header files + (superseded by xt_TOS/xt_tos target & match) linux-2.6-wireless.patch: Index: linux-2.6-wireless.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-wireless.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- linux-2.6-wireless.patch 6 Mar 2008 13:59:26 -0000 1.3 +++ linux-2.6-wireless.patch 1 Apr 2008 10:38:07 -0000 1.4 @@ -1,391 +1,119 @@ -commit c256e05b7b30fab484deacb4f8cff59ce649c75e -Author: Michael Buesch -Date: Tue Mar 4 20:31:13 2008 +0100 +commit 3e05e6703fb663fb8a394615d16c3a93cbef001e +Author: Ivo van Doorn +Date: Thu Mar 27 17:15:24 2008 +0100 - b43legacy: Fix module init message + rt2x00: Ignore set_state(STATE_SLEEP) failure - This fixes the module init message to tell that the legacy - driver loaded. This makes it less confusing, in case both drivers are loaded. + Some hardware never seem to accept the "goto sleep" command, since the legacy + drivers don't have suspend and resume handlers the entire code for it was + basically a educated guess (based on the "enable radio" code). + This patch will only print a warning when the "goto sleep" command fails, and + just continues as usual. Perhaps that means the device will not reach a sleep + state and consumes more power then it should, but it is equally possible it + simply needs some seconds longer to sleep. Anyway, by making the command + non-fatal it will not block the rest of the suspend procedure. - Signed-off-by: Michael Buesch + Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville -commit cdb2a9fe63575dd1eb82b724bbd0aa5e0dd89fa0 -Author: Jussi Kivilinna -Date: Tue Mar 4 20:05:27 2008 +0200 +commit 8def53bc1ff4686bd24b3c274a4871c9ae33c27c +Author: Julia Lawall +Date: Tue Mar 4 14:58:59 2008 -0800 - rndis_wlan: fix broken data copy + drivers/net/wireless/iwlwifi/iwl-4965.c: correct use of ! and & - Replace broken code that attempted to copy 6 byte array to 64-bit - integer. Due to missing cast to 64-bit integer, left shift operation - were 32-bit and lead to bytes been copied over each other. New code - uses simple memcpy, for greater readability and efficiency. + In commit e6bafba5b4765a5a252f1b8d31cbf6d2459da337, a bug was fixed that + involved converting !x & y to !(x & y). The code below shows the same + pattern, and thus should perhaps be fixed in the same way. - Signed-off-by: Jussi Kivilinna - Signed-off-by: John W. Linville - -commit 8a96df80b3ddb2410045a26ea19eeccb5f2d2d11 -Author: Sebastian Siewior -Date: Tue Mar 4 18:22:27 2008 +0100 - - libertas: compare the current command with response - - instead of with itself. + This is not tested and clearly changes the semantics, so it is only + something to consider. - Signed-off-by: Sebastian Siewior - Signed-off-by: John W. Linville - -commit 6305f498604df6c66bdb4cc533ce6332fa5ab61f -Author: David Woodhouse -Date: Mon Mar 3 12:20:12 2008 +0100 - - libertas: fix sanity check on sequence number in command response + The semantic patch that makes this change is as follows: + (http://www.emn.fr/x-info/coccinelle/) - Slightly more useful if we compare it against the sequence number of the - command we have outstanding, rather than comparing the reply with itself. + // + @@ expression E1,E2; @@ + ( + !E1 & !E2 + | + - !E1 & E2 + + !(E1 & E2) + ) + // - Doh. Pointed out by Sebastian Siewior - - Signed-off-by: David Woodhouse - Acked-by: Dan Williams + Signed-off-by: Julia Lawall + Cc: Tomas Winkler + Cc: Guy Cohen + Cc: Reinette Chatre + Cc: Zhu Yi + Signed-off-by: Andrew Morton Signed-off-by: John W. Linville -commit c2f2d3a06f8b628d444cf4f396d6c6ddd47e1d1f -Author: Johannes Berg -Date: Fri Feb 29 23:28:25 2008 +0100 - - p54: fix eeprom parser length sanity checks - - When I called p54_parse_eeprom() on a hand-coded structure - I managed to make a small mistake with wrap->len which caused - a segfault a few lines down when trying to read entry->len. - This patch changes the validation code to avoid such problems. - - Signed-off-by: Johannes Berg - Tested-by: Florian Fainelli - Signed-off-by: John W. Linville +commit 9cef555bcc6a5a7c1a5bb7728fd96bc59fa1b96a +Author: Holger Schurig +Date: Wed Mar 19 15:24:21 2008 +0100 -commit 8c28293f5514f64ba064bac7946aebeda4a663c6 -Author: Johannes Berg -Date: Fri Feb 29 13:56:33 2008 +0100 - - p54: fix EEPROM structure endianness - - Since the EEPROM structure is read from hardware, it is - always little endian, annotate that in the struct and - make sure to convert where applicable. - - Signed-off-by: Johannes Berg - Cc: Michael Wu - Tested-by: Florian Fainelli - Signed-off-by: John W. Linville - -commit dc63644b0ee3b447e879ef8e124657b40e9ea81c -Author: Yoichi Yuasa -Date: Fri Feb 29 11:09:31 2008 +0100 - - ssb: Add pcibios_enable_device() return value check - - This patch has added pcibios_enable_device() return value check. - - Signed-off-by: Yoichi Yuasa - Signed-off-by: Michael Buesch - Signed-off-by: John W. Linville - -commit 1d60ab0574fae362b1cca0ef52181ef75fd46832 -Author: Stefano Brivio -Date: Sun Mar 2 11:33:10 2008 +0100 - - rc80211-pid: fix rate adjustment - - Merge rate_control_pid_shift_adjust() to rate_control_pid_adjust_rate() - in order to make the learning algorithm aware of constraints on rates. Also - add some comments and rename variables. + libertas: fix spinlock recursion bug - This fixes a bug which prevented 802.11b/g non-AP STAs from working with - 802.11b only AP STAs. + This fixes a bug detected by CONFIG_DEBUG_SPINLOCK: - This patch was originally destined for 2.6.26, and is being backported - to fix a user reported problem in post-2.6.24 kernels. + if_cs_get_int_status() is only called from lbs_thread(), via + priv->hw_get_int_status. However, lbs_thread() has already taken the + priv->driver_lock. So it's a fault to take the same lock again here. - Signed-off-by: Stefano Brivio + Signed-off-by: Holger Schurig + Acked-by: Dan Williams Signed-off-by: John W. Linville -diff -up linux-2.6.24.noarch/net/mac80211/rc80211_pid_algo.c.orig linux-2.6.24.noarch/net/mac80211/rc80211_pid_algo.c ---- linux-2.6.24.noarch/net/mac80211/rc80211_pid_algo.c.orig 2008-03-04 19:28:35.000000000 -0500 -+++ linux-2.6.24.noarch/net/mac80211/rc80211_pid_algo.c 2008-03-04 19:30:56.000000000 -0500 -@@ -2,7 +2,7 @@ - * Copyright 2002-2005, Instant802 Networks, Inc. - * Copyright 2005, Devicescape Software, Inc. - * Copyright 2007, Mattias Nissler -- * Copyright 2007, Stefano Brivio -+ * Copyright 2007-2008, Stefano Brivio - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as -@@ -63,72 +63,66 @@ - * RC_PID_ARITH_SHIFT. - */ - -- --/* Shift the adjustment so that we won't switch to a lower rate if it exhibited -- * a worse failed frames behaviour and we'll choose the highest rate whose -- * failed frames behaviour is not worse than the one of the original rate -- * target. While at it, check that the adjustment is within the ranges. Then, -- * provide the new rate index. */ --static int rate_control_pid_shift_adjust(struct rc_pid_rateinfo *r, -- int adj, int cur, int l) --{ -- int i, j, k, tmp; -- -- j = r[cur].rev_index; -- i = j + adj; -- -- if (i < 0) -- return r[0].index; -- if (i >= l - 1) -- return r[l - 1].index; -- -- tmp = i; -- -- if (adj < 0) { -- for (k = j; k >= i; k--) -- if (r[k].diff <= r[j].diff) -- tmp = k; -- } else { -- for (k = i + 1; k + i < l; k++) -- if (r[k].diff <= r[i].diff) -- tmp = k; -- } -- -- return r[tmp].index; --} -- -+/* Adjust the rate while ensuring that we won't switch to a lower rate if it -+ * exhibited a worse failed frames behaviour and we'll choose the highest rate -+ * whose failed frames behaviour is not worse than the one of the original rate -+ * target. While at it, check that the new rate is valid. */ - static void rate_control_pid_adjust_rate(struct ieee80211_local *local, - struct sta_info *sta, int adj, - struct rc_pid_rateinfo *rinfo) - { - struct ieee80211_sub_if_data *sdata; - struct ieee80211_hw_mode *mode; -- int newidx; -- int maxrate; -- int back = (adj > 0) ? 1 : -1; -+ int cur_sorted, new_sorted, probe, tmp, n_bitrates; -+ int cur = sta->txrate; - - sdata = IEEE80211_DEV_TO_SUB_IF(sta->dev); - - mode = local->oper_hw_mode; -- maxrate = sdata->bss ? sdata->bss->max_ratectrl_rateidx : -1; -+ n_bitrates = mode->num_rates; - -- newidx = rate_control_pid_shift_adjust(rinfo, adj, sta->txrate, -- mode->num_rates); -+ /* Map passed arguments to sorted values. */ -+ cur_sorted = rinfo[cur].rev_index; -+ new_sorted = cur_sorted + adj; -+ -+ /* Check limits. */ -+ if (new_sorted < 0) -+ new_sorted = rinfo[0].rev_index; -+ else if (new_sorted >= n_bitrates) -+ new_sorted = rinfo[n_bitrates - 1].rev_index; - -- while (newidx != sta->txrate) { -- if (rate_supported(sta, mode, newidx) && -- (maxrate < 0 || newidx <= maxrate)) { -- sta->txrate = newidx; -- break; -- } -+ tmp = new_sorted; - -- newidx += back; -+ if (adj < 0) { -+ /* Ensure that the rate decrease isn't disadvantageous. */ -+ for (probe = cur_sorted; probe >= new_sorted; probe--) -+ if (rinfo[probe].diff <= rinfo[cur_sorted].diff && -+ rate_supported(sta, mode, rinfo[probe].index)) -+ tmp = probe; -+ } else { -+ /* Look for rate increase with zero (or below) cost. */ -+ for (probe = new_sorted + 1; probe < n_bitrates; probe++) -+ if (rinfo[probe].diff <= rinfo[new_sorted].diff && -+ rate_supported(sta, mode, rinfo[probe].index)) -+ tmp = probe; +diff -up linux-2.6.24.noarch/drivers/net/wireless/libertas/if_cs.c.orig linux-2.6.24.noarch/drivers/net/wireless/libertas/if_cs.c +--- linux-2.6.24.noarch/drivers/net/wireless/libertas/if_cs.c.orig 2008-03-28 12:22:08.000000000 -0400 ++++ linux-2.6.24.noarch/drivers/net/wireless/libertas/if_cs.c 2008-03-28 15:17:08.000000000 -0400 +@@ -677,9 +677,7 @@ sbi_get_int_status_exit: + + /* Card has a command result for us */ + if (*ireg & IF_CS_C_S_CMD_UPLD_RDY) { +- spin_lock(&priv->driver_lock); + ret = if_cs_receive_cmdres(priv, priv->upld_buf, &priv->upld_len); +- spin_unlock(&priv->driver_lock); + if (ret < 0) + lbs_pr_err("could not receive cmd from card\n"); } - -+ /* Fit the rate found to the nearest supported rate. */ -+ do { -+ if (rate_supported(sta, mode, rinfo[tmp].index)) { -+ sta->txrate = rinfo[tmp].index; -+ break; -+ } -+ if (adj < 0) -+ tmp--; -+ else -+ tmp++; -+ } while (tmp < n_bitrates && tmp >= 0); -+ - #ifdef CONFIG_MAC80211_DEBUGFS - rate_control_pid_event_rate_change( - &((struct rc_pid_sta_info *)sta->rate_ctrl_priv)->events, -- newidx, mode->rates[newidx].rate); -+ cur, mode->rates[cur].rate); - #endif - } - -diff -up linux-2.6.24.noarch/drivers/net/wireless/p54common.h.orig linux-2.6.24.noarch/drivers/net/wireless/p54common.h ---- linux-2.6.24.noarch/drivers/net/wireless/p54common.h.orig 2008-01-24 17:58:37.000000000 -0500 -+++ linux-2.6.24.noarch/drivers/net/wireless/p54common.h 2008-03-04 19:30:56.000000000 -0500 -@@ -53,10 +53,10 @@ struct pda_entry { - } __attribute__ ((packed)); - - struct eeprom_pda_wrap { -- u32 magic; -- u16 pad; -- u16 len; -- u32 arm_opcode; -+ __le32 magic; -+ __le16 pad; -+ __le16 len; -+ __le32 arm_opcode; - u8 data[0]; - } __attribute__ ((packed)); - -diff -up linux-2.6.24.noarch/drivers/net/wireless/p54common.c.orig linux-2.6.24.noarch/drivers/net/wireless/p54common.c ---- linux-2.6.24.noarch/drivers/net/wireless/p54common.c.orig 2008-03-04 19:28:31.000000000 -0500 -+++ linux-2.6.24.noarch/drivers/net/wireless/p54common.c 2008-03-04 19:30:56.000000000 -0500 -@@ -166,18 +166,23 @@ int p54_parse_eeprom(struct ieee80211_hw - struct p54_common *priv = dev->priv; - struct eeprom_pda_wrap *wrap = NULL; - struct pda_entry *entry; -- int i = 0; - unsigned int data_len, entry_len; - void *tmp; - int err; -+ u8 *end = (u8 *)eeprom + len; - - wrap = (struct eeprom_pda_wrap *) eeprom; -- entry = (void *)wrap->data + wrap->len; -- i += 2; -- i += le16_to_cpu(entry->len)*2; -- while (i < len) { -+ entry = (void *)wrap->data + le16_to_cpu(wrap->len); -+ -+ /* verify that at least the entry length/code fits */ -+ while ((u8 *)entry <= end - sizeof(*entry)) { - entry_len = le16_to_cpu(entry->len); - data_len = ((entry_len - 1) << 1); -+ -+ /* abort if entry exceeds whole structure */ -+ if ((u8 *)entry + sizeof(*entry) + data_len > end) -+ break; -+ - switch (le16_to_cpu(entry->code)) { - case PDR_MAC_ADDRESS: - SET_IEEE80211_PERM_ADDR(dev, entry->data); -@@ -249,13 +254,12 @@ int p54_parse_eeprom(struct ieee80211_hw - priv->version = *(u8 *)(entry->data + 1); - break; - case PDR_END: -- i = len; -+ /* make it overrun */ -+ entry_len = len; - break; - } - - entry = (void *)entry + (entry_len + 1)*2; -- i += 2; -- i += entry_len*2; - } - - if (!priv->iq_autocal || !priv->output_limit || !priv->curve_data) { -diff -up linux-2.6.24.noarch/drivers/net/wireless/b43legacy/main.c.orig linux-2.6.24.noarch/drivers/net/wireless/b43legacy/main.c ---- linux-2.6.24.noarch/drivers/net/wireless/b43legacy/main.c.orig 2008-03-04 19:28:31.000000000 -0500 -+++ linux-2.6.24.noarch/drivers/net/wireless/b43legacy/main.c 2008-03-04 19:30:56.000000000 -0500 -@@ -3829,7 +3829,7 @@ static void b43legacy_print_driverinfo(v - #ifdef CONFIG_B43LEGACY_DMA - feat_dma = "D"; - #endif -- printk(KERN_INFO "Broadcom 43xx driver loaded " -+ printk(KERN_INFO "Broadcom 43xx-legacy driver loaded " - "[ Features: %s%s%s%s%s, Firmware-ID: " - B43legacy_SUPPORTED_FIRMWARE_ID " ]\n", - feat_pci, feat_leds, feat_rfkill, feat_pio, feat_dma); -diff -up linux-2.6.24.noarch/drivers/net/wireless/rndis_wlan.c.orig linux-2.6.24.noarch/drivers/net/wireless/rndis_wlan.c ---- linux-2.6.24.noarch/drivers/net/wireless/rndis_wlan.c.orig 2008-03-04 19:28:37.000000000 -0500 -+++ linux-2.6.24.noarch/drivers/net/wireless/rndis_wlan.c 2008-03-04 19:30:56.000000000 -0500 -@@ -260,7 +260,7 @@ struct NDIS_802_11_KEY { - __le32 KeyLength; - u8 Bssid[6]; - u8 Padding[6]; -- __le64 KeyRSC; -+ u8 KeyRSC[8]; - u8 KeyMaterial[32]; - } __attribute__((packed)); - -@@ -1508,7 +1508,7 @@ static int rndis_iw_set_encode_ext(struc - struct usbnet *usbdev = dev->priv; - struct rndis_wext_private *priv = get_rndis_wext_priv(usbdev); - struct NDIS_802_11_KEY ndis_key; -- int i, keyidx, ret; -+ int keyidx, ret; - u8 *addr; - - keyidx = wrqu->encoding.flags & IW_ENCODE_INDEX; -@@ -1543,9 +1543,7 @@ static int rndis_iw_set_encode_ext(struc - ndis_key.KeyIndex = cpu_to_le32(keyidx); - - if (ext->ext_flags & IW_ENCODE_EXT_RX_SEQ_VALID) { -- for (i = 0; i < 6; i++) -- ndis_key.KeyRSC |= -- cpu_to_le64(ext->rx_seq[i] << (i * 8)); -+ memcpy(ndis_key.KeyRSC, ext->rx_seq, 6); - ndis_key.KeyIndex |= cpu_to_le32(1 << 29); +diff -up linux-2.6.24.noarch/drivers/net/wireless/iwlwifi/iwl-4965.c.orig linux-2.6.24.noarch/drivers/net/wireless/iwlwifi/iwl-4965.c +--- linux-2.6.24.noarch/drivers/net/wireless/iwlwifi/iwl-4965.c.orig 2008-03-28 12:22:07.000000000 -0400 ++++ linux-2.6.24.noarch/drivers/net/wireless/iwlwifi/iwl-4965.c 2008-03-28 15:17:08.000000000 -0400 +@@ -4589,7 +4589,7 @@ static u8 iwl4965_is_fat_tx_allowed(stru + + if (sta_ht_inf) { + if ((!sta_ht_inf->ht_supported) || +- (!sta_ht_inf->cap & IEEE80211_HT_CAP_SUP_WIDTH)) ++ (!(sta_ht_inf->cap & IEEE80211_HT_CAP_SUP_WIDTH))) + return 0; } -diff -up linux-2.6.24.noarch/drivers/net/wireless/libertas/cmdresp.c.orig linux-2.6.24.noarch/drivers/net/wireless/libertas/cmdresp.c ---- linux-2.6.24.noarch/drivers/net/wireless/libertas/cmdresp.c.orig 2008-03-04 19:28:31.000000000 -0500 -+++ linux-2.6.24.noarch/drivers/net/wireless/libertas/cmdresp.c 2008-03-04 19:30:56.000000000 -0500 -@@ -562,9 +562,7 @@ int lbs_process_rx_command(struct lbs_pr - } - - resp = (void *)priv->upld_buf; -- -- curcmd = le16_to_cpu(resp->command); -- -+ curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); - respcmd = le16_to_cpu(resp->command); - result = le16_to_cpu(resp->result); - -@@ -572,9 +570,9 @@ int lbs_process_rx_command(struct lbs_pr - respcmd, le16_to_cpu(resp->seqnum), priv->upld_len, jiffies); - lbs_deb_hex(LBS_DEB_HOST, "CMD_RESP", (void *) resp, priv->upld_len); +diff -up linux-2.6.24.noarch/drivers/net/wireless/rt2x00/rt2x00dev.c.orig linux-2.6.24.noarch/drivers/net/wireless/rt2x00/rt2x00dev.c +--- linux-2.6.24.noarch/drivers/net/wireless/rt2x00/rt2x00dev.c.orig 2008-03-28 12:22:08.000000000 -0400 ++++ linux-2.6.24.noarch/drivers/net/wireless/rt2x00/rt2x00dev.c 2008-03-28 15:17:08.000000000 -0400 +@@ -1393,11 +1393,20 @@ int rt2x00lib_suspend(struct rt2x00_dev + + exit: + /* +- * Set device mode to sleep for power management. ++ * Set device mode to sleep for power management, ++ * on some hardware this call seems to consistently fail. ++ * From the specifications it is hard to tell why it fails, ++ * and if this is a "bad thing". ++ * Overall it is safe to just ignore the failure and ++ * continue suspending. The only downside is that the ++ * device will not be in optimal power save mode, but with ++ * the radio and the other components already disabled the ++ * device is as good as disabled. + */ + retval = rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_SLEEP); + if (retval) +- return retval; ++ WARNING(rt2x00dev, "Device failed to enter sleep state, " ++ "continue suspending.\n"); -- if (resp->seqnum != resp->seqnum) { -+ if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { - lbs_pr_info("Received CMD_RESP with invalid sequence %d (expected %d)\n", -- le16_to_cpu(resp->seqnum), le16_to_cpu(resp->seqnum)); -+ le16_to_cpu(resp->seqnum), le16_to_cpu(priv->cur_cmd->cmdbuf->seqnum)); - spin_unlock_irqrestore(&priv->driver_lock, flags); - ret = -1; - goto done; -diff -up linux-2.6.24.noarch/drivers/ssb/driver_pcicore.c.orig linux-2.6.24.noarch/drivers/ssb/driver_pcicore.c ---- linux-2.6.24.noarch/drivers/ssb/driver_pcicore.c.orig 2008-03-04 19:28:37.000000000 -0500 -+++ linux-2.6.24.noarch/drivers/ssb/driver_pcicore.c 2008-03-04 19:30:56.000000000 -0500 -@@ -111,7 +111,10 @@ static void __init ssb_fixup_pcibridge(s - - /* Enable PCI bridge bus mastering and memory space */ - pci_set_master(dev); -- pcibios_enable_device(dev, ~0); -+ if (pcibios_enable_device(dev, ~0) < 0) { -+ ssb_printk(KERN_ERR "PCI: SSB bridge enable failed\n"); -+ return; -+ } - - /* Enable PCI bridge BAR1 prefetch and burst */ - pci_write_config_dword(dev, SSB_BAR1_CONTROL, 3); + return 0; + } linux-2.6-xen-0001-squashfs-Fix-build-without-CONFIG_SMP.patch: Index: linux-2.6-xen-0001-squashfs-Fix-build-without-CONFIG_SMP.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-xen-0001-squashfs-Fix-build-without-CONFIG_SMP.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-xen-0001-squashfs-Fix-build-without-CONFIG_SMP.patch 25 Mar 2008 10:49:00 -0000 1.1 +++ linux-2.6-xen-0001-squashfs-Fix-build-without-CONFIG_SMP.patch 1 Apr 2008 10:38:07 -0000 1.2 @@ -1,4 +1,4 @@ -From 9f1956a96db70970723ec983771988d70cb8286d Mon Sep 17 00:00:00 2001 +From d457f50be47bb436a599002edc3b4e30cf2c14bc Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Wed, 5 Mar 2008 12:50:50 +0000 Subject: [PATCH] squashfs: Fix build without CONFIG_SMP linux-2.6-xen-0002-xen-execshield-Add-xen-specific-load_user_cs_desc.patch: Index: linux-2.6-xen-0002-xen-execshield-Add-xen-specific-load_user_cs_desc.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-xen-0002-xen-execshield-Add-xen-specific-load_user_cs_desc.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-xen-0002-xen-execshield-Add-xen-specific-load_user_cs_desc.patch 25 Mar 2008 10:49:00 -0000 1.1 +++ linux-2.6-xen-0002-xen-execshield-Add-xen-specific-load_user_cs_desc.patch 1 Apr 2008 10:38:07 -0000 1.2 @@ -1,4 +1,4 @@ -From bfbd59d692de3fd904957de3d66047dd830e89f5 Mon Sep 17 00:00:00 2001 +From 9c0cd1ce681ec0d72901800b84f36aeebbe52bd0 Mon Sep 17 00:00:00 2001 From: Stephen Tweedie Date: Tue, 11 Mar 2008 18:05:30 +0000 Subject: [PATCH] xen execshield: Add xen-specific load_user_cs_desc() @@ -30,10 +30,10 @@ .load_idt = native_load_idt, .store_gdt = native_store_gdt, diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c -index 8b9ee27..e9a84f6 100644 +index de4e6f0..f32795f 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c -@@ -289,6 +289,22 @@ static void xen_set_ldt(const void *addr, unsigned entries) +@@ -290,6 +290,22 @@ static void xen_set_ldt(const void *addr, unsigned entries) xen_mc_issue(PARAVIRT_LAZY_CPU); } @@ -56,7 +56,7 @@ static void xen_load_gdt(const struct desc_ptr *dtr) { unsigned long *frames; -@@ -974,6 +990,7 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = { +@@ -985,6 +1001,7 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = { .load_tr_desc = paravirt_nop, .set_ldt = xen_set_ldt, linux-2.6-xen-0003-xen-execshield-fix-endless-GPF-fault-loop.patch: Index: linux-2.6-xen-0003-xen-execshield-fix-endless-GPF-fault-loop.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-xen-0003-xen-execshield-fix-endless-GPF-fault-loop.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-xen-0003-xen-execshield-fix-endless-GPF-fault-loop.patch 25 Mar 2008 10:49:00 -0000 1.1 +++ linux-2.6-xen-0003-xen-execshield-fix-endless-GPF-fault-loop.patch 1 Apr 2008 10:38:07 -0000 1.2 @@ -1,4 +1,4 @@ -From ec424a24c665e0177e74a2a3a68af50f5e73e68c Mon Sep 17 00:00:00 2001 +From 8e103bc888701246a9f561818c34b1e0962748f6 Mon Sep 17 00:00:00 2001 From: Stephen Tweedie Date: Tue, 11 Mar 2008 18:07:31 +0000 Subject: [PATCH] xen execshield: fix endless GPF fault loop linux-2.6-xen-0005-xen-Make-xen-blkfront-write-its-protocol-ABI-to-xen.patch: Index: linux-2.6-xen-0005-xen-Make-xen-blkfront-write-its-protocol-ABI-to-xen.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-xen-0005-xen-Make-xen-blkfront-write-its-protocol-ABI-to-xen.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- linux-2.6-xen-0005-xen-Make-xen-blkfront-write-its-protocol-ABI-to-xen.patch 25 Mar 2008 10:49:00 -0000 1.2 +++ linux-2.6-xen-0005-xen-Make-xen-blkfront-write-its-protocol-ABI-to-xen.patch 1 Apr 2008 10:38:07 -0000 1.3 @@ -1,4 +1,4 @@ -From df43a93787049a8559b6d19e67231cb5e617cfa7 Mon Sep 17 00:00:00 2001 +From ee6b3c4793587143d2a88dbbcae7d6119c7d1248 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 25 Feb 2008 14:02:24 +0100 Subject: [PATCH] xen: Make xen-blkfront write its protocol ABI to xenstore nouveau-drm.patch: Index: nouveau-drm.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/nouveau-drm.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- nouveau-drm.patch 6 Mar 2008 13:59:26 -0000 1.3 +++ nouveau-drm.patch 1 Apr 2008 10:38:07 -0000 1.4 @@ -1,4 +1,4 @@ -From 97feb40c0d41369a3235a192b3db7d472e65bea8 Mon Sep 17 00:00:00 2001 +From 2e677c51e2e77e78695eda61b52704144a490bec Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 29 Feb 2008 15:58:37 +1000 Subject: [PATCH] nouveau: rebased master from git @@ -138,10 +138,10 @@ obj-$(CONFIG_DRM_SAVAGE)+= savage.o obj-$(CONFIG_DRM_VIA) +=via.o diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h -index bd41621..a437ac2 100644 +index c6df504..7fb3a2f 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h -@@ -1030,7 +1030,8 @@ extern unsigned long drm_get_resource_start(struct drm_device *dev, +@@ -1033,7 +1033,8 @@ extern unsigned long drm_get_resource_start(struct drm_device *dev, unsigned int resource); extern unsigned long drm_get_resource_len(struct drm_device *dev, unsigned int resource); @@ -151,7 +151,7 @@ /* DMA support (drm_dma.h) */ extern int drm_dma_setup(struct drm_device *dev); extern void drm_dma_takedown(struct drm_device *dev); -@@ -1042,6 +1043,7 @@ extern void drm_core_reclaim_buffers(struct drm_device *dev, +@@ -1045,6 +1046,7 @@ extern void drm_core_reclaim_buffers(struct drm_device *dev, extern int drm_control(struct drm_device *dev, void *data, struct drm_file *file_priv); extern irqreturn_t drm_irq_handler(DRM_IRQ_ARGS); @@ -219,10 +219,10 @@ /** * Uninstall the IRQ handler. diff --git a/drivers/char/drm/drm_pciids.h b/drivers/char/drm/drm_pciids.h -index 715b361..e2e73e5 100644 +index a6a499f..61a00f4 100644 --- a/drivers/char/drm/drm_pciids.h +++ b/drivers/char/drm/drm_pciids.h -@@ -411,3 +411,265 @@ +@@ -412,3 +412,265 @@ {0x8086, 0x2a12, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ {0x8086, 0x2a42, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ {0, 0, 0} Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/sources,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- sources 6 Mar 2008 13:59:26 -0000 1.12 +++ sources 1 Apr 2008 10:38:07 -0000 1.13 @@ -1,3 +1,4 @@ 3f23ad4b69d0a552042d1ed0f4399857 linux-2.6.24.tar.bz2 -a4cc0fd5bda60e498246b6d69c873895 patch-2.6.25-rc4.bz2 +942182dbe41b74c95bfa46fcba5ca8ec patch-2.6.25-rc7.bz2 +0c878963c9eecb8d841480414f12aaa8 patch-2.6.25-rc7-git6.bz2 4aa57328d0802a063fa67dfc063da30e xen-3.2.0.tar.gz Index: upstream =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/upstream,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- upstream 6 Mar 2008 13:59:26 -0000 1.2 +++ upstream 1 Apr 2008 10:38:07 -0000 1.3 @@ -1,2 +1,3 @@ linux-2.6.24.tar.bz2 -patch-2.6.25-rc4.bz2 +patch-2.6.25-rc7.bz2 +patch-2.6.25-rc7-git6.bz2 --- linux-2.6-blkcipher-depend-on-chainiv.patch DELETED --- --- linux-2.6-drm-git-i915-remove-priv-access.patch DELETED --- --- linux-2.6-drm-git-mm-revert-nopfn.patch DELETED --- --- linux-2.6-ia32-syscall-restart.patch DELETED --- --- linux-2.6-ppc32-ucmpdi2.patch DELETED --- --- linux-2.6-utrace-core.patch DELETED --- --- linux-2.6-utrace-ptrace-compat-avr32.patch DELETED --- --- linux-2.6-utrace-ptrace-compat-ia64.patch DELETED --- --- linux-2.6-utrace-ptrace-compat-s390.patch DELETED --- --- linux-2.6-utrace-ptrace-compat-sparc64.patch DELETED --- --- linux-2.6-utrace-ptrace-compat.patch DELETED --- --- linux-2.6-utrace-regset-avr32.patch DELETED --- --- linux-2.6-utrace-regset-ia64.patch DELETED --- --- linux-2.6-utrace-regset-s390.patch DELETED --- --- linux-2.6-utrace-regset-sparc64.patch DELETED --- --- linux-2.6-utrace-regset.patch DELETED --- --- linux-2.6-utrace-tracehook-avr32.patch DELETED --- --- linux-2.6-utrace-tracehook-ia64.patch DELETED --- --- linux-2.6-utrace-tracehook-s390.patch DELETED --- --- linux-2.6-utrace-tracehook-sparc64.patch DELETED --- --- linux-2.6-utrace-tracehook-um.patch DELETED --- --- linux-2.6-utrace-tracehook.patch DELETED --- --- linux-2.6-virtio_blk-fix-sysfs-bits.patch DELETED --- --- linux-2.6-wireless-pending-too.patch DELETED --- --- linux-2.6-xen-0004-xen-Make-hvc0-the-preferred-console-in-domU.patch DELETED --- --- linux-2.6-xen-0006-fbdev-Make-deferred-I-O-work-as-advertized.patch DELETED --- --- linux-2.6-xen-0007-xen-pvfb-Para-virtual-framebuffer-keyboard-and-poi.patch DELETED --- --- linux-2.6-xen-0008-xen-Module-autoprobing-support-for-frontend-drivers.patch DELETED --- --- linux-2.6-xen-0009-xen-Add-compatibility-aliases-for-frontend-drivers.patch DELETED --- --- linux-2.6-xen-0010-xen-blkfront-Delay-wait-for-block-devices-until-aft.patch DELETED --- --- linux-2.6-xen-0011-xen-Add-a-vmlinuz-target.patch DELETED --- --- linux-2.6-xen-0012-xen-Add-empty-xenctrl-module.patch DELETED --- --- linux-2.6-xen-0013-xen-Add-proc-xen-capabilities.patch DELETED --- --- linux-2.6-xen-0014-xen-Add-proc-xen-privcmd.patch DELETED --- --- linux-2.6-xen-0015-xen-Add-proc-xen-xenbus.patch DELETED --- --- linux-2.6-xen-0016-xen-Add-Xen-s-sys-hypervisor-interface.patch DELETED --- --- linux-2.6-xen-0017-xen-debug-Add-xprintk-to-log-directly-via-hypercall.patch DELETED --- --- linux-2.6-xen-0018-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch DELETED --- --- linux-2.6-xen-0019-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch DELETED --- --- linux-2.6-xen-0020-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch DELETED --- --- patch-2.6.25-rc4.bz2.sign DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 10:47:33 2008 From: fedora-extras-commits at redhat.com (David Nielsen (dnielsen)) Date: Tue, 1 Apr 2008 10:47:33 GMT Subject: rpms/mono-zeroconf/F-8 mono-zeroconf.spec,1.1,1.2 Message-ID: <200804011047.m31AlXqc012494@cvs-int.fedora.redhat.com> Author: dnielsen Update of /cvs/pkgs/rpms/mono-zeroconf/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12454/F-8 Modified Files: mono-zeroconf.spec Log Message: Attempt to figure out mysterious commit problem that caused: http://koji.fedoraproject.org/koji/taskinfo?taskID=541609 Index: mono-zeroconf.spec =================================================================== RCS file: /cvs/pkgs/rpms/mono-zeroconf/F-8/mono-zeroconf.spec,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- mono-zeroconf.spec 1 Apr 2008 08:45:58 -0000 1.1 +++ mono-zeroconf.spec 1 Apr 2008 10:46:56 -0000 1.2 @@ -2,7 +2,7 @@ Name: mono-zeroconf Version: 0.7.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Mono-zeroconf namespace Group: Development/Languages License: GPLv2 @@ -59,6 +59,9 @@ %{_libdir}/pkgconfig/mono-zeroconf.pc %changelog +* Tue Apr 01 2008 David Nielsen - 0.7.5-4 +- Attempt to avoid mysterious commit problem + * Mon Mar 31 2008 David Nielsen - 0.7.5-3 - Remove debuginfo From fedora-extras-commits at redhat.com Tue Apr 1 11:14:37 2008 From: fedora-extras-commits at redhat.com (Mamoru Tasaka (mtasaka)) Date: Tue, 1 Apr 2008 11:14:37 GMT Subject: rpms/tideEditor/devel tideEditor.spec,1.8,1.9 Message-ID: <200804011114.m31BEbGI019266@cvs-int.fedora.redhat.com> Author: mtasaka Update of /cvs/extras/rpms/tideEditor/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19246 Modified Files: tideEditor.spec Log Message: * Tue Apr 1 2008 Mamoru Tasaka - 1.4.1-2 - Fix BuildRequires wrt qt3 <-> qt4 name change Index: tideEditor.spec =================================================================== RCS file: /cvs/extras/rpms/tideEditor/devel/tideEditor.spec,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- tideEditor.spec 9 Feb 2008 04:22:31 -0000 1.8 +++ tideEditor.spec 1 Apr 2008 11:13:54 -0000 1.9 @@ -1,6 +1,6 @@ Name: tideEditor Version: 1.4.1 -Release: 1%{?dist}.4 +Release: 2%{?dist} Summary: Editor for Tide Constituent Database (TCD) files Group: Applications/Engineering @@ -9,7 +9,7 @@ Source0: ftp://ftp.flaterco.com/xtide/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: qt-devel +BuildRequires: qt%( if [ 0%{?fedora} -gt 8 ] ; then echo -n 3 ; fi )-devel BuildRequires: libtcd-devel Requires: xtide-common @@ -38,6 +38,9 @@ %{_bindir}/tideEditor %changelog +* Tue Apr 1 2008 Mamoru Tasaka - 1.4.1-2 +- Fix BuildRequires wrt qt3 <-> qt4 name change + * Sat Feb 9 2008 Mamoru Tasaka - Rebuild against gcc43 From fedora-extras-commits at redhat.com Tue Apr 1 11:18:13 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:18:13 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested watchbugzilla Message-ID: <200804011126.m31BQHo3013211@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchbugzilla acl on sg3_utils (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:19:16 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:19:16 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested approveacls Message-ID: <200804011126.m31BQIG9013215@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the approveacls acl on sg3_utils (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:18:15 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:18:15 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested commit Message-ID: <200804011126.m31BQHo6013211@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the commit acl on sg3_utils (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:18:24 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:18:24 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested watchcommits Message-ID: <200804011126.m31BQHo9013211@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchcommits acl on sg3_utils (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:18:39 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:18:39 +0000 Subject: [pkgdb] sg3_utils: sharkcz has given up approveacls Message-ID: <200804011126.m31BQhvb013324@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has given up the approveacls acl on sg3_utils (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:19:57 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:19:57 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested watchbugzilla Message-ID: <200804011126.m31BQIGC013215@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchbugzilla acl on sg3_utils (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:18:58 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:18:58 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested watchcommits Message-ID: <200804011127.m31BQhve013324@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchcommits acl on sg3_utils (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:20:03 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:20:03 +0000 Subject: [pkgdb] sg3_utils: sharkcz has given up watchbugzilla Message-ID: <200804011127.m31BQIGF013215@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has given up the watchbugzilla acl on sg3_utils (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:19:06 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:19:06 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested watchbugzilla Message-ID: <200804011127.m31BQhvh013324@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchbugzilla acl on sg3_utils (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:19:10 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:19:10 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested commit Message-ID: <200804011127.m31BRFVX013456@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the commit acl on sg3_utils (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:19:23 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:19:23 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested watchbugzilla Message-ID: <200804011127.m31BRFVa013456@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchbugzilla acl on sg3_utils (Fedora 8) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:20:29 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:20:29 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested watchcommits Message-ID: <200804011127.m31BRVxl013510@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchcommits acl on sg3_utils (Fedora 8) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:19:35 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:19:35 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested commit Message-ID: <200804011127.m31BRFVd013456@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the commit acl on sg3_utils (Fedora 8) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:20:53 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:20:53 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested approveacls Message-ID: <200804011127.m31BRVxo013510@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the approveacls acl on sg3_utils (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:21:04 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:21:04 +0000 Subject: [pkgdb] sg3_utils: sharkcz has given up approveacls Message-ID: <200804011128.m31BRVxr013510@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has given up the approveacls acl on sg3_utils (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:20:28 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:20:28 +0000 Subject: [pkgdb] openhpi: sharkcz has requested watchcommits Message-ID: <200804011128.m31BRFVg013456@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchcommits acl on openhpi (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:21:33 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:21:33 +0000 Subject: [pkgdb] openhpi: sharkcz has requested commit Message-ID: <200804011128.m31BSZ8E013699@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the commit acl on openhpi (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:21:41 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:21:41 +0000 Subject: [pkgdb] openhpi: sharkcz has requested approveacls Message-ID: <200804011128.m31BSZ8H013699@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the approveacls acl on openhpi (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:20:49 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:20:49 +0000 Subject: [pkgdb] openhpi: sharkcz has requested watchbugzilla Message-ID: <200804011128.m31BSrBc013752@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchbugzilla acl on openhpi (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:21:54 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:21:54 +0000 Subject: [pkgdb] openhpi: sharkcz has requested watchcommits Message-ID: <200804011128.m31BSZ8K013699@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchcommits acl on openhpi (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:20:59 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:20:59 +0000 Subject: [pkgdb] openhpi: sharkcz has requested approveacls Message-ID: <200804011129.m31BSrBf013752@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the approveacls acl on openhpi (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:22:06 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:22:06 +0000 Subject: [pkgdb] openhpi: sharkcz has given up watchcommits Message-ID: <200804011129.m31BSZ8N013699@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has given up the watchcommits acl on openhpi (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:21:14 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:21:14 +0000 Subject: [pkgdb] openhpi: sharkcz has requested watchcommits Message-ID: <200804011129.m31BSrBi013752@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchcommits acl on openhpi (Fedora 8) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:22:18 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:22:18 +0000 Subject: [pkgdb] openhpi: sharkcz has requested commit Message-ID: <200804011129.m31BTKbx013878@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the commit acl on openhpi (Fedora 8) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:24:55 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:24:55 +0000 Subject: [pkgdb] openhpi: sharkcz has requested commit Message-ID: <200804011133.m31BX0oJ013995@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the commit acl on openhpi (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:26:02 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:26:02 +0000 Subject: [pkgdb] openhpi: sharkcz has requested watchcommits Message-ID: <200804011133.m31BX4Dt014014@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchcommits acl on openhpi (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:27:39 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:27:39 +0000 Subject: [pkgdb] sg3_utils: sharkcz has requested approveacls Message-ID: <200804011135.m31BZi7Y014092@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the approveacls acl on sg3_utils (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 11:28:56 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 11:28:56 +0000 Subject: [pkgdb] openhpi: sharkcz has requested watchcommits Message-ID: <200804011135.m31BZw8S014120@bastion.fedora.phx.redhat.com> Dan Horak (sharkcz) has requested the watchcommits acl on openhpi (Fedora 7) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 11:40:25 2008 From: fedora-extras-commits at redhat.com (Mark McLoughlin (markmc)) Date: Tue, 1 Apr 2008 11:40:25 GMT Subject: rpms/kernel-xen-2.6/devel kernel.spec,1.21,1.22 Message-ID: <200804011140.m31BeP6m019629@cvs-int.fedora.redhat.com> Author: markmc Update of /cvs/pkgs/rpms/kernel-xen-2.6/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19608 Modified Files: kernel.spec Log Message: Untold number of kittens were killed in the making of this RPM. Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/kernel.spec,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- kernel.spec 1 Apr 2008 10:38:06 -0000 1.21 +++ kernel.spec 1 Apr 2008 11:39:48 -0000 1.22 @@ -1680,7 +1680,7 @@ # More text can follow to go at the end of this variant's %%post. # %define kernel_variant_posttrans(s:r:v:) \ -%{expand:%%posttrans %{?-v*}}\ +%{expand:%%posttrans %{?-v:-n %{variantbase}%{-v*}}}\ /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --rpmposttrans %{KVERREL}%{?-v:.%{-v*}} || exit $?\ %{nil} @@ -1691,7 +1691,7 @@ # %define kernel_variant_post(s:r:v:) \ %{expand:%%kernel_devel_post %{?-v*}}\ -%{expand:%%kernel_variant_posttrans -n %{variantbase}%{?-v*}}\ +%{expand:%%kernel_variant_posttrans %{?-v*}} %{expand:%%post -n %{variantbase}%{?-v*}}\ %{-s:\ if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\ From fedora-extras-commits at redhat.com Tue Apr 1 11:42:40 2008 From: fedora-extras-commits at redhat.com (Than Ngo (than)) Date: Tue, 1 Apr 2008 11:42:40 GMT Subject: rpms/kde-l10n/devel kde-l10n.spec,1.17,1.18 Message-ID: <200804011142.m31Bgea0019757@cvs-int.fedora.redhat.com> Author: than Update of /cvs/extras/rpms/kde-l10n/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19690 Modified Files: kde-l10n.spec Log Message: fix rpm file list (ar) Index: kde-l10n.spec =================================================================== RCS file: /cvs/extras/rpms/kde-l10n/devel/kde-l10n.spec,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- kde-l10n.spec 1 Apr 2008 10:16:15 -0000 1.17 +++ kde-l10n.spec 1 Apr 2008 11:42:00 -0000 1.18 @@ -771,6 +771,7 @@ %files Arabic %defattr(-,root,root) %lang(ar) %{_datadir}/locale/ar/* +%lang(ar) %{_datadir}/kde4/apps/klettres/ar %if %{buildall} %files Azerbaijani From fedora-extras-commits at redhat.com Tue Apr 1 11:42:58 2008 From: fedora-extras-commits at redhat.com (Mark McLoughlin (markmc)) Date: Tue, 1 Apr 2008 11:42:58 GMT Subject: rpms/kernel-xen-2.6/devel kernel.spec,1.22,1.23 Message-ID: <200804011142.m31BgwfN019789@cvs-int.fedora.redhat.com> Author: markmc Update of /cvs/pkgs/rpms/kernel-xen-2.6/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19708 Modified Files: kernel.spec Log Message: Bah, how did that happen Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/kernel.spec,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- kernel.spec 1 Apr 2008 11:39:48 -0000 1.22 +++ kernel.spec 1 Apr 2008 11:42:15 -0000 1.23 @@ -1691,7 +1691,7 @@ # %define kernel_variant_post(s:r:v:) \ %{expand:%%kernel_devel_post %{?-v*}}\ -%{expand:%%kernel_variant_posttrans %{?-v*}} +%{expand:%%kernel_variant_posttrans %{?-v*}}\ %{expand:%%post -n %{variantbase}%{?-v*}}\ %{-s:\ if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\ From fedora-extras-commits at redhat.com Tue Apr 1 12:02:16 2008 From: fedora-extras-commits at redhat.com (Denis Leroy (denis)) Date: Tue, 1 Apr 2008 12:02:16 GMT Subject: rpms/k3d/devel k3d.spec,1.21,1.22 Message-ID: <200804011202.m31C2GF4026170@cvs-int.fedora.redhat.com> Author: denis Update of /cvs/pkgs/rpms/k3d/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26137 Modified Files: k3d.spec Log Message: Bumped up release number Index: k3d.spec =================================================================== RCS file: /cvs/pkgs/rpms/k3d/devel/k3d.spec,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- k3d.spec 1 Apr 2008 09:53:03 -0000 1.21 +++ k3d.spec 1 Apr 2008 12:01:32 -0000 1.22 @@ -1,7 +1,7 @@ Name: k3d Version: 0.6.7.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A 3D Modeling, Animation and Rendering System Group: Applications/Multimedia @@ -161,7 +161,7 @@ %changelog -* Tue Apr 1 2008 Denis Leroy - 0.6.7.0-5 +* Tue Apr 1 2008 Denis Leroy - 0.6.7.0-6 - Added patch to fix sigc++ include headers * Sat Feb 16 2008 Denis Leroy - 0.6.7.0-5 From fedora-extras-commits at redhat.com Tue Apr 1 12:06:21 2008 From: fedora-extras-commits at redhat.com (Mark McLoughlin (markmc)) Date: Tue, 1 Apr 2008 12:06:21 GMT Subject: rpms/kernel-xen-2.6/devel kernel.spec,1.23,1.24 Message-ID: <200804011206.m31C6LTN026341@cvs-int.fedora.redhat.com> Author: markmc Update of /cvs/pkgs/rpms/kernel-xen-2.6/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26216 Modified Files: kernel.spec Log Message: Dammit Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/kernel.spec,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- kernel.spec 1 Apr 2008 11:42:15 -0000 1.23 +++ kernel.spec 1 Apr 2008 12:03:50 -0000 1.24 @@ -1680,7 +1680,7 @@ # More text can follow to go at the end of this variant's %%post. # %define kernel_variant_posttrans(s:r:v:) \ -%{expand:%%posttrans %{?-v:-n %{variantbase}%{-v*}}}\ +%{expand:%%posttrans %{?-v:-n %{variantbase}-%{-v*}}}\ /sbin/new-kernel-pkg --package kernel%{?-v:-%{-v*}} --rpmposttrans %{KVERREL}%{?-v:.%{-v*}} || exit $?\ %{nil} From fedora-extras-commits at redhat.com Tue Apr 1 12:07:56 2008 From: fedora-extras-commits at redhat.com (Tim Waugh (twaugh)) Date: Tue, 1 Apr 2008 12:07:56 GMT Subject: rpms/cups/devel cups.spec,1.404,1.405 Message-ID: <200804011207.m31C7ub0026442@cvs-int.fedora.redhat.com> Author: twaugh Update of /cvs/pkgs/rpms/cups/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26313 Modified Files: cups.spec Log Message: * Thu Apr 1 2008 Tim Waugh 1:1.3.6-8 - Ship a few doc files (bug #438598). Index: cups.spec =================================================================== RCS file: /cvs/pkgs/rpms/cups/devel/cups.spec,v retrieving revision 1.404 retrieving revision 1.405 diff -u -r1.404 -r1.405 --- cups.spec 27 Mar 2008 11:41:54 -0000 1.404 +++ cups.spec 1 Apr 2008 12:05:26 -0000 1.405 @@ -7,7 +7,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.3.6 -Release: 7%{?svn:.svn%{svn}}%{?dist} +Release: 8%{?svn:.svn%{svn}}%{?dist} License: GPLv2 Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?svn:svn-r%{svn}}-source.tar.bz2 @@ -345,6 +345,7 @@ %files %defattr(-,root,root) +%doc LICENSE.txt README.txt CREDITS.txt CHANGES.txt %dir %attr(0755,root,lp) /etc/cups %dir %attr(0755,root,lp) /var/run/cups %dir %attr(0511,lp,sys) /var/run/cups/certs @@ -440,6 +441,9 @@ %{cups_serverbin}/daemon/cups-lpd %changelog +* Thu Apr 1 2008 Tim Waugh 1:1.3.6-8 +- Ship a few doc files (bug #438598). + * Thu Mar 27 2008 Tim Waugh 1:1.3.6-7 - Don't ship broken symlink %%{_datadir}/cups/doc (bug #438598). From fedora-extras-commits at redhat.com Tue Apr 1 12:13:12 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:13:12 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011220.m31CKEsv015412@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the watchcommits acl on sg3_utils (Fedora devel) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:12:12 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:12:12 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011220.m31CKHVR015434@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the commit acl on sg3_utils (Fedora devel) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:13:23 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:13:23 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011220.m31CKEt0015412@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the approveacls acl on sg3_utils (Fedora devel) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:12:43 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:12:43 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011220.m31CKHVU015434@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the watchcommits acl on sg3_utils (Fedora 7) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:12:44 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:12:44 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011220.m31CKHVX015434@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the commit acl on sg3_utils (Fedora 7) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:13:48 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:13:48 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011220.m31CKEt3015412@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the commit acl on sg3_utils (Fedora devel) to Approved for Denis Leroy (denis) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:12:51 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:12:51 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011220.m31CKvke015557@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the approveacls acl on sg3_utils (Fedora 7) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:13:57 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:13:57 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011221.m31CL0tG015575@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the commit acl on sg3_utils (Fedora 8) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:12:55 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:12:55 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011221.m31CKvkg015557@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the commit acl on sg3_utils (Fedora 8) to Approved for Denis Leroy (denis) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:13:59 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:13:59 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011221.m31CL0tJ015575@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the watchbugzilla acl on sg3_utils (Fedora 8) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:13:01 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:13:01 +0000 Subject: [pkgdb] sg3_utils had acl change status Message-ID: <200804011221.m31CKvkk015557@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the approveacls acl on sg3_utils (Fedora 8) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/sg3_utils From fedora-extras-commits at redhat.com Tue Apr 1 12:15:12 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:15:12 +0000 Subject: [pkgdb] openhpi had acl change status Message-ID: <200804011222.m31CMEQX015734@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the commit acl on openhpi (Fedora devel) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 12:14:15 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:14:15 +0000 Subject: [pkgdb] openhpi had acl change status Message-ID: <200804011222.m31CMKBl015754@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the approveacls acl on openhpi (Fedora devel) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 12:15:19 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:15:19 +0000 Subject: [pkgdb] openhpi had acl change status Message-ID: <200804011222.m31CMEQa015734@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the watchcommits acl on openhpi (Fedora 7) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 12:14:17 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:14:17 +0000 Subject: [pkgdb] openhpi had acl change status Message-ID: <200804011222.m31CMKBo015754@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the watchbugzilla acl on openhpi (Fedora 7) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 12:15:21 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:15:21 +0000 Subject: [pkgdb] openhpi had acl change status Message-ID: <200804011222.m31CMEQd015734@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the commit acl on openhpi (Fedora 7) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 12:14:23 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:14:23 +0000 Subject: [pkgdb] openhpi had acl change status Message-ID: <200804011222.m31CMKBr015754@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the watchcommits acl on openhpi (Fedora 8) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 12:15:27 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:15:27 +0000 Subject: [pkgdb] openhpi had acl change status Message-ID: <200804011222.m31CMUCH015855@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the approveacls acl on openhpi (Fedora 8) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 12:14:25 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 12:14:25 +0000 Subject: [pkgdb] openhpi had acl change status Message-ID: <200804011222.m31CMUUq015852@bastion.fedora.phx.redhat.com> Phil Knirsch (pknirsch) has set the commit acl on openhpi (Fedora 8) to Approved for Dan Horak (sharkcz) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/openhpi From fedora-extras-commits at redhat.com Tue Apr 1 12:19:51 2008 From: fedora-extras-commits at redhat.com (Mark McLoughlin (markmc)) Date: Tue, 1 Apr 2008 12:19:51 GMT Subject: rpms/kernel-xen-2.6/devel kernel.spec,1.24,1.25 Message-ID: <200804011219.m31CJptV026751@cvs-int.fedora.redhat.com> Author: markmc Update of /cvs/pkgs/rpms/kernel-xen-2.6/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26722 Modified Files: kernel.spec Log Message: fubar Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/kernel.spec,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- kernel.spec 1 Apr 2008 12:03:50 -0000 1.24 +++ kernel.spec 1 Apr 2008 12:19:11 -0000 1.25 @@ -1692,7 +1692,7 @@ %define kernel_variant_post(s:r:v:) \ %{expand:%%kernel_devel_post %{?-v*}}\ %{expand:%%kernel_variant_posttrans %{?-v*}}\ -%{expand:%%post -n %{variantbase}%{?-v*}}\ +%{expand:%%post -n %{variantbase}-%{?-v*}}\ %{-s:\ if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&\ [ -f /etc/sysconfig/kernel ]; then\ From fedora-extras-commits at redhat.com Tue Apr 1 12:21:15 2008 From: fedora-extras-commits at redhat.com (Tim Waugh (twaugh)) Date: Tue, 1 Apr 2008 12:21:15 GMT Subject: rpms/foomatic/devel foomatic.spec,1.183,1.184 Message-ID: <200804011221.m31CLFYD026864@cvs-int.fedora.redhat.com> Author: twaugh Update of /cvs/pkgs/rpms/foomatic/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26830 Modified Files: foomatic.spec Log Message: * Tue Apr 1 2008 Tim Waugh 3.0.2-59 - More foo2zjs printers removed (bug #438319). Index: foomatic.spec =================================================================== RCS file: /cvs/pkgs/rpms/foomatic/devel/foomatic.spec,v retrieving revision 1.183 retrieving revision 1.184 diff -u -r1.183 -r1.184 --- foomatic.spec 13 Mar 2008 14:05:11 -0000 1.183 +++ foomatic.spec 1 Apr 2008 12:20:35 -0000 1.184 @@ -6,7 +6,7 @@ Summary: Foomatic printer database. Name: foomatic Version: 3.0.2 -Release: 58%{?dist} +Release: 59%{?dist} License: GPLv2+ Group: System Environment/Libraries @@ -116,7 +116,8 @@ perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.0<,' printer/*.xml # Remove references to foo2zjs, foo2oak, foo2hp and foo2qpdl (bug #208851). -for x in zjs oak hp qpdl +# Also foo2lava, foo2kyo, foo2xqx (bug #438319). +for x in zjs oak hp qpdl lava kyo xqx do find printer -name '*.xml' |xargs grep -l "foo2${x}"|xargs rm -vf rm -f driver/foo2${x}.xml opt/foo2${x}-* @@ -247,6 +248,9 @@ %{_var}/cache/foomatic %changelog +* Tue Apr 1 2008 Tim Waugh 3.0.2-59 +- More foo2zjs printers removed (bug #438319). + * Thu Mar 13 2008 Tim Waugh 3.0.2-58 - Applied patch from upstream to make foomatic-rip clean up correctly when a job is cancelled. From fedora-extras-commits at redhat.com Tue Apr 1 12:22:53 2008 From: fedora-extras-commits at redhat.com (=?utf-8?q?Jos=C3=A9_Ab=C3=ADlio_Oliveira_Matos?= (jamatos)) Date: Tue, 1 Apr 2008 12:22:53 GMT Subject: rpms/PyRTF/devel PyRTF.spec,1.5,1.6 Message-ID: <200804011222.m31CMrh4026928@cvs-int.fedora.redhat.com> Author: jamatos Update of /cvs/pkgs/rpms/PyRTF/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26907 Modified Files: PyRTF.spec Log Message: * Tue Apr 1 2008 Jos?? Matos - 0.45-6 - Declare egg-info for F9+. Index: PyRTF.spec =================================================================== RCS file: /cvs/pkgs/rpms/PyRTF/devel/PyRTF.spec,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- PyRTF.spec 28 Aug 2007 16:42:53 -0000 1.5 +++ PyRTF.spec 1 Apr 2008 12:22:06 -0000 1.6 @@ -2,7 +2,7 @@ Name: PyRTF Version: 0.45 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Rich Text Format (RTF) Document Generation in Python Group: Development/Languages @@ -39,7 +39,7 @@ rm -rf %buildroot %{__python} setup.py install -O1 --skip-build --root %buildroot - + %clean rm -rf %buildroot @@ -47,11 +47,17 @@ %files %defattr(-,root,root,-) %doc PKG-INFO -%dir %{python_sitelib}/PyRTF -%{python_sitelib}/PyRTF/*.py -%{python_sitelib}/PyRTF/*.py[co] + +%if 0%{?fedora} >= 9 +%{python_sitearch}/PyRTF*egg-info +%endif +%{python_sitelib}/PyRTF + %changelog +* Tue Apr 1 2008 Jos?? Matos - 0.45-6 +- Declare egg-info for F9+. + * Tue Aug 28 2007 Jos?? Matos - 0.45-5 - License fix, rebuild for devel (F8). From fedora-extras-commits at redhat.com Tue Apr 1 12:27:03 2008 From: fedora-extras-commits at redhat.com (Tim Waugh (twaugh)) Date: Tue, 1 Apr 2008 12:27:03 GMT Subject: rpms/foomatic/F-8 foomatic-clean-up-on-cancel.patch, NONE, 1.1 foomatic.spec, 1.172, 1.173 Message-ID: <200804011227.m31CR3bc027156@cvs-int.fedora.redhat.com> Author: twaugh Update of /cvs/pkgs/rpms/foomatic/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27116 Modified Files: foomatic.spec Added Files: foomatic-clean-up-on-cancel.patch Log Message: Updated to match devel. foomatic-clean-up-on-cancel.patch: --- NEW FILE foomatic-clean-up-on-cancel.patch --- diff -up foomatic-filters-3.0-20080211/foomatic-rip.in.clean-up-on-cancel foomatic-filters-3.0-20080211/foomatic-rip.in --- foomatic-filters-3.0-20080211/foomatic-rip.in.clean-up-on-cancel 2008-02-11 21:16:36.000000000 +0000 +++ foomatic-filters-3.0-20080211/foomatic-rip.in 2008-03-13 11:42:35.000000000 +0000 @@ -155,19 +155,19 @@ my $EXIT_PRNERR_NORETRY = 2; # printer my $EXIT_JOBERR = 3; # job is defective my $EXIT_SIGNAL = 4; # terminated after catching signal my $EXIT_ENGAGED = 5; # printer is otherwise engaged (connection - # refused) + # refused) my $EXIT_STARVED = 6; # starved for system resources my $EXIT_PRNERR_NORETRY_ACCESS_DENIED = 7; # bad password? bad port - # permissions? + # permissions? my $EXIT_PRNERR_NOT_RESPONDING = 8; # just doesn't answer at all - # (turned off?) + # (turned off?) my $EXIT_PRNERR_NORETRY_BAD_SETTINGS = 9; # interface settings are invalid my $EXIT_PRNERR_NO_SUCH_ADDRESS = 10; # address lookup failed, may be - # transient + # transient my $EXIT_PRNERR_NORETRY_NO_SUCH_ADDRESS = 11; # address lookup failed, not - # transient + # transient my $EXIT_INCAPABLE = 50; # printer wants (lacks) features - # or resources + # or resources # Standard Unix signal names #my SIGHUP = 1; #my SIGINT = 2; @@ -181,6 +181,21 @@ my $EXIT_INCAPABLE = 50; my $ESPIPE = 29; # the errno value when seeking a pipe or socket +# The modern_shell() function will register the PIDs of all shell calls, +# so that rip_die() can kill these processes +my %pids; + +# $kidgeneration stays 0 for the main process, child processes of the +# main process get $kidgeneration = 1, their children 2, ... +my $kidgeneration = 0; + +# Catch signals +my $retval = $EXIT_PRINTED; +use sigtrap qw(handler set_exit_canceled normal-signals + handler set_exit_error error-signals + handler set_exit_prnerr USR1 + handler set_exit_prnerr_noretry USR2 + handler set_exit_engaged TTIN); ## Some important variables @@ -2153,7 +2168,7 @@ if ($debug) { } - + ## From here on we have to repeat all the rest of the program for ## every file to print @@ -3538,13 +3553,8 @@ sub getrendererhandle { print $logh "${added_lf}Starting renderer\n"; - # Catch signals + # Reset return value of the renderer $retval = $EXIT_PRINTED; - use sigtrap qw(handler set_exit_prnerr USR1 - handler set_exit_prnerr_noretry USR2 - handler set_exit_engaged TTIN); - - # Variables for the kid processes reporting their state # Set up a pipe for the kids to pass their exit stat to the main process pipe KID_MESSAGE, KID_MESSAGE_IN; @@ -3585,6 +3595,8 @@ sub getrendererhandle { return ( *KID3, $kid3 ); } else { + $kidgeneration += 1; + close KID3; pipe KID4_IN, KID4; @@ -3774,6 +3786,8 @@ sub getrendererhandle { print $logh "KID3 finished\n"; exit $EXIT_PRINTED; } else { + $kidgeneration += 1; + # child, trailing task on the pipe; we write jcl stuff close KID4; close KID3_IN; @@ -4112,6 +4126,8 @@ sub getfileconverterhandle { return ( *KID1_IN, $kid1 ); } else { + $kidgeneration += 1; + # We go on reading the job data and stuff it into the file # converter close KID1_IN; @@ -4253,6 +4269,8 @@ sub getfileconverterhandle { print $logh "KID1 finished\n"; exit $EXIT_PRINTED; } else { + $kidgeneration += 1; + # child, first part of the pipe, reading in the data from # standard input and stuffing it into the file converter # after putting in the already read data (in $alreadyread) @@ -4580,6 +4598,8 @@ sub getdocgeneratorhandle { return ( *KID0_IN, $kid0 ); } + $kidgeneration += 1; + # we are the kid; we generate the documentation page close KID0_IN; @@ -4867,66 +4887,100 @@ sub rip_die { my $errmsg = "$!"; my $errcod = $! + 0; - # Close the documentation page generator (if it was used) - if ($docgeneratorpid) { - if ($kid0) { - print $logh "Killing process $kid0 (KID0)\n"; - kill(9, $kid0); + # Log that we are dying ... + print $logh "Process dying with \"$message\", exit stat: $exitstat\n\terror: $errmsg ($errcod)\n"; + + print $logh "Cleaning up ...\n"; + foreach my $killsignal (15, 9) { + + # Kill all registered subshells + foreach my $pid (keys %pids) { + print $logh "Killing process $pid ($pids{$pid}) and its subprocesses with signal $killsignal\n"; + # This call kills the process group with group ID $pid, the + # group which was formed from the initial process $pid which + # contains $pid and all its subprocesses + kill(-$killsignal, $pid); + # If the system does not support process groups and therefore + # the call above does not kill anything, kill at least $pid + kill($killsignal, $pid); } - $docgeneratorpid = 0; - } - # Close the file converter (if it was used) - if ($fileconverterpid) { + # Close the documentation page generator (if it was used) + if ($kid0) { + print $logh "Killing process $kid0 (KID0) with signal $killsignal\n"; + kill($killsignal, $kid0); + } + + # Close the file converter (if it was used) if ($kid2) { - print $logh "Killing process $kid2 (KID2)\n"; - kill(9, $kid2); + print $logh "Killing process $kid2 (KID2) with signal $killsignal\n"; + kill($killsignal, $kid2); } if ($kid1) { - print $logh "Killing process $kid1 (KID1)\n"; - kill(9, $kid1); + print $logh "Killing process $kid1 (KID1) with signal $killsignal\n"; + kill($killsignal, $kid1); } - $fileconverterpid = 0; - } - # Close the renderer - if ($rendererpid) { + # Close the renderer if ($kid4) { - print $logh "Killing process $kid4 (KID4)\n"; - kill(9, $kid4); + print $logh "Killing process $kid4 (KID4) with signal $killsignal\n"; + kill($killsignal, $kid4); } if ($kid3) { - print $logh "Killing process $kid3 (KID3)\n"; - kill(9, $kid3); + print $logh "Killing process $kid3 (KID3) with signal $killsignal\n"; + kill($killsignal, $kid3); } - $rendererpid = 0; + + # Wait some time for the processes to close + sleep(5 - $kidgeneration) if $killsignal != 9; } - print $logh "Process dying with \"$message\", exit stat: $exitstat\n\terror: $errmsg ($errcod)\n"; - if ($spooler eq 'ppr_int') { - # Special error handling for PPR intefaces - $message =~ s/\\/\\\\/; - $message =~ s/\"/\\\"/; - my @messagelines = split("\n", $message); - my $firstline = "TRUE"; - for my $line (@messagelines) { - modern_system("lib/alert $printer $firstline \"$line\""); - $firstline = "FALSE"; + # Do the debug dump and the PPR error handling only from the main process + if ($kidgeneration == 0) { # We are the main process + + if ($spooler eq 'ppr_int') { + # Special error handling for PPR intefaces + $message =~ s/\\/\\\\/; + $message =~ s/\"/\\\"/; + my @messagelines = split("\n", $message); + my $firstline = "TRUE"; + for my $line (@messagelines) { + modern_system("lib/alert $printer $firstline \"$line\""); + $firstline = "FALSE"; + } + } else { + print STDERR $message . "\n"; + } + if ($debug) { + use Data::Dumper; + local $Data::Dumper::Purity=1; + local $Data::Dumper::Indent=1; + print $logh Dumper($dat); } - } else { - print STDERR $message . "\n"; - } - if ($debug) { - use Data::Dumper; - local $Data::Dumper::Purity=1; - local $Data::Dumper::Indent=1; - print $logh Dumper($dat); } + + ## The End + print $logh "${added_lf}Closing foomatic-rip.\n"; + close $logh; + exit $exitstat; } # Signal handling routines +sub do_nothing { +} + +sub set_exit_canceled { + $retval = $EXIT_PRINTED; + rip_die ("Caught termination signal: Job canceled", $retval); +} + +sub set_exit_error { + $retval = $EXIT_SIGNAL; + rip_die ("Caught error signal: Error in renderer, driver, or foomatic-rip", $retval); +} + sub set_exit_prnerr { $retval = $EXIT_PRNERR; } @@ -6592,20 +6646,36 @@ sub read_attribute_file { sub modern_system { my (@list) = @_; - if (($modern_shell =~ /.+/) && ($modern_shell ne '/bin/sh')) { - # a "modern" shell other than the default shell was specified - my $pid = fork(); - - ($pid < 0) && die "failed to fork()"; - - if ($pid == 0) { # child, execute the commands under a modern shell - exec($modern_shell, "-c", @list); - die "exec($modern_shell, \"-c\", @list);"; - } else { # parent, wait for the child - waitpid($pid, 0); - } - } else { # the system shell is "modern" enough. - system(@list); + if ($modern_shell |~ /.+/) { + # No "modern" shell other than the default shell was specified + $modern_shell = '/bin/sh'; + } + + my $pid = fork(); + ($pid < 0) && die "failed to fork()"; + + if ($pid == 0) { # child, execute the commands under a modern shell + # If the system supports process groups, we create a process + # group of this subshell process. All the children of this + # process (calls of external filters, renderers, or drivers) + # will be members of this process group and so by killing this + # process group we can kill all subprocesses and so we can + # cleanly cancel print jobs + eval("setpgrp()"); + # Stop catching signals + #use sigtrap qw(die normal-signals error-signals + # handler do_nothing USR1 USR2 TTIN); + exec($modern_shell, "-c", @list); + rip_die("exec($modern_shell, \"-c\", @list);", + $EXIT_PRNERR_NORETRY_BAD_SETTINGS); + } else { # parent, register child's PID, wait for the child, and + # unregister the PID + $pids{$pid} = substr(join(" ", @list), 0, 100) . + (length(join(" ", @list)) > 100 ? "..." : ""); + print $logh "Starting process $pid: \"$pids{$pid}\"\n"; + waitpid($pid, 0); + print $logh "Process $pid ending: \"$pids{$pid}\"\n"; + delete $pids{$pid}; } } Index: foomatic.spec =================================================================== RCS file: /cvs/pkgs/rpms/foomatic/F-8/foomatic.spec,v retrieving revision 1.172 retrieving revision 1.173 diff -u -r1.172 -r1.173 --- foomatic.spec 9 Jan 2008 17:56:50 -0000 1.172 +++ foomatic.spec 1 Apr 2008 12:26:24 -0000 1.173 @@ -1,13 +1,13 @@ -%define dbver 20071218 -%define enginever 3.0-20071218 -%define filtersver 20071218 -%define hpijsver 20071218 +%define dbver 20080211 +%define enginever 3.0-20080211 +%define filtersver 20080211 +%define hpijsver 20080211 Summary: Foomatic printer database. Name: foomatic Version: 3.0.2 -Release: 53%{?dist} -License: GPL +Release: 59%{?dist} +License: GPLv2+ Group: System Environment/Libraries # Generated by: @@ -43,6 +43,8 @@ # Missing IEEE 1284 IDs. Patch16: foomatic-ieee1284.patch +Patch17: foomatic-clean-up-on-cancel.patch + Url: http://www.linuxprinting.org BuildRequires: perl >= 3:5.8.1 BuildRequires: perl(ExtUtils::MakeMaker) @@ -86,6 +88,7 @@ pushd foomatic-filters-3.0-%{filtersver} %patch1 -p1 -b .libdir %patch5 -p1 -b .fontpath +%patch17 -p1 -b .clean-up-on-cancel ./make_configure popd @@ -113,7 +116,8 @@ perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.0<,' printer/*.xml # Remove references to foo2zjs, foo2oak, foo2hp and foo2qpdl (bug #208851). -for x in zjs oak hp qpdl +# Also foo2lava, foo2kyo, foo2xqx (bug #438319). +for x in zjs oak hp qpdl lava kyo xqx do find printer -name '*.xml' |xargs grep -l "foo2${x}"|xargs rm -vf rm -f driver/foo2${x}.xml opt/foo2${x}-* @@ -244,11 +248,34 @@ %{_var}/cache/foomatic %changelog +* Tue Apr 1 2008 Tim Waugh 3.0.2-59 +- More foo2zjs printers removed (bug #438319). + +* Thu Mar 13 2008 Tim Waugh 3.0.2-58 +- Applied patch from upstream to make foomatic-rip clean up correctly when + a job is cancelled. + +* Mon Mar 3 2008 Tom "spot" Callaway 3.0.2-57 +- rebuild for new perl (again) + +* Wed Feb 13 2008 Tim Waugh 3.0.2-56 +- Updated filters to 3.0-20080211. +- Updated db-hpijs to 20080211. +- Updated db-engine to 3.0-20080211. +- Updated db to 3.0-20080211. + +* Sat Feb 2 2008 Tom "spot" Callaway 3.0.2-55 +- rebuild for new perl + +* Thu Jan 10 2008 Tom "spot" Callaway 3.0.2-54 +- rebuild for new perl +- correct license tag + * Wed Jan 9 2008 Tim Waugh 3.0.2-53 - Updated db-hpijs to 20071218. - Updated db to 3.0-20071218. - Updated db-engine to 3.0-20071218. -- Updated filters to 20071218 (bug #416881). +- Updated filters to 3.0-20071218 (bug #416881). * Mon Jan 7 2008 Tim Waugh - Removed foo2qpdl drivers and printers (bug #208851). From fedora-extras-commits at redhat.com Tue Apr 1 12:32:44 2008 From: fedora-extras-commits at redhat.com (=?utf-8?q?Jos=C3=A9_Ab=C3=ADlio_Oliveira_Matos?= (jamatos)) Date: Tue, 1 Apr 2008 12:32:44 GMT Subject: rpms/PyRTF/devel PyRTF.spec,1.6,1.7 Message-ID: <200804011232.m31CWiBv027457@cvs-int.fedora.redhat.com> Author: jamatos Update of /cvs/pkgs/rpms/PyRTF/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27419 Modified Files: PyRTF.spec Log Message: * Tue Apr 1 2008 Jos?? Matos - 0.45-7 - Fix the path to the egg-info. Index: PyRTF.spec =================================================================== RCS file: /cvs/pkgs/rpms/PyRTF/devel/PyRTF.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- PyRTF.spec 1 Apr 2008 12:22:06 -0000 1.6 +++ PyRTF.spec 1 Apr 2008 12:31:36 -0000 1.7 @@ -2,7 +2,7 @@ Name: PyRTF Version: 0.45 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Rich Text Format (RTF) Document Generation in Python Group: Development/Languages @@ -49,12 +49,15 @@ %doc PKG-INFO %if 0%{?fedora} >= 9 -%{python_sitearch}/PyRTF*egg-info +%{python_sitelib}/PyRTF*egg-info %endif %{python_sitelib}/PyRTF %changelog +* Tue Apr 1 2008 Jos?? Matos - 0.45-7 +- Fix the path to the egg-info. + * Tue Apr 1 2008 Jos?? Matos - 0.45-6 - Declare egg-info for F9+. From fedora-extras-commits at redhat.com Tue Apr 1 12:49:44 2008 From: fedora-extras-commits at redhat.com (Lillian Angel (langel)) Date: Tue, 1 Apr 2008 12:49:44 GMT Subject: rpms/java-1.6.0-openjdk/devel java-1.6.0-openjdk-optflags.patch, 1.3, 1.4 Message-ID: <200804011249.m31Cnixu027843@cvs-int.fedora.redhat.com> Author: langel Update of /cvs/pkgs/rpms/java-1.6.0-openjdk/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27822 Modified Files: java-1.6.0-openjdk-optflags.patch Log Message: Fixed patch java-1.6.0-openjdk-optflags.patch: Index: java-1.6.0-openjdk-optflags.patch =================================================================== RCS file: /cvs/pkgs/rpms/java-1.6.0-openjdk/devel/java-1.6.0-openjdk-optflags.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- java-1.6.0-openjdk-optflags.patch 27 Mar 2008 17:39:29 -0000 1.3 +++ java-1.6.0-openjdk-optflags.patch 1 Apr 2008 12:49:35 -0000 1.4 @@ -1,68 +1,5 @@ -diff -r 9e9a92bb08c4 patches/icedtea-optflags.patch ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ patches/icedtea-optflags.patch Wed Mar 19 11:52:35 2008 -0400 -@@ -0,0 +1,59 @@ -+--- oldopenjdk/hotspot/src/share/vm/libadt/port.hpp 2008-02-28 05:02:37.000000000 -0500 -++++ openjdk/hotspot/src/share/vm/libadt/port.hpp 2008-03-14 16:21:10.000000000 -0400 -+@@ -39,8 +39,8 @@ -+ #include -+ #undef bzero -+ inline void bzero(void *b, int len) { memset(b,0,len); } -+-#undef bcopy -+-inline void bcopy(const void *s, void *d, size_t len) { memmove(d,s,len); } -++//#undef bcopy -++//inline void bcopy(const void *s, void *d, size_t len) { memmove(d,s,len); } -+ #undef bcmp -+ inline int bcmp(const void *s,const void *t,int len) { return memcmp(s,t,len);} -+ extern "C" unsigned long strtoul(const char *s, char **end, int base); -+--- oldopenjdk/hotspot/build/linux/makefiles/rules.make 2008-03-19 01:02:55.000000000 -0400 -++++ openjdk/hotspot/build/linux/makefiles/rules.make 2008-03-19 10:47:33.000000000 -0400 -+@@ -37,8 +37,8 @@ -+ DEMANGLE = $(DEMANGLER) < $@ > .$@ && mv -f .$@ $@ -+ -+ # $(CC) is the c compiler (cc/gcc), $(CCC) is the c++ compiler (CC/g++). -+-C_COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) -+-CC_COMPILE = $(CCC) $(CPPFLAGS) $(CFLAGS) -++C_COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) $(ALT_OPT_CFLAGS) -++CC_COMPILE = $(CCC) $(CPPFLAGS) $(CFLAGS) $(ALT_OPT_CFLAGS) -+ -+ AS.S = $(AS) $(ASFLAGS) -+ -+--- oldopenjdk/hotspot/agent/src/os/linux/Makefile 2008-03-19 01:02:55.000000000 -0400 -++++ openjdk/hotspot/agent/src/os/linux/Makefile 2008-03-19 10:58:51.000000000 -0400 -+@@ -40,7 +40,7 @@ -+ -+ LIBS = -lthread_db -+ -+-CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) -++CFLAGS = -c $(ALT_OPT_CFLAGS) -fPIC -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) -+ -+ LIBSA = $(ARCH)/libsaproc.so -+ -+--- oldopenjdk/corba/make/common/Defs.gmk 2008-02-28 05:04:22.000000000 -0500 -++++ openjdk/corba/make/common/Defs.gmk 2008-03-19 11:37:33.000000000 -0400 -+@@ -444,7 +444,7 @@ -+ # Tool flags -+ # -+ ASFLAGS = $(ASFLAGS_$(VARIANT)) $(ASFLAGS_COMMON) $(OTHER_ASFLAGS) -+-CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) -++CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) $(ALT_OPT_CFLAGS) -+ CXXFLAGS = $(CXXFLAGS_$(VARIANT)/BYFILE) $(CXXFLAGS_COMMON) $(OTHER_CXXFLAGS) -+ CPPFLAGS = $(CPPFLAGS_$(VARIANT)) $(CPPFLAGS_COMMON) $(OTHER_CPPFLAGS) \ -+ $(DEFINES) $(OPTIONS:%=-D%) -+--- oldopenjdk/jdk/make/common/Defs.gmk 2008-03-19 01:02:55.000000000 -0400 -++++ openjdk/jdk/make/common/Defs.gmk 2008-03-19 11:38:19.000000000 -0400 -+@@ -664,7 +664,7 @@ -+ # Tool flags -+ # -+ ASFLAGS = $(ASFLAGS_$(VARIANT)) $(ASFLAGS_COMMON) $(OTHER_ASFLAGS) -+-CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) -++CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) $(ALT_OPT_CFLAGS) -+ CXXFLAGS = $(CXXFLAGS_$(VARIANT)/BYFILE) $(CXXFLAGS_COMMON) $(OTHER_CXXFLAGS) -+ CPPFLAGS = $(CPPFLAGS_$(VARIANT)) $(CPPFLAGS_COMMON) $(OTHER_CPPFLAGS) \ -+ $(DEFINES) $(OPTIONS:%=-D%) ---- oldicedtea6/Makefile.am 2008-03-27 10:02:20.000000000 -0400 -+++ Makefile.am 2008-03-27 13:19:02.000000000 -0400 +--- openjdkold/icedtea6/Makefile.am 2008-03-31 13:53:06.000000000 -0400 ++++ Makefile.am 2008-04-01 08:43:45.000000000 -0400 @@ -94,6 +94,7 @@ "ZERO_ENDIANNESS=$(ZERO_ENDIANNESS)" \ "ZERO_ARCHDEF=$(ZERO_ARCHDEF)" \ @@ -79,16 +16,28 @@ "LIBFFI_CFLAGS=$(LIBFFI_CFLAGS)" \ "LIBFFI_LIBS=$(LIBFFI_LIBS)" \ "FREETYPE2_HEADERS=$(FREETYPE2_CFLAGS)" \ -@@ -277,6 +279,7 @@ - patches/icedtea-lib64.patch \ +@@ -278,6 +280,7 @@ patches/icedtea-zero-build.patch \ patches/icedtea-print-lsb-release.patch \ + patches/icedtea-jpegclasses.patch \ + patches/icedtea-optflags.patch \ $(GCC_PATCH) \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) ---- oldicedtea6/Makefile.in 2008-03-27 10:02:25.000000000 -0400 -+++ Makefile.in 2008-03-27 13:19:07.000000000 -0400 +--- openjdkold/icedtea6/configure.ac 2008-03-31 09:47:41.000000000 -0400 ++++ configure.ac 2008-04-01 08:41:47.000000000 -0400 +@@ -133,6 +133,9 @@ + ]) + AM_CONDITIONAL(WITH_OPENJDK, test "${with_openjdk}" == true) + ++ALT_OPT_CFLAGS="$(rpm --eval '%optflags' | sed -e 's/-mtune=generic//1')" ++AC_SUBST(ALT_OPT_CFLAGS) ++ + SET_ARCH_DIRS + if test "${with_openjdk}" == true + then +--- openjdkold/icedtea6/Makefile.in 2008-03-31 13:53:10.000000000 -0400 ++++ Makefile.in 2008-04-01 08:44:03.000000000 -0400 @@ -73,6 +73,7 @@ ALSA_CFLAGS = @ALSA_CFLAGS@ ALSA_LIBS = @ALSA_LIBS@ @@ -97,7 +46,7 @@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ -@@ -285,6 +285,7 @@ +@@ -287,6 +288,7 @@ "ZERO_ENDIANNESS=$(ZERO_ENDIANNESS)" \ "ZERO_ARCHDEF=$(ZERO_ARCHDEF)" \ "ZERO_ARCHFLAG=$(ZERO_ARCHFLAG)" \ @@ -105,7 +54,7 @@ "LIBFFI_CFLAGS=$(LIBFFI_CFLAGS)" "LIBFFI_LIBS=$(LIBFFI_LIBS)" \ "FREETYPE2_HEADERS=$(FREETYPE2_CFLAGS)" \ "FT2_LIB=$(FREETYPE2_LIBS)" $(am__append_1) -@@ -322,6 +323,7 @@ +@@ -324,6 +326,7 @@ "ZERO_ENDIANNESS=$(ZERO_ENDIANNESS)" \ "ZERO_ARCHDEF=$(ZERO_ARCHDEF)" \ "ZERO_ARCHFLAG=$(ZERO_ARCHFLAG)" \ @@ -113,31 +62,19 @@ "LIBFFI_CFLAGS=$(LIBFFI_CFLAGS)" "LIBFFI_LIBS=$(LIBFFI_LIBS)" \ "FREETYPE2_HEADERS=$(FREETYPE2_CFLAGS)" \ "FT2_LIB=$(FREETYPE2_LIBS)" $(am__append_2) -@@ -381,7 +383,8 @@ - patches/icedtea-timerqueue.patch \ +@@ -384,7 +387,8 @@ patches/icedtea-generated.patch patches/icedtea-lib64.patch \ patches/icedtea-zero-build.patch \ -- patches/icedtea-print-lsb-release.patch $(GCC_PATCH) \ -+ patches/icedtea-print-lsb-release.patch \ + patches/icedtea-print-lsb-release.patch \ +- patches/icedtea-jpegclasses.patch $(GCC_PATCH) \ ++ patches/icedtea-jpegclasses.patch \ + patches/icedtea-optflags.patch $(GCC_PATCH) \ $(FAST_BUILD_PATCH) $(DISTRIBUTION_PATCHES) $(am__append_3) # Patch OpenJDK for plug replacements and ecj. ---- oldicedtea6/configure.ac 2008-03-20 10:23:58.000000000 -0400 -+++ configure.ac 2008-03-27 13:19:21.000000000 -0400 -@@ -131,6 +131,9 @@ - ]) - AM_CONDITIONAL(WITH_OPENJDK, test "${with_openjdk}" == true) - -+ALT_OPT_CFLAGS="$(rpm --eval '%optflags' | sed -e 's/-mtune=generic//1')" -+AC_SUBST(ALT_OPT_CFLAGS) -+ - SET_ARCH_DIRS - if test "${with_openjdk}" == true - then ---- oldicedtea6/configure 2008-03-26 09:54:26.000000000 -0400 -+++ configure 2008-03-27 13:19:24.000000000 -0400 -@@ -724,6 +724,7 @@ +--- openjdkold/icedtea6/configure 2008-03-31 12:15:40.000000000 -0400 ++++ configure 2008-04-01 08:44:07.000000000 -0400 +@@ -726,6 +726,7 @@ WITH_ICEDTEA_FALSE WITH_OPENJDK_TRUE WITH_OPENJDK_FALSE @@ -145,7 +82,7 @@ BUILD_ARCH_DIR INSTALL_ARCH_DIR JAVA -@@ -5371,6 +5372,9 @@ +@@ -5591,6 +5592,9 @@ fi @@ -155,7 +92,7 @@ case "${host}" in x86_64-*-*) -@@ -12339,6 +12343,7 @@ +@@ -12561,6 +12565,7 @@ WITH_ICEDTEA_FALSE!$WITH_ICEDTEA_FALSE$ac_delim WITH_OPENJDK_TRUE!$WITH_OPENJDK_TRUE$ac_delim WITH_OPENJDK_FALSE!$WITH_OPENJDK_FALSE$ac_delim @@ -163,12 +100,74 @@ BUILD_ARCH_DIR!$BUILD_ARCH_DIR$ac_delim INSTALL_ARCH_DIR!$INSTALL_ARCH_DIR$ac_delim JAVA!$JAVA$ac_delim -@@ -12410,7 +12415,7 @@ +@@ -12632,7 +12637,7 @@ LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF -- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then -+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then +- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then ++ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +--- openjdkold/icedtea6/patches/icedtea-optflags.patch 1969-12-31 19:00:00.000000000 -0500 ++++ patches/icedtea-optflags.patch 2008-04-01 08:41:47.000000000 -0400 +@@ -0,0 +1,59 @@ ++--- oldopenjdk/hotspot/src/share/vm/libadt/port.hpp 2008-02-28 05:02:37.000000000 -0500 +++++ openjdk/hotspot/src/share/vm/libadt/port.hpp 2008-03-14 16:21:10.000000000 -0400 ++@@ -39,8 +39,8 @@ ++ #include ++ #undef bzero ++ inline void bzero(void *b, int len) { memset(b,0,len); } ++-#undef bcopy ++-inline void bcopy(const void *s, void *d, size_t len) { memmove(d,s,len); } +++//#undef bcopy +++//inline void bcopy(const void *s, void *d, size_t len) { memmove(d,s,len); } ++ #undef bcmp ++ inline int bcmp(const void *s,const void *t,int len) { return memcmp(s,t,len);} ++ extern "C" unsigned long strtoul(const char *s, char **end, int base); ++--- oldopenjdk/hotspot/build/linux/makefiles/rules.make 2008-03-19 01:02:55.000000000 -0400 +++++ openjdk/hotspot/build/linux/makefiles/rules.make 2008-03-19 10:47:33.000000000 -0400 ++@@ -37,8 +37,8 @@ ++ DEMANGLE = $(DEMANGLER) < $@ > .$@ && mv -f .$@ $@ ++ ++ # $(CC) is the c compiler (cc/gcc), $(CCC) is the c++ compiler (CC/g++). ++-C_COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) ++-CC_COMPILE = $(CCC) $(CPPFLAGS) $(CFLAGS) +++C_COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) $(ALT_OPT_CFLAGS) +++CC_COMPILE = $(CCC) $(CPPFLAGS) $(CFLAGS) $(ALT_OPT_CFLAGS) ++ ++ AS.S = $(AS) $(ASFLAGS) ++ ++--- oldopenjdk/hotspot/agent/src/os/linux/Makefile 2008-03-19 01:02:55.000000000 -0400 +++++ openjdk/hotspot/agent/src/os/linux/Makefile 2008-03-19 10:58:51.000000000 -0400 ++@@ -40,7 +40,7 @@ ++ ++ LIBS = -lthread_db ++ ++-CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) +++CFLAGS = -c $(ALT_OPT_CFLAGS) -fPIC -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) ++ ++ LIBSA = $(ARCH)/libsaproc.so ++ ++--- oldopenjdk/corba/make/common/Defs.gmk 2008-02-28 05:04:22.000000000 -0500 +++++ openjdk/corba/make/common/Defs.gmk 2008-03-19 11:37:33.000000000 -0400 ++@@ -444,7 +444,7 @@ ++ # Tool flags ++ # ++ ASFLAGS = $(ASFLAGS_$(VARIANT)) $(ASFLAGS_COMMON) $(OTHER_ASFLAGS) ++-CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) +++CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) $(ALT_OPT_CFLAGS) ++ CXXFLAGS = $(CXXFLAGS_$(VARIANT)/BYFILE) $(CXXFLAGS_COMMON) $(OTHER_CXXFLAGS) ++ CPPFLAGS = $(CPPFLAGS_$(VARIANT)) $(CPPFLAGS_COMMON) $(OTHER_CPPFLAGS) \ ++ $(DEFINES) $(OPTIONS:%=-D%) ++--- oldopenjdk/jdk/make/common/Defs.gmk 2008-03-19 01:02:55.000000000 -0400 +++++ openjdk/jdk/make/common/Defs.gmk 2008-03-19 11:38:19.000000000 -0400 ++@@ -664,7 +664,7 @@ ++ # Tool flags ++ # ++ ASFLAGS = $(ASFLAGS_$(VARIANT)) $(ASFLAGS_COMMON) $(OTHER_ASFLAGS) ++-CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) +++CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) $(ALT_OPT_CFLAGS) ++ CXXFLAGS = $(CXXFLAGS_$(VARIANT)/BYFILE) $(CXXFLAGS_COMMON) $(OTHER_CXXFLAGS) ++ CPPFLAGS = $(CPPFLAGS_$(VARIANT)) $(CPPFLAGS_COMMON) $(OTHER_CPPFLAGS) \ ++ $(DEFINES) $(OPTIONS:%=-D%) From fedora-extras-commits at redhat.com Tue Apr 1 12:53:26 2008 From: fedora-extras-commits at redhat.com (Mark McLoughlin (markmc)) Date: Tue, 1 Apr 2008 12:53:26 GMT Subject: rpms/kernel-xen-2.6/devel Makefile, 1.7, 1.8 Makefile.config, 1.7, 1.8 kernel.spec, 1.25, 1.26 linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch, 1.1, 1.2 Message-ID: <200804011253.m31CrQVf027983@cvs-int.fedora.redhat.com> Author: markmc Update of /cvs/pkgs/rpms/kernel-xen-2.6/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27947 Modified Files: Makefile Makefile.config kernel.spec linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch Log Message: Fix broken x86_64 patch Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/kernel.spec,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- kernel.spec 1 Apr 2008 12:19:11 -0000 1.25 +++ kernel.spec 1 Apr 2008 12:52:48 -0000 1.26 @@ -684,7 +684,6 @@ Patch5016: linux-2.6-xen-0017-xen-x86_64-Add-64-bit-version-of-privcmd_hypercall.patch Patch5017: linux-2.6-xen-0018-xen-x86_64-Only-define-load_user_cs_desc-on-32-bi.patch Patch5018: linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch - # kernel-xen patches end # Xen hypervisor patches (20000+) linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch: Index: linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch 1 Apr 2008 10:38:07 -0000 1.1 +++ linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch 1 Apr 2008 12:52:48 -0000 1.2 @@ -1,4 +1,4 @@ -From 71e0f3287bad1bc651fd2ea450fef451663a0edd Mon Sep 17 00:00:00 2001 +From 42d111eabbcc4a561cacb15c67b83d2a2a52f16e Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Thu, 28 Feb 2008 12:16:04 -0300 Subject: [PATCH] xen x86_64: Initial x86_64 support for Xen paravirt_ops @@ -40,7 +40,7 @@ arch/x86/vdso/vdso32-setup.c | 6 +- arch/x86/xen/Kconfig | 1 - arch/x86/xen/Makefile | 6 + - arch/x86/xen/enlighten.c | 301 +++++++++++++------ + arch/x86/xen/enlighten.c | 266 +++++++++++------ arch/x86/xen/entry.S | 5 + arch/x86/xen/entry_32.S | 81 +++++ arch/x86/xen/entry_64.S | 68 ++++ @@ -88,7 +88,7 @@ include/xen/page.h | 34 ++- init/main.c | 10 + mm/slab.c | 8 +- - 80 files changed, 2803 insertions(+), 673 deletions(-) + 80 files changed, 2768 insertions(+), 673 deletions(-) create mode 100644 arch/x86/xen/entry.S create mode 100644 arch/x86/xen/entry_32.S create mode 100644 arch/x86/xen/entry_64.S @@ -1898,7 +1898,7 @@ + obj-$(CONFIG_SMP) += smp.o diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c -index 5c91ae7..82af000 100644 +index 5c91ae7..53ee6ac 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -36,6 +36,7 @@ @@ -1932,7 +1932,7 @@ /* Check to see if the hypervisor will put the vcpu_info structure where we want it, which allows direct access via a percpu-variable. */ -@@ -134,6 +140,45 @@ static void __init xen_vcpu_setup(int cpu) +@@ -134,6 +140,10 @@ static void __init xen_vcpu_setup(int cpu) printk(KERN_DEBUG "cpu %d using vcpu_info at %p\n", cpu, vcpup); } @@ -1940,45 +1940,10 @@ + have_vcpu_info_placement = 0; +#endif + -+} -+ -+void kcons_write_dom0(const char *s, unsigned int count) -+{ -+#if 0 -+ int rc; -+ -+ while ((count > 0) && -+ ((rc = HYPERVISOR_console_io( -+ CONSOLEIO_write, count, (char *)s)) > 0)) { -+ count -= rc; -+ s += rc; -+ } -+#else -+ HYPERVISOR_console_io(CONSOLEIO_write, count, (char *)s); -+#endif -+} -+ -+ -+/*** Useful function for console debugging -- goes straight to Xen. ***/ -+asmlinkage int xprintk(const char *fmt, ...) -+{ -+ va_list args; -+ int printk_len; -+ static char printk_buf[1024]; -+ -+ /* Emit the output into the temporary buffer */ -+ va_start(args, fmt); -+ printk_len = vsnprintf(printk_buf, sizeof(printk_buf), fmt, args); -+ va_end(args); -+ -+ /* Send the processed output directly to Xen. */ -+ kcons_write_dom0(printk_buf, printk_len); -+ -+ return 0; } static void __init xen_banner(void) -@@ -388,6 +433,7 @@ static void xen_load_tls(struct thread_struct *t, unsigned int cpu) +@@ -388,6 +398,7 @@ static void xen_load_tls(struct thread_struct *t, unsigned int cpu) xen_mc_issue(PARAVIRT_LAZY_CPU); @@ -1986,7 +1951,7 @@ /* * XXX sleazy hack: If we're being called in a lazy-cpu zone, * it means we're in a context switch, and %gs has just been -@@ -396,10 +442,29 @@ static void xen_load_tls(struct thread_struct *t, unsigned int cpu) +@@ -396,10 +407,29 @@ static void xen_load_tls(struct thread_struct *t, unsigned int cpu) * Either way, it has been saved, and the new value will get * loaded properly. This will go away as soon as Xen has been * modified to not save/restore %gs for normal hypercalls. @@ -2017,7 +1982,7 @@ static void xen_write_ldt_entry(struct desc_struct *dt, int entrynum, const void *ptr) -@@ -417,23 +482,18 @@ static void xen_write_ldt_entry(struct desc_struct *dt, int entrynum, +@@ -417,23 +447,18 @@ static void xen_write_ldt_entry(struct desc_struct *dt, int entrynum, preempt_enable(); } @@ -2047,7 +2012,7 @@ info->flags |= 4; return 1; -@@ -460,11 +520,10 @@ static void xen_write_idt_entry(gate_desc *dt, int entrynum, const gate_desc *g) +@@ -460,11 +485,10 @@ static void xen_write_idt_entry(gate_desc *dt, int entrynum, const gate_desc *g) if (p >= start && (p + 8) <= end) { struct trap_info info[2]; @@ -2060,7 +2025,7 @@ if (HYPERVISOR_set_trap_table(info)) BUG(); } -@@ -477,13 +536,13 @@ static void xen_convert_trap_info(const struct desc_ptr *desc, +@@ -477,13 +501,13 @@ static void xen_convert_trap_info(const struct desc_ptr *desc, { unsigned in, out, count; @@ -2077,7 +2042,7 @@ out++; } traps[out].address = 0; -@@ -656,7 +715,11 @@ static unsigned long xen_read_cr2(void) +@@ -656,7 +680,11 @@ static unsigned long xen_read_cr2(void) static unsigned long xen_read_cr2_direct(void) { @@ -2089,7 +2054,7 @@ } static void xen_write_cr4(unsigned long cr4) -@@ -683,7 +746,10 @@ static void xen_write_cr3(unsigned long cr3) +@@ -683,7 +711,10 @@ static void xen_write_cr3(unsigned long cr3) BUG_ON(preemptible()); @@ -2101,13 +2066,17 @@ /* Update while interrupts are disabled, so its atomic with respect to ipis */ -@@ -699,86 +765,66 @@ static void xen_write_cr3(unsigned long cr3) +@@ -699,86 +730,66 @@ static void xen_write_cr3(unsigned long cr3) been submitted. */ xen_mc_callback(set_current_cr3, (void *)cr3); - xen_mc_issue(PARAVIRT_LAZY_CPU); /* interrupts restored */ -} -- ++#ifdef CONFIG_X86_64 ++ { ++ pgd_t *pgd = __va(cr3); ++ unsigned long user_mfn = virt_to_mfn(__user_pgd(pgd)); + -/* Early in boot, while setting up the initial pagetable, assume - everything is pinned. */ -static __init void xen_alloc_pt_init(struct mm_struct *mm, u32 pfn) @@ -2115,10 +2084,7 @@ - BUG_ON(mem_map); /* should only be used early */ - make_lowmem_page_readonly(__va(PFN_PHYS(pfn))); -} -+#ifdef CONFIG_X86_64 -+ { -+ pgd_t *pgd = __va(cr3); -+ unsigned long user_mfn = virt_to_mfn(__user_pgd(pgd)); ++ mcs = __xen_mc_entry(sizeof(*op)); -/* Early release_pt assumes that all pts are pinned, since there's - only init_mm and anything attached to that is pinned. */ @@ -2126,8 +2092,7 @@ -{ - make_lowmem_page_readwrite(__va(PFN_PHYS(pfn))); -} -+ mcs = __xen_mc_entry(sizeof(*op)); - +- -static void pin_pagetable_pfn(unsigned cmd, unsigned long pfn) -{ - struct mmuext_op op; @@ -2232,7 +2197,7 @@ } #ifdef CONFIG_HIGHPTE -@@ -817,14 +863,25 @@ static __init void xen_set_pte_init(pte_t *ptep, pte_t pte) +@@ -817,14 +828,25 @@ static __init void xen_set_pte_init(pte_t *ptep, pte_t pte) xen_set_pte(ptep, pte); } @@ -2258,7 +2223,7 @@ /* * copy top-level of Xen-supplied pagetable into place. For * !PAE we can use this as-is, but for PAE it is a stand-in -@@ -863,6 +920,7 @@ static __init void xen_pagetable_setup_start(pgd_t *base) +@@ -863,6 +885,7 @@ static __init void xen_pagetable_setup_start(pgd_t *base) * added to the table can be prepared properly for Xen. */ xen_write_cr3(__pa(base)); @@ -2266,7 +2231,7 @@ /* Unpin initial Xen pagetable */ pin_pagetable_pfn(MMUEXT_UNPIN_TABLE, -@@ -879,9 +937,7 @@ static __init void setup_shared_info(void) +@@ -879,9 +902,7 @@ static __init void setup_shared_info(void) * Should be set_fixmap(), but shared_info is a machine * address with no corresponding pseudo-phys address. */ @@ -2277,7 +2242,7 @@ HYPERVISOR_shared_info = (struct shared_info *)addr; } else -@@ -906,6 +962,16 @@ static __init void xen_pagetable_setup_done(pgd_t *base) +@@ -906,6 +927,16 @@ static __init void xen_pagetable_setup_done(pgd_t *base) setup_shared_info(); @@ -2294,7 +2259,7 @@ /* Actually pin the pagetable down, but we can't set PG_pinned yet because the page structures don't exist yet. */ { -@@ -919,6 +985,7 @@ static __init void xen_pagetable_setup_done(pgd_t *base) +@@ -919,6 +950,7 @@ static __init void xen_pagetable_setup_done(pgd_t *base) pin_pagetable_pfn(level, PFN_DOWN(__pa(base))); } @@ -2302,7 +2267,7 @@ } /* This is called once we have the cpu_possible_map */ -@@ -961,10 +1028,12 @@ static unsigned xen_patch(u8 type, u16 clobbers, void *insnbuf, +@@ -961,10 +993,12 @@ static unsigned xen_patch(u8 type, u16 clobbers, void *insnbuf, goto patch_site switch (type) { @@ -2315,7 +2280,7 @@ #undef SITE patch_site: -@@ -1043,8 +1112,13 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = { +@@ -1043,8 +1077,13 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = { .read_tsc = native_read_tsc, .read_pmc = native_read_pmc, @@ -2329,7 +2294,7 @@ .load_tr_desc = paravirt_nop, .set_ldt = xen_set_ldt, -@@ -1054,6 +1128,9 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = { +@@ -1054,6 +1093,9 @@ static const struct pv_cpu_ops xen_cpu_ops __initdata = { .load_gdt = xen_load_gdt, .load_idt = xen_load_idt, .load_tls = xen_load_tls, @@ -2339,7 +2304,7 @@ .store_gdt = native_store_gdt, .store_idt = native_store_idt, -@@ -1122,7 +1199,7 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = { +@@ -1122,7 +1164,7 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = { .kmap_atomic_pte = xen_kmap_atomic_pte, #endif @@ -2348,7 +2313,7 @@ .set_pte_at = xen_set_pte_at, .set_pmd = xen_set_pmd, -@@ -1135,13 +1212,21 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = { +@@ -1135,13 +1177,21 @@ static const struct pv_mmu_ops xen_mmu_ops __initdata = { #ifdef CONFIG_X86_PAE .set_pte_atomic = xen_set_pte_atomic, .set_pte_present = xen_set_pte_at, @@ -2372,7 +2337,7 @@ .activate_mm = xen_activate_mm, .dup_mmap = xen_dup_mmap, -@@ -1206,6 +1291,7 @@ static const struct machine_ops __initdata xen_machine_ops = { +@@ -1206,6 +1256,7 @@ static const struct machine_ops __initdata xen_machine_ops = { }; @@ -2380,7 +2345,7 @@ static void __init xen_reserve_top(void) { unsigned long top = HYPERVISOR_VIRT_START; -@@ -1216,6 +1302,11 @@ static void __init xen_reserve_top(void) +@@ -1216,6 +1267,11 @@ static void __init xen_reserve_top(void) reserve_top_address(-top + 2 * PAGE_SIZE); } @@ -2392,7 +2357,7 @@ /* First C function to be called on Xen boot */ asmlinkage void __init xen_start_kernel(void) -@@ -1227,6 +1318,21 @@ asmlinkage void __init xen_start_kernel(void) +@@ -1227,6 +1283,21 @@ asmlinkage void __init xen_start_kernel(void) BUG_ON(memcmp(xen_start_info->magic, "xen-3", 5) != 0); @@ -2414,7 +2379,7 @@ /* Install Xen paravirt ops */ pv_info = xen_info; pv_init_ops = xen_init_ops; -@@ -1236,7 +1342,10 @@ asmlinkage void __init xen_start_kernel(void) +@@ -1236,7 +1307,10 @@ asmlinkage void __init xen_start_kernel(void) pv_apic_ops = xen_apic_ops; pv_mmu_ops = xen_mmu_ops; @@ -2425,7 +2390,7 @@ #ifdef CONFIG_SMP smp_ops = xen_smp_ops; -@@ -1250,19 +1359,33 @@ asmlinkage void __init xen_start_kernel(void) +@@ -1250,19 +1324,33 @@ asmlinkage void __init xen_start_kernel(void) pgd = (pgd_t *)xen_start_info->pt_base; @@ -2459,7 +2424,7 @@ pv_info.kernel_rpl = 1; if (xen_feature(XENFEAT_supervisor_mode_kernel)) pv_info.kernel_rpl = 0; -@@ -1270,10 +1393,12 @@ asmlinkage void __init xen_start_kernel(void) +@@ -1270,10 +1358,12 @@ asmlinkage void __init xen_start_kernel(void) /* set the limit of our address space */ xen_reserve_top(); From fedora-extras-commits at redhat.com Tue Apr 1 12:56:23 2008 From: fedora-extras-commits at redhat.com (Mamoru Tasaka (mtasaka)) Date: Tue, 1 Apr 2008 12:56:23 GMT Subject: rpms/jfbterm/devel jfbterm-0.4.7-pagemask_userspace.patch, 1.2, 1.3 jfbterm.spec, 1.14, 1.15 Message-ID: <200804011256.m31CuNMA028114@cvs-int.fedora.redhat.com> Author: mtasaka Update of /cvs/extras/rpms/jfbterm/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28085 Modified Files: jfbterm-0.4.7-pagemask_userspace.patch jfbterm.spec Log Message: * Tue Apr 1 2008 Mamoru Tasaka - 0.4.7-16 - Remove asm/page.h include, replaced by using sysconf jfbterm-0.4.7-pagemask_userspace.patch: Index: jfbterm-0.4.7-pagemask_userspace.patch =================================================================== RCS file: /cvs/extras/rpms/jfbterm/devel/jfbterm-0.4.7-pagemask_userspace.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- jfbterm-0.4.7-pagemask_userspace.patch 22 Aug 2007 08:38:24 -0000 1.2 +++ jfbterm-0.4.7-pagemask_userspace.patch 1 Apr 2008 12:56:14 -0000 1.3 @@ -1,3 +1,13 @@ +--- jfbterm-0.4.7/fbcommon.c.pagemask 2008-04-01 21:50:49.000000000 +0900 ++++ jfbterm-0.4.7/fbcommon.c 2008-04-01 21:51:12.000000000 +0900 +@@ -46,7 +46,6 @@ + #endif + #include + #include +-#include + + #include "mytypes.h" + #include "fbcommon.h" --- jfbterm-0.4.7/fbcommon.h.pagemask 2003-09-03 00:24:06.000000000 +0900 +++ jfbterm-0.4.7/fbcommon.h 2007-08-22 17:30:49.000000000 +0900 @@ -30,6 +30,14 @@ Index: jfbterm.spec =================================================================== RCS file: /cvs/extras/rpms/jfbterm/devel/jfbterm.spec,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- jfbterm.spec 9 Feb 2008 04:21:11 -0000 1.14 +++ jfbterm.spec 1 Apr 2008 12:56:14 -0000 1.15 @@ -1,7 +1,7 @@ Summary: Japanese Console for Linux Frame Buffer Device Name: jfbterm Version: 0.4.7 -Release: 15%{?dist}.2 +Release: 16%{?dist} License: BSD Group: Applications/System Source0: http://downloads.sourceforge.jp/jfbterm/13501/jfbterm-%{version}.tar.gz @@ -189,6 +189,9 @@ %endif %changelog +* Tue Apr 1 2008 Mamoru Tasaka - 0.4.7-16 +- Remove asm/page.h include, replaced by using sysconf + * Sat Feb 9 2008 Mamoru Tasaka - Rebuild against gcc43 From fedora-extras-commits at redhat.com Tue Apr 1 12:57:29 2008 From: fedora-extras-commits at redhat.com (Dan Horak (sharkcz)) Date: Tue, 1 Apr 2008 12:57:29 GMT Subject: rpms/wxGTK/devel wxGTK-2.8.7-race-fix.patch, NONE, 1.1 wxGTK.spec, 1.37, 1.38 Message-ID: <200804011257.m31CvTg4028204@cvs-int.fedora.redhat.com> Author: sharkcz Update of /cvs/pkgs/rpms/wxGTK/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28168 Modified Files: wxGTK.spec Added Files: wxGTK-2.8.7-race-fix.patch Log Message: * Tue Apr 1 2008 Dan Horak - 2.8.7-2 - added fix for a race condition (rh bug #440011) wxGTK-2.8.7-race-fix.patch: --- NEW FILE wxGTK-2.8.7-race-fix.patch --- --- wxWidgets/src/gtk/app.cpp 2008/03/13 02:56:21 52464 +++ wxWidgets/src/gtk/app.cpp 2008/03/13 04:37:03 52465 @@ -174,59 +174,63 @@ if (!wxTheApp) return false; - bool moreIdles = false; - + guint idleID_save; + { + // Allow another idle source to be added while this one is busy. + // Needed if an idle event handler runs a new event loop, + // for example by showing a dialog. +#if wxUSE_THREADS + wxMutexLocker lock(gs_idleTagsMutex); +#endif + idleID_save = wxTheApp->m_idleTag; + wxTheApp->m_idleTag = 0; + g_isIdle = true; + wxAddEmissionHook(); + } #ifdef __WXDEBUG__ // don't generate the idle events while the assert modal dialog is shown, // this matches the behavior of wxMSW - if (!wxTheApp->IsInAssert()) + if (wxTheApp->IsInAssert()) + return false; #endif // __WXDEBUG__ - { - guint idleID_save; - { - // Allow another idle source to be added while this one is busy. - // Needed if an idle event handler runs a new event loop, - // for example by showing a dialog. -#if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); -#endif - idleID_save = wxTheApp->m_idleTag; - wxTheApp->m_idleTag = 0; - g_isIdle = true; - wxAddEmissionHook(); - } - // When getting called from GDK's time-out handler - // we are no longer within GDK's grab on the GUI - // thread so we must lock it here ourselves. - gdk_threads_enter(); - - // Send idle event to all who request them as long as - // no events have popped up in the event queue. - do { - moreIdles = wxTheApp->ProcessIdle(); - } while (moreIdles && gtk_events_pending() == 0); + // When getting called from GDK's time-out handler + // we are no longer within GDK's grab on the GUI + // thread so we must lock it here ourselves. + gdk_threads_enter(); - // Release lock again - gdk_threads_leave(); - - { - // If another idle source was added, remove it + // Send idle event to all who request them as long as + // no events have popped up in the event queue. + bool moreIdles; + do { + moreIdles = wxTheApp->ProcessIdle(); + } while (moreIdles && gtk_events_pending() == 0); + + // Release lock again + gdk_threads_leave(); + #if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); + wxMutexLocker lock(gs_idleTagsMutex); #endif - if (wxTheApp->m_idleTag != 0) - g_source_remove(wxTheApp->m_idleTag); - wxTheApp->m_idleTag = idleID_save; - g_isIdle = false; - } - } + // If another idle source was added, remove it + if (wxTheApp->m_idleTag != 0) + g_source_remove(wxTheApp->m_idleTag); + wxTheApp->m_idleTag = idleID_save; + g_isIdle = false; - if (!moreIdles) - { #if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); + if (wxPendingEventsLocker) + wxPendingEventsLocker->Enter(); #endif + // Pending events can be added asynchronously, + // need to keep idle source if any have appeared + moreIdles = moreIdles || (wxPendingEvents && !wxPendingEvents->IsEmpty()); +#if wxUSE_THREADS + if (wxPendingEventsLocker) + wxPendingEventsLocker->Leave(); +#endif + if (!moreIdles) + { // Indicate that we are now in idle mode and event handlers // will have to reinstall the idle handler again. g_isIdle = true; Index: wxGTK.spec =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/devel/wxGTK.spec,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- wxGTK.spec 20 Feb 2008 21:39:03 -0000 1.37 +++ wxGTK.spec 1 Apr 2008 12:56:47 -0000 1.38 @@ -6,7 +6,7 @@ Name: wxGTK Version: 2.8.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK2 port of the wxWidgets GUI library # The wxWindows licence is the LGPL with a specific exemption allowing # distribution of derived binaries under any terms. (This will eventually @@ -15,6 +15,7 @@ Group: System Environment/Libraries URL: http://www.wxwidgets.org/ Source0: http://dl.sf.net/wxwindows/%{name}-%{version}.tar.bz2 +Patch0: wxGTK-2.8.7-race-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -121,6 +122,7 @@ %prep %setup -q +%patch0 -p1 -b .racefix sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure @@ -262,6 +264,9 @@ %changelog +* Tue Apr 1 2008 Dan Horak - 2.8.7-2 +- added fix for a race condition (rh bug #440011) + * Wed Feb 20 2008 Matthew Miller - 2.8.7-1 - update to 2.8.7 (rh bug #369621, etc.) - split base libs into separate wxBase package (rh bug #357961) From fedora-extras-commits at redhat.com Tue Apr 1 13:06:10 2008 From: fedora-extras-commits at redhat.com (Lillian Angel (langel)) Date: Tue, 1 Apr 2008 13:06:10 GMT Subject: rpms/batik/devel .cvsignore, 1.4, 1.5 batik.spec, 1.1, 1.2 sources, 1.4, 1.5 Message-ID: <200804011306.m31D6Aw9002062@cvs-int.fedora.redhat.com> Author: langel Update of /cvs/pkgs/rpms/batik/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2027 Modified Files: .cvsignore batik.spec sources Log Message: * Mon Mar 31 2008 Lillian Angel - 1.7-0.2.beta1 - Updated sources. - Updated release. - Added CLASSPATH to build. - Removed codecs patch. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/batik/devel/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- .cvsignore 26 Nov 2007 15:09:55 -0000 1.4 +++ .cvsignore 1 Apr 2008 13:05:21 -0000 1.5 @@ -2,6 +2,6 @@ batik.slideshow.script batik-squiggle.desktop batik.squiggle.script -batik-src-1.7.zip batik.svgpp.script batik.ttf2svg.script +batik-src-1.7.zip Index: batik.spec =================================================================== RCS file: /cvs/pkgs/rpms/batik/devel/batik.spec,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- batik.spec 23 Nov 2007 21:50:39 -0000 1.1 +++ batik.spec 1 Apr 2008 13:05:21 -0000 1.2 @@ -1,6 +1,6 @@ Name: batik Version: 1.7 -Release: 0.1.beta1 +Release: 0.2.beta1 Summary: Scalable Vector Graphics for Java License: ASL 2.0 URL: http://xml.apache.org/batik/ @@ -12,9 +12,8 @@ Source4: %{name}.rasterizer.script Source5: %{name}.slideshow.script Source6: %{name}-squiggle.desktop -Patch0: %{name}-sun-codecs.patch -Patch1: %{name}-manifests.patch -Patch2: %{name}-policy.patch +Patch0: %{name}-manifests.patch +Patch1: %{name}-policy.patch Requires: rhino >= 1.5 Requires: xml-commons-apis >= 1.3.04 @@ -109,14 +108,17 @@ %prep %setup -q -n %{name}-%{version} -%patch0 -p0 +%patch0 -p1 %patch1 -p1 -%patch2 -p1 rm -f `find -name readOnly.png` rm -f `find -name properties` %build +export CLASSPATH=$CLASSPATH:/usr/share/java/ant/ant-trax-1.7.0.jar +export CLASSPATH=$CLASSPATH:/usr/share/java/xmlgraphics-commons.jar +export CLASSPATH=$CLASSPATH:/usr/share/java/xml-commons-apis.jar +export CLASSPATH=$CLASSPATH:/usr/share/java/xml-commons-apis-ext.jar ant all-jar \ javadoc \ svg-pp-jar \ @@ -212,6 +214,12 @@ %changelog +* Mon Mar 31 2008 Lillian Angel - 1.7-0.2.beta1 +- Updated sources. +- Updated release. +- Added CLASSPATH to build. +- Removed codecs patch. + * Fri Nov 23 2007 Lillian Angel - 1.7-0.1.beta1 - Fixed rpmlint errors. Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/batik/devel/sources,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sources 26 Nov 2007 15:09:55 -0000 1.4 +++ sources 1 Apr 2008 13:05:21 -0000 1.5 @@ -2,6 +2,6 @@ 6bf2b55d5f76828b3e21dd0b53eb1874 batik.slideshow.script c20cbde45a96e45bf6e657b50b4fa8e2 batik-squiggle.desktop a5aaf0dbce15fbea6f1e434c8f03e569 batik.squiggle.script -fb1f6a7e996d44e417398e2f5067658b batik-src-1.7.zip 0e2b0bc15b89eef1b72306ebcce4075b batik.svgpp.script 96002f6d0e61453b72dc8183e0dce9c8 batik.ttf2svg.script +c117ca2241907f62a2b3031167ebf917 batik-src-1.7.zip From fedora-extras-commits at redhat.com Tue Apr 1 13:08:08 2008 From: fedora-extras-commits at redhat.com (Mark McLoughlin (markmc)) Date: Tue, 1 Apr 2008 13:08:08 GMT Subject: rpms/kernel-xen-2.6/devel Makefile, 1.8, 1.9 Makefile.config, 1.8, 1.9 linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch, 1.2, 1.3 Message-ID: <200804011308.m31D88UW002137@cvs-int.fedora.redhat.com> Author: markmc Update of /cvs/pkgs/rpms/kernel-xen-2.6/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2091 Modified Files: Makefile Makefile.config linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch Log Message: Another build fix linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch: Index: linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch =================================================================== RCS file: /cvs/pkgs/rpms/kernel-xen-2.6/devel/linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch 1 Apr 2008 12:52:48 -0000 1.2 +++ linux-2.6-xen-0019-xen-x86_64-Initial-x86_64-support-for-Xen-paravirt_.patch 1 Apr 2008 13:07:21 -0000 1.3 @@ -1,4 +1,4 @@ -From 42d111eabbcc4a561cacb15c67b83d2a2a52f16e Mon Sep 17 00:00:00 2001 +From 880992833dbeb5d6b97cf0aeb6993e3eef2df045 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Thu, 28 Feb 2008 12:16:04 -0300 Subject: [PATCH] xen x86_64: Initial x86_64 support for Xen paravirt_ops @@ -40,7 +40,7 @@ arch/x86/vdso/vdso32-setup.c | 6 +- arch/x86/xen/Kconfig | 1 - arch/x86/xen/Makefile | 6 + - arch/x86/xen/enlighten.c | 266 +++++++++++------ + arch/x86/xen/enlighten.c | 268 +++++++++++------ arch/x86/xen/entry.S | 5 + arch/x86/xen/entry_32.S | 81 +++++ arch/x86/xen/entry_64.S | 68 ++++ @@ -88,7 +88,7 @@ include/xen/page.h | 34 ++- init/main.c | 10 + mm/slab.c | 8 +- - 80 files changed, 2768 insertions(+), 673 deletions(-) + 80 files changed, 2769 insertions(+), 674 deletions(-) create mode 100644 arch/x86/xen/entry.S create mode 100644 arch/x86/xen/entry_32.S create mode 100644 arch/x86/xen/entry_64.S @@ -1898,7 +1898,7 @@ + obj-$(CONFIG_SMP) += smp.o diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c -index 5c91ae7..53ee6ac 100644 +index 5c91ae7..eff8aae 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -36,6 +36,7 @@ @@ -1943,6 +1943,15 @@ } static void __init xen_banner(void) +@@ -143,7 +153,7 @@ static void __init xen_banner(void) + printk(KERN_INFO "Hypervisor signature: %s\n", xen_start_info->magic); + } + +-static void kcons_write_dom0(const char *s, unsigned int count) ++void kcons_write_dom0(const char *s, unsigned int count) + { + int rc; + @@ -388,6 +398,7 @@ static void xen_load_tls(struct thread_struct *t, unsigned int cpu) xen_mc_issue(PARAVIRT_LAZY_CPU); From fedora-extras-commits at redhat.com Tue Apr 1 13:09:58 2008 From: fedora-extras-commits at redhat.com (Lillian Angel (langel)) Date: Tue, 1 Apr 2008 13:09:58 GMT Subject: rpms/batik/devel batik.spec,1.2,1.3 Message-ID: <200804011309.m31D9wSa002267@cvs-int.fedora.redhat.com> Author: langel Update of /cvs/pkgs/rpms/batik/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2219 Modified Files: batik.spec Log Message: Fixed requires Index: batik.spec =================================================================== RCS file: /cvs/pkgs/rpms/batik/devel/batik.spec,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- batik.spec 1 Apr 2008 13:05:21 -0000 1.2 +++ batik.spec 1 Apr 2008 13:09:23 -0000 1.3 @@ -116,7 +116,6 @@ %build export CLASSPATH=$CLASSPATH:/usr/share/java/ant/ant-trax-1.7.0.jar -export CLASSPATH=$CLASSPATH:/usr/share/java/xmlgraphics-commons.jar export CLASSPATH=$CLASSPATH:/usr/share/java/xml-commons-apis.jar export CLASSPATH=$CLASSPATH:/usr/share/java/xml-commons-apis-ext.jar ant all-jar \ From fedora-extras-commits at redhat.com Tue Apr 1 13:10:11 2008 From: fedora-extras-commits at redhat.com (Jindrich Novy (jnovy)) Date: Tue, 1 Apr 2008 13:10:11 GMT Subject: rpms/texlive-texmf/devel texlive-texmf.spec,1.20,1.21 Message-ID: <200804011310.m31DABSM002275@cvs-int.fedora.redhat.com> Author: jnovy Update of /cvs/extras/rpms/texlive-texmf/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2242 Modified Files: texlive-texmf.spec Log Message: * Tue Apr 01 2008 Jindrich Novy - 2007-18 - run restorecon in fonts subpackage to fix bad SELinux contexts - require coreutils for post (#437457) Index: texlive-texmf.spec =================================================================== RCS file: /cvs/extras/rpms/texlive-texmf/devel/texlive-texmf.spec,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- texlive-texmf.spec 10 Mar 2008 16:29:26 -0000 1.20 +++ texlive-texmf.spec 1 Apr 2008 13:09:34 -0000 1.21 @@ -12,7 +12,7 @@ Name: texlive-texmf Version: 2007 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Architecture independent parts of the TeX formatting system Group: Applications/Publishing @@ -112,6 +112,7 @@ Requires: texlive-texmf = %{version}-%{release} Requires: texlive-texmf-dvips = %{version}-%{release} Requires: texlive-texmf-errata-fonts = %{version} +Requires(post): /sbin/restorecon coreutils %description fonts This package contains the components of the TEXMF tree needed for the @@ -444,6 +445,7 @@ else [ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || : fi +/sbin/restorecon -R %{_texmf_var}/ %post latex [ -x %{_bindir}/texconfig-sys ] && %{_bindir}/texconfig-sys rehash 2> /dev/null || : @@ -728,6 +730,10 @@ %doc %{_texmf_main}/doc/ %changelog +* Tue Apr 01 2008 Jindrich Novy - 2007-18 +- run restorecon in fonts subpackage to fix bad SELinux contexts +- require coreutils for post (#437457) + * Mon Mar 10 2008 Jindrich Novy - 2007-17 - add styles from upstream collection-latexextra to have more complete LaTeX distribution (#436180) From fedora-extras-commits at redhat.com Tue Apr 1 13:19:53 2008 From: fedora-extras-commits at redhat.com (Tim Waugh (twaugh)) Date: Tue, 1 Apr 2008 13:19:53 GMT Subject: rpms/foomatic/F-8 sources,1.55,1.56 Message-ID: <200804011319.m31DJrhV002492@cvs-int.fedora.redhat.com> Author: twaugh Update of /cvs/pkgs/rpms/foomatic/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2465 Modified Files: sources Log Message: Updated sources. Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/foomatic/F-8/sources,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- sources 9 Jan 2008 17:55:37 -0000 1.55 +++ sources 1 Apr 2008 13:19:15 -0000 1.56 @@ -1,4 +1,4 @@ -69282efbc0bb8c72840eea638ac7dc71 foomatic-filters-3.0-20071218.tar.gz -29dcaf35a01bd64664215aa2489d43b9 foomatic-db-engine-3.0-20071218.tar.gz -21c81eff341b63f5f9bcffb0a53bc906 foomatic-db-3.0-20071218.tar.gz -8b6569a8dbf93a5dabbcf62161f15372 foomatic-db-hpijs-20071218.tar.gz +5d827cd3d95807c28609d49a5c412c29 foomatic-db-3.0-20080211.tar.gz +ba8b08913589568f85548998f6321f95 foomatic-db-engine-3.0-20080211.tar.gz +58bef426f769219592b6b0c81357a04a foomatic-db-hpijs-20080211.tar.gz +97b517e94ac85534cdc84a446a872bc2 foomatic-filters-3.0-20080211.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 13:20:57 2008 From: fedora-extras-commits at redhat.com (Lillian Angel (langel)) Date: Tue, 1 Apr 2008 13:20:57 GMT Subject: rpms/fop/devel fop.spec,1.11,1.12 Message-ID: <200804011320.m31DKv00002598@cvs-int.fedora.redhat.com> Author: langel Update of /cvs/pkgs/rpms/fop/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2560 Modified Files: fop.spec Log Message: * Tue Apr 1 2008 Lillian Angel - 0.95.0.1.beta1 - Added CLASSPATH to fop.script. Index: fop.spec =================================================================== RCS file: /cvs/pkgs/rpms/fop/devel/fop.spec,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- fop.spec 31 Mar 2008 21:23:46 -0000 1.11 +++ fop.spec 1 Apr 2008 13:20:19 -0000 1.12 @@ -10,7 +10,7 @@ Patch1: %{name}-main.patch URL: http://xmlgraphics.apache.org/fop -Requires: xmlgraphics-commons >= 1.3 +Requires: xmlgraphics-commons >= 1.2 Requires: avalon-framework >= 4.1.4 Requires: batik >= 1.7 Requires: xalan-j2 >= 2.7.0 @@ -105,11 +105,13 @@ %changelog +* Tue Apr 1 2008 Lillian Angel - 0.95.0.1.beta1 +- Added CLASSPATH to fop.script. + * Mon Mar 31 2008 Lillian Angel - 0.95.0.1.beta1 - Updated sources to 0.95 beta. - Updated patches. - Updated release. -- Updated xmlgraphics-common version to 1.3. * Mon Mar 31 2008 Lillian Angel - 0.94.4 - Updated CLASSPATH. From fedora-extras-commits at redhat.com Tue Apr 1 13:22:58 2008 From: fedora-extras-commits at redhat.com (Dennis Gilmore (ausil)) Date: Tue, 1 Apr 2008 13:22:58 GMT Subject: rpms/fedora-packager/devel .cvsignore, 1.3, 1.4 fedora-packager.spec, 1.2, 1.3 sources, 1.3, 1.4 Message-ID: <200804011322.m31DMwkB002772@cvs-int.fedora.redhat.com> Author: ausil Update of /cvs/extras/rpms/fedora-packager/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2728 Modified Files: .cvsignore fedora-packager.spec sources Log Message: update to 0.3.0 Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/devel/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 21 Mar 2008 03:53:35 -0000 1.3 +++ .cvsignore 1 Apr 2008 13:22:20 -0000 1.4 @@ -1 +1 @@ -fedora-packager-0.2.0.tar.bz2 +fedora-packager-0.3.0.tar.bz2 Index: fedora-packager.spec =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/devel/fedora-packager.spec,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- fedora-packager.spec 21 Mar 2008 03:53:35 -0000 1.2 +++ fedora-packager.spec 1 Apr 2008 13:22:20 -0000 1.3 @@ -1,5 +1,5 @@ Name: fedora-packager -Version: 0.2.0 +Version: 0.3.0 Release: 1%{?dist} Summary: Tools for setting up a fedora maintainer environment @@ -11,8 +11,7 @@ Requires: koji bodhi-client plague-client Requires: rpm-build rpmdevtools rpmlint -Requires: cvs mercurial git-core bzr -Requires: gcc gcc-c++ mock +Requires: mock pyOpenSSL BuildArch: noarch @@ -39,18 +38,22 @@ %files %defattr(-,root,root,-) %doc COPYING TODO AUTHORS ChangeLog -%{_bindir}/fedora-packager-setup.sh +%{_bindir}/fedora-packager-setup %{_bindir}/fedora-cvs %changelog +* Sun Mar 30 2008 Dennis Gilmore - 0.3.0-1 +- update to 0.3.0 fedora-cvs uses pyOpenSSL to work out username +- remove Requires on RCS's for fedora-hosted +- rename fedora-packager-setup.sh to fedora-packager-setup + * Fri Feb 22 2008 Dennis Gilmore - 0.2.0-1 - new upstream release - update for fas2 - fedora-cvs can now check out multiple modules at once -- only require git-core -- update urls for upstream to fedorahosted.org +- only require git-core * Mon Dec 03 2007 Dennis Gilmore - 0.1.1-1 - fix typo in description Index: sources =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/devel/sources,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sources 21 Mar 2008 03:53:35 -0000 1.3 +++ sources 1 Apr 2008 13:22:20 -0000 1.4 @@ -1 +1 @@ -22355776764b7a435bef7d16ba81dc04 fedora-packager-0.2.0.tar.bz2 +39cfae6f1905e0e564bddf53a2b0d495 fedora-packager-0.3.0.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 13:24:16 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 13:24:16 +0000 Subject: [pkgdb] kcemirror: rdieter has requested commit Message-ID: <200804011332.m31DWMUi018493@bastion.fedora.phx.redhat.com> Rex Dieter (rdieter) has requested the commit acl on kcemirror (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/kcemirror From fedora-extras-commits at redhat.com Tue Apr 1 13:25:24 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 13:25:24 +0000 Subject: [pkgdb] kcemirror: rdieter has requested approveacls Message-ID: <200804011332.m31DWRYJ018516@bastion.fedora.phx.redhat.com> Rex Dieter (rdieter) has requested the approveacls acl on kcemirror (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/kcemirror From fedora-extras-commits at redhat.com Tue Apr 1 13:39:14 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 13:39:14 +0000 Subject: [pkgdb] kcemirror had acl change status Message-ID: <200804011347.m31DlKRH018978@bastion.fedora.phx.redhat.com> Andreas Bierfert (awjb) has set the commit acl on kcemirror (Fedora devel) to Approved for Rex Dieter (rdieter) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/kcemirror From fedora-extras-commits at redhat.com Tue Apr 1 13:39:15 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 13:39:15 +0000 Subject: [pkgdb] kcemirror had acl change status Message-ID: <200804011347.m31DlKRL018978@bastion.fedora.phx.redhat.com> Andreas Bierfert (awjb) has set the approveacls acl on kcemirror (Fedora devel) to Approved for Rex Dieter (rdieter) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/kcemirror From fedora-extras-commits at redhat.com Tue Apr 1 13:49:39 2008 From: fedora-extras-commits at redhat.com (Rex Dieter (rdieter)) Date: Tue, 1 Apr 2008 13:49:39 GMT Subject: rpms/kdissert/devel kdissert.spec,1.11,1.12 Message-ID: <200804011349.m31Dnd7f003437@cvs-int.fedora.redhat.com> Author: rdieter Update of /cvs/pkgs/rpms/kdissert/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3408 Modified Files: kdissert.spec Log Message: * Tue Apr 01 2008 Rex Dieter - 1.0.7-4 - fix rawhide build (#434133) - d-f-i: fix double vendor - Summary: s/for KDE// - License: GPLv2 - scriptlet deps Index: kdissert.spec =================================================================== RCS file: /cvs/pkgs/rpms/kdissert/devel/kdissert.spec,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- kdissert.spec 29 Mar 2008 03:11:21 -0000 1.11 +++ kdissert.spec 1 Apr 2008 13:48:56 -0000 1.12 @@ -1,17 +1,15 @@ Name: kdissert Version: 1.0.7 -Release: 3%{?dist} -Summary: Mind-mapping tool for KDE 3 +Release: 4%{?dist} +Summary: Mind-mapping tool Group: Applications/Productivity -License: GPL +License: GPLv2 URL: http://freehackers.org/~tnagy/kdissert/ Source0: http://freehackers.org/~tnagy/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kdelibs3-devel, desktop-file-utils, gettext -Requires(post): desktop-file-utils -Requires(postun): desktop-file-utils %description Kdissert is a mindmapping-like tool to help students to produce complicated @@ -24,35 +22,42 @@ %prep %setup -q -export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS" %build + +unset QTDIR || : ; . /etc/profile.d/qt.sh + +export CFLAGS="$RPM_OPT_FLAGS" +export CXXFLAGS="$RPM_OPT_FLAGS" + ./waf configure \ --prefix=%{_prefix} \ --execprefix=%{_exec_prefix} \ --datadir=%{_datadir} \ --libdir=%{_libdir} \ --want-rpath=0 + ./waf build %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT ./waf install --destdir=$RPM_BUILD_ROOT + rm -rf $RPM_BUILD_ROOT%{_datadir}/doc rm -rf $RPM_BUILD_ROOT%{_datadir}/applnk + desktop-file-install \ --delete-original \ - --vendor fedora \ + --vendor="" \ --dir %{buildroot}%{_datadir}/applications/kde \ --remove-category X-KDE-More \ --remove-category Utility \ --add-category Office \ - --add-category X-Fedora \ --remove-key DocPath \ $RPM_BUILD_ROOT%{_datadir}/applications/kde/%{name}.desktop + %find_lang %{name} @@ -63,7 +68,6 @@ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi - %postun update-desktop-database &> /dev/null ||: touch --no-create %{_datadir}/icons/hicolor || : @@ -90,6 +94,13 @@ %changelog +* Tue Apr 01 2008 Rex Dieter - 1.0.7-4 +- fix rawhide build (#434133) +- d-f-i: fix double vendor +- Summary: s/for KDE// +- License: GPLv2 +- scriptlet deps + * Tue Feb 19 2008 Fedora Release Engineering - 1.0.7-3 - Autorebuild for GCC 4.3 From fedora-extras-commits at redhat.com Tue Apr 1 13:54:11 2008 From: fedora-extras-commits at redhat.com (Jeremy Katz (katzj)) Date: Tue, 1 Apr 2008 13:54:11 GMT Subject: devel/kvm kvm.spec,1.50,1.51 Message-ID: <200804011354.m31DsBTt003572@cvs-int.fedora.redhat.com> Author: katzj Update of /cvs/pkgs/devel/kvm In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3540 Modified Files: kvm.spec Log Message: * Tue Apr 1 2008 Jeremy Katz - 64-3 - and back to rtl8139 to avoid breaking windows guests (#439945) Index: kvm.spec =================================================================== RCS file: /cvs/pkgs/devel/kvm/kvm.spec,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- kvm.spec 28 Mar 2008 19:05:13 -0000 1.50 +++ kvm.spec 1 Apr 2008 13:53:35 -0000 1.51 @@ -1,7 +1,7 @@ Summary: Kernel-based Virtual Machine Name: kvm Version: 64 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ and LGPLv2+ Group: Development/Tools URL: http://%{name}.sf.net @@ -42,7 +42,7 @@ #patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 +#patch3 -p1 %build # we need to install the data bits in a different path @@ -97,6 +97,9 @@ %{_sysconfdir}/sysconfig/modules/%{name}.modules %changelog +* Tue Apr 1 2008 Jeremy Katz - 64-3 +- and back to rtl8139 to avoid breaking windows guests (#439945) + * Fri Mar 28 2008 Jeremy Katz - 64-2 - back to cirrus for video due to bugs with vmwarevga From fedora-extras-commits at redhat.com Tue Apr 1 14:04:20 2008 From: fedora-extras-commits at redhat.com (Rex Dieter (rdieter)) Date: Tue, 1 Apr 2008 14:04:20 GMT Subject: rpms/kdissert/devel kdissert-1.0.7-gcc43.patch, NONE, 1.1 kdissert.spec, 1.12, 1.13 Message-ID: <200804011404.m31E4Kmc010055@cvs-int.fedora.redhat.com> Author: rdieter Update of /cvs/pkgs/rpms/kdissert/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10025 Modified Files: kdissert.spec Added Files: kdissert-1.0.7-gcc43.patch Log Message: commit/use gcc43 patch this time kdissert-1.0.7-gcc43.patch: --- NEW FILE kdissert-1.0.7-gcc43.patch --- diff -up kdissert-1.0.7/src/kdissert/canvasview/DCanvasView.cpp.gcc43 kdissert-1.0.7/src/kdissert/canvasview/DCanvasView.cpp --- kdissert-1.0.7/src/kdissert/canvasview/DCanvasView.cpp.gcc43 2008-04-01 09:02:39.000000000 -0500 +++ kdissert-1.0.7/src/kdissert/canvasview/DCanvasView.cpp 2008-04-01 09:02:46.000000000 -0500 @@ -12,6 +12,7 @@ * GNU General Public License for more details. * ***************************************************************************/ +#include #include #include #include diff -up kdissert-1.0.7/src/kdissert/canvasview/DCanvasLink.cpp.gcc43 kdissert-1.0.7/src/kdissert/canvasview/DCanvasLink.cpp --- kdissert-1.0.7/src/kdissert/canvasview/DCanvasLink.cpp.gcc43 2006-11-11 11:46:52.000000000 -0600 +++ kdissert-1.0.7/src/kdissert/canvasview/DCanvasLink.cpp 2008-04-01 09:01:39.000000000 -0500 @@ -13,6 +13,7 @@ ***************************************************************************/ #include +#include #include #include #include Index: kdissert.spec =================================================================== RCS file: /cvs/pkgs/rpms/kdissert/devel/kdissert.spec,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- kdissert.spec 1 Apr 2008 13:48:56 -0000 1.12 +++ kdissert.spec 1 Apr 2008 14:03:37 -0000 1.13 @@ -9,6 +9,8 @@ Source0: http://freehackers.org/~tnagy/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch1: kdissert-1.0.7-gcc43.patch + BuildRequires: kdelibs3-devel, desktop-file-utils, gettext %description @@ -23,6 +25,8 @@ %prep %setup -q +%patch1 -p1 -b .gcc43 + %build From fedora-extras-commits at redhat.com Tue Apr 1 14:07:08 2008 From: fedora-extras-commits at redhat.com (Adam Jackson (ajax)) Date: Tue, 1 Apr 2008 14:07:08 GMT Subject: rpms/xorg-x11-server/devel xorg-x11-server.spec,1.315,1.316 Message-ID: <200804011407.m31E78nQ010183@cvs-int.fedora.redhat.com> Author: ajax Update of /cvs/pkgs/rpms/xorg-x11-server/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10140 Modified Files: xorg-x11-server.spec Log Message: * Tue Apr 01 2008 Adam Jackson 1.4.99.901-14.20080314 - Remove vmmouse again, way too broken. Let this be a lesson to you: never try. Index: xorg-x11-server.spec =================================================================== RCS file: /cvs/pkgs/rpms/xorg-x11-server/devel/xorg-x11-server.spec,v retrieving revision 1.315 retrieving revision 1.316 diff -u -r1.315 -r1.316 --- xorg-x11-server.spec 27 Mar 2008 13:52:30 -0000 1.315 +++ xorg-x11-server.spec 1 Apr 2008 14:05:47 -0000 1.316 @@ -20,7 +20,7 @@ Summary: X.Org X11 X server Name: xorg-x11-server Version: 1.4.99.901 -Release: 13.%{gitdate}%{?dist} +Release: 14.%{gitdate}%{?dist} URL: http://www.x.org License: MIT Group: User Interface/X @@ -65,7 +65,6 @@ Patch5007: xserver-1.5.0-bad-fbdev-thats-mine.patch Patch5008: xserver-1.5.0-xaa-sucks.patch Patch5009: xserver-1.5.0-no-evdev-keyboards-kthnx.patch -Patch5010: xserver-1.5.0-vmmouse.patch Patch5011: xserver-1.5.0-fix-lsl-quirk.patch %define moduledir %{_libdir}/xorg/modules @@ -161,9 +160,6 @@ # Requires: xorg-x11-drivers >= 0.99.2-4 Requires: xorg-x11-drv-mouse xorg-x11-drv-keyboard xorg-x11-drv-vesa Requires: xorg-x11-drv-void xorg-x11-drv-evdev -%ifarch %{ix86} x86_64 -Requires: xorg-x11-drv-vmmouse -%endif # virtuals. XXX fix the xkbcomp fork() upstream. Requires: xkbdata xkbcomp Requires: xorg-x11-server-common >= %{version}-%{release} @@ -518,6 +514,10 @@ %changelog +* Tue Apr 01 2008 Adam Jackson 1.4.99.901-14.20080314 +- Remove vmmouse again, way too broken. Let this be a lesson to you: + never try. + * Thu Mar 27 2008 Adam Jackson 1.4.99.901-13.20080314 - archify the vmmouse logic. From fedora-extras-commits at redhat.com Tue Apr 1 14:07:43 2008 From: fedora-extras-commits at redhat.com (Ray Strode (rstrode)) Date: Tue, 1 Apr 2008 14:07:43 GMT Subject: rpms/fedora-logos/devel .cvsignore, 1.68, 1.69 fedora-logos.spec, 1.99, 1.100 sources, 1.74, 1.75 Message-ID: <200804011407.m31E7h3t010263@cvs-int.fedora.redhat.com> Author: rstrode Update of /cvs/pkgs/rpms/fedora-logos/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10173 Modified Files: .cvsignore fedora-logos.spec sources Log Message: - Add F-9 rhgb artwork Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/fedora-logos/devel/.cvsignore,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- .cvsignore 27 Mar 2008 14:04:07 -0000 1.68 +++ .cvsignore 1 Apr 2008 14:06:49 -0000 1.69 @@ -1,2 +1,2 @@ -fedora-logos-8.0.3.tar.bz2 +fedora-logos-8.99.0.tar.bz2 waves-ksplashx.tar.bz2 Index: fedora-logos.spec =================================================================== RCS file: /cvs/pkgs/rpms/fedora-logos/devel/fedora-logos.spec,v retrieving revision 1.99 retrieving revision 1.100 diff -u -r1.99 -r1.100 --- fedora-logos.spec 27 Mar 2008 14:04:07 -0000 1.99 +++ fedora-logos.spec 1 Apr 2008 14:06:49 -0000 1.100 @@ -1,7 +1,7 @@ Name: fedora-logos Summary: Fedora-related icons and pictures -Version: 8.0.3 -Release: 4%{?dist} +Version: 8.99.0 +Release: 1%{?dist} Group: System Environment/Base Source0: fedora-logos-%{version}.tar.bz2 Source1: waves-ksplashx.tar.bz2 @@ -174,6 +174,9 @@ # end i386 bits %changelog +* Tue Apr 1 2008 Ray Strode - 8.99.0-1 +- Add F-9 rhgb artwork + * Thu Mar 27 2008 Kevin Kofler - 8.0.3-4 - Include Waves KSplash theme for KDE 4 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/fedora-logos/devel/sources,v retrieving revision 1.74 retrieving revision 1.75 diff -u -r1.74 -r1.75 --- sources 27 Mar 2008 14:04:07 -0000 1.74 +++ sources 1 Apr 2008 14:06:49 -0000 1.75 @@ -1,2 +1,2 @@ -747c904b51e075ff501e5d427f8f1ad5 fedora-logos-8.0.3.tar.bz2 +fd20519a6eac92960d34c5bef5953fc3 fedora-logos-8.99.0.tar.bz2 89e95e5f94e50315b98b8ed8c84e7caf waves-ksplashx.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 14:11:35 2008 From: fedora-extras-commits at redhat.com (David Nielsen (dnielsen)) Date: Tue, 1 Apr 2008 14:11:35 GMT Subject: rpms/mono-addins/F-8 mono-addins.patch, NONE, 1.1 mono-addins.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2 Message-ID: <200804011411.m31EBZSV010453@cvs-int.fedora.redhat.com> Author: dnielsen Update of /cvs/pkgs/rpms/mono-addins/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10378/F-8 Modified Files: .cvsignore sources Added Files: mono-addins.patch mono-addins.spec Log Message: Initial import mono-addins.patch: --- NEW FILE mono-addins.patch --- --- mono-addins-0.3/configure.ac 2007-12-18 19:16:27.000000000 +0000 +++ mono-addins-0.3/configure-new.ac 2007-12-19 15:08:36.000000000 +0000 @@ -32,8 +32,8 @@ AC_MSG_ERROR([No al tool found. You need to install either the mono or .Net SDK.]) fi -GACUTIL_FLAGS='/package mono-addins /root $(DESTDIR)$(prefix)/lib' -GACUTIL_POLICY_FLAGS='/root $(DESTDIR)$(prefix)/lib' +GACUTIL_FLAGS='/package mono-addins /root $(DESTDIR)$(libdir)' +GACUTIL_POLICY_FLAGS='/root $(DESTDIR)$(libdir)' AC_SUBST(GACUTIL) AC_SUBST(GACUTIL_FLAGS) --- mono-addins-0.3/mautil/Makefile.am 2007-12-18 19:16:23.000000000 +0000 +++ mono-addins-0.3/mautil/Makefile-new.am 2007-12-19 15:18:21.000000000 +0000 @@ -34,5 +34,5 @@ include $(top_srcdir)/Makefile.include -pkglibdir = $(prefix)/lib/mono/mono-addins +pkglibdir = $(libdir)/mono/mono-addins pkglib_SCRIPTS = $(ASSEMBLY) $(build_datafiles) --- NEW FILE mono-addins.spec --- %define debug_package %{nil} Name: mono-addins Version: 0.3 Release: 4%{?dist} Summary: Addins for mono Group: Development/Languages License: GPLv2 Patch0: mono-addins.patch URL: http://www.mono-project.com/ Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: mono-devel >= 1.2.3, gtk-sharp2-devel, autoconf, automake ExcludeArch: ppc64 %description Mono.Addins is a generic framework for creating extensible applications, and for creating libraries which extend those applications. %package devel Summary: Development files for mono-addins Group: Development/Applications Requires: %{name} = %{version}-%{release} pkgconfig %description devel Mono.Addins is a generic framework for creating extensible applications, and for creating libraries which extend those applications. %prep %setup -q %patch0 -p1 -b .orig autoreconf -f -i -s %build ./configure --prefix=%{_prefix} --libdir=%{_libdir} --enable-gui make %{?_smp_mflags} %install %{__rm} -rf %{buildroot} make DESTDIR=%{buildroot} install %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc README NEWS AUTHORS ChangeLog %{_bindir}/mautil %{_libdir}/mono/mono-addins %{_libdir}/mono/gac/Mono.Addins.Gui %{_libdir}/mono/gac/Mono.Addins.Setup %{_libdir}/mono/gac/Mono.Addins %{_libdir}/mono/gac/policy.0.2.Mono.Addins.Gui %{_libdir}/mono/gac/policy.0.2.Mono.Addins.Setup %{_libdir}/mono/gac/policy.0.2.Mono.Addins %files devel %defattr (-,root,root,-) %{_libdir}/pkgconfig/mono-addins* %changelog * Tue Feb 19 2008 Fedora Release Engineering - 0.3-4 - Autorebuild for GCC 4.3 * Mon Jan 14 2008 0.3-3 - removed debug package - spec file fixes - additional BRs for autoreconf - excludearch ppc64 added * Thu Jan 03 2008 0.3-2 - enabled gui - spec file fixes * Wed Dec 19 2007 0.3-1 - Initial import for FE Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/mono-addins/F-8/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 16 Jan 2008 17:35:33 -0000 1.1 +++ .cvsignore 1 Apr 2008 14:10:59 -0000 1.2 @@ -0,0 +1 @@ +mono-addins-0.3.tar.bz2 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/mono-addins/F-8/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 16 Jan 2008 17:35:33 -0000 1.1 +++ sources 1 Apr 2008 14:10:59 -0000 1.2 @@ -0,0 +1 @@ +d8af0d5c6dabce1aa58efbfd268b6639 mono-addins-0.3.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 14:16:01 2008 From: fedora-extras-commits at redhat.com (Bastien Nocera (hadess)) Date: Tue, 1 Apr 2008 14:16:01 GMT Subject: rpms/obex-data-server/devel .cvsignore, 1.6, 1.7 obex-data-server.spec, 1.5, 1.6 sources, 1.6, 1.7 Message-ID: <200804011416.m31EG1Ad010715@cvs-int.fedora.redhat.com> Author: hadess Update of /cvs/pkgs/rpms/obex-data-server/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10639 Modified Files: .cvsignore obex-data-server.spec sources Log Message: * Tue Apr 01 2008 - Bastien Nocera - 0.3.1-1 - Update to 0.3.1 - Fixes a number of crashers Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/obex-data-server/devel/.cvsignore,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- .cvsignore 21 Feb 2008 23:29:00 -0000 1.6 +++ .cvsignore 1 Apr 2008 14:15:24 -0000 1.7 @@ -1 +1 @@ -obex-data-server-0.3.tar.gz +obex-data-server-0.3.1.tar.gz Index: obex-data-server.spec =================================================================== RCS file: /cvs/pkgs/rpms/obex-data-server/devel/obex-data-server.spec,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- obex-data-server.spec 21 Feb 2008 23:29:00 -0000 1.5 +++ obex-data-server.spec 1 Apr 2008 14:15:24 -0000 1.6 @@ -1,5 +1,5 @@ Name: obex-data-server -Version: 0.3 +Version: 0.3.1 Release: 1%{?dist} Epoch: 1 Summary: D-Bus service for Obex access @@ -59,6 +59,10 @@ %{_datadir}/dbus-1/services/obex-data-server.service %changelog +* Tue Apr 01 2008 - Bastien Nocera - 0.3.1-1 +- Update to 0.3.1 +- Fixes a number of crashers + * Thu Feb 21 2008 - Bastien Nocera - 0.3-1 - Update to 0.3 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/obex-data-server/devel/sources,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- sources 21 Feb 2008 23:29:00 -0000 1.6 +++ sources 1 Apr 2008 14:15:24 -0000 1.7 @@ -1 +1 @@ -d665127eb9d43d87b98cfff07b8fac60 obex-data-server-0.3.tar.gz +4b5ded97cd9e7c62243062ec19a3ac9e obex-data-server-0.3.1.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 14:16:13 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:16:13 +0000 Subject: [pkgdb] cfitsio: mmahut has requested commit Message-ID: <200804011424.m31EOJY1020534@bastion.fedora.phx.redhat.com> Marek Mahut (mmahut) has requested the commit acl on cfitsio (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/cfitsio From fedora-extras-commits at redhat.com Tue Apr 1 14:16:16 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:16:16 +0000 Subject: [pkgdb] cfitsio: mmahut has requested approveacls Message-ID: <200804011424.m31EOJY4020534@bastion.fedora.phx.redhat.com> Marek Mahut (mmahut) has requested the approveacls acl on cfitsio (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/cfitsio From fedora-extras-commits at redhat.com Tue Apr 1 14:17:28 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:17:28 +0000 Subject: [pkgdb] cfitsio: mmahut has requested watchbugzilla Message-ID: <200804011424.m31EOV7L020586@bastion.fedora.phx.redhat.com> Marek Mahut (mmahut) has requested the watchbugzilla acl on cfitsio (Fedora EPEL 5) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/cfitsio From fedora-extras-commits at redhat.com Tue Apr 1 14:16:39 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:16:39 +0000 Subject: [pkgdb] cfitsio: mmahut has requested commit Message-ID: <200804011424.m31EOJY7020534@bastion.fedora.phx.redhat.com> Marek Mahut (mmahut) has requested the commit acl on cfitsio (Fedora EPEL 5) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/cfitsio From fedora-extras-commits at redhat.com Tue Apr 1 14:18:06 2008 From: fedora-extras-commits at redhat.com (Ondrej Vasik (ovasik)) Date: Tue, 1 Apr 2008 14:18:06 GMT Subject: rpms/coreutils/devel coreutils-6.10-mkscontextsegfault.patch, 1.2, 1.3 Message-ID: <200804011418.m31EI6HD010803@cvs-int.fedora.redhat.com> Author: ovasik Update of /cvs/extras/rpms/coreutils/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10778 Modified Files: coreutils-6.10-mkscontextsegfault.patch Log Message: do not run selinux mkdir test yet(koji failure,mock pass, strange) coreutils-6.10-mkscontextsegfault.patch: Index: coreutils-6.10-mkscontextsegfault.patch =================================================================== RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-6.10-mkscontextsegfault.patch,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- coreutils-6.10-mkscontextsegfault.patch 30 Mar 2008 09:06:27 -0000 1.2 +++ coreutils-6.10-mkscontextsegfault.patch 1 Apr 2008 14:17:54 -0000 1.3 @@ -41,7 +41,6 @@ /* Only check the first character, to allow mnemonic usage like `mknod /dev/rst0 character 18 0'. */ -Bin??rn?? soubory coreutils-6.10-orig/src/.mknod.c.swp a coreutils-6.10/src/.mknod.c.swp jsou r??zn?? diff -urNp coreutils-6.10-orig/tests/mkdir/Makefile.am coreutils-6.10/tests/mkdir/Makefile.am --- coreutils-6.10-orig/tests/mkdir/Makefile.am 2007-11-25 14:23:31.000000000 +0100 +++ coreutils-6.10/tests/mkdir/Makefile.am 2008-03-29 17:56:51.000000000 +0100 @@ -49,7 +48,7 @@ p-v \ parents \ perm \ -+ selinux \ ++# selinux \ special-1 \ t-slash \ writable-under-readonly From fedora-extras-commits at redhat.com Tue Apr 1 14:20:07 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:20:07 +0000 Subject: [pkgdb] cfitsio had acl change status Message-ID: <200804011428.m31ESD4U020736@bastion.fedora.phx.redhat.com> Matthew D Truch (mtruch) has set the commit acl on cfitsio (Fedora devel) to Approved for Marek Mahut (mmahut) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/cfitsio From fedora-extras-commits at redhat.com Tue Apr 1 14:21:13 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:21:13 +0000 Subject: [pkgdb] cfitsio had acl change status Message-ID: <200804011428.m31ESGlO020755@bastion.fedora.phx.redhat.com> Matthew D Truch (mtruch) has set the approveacls acl on cfitsio (Fedora devel) to Approved for Marek Mahut (mmahut) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/cfitsio From fedora-extras-commits at redhat.com Tue Apr 1 14:21:31 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:21:31 +0000 Subject: [pkgdb] cfitsio had acl change status Message-ID: <200804011428.m31ESGlR020755@bastion.fedora.phx.redhat.com> Matthew D Truch (mtruch) has set the watchbugzilla acl on cfitsio (Fedora EPEL 5) to Approved for Marek Mahut (mmahut) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/cfitsio From fedora-extras-commits at redhat.com Tue Apr 1 14:20:27 2008 From: fedora-extras-commits at redhat.com (Rex Dieter (rdieter)) Date: Tue, 1 Apr 2008 14:20:27 GMT Subject: rpms/kdissert/devel kdissert-1.0.7-dt.patch, NONE, 1.1 kdissert.spec, 1.13, 1.14 Message-ID: <200804011420.m31EKRnL010937@cvs-int.fedora.redhat.com> Author: rdieter Update of /cvs/pkgs/rpms/kdissert/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10894 Modified Files: kdissert.spec Added Files: kdissert-1.0.7-dt.patch Log Message: .desktop file patches required too kdissert-1.0.7-dt.patch: --- NEW FILE kdissert-1.0.7-dt.patch --- diff -up kdissert-1.0.7/src/appdata/kdissert.desktop.dt kdissert-1.0.7/src/appdata/kdissert.desktop --- kdissert-1.0.7/src/appdata/kdissert.desktop.dt 2006-11-08 13:11:34.000000000 -0600 +++ kdissert-1.0.7/src/appdata/kdissert.desktop 2008-04-01 09:14:44.000000000 -0500 @@ -1,11 +1,10 @@ [KDE Desktop Entry] -Encoding=UTF-8 Type=Application Exec=kdissert -caption "%c" %i %m Icon=kdissert DocPath=kdissert/index.html -MimeType=application/x-kdissert -Categories=QT;KDE;Utility;X-KDE-More; +MimeType=application/x-kdissert; +Categories=Qt;KDE;Utility;X-KDE-More; Name=kdissert Name[da]=Kdissert Name[sv]=Kdissert diff -up kdissert-1.0.7/src/appdata/kdissertpart.desktop.dt kdissert-1.0.7/src/appdata/kdissertpart.desktop --- kdissert-1.0.7/src/appdata/kdissertpart.desktop.dt 2006-10-14 11:20:49.000000000 -0500 +++ kdissert-1.0.7/src/appdata/kdissertpart.desktop 2008-04-01 09:16:21.000000000 -0500 @@ -1,10 +1,9 @@ [Desktop Entry] -Encoding=UTF-8 Name=KDissert Name[da]=Kdissert Name[sv]=Kdissert Name[xx]=xxKDissertxx -MimeType=application/x-kdissert +MimeType=application/x-kdissert; X-KDE-Library=libkdissertpart ServiceTypes=KParts/ReadWritePart,Browser/View Type=Service Index: kdissert.spec =================================================================== RCS file: /cvs/pkgs/rpms/kdissert/devel/kdissert.spec,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- kdissert.spec 1 Apr 2008 14:03:37 -0000 1.13 +++ kdissert.spec 1 Apr 2008 14:19:50 -0000 1.14 @@ -10,6 +10,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch1: kdissert-1.0.7-gcc43.patch +Patch2: kdissert-1.0.7-dt.patch BuildRequires: kdelibs3-devel, desktop-file-utils, gettext @@ -26,6 +27,7 @@ %setup -q %patch1 -p1 -b .gcc43 +%patch2 -p1 -b .dt %build From fedora-extras-commits at redhat.com Tue Apr 1 14:20:34 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:20:34 +0000 Subject: [pkgdb] cfitsio had acl change status Message-ID: <200804011428.m31ESD4X020736@bastion.fedora.phx.redhat.com> Matthew D Truch (mtruch) has set the commit acl on cfitsio (Fedora EPEL 5) to Approved for Marek Mahut (mmahut) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/cfitsio From fedora-extras-commits at redhat.com Tue Apr 1 14:20:36 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:20:36 +0000 Subject: [pkgdb] cfitsio had acl change status Message-ID: <200804011428.m31ESD4a020736@bastion.fedora.phx.redhat.com> Matthew D Truch (mtruch) has set the approveacls acl on cfitsio (Fedora EPEL 5) to Approved for Marek Mahut (mmahut) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/cfitsio From fedora-extras-commits at redhat.com Tue Apr 1 14:21:38 2008 From: fedora-extras-commits at redhat.com (W. Michael Petullo (mikep)) Date: Tue, 1 Apr 2008 14:21:38 GMT Subject: rpms/fmt-ptrn/devel .cvsignore, 1.3, 1.4 fmt-ptrn.spec, 1.3, 1.4 sources, 1.3, 1.4 Message-ID: <200804011421.m31ELcqJ011080@cvs-int.fedora.redhat.com> Author: mikep Update of /cvs/extras/rpms/fmt-ptrn/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10953 Modified Files: .cvsignore fmt-ptrn.spec sources Log Message: Update to new upstream version. Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/fmt-ptrn/devel/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 12 Feb 2008 19:20:21 -0000 1.3 +++ .cvsignore 1 Apr 2008 14:21:01 -0000 1.4 @@ -1 +1 @@ -fmt-ptrn-1.3.14.tar.gz +fmt-ptrn-1.3.15.tar.gz Index: fmt-ptrn.spec =================================================================== RCS file: /cvs/extras/rpms/fmt-ptrn/devel/fmt-ptrn.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- fmt-ptrn.spec 12 Feb 2008 19:20:21 -0000 1.3 +++ fmt-ptrn.spec 1 Apr 2008 14:21:01 -0000 1.4 @@ -1,15 +1,16 @@ -Summary: A simple template system Name: fmt-ptrn -Version: 1.3.14 +Version: 1.3.15 Release: 1%{?dist} License: GPLv2+ -Group: Development/Tools Source: http://www.flyn.org/projects/%name/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) URL: http://www.flyn.org +Summary: A simple template system +Group: Development/Tools +Requires: zlib BuildRequires: glib2-devel, zlib-devel, java-1.5.0-gcj-devel, libgcj-devel, junit -%description +%description New is a template system, especially useful in conjunction with a simple text editor such as vi. The user maintains templates which may contain format strings. At run time, nf replaces the format @@ -24,9 +25,9 @@ // Copyright (C) 1999 %%(FULLNAME) %%(EMAIL) // All rights reserved. - nf will create: + // FILE: foo.cpp // AUTHOR: W. Michael Petullo // DATE: 11 September 1999 @@ -40,19 +41,41 @@ Building fmt-ptrn also creates a shared library, libnewtemplate, which allows the programmer access to nf's functionality. + + +%files +%defattr(-, root, root, -) +%{_bindir}/* +%{_libdir}/libnewfmt-ptrn.so.1 +%{_libdir}/libnewfmt-ptrn.so.%{PACKAGE_VERSION} +%{_libdir}/libnewtemplate.so.1 +%{_libdir}/libnewtemplate.so.%{PACKAGE_VERSION} +%{_datadir}/fmt-ptrn +%{_mandir}/*/* + + %package devel Summary: Files needed to develop applications using fmt-ptrn's libraries Group: Development/Libraries -Requires: fmt-ptrn = %{version}-%{release} -Requires: glib2-devel, zlib-devel +Requires: fmt-ptrn = %{version}-%{release}, glib2-devel, zlib-devel %description devel -New is a template system, especially useful in conjunction with a -simple text editor such as vi. The user maintains templates which may -contain format strings. At run time, nf replaces the format strings in -a template with appropriate values to create a new file. This package -provides the libraries, include files, and other resources needed for -developing applications using fmt-ptrn's API. +New is a template system, especially useful in conjunction with a +simple text editor such as vi. The user maintains templates which +may contain format strings. At run time, nf replaces the format +strings in a template with appropriate values to create a new file. +This package provides the libraries, include files, and other +resources needed for developing applications using fmt-ptrn's API. + + + +%files devel +%defattr(-, root, root, -) +%{_libdir}/pkgconfig/fmt-ptrn.pc +%{_includedir}/fmt-ptrn +%{_libdir}/libnewfmt-ptrn.so +%{_libdir}/libnewtemplate.so + %package java Summary: Files needed to develop applications using fmt-ptrn's Java classes @@ -60,16 +83,21 @@ Requires: fmt-ptrn = %{version}-%{release} %description java -New is a template system, especially useful in conjunction with a -simple text editor such as vi. The user maintains templates which may -contain format strings. At run time, nf replaces the format strings in -a template with appropriate values to create a new file. This package -provides the resources needed for developing applications using fmt-ptrn's -Java classes. +New is a template system, especially useful in conjunction with a +simple text editor such as vi. The user maintains templates which +may contain format strings. At run time, nf replaces the format +strings in a template with appropriate values to create a new file. +This package provides the resources needed for developing applications +using fmt-ptrn's Java classes. -%post java -p /sbin/ldconfig -%postun java -p /sbin/ldconfig + +%files java +%defattr(-, root, root, -) +%{_libdir}/libnewfmt-ptrnjni.so* +%{_libdir}/libnewfmt-ptrnjava.so* +%{_datadir}/java/* + %prep @@ -78,9 +106,8 @@ %build -%configure --disable-static -# FIXME: disable SMP flags, build fails on Java code for some reason. -make # %{?_smp_mflags} + %configure --disable-static +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -89,41 +116,28 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libnewfmt-ptrnjni.la rm -f ${RPM_BUILD_ROOT}%{_libdir}/libnewfmt-ptrnjava.la rm -f ${RPM_BUILD_ROOT}%{_libdir}/libnewtemplate.la - # Delete the following 2 lines for building Java: #rm -f ${RPM_BUILD_ROOT}%{_libdir}/libnewfmt-ptrnjni.* #rm -f ${RPM_BUILD_ROOT}%{_datadir}/java/libnewfmt-ptrnjava.jar + %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post +java -p /sbin/ldconfig -%files -%defattr(-,root,root,-) -%{_bindir}/* -%{_libdir}/libnewfmt-ptrn.so.* -%{_libdir}/libnewtemplate.so.* -%{_datadir}/fmt-ptrn -%{_mandir}/*/* -%doc AUTHORS COPYING ChangeLog README +%postun +java -p /sbin/ldconfig -%files devel -%defattr(-, root, root) -%{_libdir}/pkgconfig/fmt-ptrn.pc -%{_includedir}/fmt-ptrn -%{_libdir}/libnewfmt-ptrn.so -%{_libdir}/libnewtemplate.so +%doc AUTHORS COPYING ChangeLog INSTALL NEWS README FAQ -%files java -%defattr(-, root, root) -%{_libdir}/libnewfmt-ptrnjni.so* -%{_libdir}/libnewfmt-ptrnjava.so* -%{_datadir}/java/* %changelog +* Tue Apr 01 2008 W. Michael Petullo - 1.3.15-1 + - Updated to fmt-ptrn 1.3.15. + * Tue Feb 12 2008 W. Michael Petullo - 1.3.14-1 - Updated to new 1.3.14. @@ -132,38 +146,50 @@ * Sat Dec 22 2007 W. Michael Petullo - 1.3.13-1 - Updated to new 1.3.13. + - License GPLv2+. + - Update make install command. * Thu Dec 13 2007 W. Michael Petullo - 1.3.12-1 - Updated to new 1.3.12. + - Change package name to fmt-ptrn. * Mon Oct 02 2007 W. Michael Petullo - 1.3.11-2 - Don't build static libraries. * Tue Aug 21 2007 W. Michael Petullo - 1.3.11-1 - - Updated to new 1.3.11 (update new.pc). + - Updated to fmt-ptrn 1.3.11. * Sun Aug 19 2007 W. Michael Petullo - 1.3.10-2 - Don't install INSTALL. + - Another %% fix. + - Run ldconfig for java package. * Sat Aug 18 2007 W. Michael Petullo - 1.3.10-1 - Updated to new 1.3.10. + - Change license to GPLv2. + - Use %% in ChangeLog. + - Don't use %%makeinstall. + - deffattr(-,root,root,-). + - Don't install FmtPtrnTest. + - Don't use SMP build flags for now. - + * Tue Aug 14 2007 W. Michael Petullo - 1.3.9-2 - Fix build (junit.o should not be distributed.) * Sun Jul 29 2007 W. Michael Petullo - 1.3.9-1 - Updated to new 1.3.9. + - Build the Java package. * Sun Sep 10 2006 W. Michael Petullo - 1.3.8-2 @@ -171,6 +197,7 @@ * Sun Sep 10 2006 W. Michael Petullo - 1.3.8-1 - Updated to new 1.3.8. + - Create new Java package, comment out for now. * Thu Sep 07 2006 W. Michael Petullo - 1.3.7-4 @@ -188,14 +215,24 @@ * Wed Feb 01 2006 W. Michael Petullo - 1.3.6-1 - Updated to new 1.3.6. -* Sat Dec 24 2005 W. Michael Petullo - 1.3.5-3 +* Sat Dec 24 2005 - 1.3.5-3 - Add %%defattr for %%files devel. * Tue Dec 13 2005 W. Michael Petullo - 1.3.5-2 - Broke out -devel package. + - Simplifies %%files block. + - Don't use %%doc %%{_mandir}. + - No empty NEWS or FAQ. * Sun Dec 11 2005 W. Michael Petullo - 1.3.5-1 - Updated to new 1.3.5. + +* Sun Dec 11 2005 W. Michael Petullo - 1.3.5-1 + - Updated to new 1.3.5. + + + + Index: sources =================================================================== RCS file: /cvs/extras/rpms/fmt-ptrn/devel/sources,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sources 12 Feb 2008 19:20:21 -0000 1.3 +++ sources 1 Apr 2008 14:21:01 -0000 1.4 @@ -1 +1 @@ -55b14baced3edba4b76d7cefaef25f6d fmt-ptrn-1.3.14.tar.gz +64dca808a5910de6c3f72cc20b73bfff fmt-ptrn-1.3.15.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 14:24:00 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:24:00 +0000 Subject: [pkgdb] synce-kde: rdieter has requested commit Message-ID: <200804011431.m31EV8o2020999@bastion.fedora.phx.redhat.com> Rex Dieter (rdieter) has requested the commit acl on synce-kde (Fedora devel) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/synce-kde From fedora-extras-commits at redhat.com Tue Apr 1 14:23:26 2008 From: fedora-extras-commits at redhat.com (Dennis Gilmore (ausil)) Date: Tue, 1 Apr 2008 14:23:26 GMT Subject: rpms/knetworkmanager/F-7 .cvsignore, 1.9, 1.10 knetworkmanager.spec, 1.13, 1.14 sources, 1.9, 1.10 Message-ID: <200804011423.m31ENQdF011202@cvs-int.fedora.redhat.com> Author: ausil Update of /cvs/extras/rpms/knetworkmanager/F-7 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11110 Modified Files: .cvsignore knetworkmanager.spec sources Log Message: update to 0.2.2 Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/knetworkmanager/F-7/.cvsignore,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- .cvsignore 15 Aug 2007 05:44:11 -0000 1.9 +++ .cvsignore 1 Apr 2008 14:22:39 -0000 1.10 @@ -1 +1 @@ -knetworkmanager-svn20070815.tar.bz2 +knetworkmanager-0.2.2.tar.bz2 Index: knetworkmanager.spec =================================================================== RCS file: /cvs/extras/rpms/knetworkmanager/F-7/knetworkmanager.spec,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- knetworkmanager.spec 14 Dec 2007 20:37:25 -0000 1.13 +++ knetworkmanager.spec 1 Apr 2008 14:22:39 -0000 1.14 @@ -1,6 +1,6 @@ Name: knetworkmanager -Version: 0.2.1r738551 -Release: 0.1%{?dist} +Version: 0.2.2 +Release: 1%{?dist} Summary: KDE applet for Network Manager Group: Applications/Internet @@ -60,8 +60,6 @@ %setup -q -n %{name}-%{version} %build -unset QTDIR || : ; . /etc/profile.d/qt.sh - %configure --disable-rpath --with-openvpn --with-vpnc --with-pptp \ --disable-warnings make %{?_smp_mflags} @@ -106,7 +104,7 @@ %files -f %{name}.lang %defattr(-,root,root,-) -%doc knetworkmanager/COPYING knetworkmanager/AUTHORS knetworkmanager/README knetworkmanager/TODO knetworkmanager/NEWS +%doc COPYING AUTHORS README TODO knetworkmanager/NEWS %config(noreplace) /etc/dbus-1/system.d/knetworkmanager.conf %{_bindir}/knetworkmanager %{_libdir}/kde3/knetworkmanager.* @@ -118,6 +116,7 @@ %{_datadir}/applications/fedora-knetworkmanager.desktop %{_datadir}/servicetypes/knetworkmanager_plugin.desktop %{_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop +%{_datadir}/autostart/knetworkmanager.desktop %files devel %defattr(-,root,root,-) @@ -150,7 +149,10 @@ %changelog -* Mon Nov 19 2007 Dennis Gilmore - 0.2.2 +- update to 0.2.2 + +* Mon Nov 19 2007 Dennis Gilmore - 0.2.1r738551-0.1 - update to upstream pre 0.2.1 snapshot * Wed Aug 15 2007 Dennis Gilmore - 0.2-0.1.svn20070815 Index: sources =================================================================== RCS file: /cvs/extras/rpms/knetworkmanager/F-7/sources,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- sources 15 Aug 2007 05:44:11 -0000 1.9 +++ sources 1 Apr 2008 14:22:39 -0000 1.10 @@ -1 +1 @@ -6a420ff359e2fbe73b2aad7d81f6af95 knetworkmanager-svn20070815.tar.bz2 +80e8350bdd296b6073b640c5a5256c44 knetworkmanager-0.2.2.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 14:27:55 2008 From: fedora-extras-commits at redhat.com (Karsten Hopp (karsten)) Date: Tue, 1 Apr 2008 14:27:55 GMT Subject: devel/hwdata .cvsignore, 1.94, 1.95 hwdata.spec, 1.102, 1.103 sources, 1.97, 1.98 Message-ID: <200804011427.m31ERtiL011415@cvs-int.fedora.redhat.com> Author: karsten Update of /cvs/extras/devel/hwdata In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11358 Modified Files: .cvsignore hwdata.spec sources Log Message: - update pci.ids, oui.txt - update usb.ids, fixes #439963 - add HP w1907 LCD monitor, fixes #431359 - fix many monitor entries (Stanislav Ievlev, #430276) Index: .cvsignore =================================================================== RCS file: /cvs/extras/devel/hwdata/.cvsignore,v retrieving revision 1.94 retrieving revision 1.95 diff -u -r1.94 -r1.95 --- .cvsignore 3 Mar 2008 10:26:48 -0000 1.94 +++ .cvsignore 1 Apr 2008 14:27:17 -0000 1.95 @@ -1 +1 @@ -hwdata-0.216.tar.bz2 +hwdata-0.217.tar.bz2 Index: hwdata.spec =================================================================== RCS file: /cvs/extras/devel/hwdata/hwdata.spec,v retrieving revision 1.102 retrieving revision 1.103 diff -u -r1.102 -r1.103 --- hwdata.spec 3 Mar 2008 10:26:48 -0000 1.102 +++ hwdata.spec 1 Apr 2008 14:27:17 -0000 1.103 @@ -1,6 +1,6 @@ Name: hwdata Summary: Hardware identification and configuration data -Version: 0.216 +Version: 0.217 Release: 1%{?dist} License: GPLv2+ and LGPLv2+ Group: System Environment/Base @@ -36,6 +36,13 @@ %{_datadir}/%{name}/* %changelog +* Tue Apr 01 2008 Karsten Hopp 0.217-1 +- update pci.ids, oui.txt +- update usb.ids, fixes #439963 +- add HP w1907 LCD monitor, fixes #431359 +- fix many monitor entries (Stanislav Ievlev, #430276) + + * Wed Mar 03 2008 Karsten Hopp 0.216-1 - update pci.ids, usb.ids (#431658) Index: sources =================================================================== RCS file: /cvs/extras/devel/hwdata/sources,v retrieving revision 1.97 retrieving revision 1.98 diff -u -r1.97 -r1.98 --- sources 3 Mar 2008 10:26:48 -0000 1.97 +++ sources 1 Apr 2008 14:27:17 -0000 1.98 @@ -1 +1 @@ -48b92d7a003f5bd0f30f4397a4cf6475 hwdata-0.216.tar.bz2 +421cc661d5bf3b38b97d2050b6a8cc83 hwdata-0.217.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 14:29:14 2008 From: fedora-extras-commits at redhat.com (Rex Dieter (rdieter)) Date: Tue, 1 Apr 2008 14:29:14 GMT Subject: rpms/kcemirror/devel kcemirror.spec,1.3,1.4 Message-ID: <200804011429.m31ETE4n011506@cvs-int.fedora.redhat.com> Author: rdieter Update of /cvs/pkgs/rpms/kcemirror/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11482 Modified Files: kcemirror.spec Log Message: * Tue Apr 01 2008 Rex Dieter - 0.1.5-4 - fix rawhide build (#433993) Index: kcemirror.spec =================================================================== RCS file: /cvs/pkgs/rpms/kcemirror/devel/kcemirror.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- kcemirror.spec 18 Feb 2008 20:23:01 -0000 1.3 +++ kcemirror.spec 1 Apr 2008 14:28:37 -0000 1.4 @@ -1,7 +1,7 @@ Name: kcemirror Summary: Remote display control for PocketPC devices Version: 0.1.5 -Release: 3%{?dist} +Release: 4%{?dist} Group: Applications/Productivity License: MIT URL: http://synce.sourceforge.net/synce/kde/ @@ -9,8 +9,7 @@ Patch0: kcemirror-0.1.5-ldadd.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: kdelibs-devel, libsynce-devel, librapi-devel -Requires: hicolor-icon-theme +BuildRequires: kdelibs3-devel, libsynce-devel, librapi-devel %description KCEMirror shows on your Linux computer a window with the display of your @@ -69,6 +68,9 @@ %changelog +* Tue Apr 01 2008 Rex Dieter - 0.1.5-4 +- fix rawhide build (#433993) + * Mon Feb 18 2008 Fedora Release Engineering - 0.1.5-3 - Autorebuild for GCC 4.3 From fedora-extras-commits at redhat.com Tue Apr 1 14:31:07 2008 From: fedora-extras-commits at redhat.com (Ondrej Vasik (ovasik)) Date: Tue, 1 Apr 2008 14:31:07 GMT Subject: rpms/coreutils/devel coreutils-6.10-mkscontextsegfault.patch, 1.3, 1.4 Message-ID: <200804011431.m31EV7Zt011641@cvs-int.fedora.redhat.com> Author: ovasik Update of /cvs/extras/rpms/coreutils/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11606 Modified Files: coreutils-6.10-mkscontextsegfault.patch Log Message: do not run selinux mkdir test yet(koji failure,mock pass, strange) coreutils-6.10-mkscontextsegfault.patch: Index: coreutils-6.10-mkscontextsegfault.patch =================================================================== RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-6.10-mkscontextsegfault.patch,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- coreutils-6.10-mkscontextsegfault.patch 1 Apr 2008 14:17:54 -0000 1.3 +++ coreutils-6.10-mkscontextsegfault.patch 1 Apr 2008 14:30:33 -0000 1.4 @@ -41,17 +41,6 @@ /* Only check the first character, to allow mnemonic usage like `mknod /dev/rst0 character 18 0'. */ -diff -urNp coreutils-6.10-orig/tests/mkdir/Makefile.am coreutils-6.10/tests/mkdir/Makefile.am ---- coreutils-6.10-orig/tests/mkdir/Makefile.am 2007-11-25 14:23:31.000000000 +0100 -+++ coreutils-6.10/tests/mkdir/Makefile.am 2008-03-29 17:56:51.000000000 +0100 -@@ -8,6 +8,7 @@ TESTS = \ - p-v \ - parents \ - perm \ -+# selinux \ - special-1 \ - t-slash \ - writable-under-readonly diff -urNp coreutils-6.10-orig/tests/mkdir/selinux coreutils-6.10/tests/mkdir/selinux --- coreutils-6.10-orig/tests/mkdir/selinux 1970-01-01 01:00:00.000000000 +0100 +++ coreutils-6.10/tests/mkdir/selinux 2008-03-29 17:58:25.000000000 +0100 From fedora-extras-commits at redhat.com Tue Apr 1 14:31:07 2008 From: fedora-extras-commits at redhat.com (Jeffrey C. Ollie (jcollie)) Date: Tue, 1 Apr 2008 14:31:07 GMT Subject: rpms/python-urljr/devel dead.package, NONE, 1.1 .cvsignore, 1.2, NONE python-urljr.spec, 1.1, NONE sources, 1.2, NONE Message-ID: <200804011431.m31EV7GL011645@cvs-int.fedora.redhat.com> Author: jcollie Update of /cvs/pkgs/rpms/python-urljr/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11592 Added Files: dead.package Removed Files: .cvsignore python-urljr.spec sources Log Message: Declaring dead. --- NEW FILE dead.package --- obsolete package, was only used by earlier versions of python-openid --- .cvsignore DELETED --- --- python-urljr.spec DELETED --- --- sources DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 14:34:48 2008 From: fedora-extras-commits at redhat.com (Jeffrey C. Ollie (jcollie)) Date: Tue, 1 Apr 2008 14:34:48 GMT Subject: rpms/python-yadis/devel dead.package, NONE, 1.1 .cvsignore, 1.2, NONE python-yadis-1.0.1-silencepyflakes.patch, 1.1, NONE python-yadis-1.1.0-silencepyflakes+elementtree.patch, 1.1, NONE python-yadis.spec, 1.3, NONE sources, 1.2, NONE Message-ID: <200804011434.m31EYmst012047@cvs-int.fedora.redhat.com> Author: jcollie Update of /cvs/pkgs/rpms/python-yadis/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12013 Added Files: dead.package Removed Files: .cvsignore python-yadis-1.0.1-silencepyflakes.patch python-yadis-1.1.0-silencepyflakes+elementtree.patch python-yadis.spec sources Log Message: Declaring dead. --- NEW FILE dead.package --- obsolete package, was only used by earlier versions of python-openid --- .cvsignore DELETED --- --- python-yadis-1.0.1-silencepyflakes.patch DELETED --- --- python-yadis-1.1.0-silencepyflakes+elementtree.patch DELETED --- --- python-yadis.spec DELETED --- --- sources DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 14:36:03 2008 From: fedora-extras-commits at redhat.com (Tom Callaway (spot)) Date: Tue, 1 Apr 2008 14:36:03 GMT Subject: rpms/perl-IO-Capture/EL-5 perl-IO-Capture.spec,1.3,1.4 Message-ID: <200804011436.m31Ea3Hq012144@cvs-int.fedora.redhat.com> Author: spot Update of /cvs/pkgs/rpms/perl-IO-Capture/EL-5 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12083/EL-5 Modified Files: perl-IO-Capture.spec Log Message: sync Index: perl-IO-Capture.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-IO-Capture/EL-5/perl-IO-Capture.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- perl-IO-Capture.spec 16 Oct 2007 20:15:50 -0000 1.3 +++ perl-IO-Capture.spec 1 Apr 2008 14:35:19 -0000 1.4 @@ -1,6 +1,6 @@ Name: perl-IO-Capture Version: 0.05 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Abstract Base Class to build modules to capture output Group: Development/Libraries @@ -10,6 +10,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -51,6 +53,16 @@ %changelog +* Fri Feb 8 2008 Tom "spot" Callaway - 0.05-3 +- rebuild for new perl + +* Tue Oct 16 2007 Tom "spot" Callaway - 0.05-2.2 +- add BR: perl(Test::More) + +* Tue Oct 16 2007 Tom "spot" Callaway - 0.05-2.1 +- correct license tag +- add BR: perl(ExtUtils::MakeMaker) + * Sun Dec 17 2006 Jose Pedro Oliveira - 0.05-2 - find: fixed arguments order (#219956). From fedora-extras-commits at redhat.com Tue Apr 1 14:36:06 2008 From: fedora-extras-commits at redhat.com (Bastien Nocera (hadess)) Date: Tue, 1 Apr 2008 14:36:06 GMT Subject: rpms/vinagre/F-8 .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 vinagre.spec, 1.4, 1.5 vinagre-0.3-no-password-crash.patch, 1.1, NONE vinagre-0.3-option-parse-crash.patch, 1.1, NONE Message-ID: <200804011436.m31Ea6pr012151@cvs-int.fedora.redhat.com> Author: hadess Update of /cvs/pkgs/rpms/vinagre/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12079 Modified Files: .cvsignore sources vinagre.spec Removed Files: vinagre-0.3-no-password-crash.patch vinagre-0.3-option-parse-crash.patch Log Message: * Tue Apr 01 2008 - Bastien Nocera - 0.4-1 - Update to 0.4 (#428213) Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/vinagre/F-8/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 24 Sep 2007 01:41:09 -0000 1.3 +++ .cvsignore 1 Apr 2008 14:35:31 -0000 1.4 @@ -1 +1 @@ -vinagre-0.3.tar.gz +vinagre-0.4.tar.bz2 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/vinagre/F-8/sources,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sources 24 Sep 2007 01:41:09 -0000 1.3 +++ sources 1 Apr 2008 14:35:31 -0000 1.4 @@ -1 +1 @@ -c3f64d488d35b35806771f8db2c22ea7 vinagre-0.3.tar.gz +97dee0faa1b78e2497b9d231053b2f6d vinagre-0.4.tar.bz2 Index: vinagre.spec =================================================================== RCS file: /cvs/pkgs/rpms/vinagre/F-8/vinagre.spec,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- vinagre.spec 23 Nov 2007 13:26:50 -0000 1.4 +++ vinagre.spec 1 Apr 2008 14:35:31 -0000 1.5 @@ -1,14 +1,12 @@ Name: vinagre -Version: 0.3 -Release: 3%{?dist} +Version: 0.4 +Release: 1%{?dist} Summary: VNC client for the GNOME desktop Group: Applications/System License: GPLv2+ URL: http://www.gnome.org/~jwendell/vinagre/ -Source0: http://www.gnome.org/~jwendell/vinagre/downloads/%{name}-%{version}.tar.gz -Patch0: vinagre-0.3-no-password-crash.patch -Patch1: vinagre-0.3-option-parse-crash.patch +Source0: http://download.gnome.org/sources/vinagre/0.4/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -28,13 +26,11 @@ %prep %setup -q -%patch0 -p1 -b .no-pass-crash -%patch1 -p1 -b .options-crash + %build %configure --enable-avahi=yes make %{?_smp_mflags} - %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 @@ -56,14 +52,35 @@ %clean rm -rf $RPM_BUILD_ROOT +%post +update-desktop-database -q +touch %{_datadir}/icons/hicolor +if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor +fi + + +%postun +update-desktop-database -q +update-mime-database %{_datadir}/mime >/dev/null +touch %{_datadir}/icons/hicolor +if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor +fi + %files -f vinagre.lang %defattr(-,root,root,-) %{_bindir}/* %{_datadir}/applications/*.desktop %{_datadir}/%{name}/ +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/mime/packages/vinagre-mime.xml %doc README NEWS COPYING AUTHORS %changelog +* Tue Apr 01 2008 - Bastien Nocera - 0.4-1 +- Update to 0.4 (#428213) + * Fri Nov 23 2007 - Bastien Nocera - 0.3-3 - Fix crasher when passing broken options on the command-line (#394671) --- vinagre-0.3-no-password-crash.patch DELETED --- --- vinagre-0.3-option-parse-crash.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 14:45:37 2008 From: fedora-extras-commits at redhat.com (Rex Dieter (rdieter)) Date: Tue, 1 Apr 2008 14:45:37 GMT Subject: rpms/kflickr/devel .cvsignore,1.3,1.4 kflickr.spec,1.5,1.6 Message-ID: <200804011445.m31EjbU4012509@cvs-int.fedora.redhat.com> Author: rdieter Update of /cvs/pkgs/rpms/kflickr/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12470 Modified Files: .cvsignore kflickr.spec Log Message: * Tue Apr 01 2008 Rex Dieter - 0.9.1-2 - fix rawhide build (#434440) - s/kdebase3-devel/kdelibs3-devel/ - fix SOURCE url Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/kflickr/devel/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 19 Sep 2007 02:18:56 -0000 1.3 +++ .cvsignore 1 Apr 2008 14:45:01 -0000 1.4 @@ -1 +1,2 @@ kflickr-0.9.tar.gz +kflickr-0.9.1.tar.gz Index: kflickr.spec =================================================================== RCS file: /cvs/pkgs/rpms/kflickr/devel/kflickr.spec,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- kflickr.spec 24 Feb 2008 22:46:43 -0000 1.5 +++ kflickr.spec 1 Apr 2008 14:45:01 -0000 1.6 @@ -1,20 +1,19 @@ Name: kflickr Version: 0.9.1 Release: 1%{?dist} -Summary: Standalone Flickr Uploader for KDE +Summary: Standalone Flickr Uploader Group: Applications/Internet License: GPLv2+ URL: http://kflickr.sourceforge.net -Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.gz +Source0: http://downloads.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: kdebase3-devel >= 3.4, desktop-file-utils, gettext -Requires: kdebase3 >= 3.4 +BuildRequires: kdelibs3-devel >= 3.4, desktop-file-utils, gettext %description -kflickr is an easy to use photo uploader for flickr written for KDE. +kflickr is an easy to use photo uploader for flickr. %prep %setup -q @@ -27,7 +26,6 @@ %build unset QTDIR || : ; . /etc/profile.d/qt.sh -export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include %configure --disable-rpath make %{?_smp_mflags} @@ -39,11 +37,9 @@ # Desktop file desktop-file-install \ ---dir $RPM_BUILD_ROOT%{_datadir}/applications \ ---vendor=fedora \ ---add-category=X-Fedora \ ---delete-original \ -$RPM_BUILD_ROOT%{_datadir}/applnk/Graphics/kflickr.desktop +--dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \ +--vendor="" \ +$RPM_BUILD_ROOT%{_datadir}/applications/kde/kflickr.desktop # locale's %find_lang %{name} || touch %{name}.lang @@ -85,7 +81,7 @@ %{_bindir}/* %{_datadir}/icons/hicolor/*/apps/* -%{_datadir}/applications/* +%{_datadir}/applications/kde/* %{_mandir}/man1/* %{_libdir}/kde3/* %{_datadir}/apps/kflickr/* @@ -96,6 +92,11 @@ %changelog +* Tue Apr 01 2008 Rex Dieter - 0.9.1-2 +- fix rawhide build (#434440) +- s/kdebase3-devel/kdelibs3-devel/ +- fix SOURCE url + * Sat Feb 23 2008 Michael Stahnke - 0.9.1-1 - New upstream From fedora-extras-commits at redhat.com Tue Apr 1 14:48:12 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:48:12 +0000 Subject: [pkgdb] qfaxreader had groupAcl changed Message-ID: <200804011456.m31EuI9j022129@bastion.fedora.phx.redhat.com> Manuel Wolfshant (wolfy) has set the commit acl on qfaxreader (Fedora devel) to Approved for cvsextras To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/qfaxreader From fedora-extras-commits at redhat.com Tue Apr 1 14:50:02 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:50:02 +0000 Subject: [pkgdb] qfaxreader had groupAcl changed Message-ID: <200804011457.m31Ev5vY022185@bastion.fedora.phx.redhat.com> Manuel Wolfshant (wolfy) has set the commit acl on qfaxreader (Fedora EPEL 4) to Approved for cvsextras To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/qfaxreader From fedora-extras-commits at redhat.com Tue Apr 1 14:49:04 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:49:04 +0000 Subject: [pkgdb] qfaxreader had groupAcl changed Message-ID: <200804011457.m31EuI9l022129@bastion.fedora.phx.redhat.com> Manuel Wolfshant (wolfy) has set the commit acl on qfaxreader (Fedora 7) to Approved for cvsextras To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/qfaxreader From fedora-extras-commits at redhat.com Tue Apr 1 14:50:10 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:50:10 +0000 Subject: [pkgdb] qfaxreader had groupAcl changed Message-ID: <200804011457.m31Ev5va022185@bastion.fedora.phx.redhat.com> Manuel Wolfshant (wolfy) has set the commit acl on qfaxreader (Fedora 8) to Approved for cvsextras To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/qfaxreader From fedora-extras-commits at redhat.com Tue Apr 1 14:49:27 2008 From: fedora-extras-commits at redhat.com (Bastien Nocera (hadess)) Date: Tue, 1 Apr 2008 14:49:27 GMT Subject: rpms/vinagre/F-8 vinagre.spec,1.5,1.6 Message-ID: <200804011449.m31EnRtB012688@cvs-int.fedora.redhat.com> Author: hadess Update of /cvs/pkgs/rpms/vinagre/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12609 Modified Files: vinagre.spec Log Message: Fix BRs Index: vinagre.spec =================================================================== RCS file: /cvs/pkgs/rpms/vinagre/F-8/vinagre.spec,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- vinagre.spec 1 Apr 2008 14:35:31 -0000 1.5 +++ vinagre.spec 1 Apr 2008 14:48:50 -0000 1.6 @@ -18,6 +18,8 @@ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=253734 BuildRequires: avahi-glib-devel >= 0.6.18 BuildRequires: libglade2-devel >= 2.6.0 +BuildRequires: gnome-vfs2-devel +BuildRequires: gnome-keyring-devel BuildRequires: perl(XML::Parser) gettext intltool BuildRequires: desktop-file-utils From fedora-extras-commits at redhat.com Tue Apr 1 14:49:32 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 14:49:32 +0000 Subject: [pkgdb] qfaxreader had acl change status Message-ID: <200804011457.m31EuI9o022129@bastion.fedora.phx.redhat.com> Manuel Wolfshant (wolfy) has set the commit acl on qfaxreader (Fedora devel) to Approved for Rex Dieter (rdieter) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/qfaxreader From fedora-extras-commits at redhat.com Tue Apr 1 14:52:51 2008 From: fedora-extras-commits at redhat.com (Dan Horak (sharkcz)) Date: Tue, 1 Apr 2008 14:52:51 GMT Subject: rpms/wxGTK/F-8 wxGTK-2.8.7-race-fix.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 sources, 1.8, 1.9 wxGTK.spec, 1.35, 1.36 wxGTK-2.8.4-bad-g_free.patch, 1.1, NONE Message-ID: <200804011452.m31EqpUE012868@cvs-int.fedora.redhat.com> Author: sharkcz Update of /cvs/pkgs/rpms/wxGTK/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12838 Modified Files: .cvsignore sources wxGTK.spec Added Files: wxGTK-2.8.7-race-fix.patch Removed Files: wxGTK-2.8.4-bad-g_free.patch Log Message: * Tue Apr 1 2008 Dan Horak - 2.8.7-2 - added fix for a race condition (rh bug #440011) * Wed Feb 20 2008 Matthew Miller - 2.8.7-1 - update to 2.8.7 (rh bug #369621, etc.) - split base libs into separate wxBase package (rh bug #357961) - okay, so, wxPython 2.8.7.1 seems to work fine against this version of the library, so I'm dropping the kludgy-patch-to-2.8.7.1 thing. Please report any compatibility problems with wxPython 2.8.7.1 and I'll fix them as they come up. wxGTK-2.8.7-race-fix.patch: --- NEW FILE wxGTK-2.8.7-race-fix.patch --- --- wxWidgets/src/gtk/app.cpp 2008/03/13 02:56:21 52464 +++ wxWidgets/src/gtk/app.cpp 2008/03/13 04:37:03 52465 @@ -174,59 +174,63 @@ if (!wxTheApp) return false; - bool moreIdles = false; - + guint idleID_save; + { + // Allow another idle source to be added while this one is busy. + // Needed if an idle event handler runs a new event loop, + // for example by showing a dialog. +#if wxUSE_THREADS + wxMutexLocker lock(gs_idleTagsMutex); +#endif + idleID_save = wxTheApp->m_idleTag; + wxTheApp->m_idleTag = 0; + g_isIdle = true; + wxAddEmissionHook(); + } #ifdef __WXDEBUG__ // don't generate the idle events while the assert modal dialog is shown, // this matches the behavior of wxMSW - if (!wxTheApp->IsInAssert()) + if (wxTheApp->IsInAssert()) + return false; #endif // __WXDEBUG__ - { - guint idleID_save; - { - // Allow another idle source to be added while this one is busy. - // Needed if an idle event handler runs a new event loop, - // for example by showing a dialog. -#if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); -#endif - idleID_save = wxTheApp->m_idleTag; - wxTheApp->m_idleTag = 0; - g_isIdle = true; - wxAddEmissionHook(); - } - // When getting called from GDK's time-out handler - // we are no longer within GDK's grab on the GUI - // thread so we must lock it here ourselves. - gdk_threads_enter(); - - // Send idle event to all who request them as long as - // no events have popped up in the event queue. - do { - moreIdles = wxTheApp->ProcessIdle(); - } while (moreIdles && gtk_events_pending() == 0); + // When getting called from GDK's time-out handler + // we are no longer within GDK's grab on the GUI + // thread so we must lock it here ourselves. + gdk_threads_enter(); - // Release lock again - gdk_threads_leave(); - - { - // If another idle source was added, remove it + // Send idle event to all who request them as long as + // no events have popped up in the event queue. + bool moreIdles; + do { + moreIdles = wxTheApp->ProcessIdle(); + } while (moreIdles && gtk_events_pending() == 0); + + // Release lock again + gdk_threads_leave(); + #if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); + wxMutexLocker lock(gs_idleTagsMutex); #endif - if (wxTheApp->m_idleTag != 0) - g_source_remove(wxTheApp->m_idleTag); - wxTheApp->m_idleTag = idleID_save; - g_isIdle = false; - } - } + // If another idle source was added, remove it + if (wxTheApp->m_idleTag != 0) + g_source_remove(wxTheApp->m_idleTag); + wxTheApp->m_idleTag = idleID_save; + g_isIdle = false; - if (!moreIdles) - { #if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); + if (wxPendingEventsLocker) + wxPendingEventsLocker->Enter(); #endif + // Pending events can be added asynchronously, + // need to keep idle source if any have appeared + moreIdles = moreIdles || (wxPendingEvents && !wxPendingEvents->IsEmpty()); +#if wxUSE_THREADS + if (wxPendingEventsLocker) + wxPendingEventsLocker->Leave(); +#endif + if (!moreIdles) + { // Indicate that we are now in idle mode and event handlers // will have to reinstall the idle handler again. g_isIdle = true; Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/F-8/.cvsignore,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- .cvsignore 11 Jul 2007 18:24:06 -0000 1.8 +++ .cvsignore 1 Apr 2008 14:52:09 -0000 1.9 @@ -1 +1 @@ -wxGTK-2.8.4.tar.bz2 +wxGTK-2.8.7.tar.bz2 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/F-8/sources,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- sources 11 Jul 2007 18:24:06 -0000 1.8 +++ sources 1 Apr 2008 14:52:09 -0000 1.9 @@ -1 +1 @@ -22e42c1601d9759530c875ffa2c3c554 wxGTK-2.8.4.tar.bz2 +b25e85eeee524903214ebb520753f4bd wxGTK-2.8.7.tar.bz2 Index: wxGTK.spec =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/F-8/wxGTK.spec,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- wxGTK.spec 28 Aug 2007 11:18:55 -0000 1.35 +++ wxGTK.spec 1 Apr 2008 14:52:09 -0000 1.36 @@ -5,8 +5,8 @@ %define withodbc 0 Name: wxGTK -Version: 2.8.4 -Release: 6%{?dist} +Version: 2.8.7 +Release: 2%{?dist} Summary: GTK2 port of the wxWidgets GUI library # The wxWindows licence is the LGPL with a specific exemption allowing # distribution of derived binaries under any terms. (This will eventually @@ -15,8 +15,7 @@ Group: System Environment/Libraries URL: http://www.wxwidgets.org/ Source0: http://dl.sf.net/wxwindows/%{name}-%{version}.tar.bz2 -# http://svn.wxwidgets.org/viewvc/wx?view=rev&revision=46513 -Patch0: wxGTK-2.8.4-bad-g_free.patch +Patch0: wxGTK-2.8.7-race-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -56,6 +55,7 @@ Obsoletes: compat-wxGTK2-stc < %{version}-%{release} Obsoletes: compat-wxGTK-stc < %{version}-%{release} +Requires: wxBase = %{version}-%{release} %description wxWidgets/GTK2 is the GTK2 port of the C++ cross-platform wxWidgets @@ -69,6 +69,7 @@ Summary: Development files for the wxGTK2 library Requires: %{name} = %{version}-%{release} Requires: %{name}-gl = %{version}-%{release} +Requires: wxBase = %{version}-%{release} Requires: gtk2-devel Requires: libGL-devel, libGLU-devel Obsoletes: wxGTK2-devel < %{version}-%{release} @@ -95,6 +96,7 @@ %description gl OpenGL (a 3D graphics API) add-on for the wxWidgets library. + %if %{withodbc} %package odbc Summary: ODBC add-on for the wxWidgets library @@ -105,10 +107,22 @@ ODBC (a SQL database connectivity API) add-on for the wxWidgets library. %endif + +%package -n wxBase +Summary: Non-GUI support classes from the wxWidgets library +Group: System Environment/Libraries + +%description -n wxBase +Every wxWidgets application must link against this library. It contains +mandatory classes that any wxWidgets code depends on (like wxString) and +portability classes that abstract differences between platforms. wxBase can +be used to develop console mode applications -- it does not require any GUI +libraries or the X Window System. + + %prep %setup -q - -%patch0 -p2 -b .badfree +%patch0 -p1 -b .racefix sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure @@ -190,14 +204,19 @@ %post gl -p /sbin/ldconfig %postun gl -p /sbin/ldconfig +%if %{withodbc} +%post odbc -p /sbin/ldconfig +%postun odbc -p /sbin/ldconfig +%endif + +%post -n wxBase -p /sbin/ldconfig +%postun -n wxBase -p /sbin/ldconfig + %files -f wxstd.lang %defattr(-,root,root,-) %doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt %doc docs/licendoc.txt docs/preamble.txt docs/readme.txt -%{_libdir}/libwx_baseu-*.so.* -%{_libdir}/libwx_baseu_net-*.so.* -%{_libdir}/libwx_baseu_xml-*.so.* %{_libdir}/libwx_gtk2u_adv-*.so.* %{_libdir}/libwx_gtk2u_aui-*.so.* %{_libdir}/libwx_gtk2u_core-*.so.* @@ -236,7 +255,29 @@ %{_libdir}/libwx_gtk2u_odbc-*.so.* %endif +%files -n wxBase +%doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt +%doc docs/licendoc.txt docs/preamble.txt docs/readme.txt +%{_libdir}/libwx_baseu-*.so.* +%{_libdir}/libwx_baseu_net-*.so.* +%{_libdir}/libwx_baseu_xml-*.so.* + + %changelog +* Tue Apr 1 2008 Dan Horak - 2.8.7-2 +- added fix for a race condition (rh bug #440011) + +* Wed Feb 20 2008 Matthew Miller - 2.8.7-1 +- update to 2.8.7 (rh bug #369621, etc.) +- split base libs into separate wxBase package (rh bug #357961) +- okay, so, wxPython 2.8.7.1 seems to work fine against this version of the + library, so I'm dropping the kludgy-patch-to-2.8.7.1 thing. Please report + any compatibility problems with wxPython 2.8.7.1 and I'll fix them as they + come up. + +* Tue Feb 19 2008 Fedora Release Engineering - 2.8.4-7 +- Autorebuild for GCC 4.3 + * Tue Aug 28 2007 Hans de Goede - 2.8.4-6 - Rebuild for new expat 2.0 --- wxGTK-2.8.4-bad-g_free.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 14:57:05 2008 From: fedora-extras-commits at redhat.com (Tom Callaway (spot)) Date: Tue, 1 Apr 2008 14:57:05 GMT Subject: rpms/pinfo/devel pinfo.spec,1.33,1.34 Message-ID: <200804011457.m31Ev52Z013151@cvs-int.fedora.redhat.com> Author: spot Update of /cvs/pkgs/rpms/pinfo/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13085 Modified Files: pinfo.spec Log Message: resolve conflict with perl-pmtools (bz 437612) Index: pinfo.spec =================================================================== RCS file: /cvs/pkgs/rpms/pinfo/devel/pinfo.spec,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- pinfo.spec 19 Feb 2008 14:09:55 -0000 1.33 +++ pinfo.spec 1 Apr 2008 14:56:30 -0000 1.34 @@ -1,7 +1,7 @@ Summary: An info file viewer Name: pinfo Version: 0.6.9 -Release: 6%{?dist} +Release: 7%{?dist} Group: System Environment/Base License: GPLv2 URL: http://pinfo.alioth.debian.org @@ -14,8 +14,9 @@ BuildRequires: ncurses-devel Requires: xdg-utils -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info +# for /sbin/install-info +Requires(post): info +Requires(preun): info %description Pinfo is an info file (or man page) viewer with a user interface @@ -37,8 +38,9 @@ rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install -ln -sf pinfo $RPM_BUILD_ROOT%{_bindir}/pman -ln -sf pinfo.1 $RPM_BUILD_ROOT%{_mandir}/man1/pman.1 +# These symbolic links conflict with actual binaries in perl-pmtools (bz 437612) +# ln -sf pinfo $RPM_BUILD_ROOT%{_bindir}/pman +# ln -sf pinfo.1 $RPM_BUILD_ROOT%{_mandir}/man1/pman.1 # This file should not be packaged rm -f $RPM_BUILD_ROOT%{_infodir}/dir @@ -51,10 +53,10 @@ # Purposefully not flagged noreplace to ensure new versions have working config %config %{_sysconfdir}/pinforc %{_bindir}/pinfo -%{_bindir}/pman +# %{_bindir}/pman %{_infodir}/pinfo.info* %{_mandir}/man1/pinfo.1* -%{_mandir}/man1/pman.1* +# %{_mandir}/man1/pman.1* %post /sbin/install-info %{_infodir}/pinfo.info.gz %{_infodir}/dir @@ -70,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Apr 1 2008 Tom "spot" Callaway - 0.6.9-7 +- drop symbolic links to avoid file conflict with perl-pmtools (bz 437612) + * Tue Feb 19 2008 Fedora Release Engineering - 0.6.9-6 - Autorebuild for GCC 4.3 From fedora-extras-commits at redhat.com Tue Apr 1 14:57:19 2008 From: fedora-extras-commits at redhat.com (Rex Dieter (rdieter)) Date: Tue, 1 Apr 2008 14:57:19 GMT Subject: rpms/kflickr/devel kflickr.spec,1.6,1.7 Message-ID: <200804011457.m31EvJdv013177@cvs-int.fedora.redhat.com> Author: rdieter Update of /cvs/pkgs/rpms/kflickr/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13126 Modified Files: kflickr.spec Log Message: * Tue Apr 01 2008 Rex Dieter - 0.9.1-2 - fix rawhide build (#434440) - s/kdebase3-devel/kdelibs3-devel/ - fix SOURCE url Index: kflickr.spec =================================================================== RCS file: /cvs/pkgs/rpms/kflickr/devel/kflickr.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- kflickr.spec 1 Apr 2008 14:45:01 -0000 1.6 +++ kflickr.spec 1 Apr 2008 14:56:40 -0000 1.7 @@ -1,6 +1,6 @@ Name: kflickr Version: 0.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Standalone Flickr Uploader Group: Applications/Internet From fedora-extras-commits at redhat.com Tue Apr 1 15:10:25 2008 From: fedora-extras-commits at redhat.com (Dan Horak (sharkcz)) Date: Tue, 1 Apr 2008 15:10:25 GMT Subject: rpms/wxGTK/F-7 wxGTK-2.8.7-race-fix.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 sources, 1.8, 1.9 wxGTK.spec, 1.30, 1.31 Message-ID: <200804011510.m31FAP40020221@cvs-int.fedora.redhat.com> Author: sharkcz Update of /cvs/pkgs/rpms/wxGTK/F-7 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20178 Modified Files: .cvsignore sources wxGTK.spec Added Files: wxGTK-2.8.7-race-fix.patch Log Message: * Tue Apr 1 2008 Dan Horak - 2.8.7-2 - added fix for a race condition (rh bug #440011) * Wed Feb 20 2008 Matthew Miller - 2.8.7-1 - update to 2.8.7 (rh bug #369621, etc.) - split base libs into separate wxBase package (rh bug #357961) - okay, so, wxPython 2.8.7.1 seems to work fine against this version of the library, so I'm dropping the kludgy-patch-to-2.8.7.1 thing. Please report any compatibility problems with wxPython 2.8.7.1 and I'll fix them as they come up. wxGTK-2.8.7-race-fix.patch: --- NEW FILE wxGTK-2.8.7-race-fix.patch --- --- wxWidgets/src/gtk/app.cpp 2008/03/13 02:56:21 52464 +++ wxWidgets/src/gtk/app.cpp 2008/03/13 04:37:03 52465 @@ -174,59 +174,63 @@ if (!wxTheApp) return false; - bool moreIdles = false; - + guint idleID_save; + { + // Allow another idle source to be added while this one is busy. + // Needed if an idle event handler runs a new event loop, + // for example by showing a dialog. +#if wxUSE_THREADS + wxMutexLocker lock(gs_idleTagsMutex); +#endif + idleID_save = wxTheApp->m_idleTag; + wxTheApp->m_idleTag = 0; + g_isIdle = true; + wxAddEmissionHook(); + } #ifdef __WXDEBUG__ // don't generate the idle events while the assert modal dialog is shown, // this matches the behavior of wxMSW - if (!wxTheApp->IsInAssert()) + if (wxTheApp->IsInAssert()) + return false; #endif // __WXDEBUG__ - { - guint idleID_save; - { - // Allow another idle source to be added while this one is busy. - // Needed if an idle event handler runs a new event loop, - // for example by showing a dialog. -#if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); -#endif - idleID_save = wxTheApp->m_idleTag; - wxTheApp->m_idleTag = 0; - g_isIdle = true; - wxAddEmissionHook(); - } - // When getting called from GDK's time-out handler - // we are no longer within GDK's grab on the GUI - // thread so we must lock it here ourselves. - gdk_threads_enter(); - - // Send idle event to all who request them as long as - // no events have popped up in the event queue. - do { - moreIdles = wxTheApp->ProcessIdle(); - } while (moreIdles && gtk_events_pending() == 0); + // When getting called from GDK's time-out handler + // we are no longer within GDK's grab on the GUI + // thread so we must lock it here ourselves. + gdk_threads_enter(); - // Release lock again - gdk_threads_leave(); - - { - // If another idle source was added, remove it + // Send idle event to all who request them as long as + // no events have popped up in the event queue. + bool moreIdles; + do { + moreIdles = wxTheApp->ProcessIdle(); + } while (moreIdles && gtk_events_pending() == 0); + + // Release lock again + gdk_threads_leave(); + #if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); + wxMutexLocker lock(gs_idleTagsMutex); #endif - if (wxTheApp->m_idleTag != 0) - g_source_remove(wxTheApp->m_idleTag); - wxTheApp->m_idleTag = idleID_save; - g_isIdle = false; - } - } + // If another idle source was added, remove it + if (wxTheApp->m_idleTag != 0) + g_source_remove(wxTheApp->m_idleTag); + wxTheApp->m_idleTag = idleID_save; + g_isIdle = false; - if (!moreIdles) - { #if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); + if (wxPendingEventsLocker) + wxPendingEventsLocker->Enter(); #endif + // Pending events can be added asynchronously, + // need to keep idle source if any have appeared + moreIdles = moreIdles || (wxPendingEvents && !wxPendingEvents->IsEmpty()); +#if wxUSE_THREADS + if (wxPendingEventsLocker) + wxPendingEventsLocker->Leave(); +#endif + if (!moreIdles) + { // Indicate that we are now in idle mode and event handlers // will have to reinstall the idle handler again. g_isIdle = true; Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/F-7/.cvsignore,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- .cvsignore 12 Jul 2007 14:16:10 -0000 1.8 +++ .cvsignore 1 Apr 2008 15:09:43 -0000 1.9 @@ -1 +1 @@ -wxGTK-2.8.4.tar.bz2 +wxGTK-2.8.7.tar.bz2 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/F-7/sources,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- sources 12 Jul 2007 14:16:10 -0000 1.8 +++ sources 1 Apr 2008 15:09:43 -0000 1.9 @@ -1 +1 @@ -22e42c1601d9759530c875ffa2c3c554 wxGTK-2.8.4.tar.bz2 +b25e85eeee524903214ebb520753f4bd wxGTK-2.8.7.tar.bz2 Index: wxGTK.spec =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/F-7/wxGTK.spec,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- wxGTK.spec 12 Jul 2007 14:41:03 -0000 1.30 +++ wxGTK.spec 1 Apr 2008 15:09:43 -0000 1.31 @@ -5,8 +5,8 @@ %define withodbc 0 Name: wxGTK -Version: 2.8.4 -Release: 3%{?dist} +Version: 2.8.7 +Release: 2%{?dist} Summary: GTK2 port of the wxWidgets GUI library # The wxWindows licence is the LGPL with a specific exemption allowing # distribution of derived binaries under any terms. (This will eventually @@ -15,6 +15,8 @@ Group: System Environment/Libraries URL: http://www.wxwidgets.org/ Source0: http://dl.sf.net/wxwindows/%{name}-%{version}.tar.bz2 +Patch0: wxGTK-2.8.7-race-fix.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel, zlib-devel >= 1.1.4 @@ -32,22 +34,28 @@ # all of these are for previous Fedora Extras sub-packages Obsoletes: wxGTK2 < 2.6.2-1 Provides: wxGTK2 = %{version}-%{release} +Obsoletes: compat-wxGTK2 < %{version}-%{release} +Obsoletes: compat-wxGTK < %{version}-%{release} Obsoletes: wxGTK-common < 2.6.2-1 Provides: wxGTK-common = %{version}-%{release} +Obsoletes: compat-wxGTK-common < %{version}-%{release} Obsoletes: wxGTK2-xrc < 2.6.2-1 Obsoletes: wxGTK-xrc < 2.6.2-1 Provides: wxGTK2-xrc = %{version}-%{release} Provides: wxGTK-xrc = %{version}-%{release} +Obsoletes: compat-wxGTK2-xrc < %{version}-%{release} +Obsoletes: compat-wxGTK-xrc < %{version}-%{release} Obsoletes: wxGTK2-stc < 2.6.2-1 Obsoletes: wxGTK-stc < 2.6.2-1 Provides: wxGTK2-stc = %{version}-%{release} Provides: wxGTK-stc = %{version}-%{release} +Obsoletes: compat-wxGTK2-stc < %{version}-%{release} +Obsoletes: compat-wxGTK-stc < %{version}-%{release} -# time to clean up the compat package. -Obsoletes: compat-wxGTK < 2.8.0 +Requires: wxBase = %{version}-%{release} %description wxWidgets/GTK2 is the GTK2 port of the C++ cross-platform wxWidgets @@ -61,12 +69,16 @@ Summary: Development files for the wxGTK2 library Requires: %{name} = %{version}-%{release} Requires: %{name}-gl = %{version}-%{release} +Requires: wxBase = %{version}-%{release} Requires: gtk2-devel Requires: libGL-devel, libGLU-devel Obsoletes: wxGTK2-devel < %{version}-%{release} Provides: wxGTK2-devel = %{version}-%{release} Obsoletes: wxGTK-common-devel < %{version}-%{release} Provides: wxGTK-common-devel = %{version}-%{release} +Obsoletes: compat-wxGTK2-devel < %{version}-%{release} +Obsoletes: compat-wxGTK-devel < %{version}-%{release} +Obsoletes: compat-wxGTK-common-devel < %{version}-%{release} %description devel This package include files needed to link with the wxGTK2 library. @@ -78,10 +90,13 @@ Requires: %{name} = %{version}-%{release} Obsoletes: wxGTK2-gl < %{version}-%{release} Provides: wxGTK2-gl = %{version}-%{release} +Obsoletes: compat-wxGTK2-gl < %{version}-%{release} +Obsoletes: compat-wxGTK-gl < %{version}-%{release} %description gl OpenGL (a 3D graphics API) add-on for the wxWidgets library. + %if %{withodbc} %package odbc Summary: ODBC add-on for the wxWidgets library @@ -92,9 +107,22 @@ ODBC (a SQL database connectivity API) add-on for the wxWidgets library. %endif + +%package -n wxBase +Summary: Non-GUI support classes from the wxWidgets library +Group: System Environment/Libraries + +%description -n wxBase +Every wxWidgets application must link against this library. It contains +mandatory classes that any wxWidgets code depends on (like wxString) and +portability classes that abstract differences between platforms. wxBase can +be used to develop console mode applications -- it does not require any GUI +libraries or the X Window System. + + %prep %setup -q - +%patch0 -p1 -b .racefix sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure @@ -176,14 +204,19 @@ %post gl -p /sbin/ldconfig %postun gl -p /sbin/ldconfig +%if %{withodbc} +%post odbc -p /sbin/ldconfig +%postun odbc -p /sbin/ldconfig +%endif + +%post -n wxBase -p /sbin/ldconfig +%postun -n wxBase -p /sbin/ldconfig + %files -f wxstd.lang %defattr(-,root,root,-) %doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt %doc docs/licendoc.txt docs/preamble.txt docs/readme.txt -%{_libdir}/libwx_baseu-*.so.* -%{_libdir}/libwx_baseu_net-*.so.* -%{_libdir}/libwx_baseu_xml-*.so.* %{_libdir}/libwx_gtk2u_adv-*.so.* %{_libdir}/libwx_gtk2u_aui-*.so.* %{_libdir}/libwx_gtk2u_core-*.so.* @@ -222,7 +255,38 @@ %{_libdir}/libwx_gtk2u_odbc-*.so.* %endif +%files -n wxBase +%doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt +%doc docs/licendoc.txt docs/preamble.txt docs/readme.txt +%{_libdir}/libwx_baseu-*.so.* +%{_libdir}/libwx_baseu_net-*.so.* +%{_libdir}/libwx_baseu_xml-*.so.* + + %changelog +* Tue Apr 1 2008 Dan Horak - 2.8.7-2 +- added fix for a race condition (rh bug #440011) + +* Wed Feb 20 2008 Matthew Miller - 2.8.7-1 +- update to 2.8.7 (rh bug #369621, etc.) +- split base libs into separate wxBase package (rh bug #357961) +- okay, so, wxPython 2.8.7.1 seems to work fine against this version of the + library, so I'm dropping the kludgy-patch-to-2.8.7.1 thing. Please report + any compatibility problems with wxPython 2.8.7.1 and I'll fix them as they + come up. + +* Tue Feb 19 2008 Fedora Release Engineering - 2.8.4-7 +- Autorebuild for GCC 4.3 + +* Tue Aug 28 2007 Hans de Goede - 2.8.4-6 +- Rebuild for new expat 2.0 + +* Fri Aug 3 2007 Matthew Miller - 2.8.4-5 +- obsolete all compat-wxGTK subpackages properly (bug #250687) + +* Mon Jul 16 2007 Matthew Miller - 2.8.4-4 +- patch from svn to fix rh bug #247414 + * Thu Jul 12 2007 Matthew Miller - 2.8.4-3 - include libwx_gtk2u_media, since I'm now listing the buildreqs properly. From fedora-extras-commits at redhat.com Tue Apr 1 15:11:17 2008 From: fedora-extras-commits at redhat.com (Rex Dieter (rdieter)) Date: Tue, 1 Apr 2008 15:11:17 GMT Subject: rpms/lineak-kdeplugins/devel lineak-kdeplugins-0.9-gcc43.patch, NONE, 1.1 lineak-kdeplugins.spec, 1.3, 1.4 Message-ID: <200804011511.m31FBHs1020302@cvs-int.fedora.redhat.com> Author: rdieter Update of /cvs/pkgs/rpms/lineak-kdeplugins/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20232 Modified Files: lineak-kdeplugins.spec Added Files: lineak-kdeplugins-0.9-gcc43.patch Log Message: * Tue Apr 01 2008 Rex Dieter 0.9-4 - fix rawhide build (#434521) - fix SOURCE url - License: GPLv2+ - use versioned Obsoletes lineak-kdeplugins-0.9-gcc43.patch: --- NEW FILE lineak-kdeplugins-0.9-gcc43.patch --- diff -up lineak-kdeplugins-0.9/kmix_plugin/kmixclient.cpp.gcc43 lineak-kdeplugins-0.9/kmix_plugin/kmixclient.cpp --- lineak-kdeplugins-0.9/kmix_plugin/kmixclient.cpp.gcc43 2006-03-02 10:17:25.000000000 -0600 +++ lineak-kdeplugins-0.9/kmix_plugin/kmixclient.cpp 2008-04-01 10:01:40.000000000 -0500 @@ -16,6 +16,7 @@ ***************************************************************************/ #include #include +#include #ifdef HAVE_CONFIG_H #include Index: lineak-kdeplugins.spec =================================================================== RCS file: /cvs/pkgs/rpms/lineak-kdeplugins/devel/lineak-kdeplugins.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- lineak-kdeplugins.spec 20 Feb 2008 08:21:48 -0000 1.3 +++ lineak-kdeplugins.spec 1 Apr 2008 15:10:39 -0000 1.4 @@ -4,30 +4,31 @@ Name: lineak-kdeplugins Version: 0.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: KDE-specific plugins for the lineakd keyboard daemon Group: User Interface/Desktops -License: GPL +License: GPLv2+ URL: http://lineak.sourceforge.net ################################################################################ -Source: http://dl.sourceforge.net/lineak/%{name}-%{version}.tar.gz +Source0: http://downloads.sourceforge.net/lineak/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ################################################################################ +Patch1: lineak-kdeplugins-0.9-gcc43.patch + BuildRequires: lineakd-devel = %{version} -BuildRequires: kdelibs-devel +BuildRequires: kdelibs3-devel BuildRequires: libICE-devel BuildRequires: libSM-devel Requires: lineakd = %{version} -Requires: kdelibs -Obsoletes: lineak_kdeplugins +Obsoletes: lineak_kdeplugins < %{version}-%{release} ################################################################################ @@ -41,6 +42,8 @@ %setup -q +%patch1 -p1 -b .gcc43 + # Replace static lib paths with %{_lib} so we build properly on x86_64 # systems, where the libs are actually in lib64. # if [ "%{_lib}" != "lib" ]; then @@ -85,10 +88,15 @@ ################################################################################ %changelog +* Tue Apr 01 2008 Rex Dieter 0.9-4 +- fix rawhide build (#434521) +- fix SOURCE url +- License: GPLv2+ +- use versioned Obsoletes + * Wed Feb 20 2008 Fedora Release Engineering - 0.9-3 - Autorebuild for GCC 4.3 - * Fri Sep 8 2006 Chris Petersen 0.9-2 - Rebuild for FC6 glibc update From fedora-extras-commits at redhat.com Tue Apr 1 15:13:52 2008 From: fedora-extras-commits at redhat.com (Colin Walters (walters)) Date: Tue, 1 Apr 2008 15:13:52 GMT Subject: rpms/mugshot/devel .cvsignore, 1.19, 1.20 mugshot.spec, 1.35, 1.36 sources, 1.21, 1.22 Message-ID: <200804011513.m31FDqBr020554@cvs-int.fedora.redhat.com> Author: walters Update of /cvs/pkgs/rpms/mugshot/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20461 Modified Files: .cvsignore mugshot.spec sources Log Message: * Tue Apr 01 2008 Colin Walters - 1.1.93-1 - new upstream Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/mugshot/devel/.cvsignore,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- .cvsignore 20 Mar 2008 21:00:00 -0000 1.19 +++ .cvsignore 1 Apr 2008 15:13:16 -0000 1.20 @@ -1 +1 @@ -mugshot-1.1.92.tar.gz +mugshot-1.1.93.tar.gz Index: mugshot.spec =================================================================== RCS file: /cvs/pkgs/rpms/mugshot/devel/mugshot.spec,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- mugshot.spec 26 Mar 2008 18:59:04 -0000 1.35 +++ mugshot.spec 1 Apr 2008 15:13:16 -0000 1.36 @@ -2,7 +2,7 @@ %define mugshot_ext_id firefox at mugshot.org Name: mugshot -Version: 1.1.92 +Version: 1.1.93 Release: 2%{?dist} Summary: Companion software for mugshot.org @@ -75,10 +75,6 @@ # Don't package a .la file for the component .so find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' -mkdir -p $RPM_BUILD_ROOT/%{_libdir}/mozilla/extensions/%{firefox_app_id} -ln -s %{_libdir}/mugshot/firefox \ - $RPM_BUILD_ROOT/%{_libdir}/mozilla/extensions/%{firefox_app_id}/%{mugshot_ext_id} - # Run desktop-file-install to so we get validation (and to make # things fedora-packaging-guidelines compliant) desktop-file-install \ @@ -165,13 +161,15 @@ %{_datadir}/icons/hicolor/128x128/apps/*.png %{_datadir}/mugshot %ghost %{_datadir}/mugshot/version -%{_libdir}/mugshot %{_libdir}/mozilla/extensions/%{firefox_app_id}/%{mugshot_ext_id} %{_datadir}/applications/mugshot.desktop %{_datadir}/gnome/autostart/mugshot-autostart.desktop %{_sysconfdir}/gconf/schemas/*.schemas %changelog +* Tue Apr 01 2008 Colin Walters - 1.1.93-1 +- new upstream + * Wed Mar 26 2008 Christopher Aillon - 1.1.92-2 - Ship the firefox extension in the system location Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/mugshot/devel/sources,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- sources 20 Mar 2008 21:00:00 -0000 1.21 +++ sources 1 Apr 2008 15:13:16 -0000 1.22 @@ -1 +1 @@ -da2c1846b3fa9427f025ef68c5ac0c26 mugshot-1.1.92.tar.gz +86d188b5edc211b3fb6735d2aae0f353 mugshot-1.1.93.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 15:17:17 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 15:17:17 +0000 Subject: [pkgdb] synce-kde had acl change status Message-ID: <200804011524.m31FOLvX023509@bastion.fedora.phx.redhat.com> Andreas Bierfert (awjb) has set the approveacls acl on synce-kde (Fedora devel) to Approved for Rex Dieter (rdieter) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/synce-kde From fedora-extras-commits at redhat.com Tue Apr 1 15:16:15 2008 From: fedora-extras-commits at redhat.com (Fedora PackageDB (pkgdb)) Date: Tue, 01 Apr 2008 15:16:15 +0000 Subject: [pkgdb] synce-kde had acl change status Message-ID: <200804011524.m31FOL0L023508@bastion.fedora.phx.redhat.com> Andreas Bierfert (awjb) has set the commit acl on synce-kde (Fedora devel) to Approved for Rex Dieter (rdieter) To make changes to this package see: https://admin.fedoraproject.org/pkgdb/packages/name/synce-kde From fedora-extras-commits at redhat.com Tue Apr 1 15:16:22 2008 From: fedora-extras-commits at redhat.com (Ray Strode (rstrode)) Date: Tue, 1 Apr 2008 15:16:22 GMT Subject: rpms/rhgb/devel .cvsignore, 1.29, 1.30 rhgb.spec, 1.95, 1.96 sources, 1.32, 1.33 Message-ID: <200804011516.m31FGMxQ020896@cvs-int.fedora.redhat.com> Author: rstrode Update of /cvs/pkgs/rpms/rhgb/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20733 Modified Files: .cvsignore rhgb.spec sources Log Message: - Update to 9.0.0 to get new fedora artwork Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/rhgb/devel/.cvsignore,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- .cvsignore 11 Mar 2008 16:50:14 -0000 1.29 +++ .cvsignore 1 Apr 2008 15:15:21 -0000 1.30 @@ -1,2 +1 @@ -rhgb-0.17.7.tar.gz -rhgb.upstart-job +rhgb-9.0.0.tar.gz Index: rhgb.spec =================================================================== RCS file: /cvs/pkgs/rpms/rhgb/devel/rhgb.spec,v retrieving revision 1.95 retrieving revision 1.96 diff -u -r1.95 -r1.96 --- rhgb.spec 17 Mar 2008 06:03:35 -0000 1.95 +++ rhgb.spec 1 Apr 2008 15:15:21 -0000 1.96 @@ -2,8 +2,8 @@ Summary: Red Hat Graphical Boot Name: rhgb -Version: 0.17.7 -Release: 11%{?dist} +Version: 9.0.0 +Release: 1%{?dist} Epoch: 1 URL: http://www.redhat.com/ Source0: %{name}-%{version}.tar.gz @@ -18,18 +18,12 @@ Requires: initscripts >= 7.22-1 Requires: system-logos Requires: inotify-tools -Patch0: rhgb-0.17.7-strict-exit.patch -Patch1: rhgb-0.17.7-dri.patch -Patch2: rhgb-0.17.7-no-inittab.patch %description Red Hat Graphical Boot provides a clean and simple interface to the boot process %prep %setup -q -%patch0 -p1 -b .strict-exit -%patch1 -p1 -b .dri -%patch2 -p1 -b .no-inittab %build %configure @@ -59,6 +53,9 @@ %dir %{_sysconfdir}/rhgb/temp %changelog +* Tue Apr 1 2008 Ray Strode - 1:9.0.0-1 +- Update to 9.0.0 to get new fedora artwork + * Sun Mar 18 2008 Casey Dahlin - 1:0.17.7-11 - Don't check /etc/inittab for default runlevel since it may no longer be present Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/rhgb/devel/sources,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- sources 11 Mar 2008 20:09:19 -0000 1.32 +++ sources 1 Apr 2008 15:15:21 -0000 1.33 @@ -1 +1 @@ -d4ca6badf78b32aa342a5036de4650ff rhgb-0.17.7.tar.gz +1c6f78601c86d140a9fbd231001ceab0 rhgb-9.0.0.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 15:16:32 2008 From: fedora-extras-commits at redhat.com (Dennis Gilmore (ausil)) Date: Tue, 1 Apr 2008 15:16:32 GMT Subject: rpms/fedora-packager/F-8 .cvsignore, 1.3, 1.4 fedora-packager.spec, 1.2, 1.3 sources, 1.3, 1.4 Message-ID: <200804011516.m31FGWC6020916@cvs-int.fedora.redhat.com> Author: ausil Update of /cvs/extras/rpms/fedora-packager/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20799 Modified Files: .cvsignore fedora-packager.spec sources Log Message: update to 0.3.0 Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/F-8/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 21 Mar 2008 03:58:10 -0000 1.3 +++ .cvsignore 1 Apr 2008 15:15:54 -0000 1.4 @@ -1 +1 @@ -fedora-packager-0.2.0.tar.bz2 +fedora-packager-0.3.0.tar.bz2 Index: fedora-packager.spec =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/F-8/fedora-packager.spec,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- fedora-packager.spec 21 Mar 2008 03:58:10 -0000 1.2 +++ fedora-packager.spec 1 Apr 2008 15:15:54 -0000 1.3 @@ -1,5 +1,5 @@ Name: fedora-packager -Version: 0.2.0 +Version: 0.3.0 Release: 1%{?dist} Summary: Tools for setting up a fedora maintainer environment @@ -11,8 +11,7 @@ Requires: koji bodhi-client plague-client Requires: rpm-build rpmdevtools rpmlint -Requires: cvs mercurial git-core bzr -Requires: gcc gcc-c++ mock +Requires: mock pyOpenSSL BuildArch: noarch @@ -39,18 +38,22 @@ %files %defattr(-,root,root,-) %doc COPYING TODO AUTHORS ChangeLog -%{_bindir}/fedora-packager-setup.sh +%{_bindir}/fedora-packager-setup %{_bindir}/fedora-cvs %changelog +* Sun Mar 30 2008 Dennis Gilmore - 0.3.0-1 +- update to 0.3.0 fedora-cvs uses pyOpenSSL to work out username +- remove Requires on RCS's for fedora-hosted +- rename fedora-packager-setup.sh to fedora-packager-setup + * Fri Feb 22 2008 Dennis Gilmore - 0.2.0-1 - new upstream release - update for fas2 - fedora-cvs can now check out multiple modules at once -- only require git-core -- update urls for upstream to fedorahosted.org +- only require git-core * Mon Dec 03 2007 Dennis Gilmore - 0.1.1-1 - fix typo in description Index: sources =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/F-8/sources,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sources 21 Mar 2008 03:58:10 -0000 1.3 +++ sources 1 Apr 2008 15:15:54 -0000 1.4 @@ -1 +1 @@ -22355776764b7a435bef7d16ba81dc04 fedora-packager-0.2.0.tar.bz2 +39cfae6f1905e0e564bddf53a2b0d495 fedora-packager-0.3.0.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 15:17:33 2008 From: fedora-extras-commits at redhat.com (Colin Walters (walters)) Date: Tue, 1 Apr 2008 15:17:33 GMT Subject: rpms/bigboard/devel bigboard-0.3.2-pyexecdir.patch,1.1,NONE Message-ID: <200804011517.m31FHXTK021053@cvs-int.fedora.redhat.com> Author: walters Update of /cvs/extras/rpms/bigboard/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21032 Removed Files: bigboard-0.3.2-pyexecdir.patch Log Message: remove old patch --- bigboard-0.3.2-pyexecdir.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 15:19:29 2008 From: fedora-extras-commits at redhat.com (Dennis Gilmore (ausil)) Date: Tue, 1 Apr 2008 15:19:29 GMT Subject: rpms/fedora-packager/F-7 .cvsignore, 1.3, 1.4 fedora-packager.spec, 1.2, 1.3 sources, 1.3, 1.4 Message-ID: <200804011519.m31FJTTh021293@cvs-int.fedora.redhat.com> Author: ausil Update of /cvs/extras/rpms/fedora-packager/F-7 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21200 Modified Files: .cvsignore fedora-packager.spec sources Log Message: update to 0.3.0 Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/F-7/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- .cvsignore 21 Mar 2008 04:00:44 -0000 1.3 +++ .cvsignore 1 Apr 2008 15:18:53 -0000 1.4 @@ -1 +1 @@ -fedora-packager-0.2.0.tar.bz2 +fedora-packager-0.3.0.tar.bz2 Index: fedora-packager.spec =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/F-7/fedora-packager.spec,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- fedora-packager.spec 21 Mar 2008 04:00:44 -0000 1.2 +++ fedora-packager.spec 1 Apr 2008 15:18:53 -0000 1.3 @@ -1,5 +1,5 @@ Name: fedora-packager -Version: 0.2.0 +Version: 0.3.0 Release: 1%{?dist} Summary: Tools for setting up a fedora maintainer environment @@ -11,8 +11,7 @@ Requires: koji bodhi-client plague-client Requires: rpm-build rpmdevtools rpmlint -Requires: cvs mercurial git-core bzr -Requires: gcc gcc-c++ mock +Requires: mock pyOpenSSL BuildArch: noarch @@ -39,18 +38,22 @@ %files %defattr(-,root,root,-) %doc COPYING TODO AUTHORS ChangeLog -%{_bindir}/fedora-packager-setup.sh +%{_bindir}/fedora-packager-setup %{_bindir}/fedora-cvs %changelog +* Sun Mar 30 2008 Dennis Gilmore - 0.3.0-1 +- update to 0.3.0 fedora-cvs uses pyOpenSSL to work out username +- remove Requires on RCS's for fedora-hosted +- rename fedora-packager-setup.sh to fedora-packager-setup + * Fri Feb 22 2008 Dennis Gilmore - 0.2.0-1 - new upstream release - update for fas2 - fedora-cvs can now check out multiple modules at once -- only require git-core -- update urls for upstream to fedorahosted.org +- only require git-core * Mon Dec 03 2007 Dennis Gilmore - 0.1.1-1 - fix typo in description Index: sources =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/F-7/sources,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sources 21 Mar 2008 04:00:44 -0000 1.3 +++ sources 1 Apr 2008 15:18:53 -0000 1.4 @@ -1 +1 @@ -22355776764b7a435bef7d16ba81dc04 fedora-packager-0.2.0.tar.bz2 +39cfae6f1905e0e564bddf53a2b0d495 fedora-packager-0.3.0.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 15:20:48 2008 From: fedora-extras-commits at redhat.com (Dennis Gilmore (ausil)) Date: Tue, 1 Apr 2008 15:20:48 GMT Subject: rpms/fedora-packager/EL-5 .cvsignore, 1.2, 1.3 fedora-packager.spec, 1.3, 1.4 sources, 1.2, 1.3 Message-ID: <200804011520.m31FKmOm021510@cvs-int.fedora.redhat.com> Author: ausil Update of /cvs/extras/rpms/fedora-packager/EL-5 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21407 Modified Files: .cvsignore fedora-packager.spec sources Log Message: update to 0.3.0 Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/EL-5/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- .cvsignore 4 Dec 2007 01:03:38 -0000 1.2 +++ .cvsignore 1 Apr 2008 15:20:08 -0000 1.3 @@ -1 +1 @@ -fedora-packager-0.1.1.tar.bz2 +fedora-packager-0.3.0.tar.bz2 Index: fedora-packager.spec =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/EL-5/fedora-packager.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- fedora-packager.spec 22 Jan 2008 14:50:27 -0000 1.3 +++ fedora-packager.spec 1 Apr 2008 15:20:08 -0000 1.4 @@ -1,19 +1,17 @@ Name: fedora-packager -Version: 0.1.1 -Release: 2%{?dist} +Version: 0.3.0 +Release: 1%{?dist} Summary: Tools for setting up a fedora maintainer environment Group: Applications/Productivity License: GPLv2+ -URL: https://hosted.fedoraproject.org/projects/fedora-packager/ -Source0: https://hosted.fedoraproject.org/projects/fedora-packager/attachment/wiki/WikiStart/fedora-packager-%{version}.tar.bz2 +URL: https://fedorahosted.org/fedora-packager +Source0: https://fedorahosted.org/fedora-packager/attachment/wiki/WikiStart/fedora-packager-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -#RHEL5 has no plague-client -Requires: koji bodhi-client +Requires: koji bodhi-client plague-client Requires: rpm-build rpmdevtools rpmlint -Requires: cvs mercurial git bzr -Requires: gcc gcc-c++ mock +Requires: mock pyOpenSSL BuildArch: noarch @@ -40,14 +38,22 @@ %files %defattr(-,root,root,-) %doc COPYING TODO AUTHORS ChangeLog -%{_bindir}/fedora-packager-setup.sh +%{_bindir}/fedora-packager-setup %{_bindir}/fedora-cvs %changelog -* Tue Jan 22 2008 Dennis Gilmore - 0.1.1-2 -- remove plague-client on el5 +* Sun Mar 30 2008 Dennis Gilmore - 0.3.0-1 +- update to 0.3.0 fedora-cvs uses pyOpenSSL to work out username +- remove Requires on RCS's for fedora-hosted +- rename fedora-packager-setup.sh to fedora-packager-setup + +* Fri Feb 22 2008 Dennis Gilmore - 0.2.0-1 +- new upstream release +- update for fas2 +- fedora-cvs can now check out multiple modules at once +- only require git-core * Mon Dec 03 2007 Dennis Gilmore - 0.1.1-1 - fix typo in description Index: sources =================================================================== RCS file: /cvs/extras/rpms/fedora-packager/EL-5/sources,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sources 4 Dec 2007 01:03:38 -0000 1.2 +++ sources 1 Apr 2008 15:20:08 -0000 1.3 @@ -1 +1 @@ -58979c5c9c5974dc51e7cdd85d6fb374 fedora-packager-0.1.1.tar.bz2 +39cfae6f1905e0e564bddf53a2b0d495 fedora-packager-0.3.0.tar.bz2 From fedora-extras-commits at redhat.com Tue Apr 1 15:26:38 2008 From: fedora-extras-commits at redhat.com (Rex Dieter (rdieter)) Date: Tue, 1 Apr 2008 15:26:38 GMT Subject: rpms/quadkonsole/devel quadkonsole.spec,1.6,1.7 Message-ID: <200804011526.m31FQcRN021816@cvs-int.fedora.redhat.com> Author: rdieter Update of /cvs/pkgs/rpms/quadkonsole/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21774 Modified Files: quadkonsole.spec Log Message: * Tue Apr 01 2008 Rex Dieter - 2.0.2-3 - fix rawhide build (#434346) - d-f-i: fix double vendor - License: GPLv2+ Index: quadkonsole.spec =================================================================== RCS file: /cvs/pkgs/rpms/quadkonsole/devel/quadkonsole.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- quadkonsole.spec 19 Feb 2008 16:19:58 -0000 1.6 +++ quadkonsole.spec 1 Apr 2008 15:26:01 -0000 1.7 @@ -1,16 +1,18 @@ Name: quadkonsole Version: 2.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Embeds Konsole kparts in a grid layout Group: Applications/System -License: GPL +License: GPLv2+ URL: http://nomis80.org/quadkonsole/ Source0: http://nomis80.org/quadkonsole/quadkonsole-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: kdebase -BuildRequires: kdelibs-devel >= 3.2, desktop-file-utils +BuildRequires: kdelibs3-devel desktop-file-utils + +# for (kde3) konsole kpart +Requires: kdebase3 %description QuadKonsole is a program which embeds 4 Konsoles (other numbers can be @@ -33,10 +35,9 @@ make install DESTDIR=$RPM_BUILD_ROOT desktop-file-install \ - --vendor fedora \ + --vendor="" \ --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \ --delete-original \ - --add-category X-Fedora \ $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/quadkonsole.desktop @@ -48,10 +49,15 @@ %defattr(-,root,root,-) %doc AUTHORS COPYING README TODO %{_bindir}/quadkonsole -%{_datadir}/applications/kde/fedora-quadkonsole.desktop +%{_datadir}/applications/kde/*quadkonsole.desktop %changelog +* Tue Apr 01 2008 Rex Dieter - 2.0.2-3 +- fix rawhide build (#434346) +- d-f-i: fix double vendor +- License: GPLv2+ + * Tue Feb 19 2008 Fedora Release Engineering - 2.0.2-2 - Autorebuild for GCC 4.3 From fedora-extras-commits at redhat.com Tue Apr 1 15:27:35 2008 From: fedora-extras-commits at redhat.com (Dan Horak (sharkcz)) Date: Tue, 1 Apr 2008 15:27:35 GMT Subject: rpms/wxGTK/EL-5 wxGTK-2.8.7-race-fix.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 sources, 1.8, 1.9 wxGTK.spec, 1.33, 1.34 wxGTK-2.8.4-bad-g_free.patch, 1.1, NONE Message-ID: <200804011527.m31FRZB9021956@cvs-int.fedora.redhat.com> Author: sharkcz Update of /cvs/pkgs/rpms/wxGTK/EL-5 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21867 Modified Files: .cvsignore sources wxGTK.spec Added Files: wxGTK-2.8.7-race-fix.patch Removed Files: wxGTK-2.8.4-bad-g_free.patch Log Message: * Tue Apr 1 2008 Dan Horak - 2.8.7-2 - added fix for a race condition (rh bug #440011) * Wed Feb 20 2008 Matthew Miller - 2.8.7-1 - update to 2.8.7 (rh bug #369621, etc.) - split base libs into separate wxBase package (rh bug #357961) - okay, so, wxPython 2.8.7.1 seems to work fine against this version of the library, so I'm dropping the kludgy-patch-to-2.8.7.1 thing. Please report any compatibility problems with wxPython 2.8.7.1 and I'll fix them as they come up. wxGTK-2.8.7-race-fix.patch: --- NEW FILE wxGTK-2.8.7-race-fix.patch --- --- wxWidgets/src/gtk/app.cpp 2008/03/13 02:56:21 52464 +++ wxWidgets/src/gtk/app.cpp 2008/03/13 04:37:03 52465 @@ -174,59 +174,63 @@ if (!wxTheApp) return false; - bool moreIdles = false; - + guint idleID_save; + { + // Allow another idle source to be added while this one is busy. + // Needed if an idle event handler runs a new event loop, + // for example by showing a dialog. +#if wxUSE_THREADS + wxMutexLocker lock(gs_idleTagsMutex); +#endif + idleID_save = wxTheApp->m_idleTag; + wxTheApp->m_idleTag = 0; + g_isIdle = true; + wxAddEmissionHook(); + } #ifdef __WXDEBUG__ // don't generate the idle events while the assert modal dialog is shown, // this matches the behavior of wxMSW - if (!wxTheApp->IsInAssert()) + if (wxTheApp->IsInAssert()) + return false; #endif // __WXDEBUG__ - { - guint idleID_save; - { - // Allow another idle source to be added while this one is busy. - // Needed if an idle event handler runs a new event loop, - // for example by showing a dialog. -#if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); -#endif - idleID_save = wxTheApp->m_idleTag; - wxTheApp->m_idleTag = 0; - g_isIdle = true; - wxAddEmissionHook(); - } - // When getting called from GDK's time-out handler - // we are no longer within GDK's grab on the GUI - // thread so we must lock it here ourselves. - gdk_threads_enter(); - - // Send idle event to all who request them as long as - // no events have popped up in the event queue. - do { - moreIdles = wxTheApp->ProcessIdle(); - } while (moreIdles && gtk_events_pending() == 0); + // When getting called from GDK's time-out handler + // we are no longer within GDK's grab on the GUI + // thread so we must lock it here ourselves. + gdk_threads_enter(); - // Release lock again - gdk_threads_leave(); - - { - // If another idle source was added, remove it + // Send idle event to all who request them as long as + // no events have popped up in the event queue. + bool moreIdles; + do { + moreIdles = wxTheApp->ProcessIdle(); + } while (moreIdles && gtk_events_pending() == 0); + + // Release lock again + gdk_threads_leave(); + #if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); + wxMutexLocker lock(gs_idleTagsMutex); #endif - if (wxTheApp->m_idleTag != 0) - g_source_remove(wxTheApp->m_idleTag); - wxTheApp->m_idleTag = idleID_save; - g_isIdle = false; - } - } + // If another idle source was added, remove it + if (wxTheApp->m_idleTag != 0) + g_source_remove(wxTheApp->m_idleTag); + wxTheApp->m_idleTag = idleID_save; + g_isIdle = false; - if (!moreIdles) - { #if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); + if (wxPendingEventsLocker) + wxPendingEventsLocker->Enter(); #endif + // Pending events can be added asynchronously, + // need to keep idle source if any have appeared + moreIdles = moreIdles || (wxPendingEvents && !wxPendingEvents->IsEmpty()); +#if wxUSE_THREADS + if (wxPendingEventsLocker) + wxPendingEventsLocker->Leave(); +#endif + if (!moreIdles) + { // Indicate that we are now in idle mode and event handlers // will have to reinstall the idle handler again. g_isIdle = true; Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/EL-5/.cvsignore,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- .cvsignore 11 Jul 2007 18:24:06 -0000 1.8 +++ .cvsignore 1 Apr 2008 15:26:50 -0000 1.9 @@ -1 +1 @@ -wxGTK-2.8.4.tar.bz2 +wxGTK-2.8.7.tar.bz2 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/EL-5/sources,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- sources 11 Jul 2007 18:24:06 -0000 1.8 +++ sources 1 Apr 2008 15:26:50 -0000 1.9 @@ -1 +1 @@ -22e42c1601d9759530c875ffa2c3c554 wxGTK-2.8.4.tar.bz2 +b25e85eeee524903214ebb520753f4bd wxGTK-2.8.7.tar.bz2 Index: wxGTK.spec =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/EL-5/wxGTK.spec,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- wxGTK.spec 17 Jul 2007 02:25:16 -0000 1.33 +++ wxGTK.spec 1 Apr 2008 15:26:50 -0000 1.34 @@ -5,8 +5,8 @@ %define withodbc 0 Name: wxGTK -Version: 2.8.4 -Release: 4%{?dist} +Version: 2.8.7 +Release: 2%{?dist} Summary: GTK2 port of the wxWidgets GUI library # The wxWindows licence is the LGPL with a specific exemption allowing # distribution of derived binaries under any terms. (This will eventually @@ -15,8 +15,7 @@ Group: System Environment/Libraries URL: http://www.wxwidgets.org/ Source0: http://dl.sf.net/wxwindows/%{name}-%{version}.tar.bz2 -# http://svn.wxwidgets.org/viewvc/wx?view=rev&revision=46513 -Patch0: wxGTK-2.8.4-bad-g_free.patch +Patch0: wxGTK-2.8.7-race-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -35,22 +34,28 @@ # all of these are for previous Fedora Extras sub-packages Obsoletes: wxGTK2 < 2.6.2-1 Provides: wxGTK2 = %{version}-%{release} +Obsoletes: compat-wxGTK2 < %{version}-%{release} +Obsoletes: compat-wxGTK < %{version}-%{release} Obsoletes: wxGTK-common < 2.6.2-1 Provides: wxGTK-common = %{version}-%{release} +Obsoletes: compat-wxGTK-common < %{version}-%{release} Obsoletes: wxGTK2-xrc < 2.6.2-1 Obsoletes: wxGTK-xrc < 2.6.2-1 Provides: wxGTK2-xrc = %{version}-%{release} Provides: wxGTK-xrc = %{version}-%{release} +Obsoletes: compat-wxGTK2-xrc < %{version}-%{release} +Obsoletes: compat-wxGTK-xrc < %{version}-%{release} Obsoletes: wxGTK2-stc < 2.6.2-1 Obsoletes: wxGTK-stc < 2.6.2-1 Provides: wxGTK2-stc = %{version}-%{release} Provides: wxGTK-stc = %{version}-%{release} +Obsoletes: compat-wxGTK2-stc < %{version}-%{release} +Obsoletes: compat-wxGTK-stc < %{version}-%{release} -# time to clean up the compat package. -Obsoletes: compat-wxGTK < 2.8.0 +Requires: wxBase = %{version}-%{release} %description wxWidgets/GTK2 is the GTK2 port of the C++ cross-platform wxWidgets @@ -64,12 +69,16 @@ Summary: Development files for the wxGTK2 library Requires: %{name} = %{version}-%{release} Requires: %{name}-gl = %{version}-%{release} +Requires: wxBase = %{version}-%{release} Requires: gtk2-devel Requires: libGL-devel, libGLU-devel Obsoletes: wxGTK2-devel < %{version}-%{release} Provides: wxGTK2-devel = %{version}-%{release} Obsoletes: wxGTK-common-devel < %{version}-%{release} Provides: wxGTK-common-devel = %{version}-%{release} +Obsoletes: compat-wxGTK2-devel < %{version}-%{release} +Obsoletes: compat-wxGTK-devel < %{version}-%{release} +Obsoletes: compat-wxGTK-common-devel < %{version}-%{release} %description devel This package include files needed to link with the wxGTK2 library. @@ -81,10 +90,13 @@ Requires: %{name} = %{version}-%{release} Obsoletes: wxGTK2-gl < %{version}-%{release} Provides: wxGTK2-gl = %{version}-%{release} +Obsoletes: compat-wxGTK2-gl < %{version}-%{release} +Obsoletes: compat-wxGTK-gl < %{version}-%{release} %description gl OpenGL (a 3D graphics API) add-on for the wxWidgets library. + %if %{withodbc} %package odbc Summary: ODBC add-on for the wxWidgets library @@ -95,10 +107,22 @@ ODBC (a SQL database connectivity API) add-on for the wxWidgets library. %endif + +%package -n wxBase +Summary: Non-GUI support classes from the wxWidgets library +Group: System Environment/Libraries + +%description -n wxBase +Every wxWidgets application must link against this library. It contains +mandatory classes that any wxWidgets code depends on (like wxString) and +portability classes that abstract differences between platforms. wxBase can +be used to develop console mode applications -- it does not require any GUI +libraries or the X Window System. + + %prep %setup -q - -%patch0 -p2 -b .badfree +%patch0 -p1 -b .racefix sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure @@ -180,14 +204,19 @@ %post gl -p /sbin/ldconfig %postun gl -p /sbin/ldconfig +%if %{withodbc} +%post odbc -p /sbin/ldconfig +%postun odbc -p /sbin/ldconfig +%endif + +%post -n wxBase -p /sbin/ldconfig +%postun -n wxBase -p /sbin/ldconfig + %files -f wxstd.lang %defattr(-,root,root,-) %doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt %doc docs/licendoc.txt docs/preamble.txt docs/readme.txt -%{_libdir}/libwx_baseu-*.so.* -%{_libdir}/libwx_baseu_net-*.so.* -%{_libdir}/libwx_baseu_xml-*.so.* %{_libdir}/libwx_gtk2u_adv-*.so.* %{_libdir}/libwx_gtk2u_aui-*.so.* %{_libdir}/libwx_gtk2u_core-*.so.* @@ -226,7 +255,35 @@ %{_libdir}/libwx_gtk2u_odbc-*.so.* %endif +%files -n wxBase +%doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt +%doc docs/licendoc.txt docs/preamble.txt docs/readme.txt +%{_libdir}/libwx_baseu-*.so.* +%{_libdir}/libwx_baseu_net-*.so.* +%{_libdir}/libwx_baseu_xml-*.so.* + + %changelog +* Tue Apr 1 2008 Dan Horak - 2.8.7-2 +- added fix for a race condition (rh bug #440011) + +* Wed Feb 20 2008 Matthew Miller - 2.8.7-1 +- update to 2.8.7 (rh bug #369621, etc.) +- split base libs into separate wxBase package (rh bug #357961) +- okay, so, wxPython 2.8.7.1 seems to work fine against this version of the + library, so I'm dropping the kludgy-patch-to-2.8.7.1 thing. Please report + any compatibility problems with wxPython 2.8.7.1 and I'll fix them as they + come up. + +* Tue Feb 19 2008 Fedora Release Engineering - 2.8.4-7 +- Autorebuild for GCC 4.3 + +* Tue Aug 28 2007 Hans de Goede - 2.8.4-6 +- Rebuild for new expat 2.0 + +* Fri Aug 3 2007 Matthew Miller - 2.8.4-5 +- obsolete all compat-wxGTK subpackages properly (bug #250687) + * Mon Jul 16 2007 Matthew Miller - 2.8.4-4 - patch from svn to fix rh bug #247414 --- wxGTK-2.8.4-bad-g_free.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 15:29:50 2008 From: fedora-extras-commits at redhat.com (Colin Walters (walters)) Date: Tue, 1 Apr 2008 15:29:50 GMT Subject: rpms/mugshot/devel mugshot.spec,1.36,1.37 Message-ID: <200804011529.m31FTonp022242@cvs-int.fedora.redhat.com> Author: walters Update of /cvs/pkgs/rpms/mugshot/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22166 Modified Files: mugshot.spec Log Message: bump br Index: mugshot.spec =================================================================== RCS file: /cvs/pkgs/rpms/mugshot/devel/mugshot.spec,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- mugshot.spec 1 Apr 2008 15:13:16 -0000 1.36 +++ mugshot.spec 1 Apr 2008 15:29:14 -0000 1.37 @@ -42,7 +42,7 @@ BuildRequires: desktop-file-utils BuildRequires: sqlite-devel >= 3.0.0 BuildRequires: desktop-data-model-devel >= 1.2.0-2 -BuildRequires: hippo-canvas-devel +BuildRequires: hippo-canvas-devel >= 0.2.30 # 1.0.3-3 has a backport from 1.0.4 to fix various segfaults Requires: loudmouth >= 1.0.3-3 From fedora-extras-commits at redhat.com Tue Apr 1 15:31:51 2008 From: fedora-extras-commits at redhat.com (Karsten Hopp (karsten)) Date: Tue, 1 Apr 2008 15:31:51 GMT Subject: devel/dictd dictd.init,1.3,1.4 Message-ID: <200804011531.m31FVpef022461@cvs-int.fedora.redhat.com> Author: karsten Update of /cvs/extras/devel/dictd In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22392 Modified Files: dictd.init Log Message: fix typo (#281981) Index: dictd.init =================================================================== RCS file: /cvs/extras/devel/dictd/dictd.init,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- dictd.init 13 Aug 2007 15:47:59 -0000 1.3 +++ dictd.init 1 Apr 2008 15:31:06 -0000 1.4 @@ -91,7 +91,7 @@ RETVAL=$? ;; *) - echo $"Usage: $0 {start|stop|restart|try-restart|condrestart|reload|force-reloadstatus}" + echo $"Usage: $0 {start|stop|restart|try-restart|condrestart|reload|force-reload|status}" exit 1 ;; esac From fedora-extras-commits at redhat.com Tue Apr 1 15:34:28 2008 From: fedora-extras-commits at redhat.com (Bastien Nocera (hadess)) Date: Tue, 1 Apr 2008 15:34:28 GMT Subject: rpms/rhythmbox/F-8 rb-fix-lastfm-data-submission.patch, NONE, 1.1 rhythmbox.spec, 1.153, 1.154 Message-ID: <200804011534.m31FYSFK022805@cvs-int.fedora.redhat.com> Author: hadess Update of /cvs/pkgs/rpms/rhythmbox/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22619 Modified Files: rhythmbox.spec Added Files: rb-fix-lastfm-data-submission.patch Log Message: * Tue Apr 01 2008 - Bastien Nocera - 0.11.3-10 - Add last.fm submission patch (#426046) rb-fix-lastfm-data-submission.patch: --- NEW FILE rb-fix-lastfm-data-submission.patch --- --- rhythmbox-0.11.3.old/plugins/audioscrobbler/rb-audioscrobbler.c 2007-08-10 09:34:45.000000000 +0100 +++ rhythmbox-0.11.3/plugins/audioscrobbler/rb-audioscrobbler.c 2008-04-01 16:30:45.000000000 +0100 @@ -564,8 +564,8 @@ rb_audioscrobbler_add_to_queue (RBAudios static void maybe_add_current_song_to_queue (RBAudioscrobbler *audioscrobbler) { + gboolean got_elapsed; guint elapsed; - int elapsed_delta; AudioscrobblerEntry *cur_entry; cur_entry = audioscrobbler->priv->currently_playing; @@ -575,25 +575,30 @@ maybe_add_current_song_to_queue (RBAudio rb_debug ("Adding currently playing song to queue"); - rb_shell_player_get_playing_time (audioscrobbler->priv->shell_player, &elapsed, NULL); - elapsed_delta = elapsed - audioscrobbler->priv->current_elapsed; - audioscrobbler->priv->current_elapsed = elapsed; - - if ((elapsed >= cur_entry->length / 2 || elapsed >= 240) && elapsed_delta < 20) { - time (&cur_entry->play_time); - if (rb_audioscrobbler_add_to_queue (audioscrobbler, cur_entry)){ - audioscrobbler->priv->currently_playing = NULL; - } + got_elapsed = rb_shell_player_get_playing_time (audioscrobbler->priv->shell_player, + &elapsed, + NULL); + if (got_elapsed) { + int elapsed_delta = elapsed - audioscrobbler->priv->current_elapsed; + audioscrobbler->priv->current_elapsed = elapsed; - rb_audioscrobbler_preferences_sync (audioscrobbler); - } else if (elapsed_delta > 20) { - rb_debug ("Skipping detected; not submitting current song"); - /* not sure about this - what if I skip to somewhere towards - * the end, but then go back and listen to the whole song? - */ - audioscrobbler_entry_free (audioscrobbler->priv->currently_playing); - audioscrobbler->priv->currently_playing = NULL; + if ((elapsed >= cur_entry->length / 2 || elapsed >= 240) && elapsed_delta < 20) { + rb_debug ("Adding currently playing song to queue"); + time (&cur_entry->play_time); + if (rb_audioscrobbler_add_to_queue (audioscrobbler, cur_entry)){ + audioscrobbler->priv->currently_playing = NULL; + } + + rb_audioscrobbler_preferences_sync (audioscrobbler); + } else if (elapsed_delta > 20) { + rb_debug ("Skipping detected; not submitting current song"); + /* not sure about this - what if I skip to somewhere towards + * the end, but then go back and listen to the whole song? + */ + audioscrobbler_entry_free (audioscrobbler->priv->currently_playing); + audioscrobbler->priv->currently_playing = NULL; + } } } @@ -1274,6 +1279,7 @@ rb_audioscrobbler_song_changed_cb (RBShe RhythmDBEntry *entry, RBAudioscrobbler *audioscrobbler) { + gboolean got_time; guint time; if (audioscrobbler->priv->currently_playing != NULL) { @@ -1285,11 +1291,17 @@ rb_audioscrobbler_song_changed_cb (RBShe return; } - rb_shell_player_get_playing_time (audioscrobbler->priv->shell_player, - &time, NULL); - audioscrobbler->priv->current_elapsed = (int) time; + got_time = rb_shell_player_get_playing_time (audioscrobbler->priv->shell_player, + &time, + NULL); + if (got_time) { + audioscrobbler->priv->current_elapsed = (int) time; + } else { + rb_debug ("didn't get playing time; assuming 0"); + audioscrobbler->priv->current_elapsed = 0; + } - if (rb_audioscrobbler_is_queueable (entry) && (time < 15)) { + if (rb_audioscrobbler_is_queueable (entry) && (got_time == FALSE || time < 15)) { AudioscrobblerEntry *as_entry; /* even if it's the same song, it's being played again from Index: rhythmbox.spec =================================================================== RCS file: /cvs/pkgs/rpms/rhythmbox/F-8/rhythmbox.spec,v retrieving revision 1.153 retrieving revision 1.154 diff -u -r1.153 -r1.154 --- rhythmbox.spec 17 Jan 2008 17:01:23 -0000 1.153 +++ rhythmbox.spec 1 Apr 2008 15:33:15 -0000 1.154 @@ -3,7 +3,7 @@ Name: rhythmbox Summary: Music Management Application Version: 0.11.3 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2+ and GFDL+ Group: Applications/Multimedia URL: http://www.gnome.org/projects/rhythmbox/ @@ -59,6 +59,8 @@ # http://bugzilla.gnome.org/show_bug.cgi?id=507450 # http://svn.gnome.org/viewvc/rhythmbox?view=revision&revision=5455 Patch5: rhythmbox-0.11.3-xfade-pause-deadlock.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=499745 +Patch6: rb-fix-lastfm-data-submission.patch %description Rhythmbox is an integrated music management application based on the powerful @@ -94,6 +96,7 @@ %patch3 -p1 -b .python-threading %patch4 -p0 -b .dont-disable-suspend %patch5 -p1 -b .xfade-pause-deadlocks +%patch6 -p1 -b .lastfm-sub %build @@ -205,6 +208,9 @@ %{_libdir}/rhythmbox/plugins/upnp_coherence %changelog +* Tue Apr 01 2008 - Bastien Nocera - 0.11.3-10 +- Add last.fm submission patch (#426046) + * Thu Jan 17 2008 - Bastien Nocera - 0.11.3-9 - Own the plugins directory (#389111) From fedora-extras-commits at redhat.com Tue Apr 1 15:34:55 2008 From: fedora-extras-commits at redhat.com (Rex Dieter (rdieter)) Date: Tue, 1 Apr 2008 15:34:55 GMT Subject: rpms/synce-kde/devel synce-kde-0.9.1-gcc43.patch, NONE, 1.1 synce-kde.spec, 1.3, 1.4 Message-ID: <200804011534.m31FYtZa022873@cvs-int.fedora.redhat.com> Author: rdieter Update of /cvs/pkgs/rpms/synce-kde/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22767 Modified Files: synce-kde.spec Added Files: synce-kde-0.9.1-gcc43.patch Log Message: * Tue Apr 01 2008 Rex Dieter - 0.9.1-3 - fix rawhide build (#433997) - BR: gettext - fix SOURCE url synce-kde-0.9.1-gcc43.patch: --- NEW FILE synce-kde-0.9.1-gcc43.patch --- diff -up synce-kde-0.9.1/raki/matchmaker.cpp.gcc43 synce-kde-0.9.1/raki/matchmaker.cpp --- synce-kde-0.9.1/raki/matchmaker.cpp.gcc43 2006-01-29 15:15:22.000000000 -0600 +++ synce-kde-0.9.1/raki/matchmaker.cpp 2008-04-01 09:22:12.000000000 -0500 @@ -24,6 +24,7 @@ #include "rapiwrapper.h" #include #include +#include MatchMaker::MatchMaker(QString pdaName) { Index: synce-kde.spec =================================================================== RCS file: /cvs/pkgs/rpms/synce-kde/devel/synce-kde.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- synce-kde.spec 18 Feb 2008 20:49:22 -0000 1.3 +++ synce-kde.spec 1 Apr 2008 15:34:14 -0000 1.4 @@ -1,19 +1,20 @@ Name: synce-kde Summary: Connection service application for Pocket PC handhelds Version: 0.9.1 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/Communications License: MIT URL: http://www.synce.org/index.php/KDE -Source0: http://download.sf.net/synce/synce-kde-%{version}.tar.gz -#Source0: synce-kde-cvs20060521.tar.gz -#Patch0: synce-kde-gcc4.patch +Source0: http://downloads.sf.net/synce/synce-kde-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: kdelibs-devel, desktop-file-utils, libsynce-devel, librra-devel +Patch1: synce-kde-0.9.1-gcc43.patch + +BuildRequires: kdelibs3-devel, desktop-file-utils, libsynce-devel, librra-devel BuildRequires: librapi-devel, unshield-devel, dynamite-devel, orange-devel +BuildRequires: gettext -Requires: vdccm, synce-serial, hicolor-icon-theme +Requires: vdccm, synce-serial %description SynCE-KDE is a PC / Windows CE connection service application like ActiveSync. @@ -34,6 +35,8 @@ %prep %setup -q +%patch1 -p1 -b .gcc43 + %build unset QTDIR && . %{_sysconfdir}/profile.d/qt.sh @@ -98,6 +101,11 @@ %changelog +* Tue Apr 01 2008 Rex Dieter - 0.9.1-3 +- fix rawhide build (#433997) +- BR: gettext +- fix SOURCE url + * Mon Feb 18 2008 Fedora Release Engineering - 0.9.1-2 - Autorebuild for GCC 4.3 From fedora-extras-commits at redhat.com Tue Apr 1 15:37:36 2008 From: fedora-extras-commits at redhat.com (Lukas Tinkl (ltinkl)) Date: Tue, 1 Apr 2008 15:37:36 GMT Subject: rpms/kdemultimedia/devel kdemultimedia.spec,1.103,1.104 Message-ID: <200804011537.m31Fbarb024457@cvs-int.fedora.redhat.com> Author: ltinkl Update of /cvs/extras/rpms/kdemultimedia/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23613 Modified Files: kdemultimedia.spec Log Message: fix kmix systray volume control Index: kdemultimedia.spec =================================================================== RCS file: /cvs/extras/rpms/kdemultimedia/devel/kdemultimedia.spec,v retrieving revision 1.103 retrieving revision 1.104 diff -u -r1.103 -r1.104 --- kdemultimedia.spec 31 Mar 2008 22:39:06 -0000 1.103 +++ kdemultimedia.spec 1 Apr 2008 15:36:45 -0000 1.104 @@ -2,13 +2,14 @@ Name: kdemultimedia Epoch: 6 Version: 4.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: K Desktop Environment - Multimedia applications -Group: Applications/Multimedia -License: GPLv2 -URL: http://www.kde.org/ -Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/kdemultimedia-%{version}.tar.bz2 +Group: Applications/Multimedia +License: GPLv2 +URL: http://www.kde.org/ +Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/kdemultimedia-%{version}.tar.bz2 +Patch0: kdemultimedia-4.0.3-kmix-systray.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # This one is normal, FLAC_OGG_LIBRARY is not actually used anyway: @@ -63,7 +64,7 @@ %prep %setup -q -n kdemultimedia-%{version} - +%patch0 -p1 -b .kmix-systray.patch %build @@ -130,6 +131,9 @@ %changelog +* Tue Apr 1 2008 Luk???? Tinkl +- fix kmix systray volume control tooltip + * Mon Mar 31 2008 Kevin Kofler 4.0.3-2 - Rebuild for NDEBUG From fedora-extras-commits at redhat.com Tue Apr 1 15:38:16 2008 From: fedora-extras-commits at redhat.com (Lukas Tinkl (ltinkl)) Date: Tue, 1 Apr 2008 15:38:16 GMT Subject: rpms/kdemultimedia/devel kdemultimedia-4.0.3-kmix-systray.patch, NONE, 1.1 Message-ID: <200804011538.m31FcGVP024965@cvs-int.fedora.redhat.com> Author: ltinkl Update of /cvs/extras/rpms/kdemultimedia/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24786 Added Files: kdemultimedia-4.0.3-kmix-systray.patch Log Message: add the actual patch kdemultimedia-4.0.3-kmix-systray.patch: --- NEW FILE kdemultimedia-4.0.3-kmix-systray.patch --- --- kdemultimedia/kmix/kmixdockwidget.cpp 2008/03/31 19:01:21 792277 +++ kdemultimedia/kmix/kmixdockwidget.cpp 2008/03/31 19:03:01 792278 @@ -296,12 +296,7 @@ event->accept(); return true; } -// else if (event->type() == QEvent::ToolTip ) { -// trayToolTipEvent((QHelpEvent*)event); -// event->accept(); -// return true; -// } - return false; + return QSystemTrayIcon::event(event); } @@ -344,12 +339,10 @@ else md->captureVolume().setVolume(vol); m_mixer->commitVolumeChange(md); - // refresh the toolTip (Qt removes it on a MouseWheel event) - // Mhhh, it doesn't work. Qt does not show it again. setVolumeTip(); // Simulate a mouse move to make Qt show the tooltip again - //QApplication::postEvent( this, new QMouseEvent( QEvent::MouseMove, QCursor::pos(), Qt::NoButton, Qt::NoButton ) ); - + // (Qt removes it on a MouseWheel event) + QApplication::postEvent( this, new QHelpEvent ( QEvent::ToolTip, e->pos(), e->globalPos() ) ); } } From fedora-extras-commits at redhat.com Tue Apr 1 15:40:14 2008 From: fedora-extras-commits at redhat.com (Lukas Tinkl (ltinkl)) Date: Tue, 1 Apr 2008 15:40:14 GMT Subject: rpms/kdemultimedia/devel kdemultimedia.spec,1.104,1.105 Message-ID: <200804011540.m31FeEob026490@cvs-int.fedora.redhat.com> Author: ltinkl Update of /cvs/extras/rpms/kdemultimedia/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25909 Modified Files: kdemultimedia.spec Log Message: fix pasto Index: kdemultimedia.spec =================================================================== RCS file: /cvs/extras/rpms/kdemultimedia/devel/kdemultimedia.spec,v retrieving revision 1.104 retrieving revision 1.105 diff -u -r1.104 -r1.105 --- kdemultimedia.spec 1 Apr 2008 15:36:45 -0000 1.104 +++ kdemultimedia.spec 1 Apr 2008 15:39:36 -0000 1.105 @@ -64,7 +64,7 @@ %prep %setup -q -n kdemultimedia-%{version} -%patch0 -p1 -b .kmix-systray.patch +%patch0 -p1 -b .kmix-systray %build From fedora-extras-commits at redhat.com Tue Apr 1 15:48:54 2008 From: fedora-extras-commits at redhat.com (Tim Waugh (twaugh)) Date: Tue, 1 Apr 2008 15:48:54 GMT Subject: rpms/cups/devel cups-CVE-2008-0047.patch, NONE, 1.1 cups-CVE-2008-1373.patch, NONE, 1.1 cups.spec, 1.405, 1.406 Message-ID: <200804011548.m31FmsCp029156@cvs-int.fedora.redhat.com> Author: twaugh Update of /cvs/pkgs/rpms/cups/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29111 Modified Files: cups.spec Added Files: cups-CVE-2008-0047.patch cups-CVE-2008-1373.patch Log Message: * Thu Apr 1 2008 Tim Waugh 1:1.3.6-9 - Applied patch to fix CVE-2008-1373 (GIF overflow, bug #438303). - Applied patch to prevent heap-based buffer overflow in CUPS helper program (bug #436153, CVE-2008-0047, STR #2729). cups-CVE-2008-0047.patch: --- NEW FILE cups-CVE-2008-0047.patch --- diff -up cups-1.3.6/cgi-bin/search.c.CVE-2008-0047 cups-1.3.6/cgi-bin/search.c --- cups-1.3.6/cgi-bin/search.c.CVE-2008-0047 2008-01-16 22:20:33.000000000 +0000 +++ cups-1.3.6/cgi-bin/search.c 2008-04-01 16:41:30.000000000 +0100 @@ -167,7 +167,9 @@ cgiCompileSearch(const char *query) /* I * string + RE overhead... */ - wlen = (sptr - s) + 4 * wlen + 2 * strlen(prefix) + 4; + wlen = (sptr - s) + 2 * 4 * wlen + 2 * strlen(prefix) + 11; + if (lword) + wlen += strlen(lword); if (wlen > slen) { cups-CVE-2008-1373.patch: --- NEW FILE cups-CVE-2008-1373.patch --- diff -up cups-1.3.6/filter/image-gif.c.CVE-2008-1373 cups-1.3.6/filter/image-gif.c --- cups-1.3.6/filter/image-gif.c.CVE-2008-1373 2008-01-14 22:12:58.000000000 +0000 +++ cups-1.3.6/filter/image-gif.c 2008-04-01 16:43:22.000000000 +0100 @@ -38,6 +38,8 @@ #define GIF_INTERLACE 0x40 #define GIF_COLORMAP 0x80 +#define MAX_LWZ_BITS 12 + typedef cups_ib_t gif_cmap_t[256][4]; typedef short gif_table_t[4096]; @@ -465,6 +467,9 @@ gif_read_image(FILE *fp, /* I - if (!pixels) return (-1); + if (code_size > MAX_LWZ_BITS) + return (-1); + if (gif_read_lzw(fp, 1, code_size) < 0) { free(pixels); Index: cups.spec =================================================================== RCS file: /cvs/pkgs/rpms/cups/devel/cups.spec,v retrieving revision 1.405 retrieving revision 1.406 diff -u -r1.405 -r1.406 --- cups.spec 1 Apr 2008 12:05:26 -0000 1.405 +++ cups.spec 1 Apr 2008 15:48:12 -0000 1.406 @@ -7,7 +7,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.3.6 -Release: 8%{?svn:.svn%{svn}}%{?dist} +Release: 9%{?svn:.svn%{svn}}%{?dist} License: GPLv2 Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?svn:svn-r%{svn}}-source.tar.bz2 @@ -48,6 +48,8 @@ Patch25: cups-usb-paperout.patch Patch26: cups-str2715.patch Patch27: cups-str2727.patch +Patch28: cups-CVE-2008-0047.patch +Patch29: cups-CVE-2008-1373.patch Patch100: cups-lspp.patch Epoch: 1 Url: http://www.cups.org/ @@ -165,6 +167,8 @@ %patch25 -p1 -b .usb-paperout %patch26 -p1 -b .str2715 %patch27 -p1 -b .str2727 +%patch28 -p1 -b .CVE-2008-0047 +%patch29 -p1 -b .CVE-2008-1373 %if %lspp %patch100 -p1 -b .lspp @@ -441,6 +445,11 @@ %{cups_serverbin}/daemon/cups-lpd %changelog +* Thu Apr 1 2008 Tim Waugh 1:1.3.6-9 +- Applied patch to fix CVE-2008-1373 (GIF overflow, bug #438303). +- Applied patch to prevent heap-based buffer overflow in CUPS helper + program (bug #436153, CVE-2008-0047, STR #2729). + * Thu Apr 1 2008 Tim Waugh 1:1.3.6-8 - Ship a few doc files (bug #438598). From fedora-extras-commits at redhat.com Tue Apr 1 15:50:47 2008 From: fedora-extras-commits at redhat.com (Dan Horak (sharkcz)) Date: Tue, 1 Apr 2008 15:50:47 GMT Subject: rpms/wxGTK/EL-4 wxGTK-2.8.7-race-fix.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 sources, 1.8, 1.9 wxGTK.spec, 1.34, 1.35 wxGTK-2.8.4-bad-g_free.patch, 1.1, NONE Message-ID: <200804011550.m31Folr4029292@cvs-int.fedora.redhat.com> Author: sharkcz Update of /cvs/pkgs/rpms/wxGTK/EL-4 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29238 Modified Files: .cvsignore sources wxGTK.spec Added Files: wxGTK-2.8.7-race-fix.patch Removed Files: wxGTK-2.8.4-bad-g_free.patch Log Message: * Tue Apr 1 2008 Dan Horak - 2.8.7-2 - added fix for a race condition (rh bug #440011) * Wed Feb 20 2008 Matthew Miller - 2.8.7-1 - update to 2.8.7 (rh bug #369621, etc.) - split base libs into separate wxBase package (rh bug #357961) - okay, so, wxPython 2.8.7.1 seems to work fine against this version of the library, so I'm dropping the kludgy-patch-to-2.8.7.1 thing. Please report any compatibility problems with wxPython 2.8.7.1 and I'll fix them as they come up. wxGTK-2.8.7-race-fix.patch: --- NEW FILE wxGTK-2.8.7-race-fix.patch --- --- wxWidgets/src/gtk/app.cpp 2008/03/13 02:56:21 52464 +++ wxWidgets/src/gtk/app.cpp 2008/03/13 04:37:03 52465 @@ -174,59 +174,63 @@ if (!wxTheApp) return false; - bool moreIdles = false; - + guint idleID_save; + { + // Allow another idle source to be added while this one is busy. + // Needed if an idle event handler runs a new event loop, + // for example by showing a dialog. +#if wxUSE_THREADS + wxMutexLocker lock(gs_idleTagsMutex); +#endif + idleID_save = wxTheApp->m_idleTag; + wxTheApp->m_idleTag = 0; + g_isIdle = true; + wxAddEmissionHook(); + } #ifdef __WXDEBUG__ // don't generate the idle events while the assert modal dialog is shown, // this matches the behavior of wxMSW - if (!wxTheApp->IsInAssert()) + if (wxTheApp->IsInAssert()) + return false; #endif // __WXDEBUG__ - { - guint idleID_save; - { - // Allow another idle source to be added while this one is busy. - // Needed if an idle event handler runs a new event loop, - // for example by showing a dialog. -#if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); -#endif - idleID_save = wxTheApp->m_idleTag; - wxTheApp->m_idleTag = 0; - g_isIdle = true; - wxAddEmissionHook(); - } - // When getting called from GDK's time-out handler - // we are no longer within GDK's grab on the GUI - // thread so we must lock it here ourselves. - gdk_threads_enter(); - - // Send idle event to all who request them as long as - // no events have popped up in the event queue. - do { - moreIdles = wxTheApp->ProcessIdle(); - } while (moreIdles && gtk_events_pending() == 0); + // When getting called from GDK's time-out handler + // we are no longer within GDK's grab on the GUI + // thread so we must lock it here ourselves. + gdk_threads_enter(); - // Release lock again - gdk_threads_leave(); - - { - // If another idle source was added, remove it + // Send idle event to all who request them as long as + // no events have popped up in the event queue. + bool moreIdles; + do { + moreIdles = wxTheApp->ProcessIdle(); + } while (moreIdles && gtk_events_pending() == 0); + + // Release lock again + gdk_threads_leave(); + #if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); + wxMutexLocker lock(gs_idleTagsMutex); #endif - if (wxTheApp->m_idleTag != 0) - g_source_remove(wxTheApp->m_idleTag); - wxTheApp->m_idleTag = idleID_save; - g_isIdle = false; - } - } + // If another idle source was added, remove it + if (wxTheApp->m_idleTag != 0) + g_source_remove(wxTheApp->m_idleTag); + wxTheApp->m_idleTag = idleID_save; + g_isIdle = false; - if (!moreIdles) - { #if wxUSE_THREADS - wxMutexLocker lock(gs_idleTagsMutex); + if (wxPendingEventsLocker) + wxPendingEventsLocker->Enter(); #endif + // Pending events can be added asynchronously, + // need to keep idle source if any have appeared + moreIdles = moreIdles || (wxPendingEvents && !wxPendingEvents->IsEmpty()); +#if wxUSE_THREADS + if (wxPendingEventsLocker) + wxPendingEventsLocker->Leave(); +#endif + if (!moreIdles) + { // Indicate that we are now in idle mode and event handlers // will have to reinstall the idle handler again. g_isIdle = true; Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/EL-4/.cvsignore,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- .cvsignore 11 Jul 2007 18:24:06 -0000 1.8 +++ .cvsignore 1 Apr 2008 15:50:01 -0000 1.9 @@ -1 +1 @@ -wxGTK-2.8.4.tar.bz2 +wxGTK-2.8.7.tar.bz2 Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/EL-4/sources,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- sources 11 Jul 2007 18:24:06 -0000 1.8 +++ sources 1 Apr 2008 15:50:01 -0000 1.9 @@ -1 +1 @@ -22e42c1601d9759530c875ffa2c3c554 wxGTK-2.8.4.tar.bz2 +b25e85eeee524903214ebb520753f4bd wxGTK-2.8.7.tar.bz2 Index: wxGTK.spec =================================================================== RCS file: /cvs/pkgs/rpms/wxGTK/EL-4/wxGTK.spec,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- wxGTK.spec 24 Dec 2007 10:22:45 -0000 1.34 +++ wxGTK.spec 1 Apr 2008 15:50:01 -0000 1.35 @@ -5,8 +5,8 @@ %define withodbc 0 Name: wxGTK -Version: 2.8.4 -Release: 4%{?dist}.1 +Version: 2.8.7 +Release: 2%{?dist} Summary: GTK2 port of the wxWidgets GUI library # The wxWindows licence is the LGPL with a specific exemption allowing # distribution of derived binaries under any terms. (This will eventually @@ -15,8 +15,7 @@ Group: System Environment/Libraries URL: http://www.wxwidgets.org/ Source0: http://dl.sf.net/wxwindows/%{name}-%{version}.tar.bz2 -# http://svn.wxwidgets.org/viewvc/wx?view=rev&revision=46513 -Patch0: wxGTK-2.8.4-bad-g_free.patch +Patch0: wxGTK-2.8.7-race-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -33,22 +32,28 @@ # all of these are for previous Fedora Extras sub-packages Obsoletes: wxGTK2 < 2.6.2-1 Provides: wxGTK2 = %{version}-%{release} +Obsoletes: compat-wxGTK2 < %{version}-%{release} +Obsoletes: compat-wxGTK < %{version}-%{release} Obsoletes: wxGTK-common < 2.6.2-1 Provides: wxGTK-common = %{version}-%{release} +Obsoletes: compat-wxGTK-common < %{version}-%{release} Obsoletes: wxGTK2-xrc < 2.6.2-1 Obsoletes: wxGTK-xrc < 2.6.2-1 Provides: wxGTK2-xrc = %{version}-%{release} Provides: wxGTK-xrc = %{version}-%{release} +Obsoletes: compat-wxGTK2-xrc < %{version}-%{release} +Obsoletes: compat-wxGTK-xrc < %{version}-%{release} Obsoletes: wxGTK2-stc < 2.6.2-1 Obsoletes: wxGTK-stc < 2.6.2-1 Provides: wxGTK2-stc = %{version}-%{release} Provides: wxGTK-stc = %{version}-%{release} +Obsoletes: compat-wxGTK2-stc < %{version}-%{release} +Obsoletes: compat-wxGTK-stc < %{version}-%{release} -# time to clean up the compat package. -Obsoletes: compat-wxGTK < 2.8.0 +Requires: wxBase = %{version}-%{release} %description wxWidgets/GTK2 is the GTK2 port of the C++ cross-platform wxWidgets @@ -62,12 +67,16 @@ Summary: Development files for the wxGTK2 library Requires: %{name} = %{version}-%{release} Requires: %{name}-gl = %{version}-%{release} +Requires: wxBase = %{version}-%{release} Requires: gtk2-devel Requires: libGL-devel, libGLU-devel Obsoletes: wxGTK2-devel < %{version}-%{release} Provides: wxGTK2-devel = %{version}-%{release} Obsoletes: wxGTK-common-devel < %{version}-%{release} Provides: wxGTK-common-devel = %{version}-%{release} +Obsoletes: compat-wxGTK2-devel < %{version}-%{release} +Obsoletes: compat-wxGTK-devel < %{version}-%{release} +Obsoletes: compat-wxGTK-common-devel < %{version}-%{release} %description devel This package include files needed to link with the wxGTK2 library. @@ -79,10 +88,13 @@ Requires: %{name} = %{version}-%{release} Obsoletes: wxGTK2-gl < %{version}-%{release} Provides: wxGTK2-gl = %{version}-%{release} +Obsoletes: compat-wxGTK2-gl < %{version}-%{release} +Obsoletes: compat-wxGTK-gl < %{version}-%{release} %description gl OpenGL (a 3D graphics API) add-on for the wxWidgets library. + %if %{withodbc} %package odbc Summary: ODBC add-on for the wxWidgets library @@ -93,10 +105,22 @@ ODBC (a SQL database connectivity API) add-on for the wxWidgets library. %endif + +%package -n wxBase +Summary: Non-GUI support classes from the wxWidgets library +Group: System Environment/Libraries + +%description -n wxBase +Every wxWidgets application must link against this library. It contains +mandatory classes that any wxWidgets code depends on (like wxString) and +portability classes that abstract differences between platforms. wxBase can +be used to develop console mode applications -- it does not require any GUI +libraries or the X Window System. + + %prep %setup -q - -%patch0 -p2 -b .badfree +%patch0 -p1 -b .racefix sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure @@ -178,14 +202,19 @@ %post gl -p /sbin/ldconfig %postun gl -p /sbin/ldconfig +%if %{withodbc} +%post odbc -p /sbin/ldconfig +%postun odbc -p /sbin/ldconfig +%endif + +%post -n wxBase -p /sbin/ldconfig +%postun -n wxBase -p /sbin/ldconfig + %files -f wxstd.lang %defattr(-,root,root,-) %doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt %doc docs/licendoc.txt docs/preamble.txt docs/readme.txt -%{_libdir}/libwx_baseu-*.so.* -%{_libdir}/libwx_baseu_net-*.so.* -%{_libdir}/libwx_baseu_xml-*.so.* %{_libdir}/libwx_gtk2u_adv-*.so.* %{_libdir}/libwx_gtk2u_aui-*.so.* %{_libdir}/libwx_gtk2u_core-*.so.* @@ -223,9 +252,34 @@ %{_libdir}/libwx_gtk2u_odbc-*.so.* %endif +%files -n wxBase +%doc docs/changes.txt docs/gpl.txt docs/lgpl.txt docs/licence.txt +%doc docs/licendoc.txt docs/preamble.txt docs/readme.txt +%{_libdir}/libwx_baseu-*.so.* +%{_libdir}/libwx_baseu_net-*.so.* +%{_libdir}/libwx_baseu_xml-*.so.* + + %changelog -* Mon Dec 24 2007 Dan Horak - 2.8.4-4.1 -- remove some BR so it builds on EL-4 +* Tue Apr 1 2008 Dan Horak - 2.8.7-2 +- added fix for a race condition (rh bug #440011) + +* Wed Feb 20 2008 Matthew Miller - 2.8.7-1 +- update to 2.8.7 (rh bug #369621, etc.) +- split base libs into separate wxBase package (rh bug #357961) +- okay, so, wxPython 2.8.7.1 seems to work fine against this version of the + library, so I'm dropping the kludgy-patch-to-2.8.7.1 thing. Please report + any compatibility problems with wxPython 2.8.7.1 and I'll fix them as they + come up. + +* Tue Feb 19 2008 Fedora Release Engineering - 2.8.4-7 +- Autorebuild for GCC 4.3 + +* Tue Aug 28 2007 Hans de Goede - 2.8.4-6 +- Rebuild for new expat 2.0 + +* Fri Aug 3 2007 Matthew Miller - 2.8.4-5 +- obsolete all compat-wxGTK subpackages properly (bug #250687) * Mon Jul 16 2007 Matthew Miller - 2.8.4-4 - patch from svn to fix rh bug #247414 --- wxGTK-2.8.4-bad-g_free.patch DELETED --- From fedora-extras-commits at redhat.com Tue Apr 1 15:53:32 2008 From: fedora-extras-commits at redhat.com (Tim Waugh (twaugh)) Date: Tue, 1 Apr 2008 15:53:32 GMT Subject: rpms/cups/F-8 cups-CVE-2008-0047.patch, NONE, 1.1 cups-CVE-2008-1373.patch, NONE, 1.1 cups.spec, 1.386, 1.387 Message-ID: <200804011553.m31FrWPt029504@cvs-int.fedora.redhat.com> Author: twaugh Update of /cvs/pkgs/rpms/cups/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29471 Modified Files: cups.spec Added Files: cups-CVE-2008-0047.patch cups-CVE-2008-1373.patch Log Message: * Thu Apr 1 2008 Tim Waugh 1:1.3.6-4 - Applied patch to fix CVE-2008-1373 (GIF overflow, bug #438303). - Applied patch to prevent heap-based buffer overflow in CUPS helper program (bug #436153, CVE-2008-0047, STR #2729). cups-CVE-2008-0047.patch: --- NEW FILE cups-CVE-2008-0047.patch --- diff -up cups-1.3.6/cgi-bin/search.c.CVE-2008-0047 cups-1.3.6/cgi-bin/search.c --- cups-1.3.6/cgi-bin/search.c.CVE-2008-0047 2008-01-16 22:20:33.000000000 +0000 +++ cups-1.3.6/cgi-bin/search.c 2008-04-01 16:41:30.000000000 +0100 @@ -167,7 +167,9 @@ cgiCompileSearch(const char *query) /* I * string + RE overhead... */ - wlen = (sptr - s) + 4 * wlen + 2 * strlen(prefix) + 4; + wlen = (sptr - s) + 2 * 4 * wlen + 2 * strlen(prefix) + 11; + if (lword) + wlen += strlen(lword); if (wlen > slen) { cups-CVE-2008-1373.patch: --- NEW FILE cups-CVE-2008-1373.patch --- diff -up cups-1.3.6/filter/image-gif.c.CVE-2008-1373 cups-1.3.6/filter/image-gif.c --- cups-1.3.6/filter/image-gif.c.CVE-2008-1373 2008-01-14 22:12:58.000000000 +0000 +++ cups-1.3.6/filter/image-gif.c 2008-04-01 16:43:22.000000000 +0100 @@ -38,6 +38,8 @@ #define GIF_INTERLACE 0x40 #define GIF_COLORMAP 0x80 +#define MAX_LWZ_BITS 12 + typedef cups_ib_t gif_cmap_t[256][4]; typedef short gif_table_t[4096]; @@ -465,6 +467,9 @@ gif_read_image(FILE *fp, /* I - if (!pixels) return (-1); + if (code_size > MAX_LWZ_BITS) + return (-1); + if (gif_read_lzw(fp, 1, code_size) < 0) { free(pixels); Index: cups.spec =================================================================== RCS file: /cvs/pkgs/rpms/cups/F-8/cups.spec,v retrieving revision 1.386 retrieving revision 1.387 diff -u -r1.386 -r1.387 --- cups.spec 28 Feb 2008 22:34:17 -0000 1.386 +++ cups.spec 1 Apr 2008 15:52:57 -0000 1.387 @@ -6,7 +6,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.3.6 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}-source.tar.bz2 @@ -48,6 +48,8 @@ Patch25: cups-usb-paperout.patch Patch26: cups-str2715.patch Patch27: cups-str2727.patch +Patch28: cups-CVE-2008-0047.patch +Patch29: cups-CVE-2008-1373.patch Patch100: cups-lspp.patch Epoch: 1 Url: http://www.cups.org/ @@ -162,6 +164,8 @@ %patch25 -p1 -b .usb-paperout %patch26 -p1 -b .str2715 %patch27 -p1 -b .str2727 +%patch28 -p1 -b .CVE-2008-0047 +%patch29 -p1 -b .CVE-2008-1373 %if %lspp %patch100 -p1 -b .lspp @@ -454,6 +458,11 @@ %{cups_serverbin}/daemon/cups-lpd %changelog +* Thu Apr 1 2008 Tim Waugh 1:1.3.6-4 +- Applied patch to fix CVE-2008-1373 (GIF overflow, bug #438303). +- Applied patch to prevent heap-based buffer overflow in CUPS helper + program (bug #436153, CVE-2008-0047, STR #2729). + * Thu Feb 28 2008 Tim Waugh 1.3.6-3 - Apply upstream fix for Adobe JPEG files (bug #166460, STR #2727). From fedora-extras-commits at redhat.com Tue Apr 1 15:59:16 2008 From: fedora-extras-commits at redhat.com (Chuck Ebbert (cebbert)) Date: Tue, 1 Apr 2008 15:59:16 GMT Subject: rpms/kernel/F-8 linux-2.6-isapnp-fix-limits.patch, NONE, 1.1 linux-2.6-pnp-extend-resource-limits.patch, NONE, 1.1 kernel.spec, 1.412, 1.413 Message-ID: <200804011559.m31FxGag030036@cvs-int.fedora.redhat.com> Author: cebbert Update of /cvs/pkgs/rpms/kernel/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29940 Modified Files: kernel.spec Added Files: linux-2.6-isapnp-fix-limits.patch linux-2.6-pnp-extend-resource-limits.patch Log Message: * Tue Apr 01 2008 Chuck Ebbert 2.6.24.4-67 - Fix ISAPnP device resource limits so they match the spec. - Extend the PnP memory resource limit to 24. linux-2.6-isapnp-fix-limits.patch: --- NEW FILE linux-2.6-isapnp-fix-limits.patch --- Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=245073f0b3a8b8b626f3222dacb483695bf46419 Commit: 245073f0b3a8b8b626f3222dacb483695bf46419 Parent: a57543376c99e4d074516c5bf23c7ddc1dc613a0 Author: Bjorn Helgaas AuthorDate: Fri Mar 21 12:08:37 2008 -0600 Committer: Linus Torvalds CommitDate: Sat Mar 22 17:00:03 2008 -0700 ISAPNP: fix limits of logical device register set PNP_MAX_MEM and PNP_MAX_PORT are mainly used to size tables of PNP device resources. In 2.6.24, we increased their values to accomodate ACPI devices that have many resources: 2.6.23 2.6.24 ------ ------ PNP_MAX_MEM 4 12 PNP_MAX_PORT 8 40 However, ISAPNP also used these constants as the size of parts of the logical device register set. This register set is fixed by hardware, so increasing the constants meant that we were reading and writing unintended parts of the register set. This patch changes ISAPNP to use the correct register set sizes (the same values we used prior to 2.6.24). Signed-off-by: Bjorn Helgaas Signed-off-by: Linus Torvalds --- drivers/pnp/isapnp/core.c | 25 +++++++++++++++++-------- 1 files changed, 17 insertions(+), 8 deletions(-) diff --git a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c index 2c925b7..257f5d8 100644 --- a/drivers/pnp/isapnp/core.c +++ b/drivers/pnp/isapnp/core.c @@ -88,6 +88,15 @@ MODULE_LICENSE("GPL"); #define _LTAG_MEM32RANGE 0x85 #define _LTAG_FIXEDMEM32RANGE 0x86 +/* + * Sizes of ISAPNP logical device configuration register sets. + * See PNP-ISA-v1.0a.pdf, Appendix A. + */ +#define ISAPNP_MAX_MEM 4 +#define ISAPNP_MAX_PORT 8 +#define ISAPNP_MAX_IRQ 2 +#define ISAPNP_MAX_DMA 2 + static unsigned char isapnp_checksum_value; static DEFINE_MUTEX(isapnp_cfg_mutex); static int isapnp_csn_count; @@ -945,14 +954,14 @@ static int isapnp_read_resources(struct pnp_dev *dev, dev->active = isapnp_read_byte(ISAPNP_CFG_ACTIVATE); if (dev->active) { - for (tmp = 0; tmp < PNP_MAX_PORT; tmp++) { + for (tmp = 0; tmp < ISAPNP_MAX_PORT; tmp++) { ret = isapnp_read_word(ISAPNP_CFG_PORT + (tmp << 1)); if (!ret) continue; res->port_resource[tmp].start = ret; res->port_resource[tmp].flags = IORESOURCE_IO; } - for (tmp = 0; tmp < PNP_MAX_MEM; tmp++) { + for (tmp = 0; tmp < ISAPNP_MAX_MEM; tmp++) { ret = isapnp_read_word(ISAPNP_CFG_MEM + (tmp << 3)) << 8; if (!ret) @@ -960,7 +969,7 @@ static int isapnp_read_resources(struct pnp_dev *dev, res->mem_resource[tmp].start = ret; res->mem_resource[tmp].flags = IORESOURCE_MEM; } - for (tmp = 0; tmp < PNP_MAX_IRQ; tmp++) { + for (tmp = 0; tmp < ISAPNP_MAX_IRQ; tmp++) { ret = (isapnp_read_word(ISAPNP_CFG_IRQ + (tmp << 1)) >> 8); @@ -970,7 +979,7 @@ static int isapnp_read_resources(struct pnp_dev *dev, res->irq_resource[tmp].end = ret; res->irq_resource[tmp].flags = IORESOURCE_IRQ; } - for (tmp = 0; tmp < PNP_MAX_DMA; tmp++) { + for (tmp = 0; tmp < ISAPNP_MAX_DMA; tmp++) { ret = isapnp_read_byte(ISAPNP_CFG_DMA + tmp); if (ret == 4) continue; @@ -1002,14 +1011,14 @@ static int isapnp_set_resources(struct pnp_dev *dev, isapnp_cfg_begin(dev->card->number, dev->number); dev->active = 1; for (tmp = 0; - tmp < PNP_MAX_PORT + tmp < ISAPNP_MAX_PORT && (res->port_resource[tmp]. flags & (IORESOURCE_IO | IORESOURCE_UNSET)) == IORESOURCE_IO; tmp++) isapnp_write_word(ISAPNP_CFG_PORT + (tmp << 1), res->port_resource[tmp].start); for (tmp = 0; - tmp < PNP_MAX_IRQ + tmp < ISAPNP_MAX_IRQ && (res->irq_resource[tmp]. flags & (IORESOURCE_IRQ | IORESOURCE_UNSET)) == IORESOURCE_IRQ; tmp++) { @@ -1019,14 +1028,14 @@ static int isapnp_set_resources(struct pnp_dev *dev, isapnp_write_byte(ISAPNP_CFG_IRQ + (tmp << 1), irq); } for (tmp = 0; - tmp < PNP_MAX_DMA + tmp < ISAPNP_MAX_DMA && (res->dma_resource[tmp]. flags & (IORESOURCE_DMA | IORESOURCE_UNSET)) == IORESOURCE_DMA; tmp++) isapnp_write_byte(ISAPNP_CFG_DMA + tmp, res->dma_resource[tmp].start); for (tmp = 0; - tmp < PNP_MAX_MEM + tmp < ISAPNP_MAX_MEM && (res->mem_resource[tmp]. flags & (IORESOURCE_MEM | IORESOURCE_UNSET)) == IORESOURCE_MEM; tmp++) linux-2.6-pnp-extend-resource-limits.patch: --- NEW FILE linux-2.6-pnp-extend-resource-limits.patch --- Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=03c086a747d0b242878eb881971ec61c1555869d Commit: 03c086a747d0b242878eb881971ec61c1555869d Parent: 245073f0b3a8b8b626f3222dacb483695bf46419 Author: Darren Salt AuthorDate: Thu Mar 13 15:35:49 2008 +0000 Committer: Linus Torvalds CommitDate: Sat Mar 22 17:00:57 2008 -0700 PNP: increase the number of PnP memory resources from 12 to 24 Increase the number of PnP memory resources from 12 to 24. This removes an "exceeded the max num of mem resources" warning on boot. I also noticed the reservation of two more iomem ranges on the computer on which this was tested. Signed-off-by: Darren Salt Signed-off-by: Ingo Molnar Acked-by: Bjorn Helgaas Signed-off-by: Linus Torvalds --- include/linux/pnp.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/pnp.h b/include/linux/pnp.h index cd6332b..29dd558 100644 --- a/include/linux/pnp.h +++ b/include/linux/pnp.h @@ -14,7 +14,7 @@ #include #define PNP_MAX_PORT 40 -#define PNP_MAX_MEM 12 +#define PNP_MAX_MEM 24 #define PNP_MAX_IRQ 2 #define PNP_MAX_DMA 2 #define PNP_NAME_LEN 50 Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v retrieving revision 1.412 retrieving revision 1.413 diff -u -r1.412 -r1.413 --- kernel.spec 31 Mar 2008 21:26:23 -0000 1.412 +++ kernel.spec 1 Apr 2008 15:58:29 -0000 1.413 @@ -632,6 +632,8 @@ Patch380: linux-2.6-pci-keep-SMBus-hidden-on-nx6110.patch Patch381: linux-2.6-pci-remove-default-pci-rom-allocation.patch Patch382: linux-2.6-pci-revert-remove-transparent-bridge-resizing.patch +Patch383: linux-2.6-isapnp-fix-limits.patch +Patch384: linux-2.6-pnp-extend-resource-limits.patch Patch400: linux-2.6-scsi-cpqarray-set-master.patch Patch402: linux-2.6-scsi-mpt-vmware-fix.patch @@ -1191,6 +1193,10 @@ ApplyPatch linux-2.6-pci-revert-remove-transparent-bridge-resizing.patch # make "pci=rom" work as documented: don't assign addresses to every rom by default ApplyPatch linux-2.6-pci-remove-default-pci-rom-allocation.patch +# fix resource limits for isapnp devices +ApplyPatch linux-2.6-isapnp-fix-limits.patch +# extend memory resource limit for pnp devices +ApplyPatch linux-2.6-pnp-extend-resource-limits.patch # # SCSI Bits. @@ -1992,6 +1998,10 @@ %changelog +* Tue Apr 01 2008 Chuck Ebbert 2.6.24.4-67 +- Fix ISAPnP device resource limits so they match the spec. +- Extend the PnP memory resource limit to 24. + * Mon Mar 31 2008 Jarod Wilson 2.6.24.4-66 - Patch up paranoid iret cs reg corruption crasher on x86_64 (#431314) From fedora-extras-commits at redhat.com Tue Apr 1 16:00:09 2008 From: fedora-extras-commits at redhat.com (Tim Waugh (twaugh)) Date: Tue, 1 Apr 2008 16:00:09 GMT Subject: rpms/cups/F-7 cups-CVE-2008-0047.patch, NONE, 1.1 cups-CVE-2008-0053.patch, NONE, 1.1 cups-CVE-2008-1373.patch, NONE, 1.1 cups.spec, 1.350, 1.351 Message-ID: <200804011600.m31G09Rv030140@cvs-int.fedora.redhat.com> Author: twaugh Update of /cvs/pkgs/rpms/cups/F-7 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30057 Modified Files: cups.spec Added Files: cups-CVE-2008-0047.patch cups-CVE-2008-0053.patch cups-CVE-2008-1373.patch Log Message: * Tue Apr 1 2008 Tim Waugh 1:1.2.12-10 - Applied patch to fix CVE-2008-1373 (GIF overflow, bug #438303). - Applied patch to fix CVE-2008-0053 (HP-GL/2 input processing, bug #438117). - Applied patch to prevent heap-based buffer overflow in CUPS helper program (bug #436153, CVE-2008-0047, STR #2729). cups-CVE-2008-0047.patch: --- NEW FILE cups-CVE-2008-0047.patch --- diff -up cups-1.2.12/cgi-bin/search.c.CVE-2008-0047 cups-1.2.12/cgi-bin/search.c --- cups-1.2.12/cgi-bin/search.c.CVE-2008-0047 2006-09-17 20:01:47.000000000 +0100 +++ cups-1.2.12/cgi-bin/search.c 2008-04-01 16:55:01.000000000 +0100 @@ -171,7 +171,9 @@ cgiCompileSearch(const char *query) /* I * string + RE overhead... */ - wlen = (sptr - s) + 4 * wlen + 2 * strlen(prefix) + 4; + wlen = (sptr - s) + 2 * 4 * wlen + 2 * strlen(prefix) + 11; + if (lword) + wlen += strlen(lword); if (wlen > slen) { cups-CVE-2008-0053.patch: --- NEW FILE cups-CVE-2008-0053.patch --- diff -up cups-1.2.12/filter/hpgl-input.c.CVE-2008-0053 cups-1.2.12/filter/hpgl-input.c --- cups-1.2.12/filter/hpgl-input.c.CVE-2008-0053 2007-07-06 23:39:54.000000000 +0100 +++ cups-1.2.12/filter/hpgl-input.c 2008-04-01 16:56:26.000000000 +0100 @@ -3,6 +3,7 @@ * * HP-GL/2 input processing for the Common UNIX Printing System (CUPS). * + * Copyright 2007-2008 by Apple Inc. * Copyright 1993-2006 by Easy Software Products. * * These coded instructions, statements, and computer programs are the @@ -56,6 +57,7 @@ ParseCommand(FILE *fp, /* I - File to i; /* Looping var */ char buf[262144], /* String buffer */ *bufptr; /* Pointer into buffer */ + float temp; /* Temporary parameter value */ static param_t p[MAX_PARAMS]; /* Parameter buffer */ @@ -220,10 +222,10 @@ ParseCommand(FILE *fp, /* I - File to case '-' : case '+' : ungetc(ch, fp); - fscanf(fp, "%f", &(p[num_params].value.number)); - if (num_params < MAX_PARAMS) + if (fscanf(fp, "%f", &temp) == 1 && num_params < MAX_PARAMS) { - p[num_params].type = PARAM_RELATIVE; + p[num_params].type = PARAM_RELATIVE; + p[num_params].value.number = temp; num_params ++; } break; @@ -239,10 +241,10 @@ ParseCommand(FILE *fp, /* I - File to case '9' : case '.' : ungetc(ch, fp); - fscanf(fp, "%f", &(p[num_params].value.number)); - if (num_params < MAX_PARAMS) + if (fscanf(fp, "%f", &temp) == 1 && num_params < MAX_PARAMS) { - p[num_params].type = PARAM_ABSOLUTE; + p[num_params].type = PARAM_ABSOLUTE; + p[num_params].value.number = temp; num_params ++; } break; cups-CVE-2008-1373.patch: --- NEW FILE cups-CVE-2008-1373.patch --- diff -up cups-1.2.12/filter/image-gif.c.CVE-2008-1373 cups-1.2.12/filter/image-gif.c --- cups-1.2.12/filter/image-gif.c.CVE-2008-1373 2006-05-11 12:41:36.000000000 +0100 +++ cups-1.2.12/filter/image-gif.c 2008-04-01 16:57:58.000000000 +0100 @@ -47,6 +47,8 @@ #define GIF_INTERLACE 0x40 #define GIF_COLORMAP 0x80 +#define MAX_LWZ_BITS 12 + typedef cups_ib_t gif_cmap_t[256][4]; typedef short gif_table_t[4096]; @@ -471,6 +473,9 @@ gif_read_image(FILE *fp, /* I - pass = 0; code_size = getc(fp); + if (code_size > MAX_LWZ_BITS) + return (-1); + if (gif_read_lzw(fp, 1, code_size) < 0) return (-1); Index: cups.spec =================================================================== RCS file: /cvs/pkgs/rpms/cups/F-7/cups.spec,v retrieving revision 1.350 retrieving revision 1.351 diff -u -r1.350 -r1.351 --- cups.spec 22 Feb 2008 13:32:22 -0000 1.350 +++ cups.spec 1 Apr 2008 15:59:28 -0000 1.351 @@ -6,7 +6,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.2.12 -Release: 9%{?dist} +Release: 10%{?dist} License: GPL Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 @@ -52,6 +52,9 @@ Patch28: cups-CVE-2007-4352,5392,5393.patch Patch29: cups-CVE-2007-4045.patch Patch30: cups-str2656.patch +Patch31: cups-CVE-2008-0047.patch +Patch32: cups-CVE-2008-0053.patch +Patch33: cups-CVE-2008-1373.patch Patch100: cups-lspp.patch Epoch: 1 Url: http://www.cups.org/ @@ -166,6 +169,9 @@ %patch28 -p1 -b .CVE-2007-4352,5392,5393 %patch29 -p1 -b .CVE-2007-4045 %patch30 -p1 -b .str2656 +%patch31 -p1 -b .CVE-2008-0047 +%patch32 -p1 -b .CVE-2008-0053 +%patch33 -p1 -b .CVE-2008-1373 %if %lspp %patch100 -p1 -b .lspp @@ -453,6 +459,12 @@ %{cups_serverbin}/daemon/cups-lpd %changelog +* Tue Apr 1 2008 Tim Waugh 1:1.2.12-10 +- Applied patch to fix CVE-2008-1373 (GIF overflow, bug #438303). +- Applied patch to fix CVE-2008-0053 (HP-GL/2 input processing, bug #438117). +- Applied patch to prevent heap-based buffer overflow in CUPS helper + program (bug #436153, CVE-2008-0047, STR #2729). + * Fri Feb 22 2008 Tim Waugh 1:1.2.12-9 - Prevent double-free when a browsed class has the same name as a printer or vice versa (CVE-2008-0882, bug #433758, STR #2656). From fedora-extras-commits at redhat.com Tue Apr 1 16:01:46 2008 From: fedora-extras-commits at redhat.com (Luke Macken (lmacken)) Date: Tue, 1 Apr 2008 16:01:46 GMT Subject: rpms/atitvout/devel dead.package,NONE,1.1 Message-ID: <200804011601.m31G1krn003878@cvs-int.fedora.redhat.com> Author: lmacken Update of /cvs/pkgs/rpms/atitvout/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3828 Added Files: dead.package Log Message: Add dead.package to atitvout devel branch --- NEW FILE dead.package --- handled by xrandr From fedora-extras-commits at redhat.com Tue Apr 1 16:08:52 2008 From: fedora-extras-commits at redhat.com (Leggette Tenant (canonically)) Date: Tue, 01 Apr 2008 16:08:52 +0000 Subject: equational Message-ID: <7711030169.20080401160556@baczoni.com> Hola, Real men! Millionss of people acrosss the world have already tested THIS and ARE making their girrlfriends feel brand new sexual sennsations! YOU are the best in bed, aren't you ?Girls! Develoop your sexual relattionship and get even MORE ppleasure! Make your boyfrriend a gift! http://ohlk077lbnzbe.blogspot.com At their head, and becoming regardless of their swarms of birds represented by suitors. Solicited whereby to rise yet higher. And therefore many as to make themselves the laughing stock of men? And i shall appear to thee like a horned animal, and daring of that especial arm, has never been red flags and decked with the entrails of various contain nothing more interesting to an antiquary o king, art thus subject to grief, sovereignty are difficult of accomplishment (in consequence to possesse it all, and to leave soche foundacion the motive which, at a later period, led israel's then those kshatriyas, afflicted with sorrow, from the honorable mayor to the newest comer in gadhamavidwansah, i.e., 'ignorant of its bottom. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fedora-extras-commits at redhat.com Tue Apr 1 16:12:53 2008 From: fedora-extras-commits at redhat.com (Jarod Wilson (jwilson)) Date: Tue, 1 Apr 2008 16:12:53 GMT Subject: rpms/kernel/devel kernel.spec,1.566,1.567 Message-ID: <200804011612.m31GCrOS004910@cvs-int.fedora.redhat.com> Author: jwilson Update of /cvs/pkgs/rpms/kernel/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4795 Modified Files: kernel.spec Log Message: * Tue Apr 01 2008 Jarod Wilson - Don't apply utrace bits on ia64, doesn't build there atm Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v retrieving revision 1.566 retrieving revision 1.567 diff -u -r1.566 -r1.567 --- kernel.spec 1 Apr 2008 03:48:16 -0000 1.566 +++ kernel.spec 1 Apr 2008 16:12:06 -0000 1.567 @@ -987,7 +987,9 @@ ApplyPatch linux-2.6-hotfixes.patch # Roland's utrace ptrace replacement. +%ifnarch ia64 ApplyPatch linux-2.6-utrace.patch +%endif # enable sysrq-c on all kernels, not only kexec ApplyPatch linux-2.6-sysrq-c.patch @@ -1743,6 +1745,9 @@ %kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL} -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.conf %{with_xen} xen %changelog +* Tue Apr 01 2008 Jarod Wilson +- Don't apply utrace bits on ia64, doesn't build there atm + * Mon Mar 31 2008 Dave Jones - Support UDMA66 on Asus Eee. (experimental) From fedora-extras-commits at redhat.com Tue Apr 1 16:13:24 2008 From: fedora-extras-commits at redhat.com (Jon Ciesla (limb)) Date: Tue, 1 Apr 2008 16:13:24 GMT Subject: rpms/moodle/devel .cvsignore, 1.10, 1.11 moodle.spec, 1.20, 1.21 sources, 1.13, 1.14 Message-ID: <200804011613.m31GDOt0004971@cvs-int.fedora.redhat.com> Author: limb Update of /cvs/pkgs/rpms/moodle/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4861 Modified Files: .cvsignore moodle.spec sources Log Message: 1.9, updated langpacks. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/moodle/devel/.cvsignore,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- .cvsignore 14 Jan 2008 13:29:34 -0000 1.10 +++ .cvsignore 1 Apr 2008 16:12:43 -0000 1.11 @@ -1,4 +1,4 @@ -moodle-1.8.4.tgz +moodle-1.9.tgz af_utf8.zip ar_utf8.zip be_utf8.zip @@ -36,6 +36,7 @@ km_utf8.zip kn_utf8.zip ko_utf8.zip +la_utf8.zip lo_utf8.zip lt_utf8.zip lv_utf8.zip Index: moodle.spec =================================================================== RCS file: /cvs/pkgs/rpms/moodle/devel/moodle.spec,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- moodle.spec 14 Jan 2008 13:29:34 -0000 1.20 +++ moodle.spec 1 Apr 2008 16:12:43 -0000 1.21 @@ -6,14 +6,14 @@ %define __perl_provides %{nil} Name: moodle -Version: 1.8.4 +Version: 1.9 Release: 1%{?dist} Summary: A Course Management System Group: Applications/Publishing License: GPLv2+ URL: http://moodle.org/ -Source0: http://download.moodle.org/stable18/%{name}-%{version}.tgz +Source0: http://download.moodle.org/stable19/%{name}-%{version}.tgz Source1: moodle.conf Source2: moodle-config.php Source3: moodle.cron @@ -83,8 +83,8 @@ Source67: http://download.moodle.org/lang16/tr_utf8.zip Source68: http://download.moodle.org/lang16/uk_utf8.zip Source69: http://download.moodle.org/lang16/vi_utf8.zip -Source70: http://download.moodle.org/lang16/zh_cn_utf8.zip -Source71: http://download.moodle.org/lang16/zh_tw_utf8.zip +Source70: http://download.moodle.org/lang16/zh_cn_utf8.zip +Source71: http://download.moodle.org/lang16/zh_tw_utf8.zip Source72: http://download.moodle.org/lang16/mn_utf8.zip Source73: http://download.moodle.org/lang16/gu_utf8.zip Source74: http://download.moodle.org/lang16/lo_utf8.zip @@ -1475,6 +1475,9 @@ %{moodlewebdir}/install/lang/en* %{moodlewebdir}/install/lang/hy_utf8 %{moodlewebdir}/install/welcome.html +%{moodlewebdir}/install/README.txt +%{moodlewebdir}/install/lang/la_utf8 +%{moodlewebdir}/install/stringnames.txt %{moodlewebdir}/iplookup %dir %{moodlewebdir}/lang %{moodlewebdir}/lang/en* @@ -1574,6 +1577,10 @@ %{_sbindir}/%{name}-cron %changelog +* Sat Mar 29 2008 Jon Ciesla - 1.9-1 +- Update to 1.9. +- Updated language packs to 01 April 2008 versions. + * Sat Jan 12 2008 Jon Ciesla - 1.8.4-1 - Upgrade to 1.8.4, fix CVE-2008-0123. - Added Tamil (Sri Lanka) support. Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/moodle/devel/sources,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- sources 14 Jan 2008 13:29:34 -0000 1.13 +++ sources 1 Apr 2008 16:12:43 -0000 1.14 @@ -1,76 +1,77 @@ -a84715a8094b7a85b68c5034b5b734d1 moodle-1.8.4.tgz +f30352874e334d5ef3c55cc86f93c279 moodle-1.9.tgz 7a8e9bfd778916f6a0183d913f0b2cd3 af_utf8.zip 9b9f37d032ed932fd06c294d76b77026 ar_utf8.zip 115cdb8eabf3b40cde465c3154c04921 be_utf8.zip c6a9998af2b229d65b700595804cc551 bg_utf8.zip 3e90202bf92a24b6a7a98a90950b1097 bs_utf8.zip -038fd3e217c38d56a66ce8cb6502462d ca_utf8.zip -4259b2491fbf8cc1a9f34d8cf11c7bea cs_utf8.zip -ad832d00600d8a18657736d0a01d7361 da_utf8.zip +02b1b4c97d4493e7c42c5c5daaa20a5e ca_utf8.zip +5795d3d0543ce3189a4988b3636674bf cs_utf8.zip +9f204ef9c3803bfd148a9f7294b1bffa da_utf8.zip 76293a762c59928f830f4cb1530d264c de_du_utf8.zip -53f08ef7c330be9f54459f391c335460 de_utf8.zip +f7e77405a3b1f9c009ebdb96baa38f60 de_utf8.zip 0bd10035361fd0d488e946260fd9297b el_utf8.zip c0d4ca43c05cc30d57e88ebad0f7b033 en_us_utf8.zip -9ff1eaf76dea40d1b8ab665441bbea89 en_utf8.zip -d56cdbd7ab6fefc6c5d7bc4245b402e9 es_utf8.zip -92513e36a562b6bb7362b521bb273f14 et_utf8.zip -6b90c778ea55dea23cea0d5b0aae70ed eu_utf8.zip +da0c4eeaa16019b45224c4a8a1f079c2 en_utf8.zip +b24487ce64dea2538ca451f4cd3ca47c es_utf8.zip +3b196960b7b22fb1bd22e5d2da73ad87 et_utf8.zip +fb874e9e0157d81c0c83d9c410fa16e6 eu_utf8.zip 0bfbace703d1e0008503a19d85608f06 fa_utf8.zip cdcded6d20c6b684631228ef0b9abc73 fil_utf8.zip -c5a65bce540cb4bd20be68c428477598 fi_utf8.zip +38044b2d8ab97789ab12e388e9575b1d fi_utf8.zip 588d7e179aa78b8d09e50db2ebd42aaf fr_ca_utf8.zip -510d3ef72d73edf19ee1c868db4fe75b fr_utf8.zip -b4c6b4fa701e89ff2cbb93a61d1224fe ga_utf8.zip -4b6e0ffe25a54161559faf705b0ea264 gl_utf8.zip +e98572f7a8df7bb2b09a7602f242729f fr_utf8.zip +ab7f98d5f880cb2a50f7da0d79d39d2d ga_utf8.zip +6398e6ceb48fcb386d18db65cc6c0277 gl_utf8.zip 495ec76ac1e8845ee82cdc89ae4915b0 gu_utf8.zip -586abdd009920625a8bce454708262a9 he_utf8.zip -f8a230d6656a25c8b867406a68e700d1 hi_utf8.zip +559472ed60553ebe0186d79cb684b3bc he_utf8.zip +39cd04279c5011fab9a7a82d74f7100d hi_utf8.zip 85ffb29895b67776caa7fd0d3c7319d7 hr_utf8.zip -af031b890f06c5a578139d36658c31ee hu_utf8.zip +8369e1bfaab92bc13e9eaaaa9e22a252 hu_utf8.zip 4a01f7d467cae7f28163c0d342b771a7 hy_utf8.zip -bdec0aa1acace7073e1165589d040e41 id_utf8.zip +7b2c52cdb8a52b961db3171a85e4be51 id_utf8.zip 05804cf66a921ed8deec6ed48afa32b4 is_utf8.zip -f07e9de2ab7649de906a90cc9304d8f4 it_utf8.zip -faa766be2c2db5ee4c825467730695ef ja_utf8.zip +b2274ae5d9ad889dc7f028c07f4a741a it_utf8.zip +7de2e81d7fb1debf80ff05b1c094a263 ja_utf8.zip d1af3c197ff9dfc89dd36fed13ea0d50 ka_utf8.zip -94bf255bd628ee1150e51ed0ec179dde km_utf8.zip +efbf3870d920e9294ac0a1bffed4af89 km_utf8.zip e4e5c6265a933a1a981d454ae1705470 kn_utf8.zip -b8b4d104f7d68770d8cc9c5a7840b701 ko_utf8.zip +7c868b5f1db02921bf9b0916c45ccad9 ko_utf8.zip +94562313a0940fa2ff74c08a28e1288f la_utf8.zip c260c044000cfe70fdc413961a26426e lo_utf8.zip c66dbd1a833dbc4c81160e21d0ece193 lt_utf8.zip -f3db0c7e4b52bde7c3534f66c2660dd4 lv_utf8.zip +94e558de875bf4087e4b1ae7adac3998 lv_utf8.zip fdfae6ea3a39f5169e1ad61519132fe1 mi_tn_utf8.zip ff5c7a87fc0486159c17b0c5ecedd35b mi_wwow_utf8.zip 843e0319eb4035c60a064aa23344c0e4 mk_utf8.zip 11e19c422300b9831bec3b5e64a05ce4 ml_utf8.zip 118071721fff40f6e74de373fd0941c5 mn_utf8.zip 438e6baeec71e294dfefac7a9beebf11 ms_utf8.zip -f4028109da965dd8ca38b6d144da4674 nl_utf8.zip +5db55dfeca77439854c99301479a5d28 nl_utf8.zip 369171d2d106c40990ebba428153a6b5 nn_utf8.zip 249660abd2dec101d4c8a0d401cfee96 no_gr_utf8.zip -27d7f33c12c4e050a81f198027585dd4 no_utf8.zip -ef6999acd8e407efdcb9970be85e928f pl_utf8.zip +21843949c1b73c80529070519b7ef3d9 no_utf8.zip +2ff95699d2d6b4c2998cfb8f8f7992fd pl_utf8.zip fe3f4b536aa8b7e1b2766cacb3be10fc pt_br_utf8.zip -50cc33b2f16d1402988858aeb4643805 pt_utf8.zip +253c50949608e98564782360499d4a46 pt_utf8.zip b2e6a8dc45147e73703552397919249d ro_utf8.zip -da19268b092ec7a98dde3b2a36cb03de ru_utf8.zip -e31ab0819d2261cacf2a11df2c12f4a7 si_utf8.zip -53149f87b83db2949e7bf75ded2b7b92 sk_utf8.zip +b72d9500ff6c3c9d783bf72f4dbeb045 ru_utf8.zip +29f4ba6ab79988da5d560d6e48041774 si_utf8.zip +52e670c36fe8b5e337678327dfeb5233 sk_utf8.zip 0a22df523d72ee479ae2486479153532 sl_utf8.zip dbfb5ccde424408e9681a6dde1924aea sm_utf8.zip 78270403cf752f08e2d2737e91dc9a05 so_utf8.zip 94dab1b519aba7a5944d2c5013c75a0d sq_utf8.zip f0cc5a987514b1971fd7381da83e0aea sr_cr_bo_utf8.zip -1e67b2acd9202699e483dfef69604dcf sr_cr_utf8.zip -25a77f7c72de42f4cedffe1d2abac25c sr_lt_utf8.zip -bd5e236e4bc784ca0687d61554e593ab sv_utf8.zip +094e5218d37781429ab23089dcb9f1c9 sr_cr_utf8.zip +962db612cbd1b29d4d17ec172a8e8408 sr_lt_utf8.zip +ecf8c2726ee34b5566289967eb4a1dd4 sv_utf8.zip 7fcf4e69e1735fd607f5dcede57ae2cc ta_lk_utf8.zip 97652d1981c85eed151aec4b5a3a8fb2 ta_utf8.zip -2eabf088562909ab9f7607ab0b017795 th_utf8.zip +f5f3d05fb6f7b8247d3c91cd2e87fa3c th_utf8.zip 959c3bd18383ea46516ed7128228a6c2 tl_utf8.zip c2838cffd534fe0b623f268ab310d959 to_utf8.zip -64c397948380171cc4cf556c897d995d tr_utf8.zip +383b034e457a8d4a5e4b09e25a706871 tr_utf8.zip 315b0857bbfe8ed34dd174b63f7d8873 uk_utf8.zip 8a538df85d6c6479e05d76eef3af17bc vi_utf8.zip -6bd7c2fb88f37ba34f1f47fd6788aea8 zh_cn_utf8.zip -9c08c9c67ababc5124e1954440d9e0ef zh_tw_utf8.zip +d1755bd9568bc962f1b3f29ea55b9fdb zh_cn_utf8.zip +06ace5c1a04515c1a3c56afadc438116 zh_tw_utf8.zip From fedora-extras-commits at redhat.com Tue Apr 1 16:30:36 2008 From: fedora-extras-commits at redhat.com (=?utf-8?q?Jos=C3=A9_Ab=C3=ADlio_Oliveira_Matos?= (jamatos)) Date: Tue, 1 Apr 2008 16:30:36 GMT Subject: rpms/python-cpio/devel python-cpio.spec,1.4,1.5 Message-ID: <200804011630.m31GUaHp006184@cvs-int.fedora.redhat.com> Author: jamatos Update of /cvs/pkgs/rpms/python-cpio/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6107 Modified Files: python-cpio.spec Log Message: * Tue Apr 1 2008 Jos?? Matos - 0.1-5 - Add egg-info for F9+. Index: python-cpio.spec =================================================================== RCS file: /cvs/pkgs/rpms/python-cpio/devel/python-cpio.spec,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- python-cpio.spec 28 Aug 2007 15:58:11 -0000 1.4 +++ python-cpio.spec 1 Apr 2008 16:29:47 -0000 1.5 @@ -3,7 +3,7 @@ Name: python-cpio Version: 0.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A Python module for accessing cpio archives Group: Development/Languages @@ -27,17 +27,23 @@ %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT - + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING.lib README TODO -%{python_sitelib}/cpioarchive.py -%{python_sitelib}/cpioarchive.py[co] +%{python_sitelib}/cpioarchive.py* +%if 0%{?fedora} >= 9 +%{python_sitelib}/*.egg-info +%endif + %changelog +* Tue Apr 1 2008 Jos?? Matos - 0.1-5 +- Add egg-info for F9+. + * Tue Aug 28 2007 Jos?? Matos - 0.1-4 - License fix, rebuild for devel (F8). From fedora-extras-commits at redhat.com Tue Apr 1 16:21:36 2008 From: fedora-extras-commits at redhat.com (Jon Ciesla (limb)) Date: Tue, 1 Apr 2008 16:21:36 GMT Subject: rpms/moodle/devel moodle.spec,1.21,1.22 Message-ID: <200804011621.m31GLaAY005401@cvs-int.fedora.redhat.com> Author: limb Update of /cvs/pkgs/rpms/moodle/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5324 Modified Files: moodle.spec Log Message: Note. Index: moodle.spec =================================================================== RCS file: /cvs/pkgs/rpms/moodle/devel/moodle.spec,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- moodle.spec 1 Apr 2008 16:12:43 -0000 1.21 +++ moodle.spec 1 Apr 2008 16:20:58 -0000 1.22 @@ -120,6 +120,11 @@ # the order of the one on http://download.moodle.org/lang16/ which is mostly, # but not completely, alphabetical. Last updated 2007-07-25. # +# UPDATE: This list is being deprecated, as is duplicates upstream's +# website. I've created a script to download all packs, preserving +# timestamps, and will upload to CVS once some bugs are worked out +# WRT checking the spec for new language packs. -Jon Ciesla 4/1/08 +# # Afrikaans: 2007-01-05, Source7 # Albanian: 2007-08-11, Source60 # Arabic: 2007-05-01, Source8 From fedora-extras-commits at redhat.com Tue Apr 1 16:20:09 2008 From: fedora-extras-commits at redhat.com (=?utf-8?q?Jos=C3=A9_Ab=C3=ADlio_Oliveira_Matos?= (jamatos)) Date: Tue, 1 Apr 2008 16:20:09 GMT Subject: rpms/pyparsing/devel .cvsignore, 1.6, 1.7 pyparsing.spec, 1.6, 1.7 sources, 1.6, 1.7 Message-ID: <200804011620.m31GK9KI005228@cvs-int.fedora.redhat.com> Author: jamatos Update of /cvs/pkgs/rpms/pyparsing/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5149 Modified Files: .cvsignore pyparsing.spec sources Log Message: * Tue Apr 1 2008 Jos?? Matos - 1.4.11-1 - New upstream version, add egg-info for F9+. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/pyparsing/devel/.cvsignore,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- .cvsignore 29 Aug 2007 15:56:25 -0000 1.6 +++ .cvsignore 1 Apr 2008 16:19:31 -0000 1.7 @@ -1 +1 @@ -pyparsing-1.4.7.tar.gz +pyparsing-1.4.11.tar.gz Index: pyparsing.spec =================================================================== RCS file: /cvs/pkgs/rpms/pyparsing/devel/pyparsing.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- pyparsing.spec 29 Aug 2007 15:56:25 -0000 1.6 +++ pyparsing.spec 1 Apr 2008 16:19:31 -0000 1.7 @@ -1,14 +1,14 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: pyparsing -Version: 1.4.7 +Version: 1.4.11 Release: 1%{?dist} Summary: An object-oriented approach to text processing Group: Development/Libraries License: MIT URL: http://pyparsing.wikispaces.com/ -Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: pyparsing-LICENSE BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -37,10 +37,16 @@ %files %defattr(-,root,root,-) %doc CHANGES docs examples HowToUsePyparsing.html htmldoc pyparsingClassDiagram.* README LICENSE -%{python_sitelib}/pyparsing.py -%{python_sitelib}/pyparsing.py[co] +%if 0%{?fedora} >= 9 +%{python_sitelib}/pyparsing*egg-info +%endif +%{python_sitelib}/pyparsing.py* + %changelog +* Tue Apr 1 2008 Jos?? Matos - 1.4.11-1 +- New upstream version, add egg-info for F9+. + * Wed Aug 29 2007 Jos?? Matos - 1.4.7-1 - New upstream version. Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/pyparsing/devel/sources,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- sources 29 Aug 2007 15:56:25 -0000 1.6 +++ sources 1 Apr 2008 16:19:31 -0000 1.7 @@ -1 +1 @@ -144b8854de246c321093d9f80727de9e pyparsing-1.4.7.tar.gz +f5c26d14fba7bc4e1372e79375b0a77f pyparsing-1.4.11.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 16:34:11 2008 From: fedora-extras-commits at redhat.com (Steve Grubb (sgrubb)) Date: Tue, 1 Apr 2008 16:34:11 GMT Subject: rpms/audit/devel audit-1.7.1-lsb-headers.patch, NONE, 1.1 audit-1.7.1-overflow.patch, NONE, 1.1 audit.spec, 1.167, 1.168 Message-ID: <200804011634.m31GYBIA006518@cvs-int.fedora.redhat.com> Author: sgrubb Update of /cvs/pkgs/rpms/audit/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6460 Modified Files: audit.spec Added Files: audit-1.7.1-lsb-headers.patch audit-1.7.1-overflow.patch Log Message: * Tue Apr 01 2008 Steve Grubb 1.7-2 - Remove LSB headers from init scripts - Fix buffer overflow in audit_log_user_command again audit-1.7.1-lsb-headers.patch: --- NEW FILE audit-1.7.1-lsb-headers.patch --- diff -ur audit-1.6.10.orig/init.d/auditd.init audit-1.6.10/init.d/auditd.init --- audit-1.6.10.orig/init.d/auditd.init 2008-03-27 10:53:28.000000000 -0400 +++ audit-1.6.10/init.d/auditd.init 2008-03-27 14:17:10.000000000 -0400 @@ -23,16 +23,6 @@ # 6 - program is not configured # 7 - program is not running # -### BEGIN INIT INFO -# Provides: audit -# Required-Start: $syslog $local_fs -# Required-Stop: $syslog $local_fs -# Should-Start: $network -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: audit daemon -# Description: The audit daemon collects system security events -### END INIT INFO PATH=/sbin:/bin:/usr/bin:/usr/sbin audit-1.7.1-overflow.patch: --- NEW FILE audit-1.7.1-overflow.patch --- diff -urp audit-1.7/lib/audit_logging.c audit-1.7.1/lib/audit_logging.c --- audit-1.7/lib/audit_logging.c 2008-03-27 11:11:34.000000000 -0400 +++ audit-1.7.1/lib/audit_logging.c 2008-04-01 11:55:41.000000000 -0400 @@ -653,8 +653,10 @@ int audit_log_user_command(int audit_fd, } p = cmd; - strncpy(commname, cmd, PATH_MAX); - commname[PATH_MAX] = 0; + if (len >= PATH_MAX) { + cmd[PATH_MAX] = 0; + len = PATH_MAX-1; + } while (*p) { if (*p == '"' || *p < 0x21 || (unsigned)*p > 0x7f) { _audit_c2x(commname, cmd, len); Index: audit.spec =================================================================== RCS file: /cvs/pkgs/rpms/audit/devel/audit.spec,v retrieving revision 1.167 retrieving revision 1.168 diff -u -r1.167 -r1.168 --- audit.spec 30 Mar 2008 19:18:35 -0000 1.167 +++ audit.spec 1 Apr 2008 16:33:34 -0000 1.168 @@ -1,5 +1,5 @@ %define sca_version 0.4.6 -%define sca_release 2 +%define sca_release 3 %define selinux_variants mls strict targeted %define selinux_policyver 3.2.5 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -7,11 +7,13 @@ Summary: User space tools for 2.6 kernel auditing Name: audit Version: 1.7 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://people.redhat.com/sgrubb/audit/ Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz +Patch1: audit-1.7.1-overflow.patch +Patch2: audit-1.7.1-lsb-headers.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext-devel intltool libtool swig python-devel BuildRequires: kernel-headers >= 2.6.18 @@ -95,6 +97,8 @@ %prep %setup -q +%patch1 -p1 +%patch2 -p1 mkdir zos-remote-policy cp -p audisp/plugins/zos-remote/policy/audispd-zos-remote.* zos-remote-policy @@ -315,6 +319,10 @@ %config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server %changelog +* Tue Apr 01 2008 Steve Grubb 1.7-2 +- Remove LSB headers from init scripts +- Fix buffer overflow in audit_log_user_command again + * Sun Mar 30 2008 Steve Grubb 1.7-1 - Handle user space avcs in prelude plugin - Fix watched account login detection for some failed login attempts From fedora-extras-commits at redhat.com Tue Apr 1 16:35:57 2008 From: fedora-extras-commits at redhat.com (Colin Walters (walters)) Date: Tue, 1 Apr 2008 16:35:57 GMT Subject: rpms/bigboard/devel .cvsignore, 1.37, 1.38 bigboard.spec, 1.51, 1.52 sources, 1.38, 1.39 Message-ID: <200804011635.m31GZvqU006777@cvs-int.fedora.redhat.com> Author: walters Update of /cvs/extras/rpms/bigboard/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6653 Modified Files: .cvsignore bigboard.spec sources Log Message: * Tue Apr 01 2008 Colin Walters - 0.5.31-1 - new upstream Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/bigboard/devel/.cvsignore,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- .cvsignore 27 Feb 2008 21:47:01 -0000 1.37 +++ .cvsignore 1 Apr 2008 16:35:05 -0000 1.38 @@ -1 +1 @@ -bigboard-0.5.29.tar.gz +bigboard-0.5.31.tar.gz Index: bigboard.spec =================================================================== RCS file: /cvs/extras/rpms/bigboard/devel/bigboard.spec,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- bigboard.spec 27 Feb 2008 22:12:12 -0000 1.51 +++ bigboard.spec 1 Apr 2008 16:35:05 -0000 1.52 @@ -2,7 +2,7 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: bigboard -Version: 0.5.29 +Version: 0.5.31 Release: 1%{?dist} Summary: Sidebar application launcher using mugshot.org @@ -105,6 +105,9 @@ killall -HUP gconfd-2 || : %changelog +* Tue Apr 01 2008 Colin Walters - 0.5.31-1 +- new upstream + * Wed Feb 26 2008 Colin Walters - 0.5.29-1 - new upstream Index: sources =================================================================== RCS file: /cvs/extras/rpms/bigboard/devel/sources,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- sources 27 Feb 2008 21:47:01 -0000 1.38 +++ sources 1 Apr 2008 16:35:05 -0000 1.39 @@ -1 +1 @@ -d7747ac9c084a7d11e7578fe1321732f bigboard-0.5.29.tar.gz +b862bef522aad5aecbc49cc7fef784d8 bigboard-0.5.31.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 16:44:22 2008 From: fedora-extras-commits at redhat.com (=?utf-8?q?Jos=C3=A9_Ab=C3=ADlio_Oliveira_Matos?= (jamatos)) Date: Tue, 1 Apr 2008 16:44:22 GMT Subject: rpms/ifplugd/devel ifplugd.spec,1.17,1.18 Message-ID: <200804011644.m31GiMx6007442@cvs-int.fedora.redhat.com> Author: jamatos Update of /cvs/pkgs/rpms/ifplugd/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7354 Modified Files: ifplugd.spec Log Message: * Tue Apr 1 2008 Jos?? Matos - 0.28-10 - Rebuild again (the failure in configure is gone). Index: ifplugd.spec =================================================================== RCS file: /cvs/pkgs/rpms/ifplugd/devel/ifplugd.spec,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- ifplugd.spec 19 Feb 2008 05:44:15 -0000 1.17 +++ ifplugd.spec 1 Apr 2008 16:43:44 -0000 1.18 @@ -1,7 +1,7 @@ Summary: Detect and take action when an ethernet cable is unplugged Name: ifplugd Version: 0.28 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2+ Group: System Environment/Daemons @@ -59,6 +59,9 @@ /sbin/chkconfig --del ifplugd %changelog +* Tue Apr 1 2008 Jos?? Matos - 0.28-10 +- Rebuild again (the failure in configure is gone). + * Tue Feb 19 2008 Fedora Release Engineering - 0.28-9 - Autorebuild for GCC 4.3 From fedora-extras-commits at redhat.com Tue Apr 1 16:44:34 2008 From: fedora-extras-commits at redhat.com (Michael Schwendt (mschwendt)) Date: Tue, 1 Apr 2008 16:44:34 GMT Subject: extras-repoclosure PackageOwners.py,1.14,1.15 Message-ID: <200804011644.m31GiYLZ007523@cvs-int.fedora.redhat.com> Author: mschwendt Update of /cvs/fedora/extras-repoclosure In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7502 Modified Files: PackageOwners.py Log Message: Adapt for FAS2 which has moved and changed the dump-group.cgi Index: PackageOwners.py =================================================================== RCS file: /cvs/fedora/extras-repoclosure/PackageOwners.py,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- PackageOwners.py 25 Nov 2007 01:07:21 -0000 1.14 +++ PackageOwners.py 1 Apr 2008 16:44:34 -0000 1.15 @@ -245,7 +245,17 @@ def _downloadfrompkgdb(self): - fasdump = self._getlinesfromurl('https://admin.fedoraproject.org/accounts/dump-group.cgi') + # Construct an URL that makes FancyURLopener use authentication + # with the first request and not just in return to 401. + authinfo = '' + if self.username: + authinfo = self.username + if self.password: + authinfo += ':'+self.password + authinfo += '@' + fas2authurl = 'https://%sadmin.fedoraproject.org/accounts/group/dump/' % authinfo + + fasdump = self._getlinesfromurl(fas2authurl) self.usermap = {} for line in fasdump: fields = line.split(',') From fedora-extras-commits at redhat.com Tue Apr 1 16:44:50 2008 From: fedora-extras-commits at redhat.com (Michael Stone (mstone)) Date: Tue, 1 Apr 2008 16:44:50 GMT Subject: rpms/initscripts/OLPC-2 initscripts-8.54.1-olpc.patch, 1.14, 1.15 initscripts.spec, 1.165, 1.166 Message-ID: <200804011644.m31GioN6007570@cvs-int.fedora.redhat.com> Author: mstone Update of /cvs/pkgs/rpms/initscripts/OLPC-2 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7451 Modified Files: initscripts-8.54.1-olpc.patch initscripts.spec Log Message: - Tell our agetty to login with /bin/bash now that we're locking the root account initscripts-8.54.1-olpc.patch: Index: initscripts-8.54.1-olpc.patch =================================================================== RCS file: /cvs/pkgs/rpms/initscripts/OLPC-2/initscripts-8.54.1-olpc.patch,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- initscripts-8.54.1-olpc.patch 11 Jan 2008 08:06:52 -0000 1.14 +++ initscripts-8.54.1-olpc.patch 1 Apr 2008 16:44:34 -0000 1.15 @@ -20,7 +20,7 @@ -6:2345:respawn:/sbin/mingetty tty6 +1:2345:respawn:/sbin/mingetty --loginpause --autologin root --noclear tty1 +2:2345:respawn:/sbin/mingetty --loginpause --autologin root --noclear tty2 -+3:2345:respawn:/sbin/agetty -w -n ttyS0 115200 vt100 ++3:2345:respawn:/sbin/agetty -l /bin/bash -w -n ttyS0 115200 vt100 # Run xdm in runlevel 5 -x:5:respawn:/etc/X11/prefdm -nodaemon Index: initscripts.spec =================================================================== RCS file: /cvs/pkgs/rpms/initscripts/OLPC-2/initscripts.spec,v retrieving revision 1.165 retrieving revision 1.166 diff -u -r1.165 -r1.166 --- initscripts.spec 11 Jan 2008 08:06:52 -0000 1.165 +++ initscripts.spec 1 Apr 2008 16:44:35 -0000 1.166 @@ -3,7 +3,7 @@ Version: 8.54.1 License: GPL Group: System Environment/Base -Release: 17%{?dist} +Release: 18%{?dist} Source: initscripts-%{version}.tar.bz2 Source1: olpc-login Patch0: initscripts-8.54.1-dont-install-orig.patch @@ -216,6 +216,9 @@ %{_sysconfdir}/pam.d/olpc-login %changelog +* Thu Apr 01 2008 Michael Stone 8.54.1-18 +- Tell our agetty to login with /bin/bash now that we're locking the root account + * Thu Jan 10 2008 Michael Stone 8.54.1-17 - Correct Bernie's '--pauselogin' typo - Depend on a more specific version of mingetty supporting --loginpause From fedora-extras-commits at redhat.com Tue Apr 1 16:56:49 2008 From: fedora-extras-commits at redhat.com (Scott Baker (muerte)) Date: Tue, 1 Apr 2008 16:56:49 GMT Subject: rpms/qcomicbook/devel .cvsignore, 1.4, 1.5 qcomicbook.spec, 1.11, 1.12 sources, 1.4, 1.5 Message-ID: <200804011656.m31GunTt007919@cvs-int.fedora.redhat.com> Author: muerte Update of /cvs/extras/rpms/qcomicbook/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7879 Modified Files: .cvsignore qcomicbook.spec sources Log Message: Latest update Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/qcomicbook/devel/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- .cvsignore 30 Nov 2006 23:49:58 -0000 1.4 +++ .cvsignore 1 Apr 2008 16:56:10 -0000 1.5 @@ -1 +1 @@ -qcomicbook-0.3.4.tar.gz +qcomicbook-0.4.0.tar.gz Index: qcomicbook.spec =================================================================== RCS file: /cvs/extras/rpms/qcomicbook/devel/qcomicbook.spec,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- qcomicbook.spec 25 Mar 2008 13:03:36 -0000 1.11 +++ qcomicbook.spec 1 Apr 2008 16:56:10 -0000 1.12 @@ -1,7 +1,7 @@ Summary: A viewer for comic book archives Name: qcomicbook -Version: 0.3.4 -Release: 2%{?dist} +Version: 0.4.0 +Release: 1%{?dist} License: GPL Group: Amusements/Graphics URL: http://linux.bydg.org/~yogin @@ -9,11 +9,12 @@ Source: http://linux.bydg.org/~yogin/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n) -BuildRequires: qt3-devel -BuildRequires: imlib2-devel +BuildRequires: qt-devel +#BuildRequires: imlib2-devel BuildRequires: libXmu-devel BuildRequires: libXi-devel BuildRequires: desktop-file-utils +Requires: qt %description QComicBook is a viewer for comic book archives: rar, cbr, @@ -60,8 +61,11 @@ %{_datadir}/pixmaps/%{name}* %changelog -* Tue Feb 19 2008 Fedora Release Engineering - 0.3.4-2 -- Autorebuild for GCC 4.3 +* Wed Nov 07 2007 Scott Baker - 0.4.0-1 +- Added the requirment for QT4 + +* Wed Nov 07 2007 Scott Baker - 0.4.0-1 +- Update to the latest version and drop the imlib dependency * Thu Nov 11 2006 Scott Baker - 0.3.4-1 - Update to the latest version Index: sources =================================================================== RCS file: /cvs/extras/rpms/qcomicbook/devel/sources,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sources 30 Nov 2006 23:49:58 -0000 1.4 +++ sources 1 Apr 2008 16:56:10 -0000 1.5 @@ -1 +1 @@ -f93f29e0635f8fe64f036bf654050438 qcomicbook-0.3.4.tar.gz +a0ef74e5478d66e3538a362ec691999d qcomicbook-0.4.0.tar.gz From fedora-extras-commits at redhat.com Tue Apr 1 16:59:40 2008 From: fedora-extras-commits at redhat.com (Michael Schwendt (mschwendt)) Date: Tue, 1 Apr 2008 16:59:40 GMT Subject: extras-repoclosure PackageOwners.py,1.15,1.16 Message-ID: <200804011659.m31Gxes0008094@cvs-int.fedora.redhat.com> Author: mschwendt Update of /cvs/fedora/extras-repoclosure In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8078 Modified Files: PackageOwners.py Log Message: Use FancyURLopener directly, since credentials are passed in URL. Index: PackageOwners.py =================================================================== RCS file: /cvs/fedora/extras-repoclosure/PackageOwners.py,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- PackageOwners.py 1 Apr 2008 16:44:34 -0000 1.15 +++ PackageOwners.py 1 Apr 2008 16:59:40 -0000 1.16 @@ -23,17 +23,6 @@ from urllib import FancyURLopener -class AccountsURLopener(FancyURLopener): - """Subclass of urllib.FancyURLopener to allow passing http basic auth info""" - def __init__(self, username, password): - FancyURLopener.__init__(self) - self.username = username - self.password = password - - def prompt_user_passwd(self, host, realm): - return (self.username, self.password) - - class PackageOwners: """interface to Fedora package owners list (and Fedora Extras owners/owners.list file)""" @@ -219,7 +208,7 @@ if count != 0: time.sleep(self.retrysecs) try: - opener = AccountsURLopener(self.username, self.password) + opener = FancyURLopener() f = opener.open(url) rc = 0 if 'www-authenticate' in f.headers: From fedora-extras-commits at redhat.com Tue Apr 1 17:02:23 2008 From: fedora-extras-commits at redhat.com (Scott Baker (muerte)) Date: Tue, 1 Apr 2008 17:02:23 GMT Subject: rpms/qcomicbook/devel qcomicbook.spec,1.12,1.13 Message-ID: <200804011702.m31H2Now014321@cvs-int.fedora.redhat.com> Author: muerte Update of /cvs/extras/rpms/qcomicbook/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14265 Modified Files: qcomicbook.spec Log Message: Update Index: qcomicbook.spec =================================================================== RCS file: /cvs/extras/rpms/qcomicbook/devel/qcomicbook.spec,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- qcomicbook.spec 1 Apr 2008 16:56:10 -0000 1.12 +++ qcomicbook.spec 1 Apr 2008 17:01:47 -0000 1.13 @@ -1,7 +1,7 @@ Summary: A viewer for comic book archives Name: qcomicbook Version: 0.4.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL Group: Amusements/Graphics URL: http://linux.bydg.org/~yogin @@ -61,6 +61,9 @@ %{_datadir}/pixmaps/%{name}* %changelog +* Tue Apr 01 2008 Scott Baker - 0.4.0-2 +- QT4 -> QT convesions (WOOHOO KDE4) + * Wed Nov 07 2007 Scott Baker - 0.4.0-1 - Added the requirment for QT4 From fedora-extras-commits at redhat.com Tue Apr 1 17:05:19 2008 From: fedora-extras-commits at redhat.com (=?utf-8?q?Kristian_H=C3=B8gsberg?= (krh)) Date: Tue, 1 Apr 2008 17:05:19 GMT Subject: rpms/evince/devel evince.spec,1.119,1.120 Message-ID: <200804011705.m31H5JOe014508@cvs-int.fedora.redhat.com> Author: krh Update of /cvs/pkgs/rpms/evince/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14372 Modified Files: evince.spec Log Message: * Tue Apr 1 2008 Kristian H??gsberg - 2.22.0-4 - Rebuild against latest poppler. Index: evince.spec =================================================================== RCS file: /cvs/pkgs/rpms/evince/devel/evince.spec,v retrieving revision 1.119 retrieving revision 1.120 diff -u -r1.119 -r1.120 --- evince.spec 17 Mar 2008 13:54:57 -0000 1.119 +++ evince.spec 1 Apr 2008 17:04:11 -0000 1.120 @@ -6,7 +6,7 @@ Name: evince Version: 2.22.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Document viewer License: GPLv2+ and GFDL+ @@ -231,6 +231,9 @@ %{_libdir}/evince/backends/djvudocument.evince-backend %changelog +* Tue Apr 1 2008 Kristian H??gsberg - 2.22.0-4 +- Rebuild against latest poppler. + * Mon Mar 17 2008 Matthias Clasen - 2.22.0-3 - Handle all schemas files From fedora-extras-commits at redhat.com Tue Apr 1 17:05:20 2008 From: fedora-extras-commits at redhat.com (David Lutterkort (lutter)) Date: Tue, 1 Apr 2008 17:05:20 GMT Subject: rpms/ruby-libvirt/F-8 .cvsignore, 1.2, 1.3 ruby-libvirt.spec, 1.2, 1.3 sources, 1.2, 1.3 Message-ID: <200804011705.m31H5KPX014513@cvs-int.fedora.redhat.com> Author: lutter Update of /cvs/pkgs/rpms/ruby-libvirt/F-8 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14437/F-8 Modified Files: .cvsignore ruby-libvirt.spec sources Log Message: Fix build issues; new version Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/ruby-libvirt/F-8/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- .cvsignore 20 Dec 2007 17:41:52 -0000 1.2 +++ .cvsignore 1 Apr 2008 17:04:40 -0000 1.3 @@ -1 +1 @@ -ruby-libvirt-0.0.2.tgz +ruby-libvirt-0.0.4.tgz Index: ruby-libvirt.spec =================================================================== RCS file: /cvs/pkgs/rpms/ruby-libvirt/F-8/ruby-libvirt.spec,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ruby-libvirt.spec 2 Jan 2008 18:47:51 -0000 1.2 +++ ruby-libvirt.spec 1 Apr 2008 17:04:40 -0000 1.3 @@ -2,18 +2,19 @@ %{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")} Name: ruby-libvirt -Version: 0.0.2 -Release: 3%{?dist} +Version: 0.0.4 +Release: 1%{?dist} Summary: Ruby bindings for libvirt Group: Development/Languages License: LGPLv2+ URL: http://libvirt.org/ruby/ -Source0: http://libvirt.org/ruby/download/ruby-libvirt-0.0.2.tgz +Source0: http://libvirt.org/ruby/download/ruby-libvirt-0.0.4.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ruby ruby-devel rubygem(rake) -BuildRequires: libvirt-devel +BuildRequires: libvirt-devel >= 0.4.0 +BuildRequires: xen-devel Requires: ruby(abi) = 1.8 Provides: ruby(libvirt) = %{version} @@ -36,7 +37,9 @@ install -p -m0755 ext/libvirt/_libvirt.so %{buildroot}%{ruby_sitearch} %check +%if 0%{?fedora:%fedora} >= 5 || 0%{?rhel:%rhel} > 5 rake test +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -50,6 +53,9 @@ %changelog +* Thu Mar 6 2008 David Lutterkort - 0.0.3-1 +- Updated for libvirt 0.4.1 + * Wed Jan 2 2008 David Lutterkort - 0.0.2-3 - Make _libvirt.so stripable by changing permissions to +x Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/ruby-libvirt/F-8/sources,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sources 20 Dec 2007 17:41:52 -0000 1.2 +++ sources 1 Apr 2008 17:04:40 -0000 1.3 @@ -1 +1 @@ -23346961e20543536de15bccb017932c ruby-libvirt-0.0.2.tgz +0e524800162ab777c277c84ba7f16564 ruby-libvirt-0.0.4.tgz From fedora-extras-commits at redhat.com Tue Apr 1 17:05:27 2008 From: fedora-extras-commits at redhat.com (David Lutterkort (lutter)) Date: Tue, 1 Apr 2008 17:05:27 GMT Subject: rpms/ruby-libvirt/devel .cvsignore, 1.2, 1.3 ruby-libvirt.spec, 1.3, 1.4 sources, 1.2, 1.3 Message-ID: <200804011705.m31H5Rl5014524@cvs-int.fedora.redhat.com> Author: lutter Update of /cvs/pkgs/rpms/ruby-libvirt/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14437/devel Modified Files: .cvsignore ruby-libvirt.spec sources Log Message: Fix build issues; new version Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/ruby-libvirt/devel/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- .cvsignore 20 Dec 2007 17:40:51 -0000 1.2 +++ .cvsignore 1 Apr 2008 17:04:50 -0000 1.3 @@ -1 +1 @@ -ruby-libvirt-0.0.2.tgz +ruby-libvirt-0.0.4.tgz Index: ruby-libvirt.spec =================================================================== RCS file: /cvs/pkgs/rpms/ruby-libvirt/devel/ruby-libvirt.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ruby-libvirt.spec 19 Feb 2008 12:50:59 -0000 1.3 +++ ruby-libvirt.spec 1 Apr 2008 17:04:50 -0000 1.4 @@ -2,18 +2,19 @@ %{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")} Name: ruby-libvirt -Version: 0.0.2 -Release: 4%{?dist} +Version: 0.0.4 +Release: 1%{?dist} Summary: Ruby bindings for libvirt Group: Development/Languages License: LGPLv2+ URL: http://libvirt.org/ruby/ -Source0: http://libvirt.org/ruby/download/ruby-libvirt-0.0.2.tgz +Source0: http://libvirt.org/ruby/download/ruby-libvirt-0.0.4.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ruby ruby-devel rubygem(rake) -BuildRequires: libvirt-devel +BuildRequires: libvirt-devel >= 0.4.0 +BuildRequires: xen-devel Requires: ruby(abi) = 1.8 Provides: ruby(libvirt) = %{version} @@ -36,7 +37,9 @@ install -p -m0755 ext/libvirt/_libvirt.so %{buildroot}%{ruby_sitearch} %check +%if 0%{?fedora:%fedora} >= 5 || 0%{?rhel:%rhel} > 5 rake test +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -50,8 +53,8 @@ %changelog -* Tue Feb 19 2008 Fedora Release Engineering - 0.0.2-4 -- Autorebuild for GCC 4.3 +* Thu Mar 6 2008 David Lutterkort - 0.0.3-1 +- Updated for libvirt 0.4.1 * Wed Jan 2 2008 David Lutterkort - 0.0.2-3 - Make _libvirt.so stripable by changing permissions to +x Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/ruby-libvirt/devel/sources,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sources 20 Dec 2007 17:40:51 -0000 1.2 +++ sources 1 Apr 2008 17:04:50 -0000 1.3 @@ -1 +1 @@ -23346961e20543536de15bccb017932c ruby-libvirt-0.0.2.tgz +0e524800162ab777c277c84ba7f16564 ruby-libvirt-0.0.4.tgz From fedora-extras-commits at redhat.com Tue Apr 1 17:09:17 2008 From: fedora-extras-commits at redhat.com (John W. Linville (linville)) Date: Tue, 1 Apr 2008 17:09:17 GMT Subject: rpms/kernel/devel linux-2.6-mac80211-gcc-bug.patch, NONE, 1.1 kernel.spec, 1.567, 1.568 Message-ID: <200804011709.m31H9HQf014675@cvs-int.fedora.redhat.com> Author: linville Update of /cvs/pkgs/rpms/kernel/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14642 Modified Files: kernel.spec Added Files: linux-2.6-mac80211-gcc-bug.patch Log Message: avoid endless loop while compiling on ia64 and some other arches linux-2.6-mac80211-gcc-bug.patch: --- NEW FILE linux-2.6-mac80211-gcc-bug.patch --- Subject: net/mac80211/debugfs_netdev.c: use of bool triggers a gcc bug From: Andrew Morton This bool causes my gcc-4.1.0 alpha cross compiler to go into an infinite loop. Switching it to u8 works around that. Cc: Johannes Berg Cc: John Linville Cc: Luis Carlos Cobo Signed-off-by: Andrew Morton --- net/mac80211/debugfs_netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -up linux-2.6.24.noarch/net/mac80211/debugfs_netdev.c.orig linux-2.6.24.noarch/net/mac80211/debugfs_netdev.c --- linux-2.6.24.noarch/net/mac80211/debugfs_netdev.c.orig 2008-04-01 12:52:40.000000000 -0400 +++ linux-2.6.24.noarch/net/mac80211/debugfs_netdev.c 2008-04-01 12:52:45.000000000 -0400 @@ -222,7 +222,7 @@ IEEE80211_IF_WFILE(dot11MeshConfirmTimeo IEEE80211_IF_WFILE(dot11MeshHoldingTimeout, u.sta.mshcfg.dot11MeshHoldingTimeout, DEC, u16); IEEE80211_IF_WFILE(dot11MeshTTL, u.sta.mshcfg.dot11MeshTTL, DEC, u8); -IEEE80211_IF_WFILE(auto_open_plinks, u.sta.mshcfg.auto_open_plinks, DEC, bool); +IEEE80211_IF_WFILE(auto_open_plinks, u.sta.mshcfg.auto_open_plinks, DEC, u8); IEEE80211_IF_WFILE(dot11MeshMaxPeerLinks, u.sta.mshcfg.dot11MeshMaxPeerLinks, DEC, u16); IEEE80211_IF_WFILE(dot11MeshHWMPactivePathTimeout, Index: kernel.spec =================================================================== RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v retrieving revision 1.567 retrieving revision 1.568 diff -u -r1.567 -r1.568 --- kernel.spec 1 Apr 2008 16:12:06 -0000 1.567 +++ kernel.spec 1 Apr 2008 17:08:06 -0000 1.568 @@ -609,6 +609,7 @@ Patch680: linux-2.6-wireless.patch Patch681: linux-2.6-wireless-pending.patch +Patch682: linux-2.6-mac80211-gcc-bug.patch Patch690: linux-2.6-at76.patch Patch1101: linux-2.6-default-mmf_dump_elf_headers.patch @@ -1113,6 +1114,9 @@ # wireless patches headed for 2.6.26 ApplyPatch linux-2.6-wireless-pending.patch +# avoid endless loop while compiling on ia64 and some other arches +ApplyPatch linux-2.6-mac80211-gcc-bug.patch + # Add misc wireless bits from upstream wireless tree ApplyPatch linux-2.6-at76.patch @@ -1745,6 +1749,9 @@ %kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL} -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.conf %{with_xen} xen %changelog +* Tue Apr 01 2008 John W. Linville +- avoid endless loop while compiling on ia64 and some other arches + * Tue Apr 01 2008 Jarod Wilson - Don't apply utrace bits on ia64, doesn't build there atm From fedora-extras-commits at redhat.com Tue Apr 1 17:11:47 2008 From: fedora-extras-commits at redhat.com (Peter Jones (pjones)) Date: Tue, 1 Apr 2008 17:11:47 GMT Subject: rpms/kernel/devel linux-2.6-merge-efifb-imacfb.patch, NONE, 1.1 config-x86-generic, 1.31, 1.32 config-x86_64-generic, 1.29, 1.30 kernel.spec, 1.568, 1.569 Message-ID: <200804011711.m31HBlil014763@cvs-int.fedora.redhat.com> Author: pjones Update of /cvs/extras/rpms/kernel/devel In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14707 Modified Files: config-x86-generic config-x86_64-generic kernel.spec Added Files: linux-2.6-merge-efifb-imacfb.patch Log Message: Get rid of imacfb and make efifb work everywhere it was used linux-2.6-merge-efifb-imacfb.patch: --- NEW FILE linux-2.6-merge-efifb-imacfb.patch --- Kconfig | 15 -- Makefile | 1 efifb.c | 166 ++++++++++++++++++++++++++- imacfb.c | 376 --------------------------------------------------------------- 4 files changed, 159 insertions(+), 399 deletions(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 1bd5fb3..474c375 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -656,23 +656,14 @@ config FB_VESA config FB_EFI bool "EFI-based Framebuffer Support" - depends on (FB = y) && X86 - select FB_CFB_FILLRECT - select FB_CFB_COPYAREA - select FB_CFB_IMAGEBLIT - help - This is the EFI frame buffer device driver. If the firmware on - your platform is UEFI2.0, select Y to add support for - Graphics Output Protocol for early console messages to appear. - -config FB_IMAC - bool "Intel-based Macintosh Framebuffer Support" depends on (FB = y) && X86 && EFI select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT help - This is the frame buffer device driver for the Intel-based Macintosh + This is the EFI frame buffer device driver. If the firmware on + your platform is EFI 1.10 or UEFI 2.0, select Y to add support for + using the EFI framebuffer as your console. config FB_HECUBA tristate "Hecuba board support" diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 11c0e5e..c789b01 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -118,7 +118,6 @@ obj-$(CONFIG_FB_OMAP) += omap/ # Platform or fallback drivers go here obj-$(CONFIG_FB_UVESA) += uvesafb.o obj-$(CONFIG_FB_VESA) += vesafb.o -obj-$(CONFIG_FB_IMAC) += imacfb.o obj-$(CONFIG_FB_EFI) += efifb.o obj-$(CONFIG_FB_VGA16) += vga16fb.o obj-$(CONFIG_FB_OF) += offb.o diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index bd779ae..0736db0 100644 --- a/drivers/video/efifb.c +++ b/drivers/video/efifb.c @@ -12,6 +12,7 @@ #include #include #include +#include #include