openSUSE Commits
Threads by month
- ----- 2024 -----
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2014
- 1 participants
- 1675 discussions
Hello community,
here is the log from the commit of package sawfish for openSUSE:Factory checked in at 2014-09-03 18:22:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sawfish (Old)
and /work/SRC/openSUSE:Factory/.sawfish.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sawfish"
Changes:
--------
--- /work/SRC/openSUSE:Factory/sawfish/sawfish.changes 2013-09-27 18:21:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.sawfish.new/sawfish.changes 2014-09-03 21:07:58.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Sep 1 07:37:29 UTC 2014 - toganm(a)opensuse.org
+
+- Update to version 1.10.99 For more details see NEWS file
+
+ * tiling and tabbing work now much better together
+ * improved cabinet window switcher
+ * CTWM like interactive window placement
+ * faster StyleTab (default theme)
+
+- Rebundle lisp sources and obsolete subpackage lisp
+-------------------------------------------------------------------
Old:
----
sawfish-1.10.tar.xz
New:
----
sawfish_1.10.99.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sawfish.spec ++++++
--- /var/tmp/diff_new_pack.9LFYwE/_old 2014-09-03 21:08:00.000000000 +0200
+++ /var/tmp/diff_new_pack.9LFYwE/_new 2014-09-03 21:08:00.000000000 +0200
@@ -19,7 +19,7 @@
Name: sawfish
-Version: 1.10
+Version: 1.10.99
Release: 0
Summary: A highly configurable window manager for X11
License: GPL-2.0+
@@ -30,7 +30,7 @@
%endif
Url: http://sawfish.wikia.com/
-Source: http://download.tuxfamily.org/sawfish/%{name}-%{version}.tar.xz
+Source: http://download.tuxfamily.org/sawfish/%{name}_%{version}.tar.xz
# Autoload feature for Emacs in editing sawfish files
Source1: suse-start-sawfish.el
# PATCH-FIX-OPENSUSE toganm(a)opensuse.org avoid unnecessary rebuilds
@@ -65,6 +65,8 @@
Recommends: %{name}-lang
Recommends: %{name}-pager
Recommends: pulseaudio-utils
+Obsoletes: %{name}-lisp < %{version}
+Provides: %{name}-lisp = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -129,30 +131,9 @@
not implement desktop backgrounds, applications docks, or other things
that may be achieved through separate applications.
-%package lisp
-Summary: A highly configurable window manager for X11 - lisp files
-BuildArch: noarch
-
-%description lisp
-Sawfish is an extensible window manager using an Emacs Lisp-like
-scripting language -- all window decorations are configurable, the basic
-idea is to have as much user-interface policy as possible controlled
-through the Lisp language. This is no layer on top of twm, but a wholly
-new architecture.
-
-Despite this extensibility its policy is currently very minimal
-compared to most window managers. Its aim is simply to manage windows
-in the most flexible and attractive manner possible. As such it does
-not implement desktop backgrounds, applications docks, or other things
-that may be achieved through separate applications.
-
-This package provides the lisp source files. They are not needed for the
-application to run, however by studying them one can add new functions or
-improve current ones.
-
%prep
-%setup -q
+%setup -q -n %{name}_%{version}
%patch1 -p1
%build
@@ -206,10 +187,10 @@
%{_bindir}/sawfish-about
%{_bindir}/sawfish-client
%{_bindir}/sawfish-config
-%exclude %{_datadir}/%{name}/*/*.jl
-%exclude %{_datadir}/%{name}/*/*/*.jl
-%exclude %{_datadir}/%{name}/*/*/*/*.jl
-%exclude %{_datadir}/%{name}/*/*/*/*/*.jl
+%{_datadir}/%{name}/*/*.jl
+%{_datadir}/%{name}/*/*/*.jl
+%{_datadir}/%{name}/*/*/*/*.jl
+%{_datadir}/%{name}/*/*/*/*/*.jl
%{_datadir}/%{name}
%dir %{_datadir}/gnome
@@ -234,14 +215,6 @@
%_datadir/emacs/site-lisp/%name.el
%_datadir/emacs/site-lisp/suse-start-sawfish.el
-%files lisp
-%defattr(-,root,root)
-%{_datadir}/%{name}/*/*.jl
-%{_datadir}/%{name}/*/*/*.jl
-%{_datadir}/%{name}/*/*/*/*.jl
-%{_datadir}/%{name}/*/*/*/*/*.jl
-
-
%files devel
%defattr(-,root,root)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package rep-gtk for openSUSE:Factory checked in at 2014-09-03 18:22:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rep-gtk (Old)
and /work/SRC/openSUSE:Factory/.rep-gtk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rep-gtk"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rep-gtk/rep-gtk.changes 2012-11-12 07:05:37.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rep-gtk.new/rep-gtk.changes 2014-09-03 21:03:39.000000000 +0200
@@ -1,0 +2,9 @@
+Mon Sep 1 07:28:17 UTC 2014 - toganm(a)opensuse.org
+
+- Update to 0.90.8.2
+ * improved debian packaging scripts
+ * fixed address of FSF in COPYING
+ * update supplied autotools stuff
+
+- Remove backported 0001-fix-address-of-FSF.patch
+-------------------------------------------------------------------
Old:
----
0001-fix-address-of-FSF.patch
rep-gtk-0.90.8.1.tar.xz
New:
----
rep-gtk_0.90.8.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rep-gtk.spec ++++++
--- /var/tmp/diff_new_pack.YrQVn5/_old 2014-09-03 21:03:40.000000000 +0200
+++ /var/tmp/diff_new_pack.YrQVn5/_new 2014-09-03 21:03:40.000000000 +0200
@@ -19,13 +19,13 @@
Name: rep-gtk
-Version: 0.90.8.1
+Version: 0.90.8.2
Release: 0
Summary: GTK+ binding for librep Lisp environment
License: GPL-2.0+
Group: Development/Libraries/GNOME
Url: http://sawfish.wikia.com/wiki/Rep-GTK
-Source: http://download.tuxfamily.org/librep/rep-gtk/%{name}-%{version}.tar.xz
+Source: http://download.tuxfamily.org/librep/rep-gtk/%{name}_%{version}.tar.xz
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.23.0
BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.0
BuildRequires: pkgconfig(librep) >= 0.92.1
@@ -33,8 +33,6 @@
BuildRequires: xz
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-# PATCH-FIX-UPSTREAM 0001-fix-address-of-FSF.patch toganm(a)opensuse.org --backported
-Patch0: 0001-fix-address-of-FSF.patch
%description
@@ -55,8 +53,7 @@
0.17), with a new glue-code generator.
%prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{name}_%{version}
chmod -x examples/*.jl
%build
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package qhull for openSUSE:Factory checked in at 2014-09-03 18:23:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qhull (Old)
and /work/SRC/openSUSE:Factory/.qhull.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qhull"
Changes:
--------
--- /work/SRC/openSUSE:Factory/qhull/qhull.changes 2013-08-06 07:06:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.qhull.new/qhull.changes 2014-09-03 21:01:58.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Sep 1 17:15:17 UTC 2014 - hrvoje.senjan(a)gmail.com
+
+- Change license to Qhull - it is now recognized by spdx.org
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qhull.spec ++++++
--- /var/tmp/diff_new_pack.1544Mb/_old 2014-09-03 21:02:00.000000000 +0200
+++ /var/tmp/diff_new_pack.1544Mb/_new 2014-09-03 21:02:00.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package qhull
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -30,7 +30,7 @@
BuildRequires: gcc-c++
Requires: libqhull%{sonum}-%{libver} = %{version}
Summary: Computing convex hulls, Delaunay triangulations and Voronoi diagrams
-License: SUSE-Qhull
+License: Qhull
Group: System/Libraries
%description
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python3-rdflib for openSUSE:Factory checked in at 2014-09-03 18:23:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-rdflib (Old)
and /work/SRC/openSUSE:Factory/.python3-rdflib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-rdflib"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-rdflib/python3-rdflib.changes 2013-06-21 19:09:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-rdflib.new/python3-rdflib.changes 2014-09-03 21:01:02.000000000 +0200
@@ -1,0 +2,24 @@
+Fri Dec 6 13:57:34 UTC 2013 - toddrme2178(a)gmail.com
+
+- Update to 4.0.1
+ * Bugfixes
+- Update to 4.0
+ * The new SPARQL 1.1 engine (rdflib-sparql) has been included in the core distribution. SPARQL 1.1 queries and updates should work out of the box.
+ * Several RDF 1.1 features are available:
+ * A new DataSet class
+ * XMLLiteral and HTMLLiterals
+ * BNode (de)skolemization is supported through BNode.skolemize, URIRef.de_skolemize, Graph.skolemize and Graph.de_skolemize
+ * Handled of Literal equality was split into lexical comparison (for normal == operator) and value space (using new Node.eq methods). This introduces some slight backwards incomaptible changes, but was necessary, as the old version had inconsisten hash and equality methods that could lead the literals not working correctly in dicts/sets. The new way is more in line with how SPARQL 1.1 works. For the full details, see:
+ * Iterating over QueryResults will generate ResultRow objects, these allow access to variable bindings as attributes or as a dict. I.e.
+ * "Slicing" of Graphs and Resources as syntactic sugar: (#271)
+ * The SPARQLStore and SPARQLUpdateStore are now included in the RDFLib core
+ * The documentation has been given a major overhaul, and examples for most features have been added.
+- Update to 3.4
+ * This release introduced new parsers for structured data in HTML. In particular formats: hturtle, rdfa, mdata and an auto-detecting html format were added. Thanks to Ivan Herman for this!
+ * This release includes a lot of admin maintentance - correct dependencies for different python versions, etc. Several py3 bugs were also fixed.
+ * This release drops python 2.4 compatability - it was just getting too expensive for us to maintain. It should however be compatible with any cpython from 2.5 through 3.3.
+ * node.md5_term is now deprecated, if you use it let us know.
+- Add additional dependencies
+- Implement update-alternatives
+
+-------------------------------------------------------------------
Old:
----
rdflib-3.2.3.tar.gz
New:
----
rdflib-4.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-rdflib.spec ++++++
--- /var/tmp/diff_new_pack.huJjSj/_old 2014-09-03 21:01:04.000000000 +0200
+++ /var/tmp/diff_new_pack.huJjSj/_new 2014-09-03 21:01:04.000000000 +0200
@@ -17,7 +17,7 @@
Name: python3-rdflib
-Version: 3.2.3
+Version: 4.0.1
Release: 0
Summary: A Python library for working with RDF
License: BSD-3-Clause
@@ -30,12 +30,22 @@
BuildRequires: python3 >= 3.2
BuildRequires: python3-2to3
BuildRequires: python3-devel
-BuildRequires: python3-distribute
+BuildRequires: python3-setuptools
+BuildRequires: python3-flake8
+BuildRequires: python3-html5lib
BuildRequires: python3-isodate
BuildRequires: python3-nose
+BuildRequires: python3-pyparsing
+BuildRequires: python3-SPARQLWrapper
BuildRequires: python3-xml
+Requires: python3-flake8
+Requires: python3-html5lib
Requires: python3-isodate
+Requires: python3-pyparsing
+Requires: python3-SPARQLWrapper
Requires: python3-xml
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildArch: noarch
%description
@@ -59,14 +69,54 @@
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%fdupes -s build/html
+
+# for update-alternatives
+mv %{buildroot}%{_bindir}/csv2rdf %{buildroot}%{_bindir}/csv2rdf-%{py3_ver}
+mv %{buildroot}%{_bindir}/rdf2dot %{buildroot}%{_bindir}/rdf2dot-%{py3_ver}
+mv %{buildroot}%{_bindir}/rdfgraphisomorpishm %{buildroot}%{_bindir}/rdfgraphisomorpishm-%{py3_ver}
+mv %{buildroot}%{_bindir}/rdfpipe %{buildroot}%{_bindir}/rdfpipe-%{py3_ver}
+mv %{buildroot}%{_bindir}/rdfs2dot %{buildroot}%{_bindir}/rdfs2dot-%{py3_ver}
+ln -s %{_bindir}/csv2rdf-%{py3_ver} %{buildroot}%{_bindir}/csv2rdf
+ln -s %{_bindir}/rdf2dot-%{py3_ver} %{buildroot}%{_bindir}/rdf2dot
+ln -s %{_bindir}/rdfgraphisomorpishm-%{py3_ver} %{buildroot}%{_bindir}/rdfgraphisomorpishm
+ln -s %{_bindir}/rdfpipe-%{py3_ver} %{buildroot}%{_bindir}/rdfpipe
+ln -s %{_bindir}/rdfs2dot-%{py3_ver} %{buildroot}%{_bindir}/rdfs2dot
+
+# fix end-of-line encoding
+sed -i 's/\r$//' docs/_build/html/_static/jquery.js
+
+%fdupes -s docs/_build/html
+
+%post
+update-alternatives \
+ --install %{_bindir}/rdfpipe rdfpipe %{_bindir}/rdfpipe-%{py3_ver} 30 \
+ --slave %{_bindir}/csv2rdf csv2rdf %{_bindir}/csv2rdf%{py3_ver} \
+ --slave %{_bindir}/rdf2dot rdf2dot %{_bindir}/rdf2dot%{py3_ver} \
+ --slave %{_bindir}/rdfgraphisomorpishm rdfgraphisomorpishm %{_bindir}/rdfgraphisomorpishm%{py3_ver} \
+ --slave %{_bindir}/rdfs2dot rdfs2dot %{_bindir}/rdfs2dot%{py3_ver}
+
+%preun
+if [ $1 -eq 0 ] ; then
+ update-alternatives --remove rdfpipe %{_bindir}/rdfpipe-%{py3_ver}
+fi
%check
python3 setup.py test
%files
%defattr(-,root,root)
-%doc CHANGELOG LICENSE README docs/_build/html
-%{python3_sitelib}/*
+%doc CHANGELOG.md LICENSE CONTRIBUTORS README.md docs/_build/html
+%{_bindir}/csv2rdf-%{py3_ver}
+%{_bindir}/rdf2dot-%{py3_ver}
+%{_bindir}/rdfgraphisomorpishm-%{py3_ver}
+%{_bindir}/rdfpipe-%{py3_ver}
+%{_bindir}/rdfs2dot-%{py3_ver}
+%ghost %{_bindir}/csv2rdf
+%ghost %{_bindir}/rdf2dot
+%ghost %{_bindir}/rdfgraphisomorpishm
+%ghost %{_bindir}/rdfpipe
+%ghost %{_bindir}/rdfs2dot
+%{python3_sitelib}/rdflib/
+%{python3_sitelib}/rdflib-%{version}-py*.egg-info
%changelog
++++++ rdflib-3.2.3.tar.gz -> rdflib-4.0.1.tar.gz ++++++
++++ 121566 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python3-matplotlib for openSUSE:Factory checked in at 2014-09-03 18:22:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-matplotlib (Old)
and /work/SRC/openSUSE:Factory/.python3-matplotlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-matplotlib"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-matplotlib/python3-matplotlib.changes 2014-07-18 06:41:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-matplotlib.new/python3-matplotlib.changes 2014-09-03 20:59:53.000000000 +0200
@@ -1,0 +2,93 @@
+Wed Aug 27 11:07:47 UTC 2014 - toddrme2178(a)gmail.com
+
+- Fixed issues with qt. The qt5 backend is actually a generic
+ qt backend, which the qt4 backend depends on. So it needs to be
+ available for the qt4 backend to work at all. However, we need
+ to pull in the python3-qt5 package to make it work, and that
+ package is only available for openSUSE > 13.1. So we need to
+ split the generic qt stuff, including the qt5 stuff, into a
+ package both the qt4 and qt5 backends can depend on, and then
+ create a stub qt5 package that just pulls in python3-qt5
+- Reorganized some other backend packages based on backend changes
+
+-------------------------------------------------------------------
+Tue Aug 26 12:14:35 UTC 2014 - toddrme2178(a)gmail.com
+
+- Update to 1.4.0
+ * New colormap for red-green color blind users
+ * Documentation changes
+ - Phil Elson rewrote of the documentation and userguide for both
+ Legend and PathEffects.
+ * New plotting features
+ - Power-law normalization
+ - Fully customizable boxplots
+ - Support for datetime axes in 2d plots
+ - Support for additional spectrum types
+ - Support for detrending and windowing 2D arrays in mlab
+ - Support for strides in mlab
+ - Formatter for new-style formatting strings
+ - Consistent grid sizes in streamplots
+ - Get a list of all tick labels (major and minor)
+ - Separate horizontal/vertical axes padding support in ImageGrid
+ - Support for skewed transformations
+ - Support for specifying properties of wedge and text in pie
+ charts.
+ - Fixed the direction of errorbar upper/lower limits
+ - More consistent add-object API for Axes
+ - Violin Plots
+ - More `markevery` options to show only a subset of markers
+ - Added size related functions to specialized `Collections`
+ - Fixed the mouse coordinates giving the wrong theta value in
+ Polar graph
+ - Simple quiver plot for mplot3d toolkit
+ - polar-plot r-tick locations
+ * Date handling
+ - n-d array support for date conversion
+ * Configuration (rcParams)
+ - 'savefig.transparent' added
+ - 'axes.titleweight'
+ - 'axes.formatter.useoffset' added
+ * XDG compliance
+ - Matplotlib now looks for configuration files (both rcparams and
+ style) in XDG compliant locations.
+ * 'style' package added
+ - You can now easily switch between different styles using the
+ new 'style' package
+ * Backends
+ - Qt5 backend added
+ - Qt4 backend
+ + Rudolf Höfler changed the appearance of the subplottool.
+ + In the figure options dialog one can now choose to
+ (re-)generate a simple automatic legend.
+ + Interactive performance of the Qt4 backend has been
+ dramatically improved under windows.
+ + The mapping of key-signals from Qt to values matplotlib
+ understands was greatly improved (For both Qt4 and Qt5).
+ - Cairo backends
+ + The Cairo backends are now able to use the cairocffi
+ bindings, which are more actively maintained than the pycairo
+ bindings.
+ - Gtk3Agg backend
+ + The Gtk3Agg backend now works on Python 3.x, if the cairocffi
+ bindings are installed.
+ - PDF backend
+ + Added context manager for saving to multi-page PDFs.
+ * Text
+ - Text URLs supported by SVG backend
+ - Anchored sizebar font
+ * Sphinx extensions
+ - The context directive in the plot_directive Sphinx extension
+ can now accept an optional reset setting, which will cause the
+ context to be reset.
+ * Widgets
+ - Span Selector
+ * Added an option span_stays to SpanSelector which makes the
+ selector rectangle stay on the axes after you release the
+ mouse.
+ * GAE integration
+ - Matplotlib will now run on google app engine.
+- Added python-qt5 backend on openSUSE > 13.1
+- Spec file cleanups
+- Disable non-working qt4 backend on openSUSE 12.2.
+
+-------------------------------------------------------------------
Old:
----
matplotlib-1.3.1.tar.gz
New:
----
matplotlib-1.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-matplotlib.spec ++++++
--- /var/tmp/diff_new_pack.qCFNvB/_old 2014-09-03 20:59:57.000000000 +0200
+++ /var/tmp/diff_new_pack.qCFNvB/_new 2014-09-03 20:59:57.000000000 +0200
@@ -17,7 +17,7 @@
Name: python3-matplotlib
-Version: 1.3.1
+Version: 1.4.0
Release: 0
Summary: Plotting Library for Python
License: SUSE-Matplotlib
@@ -47,7 +47,14 @@
BuildRequires: python3-gobject2
BuildRequires: python3-gobject2-devel
BuildRequires: python3-numpy-devel >= 1.2.1
+%if 0%{?suse_version} > 1220
+BuildRequires: python3-qt4
BuildRequires: python3-qt4-devel
+%endif
+%if 0%{?suse_version} > 1310
+BuildRequires: python3-qt5
+BuildRequires: python3-qt5-devel
+%endif
BuildRequires: python3-pyparsing
# BuildRequires: python3-pyside
BuildRequires: python3-setuptools
@@ -112,11 +119,23 @@
This package includes the GTK3-based gtk3, gtk3agg, and
gtk3cairo backends for the %{name} plotting package
+%package qt-shared
+Summary: Shared files for the Qt backends for %{name}
+License: BSD-2-Clause
+Group: Development/Libraries/Python
+Requires: %{name} = %{version}
+
+%description qt-shared
+This package includes files needed by both the Qt4-based pyqt4
+backend and the Qt5-based pyqt5 backend for the %{name}
+plotting package
+
%package qt4
-Summary: Qt4 backends for %{name}
+Summary: Qt4 backend for %{name}
License: BSD-2-Clause
Group: Development/Libraries/Python
Requires: %{name} = %{version}
+Requires: %{name}-qt-shared = %{version}
# Requires: python3-pyside
Requires: python3-qt4
@@ -124,6 +143,18 @@
This package includes the Qt4-based pyqt4 and pyside backends
for the %{name} plotting package
+%package qt5
+Summary: Qt5 backend for %{name}
+License: BSD-2-Clause
+Group: Development/Libraries/Python
+Requires: %{name} = %{version}
+Requires: %{name}-qt-shared = %{version}
+Requires: python-qt5
+
+%description qt5
+This package includes the Qt5-based pyqt5 backend
+for the %{name} plotting package
+
%package designer
Summary: Qt Designer plugin for %{name}
License: MIT
@@ -192,19 +223,18 @@
%files
%defattr(-,root,root,-)
-%doc README.rst CHANGELOG TODO CXX examples
+%doc README.rst LICENSE CHANGELOG PKG-INFO examples doc/users/license.rst
%{python3_sitearch}/matplotlib/
-%{python3_sitearch}/matplotlib-%{version}_r0-py%{py3_ver}-nspkg.pth
-%{python3_sitearch}/matplotlib-%{version}_r0-py%{py3_ver}.egg-info
+%{python3_sitearch}/matplotlib-%{version}_r0-py*-nspkg.pth
+%{python3_sitearch}/matplotlib-%{version}_r0-py*.egg-info
%{python3_sitearch}/mpl_toolkits/
+%{python3_sitearch}/freetype2.*.so
%{python3_sitearch}/pylab.py*
%{python3_sitearch}/__pycache__/pylab.cpython-*.pyc
-%exclude %{python3_sitearch}/matplotlib/backends/backend_cairo.*
-%exclude %{python3_sitearch}/matplotlib/backends/backend_macosx.*
-%exclude %{python3_sitearch}/matplotlib/backends/windowing.*
# %exclude %{python3_sitearch}/matplotlib/backends/_backend_gdk.so
# %exclude %{python3_sitearch}/matplotlib/backends/_gtkagg.so
# %exclude %{python3_sitearch}/matplotlib/backends/_tkagg.so
+%exclude %{python3_sitearch}/matplotlib/backends/backend_cairo.*
%exclude %{python3_sitearch}/matplotlib/backends/backend_cocoaagg.*
%exclude %{python3_sitearch}/matplotlib/backends/backend_gdk.*
%exclude %{python3_sitearch}/matplotlib/backends/backend_gtk.*
@@ -215,13 +245,18 @@
%exclude %{python3_sitearch}/matplotlib/backends/backend_gtk3cairo.*
%exclude %{python3_sitearch}/matplotlib/backends/backend_qt4.*
%exclude %{python3_sitearch}/matplotlib/backends/backend_qt4agg.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_qt5.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_qt5agg.*
%exclude %{python3_sitearch}/matplotlib/backends/backend_tkagg.*
%exclude %{python3_sitearch}/matplotlib/backends/backend_webagg.*
+%exclude %{python3_sitearch}/matplotlib/backends/backend_webagg_core.*
%exclude %{python3_sitearch}/matplotlib/backends/backend_wx.*
%exclude %{python3_sitearch}/matplotlib/backends/backend_wxagg.*
+%exclude %{python3_sitearch}/matplotlib/backends/qt_compat.*
%exclude %{python3_sitearch}/matplotlib/backends/qt4_compat.*
-%exclude %{python3_sitearch}/matplotlib/backends/qt4_editor/
%exclude %{python3_sitearch}/matplotlib/backends/tkagg.*
+%exclude %{python3_sitearch}/matplotlib/backends/windowing.*
+%exclude %{python3_sitearch}/matplotlib/backends/qt_editor/
%exclude %{python3_sitearch}/matplotlib/backends/web_backend/
%exclude %{python3_sitearch}/mpl_toolkits/gtktools.py*
@@ -242,12 +277,35 @@
%{python3_sitearch}/matplotlib/backends/backend_gtk3agg.*
%{python3_sitearch}/matplotlib/backends/backend_gtk3cairo.*
+%if 0%{?suse_version} > 1220
+%files qt-shared
+# IMPORTANT: the qt4 backend makes use of the qt5 backend,
+# which is actually a generic qt backend.
+# So we need to package all the qt5 stuff in this generic
+# package, and provide a stub package which pulls in the
+# python-qt5 dependency.
+%{python3_sitearch}/matplotlib/backends/backend_qt5.*
+%{python3_sitearch}/matplotlib/backends/backend_qt5agg.*
+%{python3_sitearch}/matplotlib/backends/qt_compat.*
+%{python3_sitearch}/matplotlib/backends/qt4_compat.*
+%{python3_sitearch}/matplotlib/backends/qt_editor/
+
%files qt4
%defattr(-,root,root,-)
%{python3_sitearch}/matplotlib/backends/backend_qt4.*
%{python3_sitearch}/matplotlib/backends/backend_qt4agg.*
-%{python3_sitearch}/matplotlib/backends/qt4_compat.*
-%{python3_sitearch}/matplotlib/backends/qt4_editor/
+
+%if 0%{?suse_version} > 1310
+%files qt5
+%defattr(-,root,root,-)
+# IMPORTANT: the qt4 backend makes use of the qt5 backend,
+# which is actually a generic qt backend.
+# So we need to package all the qt5 stuff in a generic
+# package, and provide this stub package which pulls in the
+# python-qt5 dependency.
+%doc README.rst
+%endif
+%endif
%files tk
%defattr(-,root,root,-)
@@ -258,6 +316,7 @@
%files web
%defattr(-,root,root,-)
%{python3_sitearch}/matplotlib/backends/backend_webagg.*
+%{python3_sitearch}/matplotlib/backends/backend_webagg_core.*
%{python3_sitearch}/matplotlib/backends/web_backend/
# %files wx
++++++ matplotlib-1.3.1.tar.gz -> matplotlib-1.4.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python3-matplotlib/matplotlib-1.3.1.tar.gz /work/SRC/openSUSE:Factory/.python3-matplotlib.new/matplotlib-1.4.0.tar.gz differ: char 5, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python3-IPython for openSUSE:Factory checked in at 2014-09-03 18:22:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-IPython (Old)
and /work/SRC/openSUSE:Factory/.python3-IPython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-IPython"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-IPython/python3-IPython.changes 2014-08-11 10:07:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-IPython.new/python3-IPython.changes 2014-09-03 20:58:43.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Aug 28 17:38:58 UTC 2014 - toddrme2178(a)gmail.com
+
+- Add pandoc dependency for nbconvert notebook converter.
+ This is only available for openSUSE > 13.1.
+- Change some dependencies that are not required for basic
+ functionality to Recommends.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-IPython.spec ++++++
--- /var/tmp/diff_new_pack.HRYczp/_old 2014-09-03 20:58:47.000000000 +0200
+++ /var/tmp/diff_new_pack.HRYczp/_new 2014-09-03 20:58:47.000000000 +0200
@@ -49,19 +49,25 @@
Requires: python3-pyzmq >= 2.1.11
Requires: python3-tk
Requires: python3-xml
-Requires: python(abi) = %{py3_ver}
Recommends: python3-curses
Recommends: python3-pymongo
# not available yet upstream
#Recommends: python3-wxWidgets
# qtconsole
BuildRequires: python3-Pygments
+BuildRequires: python3-matplotlib
BuildRequires: python3-qt4-devel
-Requires: python3-Pygments
-Requires: python3-qt4
+Recommends: python3-Pygments
+Recommends: python3-matplotlib
+Recommends: python3-qt4
#ipython notebook
BuildRequires: python3-tornado >= 3.1
-Requires: python3-tornado >= 3.1
+Recommends: python3-tornado >= 3.1
+%if 0%{?suse_version} > 1310
+# nbconvert, only available on factory
+BuildRequires: pandoc >= 1.10
+Recommends: pandoc >= 1.10
+%endif
#documentation
BuildRequires: graphviz
BuildRequires: graphviz-gnome
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-veusz for openSUSE:Factory checked in at 2014-09-03 18:23:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-veusz (Old)
and /work/SRC/openSUSE:Factory/.python-veusz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-veusz"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-veusz/python-veusz.changes 2014-05-09 06:59:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-veusz.new/python-veusz.changes 2014-09-03 20:57:47.000000000 +0200
@@ -1,0 +2,21 @@
+Sat Aug 30 21:58:22 UTC 2014 - badshah400(a)gmail.com
+
+- Update to version 1.21.1:
+ + Add swap option on keys, swapping symbol and text
+ + Bug fixes:
+ - Fix missing labels if colorbar out of plot
+ - Preserve tags when reloading datasets
+ - Handle nan/inf/-inf when as value in UI
+ - Remove dependence on pyqtconfig in build system
+ - Handle errors properly in 2D CSV read
+ - Do not crash if selecting siblings of document widget
+ - Fix accidental modification of data by line widget
+ - Improve PDF bounding box rounding to prevent chopping near
+ edge
+ - Fix function plotter in embedding
+ - Fix astropy version checking
+ - Fix crash for error bar in CSV with blank previous column
+- Drop python-veusz-test-disable-contour_labels.patch; patch
+ incorporated upstream.
+
+-------------------------------------------------------------------
Old:
----
python-veusz-test-disable-contour_labels.patch
veusz-1.21.tar.gz
New:
----
veusz-1.21.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-veusz.spec ++++++
--- /var/tmp/diff_new_pack.NIGG5X/_old 2014-09-03 20:57:48.000000000 +0200
+++ /var/tmp/diff_new_pack.NIGG5X/_new 2014-09-03 20:57:48.000000000 +0200
@@ -19,7 +19,7 @@
%define pyname veusz
Name: python-veusz
-Version: 1.21
+Version: 1.21.1
Release: 0
# The entire source code is GPL-2.0+ except helpers/src/_nc_cntr.c which is Python-2.0
Summary: GUI scientific plotting package
@@ -28,8 +28,6 @@
Url: http://home.gna.org/veusz/
Source0: http://download.gna.org/veusz/veusz-%{version}.tar.gz
Source3: %{pyname}_256.png
-# PATCH-FIX-UPSTREAM python-veusz-test-disable-contour_labels.patch badshah400(a)gmail.com -- Disable an erroneous test that causes build failures, patch came from upstream
-Patch0: python-veusz-test-disable-contour_labels.patch
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
@@ -61,7 +59,6 @@
%prep
%setup -q -n %{pyname}-%{version}
-%patch0 -p1
find -name \*~ | xargs rm -f
%build
++++++ veusz-1.21.tar.gz -> veusz-1.21.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/ChangeLog new/veusz-1.21.1/ChangeLog
--- old/veusz-1.21/ChangeLog 2014-05-03 10:14:11.000000000 +0200
+++ new/veusz-1.21.1/ChangeLog 2014-08-30 14:17:35.000000000 +0200
@@ -1,3 +1,19 @@
+Changes in 1.21.1
+ * Add swap option on keys, swapping symbol and text
+
+Bug fixes
+ * Fix missing labels if colorbar out of plot
+ * Preserve tags when reloading datasets
+ * Handle nan/inf/-inf when as value in UI
+ * Remove dependence on pyqtconfig in build system
+ * Handle errors properly in 2D CSV read
+ * Do not crash if selecting siblings of document widget
+ * Fix accidental modification of data by line widget
+ * Improve PDF bounding box rounding to prevent chopping near edge
+ * Fix function plotter in embedding
+ * Fix astropy version checking
+ * Fix crash for error bar in CSV with blank previous column
+
Changes in 1.21:
* Add HDF5 saved document format
* Add filled curve error bar style
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/PKG-INFO new/veusz-1.21.1/PKG-INFO
--- old/veusz-1.21/PKG-INFO 2014-05-03 10:53:27.000000000 +0200
+++ new/veusz-1.21.1/PKG-INFO 2014-08-23 17:16:03.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: veusz
-Version: 1.21
+Version: 1.21.1
Summary: A scientific plotting package
Home-page: http://home.gna.org/veusz/
Author: Jeremy Sanders
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/README new/veusz-1.21.1/README
--- old/veusz-1.21/README 2014-05-03 10:14:11.000000000 +0200
+++ new/veusz-1.21.1/README 2014-08-23 17:15:18.000000000 +0200
@@ -1,5 +1,5 @@
-Veusz 1.21
-----------
+Veusz 1.21.1
+------------
http://home.gna.org/veusz/
Veusz is a scientific plotting package. It is designed to produce
@@ -12,39 +12,21 @@
manipulation and editing of datasets. Data can be captured from
external sources such as Internet sockets or other programs.
-Changes in 1.21:
- * Add HDF5 saved document format
- * Add filled curve error bar style
- * Add fill left/right options for point plotter
- * Add filetype filters to import dialog file browser dialog
- * In file completer in import dialog, use selected tab as filter
- * Move code to use PyQt new style signals
- * Add a master color setting for xy point and nonorthpoint plot
- * Line labelling algorithm much improved in contour plots, which
- rotates text to match line angle and avoids label overlaps
- * More accurate axis tick label bounding boxes, allowing rotated
- labels to be placed close together
- * Add reflection and rotation options to vector field widget
- * Switch to scientific notation earlier when showing float settings
+Changes in 1.21.1
+ * Add swap option on keys, swapping symbol and text
-Bug fixes:
- * Direction combo did not work in import dialog
- * Saving text datasets did not work in Python3
- * Fix partial dataset evaluation issue when loading documents
- * 2D non-regular pixel spaced images give error if clipped in y
- * Handle Unicode quoted characters in simple text data files
- * xcent/ycent in Dataset2D import plugins were ignored
- * promote_tab broken for import plugins
- * Full screen view when all pages are deleted
- * Crash with empty dataset and boxplot widget
- * Fix copy and paste of datasets
- * Python 3 resizing axis bug
- * Crash if picking/zooming on document with no pages
- * Crash if reediting histogram dataset with blank output entry
- * Use end of text formatting string beyond format specifier
- * When writing SVG text as text, use xml:space="preserve" to
- avoid missing whitespace
- * Embedding socket issue on Python 3.4+
+Bug fixes
+ * Fix missing labels if colorbar out of plot
+ * Preserve tags when reloading datasets
+ * Handle nan/inf/-inf when as value in UI
+ * Remove dependence on pyqtconfig in build system
+ * Handle errors properly in 2D CSV read
+ * Do not crash if selecting siblings of document widget
+ * Fix accidental modification of data by line widget
+ * Improve PDF bounding box rounding to prevent chopping near edge
+ * Fix function plotter in embedding
+ * Fix astropy version checking
+ * Fix crash for error bar in CSV with blank previous column
Features of package:
Plotting features:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/VERSION new/veusz-1.21.1/VERSION
--- old/veusz-1.21/VERSION 2014-05-03 10:15:32.000000000 +0200
+++ new/veusz-1.21.1/VERSION 2014-08-23 17:15:18.000000000 +0200
@@ -1 +1 @@
-1.21
+1.21.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/pyqtdistutils.py new/veusz-1.21.1/pyqtdistutils.py
--- old/veusz-1.21/pyqtdistutils.py 2013-11-09 11:23:50.000000000 +0100
+++ new/veusz-1.21.1/pyqtdistutils.py 2014-08-23 17:15:18.000000000 +0200
@@ -10,7 +10,37 @@
import os
import sys
-import PyQt4.pyqtconfig
+import sip
+sip.setapi('QString', 2)
+
+import sipconfig
+import PyQt4.QtCore
+
+##################################################################
+# try to get various useful things we need in order to build
+# this is likely to break, I'm sure
+
+QT_LIB_DIR = PyQt4.QtCore.QLibraryInfo.location(
+ PyQt4.QtCore.QLibraryInfo.LibrariesPath)
+QT_INC_DIR = PyQt4.QtCore.QLibraryInfo.location(
+ PyQt4.QtCore.QLibraryInfo.HeadersPath)
+QT_IS_FRAMEWORK = os.path.exists(
+ os.path.join(QT_LIB_DIR, 'QtCore.framework') )
+
+try:
+ # >= 4.10
+ SIP_FLAGS = PyQt4.QtCore.PYQT_CONFIGURATION['sip_flags']
+except:
+ import PyQt4.pyqtconfig
+ SIP_FLAGS = PyQt4.pyqtconfig.Configuration().pyqt_sip_flags
+
+PYQT_SIP_DIR = os.path.join(
+ sipconfig.Configuration().default_sip_dir, 'PyQt4')
+
+SIP_BIN = sipconfig.Configuration().sip_bin
+SIP_INC_DIR = sipconfig.Configuration().sip_inc_dir
+
+##################################################################
def replace_suffix(path, new_suffix):
return os.path.splitext(path)[0] + new_suffix
@@ -35,43 +65,34 @@
raise RuntimeError('cannot parse SIP-generated "%s"' % sbf)
- def _find_sip(self):
- cfg = PyQt4.pyqtconfig.Configuration()
- return cfg.sip_bin
-
- def _sip_inc_dir(self):
- cfg = PyQt4.pyqtconfig.Configuration()
- return cfg.sip_inc_dir
+ def get_includes(self):
- def get_includes(self, cfg):
incdirs = []
for mod in ('QtCore', 'QtGui', 'QtXml'):
- if cfg.qt_framework:
- incdirs.append( os.path.join(cfg.qt_lib_dir,
- mod + '.framework', 'Headers') )
+ if QT_IS_FRAMEWORK:
+ incdirs.append(
+ os.path.join(QT_LIB_DIR, mod + '.framework', 'Headers') )
else:
- incdirs.append( os.path.join(cfg.qt_inc_dir, mod) )
+ incdirs.append( os.path.join(QT_INC_DIR, mod) )
return incdirs
def swig_sources (self, sources, extension=None):
if not self.extensions:
return
- cfg = PyQt4.pyqtconfig.Configuration()
-
# add directory of input files as include path
indirs = list(set([os.path.dirname(x) for x in sources]))
# Add the SIP and Qt include directories to the include path
extension.include_dirs += [
- cfg.sip_inc_dir,
- cfg.qt_inc_dir,
- ] + self.get_includes(cfg) + indirs
+ SIP_INC_DIR,
+ QT_INC_DIR,
+ ] + self.get_includes() + indirs
# link against libraries
- if cfg.qt_framework:
+ if QT_IS_FRAMEWORK:
extension.extra_link_args = [
- '-F', os.path.join(cfg.qt_lib_dir),
+ '-F', os.path.join(QT_LIB_DIR),
'-framework', 'QtGui',
'-framework', 'QtCore',
'-framework', 'QtXml'
@@ -80,7 +101,7 @@
extension.libraries = ['QtGui4', 'QtCore4', 'QtXml4']
else:
extension.libraries = ['QtGui', 'QtCore', 'QtXml']
- extension.library_dirs = [cfg.qt_lib_dir]
+ extension.library_dirs = [QT_LIB_DIR]
depends = extension.depends
@@ -101,25 +122,22 @@
if not source.endswith('.sip')]
generated_sources = []
- sip_bin = self._find_sip()
-
for sip in sip_sources:
# Use the sbf file as dependency check
sipbasename = os.path.basename(sip)
sbf = os.path.join(self.build_temp,
replace_suffix(sipbasename, '.sbf'))
if newer_group([sip]+depends, sbf) or self.force:
- self._sip_compile(sip_bin, sip, sbf)
+ self._sip_compile(sip, sbf)
out = self._get_sip_output_list(sbf)
generated_sources.extend(out)
return generated_sources + other_sources
- def _sip_compile(self, sip_bin, source, sbf):
- cfg = PyQt4.pyqtconfig.Configuration()
- self.spawn([sip_bin,
+ def _sip_compile(self, source, sbf):
+ self.spawn([SIP_BIN,
'-c', self.build_temp,
- ] + cfg.pyqt_sip_flags.split() + [
- '-I', cfg.pyqt_sip_dir,
+ ] + SIP_FLAGS.split() + [
+ '-I', PYQT_SIP_DIR,
'-b', sbf,
source])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/support/veusz.desktop new/veusz-1.21.1/support/veusz.desktop
--- old/veusz-1.21/support/veusz.desktop 2014-02-01 18:09:03.000000000 +0100
+++ new/veusz-1.21.1/support/veusz.desktop 2014-08-23 17:15:18.000000000 +0200
@@ -3,9 +3,9 @@
Name=Veusz
GenericName=Scientific plotting
Comment=Scientific plotting and graphing package
-MimeType=application/x-veusz
+MimeType=application/x-veusz;
Exec=veusz %F
Icon=veusz
Terminal=false
Type=Application
-Categories=Graphics;
+Categories=DataVisualization;Science;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/tests/runselftest.py new/veusz-1.21.1/tests/runselftest.py
--- old/veusz-1.21/tests/runselftest.py 2014-04-27 15:02:31.000000000 +0200
+++ new/veusz-1.21.1/tests/runselftest.py 2014-06-11 19:42:38.000000000 +0200
@@ -77,6 +77,14 @@
# fails on Linux Arm
'spectrum.vsz',
'hatching.vsz',
+
+ # fails on suse / fedora
+ 'contour_labels.vsz',
+ # new arm self test failures
+ 'example_import.vsz',
+ 'profile.vsz',
+ '1dto2d.vsz',
+
# don't expect this to work
'mathml.vsz',
])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/dataimport/base.py new/veusz-1.21.1/veusz/dataimport/base.py
--- old/veusz-1.21/veusz/dataimport/base.py 2013-12-31 21:18:53.000000000 +0100
+++ new/veusz-1.21.1/veusz/dataimport/base.py 2014-07-20 14:03:16.000000000 +0200
@@ -150,15 +150,23 @@
return f
def _deleteLinkedDatasets(self, document):
- """Delete linked datasets from document linking to self."""
+ """Delete linked datasets from document linking to self.
+ Returns tags for deleted datasets.
+ """
+ tags = {}
for name, ds in list(document.data.items()):
if ds.linked == self:
+ tags[name] = document.data[name].tags
document.deleteData(name)
+ return tags
- def _moveReadDatasets(self, tempdoc, document):
+ def _moveReadDatasets(self, tempdoc, document, tags):
"""Move datasets from tempdoc to document if they do not exist
- in the destination."""
+ in the destination.
+
+ tags is a dict of tags for each dataset
+ """
read = []
for name, ds in list(tempdoc.data.items()):
@@ -171,6 +179,9 @@
outname = self.params.renames[name]
ds.linked = self
+ if name in tags:
+ ds.tags = tags[name]
+
document.setData(outname, ds)
return read
@@ -196,9 +207,9 @@
return ([], errors)
# delete datasets which are linked and imported here
- self._deleteLinkedDatasets(document)
+ tags = self._deleteLinkedDatasets(document)
# move datasets into document
- read = self._moveReadDatasets(tempdoc, document)
+ read = self._moveReadDatasets(tempdoc, document, tags)
# return errors (if any)
errors = op.outinvalids
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/dataimport/readcsv.py new/veusz-1.21.1/veusz/dataimport/readcsv.py
--- old/veusz-1.21/veusz/dataimport/readcsv.py 2014-04-27 15:02:31.000000000 +0200
+++ new/veusz-1.21.1/veusz/dataimport/readcsv.py 2014-08-23 17:15:18.000000000 +0200
@@ -136,6 +136,8 @@
# loop to find previous valid column
prevcol = colnum - 1
while prevcol >= 0:
+ if prevcol not in self.colnames:
+ break
n = self.colnames[prevcol]
if len(n) > 0 and n[-1] not in "+-":
# we add a \0 here so that there's no chance of the user
@@ -143,9 +145,9 @@
name = n + '\0' + name
return self.coltypes[prevcol], name
prevcol -= 1
- else:
- # did not find anything
- name = self._generateName(colnum)
+
+ # did not find anything
+ name = self._generateName(colnum)
# examine whether object type is at end of name
# convert, and remove, if is
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/dataimport/simpleread.py new/veusz-1.21.1/veusz/dataimport/simpleread.py
--- old/veusz-1.21/veusz/dataimport/simpleread.py 2014-04-27 15:02:31.000000000 +0200
+++ new/veusz-1.21.1/veusz/dataimport/simpleread.py 2014-08-23 17:15:18.000000000 +0200
@@ -470,7 +470,7 @@
# add on converted text - yuck - double conversion
self.remainingline.append('%e' % v)
else:
- self.remainingline.append(v)
+ self.remainingline.append(t)
return True
class SimpleRead(object):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/embed.py new/veusz-1.21.1/veusz/embed.py
--- old/veusz-1.21/veusz/embed.py 2014-05-03 10:14:11.000000000 +0200
+++ new/veusz-1.21.1/veusz/embed.py 2014-06-11 19:42:38.000000000 +0200
@@ -224,6 +224,9 @@
else:
possiblecommands += [[
'/Applications/Veusz.app/Contents/MacOS/Veusz' ]]
+ possiblecommands += [[
+ os.path.expanduser('~/Applications/Veusz.app/Contents/MacOS/Veusz')]]
+
for cmd in possiblecommands:
# only try to run commands that exist as error handling
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/embed_remote.py new/veusz-1.21.1/veusz/embed_remote.py
--- old/veusz-1.21/veusz/embed_remote.py 2014-02-08 13:25:58.000000000 +0100
+++ new/veusz-1.21.1/veusz/embed_remote.py 2014-08-23 17:15:18.000000000 +0200
@@ -24,6 +24,7 @@
from .compat import citems, pickle
from .windows.simplewindow import SimpleWindow
from . import document
+from . import setting
from . import qtall as qt4
"""Program to be run by embedding interface to run Veusz commands."""
@@ -57,6 +58,14 @@
self.ci.addCommand('SetAntiAliasing', self.cmdSetAntiAliasing)
self.ci.addCommand('_apiVersion', self.cmd_apiVersion)
+ setting.transient_settings['unsafe_mode'] = True
+
+ self.document.sigLog.connect(self.logEmitted)
+
+ def logEmitted(self, msg):
+ """Write anything logged to stderr."""
+ sys.stderr.write(msg + '\n')
+
def cmdClose(self):
"""Close()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/plugins/datasetplugin.py new/veusz-1.21.1/veusz/plugins/datasetplugin.py
--- old/veusz-1.21/veusz/plugins/datasetplugin.py 2014-04-27 15:02:31.000000000 +0200
+++ new/veusz-1.21.1/veusz/plugins/datasetplugin.py 2014-08-23 17:15:18.000000000 +0200
@@ -291,7 +291,9 @@
perr=ds.perr, nerr=ds.nerr)
elif ds.dimensions == 2:
return Dataset2D(name, ds.data,
- rangex=ds.xrange, rangey=ds.yrange)
+ xrange=ds.xrange, yrange=ds.yrange,
+ xedge=ds.xedge, yedge=ds.yedge,
+ xcent=ds.xcent, ycent=ds.ycent)
else:
raise RuntimeError("Invalid number of dimensions in dataset")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/plugins/votable.py new/veusz-1.21.1/veusz/plugins/votable.py
--- old/veusz-1.21/veusz/plugins/votable.py 2013-12-04 20:29:04.000000000 +0100
+++ new/veusz-1.21.1/veusz/plugins/votable.py 2014-08-23 17:15:18.000000000 +0200
@@ -23,7 +23,7 @@
try:
import astropy.version
- if astropy.version.version >= 0.2:
+ if [int(x) for x in astropy.version.version.split('.')] >= [0, 2]:
from astropy.io.votable.table import parse
else:
from astropy.io.vo.table import parse
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/setting/setting.py new/veusz-1.21.1/veusz/setting/setting.py
--- old/veusz-1.21/veusz/setting/setting.py 2014-04-27 15:02:31.000000000 +0200
+++ new/veusz-1.21.1/veusz/setting/setting.py 2014-08-23 17:15:18.000000000 +0200
@@ -1308,7 +1308,7 @@
self.val, datatype=self.datatype, dimensions=self.dimensions)
if ds:
# get numpy array of values
- return ds.data
+ return N.array(ds.data)
else:
# list of values
return N.array(self.val)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/setting/settingdb.py new/veusz-1.21.1/veusz/setting/settingdb.py
--- old/veusz-1.21/veusz/setting/settingdb.py 2014-04-27 15:02:31.000000000 +0200
+++ new/veusz-1.21.1/veusz/setting/settingdb.py 2014-08-23 17:15:18.000000000 +0200
@@ -21,6 +21,7 @@
from __future__ import division, print_function
import sys
+import numpy as N
from .. import qtall as qt4
def _(text, disambiguation=None, context="Preferences"):
@@ -210,7 +211,13 @@
def ui_floattostring(f):
"""Convert float to string with more precision."""
- if 1e-4 <= abs(f) <= 1e5 or f == 0:
+ if not N.isfinite(f):
+ if N.isnan(f):
+ return 'nan'
+ if f < 0:
+ return '-inf'
+ return 'inf'
+ elif 1e-4 <= abs(f) <= 1e5 or f == 0:
s = '%.14g' % f
# strip excess zeros to right
if s.find('.') >= 0:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/utils/pdf.py new/veusz-1.21.1/veusz/utils/pdf.py
--- old/veusz-1.21/veusz/utils/pdf.py 2013-11-09 11:23:50.000000000 +0100
+++ new/veusz-1.21.1/veusz/utils/pdf.py 2014-08-23 17:15:18.000000000 +0200
@@ -18,6 +18,7 @@
from __future__ import division
import re
+import math
from ..compat import crange
@@ -36,9 +37,10 @@
widthfactor = box[2] / pagewidth
newbox = ('/MediaBox [%i %i %i %i]' % (
0,
- int(box[3]-widthfactor*requiredheight),
- int(widthfactor*requiredwidth),
- int(box[3]))).encode('ascii')
+ int(math.floor(box[3]-widthfactor*requiredheight)),
+ int(math.ceil(widthfactor*requiredwidth)),
+ int(math.ceil(box[3]))
+ )).encode('ascii')
text = text[:m.start()] + newbox + text[m.end():]
return text
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/widgets/axis.py new/veusz-1.21.1/veusz/widgets/axis.py
--- old/veusz-1.21/veusz/widgets/axis.py 2014-04-27 15:02:31.000000000 +0200
+++ new/veusz-1.21.1/veusz/widgets/axis.py 2014-06-11 19:49:36.000000000 +0200
@@ -1000,6 +1000,10 @@
If the edge of the plot is within textheight then suppress text
"""
+
+ if outerbounds is None:
+ return False
+
s = self.settings
height = utils.FontMetrics( s.get('Label').makeQFont(painter),
painter.device()).height()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/widgets/colorbar.py new/veusz-1.21.1/veusz/widgets/colorbar.py
--- old/veusz-1.21/veusz/widgets/colorbar.py 2013-11-09 11:23:50.000000000 +0100
+++ new/veusz-1.21.1/veusz/widgets/colorbar.py 2014-06-11 19:48:53.000000000 +0200
@@ -243,7 +243,7 @@
painter.drawRect( routside )
# actually draw axis
- axis.Axis._axisDraw(self, bounds, parentposn, outerbounds, painter,
+ axis.Axis._axisDraw(self, bounds, parentposn, None, painter,
phelper)
# allow the factory to instantiate a colorbar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/widgets/key.py new/veusz-1.21.1/veusz/widgets/key.py
--- old/veusz-1.21/veusz/widgets/key.py 2013-11-09 11:23:50.000000000 +0100
+++ new/veusz-1.21.1/veusz/widgets/key.py 2014-06-11 19:42:38.000000000 +0200
@@ -238,6 +238,13 @@
maxval = 100,
formatting = True) )
+ s.add( setting.Bool(
+ 'symbolswap',
+ False,
+ descr=_('Put key symbol on right and text on left'),
+ usertext=_('Swap symbol'),
+ formatting=True) )
+
@classmethod
def allowedParentTypes(klass):
from . import graph
@@ -383,7 +390,7 @@
c.getKeyText(i)).getDimensions()
maxwidth = max(maxwidth, w)
lines = max(1, math.ceil(h/height))
-
+
totallines += lines
entries.append( (c, i, lines) )
@@ -451,6 +458,8 @@
textpen = s.get('Text').makeQPen()
+ swap = s.symbolswap
+
# plot dataset entries
for (plotter, num, xp, yp, lines) in layout:
xpos = x + xp*(maxwidth+2*height+symbolwidth)
@@ -463,18 +472,28 @@
keyoffset = (lines-1)*height/2.0
elif s.keyAlign == 'bottom':
keyoffset = (lines-1)*height
-
- plotter.drawKeySymbol(num, painter, xpos, ypos+keyoffset,
+
+ sx = xpos
+ if swap:
+ sx += maxwidth + height
+ plotter.drawKeySymbol(num, painter, sx, ypos+keyoffset,
symbolwidth, height)
painter.restore()
# write key text
if showtext:
painter.setPen(textpen)
+ if swap:
+ lx = xpos + maxwidth
+ alignx = 1
+ else:
+ lx = xpos + height + symbolwidth
+ alignx = -1
+
utils.Renderer(painter, font,
- xpos + height + symbolwidth, ypos,
+ lx, ypos,
plotter.getKeyText(num),
- -1, 1).render()
+ alignx, 1).render()
phelper.setControlGraph(
self, [ControlKey(self, parentposn, boxposn, boxdims, height)] )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/veusz-1.21/veusz/windows/treeeditwindow.py new/veusz-1.21.1/veusz/windows/treeeditwindow.py
--- old/veusz-1.21/veusz/windows/treeeditwindow.py 2014-04-27 15:02:31.000000000 +0200
+++ new/veusz-1.21.1/veusz/windows/treeeditwindow.py 2014-08-23 17:15:18.000000000 +0200
@@ -1160,6 +1160,10 @@
def _selectWidgetSiblings(self, w, wtype):
"""Select siblings of widget given with type."""
+
+ if w.parent is None:
+ return
+
for c in w.parent.children:
if c is not w and c.typename == wtype:
idx = self.treemodel.getWidgetIndex(c)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-pecan for openSUSE:Factory checked in at 2014-09-03 18:22:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pecan (Old)
and /work/SRC/openSUSE:Factory/.python-pecan.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pecan"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pecan/python-pecan.changes 2014-02-24 15:53:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-pecan.new/python-pecan.changes 2014-09-03 20:55:08.000000000 +0200
@@ -1,0 +2,42 @@
+Wed Aug 20 08:36:43 UTC 2014 - tbechtold(a)suse.com
+
+- Disable testsuite run during build. Upstream tarball doesn't contain
+ all needed files to run the testsuite.
+
+-------------------------------------------------------------------
+Thu Jul 24 11:28:41 UTC 2014 - dmueller(a)suse.com
+
+- update to 0.6.1:
+ * Fixed a bug which causes pecan to mistakenly return HTTP 204 for non-empty response bodies.
+ * Added support for disabling the pecan.request and pecan.response threadlocals at the WSGI
+ application level in favor of explicit reference passing. For more information, see
+ Context/Thread-Locals vs. Explicit Argument Passing.
+ * Added better support for hook composition via subclassing and mixins. For more
+ information, see Attaching Hooks.
+ * Added support for specifying custom request and response implementations at the WSGI
+ application level for people who want to extend the functionality provided by the base
+ classes in webob.
+ * Pecan controllers may now return an explicit webob.Response instance to short-circuit
+ Pecan’s template rendering and serialization.
+ * For generic methods that return HTTP 405, pecan now generates an Allow header to
+ communicate acceptable methods to the client.
+ * Fixed a bug in adherence to RFC2616: if an exposed method returns no response
+ body (or namespace), pecan will now enforce an HTTP 204 response (instead of HTTP 200).
+ * Fixed a bug in adherence to RFC2616: when pecan responds with HTTP 204 or HTTP 304,
+ the Content-Type header is automatically stripped (because these types of HTTP
+ responses do not contain body content).
+ * Fixed a bug: now when clients request JSON via an Accept header, webob HTTP
+ exceptions are serialized as JSON, not their native HTML representation.
+ * Fixed a bug that broke applications which specified default_renderer = json.
+ * This release adds formal support for pypy.
+ * Added colored request logging to the pecan serve command.
+ * Added a scaffold for easily generating a basic REST API.
+ * Added the ability to pass arbitrary keyword arguments to pecan.testing.load_test_app.
+ * Fixed a recursion-related bug in the error document middleware.
+ * Fixed a bug in the gunicorn_pecan command that caused threading.local data to
+ leak between eventlet/gevent green threads.
+ * Improved documentation through fixes and narrative tutorials for sample pecan applications.
+- add remove-logutils.diff: Remove dependency on logutils for newer distros,
+ its part of main python now
+
+-------------------------------------------------------------------
Old:
----
pecan-0.4.5.tar.gz
New:
----
pecan-0.6.1.tar.gz
remove-logutils.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pecan.spec ++++++
--- /var/tmp/diff_new_pack.I2mGJu/_old 2014-09-03 20:55:10.000000000 +0200
+++ /var/tmp/diff_new_pack.I2mGJu/_new 2014-09-03 20:55:10.000000000 +0200
@@ -17,13 +17,14 @@
Name: python-pecan
-Version: 0.4.5
+Version: 0.6.1
Release: 0
Summary: A WSGI object-dispatching web framework, designed to be lean and fast
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://github.com/dreamhost/pecan
Source: https://pypi.python.org/packages/source/p/pecan/pecan-%{version}.tar.gz
+Patch0: remove-logutils.diff
BuildRequires: python-devel
BuildRequires: python-setuptools
# Test requirements:
@@ -63,6 +64,7 @@
%prep
%setup -q -n pecan-%{version}
+%patch0
# Let's not depend on Kajiki, a Genshi clone. Genshi should be enough:
sed -i "/'Kajiki',/d" setup.py
@@ -72,10 +74,11 @@
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%if 0%{?suse_version} >= 1230
-%check
-python setup.py test
-%endif
+# disable testsuite for now - upstream tarball doesn't include all needed files
+#%if 0%{?suse_version} >= 1230
+#%check
+#python setup.py test
+#%endif
%files
%defattr(-,root,root,-)
++++++ pecan-0.4.5.tar.gz -> pecan-0.6.1.tar.gz ++++++
++++ 8404 lines of diff (skipped)
++++++ remove-logutils.diff ++++++
--- pecan.egg-info/requires.txt
+++ pecan.egg-info/requires.txt
@@ -2,5 +2,4 @@
Mako>=0.4.0
WebTest>=1.3.1
six
-logutils>=0.3
-singledispatch
\ No newline at end of file
+singledispatch
--- requirements.txt
+++ requirements.txt
@@ -2,4 +2,3 @@
Mako>=0.4.0
WebTest>=1.3.1
six
-logutils>=0.3
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-matplotlib for openSUSE:Factory checked in at 2014-09-03 18:22:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-matplotlib (Old)
and /work/SRC/openSUSE:Factory/.python-matplotlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-matplotlib"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-matplotlib/python-matplotlib.changes 2014-07-24 01:17:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-matplotlib.new/python-matplotlib.changes 2014-09-03 20:54:08.000000000 +0200
@@ -1,0 +2,102 @@
+Thu Aug 28 14:10:38 UTC 2014 - dmueller(a)suse.com
+
+- adjust python-tz buildrequires to match runtime requires (python-pytz)
+
+-------------------------------------------------------------------
+Wed Aug 27 10:08:07 UTC 2014 - toddrme2178(a)gmail.com
+
+- Add new python-cairocffi dependency. This is the recommended
+ dependency for the cairo backend upstream.
+- Split out the cairo backend into its own subpackage. It is no
+ longer tied to gtk, so people can use it on its own without
+ pulling in any gtk dependencies.
+- Fixed issues with qt. The qt5 backend is actually a generic
+ qt backend, which the qt4 backend depends on. So it needs to be
+ available for the qt4 backend to work at all. However, we need
+ to pull in the python-qt5 package to make it work, and that
+ package is only available for openSUSE > 13.1. So we need to
+ split the generic qt stuff, including the qt5 stuff, into a
+ package both the qt4 and qt5 backends can depend on, and then
+ create a stub qt5 package that just pulls in python-qt5
+- Reorganized some other backend packages based on backend changes
+
+-------------------------------------------------------------------
+Tue Aug 26 12:26:40 UTC 2014 - toddrme2178(a)gmail.com
+
+- Update to 1.4.0
+ * New colormap for red-green color blind users
+ * Documentation changes
+ - Phil Elson rewrote of the documentation and userguide for both
+ Legend and PathEffects.
+ * New plotting features
+ - Power-law normalization
+ - Fully customizable boxplots
+ - Support for datetime axes in 2d plots
+ - Support for additional spectrum types
+ - Support for detrending and windowing 2D arrays in mlab
+ - Support for strides in mlab
+ - Formatter for new-style formatting strings
+ - Consistent grid sizes in streamplots
+ - Get a list of all tick labels (major and minor)
+ - Separate horizontal/vertical axes padding support in ImageGrid
+ - Support for skewed transformations
+ - Support for specifying properties of wedge and text in pie
+ charts.
+ - Fixed the direction of errorbar upper/lower limits
+ - More consistent add-object API for Axes
+ - Violin Plots
+ - More `markevery` options to show only a subset of markers
+ - Added size related functions to specialized `Collections`
+ - Fixed the mouse coordinates giving the wrong theta value in
+ Polar graph
+ - Simple quiver plot for mplot3d toolkit
+ - polar-plot r-tick locations
+ * Date handling
+ - n-d array support for date conversion
+ * Configuration (rcParams)
+ - 'savefig.transparent' added
+ - 'axes.titleweight'
+ - 'axes.formatter.useoffset' added
+ * XDG compliance
+ - Matplotlib now looks for configuration files (both rcparams and
+ style) in XDG compliant locations.
+ * 'style' package added
+ - You can now easily switch between different styles using the
+ new 'style' package
+ * Backends
+ - Qt5 backend added
+ - Qt4 backend
+ + Rudolf Höfler changed the appearance of the subplottool.
+ + In the figure options dialog one can now choose to
+ (re-)generate a simple automatic legend.
+ + Interactive performance of the Qt4 backend has been
+ dramatically improved under windows.
+ + The mapping of key-signals from Qt to values matplotlib
+ understands was greatly improved (For both Qt4 and Qt5).
+ - Cairo backends
+ + The Cairo backends are now able to use the cairocffi
+ bindings, which are more actively maintained than the pycairo
+ bindings.
+ - Gtk3Agg backend
+ + The Gtk3Agg backend now works on Python 3.x, if the cairocffi
+ bindings are installed.
+ - PDF backend
+ + Added context manager for saving to multi-page PDFs.
+ * Text
+ - Text URLs supported by SVG backend
+ - Anchored sizebar font
+ * Sphinx extensions
+ - The context directive in the plot_directive Sphinx extension
+ can now accept an optional reset setting, which will cause the
+ context to be reset.
+ * Widgets
+ - Span Selector
+ * Added an option span_stays to SpanSelector which makes the
+ selector rectangle stay on the axes after you release the
+ mouse.
+ * GAE integration
+ - Matplotlib will now run on google app engine.
+- Added python-qt5 backend on openSUSE > 13.1
+- Spec file cleanups
+
+-------------------------------------------------------------------
Old:
----
matplotlib-1.3.1.tar.gz
New:
----
matplotlib-1.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-matplotlib.spec ++++++
--- /var/tmp/diff_new_pack.f1ty4Q/_old 2014-09-03 20:54:10.000000000 +0200
+++ /var/tmp/diff_new_pack.f1ty4Q/_new 2014-09-03 20:54:10.000000000 +0200
@@ -17,7 +17,7 @@
Name: python-matplotlib
-Version: 1.3.1
+Version: 1.4.0
Release: 0
Summary: Plotting Library for Python
License: SUSE-Matplotlib
@@ -37,6 +37,7 @@
BuildRequires: gtk2-devel
BuildRequires: libpng-devel
BuildRequires: poppler-tools
+BuildRequires: python-cairocffi
BuildRequires: python-gtk
BuildRequires: python-gtk-devel
BuildRequires: python-numpy-devel >= 1.2.1
@@ -64,11 +65,16 @@
Recommends: texlive-tex
%py_requires
%if 0%{?suse_version} > 1220
+BuildRequires: python-qt4
BuildRequires: python-qt4-devel
BuildRequires: texlive-dvipng
BuildRequires: texlive-sfmath
BuildRequires: texlive-tex
%endif
+%if 0%{?suse_version} > 1310
+BuildRequires: python-qt5
+BuildRequires: python-qt5-devel
+%endif
%if 0%{?suse_version} < 1220
BuildRequires: gnome-libs-devel
BuildRequires: python-wxGTK
@@ -88,9 +94,12 @@
## These packages are required to prevent that matplotlib installs it's
## own versions of the packages from the lib directory
BuildRequires: python-dateutil
-BuildRequires: python-tz
+BuildRequires: python-pytz
Requires: python-dateutil
Requires: python-pytz
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%endif
%description
matplotlib is a python 2D plotting library which produces publication
@@ -99,11 +108,23 @@
scripts, the python and ipython shell (ala matlab or mathematica), web
application servers, and six graphical user interface toolkits.
+%package cairo
+Summary: Cairo backend for %{name}
+License: SUSE-Matplotlib
+Group: Development/Libraries/Python
+Requires: %{name} = %{version}
+Requires: python-cairocffi
+
+%description cairo
+This package includes the non-interactive Cairo-based backend
+for the %{name} plotting package
+
%package gtk2
Summary: GTK2 backends for %{name}
License: BSD-2-Clause
Group: Development/Libraries/Python
Requires: %{name} = %{version}
+Requires: %{name}-cairo = %{version}
Requires: python-gtk
%description gtk2
@@ -115,6 +136,7 @@
License: BSD-2-Clause
Group: Development/Libraries/Python
Requires: %{name} = %{version}
+Requires: %{name}-cairo = %{version}
Requires: python-gobject
Requires: python-gobject-cairo
@@ -122,12 +144,23 @@
This package includes the GTK3-based gtk3, gtk3agg, and
gtk3cairo backends for the %{name} plotting package
-%if 0%{?suse_version} > 1220
+%package qt-shared
+Summary: Shared files for the Qt backends for %{name}
+License: BSD-2-Clause
+Group: Development/Libraries/Python
+Requires: %{name} = %{version}
+
+%description qt-shared
+This package includes files needed by both the Qt4-based pyqt4 and
+pyside backends and the Qt5-based pyqt5 backend for the %{name}
+plotting package
+
%package qt4
Summary: Qt4 backends for %{name}
License: BSD-2-Clause
Group: Development/Libraries/Python
Requires: %{name} = %{version}
+Requires: %{name}-qt-shared = %{version}
Requires: python-pyside
Requires: python-qt4
@@ -135,6 +168,18 @@
This package includes the Qt4-based pyqt4 and pyside backends
for the %{name} plotting package
+%package qt5
+Summary: Qt5 backend for %{name}
+License: BSD-2-Clause
+Group: Development/Libraries/Python
+Requires: %{name} = %{version}
+Requires: %{name}-qt-shared = %{version}
+Requires: python-qt5
+
+%description qt5
+This package includes the Qt5-based pyqt5 backend
+for the %{name} plotting package
+
%package designer
Summary: Qt Designer plugin for %{name}
License: MIT
@@ -147,7 +192,6 @@
plots as widget in PyQt4 GUIs using Qt Designer
This plugin comes from Python(x,y)
-%endif
%package tk
Summary: Tk backend for %{name}
@@ -208,72 +252,88 @@
%if 0%{?suse_version} > 1220
mkdir -p %{buildroot}%{_libdir}/qt4/plugins/designer/python/
install -vm 755 %{SOURCE2} %{buildroot}%{_libdir}/qt4/plugins/designer/python/
-install -vm 755 %{SOURCE3} %{buildroot}%{py_sitedir}/
+install -vm 755 %{SOURCE3} %{buildroot}%{python_sitearch}/
%endif
-%fdupes %{buildroot}%{py_sitedir}/matplotlib/tests/baseline_images/
+%fdupes %{buildroot}%{python_sitearch}/matplotlib/tests/baseline_images/
%files
%defattr(-,root,root,-)
-%doc README.rst LICENSE CHANGELOG PKG-INFO TODO CXX examples doc/users/license.rst
-%{py_sitedir}/matplotlib-%{version}_r0-py%{py_ver}.egg-info
-%{py_sitedir}/matplotlib-%{version}_r0-py%{py_ver}-nspkg.pth
-%{py_sitedir}/matplotlib/
-%{py_sitedir}/mpl_toolkits
-%exclude %{py_sitedir}/mpl_toolkits/gtktools.*
-%{py_sitedir}/pylab.py
-%{py_sitedir}/pylab.pyc
-%exclude %{py_sitedir}/matplotlib/backends/backend_cairo.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_macosx.*
-%exclude %{py_sitedir}/matplotlib/backends/windowing.*
-%exclude %{py_sitedir}/matplotlib/backends/_backend_gdk.so
-%exclude %{py_sitedir}/matplotlib/backends/_gtkagg.so
-%exclude %{py_sitedir}/matplotlib/backends/_tkagg.so
-%exclude %{py_sitedir}/matplotlib/backends/backend_cocoaagg.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_gdk.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_gtk.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_gtkagg.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_gtkcairo.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_gtk3.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_gtk3agg.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_gtk3cairo.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_qt4.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_qt4agg.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_tkagg.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_webagg.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_wx.*
-%exclude %{py_sitedir}/matplotlib/backends/backend_wxagg.*
-%exclude %{py_sitedir}/matplotlib/backends/qt4_compat.*
-%exclude %{py_sitedir}/matplotlib/backends/qt4_editor/
-%exclude %{py_sitedir}/matplotlib/backends/tkagg.*
-%exclude %{py_sitedir}/matplotlib/backends/web_backend/
+%doc README.rst LICENSE CHANGELOG PKG-INFO examples doc/users/license.rst
+%{python_sitearch}/matplotlib-%{version}_r0-py*.egg-info
+%{python_sitearch}/matplotlib-%{version}_r0-py*-nspkg.pth
+%{python_sitearch}/matplotlib/
+%{python_sitearch}/mpl_toolkits
+%{python_sitearch}/freetype2.so
+%{python_sitearch}/pylab.py*
+%exclude %{python_sitearch}/matplotlib/backends/_backend_gdk.so
+%exclude %{python_sitearch}/matplotlib/backends/_gtkagg.so
+%exclude %{python_sitearch}/matplotlib/backends/_tkagg.so
+%exclude %{python_sitearch}/matplotlib/backends/backend_cairo.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_cocoaagg.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_gdk.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_gtk.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_gtkagg.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_gtkcairo.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_gtk3.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_gtk3agg.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_gtk3cairo.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_qt4.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_qt4agg.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_qt5.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_qt5agg.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_webagg.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_webagg_core.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_wx.*
+%exclude %{python_sitearch}/matplotlib/backends/backend_wxagg.*
+%exclude %{python_sitearch}/matplotlib/backends/qt_compat.*
+%exclude %{python_sitearch}/matplotlib/backends/qt4_compat.*
+%exclude %{python_sitearch}/matplotlib/backends/tkagg.*
+%exclude %{python_sitearch}/matplotlib/backends/windowing.*
+%exclude %{python_sitearch}/matplotlib/backends/qt_editor/
+%exclude %{python_sitearch}/matplotlib/backends/web_backend/
+%exclude %{python_sitearch}/mpl_toolkits/gtktools.*
+
+%files cairo
+%defattr(-,root,root,-)
+%{python_sitearch}/matplotlib/backends/backend_cairo.*
%files gtk2
%defattr(-,root,root,-)
-%{py_sitedir}/matplotlib/backends/_backend_gdk.so
-%{py_sitedir}/matplotlib/backends/_gtkagg.so
-%{py_sitedir}/matplotlib/backends/backend_cairo.*
-%{py_sitedir}/matplotlib/backends/backend_gdk.*
-%{py_sitedir}/matplotlib/backends/backend_gtk.*
-%{py_sitedir}/matplotlib/backends/backend_gtkagg.*
-%{py_sitedir}/matplotlib/backends/backend_gtkcairo.*
-%{py_sitedir}/mpl_toolkits/gtktools.py*
+%{python_sitearch}/matplotlib/backends/_backend_gdk.so
+%{python_sitearch}/matplotlib/backends/_gtkagg.so
+%{python_sitearch}/matplotlib/backends/backend_gdk.*
+%{python_sitearch}/matplotlib/backends/backend_gtk.*
+%{python_sitearch}/matplotlib/backends/backend_gtkagg.*
+%{python_sitearch}/matplotlib/backends/backend_gtkcairo.*
+%{python_sitearch}/mpl_toolkits/gtktools.py*
%if 0%{?suse_version} > 1110
%files gtk3
%defattr(-,root,root,-)
-%{py_sitedir}/matplotlib/backends/backend_gtk3.*
-%{py_sitedir}/matplotlib/backends/backend_gtk3agg.*
-%{py_sitedir}/matplotlib/backends/backend_gtk3cairo.*
+%{python_sitearch}/matplotlib/backends/backend_gtk3.*
+%{python_sitearch}/matplotlib/backends/backend_gtk3agg.*
+%{python_sitearch}/matplotlib/backends/backend_gtk3cairo.*
%endif
%if 0%{?suse_version} > 1220
+%files qt-shared
+# IMPORTANT: the qt4 backend makes use of the qt5 backend,
+# which is actually a generic qt backend.
+# So we need to package all the qt5 stuff in this generic
+# package, and provide a stub package which pulls in the
+# python-qt5 dependency.
+%{python_sitearch}/matplotlib/backends/backend_qt5.*
+%{python_sitearch}/matplotlib/backends/backend_qt5agg.*
+%{python_sitearch}/matplotlib/backends/qt_compat.*
+%{python_sitearch}/matplotlib/backends/qt4_compat.*
+%{python_sitearch}/matplotlib/backends/qt_editor/
+
%files qt4
%defattr(-,root,root,-)
-%{py_sitedir}/matplotlib/backends/backend_qt4.*
-%{py_sitedir}/matplotlib/backends/backend_qt4agg.*
-%{py_sitedir}/matplotlib/backends/qt4_compat.*
-%{py_sitedir}/matplotlib/backends/qt4_editor/
+%{python_sitearch}/matplotlib/backends/backend_qt4.*
+%{python_sitearch}/matplotlib/backends/backend_qt4agg.*
%files designer
%defattr(-,root,root,-)
@@ -282,24 +342,36 @@
%dir %{_libdir}/qt4/plugins/designer/
%dir %{_libdir}/qt4/plugins/designer/python/
%{_libdir}/qt4/plugins/designer/python/matplotlibplugin.py
-%{py_sitedir}/matplotlibwidget.py
+%{python_sitearch}/matplotlibwidget.py
+
+%if 0%{?suse_version} > 1310
+%files qt5
+%defattr(-,root,root,-)
+# IMPORTANT: the qt4 backend makes use of the qt5 backend,
+# which is actually a generic qt backend.
+# So we need to package all the qt5 stuff in a generic
+# package, and provide this stub package which pulls in the
+# python-qt5 dependency.
+%doc README.rst
+%endif
%endif
%files tk
%defattr(-,root,root,-)
-%{py_sitedir}/matplotlib/backends/windowing.*
-%{py_sitedir}/matplotlib/backends/backend_tkagg.*
-%{py_sitedir}/matplotlib/backends/tkagg.*
-%{py_sitedir}/matplotlib/backends/_tkagg.so
+%{python_sitearch}/matplotlib/backends/windowing.*
+%{python_sitearch}/matplotlib/backends/backend_tkagg.*
+%{python_sitearch}/matplotlib/backends/tkagg.*
+%{python_sitearch}/matplotlib/backends/_tkagg.so
%files web
%defattr(-,root,root,-)
-%{py_sitedir}/matplotlib/backends/backend_webagg.*
-%{py_sitedir}/matplotlib/backends/web_backend/
+%{python_sitearch}/matplotlib/backends/backend_webagg.*
+%{python_sitearch}/matplotlib/backends/backend_webagg_core.*
+%{python_sitearch}/matplotlib/backends/web_backend/
%files wx
%defattr(-,root,root,-)
-%{py_sitedir}/matplotlib/backends/backend_wx.*
-%{py_sitedir}/matplotlib/backends/backend_wxagg.*
+%{python_sitearch}/matplotlib/backends/backend_wx.*
+%{python_sitearch}/matplotlib/backends/backend_wxagg.*
%changelog
++++++ matplotlib-1.3.1.tar.gz -> matplotlib-1.4.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-matplotlib/matplotlib-1.3.1.tar.gz /work/SRC/openSUSE:Factory/.python-matplotlib.new/matplotlib-1.4.0.tar.gz differ: char 5, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-cairocffi for openSUSE:Factory checked in at 2014-09-03 18:22:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
and /work/SRC/openSUSE:Factory/.python-cairocffi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cairocffi"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes 2014-08-27 07:47:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-cairocffi.new/python-cairocffi.changes 2014-09-03 20:51:12.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Aug 27 10:06:19 UTC 2014 - toddrme2178(a)gmail.com
+
+- Split out optional gdk-pixbuf module.
+ This avoids a lot of gtk dependencies for the main package, and
+ is the recommended approach by upstream.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cairocffi.spec ++++++
--- /var/tmp/diff_new_pack.xioIQu/_old 2014-09-03 20:51:14.000000000 +0200
+++ /var/tmp/diff_new_pack.xioIQu/_new 2014-09-03 20:51:14.000000000 +0200
@@ -31,7 +31,6 @@
BuildRequires: typelib(GdkPixbuf)
Requires: cairo-tools
Requires: python-cffi >= 0.6
-Requires: typelib(GdkPixbuf)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -45,6 +44,19 @@
Cairo is a 2D vector graphics library with support for multiple backends
including image buffers, PNG, PostScript, PDF, and SVG file output.
+%package pixbuf
+Summary: Python cairo bindings based on cffi - pixbuf image loader
+Requires: typelib(GdkPixbuf)
+Requires: %{name} = %{version}
+
+%description pixbuf
+cairocffi is a CFFI-based drop-in replacement for Pycairo,
+a set of Python bindings and object-oriented API for cairo.
+Cairo is a 2D vector graphics library with support for multiple backends
+including image buffers, PNG, PostScript, PDF, and SVG file output.
+
+This package provides the optional gdk-pixbuf image loader module.
+
%prep
%setup -q -n cairocffi-%{version}
@@ -57,6 +69,14 @@
%files
%defattr(-,root,root,-)
%doc LICENSE CHANGES README.rst
-%{python_sitelib}/*
+%{python_sitelib}/cairocffi-%{version}-py*.egg-info
+%{python_sitelib}/cairocffi/
+%exclude %{python_sitelib}/cairocffi/test_pixbuf.py*
+%exclude %{python_sitelib}/cairocffi/pixbuf.py*
+
+%files pixbuf
+%defattr(-,root,root,-)
+%{python_sitelib}/cairocffi/pixbuf.py*
+%{python_sitelib}/cairocffi/test_pixbuf.py*
%changelog
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package pumpa for openSUSE:Factory checked in at 2014-09-03 18:23:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pumpa (Old)
and /work/SRC/openSUSE:Factory/.pumpa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pumpa"
Changes:
--------
--- /work/SRC/openSUSE:Factory/pumpa/pumpa.changes 2014-06-10 14:38:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pumpa.new/pumpa.changes 2014-09-03 20:48:59.000000000 +0200
@@ -1,0 +2,15 @@
+Mon Aug 25 17:05:31 UTC 2014 - sor.alexei(a)meowr.ru
+
+- Update to 0.9
+ * Support for editing posts and comments (in HTML only)
+ * Better display of deleted posts
+ * Be better about showing comments in temporal order
+ * Complete @-tagging with display name instead of nick name
+ * More aggressive about reloading inbox to better get missing replies
+ * Fixed UTF-8 bug introduced in v0.8.4
+ * Fixed bug where image upload consistently fails after an aborted upload
+ * Fixed download manager memory leaks
+ * Fixed bug where copy by Ctrl-C didn't work in text widgets
+ * Various minor bug fixes
+
+-------------------------------------------------------------------
Old:
----
pumpa-0.8.4.tar.gz
New:
----
pumpa-0.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pumpa.spec ++++++
--- /var/tmp/diff_new_pack.wrwuM6/_old 2014-09-03 20:49:00.000000000 +0200
+++ /var/tmp/diff_new_pack.wrwuM6/_new 2014-09-03 20:49:00.000000000 +0200
@@ -17,17 +17,18 @@
Name: pumpa
-Version: 0.8.4
+Version: 0.9
Release: 0
Summary: A simple pump.io client written in C++/Qt
License: GPL-3.0+
Group: System/GUI
-Url: http://saz.im/software/pumpa.html
+Url: https://pumpa.branchable.com/
Source: %{name}-%{version}.tar.gz
BuildRequires: aspell-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
+BuildRequires: libtidy-0_99-0-devel
BuildRequires: pkg-config
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Core)
@@ -47,21 +48,20 @@
%build
%{_libqt5_bindir}/qmake -makefile %{name}.pro \
QMAKE_CFLAGS="%{optflags}" \
- QMAKE_CXXFLAGS="%{optflags}"
+ QMAKE_CXXFLAGS="%{optflags}" \
+ PREFIX=%{_prefix}
make %{?_smp_mflags}
%install
-make install
+make INSTALL_ROOT=%{buildroot} install
mkdir -p %{buildroot}%{_datadir}/%{name}/images/ %{buildroot}%{_datadir}/%{name}/translations/
-install -Dm 0644 images/%{name}.png %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
-install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name}
-install -Dm 0644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
+install -m 0644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
install -m 0644 images/* %{buildroot}%{_datadir}/%{name}/images/
install -m 0644 translations/*.qm %{buildroot}%{_datadir}/%{name}/translations/
%suse_update_desktop_file -G "pump.io client" -r %{name} Network InstantMessaging
-fdupes %{buildroot}
+fdupes -s %{buildroot}
%find_lang %{name} --with-qt
%files
++++++ pumpa-0.8.4.tar.gz -> pumpa-0.9.tar.gz ++++++
++++ 10059 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package proftpd for openSUSE:Factory checked in at 2014-09-03 18:23:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/proftpd (Old)
and /work/SRC/openSUSE:Factory/.proftpd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "proftpd"
Changes:
--------
--- /work/SRC/openSUSE:Factory/proftpd/proftpd.changes 2014-03-26 16:41:45.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.proftpd.new/proftpd.changes 2014-09-03 20:48:29.000000000 +0200
@@ -1,0 +2,25 @@
+Mon Sep 1 22:04:02 UTC 2014 - andreas.stieger(a)gmx.de
+
+- ProFTPD 1.3.5
+ * Added support for SHA-256, SHA-512 password hashes to the ftpasswd tool
+ * New Modules
+ mod_geoip, mod_log_forensic, mod_rlimit, mod_snmp, mod_dnsbl
+ * mod_sftp now supports ECC, ECDSA, ECDH
+ * Improved FIPS support in mod_sftp.
+ * mod_sftp module now honors the MaxStoreFileSize directive.
+ * Many new and changed configuration directives
+- update proftpd-no_BuildDate.patch
+
+-------------------------------------------------------------------
+Mon Sep 1 19:00:57 UTC 2014 - andreas.stieger(a)gmx.de
+
+- proftpd 1.3.4e:
+ Multiple other backported fix from the 1.3.5 branch.
+ See http://www.proftpd.org/docs/NEWS-1.3.4e
+- The fix for the mod_sftp/mod_sftp_pam memory allocation
+ (CVE-2013-4359) contained in this release was previously patched
+ into the package.
+- adjust proftpd-no_BuildDate.patch for context changes
+- remove proftpd-sftp-kbdint-max-responses-bug3973.patch, upstream
+
+-------------------------------------------------------------------
Old:
----
proftpd-1.3.4d.tar.gz
proftpd-1.3.4d.tar.gz.asc
proftpd-sftp-kbdint-max-responses-bug3973.patch
New:
----
proftpd-1.3.5.tar.gz
proftpd-1.3.5.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ proftpd.spec ++++++
--- /var/tmp/diff_new_pack.by2cy6/_old 2014-09-03 20:48:32.000000000 +0200
+++ /var/tmp/diff_new_pack.by2cy6/_new 2014-09-03 20:48:32.000000000 +0200
@@ -22,7 +22,7 @@
Group: Productivity/Networking/Ftp/Servers
# Please save your time and do not update to "rc" versions.
# We only accept updates for "STABLE" Versions
-Version: 1.3.4d
+Version: 1.3.5
Release: 0
Url: http://www.proftpd.org/
Source0: ftp://ftp.proftpd.org/distrib/source/%{name}-%{version}.tar.gz
@@ -42,14 +42,13 @@
Patch103: %{name}-strip.patch
#PATCH-FIX-openSUSE: file-contains-date-and-time
Patch104: %{name}-no_BuildDate.patch
-# PATCH-FIX-upstream: sftp-kbdint-max-responses-bug3973
-Patch105: %{name}-sftp-kbdint-max-responses-bug3973.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gpg-offline
BuildRequires: krb5-devel
BuildRequires: libacl-devel
BuildRequires: libattr-devel
#BuildRequires: libmemcached-devel
+BuildRequires: libGeoIP-devel
BuildRequires: mysql-devel
BuildRequires: ncurses-devel
BuildRequires: openldap2-devel
@@ -142,8 +141,7 @@
%patch101
%patch102
%patch103
-%patch104
-%patch105
+%patch104 -p1
%build
rm contrib/mod_wrap.c
@@ -260,7 +258,7 @@
%files -f %{name}.lang
%endif
%defattr(-,root,root,-)
-%doc COPYING CREDITS ChangeLog INSTALL NEWS README* RELEASE_NOTES
+%doc COPYING CREDITS ChangeLog NEWS README* RELEASE_NOTES
%doc contrib/README.*
#%doc contrib/xferstats.holger-preiss*
#%doc contrib/ftpasswd contrib/ftpquota
@@ -270,6 +268,7 @@
%config(noreplace) %attr(0644,root,ftp) %{_sysconfdir}/%{name}/auth/passwd
%dir %attr(0755,root,root) %{_sysconfdir}/%{name}/conf.d
%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/%{name}/%{name}.conf
+%{_sysconfdir}/%{name}/PROFTPD-MIB.txt
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
%config(noreplace) %{_sysconfdir}/xinetd.d/%{name}
++++++ proftpd-1.3.4d.tar.gz -> proftpd-1.3.5.tar.gz ++++++
/work/SRC/openSUSE:Factory/proftpd/proftpd-1.3.4d.tar.gz /work/SRC/openSUSE:Factory/.proftpd.new/proftpd-1.3.5.tar.gz differ: char 5, line 1
++++++ proftpd-no_BuildDate.patch ++++++
--- /var/tmp/diff_new_pack.by2cy6/_old 2014-09-03 20:48:32.000000000 +0200
+++ /var/tmp/diff_new_pack.by2cy6/_new 2014-09-03 20:48:32.000000000 +0200
@@ -1,38 +1,14 @@
-Index: src/main.c
+---
+ Makefile.in | 14 ++++++--------
+ contrib/mod_snmp/db.c | 2 +-
+ include/version.h | 2 --
+ src/main.c | 6 ++----
+ 4 files changed, 9 insertions(+), 15 deletions(-)
+
+Index: proftpd-1.3.5/Makefile.in
===================================================================
---- src/main.c.orig
-+++ src/main.c
-@@ -2703,8 +2703,8 @@ static void standalone_main(void) {
-
- init_bindings();
-
-- pr_log_pri(PR_LOG_NOTICE, "ProFTPD %s (built %s) standalone mode STARTUP",
-- PROFTPD_VERSION_TEXT " " PR_STATUS, BUILD_STAMP);
-+ pr_log_pri(PR_LOG_NOTICE, "ProFTPD %s standalone mode STARTUP",
-+ PROFTPD_VERSION_TEXT " " PR_STATUS);
-
- pr_pidfile_write();
- daemon_loop();
-@@ -2759,7 +2759,6 @@ static void show_settings(void) {
- printf("%s", " Platform: " PR_PLATFORM " [unknown]\n");
- #endif /* !HAVE_UNAME */
-
-- printf("%s", " Built: " BUILD_STAMP "\n");
- printf("%s", " Built With:\n configure " PR_BUILD_OPTS "\n\n");
-
- printf("%s", " CFLAGS: " PR_BUILD_CFLAGS "\n");
-@@ -3271,7 +3270,6 @@ int main(int argc, char *argv[], char **
-
- printf("ProFTPD Version: %s", PROFTPD_VERSION_TEXT " " PR_STATUS "\n");
- printf(" Scoreboard Version: %08x\n", PR_SCOREBOARD_VERSION);
-- printf(" Built: %s\n\n", BUILD_STAMP);
-
- modules_list(PR_MODULES_LIST_FL_SHOW_VERSION);
- exit(0);
-Index: Makefile.in
-===================================================================
---- Makefile.in.orig
-+++ Makefile.in
+--- proftpd-1.3.5.orig/Makefile.in 2012-10-02 18:10:23.000000000 +0100
++++ proftpd-1.3.5/Makefile.in 2014-09-01 20:12:57.000000000 +0100
@@ -24,28 +24,26 @@ BUILD_BIN=proftpd$(EXEEXT) ftpcount$(EXE
all: $(BUILD_BIN)
@@ -68,13 +44,57 @@
@dirs="$(DIRS)"; \
for dir in $$dirs; do \
if [ -d "$$dir" ]; then cd $$dir/ && $(MAKE); fi; \
-Index: include/version.h
+Index: proftpd-1.3.5/contrib/mod_snmp/db.c
+===================================================================
+--- proftpd-1.3.5.orig/contrib/mod_snmp/db.c 2014-01-27 17:32:16.000000000 +0000
++++ proftpd-1.3.5/contrib/mod_snmp/db.c 2014-09-01 23:08:18.000000000 +0100
+@@ -1122,7 +1122,7 @@ int snmp_db_get_value(pool *p, unsigned
+ return 0;
+
+ case SNMP_DB_DAEMON_F_VERSION:
+- *str_value = "ProFTPD Version " PROFTPD_VERSION_TEXT " (built at " BUILD_STAMP ")";
++ *str_value = "ProFTPD Version " PROFTPD_VERSION_TEXT;
+ *str_valuelen = strlen(*str_value);
+
+ pr_trace_msg(trace_channel, 19,
+Index: proftpd-1.3.5/include/version.h
===================================================================
---- include/version.h.orig
-+++ include/version.h
+--- proftpd-1.3.5.orig/include/version.h 2014-05-15 16:53:13.000000000 +0100
++++ proftpd-1.3.5/include/version.h 2014-09-01 20:12:57.000000000 +0100
@@ -1,5 +1,3 @@
-#include "buildstamp.h"
-
/* Application version (in various forms) */
- #define PROFTPD_VERSION_NUMBER 0x0001030408
- #define PROFTPD_VERSION_TEXT "1.3.4d"
+ #define PROFTPD_VERSION_NUMBER 0x0001030505
+ #define PROFTPD_VERSION_TEXT "1.3.5"
+Index: proftpd-1.3.5/src/main.c
+===================================================================
+--- proftpd-1.3.5.orig/src/main.c 2014-01-25 16:34:09.000000000 +0000
++++ proftpd-1.3.5/src/main.c 2014-09-01 20:12:57.000000000 +0100
+@@ -2382,8 +2382,8 @@ static void standalone_main(void) {
+
+ init_bindings();
+
+- pr_log_pri(PR_LOG_NOTICE, "ProFTPD %s (built %s) standalone mode STARTUP",
+- PROFTPD_VERSION_TEXT " " PR_STATUS, BUILD_STAMP);
++ pr_log_pri(PR_LOG_NOTICE, "ProFTPD %s standalone mode STARTUP",
++ PROFTPD_VERSION_TEXT " " PR_STATUS);
+
+ pr_pidfile_write();
+ daemon_loop();
+@@ -2438,7 +2438,6 @@ static void show_settings(void) {
+ printf("%s", " Platform: " PR_PLATFORM " [unknown]\n");
+ #endif /* !HAVE_UNAME */
+
+- printf("%s", " Built: " BUILD_STAMP "\n");
+ printf("%s", " Built With:\n configure " PR_BUILD_OPTS "\n\n");
+
+ printf("%s", " CFLAGS: " PR_BUILD_CFLAGS "\n");
+@@ -2956,7 +2955,6 @@ int main(int argc, char *argv[], char **
+
+ printf("ProFTPD Version: %s", PROFTPD_VERSION_TEXT " " PR_STATUS "\n");
+ printf(" Scoreboard Version: %08x\n", PR_SCOREBOARD_VERSION);
+- printf(" Built: %s\n\n", BUILD_STAMP);
+
+ modules_list(PR_MODULES_LIST_FL_SHOW_VERSION);
+ exit(0);
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package phpMyAdmin for openSUSE:Factory checked in at 2014-09-03 18:22:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/phpMyAdmin (Old)
and /work/SRC/openSUSE:Factory/.phpMyAdmin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "phpMyAdmin"
Changes:
--------
--- /work/SRC/openSUSE:Factory/phpMyAdmin/phpMyAdmin.changes 2014-08-20 17:52:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.phpMyAdmin.new/phpMyAdmin.changes 2014-09-03 20:46:27.000000000 +0200
@@ -1,0 +2,27 @@
+Sun Aug 31 21:52:38 UTC 2014 - ecsos(a)schirra.net
+
+- update to 4.2.8 (2014-08-31)
+ - sf#4516 Odd export behavior
+ - sf#4519 Uncaught TypeError: Cannot read property 'success'
+ of null
+ - sf#4520 sql.js: cannot read property
+ - sf#4521 Initially allowed chart types do not match selected
+ data
+ - sf#4518 Export to SQL: CREATE TABLE option AUTO_INCREMENT
+ ignored
+ - sf#4522 Duplicate column names while assigning index
+ - sf#4487 Export of partitioned table does not import
+ - fix bug server_privileges.js: cannot read property
+ - sf#4527 Importing ODS files with column names having trailing
+ spaces fails
+ - sf#4413 Navigation Error in Nav Tree for Search Results Past
+ the First Page
+ - fix bug functions.js: Cannot read property 'replace' of undefined
+
+-------------------------------------------------------------------
+Fri Aug 29 14:58:31 UTC 2014 - chris(a)computersalat.de
+
+- fix for bnc#894107
+ * fix post/postun for systemd
+
+-------------------------------------------------------------------
Old:
----
phpMyAdmin-4.2.7.1-all-languages.tar.bz2
New:
----
phpMyAdmin-4.2.8-all-languages.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ phpMyAdmin.spec ++++++
--- /var/tmp/diff_new_pack.Ik5Pxh/_old 2014-09-03 20:46:30.000000000 +0200
+++ /var/tmp/diff_new_pack.Ik5Pxh/_new 2014-09-03 20:46:30.000000000 +0200
@@ -31,10 +31,14 @@
%define ap_grp nogroup
%endif
+%if 0%{?suse_version} >= 1210
+%define has_systemd 1
+%endif
+
Summary: Administration of MySQL over the web
License: GPL-2.0+
Group: Productivity/Networking/Web/Frontends
-Version: 4.2.7.1
+Version: 4.2.8
Release: 0
Url: http://www.phpMyAdmin.net
Source0: http://sourceforge.net/projects/phpmyadmin/files/%{name}-%{version}-all-lan…
@@ -151,10 +155,18 @@
# set PmaAbsoluteUri ### generate blowfish secret
%{__sed} -i -e "s,@FQDN@,$(cat /etc/HOSTNAME)," \
-e "s/\\\$cfg\['blowfish_secret'\] = ''/\$cfg['blowfish_secret'] = '`pwgen -s -1 46`'/" %{pma_config}
+%if 0%{?has_systemd}
+%service_add_post apache2.service
+%else
%restart_on_update apache2
+%endif
%postun
+%if 0%{?has_systemd}
+%service_del_postun apache2.service
+%else
%restart_on_update apache2
+%endif
%clean
%{__rm} -rf $RPM_BUILD_ROOT
++++++ phpMyAdmin-4.2.7.1-all-languages.tar.bz2 -> phpMyAdmin-4.2.8-all-languages.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/phpMyAdmin/phpMyAdmin-4.2.7.1-all-languages.tar.bz2 /work/SRC/openSUSE:Factory/.phpMyAdmin.new/phpMyAdmin-4.2.8-all-languages.tar.bz2 differ: char 11, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package p11-kit for openSUSE:Factory checked in at 2014-09-03 18:21:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/p11-kit (Old)
and /work/SRC/openSUSE:Factory/.p11-kit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "p11-kit"
Changes:
--------
--- /work/SRC/openSUSE:Factory/p11-kit/p11-kit.changes 2014-05-27 07:09:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.p11-kit.new/p11-kit.changes 2014-09-03 20:29:40.000000000 +0200
@@ -1,0 +2,17 @@
+Fri Aug 29 06:47:50 UTC 2014 - lnussel(a)suse.de
+
+- new version 0.20.3
+ * Fix problems reinitializing managed modules after fork
+ * Fix bad bookeeping when fail initializing one of the modules
+ * Fix case where module would be unloaded while in use [#74919]
+ * Remove assertions when module used before initialized [#74919]
+ * Fix handling of mmap failure and mapping empty files [#74773]
+ * Stable p11_kit_be_quiet() and p11_kit_be_loud() functions
+ * Require automake 1.12 or later
+ * Build fixes for Windows [#76594 #74149]
+- apply patches to avoid errors from certificates with invalid public key
+ (fdo#82328, bnc#890908,
+ trust-Dont-use-invalid-public-keys-for-looking-up-.patch,
+ trust-Print-label-of-certificate-when-complaining-.patch)
+
+-------------------------------------------------------------------
Old:
----
p11-kit-0.20.2.tar.gz
p11-kit-0.20.2.tar.gz.sig
New:
----
p11-kit-0.20.3.tar.gz
p11-kit-0.20.3.tar.gz.sig
p11-kit.keyring
trust-Dont-use-invalid-public-keys-for-looking-up-.patch
trust-Print-label-of-certificate-when-complaining-.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ p11-kit.spec ++++++
--- /var/tmp/diff_new_pack.tUs1UI/_old 2014-09-03 20:29:42.000000000 +0200
+++ /var/tmp/diff_new_pack.tUs1UI/_new 2014-09-03 20:29:42.000000000 +0200
@@ -22,7 +22,7 @@
%define trustdir_static %{pkidir_static}/trust
Name: p11-kit
-Version: 0.20.2
+Version: 0.20.3
Release: 0
Summary: Library to work with PKCS#11 modules
License: BSD-3-Clause
@@ -30,10 +30,17 @@
Url: http://p11-glue.freedesktop.org/p11-kit.html
Source0: http://p11-glue.freedesktop.org/releases/%{name}-%{version}.tar.gz
Source1: http://p11-glue.freedesktop.org/releases/%{name}-%{version}.tar.gz.sig
+Source98: p11-kit.keyring
Source99: baselibs.conf
# patch proposed upstream. If it gets rejected, need to implement
# this in ca-certificates.
Patch0: 0001-trust-allow-to-also-add-openssl-style-hashes-to-pem-d.diff
+# PATCH-FIX-OPENSUSE
+# trust-Print-label-of-certificate-when-complaining-.patch bnc#890908 lnussel(a)suse.de
+Patch1: trust-Print-label-of-certificate-when-complaining-.patch
+# PATCH-FIX-OPENSUSE
+# trust-Dont-use-invalid-public-keys-for-looking-up-.patch bnc#890908 lnussel(a)suse.de
+Patch2: trust-Dont-use-invalid-public-keys-for-looking-up-.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@@ -93,6 +100,8 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
# just because of patch0
++++++ p11-kit-0.20.2.tar.gz -> p11-kit-0.20.3.tar.gz ++++++
++++ 66676 lines of diff (skipped)
++++++ trust-Dont-use-invalid-public-keys-for-looking-up-.patch ++++++
From 244e885d3e9aae7f7b286f1115a220eb16fa0530 Mon Sep 17 00:00:00 2001
From: Stef Walter <stefw(a)redhat.com>
Date: Fri, 8 Aug 2014 08:47:54 +0200
Subject: [PATCH] trust: Don't use invalid public keys for looking up stapled
extensions
https://bugs.freedesktop.org/show_bug.cgi?id=82328
---
trust/builder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trust/builder.c b/trust/builder.c
index f7ea86a..fd7a662 100644
--- a/trust/builder.c
+++ b/trust/builder.c
@@ -125,7 +125,7 @@ lookup_extension (p11_builder *builder,
{ CKA_INVALID },
};
- if (public_key == NULL)
+ if (public_key == NULL || public_key->type == CKA_INVALID)
public_key = p11_attrs_find_valid (cert, CKA_X_PUBLIC_KEY_INFO);
/* Look for a stapled certificate extension */
--
1.9.3++++++ trust-Print-label-of-certificate-when-complaining-.patch ++++++
From 70228770eb96e7121e12632a85e603727ed42431 Mon Sep 17 00:00:00 2001
From: Stef Walter <stefw(a)redhat.com>
Date: Fri, 8 Aug 2014 08:47:23 +0200
Subject: [PATCH] trust: Print label of certificate when complaining about
basic constraints
https://bugs.freedesktop.org/show_bug.cgi?id=82328
---
trust/builder.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/trust/builder.c b/trust/builder.c
index 18c09ad..f7ea86a 100644
--- a/trust/builder.c
+++ b/trust/builder.c
@@ -551,6 +551,7 @@ calc_certificate_category (p11_builder *builder,
CK_ATTRIBUTE *public_key,
CK_ULONG *category)
{
+ CK_ATTRIBUTE *label;
unsigned char *ext;
size_t ext_len;
bool is_ca = 0;
@@ -570,7 +571,10 @@ calc_certificate_category (p11_builder *builder,
ret = p11_x509_parse_basic_constraints (builder->asn1_defs, ext, ext_len, &is_ca);
free (ext);
if (!ret) {
- p11_message ("invalid basic constraints certificate extension");
+ label = p11_attrs_find_valid (cert, CKA_LABEL);
+ p11_message ("%.*s: invalid basic constraints certificate extension",
+ label ? (int)label->ulValueLen : 7,
+ label ? (char *)label->pValue : "unknown");
return false;
}
--
1.9.3--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package openCryptoki for openSUSE:Factory checked in at 2014-09-03 18:23:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openCryptoki (Old)
and /work/SRC/openSUSE:Factory/.openCryptoki.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openCryptoki"
Changes:
--------
--- /work/SRC/openSUSE:Factory/openCryptoki/openCryptoki.changes 2014-02-11 11:59:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.openCryptoki.new/openCryptoki.changes 2014-09-03 20:28:23.000000000 +0200
@@ -1,0 +2,81 @@
+Fri Aug 15 02:14:21 UTC 2014 - sfalken(a)opensuse.org
+
+- Specfile Cleanup, Added directory macros in appropriate places
+
+-------------------------------------------------------------------
+Thu Jun 26 06:55:03 UTC 2014 - jjolly(a)suse.com
+
+- Several package changes as per bnc#880217
+ - Added openCryptoki-tmp.conf for lock directory management
+ - Added 'lite' token support
+ - Changed from init.d daemon to systemd service
+ - Updated macros in %pre %post %preun and %postun sections
+ - Added missing icsf and ep11tok directories to %files section
+ ocki-3.1_01_ep11_makefile.patch
+ ocki-3.1_02_ep11_m_init.patch
+
+- Patches added:
+ ocki-3.1-fix-libica-link.patch
+ ocki-3.1_03_ock_obj_mgr.patch
+ ocki-3.1_04_ep11_opaque2blob_error_handl.patch
+ ocki-3.1_05_ep11_readme_update.patch
+ ocki-3.1_06_0001-print_mechanism-ignored-bad-returncodes-from-the-cal.patch
+ ocki-3.1_06_0002-Fix-failure-when-confname-is-not-given-use-default-e.patch
+ ocki-3.1_06_0003-Configure-was-checking-for-the-ep11-lib-and-the-m_in.patch
+ ocki-3.1_06_0004-The-asm-zcrypt.h-header-file-uses-some-std-int-types.patch
+ ocki-3.1_06_0005-Small-reworks.patch
+ ocki-3.1_06_0006-The-31-bit-build-on-s390-showed-an-build-error-at-in.patch
+ ocki-3.1_06_0007-ep11-is-not-building-because-not-setting-with_zcrypt.patch
+
+-------------------------------------------------------------------
+Thu Jun 5 13:28:29 UTC 2014 - jjolly(a)suse.com
+
+- Moved libpkcs11_icsf 32-bit out of s390-specific files
+
+-------------------------------------------------------------------
+Thu Jun 5 13:00:31 UTC 2014 - jjolly(a)suse.com
+
+- Made ep11tok.conf and pkcsep11_migrate specific to s390/s390x
+- Added libpkcs11_ep11.so and libpkcs11_icsf.so to 32-bit s390/s390x
+
+-------------------------------------------------------------------
+Thu Jun 5 05:06:34 UTC 2014 - jjolly(a)suse.com
+
+- EP11 token available in the opencryptoki V3.1 package (bnc#879303)
+ - Specfile changed to include ep11tok.conf
+ - Specfile changed to include pkcsep11_migrate and pkcsicsf tools
+ - Specfile changed to BuildRequires openldap2-devel
+ - ocki-3.1_06_0001-print_mechanism-ignored-bad-returncodes-from-the-cal.patch
+ - print_mechanism() ignored bad returncodes from the called
+ function token_specific_get_mechanism_list()
+ - ocki-3.1_06_0002-Fix-failure-when-confname-is-not-given-use-default-e.patch
+ - Fix failure when confname is not given, use default
+ ep11tok.conf instead
+ - ocki-3.1_06_0003-Configure-was-checking-for-the-ep11-lib-and-the-m_in.patch
+ - Removed check for ep11 lib at configure
+ - ocki-3.1_06_0004-The-asm-zcrypt.h-header-file-uses-some-std-int-types.patch
+ - Move stdint.h before zcrypt.h to resolve dependencies
+ - ocki-3.1_06_0005-Small-reworks.patch
+ - testcase fixes and file permission changes
+ - ocki-3.1_06_0006-The-31-bit-build-on-s390-showed-an-build-error-at-in.patch
+ - Fix for s390 31-bit build error
+ - ocki-3.1_06_0007-ep11-is-not-building-because-not-setting-with_zcrypt.patch
+ - zcrypt library included in build by default
+
+-------------------------------------------------------------------
+Fri Mar 7 19:03:59 UTC 2014 - jjolly(a)suse.com
+
+- Patches applied (bnc#865549)
+ - Fixed Makefile to complement common code dependencies
+ - switched to official m_init() function based on library change
+ - checking the global token object count
+ - catch the return code from object_mgr_find_in_map1
+ - some README updates about usage and restrictions
+
+-------------------------------------------------------------------
+Wed Mar 5 17:58:21 CET 2014 - ro(a)suse.de
+
+- fix build on x86 (add CCA and TPM to filelist)
+- fix libica detection on s390/s390x to get ICA module built
+
+-------------------------------------------------------------------
New:
----
ocki-3.1-fix-libica-link.patch
ocki-3.1_01_ep11_makefile.patch
ocki-3.1_02_ep11_m_init.patch
ocki-3.1_03_ock_obj_mgr.patch
ocki-3.1_04_ep11_opaque2blob_error_handl.patch
ocki-3.1_05_ep11_readme_update.patch
ocki-3.1_06_0001-print_mechanism-ignored-bad-returncodes-from-the-cal.patch
ocki-3.1_06_0002-Fix-failure-when-confname-is-not-given-use-default-e.patch
ocki-3.1_06_0003-Configure-was-checking-for-the-ep11-lib-and-the-m_in.patch
ocki-3.1_06_0004-The-asm-zcrypt.h-header-file-uses-some-std-int-types.patch
ocki-3.1_06_0005-Small-reworks.patch
ocki-3.1_06_0006-The-31-bit-build-on-s390-showed-an-build-error-at-in.patch
ocki-3.1_06_0007-ep11-is-not-building-because-not-setting-with_zcrypt.patch
openCryptoki-tmp.conf
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openCryptoki.spec ++++++
--- /var/tmp/diff_new_pack.bK1HWX/_old 2014-09-03 20:28:24.000000000 +0200
+++ /var/tmp/diff_new_pack.bK1HWX/_new 2014-09-03 20:28:24.000000000 +0200
@@ -25,15 +25,28 @@
%define pkcs11_group_id 64
%define oc_cvs_tag opencryptoki
+%if 0%{?suse_version} > 1220
+%define uses_systemd 1
+%else
+%define uses_systemd 0
+%endif
+
Name: openCryptoki
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-c++
-BuildRequires: libica
+%ifarch s390 s390x
+BuildRequires: libica-2_3_0-devel
+%endif
BuildRequires: libtool
+BuildRequires: openldap2-devel
BuildRequires: openssl-devel
BuildRequires: pwdutils
BuildRequires: trousers-devel
+%if %{uses_systemd}
+BuildRequires: pkgconfig(systemd)
+%{?systemd_requires}
+%endif
Summary: An Implementation of PKCS#11 (Cryptoki) v2.11 for IBM Cryptographic Hardware
License: IPL-1.0
Group: Productivity/Security
@@ -44,9 +57,23 @@
Source: %{oc_cvs_tag}-v%{version}.tar.bz2
Source1: openCryptoki.pkcsslotd
Source2: openCryptoki-TFAQ.html
+Source3: openCryptoki-tmp.conf
Patch1: ocki-3.1-remove-make-install-chgrp-chmod.patch
Patch2: ocki-3.1-fix-init_d-path.patch
Patch3: ocki-3.1-fix-implicit-decl.patch
+Patch4: ocki-3.1-fix-libica-link.patch
+Patch5: ocki-3.1_01_ep11_makefile.patch
+Patch6: ocki-3.1_02_ep11_m_init.patch
+Patch7: ocki-3.1_03_ock_obj_mgr.patch
+Patch8: ocki-3.1_04_ep11_opaque2blob_error_handl.patch
+Patch9: ocki-3.1_05_ep11_readme_update.patch
+Patch10: ocki-3.1_06_0001-print_mechanism-ignored-bad-returncodes-from-the-cal.patch
+Patch11: ocki-3.1_06_0002-Fix-failure-when-confname-is-not-given-use-default-e.patch
+Patch12: ocki-3.1_06_0003-Configure-was-checking-for-the-ep11-lib-and-the-m_in.patch
+Patch13: ocki-3.1_06_0004-The-asm-zcrypt.h-header-file-uses-some-std-int-types.patch
+Patch14: ocki-3.1_06_0005-Small-reworks.patch
+Patch15: ocki-3.1_06_0006-The-31-bit-build-on-s390-showed-an-build-error-at-in.patch
+Patch16: ocki-3.1_06_0007-ep11-is-not-building-because-not-setting-with_zcrypt.patch
Url: http://oss.software.ibm.com/developerworks/opensource/opencryptoki
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: /usr/sbin/groupadd /usr/bin/id /usr/sbin/usermod /bin/sed %insserv_prereq
@@ -127,27 +154,57 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
cp %{SOURCE2} .
%build
autoreconf --force --install
-CFLAGS="$RPM_OPT_FLAGS -D__USE_BSD" ./configure --prefix=/usr --libdir=%{_libdir} --enable-tpmtok --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir}
-make
+CFLAGS="$RPM_OPT_FLAGS -D__USE_BSD" ./configure \
+ --prefix=/usr \
+ --libdir=%{_libdir} \
+ --enable-tpmtok \
+%if %{uses_systemd}
+ --with-systemd=/usr/lib/systemd/system \
+%endif
+ --sysconfdir=%{_sysconfdir} \
+ --localstatedir=%{_localstatedir}
+%__make
%install
-make install DESTDIR=$RPM_BUILD_ROOT INSROOT=$RPM_BUILD_ROOT
+%make_install DESTDIR=$RPM_BUILD_ROOT INSROOT=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/include
install -d $RPM_BUILD_ROOT/var/lib/opencryptoki
install -d $RPM_BUILD_ROOT/etc/init.d
install -d $RPM_BUILD_ROOT/usr/sbin
+%if %{uses_systemd}
+install -d $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
+install -m 644 %{S:3} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/openCryptoki-tmp.conf
+ln -s /usr/sbin/service $RPM_BUILD_ROOT/usr/sbin/rcpkcsslotd
+%else
install -m 544 %{S:1} $RPM_BUILD_ROOT/etc/init.d/pkcsslotd
ln -sfv ../../etc/init.d/pkcsslotd $RPM_BUILD_ROOT/usr/sbin/rcpkcsslotd
+%endif
rm -rf $RPM_BUILD_ROOT/tmp
# Remove all development files
rm -f $RPM_BUILD_ROOT${_libdir}/opencryptoki/libopencryptoki.la
rm -f $RPM_BUILD_ROOT/%_libdir/opencryptoki/methods
%pre
+%if %{uses_systemd}
+%{service_add_pre pkcsslotd.service}
+%endif
# autobuild:/work/cd/lib/misc/group
# openCryptoki pkcs11:x:64:
/usr/sbin/groupadd -g %pkcs11_group_id -r pkcs11 2>/dev/null || true
@@ -162,7 +219,11 @@
'),pkcs11 root
%preun
+%if %{uses_systemd}
+%{service_del_preun pkcsslotd.service}
+%else
%{stop_on_removal pkcsslotd}
+%endif
%post
# Symlink from /var/lib/opencryptoki to /etc/pkcs11
@@ -174,14 +235,22 @@
fi
fi
/sbin/ldconfig
+%if %{uses_systemd}
+%{service_add_post pkcsslotd.service}
+%else
%{fillup_and_insserv -f pkcsslotd}
+%endif
%postun
if [ -L %{_sysconfdir}/pkcs11 ] ; then
rm %{_sysconfdir}/pkcs11
fi
+%if %{uses_systemd}
+%{service_del_postun pkcsslotd.service}
+%else
%{restart_on_update pkcsslotd}
%{insserv_cleanup}
+%endif
%ifarch %openCryptoki_32bit_arch
@@ -194,13 +263,14 @@
cd %{_libdir}/opencryptoki && ln -sf ./libopencryptoki.so PKCS11_API.so
ln -sf %{_sbindir} %{_libdir}/opencryptoki/methods
rm -rf %{_libdir}/pkcs11/stdll
-if [ -d %{_libdir}/pkcs11 ] ; then
- cd %{_libdir}/pkcs11
- ln -sf ../opencryptoki/stdll stdll
- cd stdll
- [ -f libpkcs11_ica.so ] && ln -sf ./libpkcs11_ica.so PKCS11_ICA.so || true
- [ -f libpkcs11_sw.so ] && ln -sf ./libpkcs11_sw.so PKCS11_SW.so || true
-fi
+test -d /usr/lib/pkcs11 || mkdir -p /usr/lib/pkcs11
+cd /usr/lib/pkcs11
+ln -sf ../opencryptoki/stdll stdll
+cd stdll
+[ -f libpkcs11_cca.so ] && ln -sf ./libpkcs11_cca.so PKCS11_CCA.so || true
+[ -f libpkcs11_tpm.so ] && ln -sf ./libpkcs11_tpm.so PKCS11_TPM.so || true
+[ -f libpkcs11_ica.so ] && ln -sf ./libpkcs11_ica.so PKCS11_ICA.so || true
+[ -f libpkcs11_sw.so ] && ln -sf ./libpkcs11_sw.so PKCS11_SW.so || true
/sbin/ldconfig
%endif
%ifarch %openCryptoki_64bit_arch
@@ -216,13 +286,27 @@
%defattr(-,root,root)
%doc openCryptoki-TFAQ.html
# configuration directory
-%dir /etc/opencryptoki
-%config /etc/opencryptoki/opencryptoki.conf
-/etc/init.d/pkcsslotd
-/usr/sbin/rcpkcsslotd
+%dir %{_sysconfdir}/opencryptoki
+%config %{_sysconfdir}/opencryptoki/opencryptoki.conf
+%ifarch s390 s390x
+%config %{_sysconfdir}/opencryptoki/ep11tok.conf
+%{_sbindir}/pkcsep11_migrate
+%endif
+%if %{uses_systemd}
+%{_prefix}/lib/systemd/system/pkcsslotd.service
+%{_prefix}/lib/tmpfiles.d/openCryptoki-tmp.conf
+%else
+%{_sysconfdir}/init.d/pkcsslotd
+%ghost %dir %attr(770,root,pkcs11) %{_localstatedir}/lock/opencryptoki
+%ghost %dir %attr(770,root,pkcs11) %{_localstatedir}/lock/opencryptoki/ccatok
+%ghost %dir %attr(770,root,pkcs11) %{_localstatedir}/lock/opencryptoki/swtok
+%ghost %dir %attr(770,root,pkcs11) %{_localstatedir}/lock/opencryptoki/tpm
+%endif
+%{_sbindir}/rcpkcsslotd
# utilities
-/usr/sbin/pkcsslotd
-/usr/sbin/pkcsconf
+%{_sbindir}/pkcsslotd
+%{_sbindir}/pkcsconf
+%{_sbindir}/pkcsicsf
%dir %{_libdir}/opencryptoki
%dir %{_libdir}/opencryptoki/stdll
# State and lock directories
@@ -232,10 +316,13 @@
%dir %attr(770,root,pkcs11) %{_localstatedir}/lib/opencryptoki/swtok
%dir %attr(770,root,pkcs11) %{_localstatedir}/lib/opencryptoki/swtok/TOK_OBJ
%dir %attr(770,root,pkcs11) %{_localstatedir}/lib/opencryptoki/tpm
-%ghost %dir %attr(770,root,pkcs11) %{_localstatedir}/lock/opencryptoki
-%ghost %dir %attr(770,root,pkcs11) %{_localstatedir}/lock/opencryptoki/ccatok
-%ghost %dir %attr(770,root,pkcs11) %{_localstatedir}/lock/opencryptoki/swtok
-%ghost %dir %attr(770,root,pkcs11) %{_localstatedir}/lock/opencryptoki/tpm
+%dir %attr(770,root,pkcs11) %{_localstatedir}/lib/opencryptoki/icsf
+%ifarch s390 s390x
+%dir %attr(770,root,pkcs11) %{_localstatedir}/lib/opencryptoki/lite
+%dir %attr(770,root,pkcs11) %{_localstatedir}/lib/opencryptoki/lite/TOK_OBJ
+%dir %attr(770,root,pkcs11) %{_localstatedir}/lib/opencryptoki/ep11tok
+%dir %attr(770,root,pkcs11) %{_localstatedir}/lib/opencryptoki/ep11tok/TOK_OBJ
+%endif
%{_mandir}/man*/*
%files devel
@@ -254,16 +341,19 @@
%{_libdir}/opencryptoki/libopencryptoki.so
%ghost %{_libdir}/opencryptoki/PKCS11_API.so
%{_libdir}/opencryptoki/*.0
-%ifnarch s390 s390x
%{_libdir}/opencryptoki/stdll/libpkcs11_cca.so
-%{_libdir}/opencryptoki/stdll/libpkcs11_sw.so
-%{_libdir}/opencryptoki/stdll/libpkcs11_tpm.so
%ghost %{_libdir}/opencryptoki/stdll/PKCS11_CCA.so
-%ghost %{_libdir}/opencryptoki/stdll/PKCS11_SW.so
+%{_libdir}/opencryptoki/stdll/libpkcs11_tpm.so
%ghost %{_libdir}/opencryptoki/stdll/PKCS11_TPM.so
-%else
+%{_libdir}/opencryptoki/stdll/libpkcs11_sw.so
+%ghost %{_libdir}/opencryptoki/stdll/PKCS11_SW.so
+%{_libdir}/opencryptoki/stdll/libpkcs11_icsf.so
+%ghost %{_libdir}/opencryptoki/stdll/PKCS11_ICSF.so
+%ifarch s390 s390x
%{_libdir}/opencryptoki/stdll/libpkcs11_ica.so
%ghost %{_libdir}/opencryptoki/stdll/PKCS11_ICA.so
+%{_libdir}/opencryptoki/stdll/libpkcs11_ep11.so
+%ghost %{_libdir}/opencryptoki/stdll/PKCS11_EP11.so
%endif
%{_libdir}/opencryptoki/stdll/*.0
%dir %{_libdir}/pkcs11
++++++ ocki-3.1-fix-libica-link.patch ++++++
--- opencryptoki/configure.in
+++ opencryptoki/configure.in
@@ -328,7 +328,7 @@
old_cflags="$CFLAGS"
old_libs="$LIBS"
CFLAGS="$CFLAGS $LIBICA_CFLAGS"
- LIBS="$LIBS $LIBICA_LIBS"
+ LIBS="$LIBS $LIBICA_LIBS -lrt -lcrypto -lpthread"
AC_CHECK_HEADER([ica_api.h], [], [
if test "x$with_libica" != "xcheck"; then
AC_MSG_ERROR([Build with Libica requested but Libica headers couldn't be found])
++++++ ocki-3.1-remove-make-install-chgrp-chmod.patch ++++++
--- /var/tmp/diff_new_pack.bK1HWX/_old 2014-09-03 20:28:24.000000000 +0200
+++ /var/tmp/diff_new_pack.bK1HWX/_new 2014-09-03 20:28:24.000000000 +0200
@@ -1,6 +1,76 @@
---- opencryptoki.orig/usr/lib/pkcs11/soft_stdll/Makefile.am 2014-01-27 15:01:58.000000000 -0700
-+++ opencryptoki/usr/lib/pkcs11/soft_stdll/Makefile.am 2014-01-31 08:15:21.781145000 -0700
-@@ -54,13 +54,7 @@ install-data-hook:
+--- opencryptoki/usr/Makefile.am
++++ opencryptoki/usr/Makefile.am
+@@ -6,5 +6,3 @@
+
+ install-data-hook:
+ $(MKDIR_P) $(DESTDIR)$(lockdir)
+- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)
+- $(CHMOD) 0770 $(DESTDIR)$(lockdir)
+--- opencryptoki/usr/lib/pkcs11/cca_stdll/Makefile.am
++++ opencryptoki/usr/lib/pkcs11/cca_stdll/Makefile.am
+@@ -66,13 +66,7 @@
+ cd $(DESTDIR)/$(libdir)/opencryptoki/stdll && \
+ ln -sf libpkcs11_cca.so PKCS11_CCA.so
+ $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok/TOK_OBJ
+- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok/TOK_OBJ
+- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok
+- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok/TOK_OBJ
+- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok
+ $(MKDIR_P) $(DESTDIR)$(lockdir)/ccatok
+- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/ccatok
+- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/ccatok
+
+ uninstall-hook:
+ if test -d $(DESTDIR)/$(libdir)/opencryptoki/stdll; then \
+--- opencryptoki/usr/lib/pkcs11/ep11_stdll/Makefile.am
++++ opencryptoki/usr/lib/pkcs11/ep11_stdll/Makefile.am
+@@ -54,13 +54,7 @@
+ cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
+ ln -sf libpkcs11_ep11.so PKCS11_EP11.so
+ $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/ep11tok/TOK_OBJ
+- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ep11tok/TOK_OBJ
+- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ep11tok
+- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ep11tok/TOK_OBJ
+- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ep11tok
+ $(MKDIR_P) $(DESTDIR)$(lockdir)/ep11tok
+- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/ep11tok
+- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/ep11tok
+
+ uninstall-hook:
+ if test -d $(DESTDIR)$(libdir)/opencryptoki/stdll; then \
+--- opencryptoki/usr/lib/pkcs11/ica_s390_stdll/Makefile.am
++++ opencryptoki/usr/lib/pkcs11/ica_s390_stdll/Makefile.am
+@@ -62,13 +62,7 @@
+ cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
+ ln -sf libpkcs11_ica.so PKCS11_ICA.so
+ $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite/TOK_OBJ
+- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite/TOK_OBJ
+- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite
+- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite/TOK_OBJ
+- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/lite
+ $(MKDIR_P) $(DESTDIR)$(lockdir)/lite
+- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/lite
+- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/lite
+
+ uninstall-hook:
+ if test -d $(DESTDIR)$(libdir)/opencryptoki/stdll; then \
+--- opencryptoki/usr/lib/pkcs11/icsf_stdll/Makefile.am
++++ opencryptoki/usr/lib/pkcs11/icsf_stdll/Makefile.am
+@@ -76,11 +76,7 @@
+ cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
+ ln -sf libpkcs11_icsf.so PKCS11_ICSF.so
+ $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/icsf
+- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/icsf
+- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/icsf
+ $(MKDIR_P) $(DESTDIR)$(lockdir)/icsf
+- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/icsf
+- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/icsf
+
+ uninstall-hook:
+ if test -d $(DESTDIR)$(libdir)/opencryptoki/stdll; then \
+--- opencryptoki/usr/lib/pkcs11/soft_stdll/Makefile.am
++++ opencryptoki/usr/lib/pkcs11/soft_stdll/Makefile.am
+@@ -54,13 +54,7 @@
cd $(DESTDIR)$(libdir)/opencryptoki/stdll && \
ln -sf libpkcs11_sw.so PKCS11_SW.so
$(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/swtok/TOK_OBJ
@@ -28,27 +98,3 @@
uninstall-hook:
if test -d $(DESTDIR)$(libdir)/opencryptoki/stdll; then \
---- opencryptoki.orig/usr/lib/pkcs11/cca_stdll/Makefile.am 2014-01-27 15:01:58.000000000 -0700
-+++ opencryptoki/usr/lib/pkcs11/cca_stdll/Makefile.am 2014-01-31 08:30:51.030956000 -0700
-@@ -66,13 +66,7 @@ install-data-hook:
- cd $(DESTDIR)/$(libdir)/opencryptoki/stdll && \
- ln -sf libpkcs11_cca.so PKCS11_CCA.so
- $(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok/TOK_OBJ
-- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok/TOK_OBJ
-- $(CHGRP) pkcs11 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok
-- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok/TOK_OBJ
-- $(CHMOD) 0770 $(DESTDIR)$(localstatedir)/lib/opencryptoki/ccatok
- $(MKDIR_P) $(DESTDIR)$(lockdir)/ccatok
-- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)/ccatok
-- $(CHMOD) 0770 $(DESTDIR)$(lockdir)/ccatok
-
- uninstall-hook:
- if test -d $(DESTDIR)/$(libdir)/opencryptoki/stdll; then \
---- opencryptoki.orig/usr/Makefile.am 2014-01-27 15:01:58.000000000 -0700
-+++ opencryptoki/usr/Makefile.am 2014-01-31 08:33:02.949361000 -0700
-@@ -6,5 +6,3 @@ SUBDIRS = lib $(DAEMONDIRS)
-
- install-data-hook:
- $(MKDIR_P) $(DESTDIR)$(lockdir)
-- $(CHGRP) pkcs11 $(DESTDIR)$(lockdir)
-- $(CHMOD) 0770 $(DESTDIR)$(lockdir)
++++++ ocki-3.1_01_ep11_makefile.patch ++++++
commit f558043c9c7aa2ada4dd9d7548c2c713aea24753
Author: Ingo Tuchscherer <ingo.tuchscherer(a)linux.vnet.ibm.com>
Date: Fri Feb 7 15:03:48 2014 -0600
ep11: Fixed Makefile to complement common code dependencies
This will fix the side effect that the ep11 token could not
plugged into slot 0, because of unresolved symbols.
Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer(a)linux.vnet.ibm.com>
diff --git a/usr/lib/pkcs11/ep11_stdll/Makefile.am b/usr/lib/pkcs11/ep11_stdll/Makefile.am
index fd940ec..d587fd2 100644
--- a/usr/lib/pkcs11/ep11_stdll/Makefile.am
+++ b/usr/lib/pkcs11/ep11_stdll/Makefile.am
@@ -28,10 +28,15 @@ opencryptoki_stdll_libpkcs11_ep11_la_SOURCES = ../common/asn1.c \
../common/loadsave.c \
../common/key.c \
../common/key_mgr.c \
- ../common/mech_md5.c \
+ ../common/mech_des.c \
+ ../common/mech_des3.c \
+ ../common/mech_aes.c \
+ ../common/mech_md5.c \
../common/mech_md2.c \
../common/mech_rng.c \
+ ../common/mech_rsa.c \
../common/mech_sha.c \
+ ../common/mech_ssl3.c \
../common/new_host.c \
../common/obj_mgr.c \
../common/object.c \
@@ -44,8 +49,8 @@ opencryptoki_stdll_libpkcs11_ep11_la_SOURCES = ../common/asn1.c \
../common/log.c \
../common/mech_list.c \
../common/shared_memory.c \
- ../common/attributes.c \
- ../common/sw_crypt.c \
+ ../common/attributes.c \
+ ../common/sw_crypt.c \
ep11_specific.c
noinst_HEADERS = ep11.h
++++++ ocki-3.1_02_ep11_m_init.patch ++++++
commit d564279d2c2913021ca325507d1ce3af3aff078a
Author: Ingo Tuchscherer <ingo.tuchscherer(a)linux.vnet.ibm.com>
Date: Fri Feb 7 15:08:27 2014 -0600
ep11: switched to official m_init() function based on library change
Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer(a)linux.vnet.ibm.com>
diff --git a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
index a9a72e4..1a43ccb 100644
--- a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
+++ b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
@@ -1281,7 +1281,7 @@ CK_RV token_specific_init(char *Correlator, CK_SLOT_ID SlotNumber, char *conf_na
/* for real HW on Z-series, this would open the
* device driver file /dev/zcrypt.
*/
- if (m_add_backend(NULL,0) < 0) {
+ if (m_init() < 0) {
EP11TOK_ELOG(1,"open of the zcrypt device driver failed");
return CKR_DEVICE_ERROR;
}
++++++ ocki-3.1_03_ock_obj_mgr.patch ++++++
commit 099a3a110a733ef3a91c41a88dcd45f15af8a6cd
Author: Joy Latten <jmlatten(a)linux.vnet.ibm.com>
Date: Wed Feb 12 12:06:53 2014 -0600
Scenario: processA creates private token key object and before he can
use it, processB gets it, uses it, and deletes it.
Because opencryptoki was not checking the global token object count,
process B segfaulted when count was zero, thinking there were objects in
shared memory to search.
Also, it was not checking return code of object_mgr_check_shm() in
object_mgr_find_in_map1 to see if anything was found in shm.
And lastly, return correct error code.
Signed-off-by: Joy Latten <jmlatten(a)linux.vnet.ibm.com>
diff --git a/usr/lib/pkcs11/common/obj_mgr.c b/usr/lib/pkcs11/common/obj_mgr.c
index 92c11c2..8d42d9e 100755
--- a/usr/lib/pkcs11/common/obj_mgr.c
+++ b/usr/lib/pkcs11/common/obj_mgr.c
@@ -1340,13 +1340,28 @@ object_mgr_find_in_map1( CK_OBJECT_HANDLE handle,
goto done;
}
-// SAB XXX Fix me.. need to make it more efficient than just looking for the object to be changed
-// set a global flag that contains the ref count to all objects.. if the shm ref count changes, then we update the object
-// if not
-
- XProcLock();
- object_mgr_check_shm( obj );
- XProcUnLock();
+ /* SAB XXX Fix me.. need to make it more efficient than just looking
+ * for the object to be changed. set a global flag that contains the
+ * ref count to all objects.. if the shm ref count changes, then we
+ * update the object. if not
+ */
+
+ /* Note: Each C_Initialize call loads up the public token objects
+ * and build corresponding tree(s). The same for private token objects
+ * upon successful C_Login. Since token objects can be shared, it is
+ * possible another process or session has deleted a token object.
+ * Accounting is done in shm, so check shm to see if object still exists.
+ */
+ if (!object_is_session_object(obj)) {
+ XProcLock();
+ rc = object_mgr_check_shm( obj );
+ XProcUnLock();
+
+ if (rc != CKR_OK) {
+ OCK_LOG_ERR(ERR_FUNCTION_FAILED);
+ goto done;
+ }
+ }
*ptr = obj;
done:
@@ -2101,8 +2116,8 @@ object_mgr_del_from_shm( OBJECT *obj )
0, global_shm->num_priv_tok_obj-1,
obj, &index );
if (rc != CKR_OK){
- OCK_LOG_ERR(ERR_FUNCTION_FAILED);
- return CKR_FUNCTION_FAILED;
+ OCK_LOG_ERR(ERR_OBJMGR_SEARCH);
+ return rc;
}
// Since the number of objects starts at 1 and index starts at zero, we
// decrement before we get count. This eliminates the need to perform
@@ -2139,8 +2154,8 @@ object_mgr_del_from_shm( OBJECT *obj )
0, global_shm->num_publ_tok_obj-1,
obj, &index );
if (rc != CKR_OK){
- OCK_LOG_ERR(ERR_FUNCTION_FAILED);
- return CKR_FUNCTION_FAILED;
+ OCK_LOG_ERR(ERR_OBJMGR_SEARCH);
+ return rc;
}
global_shm->num_publ_tok_obj--;
@@ -2189,25 +2204,36 @@ object_mgr_check_shm( OBJECT *obj )
// the calling routine is responsible for locking the global_shm mutex
//
+ /* first check the object count. If it is 0, then just return. */
priv = object_is_private( obj );
if (priv) {
+
+ if (global_shm->num_priv_tok_obj == 0) {
+ OCK_LOG_ERR(ERR_OBJECT_HANDLE_INVALID);
+ return CKR_OBJECT_HANDLE_INVALID;
+ }
rc = object_mgr_search_shm_for_obj( global_shm->priv_tok_objs,
0, global_shm->num_priv_tok_obj-1,
obj, &index );
if (rc != CKR_OK){
- OCK_LOG_ERR(ERR_FUNCTION_FAILED);
- return CKR_FUNCTION_FAILED;
+ OCK_LOG_ERR(ERR_OBJMGR_SEARCH);
+ return rc;
}
entry = &global_shm->priv_tok_objs[index];
}
else {
+
+ if (global_shm->num_publ_tok_obj == 0) {
+ OCK_LOG_ERR(ERR_OBJECT_HANDLE_INVALID);
+ return CKR_OBJECT_HANDLE_INVALID;
+ }
rc = object_mgr_search_shm_for_obj( global_shm->publ_tok_objs,
0, global_shm->num_publ_tok_obj-1,
obj, &index );
if (rc != CKR_OK){
- OCK_LOG_ERR(ERR_FUNCTION_FAILED);
- return CKR_FUNCTION_FAILED;
+ OCK_LOG_ERR(ERR_OBJMGR_SEARCH);
+ return rc;
}
entry = &global_shm->publ_tok_objs[index];
}
@@ -2256,8 +2282,8 @@ object_mgr_search_shm_for_obj( TOK_OBJ_ENTRY * obj_list,
}
}
}
- OCK_LOG_ERR(ERR_FUNCTION_FAILED);
- return CKR_FUNCTION_FAILED;
+ OCK_LOG_ERR(ERR_OBJECT_HANDLE_INVALID);
+ return CKR_OBJECT_HANDLE_INVALID;
}
++++++ ocki-3.1_04_ep11_opaque2blob_error_handl.patch ++++++
commit 9d445b0294b588a834797e4f8c3d6ea3c1b3da2b
Author: Joy Latten <jmlatten(a)linux.vnet.ibm.com>
Date: Wed Feb 12 12:09:14 2014 -0600
ep11's h_opaque_2_blob needs to catch the return code from
object_mgr_find_in_map1 and return it.
Signed-off-by: Joy Latten <jmlatten(a)linux.vnet.ibm.com>
diff --git a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
index 1a43ccb..90d3df1 100644
--- a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
+++ b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
@@ -1814,12 +1814,12 @@ CK_RV token_specific_derive_key(SESSION *session, CK_MECHANISM_PTR mech,
memset(&secret_op, 0, sizeof(secret_op));
secret_op.blob_size = blobsize;
- if (h_opaque_2_blob(hBaseKey, &blob, &blob_len) != CKR_OK) {
+ rc = h_opaque_2_blob(hBaseKey, &blob, &blob_len);
+ if (rc != CKR_OK) {
EP11TOK_ELOG(1,"FAIL hBaseKey=0x%lx",hBaseKey);
- return CKR_CANCEL;
+ return rc;
}
-
/* Get the keytype to use when creating the key object */
rc = ep11_get_keytype(attrs, attrs_len, mech, &ktype, &class);
if (rc != CKR_OK) {
@@ -2732,36 +2732,19 @@ CK_RV token_specific_generate_key_pair(SESSION * sess,
private_key_obj->name, public_key_obj, private_key_obj);
}
- /* Keys should be fully constructed,
- * assign object handles and store keys.
- */
- rc = object_mgr_create_final(sess, public_key_obj, phPublicKey);
- if (rc != CKR_OK) {
- OCK_LOG_ERR(ERR_OBJMGR_CREATE_FINAL);
- goto error;
- }
-
- rc = object_mgr_create_final(sess, private_key_obj, phPrivateKey);
- if (rc != CKR_OK) {
- OCK_LOG_ERR(ERR_OBJMGR_CREATE_FINAL);
- object_mgr_destroy_object(sess, *phPublicKey);
- public_key_obj = NULL;
- goto error;
- }
-
/* copy CKA_CLASS, CKA_KEY_TYPE to private template */
if (template_attribute_find(public_key_obj->template, CKA_CLASS, &attr)) {
rc = build_attribute(attr->type, attr->pValue,
attr->ulValueLen, &n_attr);
if (rc != CKR_OK) {
EP11TOK_ELOG(1,"build_attribute failed with rc=0x%lx",rc);
- return rc;
+ goto error;
}
rc = template_update_attribute(private_key_obj->template, n_attr);
if (rc != CKR_OK) {
EP11TOK_ELOG(1,"template_update_attribute failed with rc=0x%lx",rc);
- return rc;
+ goto error;
}
}
@@ -2770,17 +2753,34 @@ CK_RV token_specific_generate_key_pair(SESSION * sess,
attr->ulValueLen, &n_attr);
if (rc != CKR_OK) {
EP11TOK_ELOG(1,"build_attribute failed with rc=0x%lx",rc);
- return rc;
+ goto error;
}
rc = template_update_attribute(private_key_obj->template, n_attr);
if (rc != CKR_OK) {
EP11TOK_ELOG(1,"template_update_attribute failed with rc=0x%lx",rc);
- return rc;
+ goto error;
}
}
+ /* Keys should be fully constructed,
+ * assign object handles and store keys.
+ */
+ rc = object_mgr_create_final(sess, public_key_obj, phPublicKey);
+ if (rc != CKR_OK) {
+ OCK_LOG_ERR(ERR_OBJMGR_CREATE_FINAL);
+ goto error;
+ }
+
+ rc = object_mgr_create_final(sess, private_key_obj, phPrivateKey);
+ if (rc != CKR_OK) {
+ OCK_LOG_ERR(ERR_OBJMGR_CREATE_FINAL);
+ object_mgr_destroy_object(sess, *phPublicKey);
+ public_key_obj = NULL;
+ goto error;
+ }
return rc;
+
error:
if (public_key_obj) object_free(public_key_obj);
if (private_key_obj) object_free(private_key_obj);
@@ -2801,11 +2801,13 @@ static CK_RV h_opaque_2_blob(CK_OBJECT_HANDLE handle,
OBJECT *key_obj;
CK_ATTRIBUTE *attr = NULL;
ep11_opaque *op;
+ CK_RV rc;
/* find the key obj by the key handle */
- if (object_mgr_find_in_map1(handle,&key_obj) != CKR_OK) {
+ rc = object_mgr_find_in_map1(handle,&key_obj);
+ if (rc != CKR_OK) {
EP11TOK_ELOG(1,"key 0x%lx not mapped", handle);
- return CKR_FUNCTION_FAILED;
+ return rc;
}
/* blob already exists */
@@ -2844,30 +2846,31 @@ CK_RV token_specific_sign_init(SESSION *session, CK_MECHANISM *mech,
return CKR_HOST_MEMORY;
}
- if (h_opaque_2_blob(key,&privkey_blob,&blob_len) == CKR_OK) {
- rc = m_SignInit(ep11_sign_state, &ep11_sign_state_l,
- mech, privkey_blob, blob_len, ep11tok_target) ;
+ rc = h_opaque_2_blob(key, &privkey_blob, &blob_len);
+ if (rc != CKR_OK) {
+ EP11TOK_ELOG(1,"no blob rc=0x%lx",rc);
+ return rc;
+ }
- /* SIGN_VERIFY_CONTEX holds all needed for continuing,
- * also by another adapter (stateless requests)
- */
- ctx->key = key;
- ctx->multi = FALSE;
- ctx->active = TRUE;
- ctx->context = ep11_sign_state;
- ctx->context_len = ep11_sign_state_l;
+ rc = m_SignInit(ep11_sign_state, &ep11_sign_state_l,
+ mech, privkey_blob, blob_len, ep11tok_target) ;
- if (rc != CKR_OK) {
- EP11TOK_ELOG(1,"rc=0x%lx blob_len=0x%x key=0x%lx mech=0x%lx", rc, blob_len, key, mech->mechanism);
- } else {
- EP11TOK_LOG(2,"rc=0x%lx blob_len=0x%x key=0x%lx mech=0x%lx", rc, blob_len, key, mech->mechanism);
- }
+ /* SIGN_VERIFY_CONTEX holds all needed for continuing,
+ * also by another adapter (stateless requests)
+ */
+ ctx->key = key;
+ ctx->multi = FALSE;
+ ctx->active = TRUE;
+ ctx->context = ep11_sign_state;
+ ctx->context_len = ep11_sign_state_l;
- return rc;
+ if (rc != CKR_OK) {
+ EP11TOK_ELOG(1,"rc=0x%lx blob_len=0x%x key=0x%lx mech=0x%lx", rc, blob_len, key, mech->mechanism);
} else {
- EP11TOK_ELOG(1,"no blob rc=0x%lx",rc);
- return CKR_FUNCTION_FAILED;
+ EP11TOK_LOG(2,"rc=0x%lx blob_len=0x%x key=0x%lx mech=0x%lx", rc, blob_len, key, mech->mechanism);
}
+
+ return rc;
}
@@ -2946,27 +2949,26 @@ CK_RV token_specific_verify_init(SESSION *session, CK_MECHANISM *mech,
return CKR_HOST_MEMORY;
}
- if (h_opaque_2_blob(key,&spki,&spki_len) == CKR_OK) {
- rc = m_VerifyInit(ep11_sign_state, &ep11_sign_state_l, mech,
- spki, spki_len, ep11tok_target);
-
- ctx->key = key;
- ctx->multi = FALSE;
- ctx->active = TRUE;
- ctx->context = ep11_sign_state;
- ctx->context_len = ep11_sign_state_l;
-
- if (rc != CKR_OK) {
- EP11TOK_ELOG(1,"rc=0x%lx spki_len=0x%x key=0x%lx ep11_sing_state_l=0x%x mech=0x%lx", rc, spki_len, key, ep11_sign_state_l, mech->mechanism);
- } else {
- EP11TOK_LOG(2,"rc=0x%lx spki_len=0x%x key=0x%lx ep11_sing_state_l=0x%x mech=0x%lx", rc, spki_len, key, ep11_sign_state_l, mech->mechanism);
- }
-
+ rc = h_opaque_2_blob(key, &spki, &spki_len);
+ if (rc != CKR_OK) {
+ EP11TOK_ELOG(1,"no blob rc=0x%lx",rc);
return rc;
+ }
+
+ rc = m_VerifyInit(ep11_sign_state, &ep11_sign_state_l, mech,
+ spki, spki_len, ep11tok_target);
+ ctx->key = key;
+ ctx->multi = FALSE;
+ ctx->active = TRUE;
+ ctx->context = ep11_sign_state;
+ ctx->context_len = ep11_sign_state_l;
+ if (rc != CKR_OK) {
+ EP11TOK_ELOG(1,"rc=0x%lx spki_len=0x%x key=0x%lx ep11_sing_state_l=0x%x mech=0x%lx", rc, spki_len, key, ep11_sign_state_l, mech->mechanism);
} else {
- EP11TOK_ELOG(1,"no blob rc=0x%lx",rc);
- return CKR_FUNCTION_FAILED;
+ EP11TOK_LOG(2,"rc=0x%lx spki_len=0x%x key=0x%lx ep11_sing_state_l=0x%x mech=0x%lx", rc, spki_len, key, ep11_sign_state_l, mech->mechanism);
}
+
+ return rc;
}
@@ -3169,11 +3171,12 @@ static CK_RV ep11_ende_crypt_init(SESSION *session, CK_MECHANISM_PTR mech,
return CKR_HOST_MEMORY;
}
- if (h_opaque_2_blob(key, &blob, &blob_len) != CKR_OK) {
+ rc = h_opaque_2_blob(key, &blob, &blob_len);
+ if (rc != CKR_OK) {
EP11TOK_ELOG(1,"no blob rc=0x%lx",rc);
- return CKR_FUNCTION_FAILED;
+ return rc;
}
-
+
if (op == DECRYPT) {
rc = m_DecryptInit(ep11_state, &ep11_state_l, mech, blob,
blob_len, ep11tok_target);
++++++ ocki-3.1_05_ep11_readme_update.patch ++++++
commit 6589fae1561d1d050b743d3ff5e0b846616664a0
Author: Ingo Tuchscherer <ingo.tuchscherer(a)linux.vnet.ibm.com>
Date: Wed Feb 12 15:56:46 2014 -0600
EP11: some README updates about usage and restrictions.
Signed-off-by: Joy Latten <jmlatten(a)linux.vnet.ibm.com>
diff --git a/doc/README.ep11_stdll b/doc/README.ep11_stdll
index dedb76c..e972391 100644
--- a/doc/README.ep11_stdll
+++ b/doc/README.ep11_stdll
@@ -3,8 +3,8 @@ EP11 Token
The EP11 token is a token that uses the IBM Crypto Express adapters
(starting with Crypto Express 4S adapters) configured with Enterprise
-PKCS#11 (EP11) firmware. By convention, Crypto Express n adapters with
-that firmware load are also called CEXnP adapters for n >= 4.
+PKCS#11 (EP11) firmware. By convention, Crypto Express n adapters with that
+firmware load are also called CEXnP adapters for n >= 4.
The EP11 token is only supported on the System z architecture and requires a
Crypto Express adapter with EP11 firmware load, a zcrypt/ap device driver
@@ -17,14 +17,13 @@ Configuration
-------------
To use the EP11 token a slot entry must be defined in the general opencryptoki
-configuration file that sets the stdll attribute to libpkcs11_epp.so.
+configuration file that sets the stdll attribute to libpkcs11_ep11.so.
A EP11 token specific configuration file must be set up to define the target
-adapters and target adapter domains. The name of the configuration file must
-be defined in the global openCryptoki configuration opencryptoki.conf file
-as part of the token specification using the confname attribute.
-
-E.g. the entry,
+adapters and target adapter domains. The name of the configuration file must be
+defined in the global openCryptoki configuration opencryptoki.conf file as part
+of the token specification using the confname attribute.
+E.g. the entry
slot 4
{
@@ -35,39 +34,39 @@ confname = ep11tok.conf
defines the name of the configuration file of the EP11 token to be
ep11tok.conf. Per default this file is searched in the directory where
openCryptoki searches its global configuration file. This default path can
-be overwritten using the OCK_EP11_TOKEN_DIR environment variable.
-
-EP11 token configuration files defines a list of adapter/domain pairs to
-which the EP11 token sends its cryptographic requests. This list can be
-specified as a white list starting with a line containing the key word
-APQN_WHITELIST followed by one or more lines containing each 2 white space
-separted positive integers followed by a line with the key word END.
-In each of these lines the first integer denotes the adapter number
-and the second integer denotes the domain id. Alternatively the keyword
-APQN_ANY can be used to define that all adapter/domain pairs with EP11
-firmware load that are available to the system shall be used as target
-adapters. An adapter number corresponds to the numerical part xx of an
-adapter id of the form cardxx as displayed by the lszcrypt tool or in
-the sys file system (e.g. in /sys/bus/ap/devices).
-Currently Linux on z only supports a single domain. That domain number
-can be displayed with lszcrypt -b (see the value of ap_domain) or
-alternatively as contents of /sys/bus/ap/ap_domain.
+be overriden using the OCK_EP11_TOKEN_DIR environment variable.
+
+EP11 token configuration files defines a list of adapter/domain pairs to which
+the EP11 token sends its cryptographic requests. This list can be specified as
+a white list starting with a line containing the key word APQN_WHITELIST
+followed by one or more lines containing each two integers (in the range
+of 0 - 255) separated by a white space. The white list is ended with a line
+containing the key word END. In each of lines of the white list the first
+integer denotes the adapter number and the second integer denotes the domain
+id. Alternatively the keyword APQN_ANY can be used to define that all
+adapter/domain pairs with EP11 firmware load that are available to the system
+shall be used as target adapters. An adapter number corresponds to the
+numerical part xx of an adapter id of the form cardxx as displayed by the
+lszcrypt tool or in the sys file system (e.g. in /sys/bus/ap/devices).
+Currently Linux on z only supports a single domain. That domain number can be
+displayed with lszcrypt -b (see the value of ap_domain) or alternatively as
+contents of /sys/bus/ap/ap_domain.
In addition to the target adapter a log level can be defined in the EP11
-configuration file using a line consisting of the key word LOGLEVEL
-followed by an integer between 0 and 9.
+configuration file using a line consisting of the key word LOGLEVEL followed
+by an integer between 0 and 9.
Logging
-------
If a log level greater than 0 is defined in the environment variable
-OCK_EP11_TOKEN_LOGLEVEL or using the LOGLEVEL entry in the EP11
-configuration file then log entries are written to a log file
-/var/log/ock_ep11_token.<pid>.log where <pid> is the process id of the
-process using the EP11 token.
+OCK_EP11_TOKEN_LOGLEVEL or using the LOGLEVEL entry in the EP11 configuration
+file then log entries are written to a log file
+/var/log/ock_ep11_token.<pid>.log where <pid> is the process id of the process
+using the EP11 token.
-Note, that the handling of EP11 logs is subject to change in future
-releases of opencryptoki.
+Note, that the handling of EP11 logs is subject to change in future releases
+of opencryptoki.
Crypto Express Adapter EP11 Master Key Management
-------------------------------------------------
@@ -77,28 +76,27 @@ object repository (in the TOK_OBJ directory within the EP11 token directory)
become invalid.
The key migration tool pkcsep11_migrate can be used to perform the migration
-of the current EP11 master keys to new master keys. Therefore the
-following steps must be performed:
-
-1) on the Trusted Key Entry console (TKE): submit and commit
-new master keys on the EP11 adapter(s)
-2) on Linux: stop all processes using openCryptoki with the EP11 token
-3) on Linux: back up the token object repository of the EP11 token
-4) on Linux: migrate keys of object repository of EP11 token with
-migration tool. If a failure occurs restore the backed up token
-repository and retry step 4
-5) on the TKE: activate new master keys on the EP11 adapter(s)
-6) on Linux: restart applications using openCryptoki with the EP11 token
+of the current EP11 master keys to new master keys. Therefore the following
+steps must be performed:
+1) On the Trusted Key Entry console (TKE): Submit and commit new master
+keys on the EP11 adapter(s).
+2) On Linux: Stop all processes using openCryptoki with the EP11 token.
+3) On Linux: Back up the token object repository of the EP11 token.
+4) On Linux: Migrate keys of object repository of EP11 token with
+migration tool. If a failure occurs restore the backed up token repository
+and retry step 4.
+5) On the TKE: Activate new master keys on the EP11 adapter(s).
+6) On Linux: Restart applications using openCryptoki with the EP11 token.
Token specifics
---------------
-The EP11 token only supports secure keys (i.e. key wrapped by a master key
-of the Crypto Express adapter). Therefore all keys must have the attribute
-CKA_SENISTIVE set to CK_TRUE. Since the PKCS#11 standard does not define
-a (token specific) default for secure keys the attribute must be explicitly
-provided whenever a secret key is generated, unwrapped or created with
-C_CreateObject. In addition all keys used with the EP11 token are extractable
+The EP11 token only supports secure keys (i.e. key wrapped by a master key of
+the Crypto Express adapter). Therefore all keys must have the attribute
+CKA_SENISTIVE set to CK_TRUE. Since the PKCS#11 standard does not define a
+(token specific) default for secure keys the attribute must be explicitly
+provided whenever a secret key is generated, unwrapped or build with
+C_CreateObject. In addition all keys used with the EP11 token are extractable.
i.e. they must have the attribute CKA_EXTRACTABLE set to CK_TRUE.
When creating keys the default values of the attributes CKA_ENCRYPT,
@@ -108,18 +106,21 @@ Note, no EP11 mechanism supports the Sign/Recover or Verify/Recover functions.
All RSA key must have a public exponent (CKA_PUBLIC_EXPONENT) greater than
or equal to 17.
-See the mechanism list and mechanism info (pkcsconf -m) for supported
-mechanisms together with supported functions and key sizes.
-Note the supported mechanism list is currently fixed and matches the
-most stringent setting of the Crypto Express adapter.
+The CryptoExpress EP11 coprocessor restricts RSA keys (primes and moduli)
+according to ANSI X9.31. Therefore in the EP11 token the lengths of the
+RSA primes (p or q) must be a multiple of 128 bits and the length of the
+modulus (CKA_MODULUS_BITS) must be a multiple of 256.
-Temporary Restrictions & Circumventions
----------------------------------------
+The mechanisms CKM_DES3_CBC and CKM_AES_CBC can only wrap keys which have
+a length that is a multiple of the block size of DES3 or AES respectively.
-Wrapping 192 bit AES keys with the mechanism CKM_AES_CBC is not supported, use
-CKM_AES_CBC_PAD instead.
+See the mechanism list and mechanism info (pkcsconf -m) for supported
+mechanisms together with supported functions and key sizes. Note the
+supported mechanism list is currently fix and matches the most stringent
+setting of the Crypto Express adapter.
-Importing RAS private keys with C_Unwrap is not supported for key sizes that
-are not a multiple of AES blocksize. No circumvention possible.
+Note, the EP11 coprocessor adapter can be configured to restrict the
+cryptographic capababilities in order for the adapter to comply with specific
+security requirements and regulations. Such restrictions on the adapter impact
+the capabilitiy of the EP11 token.
-CKM_SHA512_HMAC is not supported. No circumvention possible.
++++++ ocki-3.1_06_0001-print_mechanism-ignored-bad-returncodes-from-the-cal.patch ++++++
>From 68a30e9bf0e494057a889e06623dd0d8ab95acf7 Mon Sep 17 00:00:00 2001
From: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
Date: Wed, 2 Apr 2014 12:03:53 -0500
Subject: [PATCH 1/6] print_mechanism() ignored bad returncodes from the
called function token_specific_get_mechanism_list(). So
the token init was just running fine but mechanism list
kept empty (eg. because of wrong adapter
configuration). Fixed this and adjusted some of the
related log messages.
Signed-off-by: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
---
usr/lib/pkcs11/ep11_stdll/ep11_specific.c | 32 +++++++++++++++++++++++--------
1 file changed, 24 insertions(+), 8 deletions(-)
diff --git a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
index 90d3df1..4e3703b 100644
--- a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
+++ b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
@@ -1140,17 +1140,27 @@ static CK_RV print_mechanism(void)
CK_ULONG count = 0;
int i;
CK_MECHANISM_INFO m_info;
+ CK_RV rc;
- /* only informational */
- (void) token_specific_get_mechanism_list(list, &count);
+ /* first call is just to fetch the count value */
+ rc = token_specific_get_mechanism_list(list, &count);
+ if (rc != CKR_OK) {
+ EP11TOK_ELOG(1,"can't fetch mechanism list.");
+ return rc;
+ }
list = (CK_MECHANISM_TYPE_PTR)malloc(sizeof(CK_MECHANISM_TYPE) * count);
if (!list) {
EP11TOK_ELOG(1,"Memory allocation failed.");
return CKR_HOST_MEMORY;
}
- /* only informational */
- (void) token_specific_get_mechanism_list(list, &count);
+ /* now really fill the list */
+ rc = token_specific_get_mechanism_list(list, &count);
+ if (rc != CKR_OK) {
+ EP11TOK_ELOG(1,"can't fetch mechanism list!");
+ free(list);
+ return rc;
+ }
EP11TOK_LOG(2,"EP11 token mechanism list, %lu entries:", count);
for (i = 0; i < count; i++) {
@@ -1170,6 +1180,7 @@ static CK_RV print_mechanism(void)
EP11TOK_LOG(2," %s {%lu,%lu%s}", ep11_get_ckm(list[i]),
m_info.ulMinKeySize, m_info.ulMaxKeySize, strflags);
}
+
free(list);
return CKR_OK;
}
@@ -1295,7 +1306,11 @@ CK_RV token_specific_init(char *Correlator, CK_SLOT_ID SlotNumber, char *conf_na
}
/* print mechanismlist to log file */
- (void)print_mechanism();
+ rc = print_mechanism();
+ if (rc != CKR_OK) {
+ EP11TOK_ELOG(1,"failure on fetching mechanism list rc=0x%lx, maybe wrong config ?", rc);
+ return CKR_GENERAL_ERROR;
+ }
/* create an AES key needed for importing keys
* (encrypt by wrap_key and m_UnwrapKey by wrap key)
@@ -3528,7 +3543,7 @@ CK_RV token_specific_get_mechanism_list(CK_MECHANISM_TYPE_PTR pMechanismList,
rc = m_GetMechanismList(0, pMechanismList, pulCount,
ep11tok_target);
if (rc != CKR_OK) {
- EP11TOK_ELOG(1,"bad rc #1 rc=0x%lx", rc);
+ EP11TOK_ELOG(1,"bad rc=0x%lx from m_GetMechanismList()", rc);
return rc;
}
@@ -3543,7 +3558,7 @@ CK_RV token_specific_get_mechanism_list(CK_MECHANISM_TYPE_PTR pMechanismList,
}
rc = m_GetMechanismList(0, mlist, &counter, ep11tok_target);
if (rc != CKR_OK) {
- EP11TOK_ELOG(1,"bad rc #2 rc=0x%lx", rc);
+ EP11TOK_ELOG(1,"bad rc=0x%lx from m_GetMechanismList()", rc);
free(mlist);
return rc;
}
@@ -3573,7 +3588,7 @@ CK_RV token_specific_get_mechanism_list(CK_MECHANISM_TYPE_PTR pMechanismList,
*/
rc = m_GetMechanismList(0,mlist,&counter,ep11tok_target);
if (rc != CKR_OK) {
- EP11TOK_ELOG(1,"bad rc #3 rc=0x%lx", rc);
+ EP11TOK_ELOG(1,"bad rc=0x%lx from m_GetMechanismList()", rc);
return rc;
}
@@ -3743,6 +3758,7 @@ static int read_adapter_config_file(const char* conf_name)
if (!conf_name) {
/* no conf_name was given, should not happen */
+ EP11TOK_ELOG(1,"no conf_name argument found");
return APQN_FILE_INV_1;
}
--
1.7.12.4
++++++ ocki-3.1_06_0002-Fix-failure-when-confname-is-not-given-use-default-e.patch ++++++
>From 401de8a8b5131c8dea1eade85c00e248198dc916 Mon Sep 17 00:00:00 2001
From: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
Date: Wed, 2 Apr 2014 12:05:12 -0500
Subject: [PATCH 2/6] Fix failure when confname is not given, use default
ep11tok.conf instead.
Slight rework on the way how the ep11 token config file is found:
If env has no OCK_EP11_TOKEN_DIR
if confname is not null, try to use it
if this fails, try ock default config dir + confname
if this fails, try ock default config dir + ep11tok.conf
if OCK_EP11_TOKEN_DIR given then
if confname is not null, try OCK_EP11_TOKEN_DIR + confname
if this fails, try OCK_EP11_TOKEN_DIR + ep11tok.conf
if still unsuccessful then token init will fail.
Signed-off-by: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
---
usr/lib/pkcs11/ep11_stdll/ep11_specific.c | 85 +++++++++++++++++++------------
1 file changed, 52 insertions(+), 33 deletions(-)
diff --git a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
index 4e3703b..0eea8c9 100644
--- a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
+++ b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
@@ -993,6 +993,7 @@ static const char* ep11_get_ckm(CK_ULONG mechanism)
static CK_RV h_opaque_2_blob(CK_OBJECT_HANDLE handle,
CK_BYTE **blob, size_t *blob_len);
+#define EP11_DEFAULT_CFG_FILE "ep11tok.conf"
#define EP11_CFG_FILE_SIZE 4096
/* error rc for reading the adapter config file */
@@ -1271,6 +1272,13 @@ CK_RV token_specific_init(char *Correlator, CK_SLOT_ID SlotNumber, char *conf_na
}
}
EP11TOK_LOG(1,"init running");
+
+ /* read ep11 specific config file with user specified adapter/domain pairs, loglevel, ... */
+ rc = read_adapter_config_file(conf_name);
+ if (rc != CKR_OK) {
+ EP11TOK_ELOG(1,"ep11 config file error rc=0x%lx", rc);
+ return CKR_GENERAL_ERROR;
+ }
/* wrap key name */
memset(wrap_key_name, 0, sizeof(wrap_key_name));
@@ -1297,14 +1305,7 @@ CK_RV token_specific_init(char *Correlator, CK_SLOT_ID SlotNumber, char *conf_na
return CKR_DEVICE_ERROR;
}
#endif
-
- /* user specified adapter/domain pairs the token is supposed to use */
- rc = read_adapter_config_file(conf_name);
- if (rc != CKR_OK) {
- EP11TOK_ELOG(1,"adapter config file error rc=0x%lx", rc);
- return CKR_GENERAL_ERROR;
- }
-
+
/* print mechanismlist to log file */
rc = print_mechanism();
if (rc != CKR_OK) {
@@ -3753,40 +3754,57 @@ static int read_adapter_config_file(const char* conf_name)
if (ep11_initialized) {
return 0;
}
-
+
memset(fname,0,PATH_MAX);
-
- if (!conf_name) {
- /* no conf_name was given, should not happen */
- EP11TOK_ELOG(1,"no conf_name argument found");
- return APQN_FILE_INV_1;
- }
/* via envrionment variable it is possible to overwrite the
- * config file given in the opencryptoki.conf. Then we use
- * $OCK_EP11_TOKEN_DIR/ock_ep11_token.conf.
+ * directory where the ep11 token config file is searched.
*/
if (conf_dir) {
- snprintf(fname, sizeof(fname), "%s/%s", conf_dir, conf_name);
- ap_fp = fopen(fname,"r");
- }
-
- /* if there was no environment variable or fopen failed, use the
- * default given from opencryptoki.conf via conf_name argument.
- */
- if (!ap_fp) {
- snprintf(fname, sizeof(fname), "%s/%s", OCK_CONFDIR, conf_name);
- ap_fp = fopen(fname,"r");
+ if (conf_name && strlen(conf_name) > 0) {
+ /* extract filename part from conf_name */
+ for (i=strlen(conf_name)-1; i >= 0 && conf_name[i] != '/'; i--);
+ if (i < strlen(conf_name)-1) {
+ snprintf(fname, sizeof(fname), "%s/%s", conf_dir, conf_name+i+1);
+ fname[sizeof(fname)-1] = '\0';
+ ap_fp = fopen(fname,"r");
+ EP11TOK_LOG(2,"fopen('%s') failed with errno %d", fname, errno);
+ }
+ }
+ if (!ap_fp) {
+ snprintf(fname, sizeof(fname), "%s/%s", conf_dir, EP11_DEFAULT_CFG_FILE);
+ fname[sizeof(fname)-1] = '\0';
+ ap_fp = fopen(fname,"r");
+ EP11TOK_LOG(2,"fopen('%s') failed with errno %d", fname, errno);
+ }
+ } else {
+ if (conf_name && strlen(conf_name) > 0) {
+ strncpy(fname, conf_name, sizeof(fname));
+ fname[sizeof(fname)-1] = '\0';
+ ap_fp = fopen(fname,"r");
+ if (!ap_fp) {
+ EP11TOK_LOG(2,"fopen('%s') failed with errno %d", fname, errno);
+ snprintf(fname, sizeof(fname), "%s/%s", OCK_CONFDIR, conf_name);
+ fname[sizeof(fname)-1] = '\0';
+ ap_fp = fopen(fname,"r");
+ if (!ap_fp) EP11TOK_LOG(2,"fopen('%s') failed with errno %d", fname, errno);
+ }
+ } else {
+ snprintf(fname, sizeof(fname), "%s/%s", OCK_CONFDIR, EP11_DEFAULT_CFG_FILE);
+ fname[sizeof(fname)-1] = '\0';
+ ap_fp = fopen(fname,"r");
+ if (!ap_fp) EP11TOK_LOG(2,"fopen('%s') failed with errno %d", fname, errno);
+ }
}
-
+
/* now we should really have an open ep11 token config file */
if (!ap_fp) {
EP11TOK_ELOG(1,"no valid EP 11 config file found");
return APQN_FILE_INV_2;
}
-
+
EP11TOK_LOG(2,"EP 11 token config file is '%s'", fname);
-
+
/* read config file line by line,
* ignore empty and # and copy rest into file buf
*/
@@ -3811,13 +3829,13 @@ static int read_adapter_config_file(const char* conf_name)
}
ep11_targets.length = 0;
-
+
for (i=0,j=0,str=filebuf; rc == 0; str=NULL) {
/* strtok tokenizes the string,
* delimiters are newline and whitespace.
*/
token = strtok(str, "\n\t ");
-
+
if (i == 0) {
/* expecting APQN_WHITELIST or APQN_BLACKLIST
* or APQN_ANY or LOGLEVEL or eof.
@@ -3906,7 +3924,8 @@ static int read_adapter_config_file(const char* conf_name)
/* do some checks: */
if (rc == 0) {
if ( !(whitemode || blackmode || anymode)) {
- EP11TOK_ELOG(1,"At least one APQN mode needs to be present in configfile: APQN_WHITEMODE or APQN_BLACKMODE or APQN_ANY");
+ EP11TOK_ELOG(1,"At least one APQN mode needs to be present in configfile:"
+ " APQN_WHITEMODE or APQN_BLACKMODE or APQN_ANY");
rc = APQN_FILE_NO_APQN_MODE;
} else if (whitemode || blackmode) {
/* at least one APQN needs to be defined */
--
1.7.12.4
++++++ ocki-3.1_06_0003-Configure-was-checking-for-the-ep11-lib-and-the-m_in.patch ++++++
>From 2bca1b392214241f84065d7709681c029b43b444 Mon Sep 17 00:00:00 2001
From: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
Date: Mon, 14 Apr 2014 11:48:56 -0500
Subject: [PATCH 3/6] Configure was checking for the ep11 lib and the m_init()
function. As this library will be dynamically loaded at
run time and there is no dependency at build time (but
build will break if ep11 lib is not available) removed
this check.
Signed-off-by: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
---
configure.in | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/configure.in b/configure.in
index ac41e84..1a1601c 100644
--- a/configure.in
+++ b/configure.in
@@ -372,14 +372,9 @@ if test "x$with_zcrypt" != "xno"; then
])
if test "x$with_zcrypt" != "xno"; then
- AC_CHECK_LIB([ep11], [m_init],
- [with_zcrypt=yes], [
- if test "x$with_zcrypt" != "xcheck"; then
- AC_MSG_ERROR([Build with zcrypt requested but zcrypt libraries couldn't be found])
- fi
- with_zcrypt=no
- ])
+ with_zcrypt=no
fi
+
if test "x$with_zcrypt" = "xno"; then
CFLAGS="$old_cflags"
LIBS="$old_libs"
--
1.7.12.4
++++++ ocki-3.1_06_0004-The-asm-zcrypt.h-header-file-uses-some-std-int-types.patch ++++++
>From 11e808223faa9c334858e38acacf277079264beb Mon Sep 17 00:00:00 2001
From: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
Date: Mon, 14 Apr 2014 12:02:48 -0500
Subject: [PATCH 4/6] The asm/zcrypt.h header file uses some std int types and
so the stdint.h include statement should occur before
the zcrypt header file.
Signed-off-by: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
---
usr/lib/pkcs11/ep11_stdll/ep11_specific.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
index 0eea8c9..373be5b 100644
--- a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
+++ b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
@@ -296,6 +296,7 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#include <stdint.h>
#include "pkcs11types.h"
#include "defs.h"
@@ -314,7 +315,6 @@
#include <lber.h>
#include <asm/zcrypt.h>
#include <syslog.h>
-#include <stdint.h>
#include <dlfcn.h>
#include <lber.h>
--
1.7.12.4
++++++ ocki-3.1_06_0005-Small-reworks.patch ++++++
>From b0fc36e0e1fd549164a2502213163ce23d2f0138 Mon Sep 17 00:00:00 2001
From: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
Date: Mon, 14 Apr 2014 13:13:11 -0500
Subject: [PATCH 5/6] Small reworks: - Some of the ock testcase c files are
tracked by git as 755. Fixed, c code files should
appear 644 now. - pkcs11 misc_func test improved to
show not just the mechanism number but also the
(preprocessor defined) mechanism name. - misc speed
test rsa encrypt receive buffer increased so the
"buffer size too small" is fixed now. - misc speed test
rsa uses now an exponent value of 17 (0x01,0x00,0x01)
instead of 3 (0x03). Some tokens (eg. ep11) do not
allow such low exponents and reject RSA key
generation.
Signed-off-by: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
Signed-off-by: Joy Latten <jmlatten(a)linux.vnet.ibm.com>
---
testcases/misc_tests/speed.c | 14 ++++++++------
testcases/pkcs11/misc_func.c | 3 ++-
2 files changed, 10 insertions(+), 7 deletions(-)
mode change 100755 => 100644 testcases/crypto/aes_func.c
mode change 100755 => 100644 testcases/crypto/des3_func.c
mode change 100755 => 100644 testcases/crypto/des_func.c
mode change 100755 => 100644 testcases/crypto/digest_func.c
mode change 100755 => 100644 testcases/crypto/dsa_func.c
mode change 100755 => 100644 testcases/crypto/rsa_func.c
mode change 100755 => 100644 testcases/crypto/ssl3_func.c
mode change 100755 => 100644 testcases/pkcs11/misc_func.c
mode change 100755 => 100644 testcases/pkcs11/sess_mgmt.c
mode change 100755 => 100644 testcases/pkcs11/sess_perf.c
diff --git a/testcases/crypto/aes_func.c b/testcases/crypto/aes_func.c
old mode 100755
new mode 100644
diff --git a/testcases/crypto/des3_func.c b/testcases/crypto/des3_func.c
old mode 100755
new mode 100644
diff --git a/testcases/crypto/des_func.c b/testcases/crypto/des_func.c
old mode 100755
new mode 100644
diff --git a/testcases/crypto/digest_func.c b/testcases/crypto/digest_func.c
old mode 100755
new mode 100644
diff --git a/testcases/crypto/dsa_func.c b/testcases/crypto/dsa_func.c
old mode 100755
new mode 100644
diff --git a/testcases/crypto/rsa_func.c b/testcases/crypto/rsa_func.c
old mode 100755
new mode 100644
diff --git a/testcases/crypto/ssl3_func.c b/testcases/crypto/ssl3_func.c
old mode 100755
new mode 100644
diff --git a/testcases/misc_tests/speed.c b/testcases/misc_tests/speed.c
index 102ba72..5df3169 100755
--- a/testcases/misc_tests/speed.c
+++ b/testcases/misc_tests/speed.c
@@ -60,6 +60,7 @@ long speed_process_time(SYSTEMTIME t1, SYSTEMTIME t2)
int do_RSA_PKCS_EncryptDecrypt( void )
{
CK_BYTE data1[100];
+ CK_BYTE data2[200];
CK_BYTE signature[256];
CK_SLOT_ID slot_id;
CK_SESSION_HANDLE session;
@@ -69,14 +70,14 @@ int do_RSA_PKCS_EncryptDecrypt( void )
CK_BYTE user_pin[PKCS11_MAX_PIN_LEN];
CK_ULONG user_pin_len;
CK_ULONG i;
- CK_ULONG len1, sig_len;
+ CK_ULONG len1, len2, sig_len;
CK_RV rc;
SYSTEMTIME t1, t2;
CK_ULONG diff, min_time, max_time, avg_time;
CK_ULONG bits = 1024;
- CK_BYTE pub_exp[] = { 0x3 };
+ CK_BYTE pub_exp[] = { 0x01, 0x00, 0x01 };
CK_ATTRIBUTE pub_tmpl[] =
{
@@ -190,7 +191,8 @@ int do_RSA_PKCS_EncryptDecrypt( void )
return FALSE;
}
- rc = funcs->C_Decrypt( session, signature,sig_len,data1, &len1 );
+ len2 = sizeof(data2);
+ rc = funcs->C_Decrypt( session, signature, sig_len, data2, &len2 );
if (rc != CKR_OK) {
show_error(" C_Decrypt #1", rc );
return FALSE;
@@ -259,7 +261,7 @@ int do_RSA_KeyGen_2048( void )
{
SYSTEMTIME t1, t2;
CK_ULONG bits = 2048;
- CK_BYTE pub_exp[] = { 0x3 };
+ CK_BYTE pub_exp[] = { 0x01, 0x00, 0x01 };
CK_ATTRIBUTE pub_tmpl[] =
{
@@ -368,7 +370,7 @@ int do_RSA_KeyGen_1024( void )
{
SYSTEMTIME t1, t2;
CK_ULONG bits = 1024;
- CK_BYTE pub_exp[] = { 0x3 };
+ CK_BYTE pub_exp[] = { 0x01, 0x00, 0x01 };
CK_ATTRIBUTE pub_tmpl[] =
{
@@ -468,7 +470,7 @@ int do_RSA_PKCS_SignVerify_1024( void )
CK_ULONG diff, min_time, max_time, avg_time;
CK_ULONG bits = 1024;
- CK_BYTE pub_exp[] = { 0x3 };
+ CK_BYTE pub_exp[] = { 0x01, 0x00, 0x01 };
CK_ATTRIBUTE pub_tmpl[] =
{
diff --git a/testcases/pkcs11/misc_func.c b/testcases/pkcs11/misc_func.c
old mode 100755
new mode 100644
index 8103649..d6619fd
--- a/testcases/pkcs11/misc_func.c
+++ b/testcases/pkcs11/misc_func.c
@@ -602,7 +602,8 @@ CK_RV do_GetMechanismInfo( void )
return rc;
}
- printf(" Mechanism #%ld\n", mech_list[i] );
+ printf(" Mechanism #%ld %s\n", mech_list[i],
+ p11_get_ckm(mech_list[i]) );
printf(" ulMinKeySize: %ld\n", info.ulMinKeySize );
printf(" ulMaxKeySize: %ld\n", info.ulMaxKeySize );
printf(" flags: %p\n", (void *)info.flags );
diff --git a/testcases/pkcs11/sess_mgmt.c b/testcases/pkcs11/sess_mgmt.c
old mode 100755
new mode 100644
diff --git a/testcases/pkcs11/sess_perf.c b/testcases/pkcs11/sess_perf.c
old mode 100755
new mode 100644
--
1.7.12.4
++++++ ocki-3.1_06_0006-The-31-bit-build-on-s390-showed-an-build-error-at-in.patch ++++++
>From 10f4766cd6782f3d15e42a985cdf909fe4c7762e Mon Sep 17 00:00:00 2001
From: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
Date: Tue, 15 Apr 2014 13:16:33 -0500
Subject: [PATCH 6/6] The 31 bit build on s390 showed an build error at
initialization of an static long long variable which
gets an address assigned. Fixed and tested on 31 and 64
bit.
Signed-off-by: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
---
usr/lib/pkcs11/ep11_stdll/ep11_specific.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
index 373be5b..5aa890b 100644
--- a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
+++ b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
@@ -407,9 +407,9 @@ static ep11_target_t ep11_targets;
/* defined in the makefile, ep11 library can run standalone (without HW card),
crypto algorithms are implemented in software then (no secure key) */
#ifdef EP11_STANDALONE
-unsigned long long ep11tok_target = 0x0000000100000008ull;
+static unsigned long long ep11tok_target = 0x0000000100000008ull;
#else
-unsigned long long ep11tok_target = (unsigned long long) &ep11_targets;
+static void* ep11tok_target = (void*) &ep11_targets;
#endif
/* */
--
1.7.12.4
++++++ ocki-3.1_06_0007-ep11-is-not-building-because-not-setting-with_zcrypt.patch ++++++
>From 5b8d304e050467e4acfd02dcefdcebad0e61c472 Mon Sep 17 00:00:00 2001
From: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
Date: Wed, 30 Apr 2014 11:42:29 -0500
Subject: [PATCH] ep11 is not building because not setting with_zcrypt
correctly.
Signed-off-by: Harald Freudenberger <freude(a)linux.vnet.ibm.com>
---
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.in b/configure.in
index 1a1601c..66bb329 100644
--- a/configure.in
+++ b/configure.in
@@ -372,7 +372,7 @@ if test "x$with_zcrypt" != "xno"; then
])
if test "x$with_zcrypt" != "xno"; then
- with_zcrypt=no
+ with_zcrypt=yes
fi
if test "x$with_zcrypt" = "xno"; then
--
1.7.12.4
++++++ openCryptoki-tmp.conf ++++++
# Lock directories needed by openCryptoki
D /var/lock/opencryptoki/swtok 0770 root pkcs11
D /var/lock/opencryptoki/lite 0770 root pkcs11
D /var/lock/opencryptoki/tpm 0770 root pkcs11
D /var/lock/opencryptoki/ccatok 0770 root pkcs11
D /var/lock/opencryptoki/icsf 0770 root pkcs11
D /var/lock/opencryptoki/ep11tok 0770 root pkcs11
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package multipath-tools for openSUSE:Factory checked in at 2014-09-03 18:21:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/multipath-tools (Old)
and /work/SRC/openSUSE:Factory/.multipath-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "multipath-tools"
Changes:
--------
--- /work/SRC/openSUSE:Factory/multipath-tools/multipath-tools.changes 2014-08-28 10:01:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.multipath-tools.new/multipath-tools.changes 2014-09-03 20:26:04.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Aug 29 12:00:49 CEST 2014 - hare(a)suse.de
+
+- Fixup segfault during uev_path_add() (bnc#892214)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ multipath-tools-0.5.0-sles12.diff.bz2 ++++++
--- /var/tmp/diff_new_pack.NgUjfO/_old 2014-09-03 20:26:05.000000000 +0200
+++ /var/tmp/diff_new_pack.NgUjfO/_new 2014-09-03 20:26:05.000000000 +0200
@@ -5754,7 +5754,7 @@
int cli_list_daemon (void * v, char ** reply, int * len, void * data);
int cli_list_maps (void * v, char ** reply, int * len, void * data);
diff --git a/multipathd/main.c b/multipathd/main.c
-index af93f32..872ea66 100644
+index af93f32..8edb8a0 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -88,10 +88,11 @@ struct mpath_event_param
@@ -5855,7 +5855,9 @@
ret = pathinfo(pp, conf->hwtable,
DI_ALL | DI_BLACKLIST);
- if (ret == 2) {
-+ if (ret == PATHINFO_SKIPPED) {
++ if (!ret)
++ ret = ev_add_path(pp, vecs);
++ else if (ret == PATHINFO_SKIPPED) {
+ condlog(3, "%s: remove blacklisted path",
+ uev->kernel);
i = find_slot(vecs->pathvec, (void *)pp);
@@ -5885,8 +5887,6 @@
- return 1;
}
- pp->checkint = conf->checkint;
-+ if (!ret)
-+ ret = ev_add_path(pp, vecs);
}
+ lock_cleanup_pop(vecs->lock);
+ if (pp)
@@ -7098,10 +7098,15 @@
+fi
diff --git a/rpm/multipath-tools.changes b/rpm/multipath-tools.changes
new file mode 100644
-index 0000000..ffb3cbb
+index 0000000..7cf5c94
--- /dev/null
+++ b/rpm/multipath-tools.changes
-@@ -0,0 +1,1284 @@
+@@ -0,0 +1,1289 @@
++-------------------------------------------------------------------
++Fri Aug 29 12:00:49 CEST 2014 - hare(a)suse.de
++
++- Fixup segfault during uev_path_add() (bnc#892214)
++
+-------------------------------------------------------------------
+Thu Aug 21 12:16:53 CEST 2014 - hare(a)suse.de
+
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package mtr for openSUSE:Factory checked in at 2014-09-03 18:23:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mtr (Old)
and /work/SRC/openSUSE:Factory/.mtr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mtr"
Changes:
--------
--- /work/SRC/openSUSE:Factory/mtr/mtr.changes 2014-07-29 16:48:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mtr.new/mtr.changes 2014-09-03 20:26:00.000000000 +0200
@@ -1,0 +2,12 @@
+Tue Sep 2 15:12:28 UTC 2014 - kstreitova(a)novell.com
+
+- cleaned up by spec-cleaner
+- xmtr moved from bin to sbin and use capabilities. Fixes bnc#878729
+- version bump to 0.85_p20140126:
+ * snapshot taken from Gentoo
+ * this works with gtk properly
+- refreshed patches:
+ * mtr-0.75-manxmtr.patch
+ * mtr-0.82-capabilities.patch
+
+-------------------------------------------------------------------
Old:
----
mtr-0.85.tar.gz
mtr.gif
New:
----
mtr-0.85_p20140126.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mtr.spec ++++++
--- /var/tmp/diff_new_pack.kzDxOv/_old 2014-09-03 20:26:02.000000000 +0200
+++ /var/tmp/diff_new_pack.kzDxOv/_new 2014-09-03 20:26:02.000000000 +0200
@@ -17,30 +17,28 @@
Name: mtr
+Version: 0.85_p20140126
+Release: 0
Summary: Ping and Traceroute Network Diagnostic Tool
License: GPL-2.0
Group: Productivity/Networking/Diagnostic
-Version: 0.85
-Release: 0
Url: http://www.BitWizard.nl/mtr
-
-#DL-URL: ftp://ftp.bitwizard.nl/mtr/
-Source: ftp://ftp.bitwizard.nl/mtr/%name-%version.tar.gz
+#Source: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz
+Source: http://dev.gentoo.org/~jer/%{name}-%{version}.tar.bz2
Source1: xmtr.desktop
Patch1: mtr-0.75-manmtr.patch
Patch2: mtr-0.75-manxmtr.patch
Patch3: mtr-0.75-nonvoid.patch
Patch4: mtr-0.75-sec_snprintf.patch
Patch5: mtr-0.82-capabilities.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
BuildRequires: gtk2-devel
BuildRequires: libcap-devel
BuildRequires: ncurses-devel
BuildRequires: update-desktop-files
BuildRequires: xorg-x11-devel
-Icon: mtr.gif
-PreReq: permissions
+Requires(post): permissions
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Mtr is a network diagnostic tool that combines Ping and Traceroute into
@@ -53,24 +51,13 @@
%package gtk
Summary: Ping and Traceroute Network Diagnostic Tool
Group: Productivity/Networking/Diagnostic
+Requires: xdg-utils
%description gtk
Mtr is a network diagnostic tool which combines Ping and Traceroute
into one program. This package contains mtr with a GTK interface.
You'll find the text mode version in the mtr package.
-%define _xorg7libs %_lib
-%define _xorg7libs32 lib
-%define _xorg7bin bin
-%define _xorg7mandir %_mandir
-%define _xorg7pixmaps include
-%define _xorg7libshare share
-%define _xorg7xkb /usr/share/X11/xkb
-%define _xorg7termcap /usr/lib/X11/etc
-%define _xorg7include /usr/include/xorg
-%define _xorg7fonts /usr/share/fonts
-%define _xorg7prefix /usr
-
%prep
%setup -q
cp mtr.8 xmtr.8
@@ -81,66 +68,58 @@
%patch5 -p1
%build
-aclocal -I /usr/share/aclocal
-autoconf
-automake --foreign -a
-#
-# GTK version
-CFLAGS="$RPM_OPT_FLAGS" ./configure \
- --enable-gtk2 \
- --prefix=%{_xorg7prefix}
-make && mv mtr xmtr
-make distclean
+autoreconf -vi
+
+export CFLAGS="%{optflags} -fpie -fPIE"
+export LDFLAGS="-pie -Wl,-z,relro,-z,now"
+
+%configure \
+ --enable-ipv6 \
+ --with-gtk \
+ --disable-gtktest
+make %{?_smp_mflags}
+mv mtr xmtr
+make distclean %{?_smp_mflags}
#
# console version
-export CFLAGS="$RPM_OPT_FLAGS -fpie -fPIE"
-export LDFLAGS="-pie -Wl,-z,relro,-z,now"
-./configure \
- --prefix=/usr \
- --mandir=%{_mandir} \
+%configure \
+ --enable-ipv6 \
--without-gtk
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
%install
-mkdir -p $RPM_BUILD_ROOT/usr/sbin
-mkdir -p $RPM_BUILD_ROOT/usr/%{_xorg7bin}
-mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
-make DESTDIR=$RPM_BUILD_ROOT install
-install -m 4755 xmtr $RPM_BUILD_ROOT/usr/%{_xorg7bin}
-install -m 644 xmtr.8 $RPM_BUILD_ROOT/%{_mandir}/man8
-install -d -m 755 $RPM_BUILD_ROOT/usr/%{_xorg7pixmaps}/X11/pixmaps/
-install -m 644 img/mtr_icon.xpm $RPM_BUILD_ROOT/usr/%{_xorg7pixmaps}/X11/pixmaps/xmtr_icon.xpm
-install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps/
-install -m 644 img/mtr_icon.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/xmtr_icon.xpm
+mkdir -p %{buildroot}%{_sbindir}
+mkdir -p %{buildroot}/%{_mandir}/man8
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+install -m 4755 xmtr %{buildroot}%{_sbindir}
+install -m 644 xmtr.8 %{buildroot}/%{_mandir}/man8
+install -d -m 755 %{buildroot}%{_includedir}/X11/pixmaps/
+install -m 644 img/mtr_icon.xpm %{buildroot}%{_includedir}/X11/pixmaps/xmtr_icon.xpm
+install -d -m 755 %{buildroot}%{_datadir}/pixmaps/
+install -m 644 img/mtr_icon.xpm %{buildroot}%{_datadir}/pixmaps/xmtr_icon.xpm
%suse_update_desktop_file -i xmtr Network Monitor
%files
%defattr(-,root,root)
%doc AUTHORS COPYING FORMATS NEWS README SECURITY TODO
%doc %{_mandir}/man8/mtr.8*
-%if 0%{?suse_version} <= 1130
-%verify(not mode) %attr(755,root,dialout) /usr/sbin/mtr
-%else
-%verify(not mode caps) %attr(750,root,dialout) /usr/sbin/mtr
-%endif
+%verify(not mode caps) %attr(750,root,dialout) %{_sbindir}/mtr
%files gtk
%defattr(-,root,root)
%doc AUTHORS COPYING FORMATS NEWS README SECURITY TODO
%doc %{_mandir}/man8/xmtr.8*
-%attr(755,root,root) /usr/%{_xorg7bin}/xmtr
-/usr/%{_xorg7pixmaps}/X11/pixmaps
-/usr/share/applications/*
-/usr/share/pixmaps/*
+%verify(not mode caps) %attr(750,root,dialout) %{_sbindir}/xmtr
+%{_includedir}/X11/pixmaps
+%{_datadir}/applications/*
+%{_datadir}/pixmaps/*
%post
-%if 0%{?suse_version} <= 1130
-%run_permissions
-%else
-%set_permissions /usr/sbin/mtr
-%endif
+%set_permissions %{_sbindir}/mtr
+%set_permissions %{_sbindir}/xmtr
%verifyscript
-%verify_permissions -e /usr/sbin/mtr
+%verify_permissions -e %{_sbindir}/mtr
+%verify_permissions -e %{_sbindir}/xmtr
%changelog
++++++ mtr-0.75-manxmtr.patch ++++++
--- /var/tmp/diff_new_pack.kzDxOv/_old 2014-09-03 20:26:02.000000000 +0200
+++ /var/tmp/diff_new_pack.kzDxOv/_new 2014-09-03 20:26:02.000000000 +0200
@@ -1,11 +1,9 @@
----
- xmtr.8 | 34 +++++++++++++++++-----------------
- 1 file changed, 17 insertions(+), 17 deletions(-)
-
-Index: mtr-0.85/xmtr.8
-===================================================================
---- mtr-0.85.orig/xmtr.8
-+++ mtr-0.85/xmtr.8
+Common subdirectories: mtr-0.85_p20140126.old/autom4te.cache and mtr-0.85_p20140126/autom4te.cache
+Common subdirectories: mtr-0.85_p20140126.old/.git and mtr-0.85_p20140126/.git
+Common subdirectories: mtr-0.85_p20140126.old/img and mtr-0.85_p20140126/img
+diff -u mtr-0.85_p20140126.old/xmtr.8 mtr-0.85_p20140126/xmtr.8
+--- mtr-0.85_p20140126.old/xmtr.8 2014-09-02 17:04:06.150994889 +0200
++++ mtr-0.85_p20140126/xmtr.8 2014-09-02 17:03:26.838590899 +0200
@@ -2,11 +2,11 @@
@@ -18,9 +16,9 @@
-.B mtr
+.B xmtr
[\c
- .B \-hvrctglspeniuTP46\c
+ .B \-BfhvrctglxspQemniuTP46\c
]
-@@ -69,7 +69,7 @@ mtr \- a network diagnostic tool
+@@ -87,7 +87,7 @@
.SH DESCRIPTION
@@ -29,7 +27,7 @@
combines the functionality of the
.B traceroute
and
-@@ -78,9 +78,9 @@ programs in a single network diagnostic
+@@ -96,9 +96,9 @@
.PP
As
@@ -40,8 +38,8 @@
+.B xmtr
runs on and
.BR HOSTNAME .
- by sending packets with purposely low TTLs. It continues to send
-@@ -111,7 +111,7 @@ Print the summary of command line argume
+ by sending packets with purposely low TTLs. It continues to send
+@@ -129,7 +129,7 @@
.TP
.B \-\-version
.br
@@ -50,7 +48,7 @@
.TP
.B \-r
-@@ -119,11 +119,11 @@ Print the installed version of mtr.
+@@ -137,11 +137,11 @@
.B \-\-report
.br
This option puts
@@ -64,7 +62,7 @@
will run for the number of cycles specified by the
.B \-c
option, and then print statistics and exit.
-@@ -131,9 +131,9 @@ option, and then print statistics and ex
+@@ -149,9 +149,9 @@
\c
This mode is useful for generating statistics about network quality.
Note that each running instance of
@@ -76,7 +74,7 @@
to measure the quality of your network may result in decreased
network performance.
-@@ -176,7 +176,7 @@ packet size upto that number.
+@@ -194,7 +194,7 @@
.B \-\-curses
.br
Use this option to force
@@ -85,7 +83,16 @@
to use the curses based terminal
interface (if available).
-@@ -196,7 +196,7 @@ that are encoded in the response packets
+@@ -204,7 +204,7 @@
+ .B \-\-mpls
+ .br
+ Use this option to tell
+-.B mtr
++.B xmtr
+ to display information from ICMP extensions for MPLS (RFC 4950)
+ that are encoded in the response packets.
+
+@@ -214,7 +214,7 @@
.B \-\-no-dns
.br
Use this option to force
@@ -94,7 +101,7 @@
to display numeric IP numbers and not try to resolve the
host names.
-@@ -248,10 +248,10 @@ Example:
+@@ -266,10 +266,10 @@
.B \-\-gtk
.br
Use this option to force
@@ -107,7 +114,7 @@
was built for this to work. See the GTK+ web page at
.B http://www.gtk.org/
for more information about GTK+.
-@@ -262,7 +262,7 @@ for more information about GTK+.
+@@ -280,7 +280,7 @@
.B \-\-split
.br
Use this option to set
@@ -116,16 +123,7 @@
to spit out a format that is suitable for a split-user interface.
.TP
-@@ -271,7 +271,7 @@ to spit out a format that is suitable fo
- .B \-\-raw
- .br
- Use this option to tell
--.B mtr
-+.B xmtr
- to use the raw output format. This format is better suited for
- archival of the measurement results. It could be parsed to
- be presented into any of the other display methods.
-@@ -337,7 +337,7 @@ Use IPv6 only.
+@@ -398,7 +398,7 @@
Some modern routers give a lower priority to ICMP ECHO packets than
to other network traffic. Consequently, the reliability of these
routers reported by
++++++ mtr-0.82-capabilities.patch ++++++
--- /var/tmp/diff_new_pack.kzDxOv/_old 2014-09-03 20:26:02.000000000 +0200
+++ /var/tmp/diff_new_pack.kzDxOv/_new 2014-09-03 20:26:02.000000000 +0200
@@ -1,13 +1,8 @@
----
- configure.ac | 4 ++++
- mtr.c | 15 +++++++++++++++
- 2 files changed, 19 insertions(+)
-
-Index: mtr-0.85/configure.ac
-===================================================================
---- mtr-0.85.orig/configure.ac
-+++ mtr-0.85/configure.ac
-@@ -26,6 +26,10 @@ AC_CHECK_HEADERS(socket.h sys/socket.h s
+Common subdirectories: mtr-0.85_p20140126.old/autom4te.cache and mtr-0.85_p20140126/autom4te.cache
+diff -u mtr-0.85_p20140126.old/configure.ac mtr-0.85_p20140126/configure.ac
+--- mtr-0.85_p20140126.old/configure.ac 2014-09-02 16:58:46.951616922 +0200
++++ mtr-0.85_p20140126/configure.ac 2014-09-02 17:06:50.288651060 +0200
+@@ -26,6 +26,10 @@
AC_CHECK_LIB(termcap, tgetent)
AC_CHECK_LIB(tinfo, tgetent)
@@ -18,12 +13,13 @@
AC_CHECK_FUNC(initscr, ,
AC_CHECK_LIB(ncurses, initscr, ,
AC_CHECK_LIB(curses, initscr, ,
-Index: mtr-0.85/mtr.c
-===================================================================
---- mtr-0.85.orig/mtr.c
-+++ mtr-0.85/mtr.c
+Common subdirectories: mtr-0.85_p20140126.old/.git and mtr-0.85_p20140126/.git
+Common subdirectories: mtr-0.85_p20140126.old/img and mtr-0.85_p20140126/img
+diff -u mtr-0.85_p20140126.old/mtr.c mtr-0.85_p20140126/mtr.c
+--- mtr-0.85_p20140126.old/mtr.c 2014-09-02 16:58:46.951616922 +0200
++++ mtr-0.85_p20140126/mtr.c 2014-09-02 17:06:50.288651060 +0200
@@ -46,6 +46,9 @@
- #endif
+ #include "asn.h"
#include "version.h"
+#ifdef HAVE_CAPABILITIES
@@ -32,7 +28,7 @@
#ifdef ENABLE_IPV6
#define DEFAULT_AF AF_UNSPEC
-@@ -524,6 +527,18 @@ int main(int argc, char **argv)
+@@ -530,6 +533,18 @@
exit( EXIT_FAILURE );
}
++++++ xmtr.desktop ++++++
--- /var/tmp/diff_new_pack.kzDxOv/_old 2014-09-03 20:26:02.000000000 +0200
+++ /var/tmp/diff_new_pack.kzDxOv/_new 2014-09-03 20:26:02.000000000 +0200
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
-Exec=xmtr
+Exec=/usr/bin/xdg-su -c /usr/sbin/xmtr
Icon=xmtr_icon
Name=Xmtr
GenericName=Network Diagnostic Tool
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package mozc for openSUSE:Factory checked in at 2014-09-03 18:22:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mozc (Old)
and /work/SRC/openSUSE:Factory/.mozc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mozc"
Changes:
--------
--- /work/SRC/openSUSE:Factory/mozc/mozc.changes 2014-06-24 15:16:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mozc.new/mozc.changes 2014-09-03 20:25:39.000000000 +0200
@@ -1,0 +2,18 @@
+Sun Aug 31 04:28:41 UTC 2014 - ftake(a)geeko.jp
+
+- Upstream update to 1.15.1868.102
+ * Fix 'Set input mode to X' commands do not work
+ during "Direct Input" mode
+- Upstream update to 1.15.1856.102
+ * Several internal changes and changes for other platforms
+- Upstream update to 1.15.1834.102
+ * Use Ninja for building
+- Upstream update to 1.15.1814.102
+ * Fix wring key mapping for Numpad-End in mozc.el
+ * Fix dropping candidats unexpectedly
+ * Fix preceding text is not correctly extracted by ibus-mozc
+ * Fix undo-commit (MS IME keybind) is not functional in ibus-mozc
+- Update fcitx-mozc
+- Update gyp to r1957
+
+-------------------------------------------------------------------
Old:
----
fcitx-mozc.tar.bz2
gyp-r1829.tar.bz2
mozc-1.15.1785.102.tar.bz2
New:
----
fcitx-mozc-20140713.tar.bz2
gyp-r1957.tar.xz
japanese_usage_dictionary-r10.tar.xz
mozc-1.15.1868.102.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mozc.spec ++++++
--- /var/tmp/diff_new_pack.BBo1Uv/_old 2014-09-03 20:25:41.000000000 +0200
+++ /var/tmp/diff_new_pack.BBo1Uv/_new 2014-09-03 20:25:41.000000000 +0200
@@ -30,34 +30,46 @@
%define zinnia_model_path %{_datadir}/zinnia/model/tomoe/handwriting-ja.model
Name: mozc
-Version: 1.15.1785.102
+Version: 1.15.1868.102
Release: 0
Summary: Mozc - Japanese Input Method for Chromium OS, Mac and Linux
License: BSD-3-Clause and SUSE-Public-Domain
Group: System/I18n/Japanese
Url: http://code.google.com/p/mozc
-Source0: %{name}-%{version}.tar.bz2
+# svn export http://mozc.googlecode.com/svn/trunk/src/@r318 mozc
+Source0: %{name}-%{version}.tar.xz
Source1: README.SUSE
+
# gyp is not included from 1.11.1522.102
# License: BSD-3-Clause
-# svn export http://gyp.googlecode.com/svn/trunk/@r1829 gyp
-Source3: gyp-r1829.tar.bz2
+# svn export http://gyp.googlecode.com/svn/trunk/@r1957 gyp
+Source3: gyp-r1957.tar.xz
+#
Source4: ibus-setup-mozc-jp.desktop.in
+#
+# svn export http://japanese-usage-dictionary.googlecode.com/svn/trunk/@r10
+# japanese-usage-dictionary
+# License: BSD-2-Clause
+Source5: japanese_usage_dictionary-r10.tar.xz
+#
# jigyosyo.zip and ken_all.zip are zip-code--address data provided by
# Japan Post Co., Ltd.
# License: SUSE-Public-Domain
Source10: jigyosyo.zip
Source11: ken_all.zip
+#
%if %{with_fcitx}
# add fcitx as mozc module
# License: BSD-3-Clause
-Source20: fcitx-mozc.tar.bz2
+Source20: fcitx-mozc-20140713.tar.bz2
Source21: fcitx-mozc-icons.tar.gz
%endif
+
# PATCH-FEATURE-OPENSUSE ftake(a)geeko.jp
Patch3: ibus-provide-layout-variations.patch
+BuildRequires: ninja >= 1.4
BuildRequires: pkgconfig
BuildRequires: protobuf-devel
BuildRequires: python
@@ -130,9 +142,12 @@
cp %{SOURCE1} .
-# extract gyp
+# install third_party files
pushd third_party
+# gyp
tar xvf %{SOURCE3}
+# japanese_usage_dictionary
+tar xvf %{SOURCE5}
popd
# extract fcitx-mozc
@@ -142,6 +157,7 @@
popd
%endif
+# fix installation path
sed -e 's|@libdir@|%{_libdir}|g' %{SOURCE4} > ibus-setup-mozc-jp.desktop
# prepare zip code dictionary
@@ -162,7 +178,6 @@
export GYP_DEFINES='ibus_mozc_path=%{ibus_mozc_path} ibus_mozc_icon_path=%{ibus_mozc_icon_path} use_libprotobuf=1 document_dir=%{document_dir} zinnia_model_file=%{zinnia_model_path} release_extra_cflags="'$flags'"'
python build_mozc.py gyp --server_dir=%{_libdir}/mozc
-python build_mozc.py build_tools -c %{target} %{?_smp_mflags}
python build_mozc.py build -c %{target} %{?_smp_mflags} \
unix/ibus/ibus.gyp:ibus_mozc \
%if %{with_fcitx}
@@ -180,9 +195,8 @@
install -m755 -d %{buildroot}%{_libdir}/ibus-mozc
install -m755 %{output_dir}/ibus_mozc %{buildroot}%{_libdir}/ibus-mozc/ibus-engine-mozc
install -m755 -d %{buildroot}%{_datadir}/ibus/component
-install -m644 %{output_dir}/obj/gen/unix/ibus/mozc.xml %{buildroot}%{_datadir}/ibus/component/mozc.xml
+install -m644 %{output_dir}/gen/unix/ibus/mozc.xml %{buildroot}%{_datadir}/ibus/component/mozc.xml
install -m755 -d %{buildroot}%{_datadir}/ibus-mozc
-#{__install} -m755 -d %{buildroot}%{_datadir}/ibus-mozc/setup
install -m644 data/images/unix/ime_product_icon_opensource-32.png %{buildroot}%{_datadir}/ibus-mozc/product_icon.png
install -m644 data/images/unix/ui-tool.png %{buildroot}%{_datadir}/ibus-mozc/tool.png
install -m644 data/images/unix/ui-properties.png %{buildroot}%{_datadir}/ibus-mozc/properties.png
@@ -196,19 +210,19 @@
install -m755 -d %{buildroot}%{_datadir}/applications
install -m644 ibus-setup-mozc-jp.desktop %{buildroot}%{_datadir}/applications/ibus-setup-mozc-jp.desktop
-%suse_update_desktop_file ibus-setup-mozc-jp System Utility settings
+%suse_update_desktop_file ibus-setup-mozc-jp System X-SuSE-Core-System
# for provide-layout-variations patch
ln -s ibus-setup-mozc-jp.desktop %{buildroot}%{_datadir}/applications/ibus-setup-mozc-jp-jp.desktop
-%suse_update_desktop_file ibus-setup-mozc-jp-jp System Utility settings
+%suse_update_desktop_file ibus-setup-mozc-jp-jp System X-SuSE-Core-System
ln -s ibus-setup-mozc-jp.desktop %{buildroot}%{_datadir}/applications/ibus-setup-mozc-us.desktop
-%suse_update_desktop_file ibus-setup-mozc-us System Utility settings
+%suse_update_desktop_file ibus-setup-mozc-us System X-SuSE-Core-System
ln -s ibus-setup-mozc-jp.desktop %{buildroot}%{_datadir}/applications/ibus-setup-mozc-dv.desktop
-%suse_update_desktop_file ibus-setup-mozc-dv System Utility settings
+%suse_update_desktop_file ibus-setup-mozc-dv System X-SuSE-Core-System
%if %{with_fcitx}
# Install Fcitx module
-for mofile in out_linux/Release/obj/gen/unix/fcitx/po/*.mo
+for mofile in out_linux/Release/gen/unix/fcitx/po/*.mo
do
filename=`basename $mofile`
lang=${filename/.mo/}
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package lxappearance for openSUSE:Factory checked in at 2014-09-03 18:22:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lxappearance (Old)
and /work/SRC/openSUSE:Factory/.lxappearance.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxappearance"
Changes:
--------
--- /work/SRC/openSUSE:Factory/lxappearance/lxappearance.changes 2014-01-23 15:49:14.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.lxappearance.new/lxappearance.changes 2014-09-03 20:22:50.000000000 +0200
@@ -2 +2,6 @@
-Thu Jan 9 20:22:36 UTC 2014 - jcsl(a)eresmas.com
+Wed Aug 27 09:59:26 UTC 2014 - trcs(a)gmx.com
+
+- applied spec-cleaner
+
+-------------------------------------------------------------------
+Thu Jan 9 20:22:36 UTC 2014 - trcs(a)gmx.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lxappearance.spec ++++++
--- /var/tmp/diff_new_pack.sH02vC/_old 2014-09-03 20:22:52.000000000 +0200
+++ /var/tmp/diff_new_pack.sH02vC/_new 2014-09-03 20:22:52.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package lxappearance
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,17 @@
Name: lxappearance
+Version: 0.5.5
+Release: 0
Summary: It's a desktop-independent theme switcher for GTK+
License: GPL-2.0
Group: System/GUI/LXDE
-Version: 0.5.5
-Release: 0
Url: http://www.lxde.org/
-Source0: %name-%version.tar.xz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Source0: %{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: dbus-1-devel
+BuildRequires: dbus-1-glib-devel
BuildRequires: docbook-utils
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
@@ -43,10 +44,9 @@
BuildRequires: perl-XML-Parser
BuildRequires: pkg-config
BuildRequires: update-desktop-files
-BuildRequires: dbus-1-devel
-BuildRequires: dbus-1-glib-devel
-Recommends: %name-lang
-Recommends: %name-obconf
+Recommends: %{name}-lang
+Recommends: %{name}-obconf
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
LXAppearance is part of LXDE project.
@@ -55,12 +55,13 @@
%package devel
Summary: Lxappearance development files
Group: Development/Libraries/C and C++
-Requires: %name = %version
+Requires: %{name} = %{version}
%description devel
Development files to build lxappearance plugins
%lang_package
+
%prep
%setup -q
@@ -69,47 +70,42 @@
--enable-dbus \
--disable-static \
--sysconfdir=/etc
-%__make %{?jobs:-j%{jobs}} V=1
+make %{?_smp_mflags} V=1
%install
-%makeinstall
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
# own the pugins dir so that we don't need it
# for each plugin we will install later
-mkdir -p %buildroot/%_libdir/lxappearance/plugins
-%suse_update_desktop_file %name
+mkdir -p %{buildroot}/%{_libdir}/lxappearance/plugins
+%suse_update_desktop_file %{name}
%fdupes -s %{buildroot}
-%find_lang %name
-
-%clean
-rm -fr %buildroot
-
-%if 0%{?suse_version} >= 1140
+%find_lang %{name}
%post
%desktop_database_post
%postun
%desktop_database_postun
-%endif
%files
%defattr(-,root,root)
-%_bindir/%name
-%_datadir/applications/%name.desktop
-%dir %_datadir/%name
-%dir %_datadir/%name/ui
-%_datadir/%name/ui/lxappearance.ui
-%_datadir/%name/ui/about.ui
-%_mandir/man1/%name.1.gz
-%dir %_libdir/lxappearance
-%dir %_libdir/lxappearance/plugins
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/ui
+%{_datadir}/%{name}/ui/lxappearance.ui
+%{_datadir}/%{name}/ui/about.ui
+%{_mandir}/man1/%{name}.1.gz
+%dir %{_libdir}/lxappearance
+%dir %{_libdir}/lxappearance/plugins
%files devel
%defattr(-,root,root)
-%dir %_includedir/%name
-%_includedir/%name/%name.h
-%_libdir/pkgconfig/%name.pc
+%dir %{_includedir}/%{name}
+%{_includedir}/%{name}/%{name}.h
+%{_libdir}/pkgconfig/%{name}.pc
-%files lang -f %name.lang
+%files lang -f %{name}.lang
+%defattr(-,root,root)
%changelog
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libvirt for openSUSE:Factory checked in at 2014-09-03 18:23:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvirt (Old)
and /work/SRC/openSUSE:Factory/.libvirt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvirt"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libvirt/libvirt.changes 2014-08-25 11:04:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libvirt.new/libvirt.changes 2014-09-03 20:20:41.000000000 +0200
@@ -1,0 +2,23 @@
+Tue Sep 2 09:17:06 MDT 2014 - jfehlig(a)suse.com
+
+- Update to libvirt 1.2.8
+ - virDomainBlockCopy with XML destination, typed params
+ - Introduce API for retrieving bulk domain stats
+ - Introduce virDomainOpenGraphicsFD API
+ - Many incremental improvements and bug fixes, see
+ http://libvirt.org/news.html
+
+-------------------------------------------------------------------
+Mon Sep 1 14:48:26 UTC 2014 - cbosdonnat(a)suse.com
+
+- bnc#893999: remove mount rules from libvirt-lxc apparmor
+ abstraction file as those aren't handled by our kernel.
+ apparmor-no-mount.patch
+
+-------------------------------------------------------------------
+Fri Aug 29 16:12:28 UTC 2014 - mlatimer(a)suse.com
+
+- bnc#894232 - Update apparmor profile to allow raw packets
+ install-apparmor-profiles.patch
+
+-------------------------------------------------------------------
Old:
----
libvirt-1.2.7.tar.bz2
New:
----
apparmor-no-mount.patch
libvirt-1.2.8.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libvirt.spec ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -235,7 +235,7 @@
Name: libvirt
Url: http://libvirt.org/
-Version: 1.2.7
+Version: 1.2.8
Release: 0
Summary: Library providing a simple virtualization API
License: LGPL-2.1+
@@ -307,6 +307,7 @@
BuildRequires: libxml2-devel
BuildRequires: libxslt
BuildRequires: ncurses-devel
+BuildRequires: perl
BuildRequires: python
BuildRequires: python-xml
BuildRequires: readline-devel
@@ -447,6 +448,7 @@
Patch208: disable-virCgroupGetPercpuStats-test.patch
%if %{with_apparmor}
Patch250: install-apparmor-profiles.patch
+Patch251: apparmor-no-mount.patch
%endif
%if %{with_netcontrol}
Patch300: libvirt-suse-netcontrol.patch
@@ -961,6 +963,7 @@
%patch208 -p1
%if %{with_apparmor}
%patch250 -p1
+%patch251 -p1
%endif
%if %{with_netcontrol}
%patch300 -p1
@@ -1356,7 +1359,7 @@
%post daemon
/sbin/ldconfig
%if %{with_systemd}
-%service_add_post libvirtd.service
+%service_add_post libvirtd.service libvirtd.socket
%service_add_post virtlockd.service virtlockd.socket
%endif
%{fillup_only -n libvirtd}
@@ -1364,7 +1367,7 @@
%preun daemon
%if %{with_systemd}
-%service_del_preun libvirtd.service
+%service_del_preun libvirtd.service libvirtd.socket
%service_del_preun virtlockd.service virtlockd.socket
%else
%stop_on_removal libvirtd
@@ -1436,6 +1439,7 @@
%{_localstatedir}/adm/fillup-templates/sysconfig.virtlockd
%if %{with_systemd}
%{_unitdir}/libvirtd.service
+%{_unitdir}/libvirtd.socket
%{_unitdir}/virtlockd.service
%{_unitdir}/virtlockd.socket
%else
@@ -1684,6 +1688,8 @@
%files daemon-driver-vbox
%defattr(-, root, root)
%{_libdir}/%{name}/connection-driver/libvirt_driver_vbox.so
+%{_libdir}/%{name}/connection-driver/libvirt_driver_vbox_network.so
+%{_libdir}/%{name}/connection-driver/libvirt_driver_vbox_storage.so
%endif
%endif # with_driver_modules
++++++ apparmor-no-mount.patch ++++++
Index: libvirt-1.2.8/examples/apparmor/libvirt-lxc
===================================================================
--- libvirt-1.2.8.orig/examples/apparmor/libvirt-lxc
+++ libvirt-1.2.8/examples/apparmor/libvirt-lxc
@@ -2,39 +2,15 @@
#include <abstractions/base>
- umount,
-
- # ignore DENIED message on / remount
- deny mount options=(ro, remount) -> /,
-
- # allow tmpfs mounts everywhere
- mount fstype=tmpfs,
-
- # allow mqueue mounts everywhere
- mount fstype=mqueue,
-
- # allow fuse mounts everywhere
- mount fstype=fuse.*,
-
- # deny writes in /proc/sys/fs but allow binfmt_misc to be mounted
- mount fstype=binfmt_misc -> /proc/sys/fs/binfmt_misc/,
+ # deny writes in /proc/sys/fs
deny @{PROC}/sys/fs/** wklx,
- # allow efivars to be mounted, writing to it will be blocked though
- mount fstype=efivarfs -> /sys/firmware/efi/efivars/,
-
# block some other dangerous paths
deny @{PROC}/sysrq-trigger rwklx,
deny @{PROC}/mem rwklx,
deny @{PROC}/kmem rwklx,
- # deny writes in /sys except for /sys/fs/cgroup, also allow
- # fusectl, securityfs and debugfs to be mounted there (read-only)
- mount fstype=fusectl -> /sys/fs/fuse/connections/,
- mount fstype=securityfs -> /sys/kernel/security/,
- mount fstype=debugfs -> /sys/kernel/debug/,
- mount fstype=proc -> /proc/,
- mount fstype=sysfs -> /sys/,
+ # deny writes in /sys
deny /sys/firmware/efi/efivars/** rwklx,
deny /sys/kernel/security/** rwklx,
++++++ blockcopy-check-dst-identical-device.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -11,11 +11,11 @@
src/qemu/qemu_driver.c | 7 +++++++
1 file changed, 7 insertions(+)
-Index: libvirt-1.2.7/src/qemu/qemu_driver.c
+Index: libvirt-1.2.8/src/qemu/qemu_driver.c
===================================================================
---- libvirt-1.2.7.orig/src/qemu/qemu_driver.c
-+++ libvirt-1.2.7/src/qemu/qemu_driver.c
-@@ -15330,6 +15330,13 @@ qemuDomainBlockCopy(virDomainObjPtr vm,
+--- libvirt-1.2.8.orig/src/qemu/qemu_driver.c
++++ libvirt-1.2.8/src/qemu/qemu_driver.c
+@@ -15357,6 +15357,13 @@ qemuDomainBlockCopy(virDomainObjPtr vm,
}
/* Prepare the destination file. */
++++++ disable-virCgroupGetPercpuStats-test.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,7 +1,7 @@
-Index: libvirt-1.2.7/tests/vircgrouptest.c
+Index: libvirt-1.2.8/tests/vircgrouptest.c
===================================================================
---- libvirt-1.2.7.orig/tests/vircgrouptest.c
-+++ libvirt-1.2.7/tests/vircgrouptest.c
+--- libvirt-1.2.8.orig/tests/vircgrouptest.c
++++ libvirt-1.2.8/tests/vircgrouptest.c
@@ -33,7 +33,6 @@
# include "virlog.h"
# include "virfile.h"
++++++ fix-pci-attach-xen-driver.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -8,10 +8,10 @@
This patch changes the xend driver to always call 'device_configure' for
PCI devices to be consistent with the usage in the xen tools.
-Index: libvirt-1.2.7/src/xen/xend_internal.c
+Index: libvirt-1.2.8/src/xen/xend_internal.c
===================================================================
---- libvirt-1.2.7.orig/src/xen/xend_internal.c
-+++ libvirt-1.2.7/src/xen/xend_internal.c
+--- libvirt-1.2.8.orig/src/xen/xend_internal.c
++++ libvirt-1.2.8/src/xen/xend_internal.c
@@ -2221,6 +2221,7 @@ xenDaemonAttachDeviceFlags(virConnectPtr
virBuffer buf = VIR_BUFFER_INITIALIZER;
char class[8], ref[80];
++++++ install-apparmor-profiles.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,7 +1,7 @@
-Index: libvirt-1.2.7/examples/apparmor/Makefile.am
+Index: libvirt-1.2.8/examples/apparmor/Makefile.am
===================================================================
---- libvirt-1.2.7.orig/examples/apparmor/Makefile.am
-+++ libvirt-1.2.7/examples/apparmor/Makefile.am
+--- libvirt-1.2.8.orig/examples/apparmor/Makefile.am
++++ libvirt-1.2.8/examples/apparmor/Makefile.am
@@ -19,10 +19,22 @@ EXTRA_DIST= \
TEMPLATE.lxc \
libvirt-qemu \
@@ -27,10 +27,10 @@
apparmordir = $(sysconfdir)/apparmor.d/
apparmor_DATA = \
usr.lib.libvirt.virt-aa-helper \
-Index: libvirt-1.2.7/examples/apparmor/usr.lib.libvirt.virt-aa-helper.in
+Index: libvirt-1.2.8/examples/apparmor/usr.lib.libvirt.virt-aa-helper.in
===================================================================
--- /dev/null
-+++ libvirt-1.2.7/examples/apparmor/usr.lib.libvirt.virt-aa-helper.in
++++ libvirt-1.2.8/examples/apparmor/usr.lib.libvirt.virt-aa-helper.in
@@ -0,0 +1,48 @@
+# Last Modified: Mon Apr 5 15:10:27 2010
+#include <tunables/global>
@@ -80,11 +80,11 @@
+ /**.[iI][sS][oO] r,
+ /**/disk{,.*} r,
+}
-Index: libvirt-1.2.7/examples/apparmor/usr.sbin.libvirtd.in
+Index: libvirt-1.2.8/examples/apparmor/usr.sbin.libvirtd.in
===================================================================
--- /dev/null
-+++ libvirt-1.2.7/examples/apparmor/usr.sbin.libvirtd.in
-@@ -0,0 +1,67 @@
++++ libvirt-1.2.8/examples/apparmor/usr.sbin.libvirtd.in
+@@ -0,0 +1,68 @@
+# Last Modified: Mon Apr 5 15:03:58 2010
+#include <tunables/global>
+@{LIBVIRT}="libvirt"
@@ -120,6 +120,7 @@
+ network inet6 stream,
+ network inet6 dgram,
+ network packet dgram,
++ network packet raw,
+
+ # Very lenient profile for libvirtd since we want to first focus on confining
+ # the guests. Guests will have a very restricted profile.
@@ -152,9 +153,9 @@
+ change_profile -> @{LIBVIRT}-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*,
+
+}
-Index: libvirt-1.2.7/examples/apparmor/usr.lib.libvirt.virt-aa-helper
+Index: libvirt-1.2.8/examples/apparmor/usr.lib.libvirt.virt-aa-helper
===================================================================
---- libvirt-1.2.7.orig/examples/apparmor/usr.lib.libvirt.virt-aa-helper
+--- libvirt-1.2.8.orig/examples/apparmor/usr.lib.libvirt.virt-aa-helper
+++ /dev/null
@@ -1,48 +0,0 @@
-# Last Modified: Mon Apr 5 15:10:27 2010
@@ -205,9 +206,9 @@
- /**.[iI][sS][oO] r,
- /**/disk{,.*} r,
-}
-Index: libvirt-1.2.7/examples/apparmor/usr.sbin.libvirtd
+Index: libvirt-1.2.8/examples/apparmor/usr.sbin.libvirtd
===================================================================
---- libvirt-1.2.7.orig/examples/apparmor/usr.sbin.libvirtd
+--- libvirt-1.2.8.orig/examples/apparmor/usr.sbin.libvirtd
+++ /dev/null
@@ -1,63 +0,0 @@
-# Last Modified: Mon Apr 5 15:03:58 2010
++++++ libvirt-1.2.7.tar.bz2 -> libvirt-1.2.8.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/libvirt/libvirt-1.2.7.tar.bz2 /work/SRC/openSUSE:Factory/.libvirt.new/libvirt-1.2.8.tar.bz2 differ: char 11, line 1
++++++ libvirt-guests-init-script.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,9 +1,9 @@
Adjust libvirt-guests init files to conform to SUSE standards
-Index: libvirt-1.2.7/tools/libvirt-guests.init.in
+Index: libvirt-1.2.8/tools/libvirt-guests.init.in
===================================================================
---- libvirt-1.2.7.orig/tools/libvirt-guests.init.in
-+++ libvirt-1.2.7/tools/libvirt-guests.init.in
+--- libvirt-1.2.8.orig/tools/libvirt-guests.init.in
++++ libvirt-1.2.8/tools/libvirt-guests.init.in
@@ -3,15 +3,15 @@
# the following is the LSB init header
#
@@ -28,10 +28,10 @@
### END INIT INFO
# the following is chkconfig init header
-Index: libvirt-1.2.7/tools/libvirt-guests.sh.in
+Index: libvirt-1.2.8/tools/libvirt-guests.sh.in
===================================================================
---- libvirt-1.2.7.orig/tools/libvirt-guests.sh.in
-+++ libvirt-1.2.7/tools/libvirt-guests.sh.in
+--- libvirt-1.2.8.orig/tools/libvirt-guests.sh.in
++++ libvirt-1.2.8/tools/libvirt-guests.sh.in
@@ -16,14 +16,13 @@
# License along with this library. If not, see
# <http://www.gnu.org/licenses/>.
@@ -189,10 +189,10 @@
esac
-exit $RETVAL
+rc_exit
-Index: libvirt-1.2.7/tools/libvirt-guests.sysconf
+Index: libvirt-1.2.8/tools/libvirt-guests.sysconf
===================================================================
---- libvirt-1.2.7.orig/tools/libvirt-guests.sysconf
-+++ libvirt-1.2.7/tools/libvirt-guests.sysconf
+--- libvirt-1.2.8.orig/tools/libvirt-guests.sysconf
++++ libvirt-1.2.8/tools/libvirt-guests.sysconf
@@ -1,19 +1,29 @@
+## Path: System/Virtualization/libvirt-guests
+
++++++ libvirt-power8-models.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,6 +1,8 @@
---- a/src/cpu/cpu_map.xml 2014/08/19 16:05:34 1.1
-+++ b/src/cpu/cpu_map.xml 2014/08/19 16:06:53
-@@ -614,5 +614,15 @@
+Index: libvirt-1.2.8/src/cpu/cpu_map.xml
+===================================================================
+--- libvirt-1.2.8.orig/src/cpu/cpu_map.xml
++++ libvirt-1.2.8/src/cpu/cpu_map.xml
+@@ -627,5 +627,15 @@
<pvr value='0x004b0100'/>
</model>
++++++ libvirt-ppc64le-support.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,6 +1,8 @@
---- a/src/conf/domain_conf.c
-+++ b/src/conf/domain_conf.c
-@@ -9515,7 +9515,8 @@
+Index: libvirt-1.2.8/src/conf/domain_conf.c
+===================================================================
+--- libvirt-1.2.8.orig/src/conf/domain_conf.c
++++ libvirt-1.2.8/src/conf/domain_conf.c
+@@ -9690,7 +9690,8 @@ virDomainVideoDefaultType(const virDomai
(STREQ(def->os.type, "xen") ||
STREQ(def->os.type, "linux")))
return VIR_DOMAIN_VIDEO_TYPE_XEN;
@@ -10,8 +12,10 @@
return VIR_DOMAIN_VIDEO_TYPE_VGA;
else
return VIR_DOMAIN_VIDEO_TYPE_CIRRUS;
---- a/src/cpu/cpu_powerpc.c
-+++ b/src/cpu/cpu_powerpc.c
+Index: libvirt-1.2.8/src/cpu/cpu_powerpc.c
+===================================================================
+--- libvirt-1.2.8.orig/src/cpu/cpu_powerpc.c
++++ libvirt-1.2.8/src/cpu/cpu_powerpc.c
@@ -38,7 +38,7 @@
VIR_LOG_INIT("cpu.cpu_powerpc");
@@ -21,9 +25,11 @@
struct ppc_vendor {
char *name;
---- a/src/qemu/qemu_capabilities.c
-+++ b/src/qemu/qemu_capabilities.c
-@@ -624,7 +624,8 @@
+Index: libvirt-1.2.8/src/qemu/qemu_capabilities.c
+===================================================================
+--- libvirt-1.2.8.orig/src/qemu/qemu_capabilities.c
++++ libvirt-1.2.8/src/qemu/qemu_capabilities.c
+@@ -631,7 +631,8 @@ virQEMUCapsProbeCPUModels(virQEMUCapsPtr
if (qemuCaps->arch == VIR_ARCH_I686 ||
qemuCaps->arch == VIR_ARCH_X86_64)
parse = virQEMUCapsParseX86Models;
@@ -33,7 +39,7 @@
parse = virQEMUCapsParsePPCModels;
else {
VIR_DEBUG("don't know how to parse %s CPU models",
-@@ -1984,7 +1985,8 @@
+@@ -1996,7 +1997,8 @@ bool virQEMUCapsHasPCIMultiBus(virQEMUCa
return true;
if (def->os.arch == VIR_ARCH_PPC ||
@@ -43,7 +49,7 @@
/*
* Usage of pci.0 naming:
*
-@@ -3551,7 +3553,9 @@
+@@ -3567,7 +3569,9 @@ virQEMUCapsSupportsChardev(virDomainDefP
!virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE))
return false;
@@ -54,9 +60,11 @@
/* only pseries need -device spapr-vty with -chardev */
return (chr->deviceType == VIR_DOMAIN_CHR_DEVICE_TYPE_SERIAL &&
chr->info.type == VIR_DOMAIN_DEVICE_ADDRESS_TYPE_SPAPRVIO);
---- a/src/qemu/qemu_command.c
-+++ b/src/qemu/qemu_command.c
-@@ -722,7 +722,8 @@
+Index: libvirt-1.2.8/src/qemu/qemu_command.c
+===================================================================
+--- libvirt-1.2.8.orig/src/qemu/qemu_command.c
++++ libvirt-1.2.8/src/qemu/qemu_command.c
+@@ -703,7 +703,8 @@ qemuSetSCSIControllerModel(virDomainDefP
return -1;
}
} else {
@@ -66,7 +74,7 @@
STREQ(def->os.machine, "pseries")) {
*model = VIR_DOMAIN_CONTROLLER_MODEL_SCSI_IBMVSCSI;
} else if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_SCSI_LSI)) {
-@@ -1269,7 +1270,8 @@
+@@ -1250,7 +1251,8 @@ int qemuDomainAssignSpaprVIOAddresses(vi
for (i = 0; i < def->nserials; i++) {
if (def->serials[i]->deviceType == VIR_DOMAIN_CHR_DEVICE_TYPE_SERIAL &&
@@ -76,7 +84,7 @@
STREQ(def->os.machine, "pseries"))
def->serials[i]->info.type = VIR_DOMAIN_DEVICE_ADDRESS_TYPE_SPAPRVIO;
if (qemuAssignSpaprVIOAddress(def, &def->serials[i]->info,
-@@ -1278,7 +1280,8 @@
+@@ -1259,7 +1261,8 @@ int qemuDomainAssignSpaprVIOAddresses(vi
}
if (def->nvram) {
@@ -86,7 +94,7 @@
STREQ(def->os.machine, "pseries"))
def->nvram->info.type = VIR_DOMAIN_DEVICE_ADDRESS_TYPE_SPAPRVIO;
if (qemuAssignSpaprVIOAddress(def, &def->nvram->info,
-@@ -4097,7 +4100,8 @@
+@@ -4147,7 +4150,8 @@ qemuBuildUSBControllerDevStr(virDomainDe
model = def->model;
if (model == -1) {
@@ -96,7 +104,7 @@
model = VIR_DOMAIN_CONTROLLER_MODEL_USB_PCI_OHCI;
else
model = VIR_DOMAIN_CONTROLLER_MODEL_USB_PIIX3_UHCI;
-@@ -8066,7 +8070,8 @@
+@@ -8176,7 +8180,8 @@ qemuBuildCommandLine(virConnectPtr conn,
!qemuDomainMachineIsQ35(def) &&
(!virQEMUCapsGet(qemuCaps, QEMU_CAPS_PIIX3_USB_UHCI) ||
(!virQEMUCapsGet(qemuCaps, QEMU_CAPS_PCI_OHCI) &&
@@ -106,7 +114,7 @@
if (usblegacy) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("Multiple legacy USB controllers are "
-@@ -9256,7 +9261,8 @@
+@@ -9366,7 +9371,8 @@ qemuBuildCommandLine(virConnectPtr conn,
}
if (def->nvram) {
@@ -116,7 +124,7 @@
STREQ(def->os.machine, "pseries")) {
if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_NVRAM)) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-@@ -9368,7 +9374,8 @@
+@@ -9478,7 +9484,8 @@ qemuBuildSerialChrDeviceStr(char **devic
{
virBuffer cmd = VIR_BUFFER_INITIALIZER;
@@ -126,7 +134,7 @@
if (serial->deviceType == VIR_DOMAIN_CHR_DEVICE_TYPE_SERIAL &&
serial->info.type == VIR_DOMAIN_DEVICE_ADDRESS_TYPE_SPAPRVIO) {
virBufferAsprintf(&cmd, "spapr-vty,chardev=char%s",
-@@ -9791,7 +9798,8 @@
+@@ -9900,7 +9907,8 @@ qemuParseCommandLineDisk(virDomainXMLOpt
if (VIR_ALLOC(def->src) < 0)
goto error;
@@ -136,7 +144,7 @@
dom->os.machine && STREQ(dom->os.machine, "pseries")))
def->bus = VIR_DOMAIN_DISK_BUS_SCSI;
else
-@@ -9883,7 +9891,8 @@
+@@ -9992,7 +10000,8 @@ qemuParseCommandLineDisk(virDomainXMLOpt
} else if (STREQ(keywords[i], "if")) {
if (STREQ(values[i], "ide")) {
def->bus = VIR_DOMAIN_DISK_BUS_IDE;
@@ -146,7 +154,7 @@
dom->os.machine && STREQ(dom->os.machine, "pseries"))) {
virReportError(VIR_ERR_INTERNAL_ERROR,
_("pseries systems do not support ide devices '%s'"), val);
-@@ -11121,7 +11130,8 @@
+@@ -11233,7 +11242,8 @@ qemuParseCommandLine(virCapsPtr qemuCaps
disk->src->type = VIR_STORAGE_TYPE_FILE;
if (STREQ(arg, "-cdrom")) {
disk->device = VIR_DOMAIN_DISK_DEVICE_CDROM;
@@ -156,7 +164,7 @@
def->os.machine && STREQ(def->os.machine, "pseries")))
disk->bus = VIR_DOMAIN_DISK_BUS_SCSI;
if (VIR_STRDUP(disk->dst, "hdc") < 0)
-@@ -11137,7 +11147,8 @@
+@@ -11249,7 +11259,8 @@ qemuParseCommandLine(virCapsPtr qemuCaps
disk->bus = VIR_DOMAIN_DISK_BUS_IDE;
else
disk->bus = VIR_DOMAIN_DISK_BUS_SCSI;
@@ -166,9 +174,11 @@
def->os.machine && STREQ(def->os.machine, "pseries")))
disk->bus = VIR_DOMAIN_DISK_BUS_SCSI;
}
---- a/src/qemu/qemu_domain.c
-+++ b/src/qemu/qemu_domain.c
-@@ -754,6 +754,7 @@
+Index: libvirt-1.2.8/src/qemu/qemu_domain.c
+===================================================================
+--- libvirt-1.2.8.orig/src/qemu/qemu_domain.c
++++ libvirt-1.2.8/src/qemu/qemu_domain.c
+@@ -754,6 +754,7 @@ qemuDomainDefPostParse(virDomainDefPtr d
break;
case VIR_ARCH_PPC64:
++++++ libvirt-suse-netcontrol.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,7 +1,7 @@
-Index: libvirt-1.2.7/configure.ac
+Index: libvirt-1.2.8/configure.ac
===================================================================
---- libvirt-1.2.7.orig/configure.ac
-+++ libvirt-1.2.7/configure.ac
+--- libvirt-1.2.8.orig/configure.ac
++++ libvirt-1.2.8/configure.ac
@@ -237,6 +237,7 @@ LIBVIRT_CHECK_FUSE
LIBVIRT_CHECK_GLUSTER
LIBVIRT_CHECK_HAL
@@ -10,7 +10,7 @@
LIBVIRT_CHECK_NUMACTL
LIBVIRT_CHECK_OPENWSMAN
LIBVIRT_CHECK_PCIACCESS
-@@ -2409,11 +2410,12 @@ if test "$with_libvirtd" = "no" ; then
+@@ -2454,11 +2455,12 @@ if test "$with_libvirtd" = "no" ; then
with_interface=no
fi
@@ -26,7 +26,7 @@
esac
if test "$with_interface" = "yes" ; then
-@@ -2834,6 +2836,7 @@ LIBVIRT_RESULT_FUSE
+@@ -2880,6 +2882,7 @@ LIBVIRT_RESULT_FUSE
LIBVIRT_RESULT_GLUSTER
LIBVIRT_RESULT_HAL
LIBVIRT_RESULT_NETCF
@@ -34,11 +34,11 @@
LIBVIRT_RESULT_NUMACTL
LIBVIRT_RESULT_OPENWSMAN
LIBVIRT_RESULT_PCIACCESS
-Index: libvirt-1.2.7/src/Makefile.am
+Index: libvirt-1.2.8/src/Makefile.am
===================================================================
---- libvirt-1.2.7.orig/src/Makefile.am
-+++ libvirt-1.2.7/src/Makefile.am
-@@ -820,6 +820,10 @@ if WITH_NETCF
+--- libvirt-1.2.8.orig/src/Makefile.am
++++ libvirt-1.2.8/src/Makefile.am
+@@ -823,6 +823,10 @@ if WITH_NETCF
INTERFACE_DRIVER_SOURCES += \
interface/interface_backend_netcf.c
endif WITH_NETCF
@@ -49,7 +49,7 @@
if WITH_UDEV
INTERFACE_DRIVER_SOURCES += \
interface/interface_backend_udev.c
-@@ -1416,10 +1420,15 @@ if WITH_NETCF
+@@ -1458,10 +1462,15 @@ if WITH_NETCF
libvirt_driver_interface_la_CFLAGS += $(NETCF_CFLAGS)
libvirt_driver_interface_la_LIBADD += $(NETCF_LIBS)
else ! WITH_NETCF
@@ -65,10 +65,10 @@
endif ! WITH_NETCF
if WITH_DRIVER_MODULES
libvirt_driver_interface_la_LIBADD += ../gnulib/lib/libgnu.la
-Index: libvirt-1.2.7/tools/virsh.c
+Index: libvirt-1.2.8/tools/virsh.c
===================================================================
---- libvirt-1.2.7.orig/tools/virsh.c
-+++ libvirt-1.2.7/tools/virsh.c
+--- libvirt-1.2.8.orig/tools/virsh.c
++++ libvirt-1.2.8/tools/virsh.c
@@ -3320,6 +3320,8 @@ vshShowVersion(vshControl *ctl ATTRIBUTE
vshPrint(ctl, " Interface");
# if defined(WITH_NETCF)
@@ -78,10 +78,10 @@
# elif defined(WITH_UDEV)
vshPrint(ctl, " udev");
# endif
-Index: libvirt-1.2.7/src/interface/interface_backend_netcf.c
+Index: libvirt-1.2.8/src/interface/interface_backend_netcf.c
===================================================================
---- libvirt-1.2.7.orig/src/interface/interface_backend_netcf.c
-+++ libvirt-1.2.7/src/interface/interface_backend_netcf.c
+--- libvirt-1.2.8.orig/src/interface/interface_backend_netcf.c
++++ libvirt-1.2.8/src/interface/interface_backend_netcf.c
@@ -23,7 +23,12 @@
#include <config.h>
@@ -165,10 +165,10 @@
return 0;
}
-Index: libvirt-1.2.7/src/interface/interface_driver.c
+Index: libvirt-1.2.8/src/interface/interface_driver.c
===================================================================
---- libvirt-1.2.7.orig/src/interface/interface_driver.c
-+++ libvirt-1.2.7/src/interface/interface_driver.c
+--- libvirt-1.2.8.orig/src/interface/interface_driver.c
++++ libvirt-1.2.8/src/interface/interface_driver.c
@@ -30,8 +30,15 @@ interfaceRegister(void)
if (netcfIfaceRegister() == 0)
return 0;
@@ -186,10 +186,10 @@
if (udevIfaceRegister() == 0)
return 0;
#endif /* WITH_UDEV */
-Index: libvirt-1.2.7/m4/virt-netcontrol.m4
+Index: libvirt-1.2.8/m4/virt-netcontrol.m4
===================================================================
--- /dev/null
-+++ libvirt-1.2.7/m4/virt-netcontrol.m4
++++ libvirt-1.2.8/m4/virt-netcontrol.m4
@@ -0,0 +1,35 @@
+dnl The libnetcontrol library
+dnl
++++++ libvirtd-defaults.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,7 +1,7 @@
-Index: libvirt-1.2.7/daemon/libvirtd.conf
+Index: libvirt-1.2.8/daemon/libvirtd.conf
===================================================================
---- libvirt-1.2.7.orig/daemon/libvirtd.conf
-+++ libvirt-1.2.7/daemon/libvirtd.conf
+--- libvirt-1.2.8.orig/daemon/libvirtd.conf
++++ libvirt-1.2.8/daemon/libvirtd.conf
@@ -18,8 +18,8 @@
# It is necessary to setup a CA and issue server certificates before
# using this capability.
@@ -13,10 +13,10 @@
# Listen for unencrypted TCP connections on the public TCP/IP port.
# NB, must pass the --listen flag to the libvirtd process for this to
-Index: libvirt-1.2.7/daemon/libvirtd-config.c
+Index: libvirt-1.2.8/daemon/libvirtd-config.c
===================================================================
---- libvirt-1.2.7.orig/daemon/libvirtd-config.c
-+++ libvirt-1.2.7/daemon/libvirtd-config.c
+--- libvirt-1.2.8.orig/daemon/libvirtd-config.c
++++ libvirt-1.2.8/daemon/libvirtd-config.c
@@ -229,7 +229,7 @@ daemonConfigNew(bool privileged ATTRIBUT
if (VIR_ALLOC(data) < 0)
return NULL;
@@ -26,10 +26,10 @@
data->listen_tcp = 0;
if (VIR_STRDUP(data->tls_port, LIBVIRTD_TLS_PORT) < 0 ||
-Index: libvirt-1.2.7/daemon/test_libvirtd.aug.in
+Index: libvirt-1.2.8/daemon/test_libvirtd.aug.in
===================================================================
---- libvirt-1.2.7.orig/daemon/test_libvirtd.aug.in
-+++ libvirt-1.2.7/daemon/test_libvirtd.aug.in
+--- libvirt-1.2.8.orig/daemon/test_libvirtd.aug.in
++++ libvirt-1.2.8/daemon/test_libvirtd.aug.in
@@ -2,7 +2,7 @@ module Test_libvirtd =
::CONFIG::
++++++ libvirtd-init-script.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,9 +1,9 @@
Adjust libvirtd sysconfig file to conform to SUSE standards
-Index: libvirt-1.2.7/daemon/libvirtd.sysconf
+Index: libvirt-1.2.8/daemon/libvirtd.sysconf
===================================================================
---- libvirt-1.2.7.orig/daemon/libvirtd.sysconf
-+++ libvirt-1.2.7/daemon/libvirtd.sysconf
+--- libvirt-1.2.8.orig/daemon/libvirtd.sysconf
++++ libvirt-1.2.8/daemon/libvirtd.sysconf
@@ -1,16 +1,25 @@
+## Path: System/Virtualization/libvirt
+
++++++ support-managed-pci-xen-driver.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -8,10 +8,68 @@
src/xenxs/xen_xm.c | 28 +++++++++++++++++++++++++++-
2 files changed, 35 insertions(+), 15 deletions(-)
-Index: libvirt-1.2.7/src/xenxs/xen_sxpr.c
+Index: libvirt-1.2.8/src/xenconfig/xen_common.c
===================================================================
---- libvirt-1.2.7.orig/src/xenxs/xen_sxpr.c
-+++ libvirt-1.2.7/src/xenxs/xen_sxpr.c
+--- libvirt-1.2.8.orig/src/xenconfig/xen_common.c
++++ libvirt-1.2.8/src/xenconfig/xen_common.c
+@@ -401,6 +401,8 @@ xenParsePCI(virConfPtr conf, virDomainDe
+ {
+ virConfValuePtr list = virConfGetValue(conf, "pci");
+ virDomainHostdevDefPtr hostdev = NULL;
++ char *opt;
++ int managed = 0;
+
+ if (list && list->type == VIR_CONF_LIST) {
+ list = list->list;
+@@ -422,6 +424,11 @@ xenParsePCI(virConfPtr conf, virDomainDe
+ /* pci=['0000:00:1b.0','0000:00:13.0'] */
+ if (!(key = list->str))
+ goto skippci;
++
++ opt = strchr(key, ',');
++ if (opt)
++ opt++;
++
+ if (!(nextkey = strchr(key, ':')))
+ goto skippci;
+ if (virStrncpy(domain, key, (nextkey - key), sizeof(domain)) == NULL) {
+@@ -465,10 +472,31 @@ xenParsePCI(virConfPtr conf, virDomainDe
+ goto skippci;
+ if (virStrToLong_i(func, NULL, 16, &funcID) < 0)
+ goto skippci;
++
++ if (opt) {
++ char opt_managed[2];
++ char *data;
++
++ opt_managed[0] = '\0';
++ data = strchr(opt, '=');
++ data++;
++
++ if (STRPREFIX(opt, "managed=")) {
++ if (virStrncpy(opt_managed, data, 1, sizeof(opt_managed)) == NULL) {
++ virReportError(VIR_ERR_INTERNAL_ERROR,
++ _("managed option %s too big for destination"),
++ data);
++ goto skippci;
++ }
++ }
++ if (virStrToLong_i(opt_managed, NULL, 10, &managed) < 0)
++ goto skippci;
++ }
++
+ if (!(hostdev = virDomainHostdevDefAlloc()))
+ return -1;
+
+- hostdev->managed = false;
++ hostdev->managed = managed ? true : false;
+ hostdev->source.subsys.type = VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI;
+ hostdev->source.subsys.u.pci.addr.domain = domainID;
+ hostdev->source.subsys.u.pci.addr.bus = busID;
+Index: libvirt-1.2.8/src/xenconfig/xen_sxpr.c
+===================================================================
+--- libvirt-1.2.8.orig/src/xenconfig/xen_sxpr.c
++++ libvirt-1.2.8/src/xenconfig/xen_sxpr.c
@@ -997,6 +997,7 @@ xenParseSxprPCI(virDomainDefPtr def,
int busID;
int slotID;
@@ -78,60 +136,3 @@
xenFormatSxprPCI(def->hostdevs[i], buf);
}
}
-Index: libvirt-1.2.7/src/xenxs/xen_xm.c
-===================================================================
---- libvirt-1.2.7.orig/src/xenxs/xen_xm.c
-+++ libvirt-1.2.7/src/xenxs/xen_xm.c
-@@ -815,6 +815,8 @@ xenParseXM(virConfPtr conf, int xendConf
- int busID;
- int slotID;
- int funcID;
-+ char *opt;
-+ int managed = 0;
-
- domain[0] = bus[0] = slot[0] = func[0] = '\0';
-
-@@ -824,6 +826,11 @@ xenParseXM(virConfPtr conf, int xendConf
- /* pci=['0000:00:1b.0','0000:00:13.0'] */
- if (!(key = list->str))
- goto skippci;
-+
-+ opt = strchr(key, ',');
-+ if (opt)
-+ opt++;
-+
- if (!(nextkey = strchr(key, ':')))
- goto skippci;
-
-@@ -872,10 +879,30 @@ xenParseXM(virConfPtr conf, int xendConf
- if (virStrToLong_i(func, NULL, 16, &funcID) < 0)
- goto skippci;
-
-+ if (opt) {
-+ char opt_managed[2];
-+ char *data;
-+
-+ opt_managed[0] = '\0';
-+ data = strchr(opt, '=');
-+ data++;
-+
-+ if (STRPREFIX(opt, "managed=")) {
-+ if (virStrncpy(opt_managed, data, 1, sizeof(opt_managed)) == NULL) {
-+ virReportError(VIR_ERR_INTERNAL_ERROR,
-+ _("managed option %s too big for destination"),
-+ data);
-+ goto skippci;
-+ }
-+ }
-+ if (virStrToLong_i(opt_managed, NULL, 10, &managed) < 0)
-+ goto skippci;
-+ }
-+
- if (!(hostdev = virDomainHostdevDefAlloc()))
- goto cleanup;
-
-- hostdev->managed = false;
-+ hostdev->managed = managed ? true : false;
- hostdev->source.subsys.type = VIR_DOMAIN_HOSTDEV_SUBSYS_TYPE_PCI;
- hostdev->source.subsys.u.pci.addr.domain = domainID;
- hostdev->source.subsys.u.pci.addr.bus = busID;
++++++ suse-qemu-conf.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,7 +1,7 @@
-Index: libvirt-1.2.7/src/qemu/qemu.conf
+Index: libvirt-1.2.8/src/qemu/qemu.conf
===================================================================
---- libvirt-1.2.7.orig/src/qemu/qemu.conf
-+++ libvirt-1.2.7/src/qemu/qemu.conf
+--- libvirt-1.2.8.orig/src/qemu/qemu.conf
++++ libvirt-1.2.8/src/qemu/qemu.conf
@@ -200,7 +200,16 @@
# a special value; security_driver can be set to that value in
# isolation, but it cannot appear in a list of drivers.
++++++ systemd-service-xen.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,8 +1,8 @@
-Index: libvirt-1.2.7/daemon/libvirtd.service.in
+Index: libvirt-1.2.8/daemon/libvirtd.service.in
===================================================================
---- libvirt-1.2.7.orig/daemon/libvirtd.service.in
-+++ libvirt-1.2.7/daemon/libvirtd.service.in
-@@ -10,6 +10,8 @@ After=network.target
+--- libvirt-1.2.8.orig/daemon/libvirtd.service.in
++++ libvirt-1.2.8/daemon/libvirtd.service.in
+@@ -5,6 +5,8 @@ After=network.target
After=dbus.service
After=iscsid.service
After=apparmor.service
++++++ virtlockd-init-script.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,9 +1,9 @@
Adjust virtlockd init files to conform to SUSE standards
-Index: libvirt-1.2.7/src/locking/virtlockd.sysconf
+Index: libvirt-1.2.8/src/locking/virtlockd.sysconf
===================================================================
---- libvirt-1.2.7.orig/src/locking/virtlockd.sysconf
-+++ libvirt-1.2.7/src/locking/virtlockd.sysconf
+--- libvirt-1.2.8.orig/src/locking/virtlockd.sysconf
++++ libvirt-1.2.8/src/locking/virtlockd.sysconf
@@ -1,3 +1,7 @@
+## Path: System/Virtualization/virtlockd
+
@@ -12,10 +12,10 @@
#
# Pass extra arguments to virtlockd
#VIRTLOCKD_ARGS=
-Index: libvirt-1.2.7/src/locking/virtlockd.init.in
+Index: libvirt-1.2.8/src/locking/virtlockd.init.in
===================================================================
---- libvirt-1.2.7.orig/src/locking/virtlockd.init.in
-+++ libvirt-1.2.7/src/locking/virtlockd.init.in
+--- libvirt-1.2.8.orig/src/locking/virtlockd.init.in
++++ libvirt-1.2.8/src/locking/virtlockd.init.in
@@ -4,12 +4,14 @@
# http://www.linux-foundation.org/spec//booksets/LSB-Core-generic/LSB-Core-ge…
#
++++++ xen-name-for-devid.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -14,10 +14,10 @@
is inactive. We obviously can't search xenstore when the domain is
inactive.
-Index: libvirt-1.2.7/src/xen/xend_internal.c
+Index: libvirt-1.2.8/src/xen/xend_internal.c
===================================================================
---- libvirt-1.2.7.orig/src/xen/xend_internal.c
-+++ libvirt-1.2.7/src/xen/xend_internal.c
+--- libvirt-1.2.8.orig/src/xen/xend_internal.c
++++ libvirt-1.2.8/src/xen/xend_internal.c
@@ -72,7 +72,7 @@ VIR_LOG_INIT("xen.xend_internal");
#define XEND_RCV_BUF_MAX_LEN (256 * 1024)
++++++ xen-pv-cdrom.patch ++++++
--- /var/tmp/diff_new_pack.ACLMOm/_old 2014-09-03 20:20:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ACLMOm/_new 2014-09-03 20:20:43.000000000 +0200
@@ -1,7 +1,7 @@
-Index: libvirt-1.2.7/src/xenxs/xen_sxpr.c
+Index: libvirt-1.2.8/src/xenconfig/xen_sxpr.c
===================================================================
---- libvirt-1.2.7.orig/src/xenxs/xen_sxpr.c
-+++ libvirt-1.2.7/src/xenxs/xen_sxpr.c
+--- libvirt-1.2.8.orig/src/xenconfig/xen_sxpr.c
++++ libvirt-1.2.8/src/xenconfig/xen_sxpr.c
@@ -332,7 +332,7 @@ xenParseSxprChar(const char *value,
static int
xenParseSxprDisks(virDomainDefPtr def,
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package librep for openSUSE:Factory checked in at 2014-09-03 18:22:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/librep (Old)
and /work/SRC/openSUSE:Factory/.librep.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librep"
Changes:
--------
--- /work/SRC/openSUSE:Factory/librep/librep.changes 2013-01-10 15:46:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.librep.new/librep.changes 2014-09-03 20:19:12.000000000 +0200
@@ -1,0 +2,12 @@
+Mon Sep 1 07:13:15 UTC 2014 - toganm(a)opensuse.org
+
+- Update to 0.92.4
+ * Fix building librep on ARM
+
+- Packaging changes
+ * Backported from git
+ 0002-Assume-stack-direction-downwards-for-all-sparc-hppa-.patch
+
+ * Removed librep-armthumb.patch
+
+-------------------------------------------------------------------
Old:
----
librep-0.92.3.tar.xz
librep-armthumb.patch
New:
----
0002-Assume-stack-direction-downwards-for-all-sparc-hppa-.patch
librep_0.92.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ librep.spec ++++++
--- /var/tmp/diff_new_pack.GcRSdG/_old 2014-09-03 20:19:12.000000000 +0200
+++ /var/tmp/diff_new_pack.GcRSdG/_new 2014-09-03 20:19:12.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package librep
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 John Harper <john(a)dcs.warwick.ac.uk>
#
# All modifications and additions to the file contributed by third parties
@@ -18,13 +18,13 @@
Name: librep
-Version: 0.92.3
+Version: 0.92.4
Release: 0
Summary: Implementation of rep, a lisp dialect
License: GPL-2.0+
Group: Development/Languages/Scheme
Url: http://sawfish.wikia.com/wiki/Librep
-Source: http://download.tuxfamily.org/librep/%{name}-%{version}.tar.xz
+Source: http://download.tuxfamily.org/librep/%{name}_%{version}.tar.xz
BuildRequires: chrpath
BuildRequires: emacs-nox
BuildRequires: fdupes
@@ -49,8 +49,8 @@
Patch2: 0001-string-to-number.patch
# PATCH-FEATURE-OPENSUSE toganm(a)opensuse.org remove builddate to prevent unnecessary builds
Patch3: librep-remove-build_date.patch
-# PATCH-FIX-DEBIAN crrodriguez(a)opensuse.org fix build in arm thumb
-Patch4: librep-armthumb.patch
+# PATCH-FIX-UPSTREAM fix build in sparc
+Patch4: 0002-Assume-stack-direction-downwards-for-all-sparc-hppa-.patch
%description
Librep is a shared library implementing a Lisp dialect that is
@@ -96,13 +96,12 @@
removed. Also, rep only has a single namespace for symbols.
%prep
-%setup -q
+%setup -q -n %{name}_%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
-%patch4
+%patch4 -p1
%build
-sed -i 's/sparc|i?86|powerpc|x86_64|armv\*)/sparc|i?86|powerpc*|x86_64|armv*|s390*)/' configure
export CFLAGS="%{optflags} -D_GNU_SOURCE -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
export CPPFLAGS="$CFLAGS"
++++++ 0002-Assume-stack-direction-downwards-for-all-sparc-hppa-.patch ++++++
>From a6276509c54a241323b75bfeff079a340bd8f91d Mon Sep 17 00:00:00 2001
From: Christopher Roy Bratusek <nano(a)jpberlin.de>
Date: Thu, 28 Aug 2014 08:35:26 +0200
Subject: [PATCH 2/2] Assume stack-direction downwards for all sparc, hppa,
mips, mipsel, ia64 and alpha variants (fixes compilation)
Signed-off-by: madanyang <toganm(a)opensuse.org>
---
configure.in | 2 +-
debian/rules | 30 ++----------------------------
man/news.texi | 5 +++++
3 files changed, 8 insertions(+), 29 deletions(-)
diff --git a/configure.in b/configure.in
index 21f542b..a8742e6 100644
--- a/configure.in
+++ b/configure.in
@@ -536,7 +536,7 @@ AC_ARG_WITH(stack-direction,
[with_stack_direction=unknown])
if test "${with_stack_direction}" = unknown; then
case ${host_cpu} in
- sparc|i?86|powerpc*|x86_64|arm*|aarch64*|s390*)
+ sparc*|i?86*|powerpc*|x86_64*|arm*|aarch64*|s390*|hppa*|mips*|alpha*|ia64*)
AC_MSG_RESULT([assuming downwards])
with_stack_direction="-1"
;;
diff --git a/debian/rules b/debian/rules
index d724cf8..4001f6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,37 +8,11 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
DEB_PREF = $(shell gcc -print-multiarch)
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- export DEB_CFLAGS_MAINT_APPEND = -O0 -Wall -g
-else
- export DEB_CFLAGS_MAINT_APPEND = -O2 -Wall -g
-endif
-
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),m68k))
export DEB_CFLAGS_MAINT_APPEND = -Wall -g -O0
endif
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),alpha))
- ARCH_CONF = --with-stack-direction=-1
-endif
-
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),ia64))
- ARCH_CONF = --with-stack-direction=-1
-endif
-
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),mips))
- ARCH_CONF = --with-stack-direction=-1
-endif
-
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),mipsel))
- ARCH_CONF = --with-stack-direction=-1
-endif
-
-ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),armhf))
- ARCH_CONF = --with-stack-direction=-1
-endif
-
-DEB_CONFIGURE_USER_FLAGS = --with-readline $(ARCH_CONF)
+DEB_CONFIGURE_USER_FLAGS = --with-readline
dev_extras = debian/tmp -name install-aliases -o -name rep_config.h -o -name *.a -o -name *.jl
@@ -76,7 +50,7 @@ override_dh_strip:
dh_strip -a --dbg-package=librep-dbg
override_dh_makeshlibs:
- dh_makeshlibs -Xusr/lib/rep/
+ dh_makeshlibs -Xusr/lib/$(DEB_PREF)/rep/
override_dh_shlibdeps:
dh_shlibdeps -- --warnings=2
diff --git a/man/news.texi b/man/news.texi
index 9f49e2a..2a2ab7d 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -3,6 +3,11 @@
@chapter News
@cindex News
+@heading 0.92.5
+@itemize @bullet
+@item Assume stack-direction @code{downwards} for all sparc, hppa, mips, mipsel, ia64 and alpha variants (fixes compilation) [Christopher Bratusek]
+@end itemize
+
@heading 0.92.4
@itemize @bullet
--
2.1.0
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libqcow for openSUSE:Factory checked in at 2014-09-03 18:23:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqcow (Old)
and /work/SRC/openSUSE:Factory/.libqcow.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqcow"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libqcow/libqcow.changes 2014-08-25 11:03:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libqcow.new/libqcow.changes 2014-09-03 20:18:25.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Aug 25 17:37:00 UTC 2014 - Greg.Freemyer(a)gmail.com
+
+- add BuildRequires for fuse, openssl, and zlib. Allows parsing of more complex containers.
+- move %doc statement after %attr statement in python sub-package
+- add Requires: %lname = %version to python section to make sure they stay in sync
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libqcow.spec ++++++
--- /var/tmp/diff_new_pack.CySx6y/_old 2014-09-03 20:18:26.000000000 +0200
+++ /var/tmp/diff_new_pack.CySx6y/_new 2014-09-03 20:18:26.000000000 +0200
@@ -30,6 +30,7 @@
Source2: QEMU_Copy-On-Write_file_format.pdf
BuildRequires: pkg-config
BuildRequires: python-devel
+BuildRequires: pkgconfig(fuse) >= 2.6
BuildRequires: pkgconfig(libbfio) >= 20130721
BuildRequires: pkgconfig(libcaes) >= 20140731
BuildRequires: pkgconfig(libcdata) >= 20140105
@@ -41,6 +42,8 @@
BuildRequires: pkgconfig(libcsplit) >= 20130609
BuildRequires: pkgconfig(libcthreads) >= 20130723
BuildRequires: pkgconfig(libuna) >= 20120425
+BuildRequires: pkgconfig(openssl) >= 1.0
+BuildRequires: pkgconfig(zlib) >= 1.2.5
# fails to build with factory package, use internal
# verified 8/14/2014
#BuildRequires: pkgconfig(libcerror) >= 20120425
@@ -119,6 +122,7 @@
Group: Development/Libraries/Python
Requires: python
Provides: pyqcow = %{version}
+Requires: %{lname} = %{version}
%description -n python-%{name}
Python bindings for libqcow, which can read Personal Folder File (PFF)
@@ -162,8 +166,8 @@
%{_mandir}/man3/libqcow.3*
%files -n python-%{name}
-%doc AUTHORS COPYING README ChangeLog
%defattr(-,root,root)
+%doc AUTHORS COPYING README ChangeLog
%{python_sitearch}/pyqcow.so
%changelog
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libolecf for openSUSE:Factory checked in at 2014-09-03 18:22:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libolecf (Old)
and /work/SRC/openSUSE:Factory/.libolecf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libolecf"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libolecf/libolecf.changes 2014-08-21 17:25:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libolecf.new/libolecf.changes 2014-09-03 20:17:39.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Aug 28 21:46:20 UTC 2014 - Greg.Freemyer(a)gmail.com
+
+- use libfdatetime internal package. With external factory version fails testing.
+- use libcdata internal package. With external factory version fails testing.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libolecf.spec ++++++
--- /var/tmp/diff_new_pack.q4uu92/_old 2014-09-03 20:17:40.000000000 +0200
+++ /var/tmp/diff_new_pack.q4uu92/_new 2014-09-03 20:17:40.000000000 +0200
@@ -34,15 +34,16 @@
#openSUSE 13.1 has these available to build against
%if 0%{?suse_version} > 1230
BuildRequires: pkgconfig(libbfio)
-BuildRequires: pkgconfig(libcdata)
BuildRequires: pkgconfig(libcfile)
BuildRequires: pkgconfig(libclocale)
BuildRequires: pkgconfig(libcnotify)
BuildRequires: pkgconfig(libcpath)
BuildRequires: pkgconfig(libcsplit)
-BuildRequires: pkgconfig(libfdatetime)
-BuildRequires: pkgconfig(libfguid)
+BuildRequires: pkgconfig(libfguid) >= 20140103
BuildRequires: pkgconfig(libuna)
+# testing fails with external package from factory
+#BuildRequires: pkgconfig(libcdata) > 20140105
+#BuildRequires: pkgconfig(libfdatetime) > 20140105
#use the factory versions of these if building for factory
%if 0%{?suse_version} > 1310
BuildRequires: pkgconfig(libcthreads) >= 20130723
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libodraw for openSUSE:Factory checked in at 2014-09-03 18:22:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libodraw (Old)
and /work/SRC/openSUSE:Factory/.libodraw.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libodraw"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libodraw/libodraw.changes 2014-08-14 14:59:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libodraw.new/libodraw.changes 2014-09-03 20:17:31.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Aug 22 22:35:10 UTC 2014 - Greg.Freemyer(a)gmail.com
+
+- add missing BuildRequires to allow use of external packages
+ #BuildRequires: pkgconfig(libcthreads)
+- add %doc to all sub-packages
+- add Requires to tools sub-package to ensure library is the same version
+- fix %if logic to allow opensuse 12.3 builds
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libodraw.spec ++++++
--- /var/tmp/diff_new_pack.XXOUFb/_old 2014-09-03 20:17:32.000000000 +0200
+++ /var/tmp/diff_new_pack.XXOUFb/_new 2014-09-03 20:17:32.000000000 +0200
@@ -33,17 +33,22 @@
BuildRequires: pkg-config
#use factory packages if available
%if 0%{?suse_version} > 1230
-BuildRequires: pkgconfig(libcnotify) >= 20120425
-BuildRequires: pkgconfig(libcsplit) >= 20120701
-%endif
BuildRequires: pkgconfig(libbfio) >= 20120426
BuildRequires: pkgconfig(libcdata) >= 20120425
BuildRequires: pkgconfig(libcerror) >= 20120425
BuildRequires: pkgconfig(libcfile) >= 20120526
+BuildRequires: pkgconfig(libcnotify) >= 20120425
BuildRequires: pkgconfig(libcpath) >= 20120701
+BuildRequires: pkgconfig(libcsplit) >= 20120701
BuildRequires: pkgconfig(libuna) >= 20120425
+%endif
+%if 0%{?suse_version} > 1310
+BuildRequires: pkgconfig(libcthreads)
+%endif
#use internal package, factory version causes build failure
+# verified 8/22/2014
#BuildRequires: pkgconfig(libclocale) >= 20140105
+#BuildRequires: pkgconfig(libhmac)
# packages not (yet) released by upstream
#BuildRequires: pkgconfig(libcstring) >= 20120425
#BuildRequires: pkgconfig(libcsystem) >= 20120425
@@ -79,6 +84,7 @@
Summary: Utilities for reading BIN/ISO/CUE image files through libodraw
License: LGPL-3.0+
Group: Productivity/File utilities
+Requires: %lname = %version
%description tools
This subpackage contains the utility programs from libodraw, which
@@ -106,6 +112,7 @@
%files devel
%defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog
%doc CUE_*.pdf
%_includedir/libodraw*
%_libdir/libodraw.so
@@ -114,6 +121,7 @@
%files tools
%defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog
%_bindir/odrawverify
%_bindir/odrawinfo
%_mandir/man1/odrawinfo.1*
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libguestfs for openSUSE:Factory checked in at 2014-09-03 18:23:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
and /work/SRC/openSUSE:Factory/.libguestfs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libguestfs"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes 2014-07-31 21:51:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes 2014-09-03 20:15:21.000000000 +0200
@@ -1,0 +2,19 @@
+Tue Aug 26 07:20:34 UTC 2014 - ohering(a)suse.com
+
+- Update to version 1.26.8
+ * mllib: Export output_spaces function.
+ * daemon: Fix echo-daemon so it doesn't fail on empty array input.
+ * drives: fix deletion of servers on error
+ * daemon: zfile: call pclose instead of fclose
+ * utils: Add new CLEANUP_PCLOSE cleanup. It calls pclose(3).
+ * launch: direct: Only issue Debian /dev/kvm group warning if /dev/kvm wasn't openable (RHBZ#1130189).
+ * lib: Missing include of <locale.h>.
+ * python: fix possible free on uninit memory with OStringList optargs
+ * df: unlock retire_mutex on early exit
+ * daemon: use CLEANUP_CLOSE
+ * daemon: blkid: fix memory issues in "no -p/-i" mode
+ * daemon: initialize memory when handling DeviceList params
+ * rescue: fix sscanf placeholders for --smp and --memsize
+ * daemon: add and use a reply_with_unavailable_feature macro
+
+-------------------------------------------------------------------
Old:
----
libguestfs-1.26.7.tar.xz
New:
----
libguestfs-1.26.8.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libguestfs.spec ++++++
--- /var/tmp/diff_new_pack.3jqLdd/_old 2014-09-03 20:15:23.000000000 +0200
+++ /var/tmp/diff_new_pack.3jqLdd/_new 2014-09-03 20:15:23.000000000 +0200
@@ -17,7 +17,7 @@
#
-Version: 1.26.7
+Version: 1.26.8
Release: 0
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
++++++ 0000-hotfix.patch ++++++
--- /var/tmp/diff_new_pack.3jqLdd/_old 2014-09-03 20:15:23.000000000 +0200
+++ /var/tmp/diff_new_pack.3jqLdd/_new 2014-09-03 20:15:23.000000000 +0200
@@ -1,4 +1,4 @@
-From 5198e6eb6878611616458cb561545d5dc0adcc35 Mon Sep 17 00:00:00 2001
+From c977e24dec46803fe691f5da35756523e6356473 Mon Sep 17 00:00:00 2001
From: Olaf Hering <olaf(a)aepfle.de>
Date: Tue, 13 May 2014 15:31:21 +0200
Subject: hotfix
++++++ 1000-force-virtio_blk-in-old-guest-kernel.patch ++++++
--- /var/tmp/diff_new_pack.3jqLdd/_old 2014-09-03 20:15:23.000000000 +0200
+++ /var/tmp/diff_new_pack.3jqLdd/_new 2014-09-03 20:15:23.000000000 +0200
@@ -1,4 +1,4 @@
-From 6b70404b04a20323b6195d6c8cf3e09a13ed0d70 Mon Sep 17 00:00:00 2001
+From 91563687c1f1b3544c71f2f53c387c86d95b246c Mon Sep 17 00:00:00 2001
From: Olaf Hering <olaf(a)aepfle.de>
Date: Mon, 3 Sep 2012 19:50:44 +0200
Subject: force virtio_blk in old guest kernel
@@ -100,7 +100,7 @@
}
else if ((part = match1 (g, spec, re_diskbyid)) != NULL) {
diff --git a/src/launch-direct.c b/src/launch-direct.c
-index 3857f53..713282d 100644
+index eab3e89..ee286a5 100644
--- a/src/launch-direct.c
+++ b/src/launch-direct.c
@@ -1184,6 +1184,8 @@ qemu_supports_virtio_scsi (guestfs_h *g, struct backend_direct_data *data)
++++++ libguestfs-1.26.7.tar.xz -> libguestfs-1.26.8.tar.xz ++++++
++++ 17238 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0