openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- 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
November 2018
- 1 participants
- 1606 discussions
Hello community,
here is the log from the commit of package python-Twisted for openSUSE:Factory checked in at 2018-11-06 14:00:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Twisted (Old)
and /work/SRC/openSUSE:Factory/.python-Twisted.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Twisted"
Tue Nov 6 14:00:50 2018 rev:31 rq:645890 version:18.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Twisted/python-Twisted.changes 2018-07-26 10:16:28.599727636 +0200
+++ /work/SRC/openSUSE:Factory/.python-Twisted.new/python-Twisted.changes 2018-11-06 14:00:54.727724327 +0100
@@ -1,0 +2,37 @@
+Thu Nov 1 09:21:03 UTC 2018 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Version update to 18.9.0:
+ * Fixes for the 3.7 python
+- Remove merged python37.patch
+- Add patch openssl111.patch which fixes tests with new pyOpenssl
+ * Asserts changed behaviour
+
+-------------------------------------------------------------------
+Mon Oct 22 08:48:37 UTC 2018 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Do not write bytecode stuff when running the tests
+
+-------------------------------------------------------------------
+Fri Oct 19 13:27:25 UTC 2018 - Matěj Cepl <mcepl(a)suse.com>
+
+- Add BuildRequires python-tz, which seems to be required to test suite
+ to pass.
+- Also, add skip_MultiCast.patch to skip tests requiring full
+ netrworking stack.
+
+-------------------------------------------------------------------
+Fri Oct 12 09:06:36 UTC 2018 - ecsos(a)opensuse.org
+
+- Add missing Requires.
+
+-------------------------------------------------------------------
+Thu Oct 11 08:32:44 UTC 2018 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Fix the dependencies to match up upstream setup.py
+- Run the tests
+- Add patch to build with python3.7:
+ * python37.patch
+- Add missing dependency on pyamcrest
+- Remove unused patch lp1102685.diff
+
+-------------------------------------------------------------------
Old:
----
Twisted-18.7.0.tar.bz2
lp1102685.diff
New:
----
Twisted-18.9.0.tar.bz2
openssl111.patch
skip_MultiCast.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Twisted.spec ++++++
--- /var/tmp/diff_new_pack.45Db4J/_old 2018-11-06 14:00:55.671723103 +0100
+++ /var/tmp/diff_new_pack.45Db4J/_new 2018-11-06 14:00:55.675723098 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -20,37 +20,53 @@
%define oldpython python
%define modname Twisted
Name: python-Twisted
-Version: 18.7.0
+Version: 18.9.0
Release: 0
Summary: An asynchronous networking framework written in Python
License: MIT
Group: Development/Languages/Python
-Url: http://twistedmatrix.com/
+URL: http://twistedmatrix.com/
Source: https://files.pythonhosted.org/packages/source/T/Twisted/%{modname}-%{versi…
-# PATCH-FIX-UPSTREAM -- https://twistedmatrix.com/trac/ticket/6280
-Patch0: lp1102685.diff
-BuildRequires: %{python_module constantly}
+Patch1: skip_MultiCast.patch
+Patch2: openssl111.patch
+BuildRequires: %{python_module Automat >= 0.3.0}
+BuildRequires: %{python_module PyHamcrest >= 1.9.0}
+BuildRequires: %{python_module appdirs >= 1.4.0}
+BuildRequires: %{python_module attrs >= 17.4.0}
+BuildRequires: %{python_module constantly >= 15.1}
+BuildRequires: %{python_module cryptography >= 1.5}
BuildRequires: %{python_module devel}
-BuildRequires: %{python_module hyperlink}
-BuildRequires: %{python_module incremental}
-BuildRequires: %{python_module pyOpenSSL}
+BuildRequires: %{python_module h2 >= 3.0}
+BuildRequires: %{python_module hyperlink >= 17.1.1}
+BuildRequires: %{python_module idna >= 0.6}
+BuildRequires: %{python_module incremental >= 16.10.1}
+BuildRequires: %{python_module pyOpenSSL >= 16.0.0}
+BuildRequires: %{python_module pyasn1}
+BuildRequires: %{python_module pyserial >= 3.0}
BuildRequires: %{python_module pyserial}
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module python-subunit}
+BuildRequires: %{python_module pytz}
+BuildRequires: %{python_module service_identity}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module zope.interface}
+BuildRequires: %{python_module zope.interface >= 4.4.2}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Automat >= 0.3.0
+Requires: python-PyHamcrest >= 1.9.0
+Requires: python-appdirs >= 1.4.0
+Requires: python-attrs >= 17.4.0
Requires: python-constantly >= 15.1
-Requires: python-cryptography
+Requires: python-cryptography >= 1.5
+Requires: python-h2 >= 3.0
Requires: python-hyperlink >= 17.1.1
+Requires: python-idna >= 0.6
Requires: python-incremental >= 16.10.1
Requires: python-pyOpenSSL >= 16.0.0
Requires: python-pyasn1
Requires: python-pyserial >= 3.0
+Requires: python-service_identity
Requires: python-zope.interface >= 4.4.2
-Recommends: python-service_identity
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%ifpython2
Provides: %{oldpython}-twisted = %{version}
Obsoletes: %{oldpython}-twisted < %{version}
@@ -93,8 +109,7 @@
%prep
%setup -q -n %{modname}-%{version}
-#%%patch0 -p1
-#sed -i "1d" twisted/{mail/test/pop3testserver,trial/test/scripttest}.py
+%autopatch -p1
%build
%python_build
@@ -106,7 +121,7 @@
install -m0644 docs/*/man/*.1 %{buildroot}%{_mandir}/man1/ # Install man pages
find docs -type f -print0 | xargs -0 chmod a-x # Fix doc-file dependency by removing x flags
#sed -i "s/\r//" docs/core/howto/listings/udp/{MulticastClient,MulticastServer}.py
-%fdupes %{buildroot}%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
# Prepare for update-alternatives usage
for p in twistd cftp ckeygen conch pyhtmlizer tkconch trial ; do
@@ -122,12 +137,16 @@
# no manpage for twist yet:
%python_clone %{buildroot}%{_bindir}/twist
+%check
+export LANG=en_US.UTF-8
+export PATH=%{buildroot}%{_bindir}:$PATH
+export PYTHONDONTWRITEBYTECODE=1
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m twisted.trial twisted
+
%files -n %{name}-doc
-%defattr(-,root,root,-)
%doc docs/*
%files %{python_files}
-%defattr(-,root,root,-)
%license LICENSE
%doc NEWS.rst README.rst
%{_bindir}/*-%{python_bin_suffix}
++++++ Twisted-18.7.0.tar.bz2 -> Twisted-18.9.0.tar.bz2 ++++++
++++ 9290 lines of diff (skipped)
++++++ openssl111.patch ++++++
Index: Twisted-18.9.0/src/twisted/test/test_sslverify.py
===================================================================
--- Twisted-18.9.0.orig/src/twisted/test/test_sslverify.py
+++ Twisted-18.9.0/src/twisted/test/test_sslverify.py
@@ -898,21 +898,6 @@ class OpenSSLOptionsTests(OpenSSLOptions
self.assertEqual(opts._cipherString.encode('ascii'), ctx._cipherList)
- def test_givesMeaningfulErrorMessageIfNoCipherMatches(self):
- """
- If there is no valid cipher that matches the user's wishes,
- a L{ValueError} is raised.
- """
- self.assertRaises(
- ValueError,
- sslverify.OpenSSLCertificateOptions,
- privateKey=self.sKey,
- certificate=self.sCert,
- acceptableCiphers=
- sslverify.OpenSSLAcceptableCiphers.fromOpenSSLCipherString('')
- )
-
-
def test_honorsAcceptableCiphersArgument(self):
"""
If acceptable ciphers are passed, they are used.
@@ -2706,15 +2691,6 @@ class ExpandCipherStringTests(unittest.T
if skipSSL:
skip = skipSSL
- def test_doesNotStumbleOverEmptyList(self):
- """
- If the expanded cipher list is empty, an empty L{list} is returned.
- """
- self.assertEqual(
- [],
- sslverify._expandCipherString(u'', SSL.SSLv23_METHOD, 0)
- )
-
def test_doesNotSwallowOtherSSLErrors(self):
"""
++++++ skip_MultiCast.patch ++++++
--- a/src/twisted/test/test_udp.py
+++ b/src/twisted/test/test_udp.py
@@ -503,6 +503,7 @@ class ReactorShutdownInteractionTests(un
class MulticastTests(unittest.TestCase):
def setUp(self):
+ raise unittest.SkipTest("Multicast networking doesn't work with OBS")
self.server = Server()
self.client = Client()
# multicast won't work if we listen over loopback, apparently
1
0
Hello community,
here is the log from the commit of package gnome-software for openSUSE:Factory checked in at 2018-11-06 14:00:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-software (Old)
and /work/SRC/openSUSE:Factory/.gnome-software.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-software"
Tue Nov 6 14:00:40 2018 rev:58 rq:645204 version:3.30.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-software/gnome-software.changes 2018-10-17 08:20:56.498872515 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-software.new/gnome-software.changes 2018-11-06 14:00:49.851730652 +0100
@@ -1,0 +2,33 @@
+Wed Oct 24 14:11:40 UTC 2018 - bjorn.lie(a)gmail.com
+
+- Update to version 3.30.5:
+ + Fix build with appstream-glib 0.7.14.
+- Changes from version 3.30.4:
+ + Add a separate "Download" step for packagekit offline updates,
+ so that "Restart & Update" is instant.
+ + Fix a version comparison issue that led to package updates
+ sometimes showing as downgrades in the OS Updates section (this
+ needs latest appstream-glib).
+ + Show the refresh button when the updates page is in the failed
+ state.
+ + Notify about offline updates only after they are fully
+ downloaded.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Thu Oct 18 17:54:46 UTC 2018 - bjorn.lie(a)gmail.com
+
+- Update to version 3.30.3:
+ + Fix a memory corruption issue on 32-bit arches that made
+ gnome-software very crashy.
+ + Fix an issue with stuck back button on the details page after
+ closing and reopening gnome-software.
+ + Make distro upgrades to Fedora N+2 release show up correctly.
+ + Various flatpak plugin fixes.
+ + Allow opening CAB files that include more than one update.
+ + Fix critical warnings when quickly switching between category
+ pages.
+ + Small memory leak fixes.
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
gnome-software-3.30.2.tar.xz
New:
----
gnome-software-3.30.5.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-software.spec ++++++
--- /var/tmp/diff_new_pack.QZ56Ey/_old 2018-11-06 14:00:51.331728732 +0100
+++ /var/tmp/diff_new_pack.QZ56Ey/_new 2018-11-06 14:00:51.359728696 +0100
@@ -18,7 +18,7 @@
%define gs_plugin_api 12
Name: gnome-software
-Version: 3.30.2
+Version: 3.30.5
Release: 0
Summary: GNOME Software Store
License: GPL-2.0-or-later
++++++ gnome-software-3.30.2.tar.xz -> gnome-software-3.30.5.tar.xz ++++++
++++ 18792 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package daps for openSUSE:Factory checked in at 2018-11-06 13:59:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/daps (Old)
and /work/SRC/openSUSE:Factory/.daps.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "daps"
Tue Nov 6 13:59:55 2018 rev:41 rq:644005 version:3.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/daps/daps.changes 2017-06-29 15:08:38.331988706 +0200
+++ /work/SRC/openSUSE:Factory/.daps.new/daps.changes 2018-11-06 14:00:45.207736674 +0100
@@ -1,0 +2,33 @@
+Tue Oct 23 10:07:12 UTC 2018 - sknorr(a)suse.com
+
+- Workaround to make it possible to build things
+
+-------------------------------------------------------------------
+Fri Oct 19 14:02:11 UTC 2018 - rick.salevsky(a)suse.com
+
+Stable release DAPS 3.0.0:
+
+* New Features:
+ - added full support for Python3
+ - added SVG support for online-docs
+ - added support to build AsciiDoc documentation
+ - integrated hunspell and make aspell optional
+ - implement file not found for XIncludes
+
+* Bugfixes:
+ - #419: HTML and PDF builds need different paths for Admonition
+ and Callout Images
+ - #322: Add --xmlonly / --imgonly switches to list-srcfiles
+ - #416: DAPS Won't Built With UTF-8 Characters in XML Filenames
+ - #397: Spaces in path problem
+ - #469: RPMLINT complains about permissions of XSLT stylesheet
+ - #464: xmlformat incorrectly formats variablelist terms
+ - #466: Build issues
+ - #475: Tab completion creates error
+ - PDF fails when static links in build/.tmp already exist
+
+* Documentation:
+ - Various updates to reflect changes in the code
+ - Improve help text for daps-xslt
+
+-------------------------------------------------------------------
@@ -17,0 +51 @@
+- remove daps-dont-complain-about-deprecated-option.patch
Old:
----
daps-2.4.0.tar.bz2
New:
----
daps-3.0.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ daps.spec ++++++
--- /var/tmp/diff_new_pack.0UsAa1/_old 2018-11-06 14:00:46.207735377 +0100
+++ /var/tmp/diff_new_pack.0UsAa1/_new 2018-11-06 14:00:46.219735361 +0100
@@ -1,7 +1,7 @@
#
# spec file for package daps
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX 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,7 +17,7 @@
Name: daps
-Version: 2.4.0
+Version: 3.0.0
Release: 0
###############################################################
@@ -42,7 +42,7 @@
%define daps_catalog for-catalog-%{name}.xml
Summary: DocBook Authoring and Publishing Suite
-License: GPL-2.0 or GPL-3.0
+License: GPL-2.0-only OR GPL-3.0-only
Group: Productivity/Publishing/XML
Url: https://github.com/openSUSE/daps
Source0: %{name}-%{version}.tar.bz2
@@ -61,13 +61,13 @@
BuildRequires: fdupes
BuildRequires: ghostscript
BuildRequires: inkscape
+BuildRequires: jing
BuildRequires: libxml2-tools
BuildRequires: libxslt
BuildRequires: libxslt-tools
BuildRequires: poppler-tools
-BuildRequires: python-lxml
BuildRequires: python-xml
-#BuildRequires: sgml-skel
+BuildRequires: python3-lxml
BuildRequires: suse-xsl-stylesheets
BuildRequires: svg-dtd
BuildRequires: transfig
@@ -76,6 +76,19 @@
BuildRequires: xmlgraphics-fop >= 0.94
BuildRequires: xmlstarlet
+# Asciidoctor is not available on Leap 42.3
+# If we have asciidoctor we build the asciidoc manual
+# for which we need docbook_5 and jing
+#
+%if 0%{?sle_version} == 120300
+Recommends: rubygem(%{rb_default_ruby_abi}:asciidoctor)
+%else
+Requires: rubygem(%{rb_default_ruby_abi}:asciidoctor)
+BuildRequires: docbook_5
+BuildRequires: jing
+BuildRequires: rubygem(%{rb_default_ruby_abi}:asciidoctor)
+%endif
+
#
# In order to keep the requirements list as short as possible, only packages
# needed to build EPUB, HTML and PDF are really required
@@ -94,13 +107,14 @@
Requires: docbook_5
Requires: ghostscript-library
Requires: inkscape
+Requires: java >= 1.8.0
Requires: jing
+Requires: libreoffice-draw
Requires: libxslt
Requires: make
Requires: poppler-tools
-Requires: python-lxml
Requires: python-xml
-#Requires: sgml-skel
+Requires: python3-lxml
Requires: suse-xsl-stylesheets
Requires: svg-schema
Requires: transfig
@@ -118,10 +132,12 @@
Recommends: perl-checkbot
Recommends: remake
Recommends: suse-doc-style-checker
+Recommends: suse-documentation-dicts-en
Recommends: w3m
+Recommends: xmlformat
+
# Internal XEP package:
Recommends: xep
-Recommends: xmlformat
Obsoletes: susedoc < 4.3.32
Provides: susedoc = 4.3.32
@@ -148,6 +164,10 @@
%setup -q -n %{name}
#%%patch1 -p1
+# Correct shebang line as suggested in
+# https://lists.opensuse.org/opensuse-packaging/2018-03/msg00017.html
+sed -i '1 s|/usr/bin/env python|/usr/bin/python|' libexec/daps-xmlwellformed
+
#--------------------------------------------------------------------------
%build
%configure --docdir=%{_defaultdocdir}/%{name} --disable-edit-rootcatalog
@@ -162,35 +182,12 @@
#----------------------
%post
-#
-# XML Catalog entries for daps profiling
-#
-# remove existing entries first (if existing) - needed for
-# zypper in, since it does not call postun
-#
-# delete in case of an update, which $1=2
-if [ "2" = "$1" ]; then
- edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
- --del %{name} || true
-fi
-# ... and readd it again
-edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
- --add /etc/xml/%{daps_catalog}
-
+update-xml-catalog
exit 0
#----------------------
%postun
-#
-# delete catalog entry for daps profiling
-# only run if package is really uninstalled ($1 = 0) and not
-# in case of an update
-#
-if [ 0 = $1 ]; then
- edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
- --del %{name}
-fi
-
+update-xml-catalog
exit 0
#----------------------
@@ -200,6 +197,7 @@
%files
%defattr(-,root,root)
+%dir %{_datadir}/%{name}
%dir %{_sysconfdir}/%{name}
%dir %{_defaultdocdir}/%{name}
@@ -209,14 +207,18 @@
%dir %{_datadir}/xml/%{name}
%dir %{_datadir}/xml/%{name}/schema
-%config %{_sysconfdir}/xml/*.xml
+# Catalogs
+%config %{_sysconfdir}/xml/catalog.d/%{name}.xml
+
+# Config files
%config %{_sysconfdir}/%{name}/*
+# Man/Doc
%doc %{_mandir}/man1/*.1%{ext_man}
%doc %{_defaultdocdir}/%{name}/*
%{_bindir}/*
-%{_datadir}/%{name}/*
+%attr(644, root, root) %{_datadir}/%{name}/libexec/*.xsl
%{_datadir}/bash-completion/completions/%{name}
%{_datadir}/emacs/site-lisp/docbook_macros.el
%{_datadir}/xml/daps/schema/*
++++++ daps-2.4.0.tar.bz2 -> daps-3.0.0.tar.bz2 ++++++
++++ 9815 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package netpbm for openSUSE:Factory checked in at 2018-11-06 13:59:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netpbm (Old)
and /work/SRC/openSUSE:Factory/.netpbm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "netpbm"
Tue Nov 6 13:59:43 2018 rev:65 rq:643953 version:10.84.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/netpbm/netpbm.changes 2018-10-02 19:39:22.922391308 +0200
+++ /work/SRC/openSUSE:Factory/.netpbm.new/netpbm.changes 2018-11-06 14:00:33.523751822 +0100
@@ -1,0 +2,29 @@
+Tue Oct 23 10:39:59 UTC 2018 - Petr Gajdos <pgajdos(a)suse.com>
+
+- updated to 10.84.02
+ * libnetpbm: Fix invalid memory reference in color name processing
+ when trivial memory allocation fails.
+ pamtojpeg2k: fix incorrect interpretation of -ilyrrates option
+ when it contains multiple delimiter characters in a row. Always
+ broken (pamtojpeg2k was new in Netpbm 10.12 (November 2002)).
+ * pnmtojbig: fix incorrect handling of -x option. Always broken
+ (pnmtojbig was new in Netpbm 9.2 (May 2000)).
+ Add pamaltsat. Thanks Anton Shepelev <anton.txt(a)gmail.com>.
+ * Add pamtris. Thanks Lucas Brunno Luna
+ <lucaslunar32(a)hotmail.com>.
+ * libpbmfont, pbmtext: fix bugs with BDF file lines with
+ insufficient number of fields. Unknown effect.
+ * pbmtext: -wchar works with built-in fonts.
+ * pbmtext: improved -verbose information about BDF fonts:
+ include CHARSET_REGISTRY, CHARSET_ENCODING.
+ * libnetpbm font facilities: built-in fonts work with wide
+ characters.
+ * pbmtext; libnetpbm BDF font processing: fix invalid memory
+ reference when BDF font file has invalid syntax. Broken
+ in primordial Netpbm, ca 1993.
+ * pamgetcolor: fix bug: gets color of only the top half of a
+ region.
+ * pnmfiasco, fiascotopnm: Fix trivial memory leak. Always broken
+ (programs were new in Netpbm 9.6, July 2000).
+
+-------------------------------------------------------------------
Old:
----
netpbm-10.83.2-documentation.tar.bz2
netpbm-10.83.2-nohpcdtoppm-noppmtompeg.tar.bz2
New:
----
netpbm-10.84.2-documentation.tar.bz2
netpbm-10.84.2-nohpcdtoppm-noppmtompeg.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ netpbm.spec ++++++
--- /var/tmp/diff_new_pack.O2tDU2/_old 2018-11-06 14:00:36.187748369 +0100
+++ /var/tmp/diff_new_pack.O2tDU2/_new 2018-11-06 14:00:36.195748358 +0100
@@ -17,10 +17,10 @@
%define libmaj 11
-%define libmin 83
+%define libmin 84
%define libver %{libmaj}.%{libmin}
Name: netpbm
-Version: 10.83.2
+Version: 10.84.2
Release: 0
Summary: A Powerful Graphics Conversion Package
License: BSD-3-Clause AND GPL-2.0-or-later AND IJG AND MIT AND SUSE-Public-Domain
++++++ netpbm-10.83.2-documentation.tar.bz2 -> netpbm-10.84.2-documentation.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/netpbm/netpbm-10.83.2-documentation.tar.bz2 /work/SRC/openSUSE:Factory/.netpbm.new/netpbm-10.84.2-documentation.tar.bz2 differ: char 11, line 1
++++++ netpbm-10.83.2-nohpcdtoppm-noppmtompeg.tar.bz2 -> netpbm-10.84.2-nohpcdtoppm-noppmtompeg.tar.bz2 ++++++
++++ 9344 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package libpfm for openSUSE:Factory checked in at 2018-11-06 13:59:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpfm (Old)
and /work/SRC/openSUSE:Factory/.libpfm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpfm"
Tue Nov 6 13:59:34 2018 rev:19 rq:643937 version:4.10.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/libpfm/libpfm.changes 2018-08-10 09:44:52.325796748 +0200
+++ /work/SRC/openSUSE:Factory/.libpfm.new/libpfm.changes 2018-11-06 13:59:37.707824106 +0100
@@ -4 +4 @@
-- Version update to 4.10.1 fate#326340:
+- Version update to 4.10.1 fate#326340 fate#326387:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libpfm.spec ++++++
--- /var/tmp/diff_new_pack.BDQATa/_old 2018-11-06 13:59:38.679822848 +0100
+++ /var/tmp/diff_new_pack.BDQATa/_new 2018-11-06 13:59:38.683822844 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
1
0
Hello community,
here is the log from the commit of package llvm6 for openSUSE:Factory checked in at 2018-11-06 13:58:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm6 (Old)
and /work/SRC/openSUSE:Factory/.llvm6.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm6"
Tue Nov 6 13:58:46 2018 rev:12 rq:643929 version:6.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm6/llvm6.changes 2018-10-02 19:41:03.598241860 +0200
+++ /work/SRC/openSUSE:Factory/.llvm6.new/llvm6.changes 2018-11-06 13:58:54.239882235 +0100
@@ -1,0 +2,7 @@
+Tue Oct 23 10:22:55 UTC 2018 - msrb(a)suse.com
+
+- opt-viewer-Find-style-css-in-usr-share.patch
+ * Make sure opt-viewer installed in /usr/bin can find resources
+ from /usr/share/opt-viewer. (boo#1112730)
+
+-------------------------------------------------------------------
New:
----
opt-viewer-Find-style-css-in-usr-share.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ llvm6.spec ++++++
--- /var/tmp/diff_new_pack.ACPMqS/_old 2018-11-06 13:59:00.095874212 +0100
+++ /var/tmp/diff_new_pack.ACPMqS/_new 2018-11-06 13:59:00.099874206 +0100
@@ -101,6 +101,7 @@
Patch20: llvm_build_tablegen_component_as_shared_library.patch
Patch21: llvm6-fix-gdb-index-crash.patch
Patch22: lldb-fix-build-with-python-3.7.patch
+Patch23: opt-viewer-Find-style-css-in-usr-share.patch
BuildRequires: binutils-devel >= 2.21.90
BuildRequires: binutils-gold
BuildRequires: cmake
@@ -520,6 +521,7 @@
%patch18 -p1
%patch20 -p1
%patch21 -p1
+%patch23 -p1
pushd cfe-%{version}.src
%patch1 -p1
++++++ opt-viewer-Find-style-css-in-usr-share.patch ++++++
Index: llvm-6.0.1.src/tools/opt-viewer/opt-viewer.py
===================================================================
--- llvm-6.0.1.src.orig/tools/opt-viewer/opt-viewer.py
+++ llvm-6.0.1.src/tools/opt-viewer/opt-viewer.py
@@ -252,8 +252,7 @@ def generate_report(all_remarks,
sorted_remarks = sorted(optrecord.itervalues(all_remarks), key=lambda r: (r.File, r.Line, r.Column, r.PassWithDiffPrefix, r.yaml_tag, r.Function))
IndexRenderer(args.output_dir, should_display_hotness).render(sorted_remarks)
- shutil.copy(os.path.join(os.path.dirname(os.path.realpath(__file__)),
- "style.css"), output_dir)
+ shutil.copy("/usr/share/opt-viewer/style.css", output_dir)
if __name__ == '__main__':
1
0
Hello community,
here is the log from the commit of package simple-scan for openSUSE:Factory checked in at 2018-11-06 13:58:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/simple-scan (Old)
and /work/SRC/openSUSE:Factory/.simple-scan.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "simple-scan"
Tue Nov 6 13:58:41 2018 rev:60 rq:643903 version:3.30.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/simple-scan/simple-scan.changes 2018-10-17 08:18:53.766927696 +0200
+++ /work/SRC/openSUSE:Factory/.simple-scan.new/simple-scan.changes 2018-11-06 13:58:44.315895830 +0100
@@ -1,0 +2,6 @@
+Tue Oct 23 08:14:14 UTC 2018 - bjorn.lie(a)gmail.com
+
+- Update to version 3.30.2:
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
simple-scan-3.30.1.1.tar.xz
New:
----
simple-scan-3.30.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ simple-scan.spec ++++++
--- /var/tmp/diff_new_pack.cz7eXd/_old 2018-11-06 13:58:44.959894948 +0100
+++ /var/tmp/diff_new_pack.cz7eXd/_new 2018-11-06 13:58:44.963894943 +0100
@@ -17,7 +17,7 @@
Name: simple-scan
-Version: 3.30.1.1
+Version: 3.30.2
Release: 0
Summary: Simple Scanning Utility
License: GPL-3.0-or-later
++++++ simple-scan-3.30.1.1.tar.xz -> simple-scan-3.30.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.30.1.1/NEWS new/simple-scan-3.30.2/NEWS
--- old/simple-scan-3.30.1.1/NEWS 2018-09-28 01:16:13.000000000 +0200
+++ new/simple-scan-3.30.2/NEWS 2018-10-23 04:47:13.000000000 +0200
@@ -1,3 +1,7 @@
+Overview of changes in simple-scan 3.30.2
+
+ * Updated translations
+
Overview of changes in simple-scan 3.30.1.1
* Rebuild tarball as 3.30 releases have out of date content
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.30.1.1/meson.build new/simple-scan-3.30.2/meson.build
--- old/simple-scan-3.30.1.1/meson.build 2018-09-28 01:16:13.000000000 +0200
+++ new/simple-scan-3.30.2/meson.build 2018-10-23 04:47:13.000000000 +0200
@@ -1,5 +1,5 @@
project ('simple-scan', ['vala', 'c'],
- version: '3.30.1.1',
+ version: '3.30.2',
license: 'GPLv3+',
default_options: [
'warning_level=1',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/simple-scan-3.30.1.1/po/nb.po new/simple-scan-3.30.2/po/nb.po
--- old/simple-scan-3.30.1.1/po/nb.po 2018-09-28 01:16:13.000000000 +0200
+++ new/simple-scan-3.30.2/po/nb.po 2018-10-23 04:47:13.000000000 +0200
@@ -2,14 +2,14 @@
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the simple-scan package.
# Kjetil Birkeland Moe <kjetil(a)skifremme.no>, 2009.
-# Kjartan Maraas <kmaraas(a)gnome.org>, 2017.
+# Kjartan Maraas <kmaraas(a)gnome.org>, 2017-2018.
#
msgid ""
msgstr ""
-"Project-Id-Version: simple-scan 3.27.x\n"
-"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=simple-scan&keywords=I18N+…"
-"POT-Creation-Date: 2017-10-29 21:10+0000\n"
-"PO-Revision-Date: 2017-11-11 16:50+0100\n"
+"Project-Id-Version: simple-scan 3.30.x\n"
+"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/simple-scan/issues\n"
+"POT-Creation-Date: 2018-09-02 17:27+0000\n"
+"PO-Revision-Date: 2018-10-09 09:43+0200\n"
"Last-Translator: Kjartan Maraas <kmaraas(a)gnome.org>\n"
"Language-Team: Norwegian Bokmal <i18n-nb(a)lister.ping.uio.no>\n"
"Language: nb\n"
@@ -134,7 +134,7 @@
#. https://bugzilla.gnome.org/show_bug.cgi?id=782753
#. Title of scan window
#: data/simple-scan.appdata.xml.in:6 data/simple-scan.desktop.in:3
-#: src/app-window.ui:76 src/app-window.vala:1560
+#: src/app-window.ui:76 src/app-window.vala:1571
msgid "Simple Scan"
msgstr "Simple Scan"
@@ -175,29 +175,29 @@
#. Toolbar scan menu item to scan a single page from the scanner
#. Scan menu item to scan a single page from the scanner
#. Toolbar scan menu item to scan a single page from the scanner
-#: src/app-window.ui:22 src/app-window.ui:123 src/app-window.ui:820
+#: src/app-window.ui:22 src/app-window.ui:123 src/app-window.ui:831
msgid "Single _Page"
msgstr "Enkel _side"
#. Toolbar scan menu item to scan all pages from a document feeder
#. Scan menu item to scan all pages from a document feeder
#. Toolbar scan menu item to scan all pages from a document feeder
-#: src/app-window.ui:31 src/app-window.ui:133 src/app-window.ui:829
+#: src/app-window.ui:31 src/app-window.ui:133 src/app-window.ui:840
msgid "All Pages From _Feeder"
msgstr "Alle sider fra papirmater"
#. Toolbar scan menu item to scan continuously from the flatbed
#. Scan menu item to scan continuously from the flatbed
#. Toolbar scan menu item to scan continuously from the flatbed
-#: src/app-window.ui:40 src/app-window.ui:143 src/app-window.ui:838
+#: src/app-window.ui:40 src/app-window.ui:143 src/app-window.ui:849
msgid "_Multiple Pages From Flatbed"
msgstr "_Flere sider fra planskanner"
-#: src/app-window.ui:55 src/app-window.ui:170 src/app-window.ui:853
+#: src/app-window.ui:55 src/app-window.ui:170 src/app-window.ui:864
msgid "Text"
msgstr "Tekst"
-#: src/app-window.ui:65 src/app-window.ui:180 src/app-window.ui:863
+#: src/app-window.ui:65 src/app-window.ui:180 src/app-window.ui:874
msgid "Photo"
msgstr "Bilde"
@@ -218,7 +218,7 @@
#. Menu item to reorder pages
#. Title of dialog to reorder pages
-#: src/app-window.ui:196 src/app-window.vala:967 src/app-window.vala:1590
+#: src/app-window.ui:196 src/app-window.vala:978 src/app-window.vala:1586
msgid "Reorder Pages"
msgstr "Omplasser sider"
@@ -282,91 +282,96 @@
msgid "4×6"
msgstr "4×6"
-#. Radio button for cropping to custom page size
+#. Radio button for cropping page to A3
#: src/app-window.ui:397
+msgid "A_3"
+msgstr "A_4"
+
+#. Radio button for cropping to custom page size
+#: src/app-window.ui:408
msgid "_Custom"
msgstr "E_gendefinert"
#. Menu item to rotate the crop area
-#: src/app-window.ui:415
+#: src/app-window.ui:426
msgid "_Rotate Crop"
msgstr "_Roter beskjæringsområdet"
#. Menu item to move the selected page to the left
-#: src/app-window.ui:428
+#: src/app-window.ui:439
msgid "Move Left"
msgstr "Flytt til venstre"
#. Menu item to move the selected page to the right
-#: src/app-window.ui:437
+#: src/app-window.ui:448
msgid "Move Right"
msgstr "Flytt til høyre"
#. Label on help menu
-#: src/app-window.ui:474
+#: src/app-window.ui:485
msgid "_Help"
msgstr "_Hjelp"
#. Help|Contents menu
-#: src/app-window.ui:482
+#: src/app-window.ui:493
msgid "_Contents"
msgstr "_Innhold"
#. Tooltip for scan toolbar button
-#: src/app-window.ui:520 src/app-window.ui:720
+#: src/app-window.ui:531 src/app-window.ui:731
msgid "Scan a single page from the scanner"
msgstr "Skann én enkel side fra skanneren"
#. Label on scan toolbar item
-#: src/app-window.ui:522 src/app-window.ui:716
+#: src/app-window.ui:533 src/app-window.ui:727
msgid "Scan"
msgstr "Skann"
#. Tooltip for save toolbar button
-#: src/app-window.ui:538 src/app-window.ui:787
+#: src/app-window.ui:549 src/app-window.ui:798
msgid "Save document to a file"
msgstr "Lagre dokument til fil"
-#: src/app-window.ui:540
+#: src/app-window.ui:551
msgid "Save"
msgstr "Lagre"
#. Tooltip for stop button
-#: src/app-window.ui:555 src/app-window.ui:700
+#: src/app-window.ui:566 src/app-window.ui:711
msgid "Stop the current scan"
msgstr "Stopp skanning"
-#: src/app-window.ui:556 src/app-window.ui:697
+#: src/app-window.ui:567 src/app-window.ui:708
msgid "Stop"
msgstr "Stopp"
#. Label shown when searching for scanners
-#: src/app-window.ui:611
+#: src/app-window.ui:622
msgid "Searching for Scanners…"
msgstr "Søker etter skannere …"
-#: src/app-window.vala:237 src/app-window.vala:1380
+#: src/app-window.vala:239 src/app-window.vala:1391
msgid "_Close"
msgstr "_Lukk"
#. Label in authorization dialog. “%s” is replaced with the name of the resource requesting authorization
-#: src/app-window.vala:246
+#: src/app-window.vala:248
#, c-format
msgid "Username and password required to access “%s”"
msgstr "Behøver brukernavn og passord for å få tilgang til «%s»"
#. Label shown when detected a scanner
-#: src/app-window.vala:266 src/app-window.vala:584
+#: src/app-window.vala:268 src/app-window.vala:586
msgid "Ready to Scan"
msgstr "Klar til å skanne"
#. Warning displayed when no drivers are installed but a compatible scanner is detected
-#: src/app-window.vala:273
+#: src/app-window.vala:275
msgid "Additional software needed"
msgstr "Tilleggsprogram må installeres"
#. Instructions to install driver software
-#: src/app-window.vala:275
+#: src/app-window.vala:277
msgid ""
"You need to <a href=\"install-firmware\">install driver software</a> for "
"your scanner."
@@ -375,150 +380,150 @@
"skanner."
#. Warning displayed when no scanners are detected
-#: src/app-window.vala:281
+#: src/app-window.vala:283
msgid "No scanners detected"
msgstr "Fant ingen skannere"
#. Hint to user on why there are no scanners detected
-#: src/app-window.vala:283
+#: src/app-window.vala:285
msgid "Please check your scanner is connected and powered on"
msgstr "Undersøk om skanneren er riktig tilkoblet, og at den er slått på"
#. Save dialog: Dialog title
-#: src/app-window.vala:298
+#: src/app-window.vala:300
msgid "Save As…"
msgstr "Lagre som …"
-#: src/app-window.vala:301 src/app-window.vala:471 src/app-window.vala:552
+#: src/app-window.vala:303 src/app-window.vala:473 src/app-window.vala:554
msgid "_Cancel"
msgstr "_Avbryt"
-#: src/app-window.vala:302 src/app-window.vala:553
+#: src/app-window.vala:304 src/app-window.vala:555
msgid "_Save"
msgstr "_Lagre"
#. Default filename to use when saving document
-#: src/app-window.vala:310
+#: src/app-window.vala:312
msgid "Scanned Document.pdf"
msgstr "Skannet_dokument.pdf"
#. Save dialog: Filter name to show only supported image files
-#: src/app-window.vala:316
+#: src/app-window.vala:318
msgid "Image Files"
msgstr "Bildefiler"
#. Save dialog: Filter name to show all files
-#: src/app-window.vala:326
+#: src/app-window.vala:328
msgid "All Files"
msgstr "Alle Filer"
#. Save dialog: Label for saving in PDF format
-#: src/app-window.vala:335
+#: src/app-window.vala:337
msgid "PDF (multi-page document)"
msgstr "PDF (flersidig dokument)"
#. Save dialog: Label for saving in JPEG format
-#: src/app-window.vala:341
+#: src/app-window.vala:343
msgid "JPEG (compressed)"
msgstr "JPEG (komprimert)"
#. Save dialog: Label for saving in PNG format
-#: src/app-window.vala:347
+#: src/app-window.vala:349
msgid "PNG (lossless)"
msgstr "PNG (tapsfri)"
#. Save dialog: Label for sabing in WEBP format
-#: src/app-window.vala:354
+#: src/app-window.vala:356
msgid "WebP (compressed)"
msgstr "WebP (komprimert)"
#. Label in save dialog beside combo box to choose file format (PDF, JPEG, PNG, WEBP)
-#: src/app-window.vala:364
+#: src/app-window.vala:366
msgid "File format:"
msgstr "Filformat:"
#. Label in save dialog beside compression slider
-#: src/app-window.vala:376
+#: src/app-window.vala:378
msgid "Compression:"
msgstr "Komprimering:"
#. Contents of dialog that shows if saving would overwrite and existing file. %s is replaced with the name of the file.
-#: src/app-window.vala:470
+#: src/app-window.vala:472
#, c-format
msgid "A file named “%s” already exists. Do you want to replace it?"
msgstr "En fil med navnet «%s» eksisterer allerede. Vil du erstatte den?"
#. Button in dialog that shows if saving would overwrite and existing file. Clicking the button allows simple-scan to overwrite the file.
-#: src/app-window.vala:473
+#: src/app-window.vala:475
msgid "_Replace"
msgstr "E_rstatt"
-#: src/app-window.vala:512
+#: src/app-window.vala:514
msgid "Saving"
msgstr "Lagrer"
#. Title of error dialog when save failed
-#: src/app-window.vala:527
+#: src/app-window.vala:529
msgid "Failed to save file"
msgstr "Lagring av fil mislyktes"
#. Text in dialog warning when a document is about to be lost
-#: src/app-window.vala:550
+#: src/app-window.vala:552
msgid "If you don’t save, changes will be permanently lost."
msgstr "Hvis du ikke lagrer vil endringene gå tapt for alltid."
#. Text in dialog warning when a document is about to be lost
-#: src/app-window.vala:591
+#: src/app-window.vala:593
msgid "Save current document?"
msgstr "Lagre gjeldende dokument?"
#. Button in dialog to create new document and discard unsaved document
-#: src/app-window.vala:593
+#: src/app-window.vala:595
msgid "Discard Changes"
msgstr "Forkast endringer"
#. Label shown when scan started
-#: src/app-window.vala:692
+#: src/app-window.vala:694
msgid "Contacting scanner…"
msgstr "Kontakter _skanner …"
#. Error message display when unable to save image for preview
-#: src/app-window.vala:800
+#: src/app-window.vala:804
msgid "Unable to save image for preview"
msgstr "Klarte ikke å lagre forhåndsvisning"
#. Error message display when unable to preview image
-#: src/app-window.vala:812
+#: src/app-window.vala:816
msgid "Unable to open image preview application"
msgstr "Åpning av forhåndsvisning mislyktes"
#. Label on button for combining sides in reordering dialog
-#: src/app-window.vala:990
+#: src/app-window.vala:1001
msgid "Combine sides"
msgstr "Kombiner sider"
#. Label on button for combining sides in reverse order in reordering dialog
-#: src/app-window.vala:1000
+#: src/app-window.vala:1011
msgid "Combine sides (reverse)"
msgstr "Kombiner sider (omvendt)"
#. Label on button for reversing in reordering dialog
-#: src/app-window.vala:1010
+#: src/app-window.vala:1021
msgid "Reverse"
msgstr "Omvendt"
#. Label on button for cancelling page reordering dialog
-#: src/app-window.vala:1020
+#: src/app-window.vala:1031
msgid "Keep unchanged"
msgstr "Behold uendret"
#. Error message displayed when unable to launch help browser
-#: src/app-window.vala:1250
+#: src/app-window.vala:1261
msgid "Unable to open help file"
msgstr "Klarte ikke å åpne hjelpefil"
#. The license this software is under (GPL3+)
-#: src/app-window.vala:1271
+#: src/app-window.vala:1282
msgid ""
"This program is free software: you can redistribute it and/or modify\n"
"it under the terms of the GNU General Public License as published by\n"
@@ -547,16 +552,16 @@
"along with this program. If not, see <http://www.gnu.org/licenses/>."
#. Title of about dialog
-#: src/app-window.vala:1274
+#: src/app-window.vala:1285
msgid "About Simple Scan"
msgstr "Om Simple Scan"
#. Description of program
-#: src/app-window.vala:1277
+#: src/app-window.vala:1288
msgid "Simple document scanning tool"
msgstr "Enkelt verktøy for å skanne dokumenter"
-#: src/app-window.vala:1286
+#: src/app-window.vala:1297
msgid "translator-credits"
msgstr ""
"Launchpad Contributions:\n"
@@ -569,22 +574,22 @@
" Åka Sikrom https://launchpad.net/~akrosikam"
#. Text in dialog warning when a document is about to be lost
-#: src/app-window.vala:1308
+#: src/app-window.vala:1319
msgid "Save document before quitting?"
msgstr "Lagre dokumentet før du avslutter?"
#. Text in dialog warning when a document is about to be lost
-#: src/app-window.vala:1310
+#: src/app-window.vala:1321
msgid "Quit without Saving"
msgstr "Avslutt uten å lagre"
#. Message to indicate a Brother scanner has been detected
-#: src/app-window.vala:1357
+#: src/app-window.vala:1368
msgid "You appear to have a Brother scanner."
msgstr "Det ser ut som at du har en Brother-skanner."
#. Instructions on how to install Brother scanner drivers
-#: src/app-window.vala:1359
+#: src/app-window.vala:1370
msgid ""
"Drivers for this are available on the <a href=\"http://support.brother.com"
"\">Brother website</a>."
@@ -593,12 +598,12 @@
"\">Brothers nettsider</a>."
#. Message to indicate a Samsung scanner has been detected
-#: src/app-window.vala:1363
+#: src/app-window.vala:1374
msgid "You appear to have a Samsung scanner."
msgstr "Det ser ut som at du har en Samsung-skanner."
#. Instructions on how to install Samsung scanner drivers
-#: src/app-window.vala:1365
+#: src/app-window.vala:1376
msgid ""
"Drivers for this are available on the <a href=\"http://samsung.com/support"
"\">Samsung website</a>."
@@ -607,17 +612,17 @@
"\">Samsungs nettsider</a>."
#. Message to indicate a HP scanner has been detected
-#: src/app-window.vala:1369
+#: src/app-window.vala:1380
msgid "You appear to have an HP scanner."
msgstr "Det ser ut som at du har en HP-skanner."
#. Message to indicate an Epson scanner has been detected
-#: src/app-window.vala:1374
+#: src/app-window.vala:1385
msgid "You appear to have an Epson scanner."
msgstr "Det ser ut som at du har en Epson-skanner."
#. Instructions on how to install Epson scanner drivers
-#: src/app-window.vala:1376
+#: src/app-window.vala:1387
msgid ""
"Drivers for this are available on the <a href=\"http://support.epson.com"
"\">Epson website</a>."
@@ -626,99 +631,94 @@
"nettside."
#. Title of dialog giving instructions on how to install drivers
-#: src/app-window.vala:1380
+#: src/app-window.vala:1391
msgid "Install drivers"
msgstr "Installer drivere"
#. Message in driver install dialog
-#: src/app-window.vala:1411
+#: src/app-window.vala:1422
msgid "Once installed you will need to restart Simple Scan."
msgstr "Start Simple Scan på nytt når driveren er installert."
#. Label shown while installing drivers
-#: src/app-window.vala:1423
+#: src/app-window.vala:1434
msgid "Installing drivers…"
msgstr "Installerer drivere …"
#. Label shown once drivers successfully installed
-#: src/app-window.vala:1431
+#: src/app-window.vala:1442
msgid "Drivers installed successfully!"
msgstr "Driverne er nå installert."
#. Label shown if failed to install drivers
-#: src/app-window.vala:1441
+#: src/app-window.vala:1452
#, c-format
msgid "Failed to install drivers (error code %d)."
msgstr "Klarte ikke å installere drivere (feilkode %d)."
#. Label shown if failed to install drivers
-#: src/app-window.vala:1447
+#: src/app-window.vala:1458
msgid "Failed to install drivers."
msgstr "Klarte ikke å installere drivere."
#. Label shown to prompt user to install packages (when PackageKit not available)
-#: src/app-window.vala:1454
+#: src/app-window.vala:1465
#, c-format
msgid "You need to install the %s package."
msgid_plural "You need to install the %s packages."
msgstr[0] "Du må installere %s-pakken."
msgstr[1] "Du må installere %s-pakkene."
+#: src/app-window.vala:1585
+msgid "Email"
+msgstr "E-post"
+
#. Title of preferences dialog
-#: src/app-window.vala:1568 src/app-window.vala:1591
-#: src/preferences-dialog.ui:53
+#: src/app-window.vala:1589 src/preferences-dialog.ui:53
msgid "Preferences"
msgstr "Innstillinger"
-#: src/app-window.vala:1572
+#: src/app-window.vala:1590
msgid "Keyboard Shortcuts"
msgstr "Tastatursnarveier"
-#: src/app-window.vala:1573
+#: src/app-window.vala:1591
msgid "Help"
msgstr "Hjelp"
-#: src/app-window.vala:1574
+#: src/app-window.vala:1592
msgid "About"
msgstr "Om"
-#: src/app-window.vala:1575
-msgid "Quit"
-msgstr "Avslutt"
-
-#: src/app-window.vala:1589
-msgid "Email"
-msgstr "E-post"
-
#. Populate ActionBar (not supported in Glade)
#. https://bugzilla.gnome.org/show_bug.cgi?id=769966
#. Label on new document button
-#: src/app-window.vala:1599
+#: src/app-window.vala:1600
msgid "Start Again…"
msgstr "Start igjen …"
#. Tooltip for rotate left (counter-clockwise) button
-#: src/app-window.vala:1616
+#: src/app-window.vala:1617
msgid "Rotate the page to the left (counter-clockwise)"
msgstr "Roter siden til venstre (mot urviseren)"
#. Tooltip for rotate right (clockwise) button
-#: src/app-window.vala:1623
+#: src/app-window.vala:1624
msgid "Rotate the page to the right (clockwise)"
msgstr "Roter siden til høyre (med urviseren)"
#. Tooltip for crop button
-#: src/app-window.vala:1633
+#: src/app-window.vala:1634
msgid "Crop the selected page"
msgstr "Beskjær valgt side"
#. Tooltip for delete button
-#: src/app-window.vala:1649
+#: src/app-window.vala:1650
msgid "Delete the selected page"
msgstr "Slett valgt side"
#. Text of button for cancelling save
-#: src/app-window.vala:1814
+#: src/app-window.vala:1815
msgid "Cancel"
msgstr "A_vbryt"
@@ -932,42 +932,42 @@
msgid "Automatic"
msgstr "Automatisk"
-#: src/preferences-dialog.vala:116
+#: src/preferences-dialog.vala:118
msgid "Darker"
msgstr "Mørkere"
-#: src/preferences-dialog.vala:118
+#: src/preferences-dialog.vala:120
msgid "Lighter"
msgstr "Lysere"
-#: src/preferences-dialog.vala:126
+#: src/preferences-dialog.vala:128
msgid "Less"
msgstr "Mindre"
-#: src/preferences-dialog.vala:128
+#: src/preferences-dialog.vala:130
msgid "More"
msgstr "Mer"
#. Preferences dialog: Label for default resolution in resolution list
-#: src/preferences-dialog.vala:440
+#: src/preferences-dialog.vala:442
#, c-format
msgid "%d dpi (default)"
msgstr "%d dpi (standard)"
#. Preferences dialog: Label for minimum resolution in resolution list
-#: src/preferences-dialog.vala:443
+#: src/preferences-dialog.vala:445
#, c-format
msgid "%d dpi (draft)"
msgstr "%d dpi (kladd)"
#. Preferences dialog: Label for maximum resolution in resolution list
-#: src/preferences-dialog.vala:446
+#: src/preferences-dialog.vala:448
#, c-format
msgid "%d dpi (high resolution)"
msgstr "%d dpi (høy oppløsning)"
#. Preferences dialog: Label for resolution value in resolution list (dpi = dots per inch)
-#: src/preferences-dialog.vala:449
+#: src/preferences-dialog.vala:451
#, c-format
msgid "%d dpi"
msgstr "%d dpi"
@@ -988,7 +988,7 @@
msgstr "Klarte ikke å sette i gang skanneren"
#. Error displayed when communication with scanner broken
-#: src/scanner.vala:1240 src/scanner.vala:1340
+#: src/scanner.vala:1240 src/scanner.vala:1347
msgid "Error communicating with scanner"
msgstr "Det oppsto en kommunikasjonsfeil mellom skanneren og datamaskinen"
@@ -1007,22 +1007,22 @@
msgstr "Reparer PDF-filer som er opprettet med eldre versjoner av Simple Scan"
#. Title of error dialog when scan failed
-#: src/simple-scan.vala:392
+#: src/simple-scan.vala:393
msgid "Failed to scan"
msgstr "Klarte ikke å utføre skanningen"
#. Attempt to inhibit the screensaver when scanning
-#: src/simple-scan.vala:407
+#: src/simple-scan.vala:408
msgid "Scan in progress"
msgstr "Skanning pågår"
#. Arguments and description for --help text
-#: src/simple-scan.vala:584
+#: src/simple-scan.vala:585
msgid "[DEVICE…] — Scanning utility"
msgstr "[ENHET …] – Scanneutstyr"
#. Text printed out when an unknown command-line argument provided
-#: src/simple-scan.vala:595
+#: src/simple-scan.vala:596
#, c-format
msgid "Run “%s --help” to see a full list of available command line options."
msgstr ""
1
0
Hello community,
here is the log from the commit of package emacs for openSUSE:Factory checked in at 2018-11-06 13:58:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/emacs (Old)
and /work/SRC/openSUSE:Factory/.emacs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "emacs"
Tue Nov 6 13:58:31 2018 rev:141 rq:643901 version:26.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/emacs/emacs.changes 2018-07-23 17:57:15.597210628 +0200
+++ /work/SRC/openSUSE:Factory/.emacs.new/emacs.changes 2018-11-06 13:58:34.783908886 +0100
@@ -1,0 +2,19 @@
+Tue Oct 23 08:25:39 UTC 2018 - Dr. Werner Fink <werner(a)suse.de>
+
+- Let ispell.el perform even on older systems without default
+ hunspell dictionary as otherwise this leades to wrong type
+ error as nil is not a pointer to a string
+
+-------------------------------------------------------------------
+Tue Oct 23 06:37:33 UTC 2018 - Dr. Werner Fink <werner(a)suse.de>
+
+- Let site-start.el also seek for hunspell to load the ispell
+ lisp library (boo#1110387)
+
+-------------------------------------------------------------------
+Mon Oct 22 13:56:16 UTC 2018 - Dr. Werner Fink <werner(a)suse.de>
+
+- Help ispell(.el) to find and provide the usable dictionaries
+ even for hunspell (boo#1110387)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ emacs.spec ++++++
--- /var/tmp/diff_new_pack.04Kv3H/_old 2018-11-06 13:58:36.679906290 +0100
+++ /var/tmp/diff_new_pack.04Kv3H/_new 2018-11-06 13:58:36.687906278 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
++++++ emacs-26.1.dif ++++++
--- /var/tmp/diff_new_pack.04Kv3H/_old 2018-11-06 13:58:36.815906103 +0100
+++ /var/tmp/diff_new_pack.04Kv3H/_new 2018-11-06 13:58:36.815906103 +0100
@@ -11,13 +11,13 @@
lisp/net/ange-ftp.el | 8 +--
lisp/site-load.el | 41 ++++++++++++++++
lisp/speedbar.el | 1
- lisp/textmodes/ispell.el | 60 +++++++++++++++++++++++-
+ lisp/textmodes/ispell.el | 85 ++++++++++++++++++++++++++++++++---
site-lisp/term/func-keys.el | 33 +++++++++++++
site-lisp/term/gnome.el | 97 ++++++++++++++++++++++++++++++++++++++++
site-lisp/term/kvt.el | 97 ++++++++++++++++++++++++++++++++++++++++
site-lisp/term/linux.el | 79 ++++++++++++++++++++++++++++++++
site-lisp/term/locale.el | 13 +++++
- 18 files changed, 449 insertions(+), 32 deletions(-)
+ 18 files changed, 473 insertions(+), 33 deletions(-)
--- Makefile.in
+++ Makefile.in 2018-05-29 13:07:53.479965338 +0000
@@ -346,7 +346,17 @@
"Program invoked by \\[ispell-word] and \\[ispell-region] commands."
:type 'string
:set (lambda (symbol value)
-@@ -1414,6 +1416,56 @@ The variable `ispell-library-directory'
+@@ -1179,7 +1181,8 @@ dictionary from that list was found."
+ (setq hunspell-default-dict (or hunspell-multi-dict
+ (car hunspell-default-dict)))
+ (setq hunspell-default-dict-entry
+- (ispell-parse-hunspell-affix-file hunspell-default-dict))
++ (if hunspell-default-dict
++ (ispell-parse-hunspell-affix-file hunspell-default-dict) nil))
+ ;; Create an alist of found dicts with only names, except for default dict.
+ (setq ispell-hunspell-dictionary-alist
+ (list (cons nil (cdr hunspell-default-dict-entry))))
+@@ -1414,6 +1417,78 @@ The variable `ispell-library-directory'
(if ispell-menu-map-needed
(progn
(setq ispell-menu-map (make-sparse-keymap "Spell"))
@@ -398,7 +408,29 @@
+ (define-key ispell-menu-map (vector (intern name))
+ (cons (concat "Select " (capitalize name) " Dict")
+ (list 'lambda () '(interactive)
-+ (list 'ispell-change-dictionary name)))))))))))
++ (list 'ispell-change-dictionary name)))))))))
++ (if (and (functionp 'ispell-find-hunspell-dictionaries)
++ (symbolp 'ispell-program-name)
++ (string-match "hunspell" ispell-program-name))
++ (progn
++ (ispell-find-hunspell-dictionaries)
++ (let ((dicts (reverse (cons (cons "default" nil)
++ (append ispell-local-dictionary-alist ispell-hunspell-dictionary-alist))))
++ name load-dict)
++ (dolist (dict dicts)
++ (setq name (car dict))
++ (cond ((not (stringp name))
++ (define-key ispell-menu-map (vector 'default)
++ (cons "Select Default Dict"
++ (cons "Dictionary for which Hunspell was configured"
++ (list 'lambda () '(interactive)
++ (list 'ispell-change-dictionary "default"))))))
++ ((stringp name)
++ (define-key ispell-menu-map (vector (intern name))
++ (cons (concat "Select " (capitalize name) " Dict")
++ (list 'lambda () '(interactive)
++ (list 'ispell-change-dictionary name)
++ )))))))))))
+ ;; End adding list for ispell dictonaries installed on SuSE
(define-key ispell-menu-map [ispell-change-dictionary]
`(menu-item ,(purecopy "Change Dictionary...") ispell-change-dictionary
++++++ site-lisp.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/site-lisp/site-start.el new/site-lisp/site-start.el
--- old/site-lisp/site-start.el 2010-11-18 11:07:01.000000000 +0100
+++ new/site-lisp/site-start.el 2018-10-23 08:35:02.530700872 +0200
@@ -65,11 +65,10 @@
;; Preload dynamic (i)Spell menu
;; -----------------------------
(if (not (load "/usr/lib/ispell/ispell-emacs-menu.el" t t))
- (let ((aspells (file-expand-wildcards "/usr/lib/aspell*")))
- (dolist (aspell aspells)
- (if (and (stringp aspell)
- (file-exists-p aspell))
- (load "ispell" nil t)))))
+ (cond ((or (executable-find "aspell")
+ (executable-find "hunspell")
+ (executable-find "ispell"))
+ (load "ispell" t t))))
;;
;; Load some package startups
;; --------------------------
1
0
Hello community,
here is the log from the commit of package hdparm for openSUSE:Factory checked in at 2018-11-06 13:57:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hdparm (Old)
and /work/SRC/openSUSE:Factory/.hdparm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hdparm"
Tue Nov 6 13:57:53 2018 rev:71 rq:643891 version:9.57
Changes:
--------
--- /work/SRC/openSUSE:Factory/hdparm/hdparm.changes 2018-04-26 13:34:48.159179587 +0200
+++ /work/SRC/openSUSE:Factory/.hdparm.new/hdparm.changes 2018-11-06 13:58:26.707919946 +0100
@@ -1,0 +2,11 @@
+Thu Oct 18 08:16:40 UTC 2018 - mvetter(a)suse.com
+
+- Update to 9.57:
+ * Added --set-sector-size flag, used to change logical sector
+ size for drives which support multiple sector sizes.
+ * Also updated various bits of hdparm to better cope with
+ non-512 byte sectors.
+ * Various other minor fixes/enhancements.
+- Update hdparm-leak-fix.patch
+
+-------------------------------------------------------------------
Old:
----
hdparm-9.56.tar.gz
New:
----
hdparm-9.57.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hdparm.spec ++++++
--- /var/tmp/diff_new_pack.sg99de/_old 2018-11-06 13:58:27.663918637 +0100
+++ /var/tmp/diff_new_pack.sg99de/_new 2018-11-06 13:58:27.667918631 +0100
@@ -17,7 +17,7 @@
Name: hdparm
-Version: 9.56
+Version: 9.57
Release: 0
Summary: A Program to get and set hard disk parameters
License: SUSE-Permissive
@@ -41,7 +41,7 @@
%setup -q
%patch1
%patch2 -p1
-%patch3
+%patch3 -p1
%patch4 -p1
%build
++++++ hdparm-9.56.tar.gz -> hdparm-9.57.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/Changelog new/hdparm-9.57/Changelog
--- old/hdparm-9.56/Changelog 2018-03-25 19:07:14.000000000 +0200
+++ new/hdparm-9.57/Changelog 2018-10-16 19:39:11.000000000 +0200
@@ -1,3 +1,11 @@
+hdparm-9.57:
+ - added --set-sector-size flag to change logical sector size.
+ - fixed handling of non-512 byte logical sectors in several places.
+ - fixed possibility of infinite loop in sysfs_find_attr_file_path().
+ - respect the "quiet" flag in a few more places.
+ - skip "full device" checks for character devices (eg. /dev/sg*).
+ - don't issue READ_LOG_EXT commands unless the drive claims to support them.
+ - work around kernel/sysfs bug for "start" lba.
hdparm-9.56:
- fixed byte order for --Istdout so that --Istdin can grok it
- added --Iraw for raw binary output of IDENTIFY data to a file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/fibmap.c new/hdparm-9.57/fibmap.c
--- old/hdparm-9.56/fibmap.c 2016-10-13 01:50:52.000000000 +0200
+++ new/hdparm-9.57/fibmap.c 2018-10-16 19:22:02.000000000 +0200
@@ -22,8 +22,6 @@
#include "hdparm.h"
-static const unsigned int sector_bytes = 512; // FIXME someday
-
struct file_extent {
__u64 byte_offset;
__u64 first_block;
@@ -152,7 +150,7 @@
#define FIEMAP _IOWR('f', 11, struct fm_s)
-static int walk_fiemap (int fd, unsigned int sectors_per_block, __u64 start_lba)
+static int walk_fiemap (int fd, unsigned int sectors_per_block, __u64 start_lba, unsigned int sector_bytes)
{
unsigned int i, done = 0;
unsigned int blksize = sectors_per_block * sector_bytes;
@@ -222,7 +220,7 @@
int fd, err;
struct stat st;
__u64 start_lba = 0;
- unsigned int sectors_per_block, blksize;
+ unsigned int sectors_per_block, blksize, sector_bytes;
if ((fd = open(file_name, O_RDONLY)) == -1) {
err = errno;
@@ -243,7 +241,7 @@
/*
* Get the filesystem starting LBA:
*/
- err = get_dev_t_geometry(st.st_dev, NULL, NULL, NULL, &start_lba, NULL);
+ err = get_dev_t_geometry(st.st_dev, NULL, NULL, NULL, &start_lba, NULL, §or_bytes);
if (err) {
close(fd);
return err;
@@ -272,7 +270,7 @@
return 0;
}
- err = walk_fiemap(fd, sectors_per_block, start_lba);
+ err = walk_fiemap(fd, sectors_per_block, start_lba, sector_bytes);
if (err)
err = walk_fibmap(fd, &st, blksize, sectors_per_block, start_lba);
close (fd);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/geom.c new/hdparm-9.57/geom.c
--- old/hdparm-9.56/geom.c 2018-03-15 20:27:21.000000000 +0100
+++ new/hdparm-9.57/geom.c 2018-10-16 19:37:12.000000000 +0200
@@ -146,6 +146,7 @@
static struct local_hd_geometry g;
static struct local_hd_big_geometry bg;
int err = 0, try_getgeo_big_first = 1;
+ int sector_bytes = get_current_sector_size(fd);
if (nsectors) {
err = get_sector_count(fd, nsectors);
@@ -159,9 +160,12 @@
* so it cannot be relied upon for start_lba with very large drives >= 2TB.
*/
__u64 result;
- if (0 == sysfs_get_attr(fd, "start", "%llu", &result, NULL, 0)
- || 0 == get_raid1_start_lba(fd, &result))
- {
+ if (0 == sysfs_get_attr(fd, "start", "%llu", &result, NULL, 0)) {
+ result /= (sector_bytes / 512); /* sysfs entry is broken for non-512byte sectors */
+ *start_lba = result;
+ start_lba = NULL;
+ try_getgeo_big_first = 0; /* if kernel has sysfs, it probably lacks GETGEO_BIG */
+ } else if (0 == get_raid1_start_lba(fd, &result)) {
*start_lba = result;
start_lba = NULL;
try_getgeo_big_first = 0; /* if kernel has sysfs, it probably lacks GETGEO_BIG */
@@ -247,7 +251,7 @@
}
int get_dev_t_geometry (dev_t dev, __u32 *cyls, __u32 *heads, __u32 *sects,
- __u64 *start_lba, __u64 *nsectors)
+ __u64 *start_lba, __u64 *nsectors, unsigned int *sector_bytes)
{
char path[PATH_MAX];
int fd, err;
@@ -262,6 +266,7 @@
perror(path);
return err;
}
+ *sector_bytes = get_current_sector_size(fd);
err = get_dev_geometry(fd, cyls, heads, sects, start_lba, nsectors);
close(fd);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/hdparm.8 new/hdparm-9.57/hdparm.8
--- old/hdparm-9.56/hdparm.8 2018-03-25 19:08:09.000000000 +0200
+++ new/hdparm-9.57/hdparm.8 2018-10-16 20:15:23.000000000 +0200
@@ -1,4 +1,4 @@
-.TH HDPARM 8 "March 2018" "Version 9.55"
+.TH HDPARM 8 "October 2018" "Version 9.57"
.SH NAME
hdparm \- get/set SATA/IDE device parameters
@@ -606,6 +606,13 @@
minutes plus 15 seconds. Note that some older drives may have very
different interpretations of these values.
.TP
+.I --set-sector-size
+For drives which support reconfiguring of the Logical Sector Size,
+this flag can be used to specify the new desired sector size in bytes.
+.B VERY DANGEROUS. This most likely will scramble all data on the drive.
+The specified size must be one of 512, 520, 528, 4096, 4160, or 4224.
+Very few drives support values other than 512 and 4096.
+.TP
.I -t
Perform timings of device reads for benchmark and comparison purposes.
For meaningful results, this operation should be repeated 2-3 times on
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/hdparm.c new/hdparm-9.57/hdparm.c
--- old/hdparm-9.56/hdparm.c 2018-03-25 19:06:24.000000000 +0200
+++ new/hdparm-9.57/hdparm.c 2018-10-16 20:12:53.000000000 +0200
@@ -1,8 +1,8 @@
/*
* hdparm.c - Command line interface to get/set hard disk parameters.
- * - by Mark Lord (C) 1994-2017 -- freely distributable.
+ * - by Mark Lord (C) 1994-2018 -- freely distributable.
*/
-#define HDPARM_VERSION "v9.56"
+#define HDPARM_VERSION "v9.57"
#define _LARGEFILE64_SOURCE /*for lseek64*/
#define _BSD_SOURCE /* for strtoll() */
@@ -139,6 +139,9 @@
static struct sector_range_s *trim_sector_ranges = NULL;
static int trim_sector_ranges_count = 0;
static int trim_from_stdin = 0;
+static int do_set_sector_size = 0;
+static __u64 new_sector_size = 0;
+#define SET_SECTOR_SIZE "set-sector-size"
static int write_sector = 0;
static __u64 write_sector_addr = ~0ULL;
@@ -985,11 +988,13 @@
fprintf(stderr, "BUG in do_set_security(), command1=0x%x\n", security_command);
exit(EINVAL);
}
- printf(" Issuing %s command, password=\"%s\", user=%s",
- description, security_password, (data[0] & 1) ? "master" : "user");
- if (security_command == ATA_OP_SECURITY_SET_PASS)
- printf(", mode=%s", data[1] ? "max" : "high");
- printf("\n");
+ if (!quiet) {
+ printf(" Issuing %s command, password=\"%s\", user=%s",
+ description, security_password, (data[0] & 1) ? "master" : "user");
+ if (security_command == ATA_OP_SECURITY_SET_PASS)
+ printf(", mode=%s", data[1] ? "max" : "high");
+ printf("\n");
+ }
/*
* The Linux kernel IDE driver (until at least 2.6.12) segfaults on the first
@@ -1081,7 +1086,7 @@
}
}
-int get_id_log_page_data (int fd, __u8 pagenr, __u8 *buf)
+static int do_read_log (int fd, __u8 log_address, __u8 pagenr, void *buf)
{
struct hdio_taskfile *r;
int err = 0;
@@ -1093,7 +1098,7 @@
return err;
}
- init_hdio_taskfile(r, ATA_OP_READ_LOG_EXT, RW_READ, LBA48_FORCE, 0x30 + (pagenr << 8), 1, 512);
+ init_hdio_taskfile(r, ATA_OP_READ_LOG_EXT, RW_READ, LBA48_FORCE, log_address + (pagenr << 8), 1, 512);
if (do_taskfile_cmd(fd, r, timeout_15secs)) {
err = errno;
} else {
@@ -1103,6 +1108,35 @@
return err;
}
+
+int get_log_page_data (int fd, __u8 log_address, __u8 pagenr, __u8 *buf)
+{
+ static __u16 *page0 = NULL, page0_buf[512] = {0,};
+ int err;
+
+ get_identify_data(fd);
+ if (!id)
+ exit(EIO);
+ if ((id[84] && (1<<5)) == 0)
+ return -ENOENT; /* READ_LOG_EXT not supported */
+ if (!page0) {
+ err = do_read_log(fd, 0, 0, page0_buf);
+ if (err) {
+ fprintf(stderr, "READ_LOG_EXT(0,0) failed: %s\n", strerror(err));
+ return -ENOENT;
+ }
+ page0 = page0_buf;
+ }
+ if (page0[log_address] <= pagenr)
+ return -ENOENT;
+ err = do_read_log(fd, log_address, pagenr, buf);
+ if (err) {
+ fprintf(stderr, "READ_LOG_EXT(0x%02x, %u) failed: %s\n", log_address, pagenr, strerror(err));
+ return -ENOENT;
+ }
+ return 0;
+}
+
static void confirm_i_know_what_i_am_doing (const char *opt, const char *explanation)
{
if (!i_know_what_i_am_doing) {
@@ -1138,11 +1172,11 @@
return err;
}
-static void dump_sectors (__u16 *w, unsigned int count, int raw)
+static void dump_sectors (__u16 *w, unsigned int count, int raw, unsigned int sector_bytes)
{
unsigned int i;
- for (i = 0; i < (count*256/8); ++i) {
+ for (i = 0; i < (count*(sector_bytes/2)/8); ++i) {
if (raw) {
printf("%04x %04x %04x %04x %04x %04x %04x %04x\n",
w[0], w[1], w[2], w[3], w[4], w[5], w[6], w[7]);
@@ -1160,10 +1194,13 @@
static int abort_if_not_full_device (int fd, __u64 lba, const char *devname, const char *msg)
{
+ struct stat stat;
__u64 start_lba;
int i, err, shortened = 0;
char *fdevname = strdup(devname);
+ if (0 == fstat(fd, &stat) && S_ISCHR(stat.st_mode))
+ return 0; /* skip geometry test for character (non-block) devices; eg. /dev/sg* */
err = get_dev_geometry(fd, NULL, NULL, NULL, &start_lba, NULL);
if (err)
exit(err);
@@ -1211,7 +1248,7 @@
unsigned char *b = (unsigned char *)&dco[i];
dco[i] = b[0] | (b[1] << 8); /* le16_to_cpu */
}
- //dump_sectors(dco, 1, 0);
+ //dump_sectors(dco, 1, 0, 512);
return dco;
}
}
@@ -1243,7 +1280,7 @@
}
if (verbose) {
printf("Original DCO:\n");
- dump_sectors(dco, 1, 0);
+ dump_sectors(dco, 1, 0, 512);
}
// set the new MAXLBA to the requested sectors - 1
*maxlba = set_max_addr - 1;
@@ -1251,7 +1288,7 @@
dco[255] = (dco[255] & 0xFF) | ((__u16) dco_verify_checksum(dco) << 8);
if (verbose) {
printf("New DCO:\n");
- dump_sectors(dco, 1, 0);
+ dump_sectors(dco, 1, 0, 512);
}
} else {
@@ -1557,6 +1594,82 @@
return 1; /* all other drives, including Intel SSDs */
}
+int get_current_sector_size (int fd)
+{
+ unsigned int words = 256;
+
+ get_identify_data(fd);
+ if((id[106] & 0xc000) == 0x4000) {
+ if (id[106] & (1<<12))
+ words = (id[118] << 16) | id[117];
+ }
+ return 2 * words;
+}
+
+static int
+get_set_sector_index (int fd, unsigned int wanted_sector_size, int *checkword)
+{
+ __u8 d[512] = {0,};
+ const int SECTOR_CONFIG = 0x2f;
+ int i, rc;
+
+ rc = get_log_page_data(fd, SECTOR_CONFIG, 0, d);
+ if (rc) {
+ fprintf(stderr, "READ_LOG_EXT(SECTOR_CONFIGURATION) failed: %s\n", strerror(rc));
+ exit(1);
+ }
+ for (i = 0; i < 128; i += 16) {
+ unsigned int lss;
+ if ((d[i] & 0x80) == 0) /* Is this descriptor valid? */
+ continue; /* not valid */
+ lss = d[i + 4] | (d[i + 5] << 8) | (d[i + 6] << 16) | (d[i + 7] << 24); /* logical sector size */
+ if (lss == wanted_sector_size) {
+ *checkword = d[i + 2] | (d[i + 3] << 8);
+ return i / 16; /* descriptor index */
+ }
+ }
+ fprintf(stderr, "ERROR: unsupported sector size: %d\n", wanted_sector_size);
+ exit (-1);
+}
+
+static int do_set_sector_size_cmd (int fd, const char *devname)
+{
+ int index, err = 0;
+ __u8 ata_op;
+ struct hdio_taskfile *r;
+ int checkword = 0;
+
+ abort_if_not_full_device(fd, 0, devname, NULL);
+ r = malloc(sizeof(struct hdio_taskfile) + 512);
+ if (!r) {
+ err = errno;
+ perror("malloc()");
+ return err;
+ }
+ ata_op = ATA_OP_SET_SECTOR_CONFIGURATION;
+ init_hdio_taskfile(r, ata_op, RW_WRITE, LBA48_FORCE, 0, 0, 0);
+
+ index = get_set_sector_index(fd, new_sector_size, &checkword);
+ r->hob.feat = checkword >> 8;
+ r->lob.feat = checkword;
+ r->hob.nsect = 0;
+ r->lob.nsect = index;
+ r->oflags.bits.hob.feat = 1;
+
+ printf("changing sector size configuration to %llu: ", new_sector_size);
+ fflush(stdout);
+
+ if (do_taskfile_cmd(fd, r, timeout_60secs)) {
+ err = errno;
+ perror("FAILED");
+ } else {
+ printf("succeeded\n");
+ }
+
+ free(r);
+ return err;
+}
+
static int
do_trim_from_stdin (int fd, const char *devname)
{
@@ -1628,16 +1741,17 @@
int err = 0;
__u8 ata_op;
struct hdio_taskfile *r;
+ int sector_bytes = get_current_sector_size(fd);
abort_if_not_full_device(fd, lba, devname, NULL);
- r = malloc(sizeof(struct hdio_taskfile) + 512);
+ r = malloc(sizeof(struct hdio_taskfile) + sector_bytes);
if (!r) {
err = errno;
perror("malloc()");
return err;
}
ata_op = (lba >= lba28_limit) ? ATA_OP_WRITE_PIO_EXT : ATA_OP_WRITE_PIO;
- init_hdio_taskfile(r, ata_op, RW_WRITE, LBA28_OK, lba, 1, 512);
+ init_hdio_taskfile(r, ata_op, RW_WRITE, LBA28_OK, lba, 1, sector_bytes);
printf("re-writing sector %llu: ", lba);
fflush(stdout);
@@ -1661,16 +1775,17 @@
int err = 0;
__u8 ata_op;
struct hdio_taskfile *r;
+ int sector_bytes = get_current_sector_size(fd);
abort_if_not_full_device(fd, lba, devname, NULL);
- r = malloc(sizeof(struct hdio_taskfile) + 512);
+ r = malloc(sizeof(struct hdio_taskfile) + sector_bytes);
if (!r) {
err = errno;
perror("malloc()");
return err;
}
ata_op = (lba >= lba28_limit) ? ATA_OP_READ_PIO_EXT : ATA_OP_READ_PIO;
- init_hdio_taskfile(r, ata_op, RW_READ, LBA28_OK, lba, 1, 512);
+ init_hdio_taskfile(r, ata_op, RW_READ, LBA28_OK, lba, 1, sector_bytes);
printf("reading sector %llu: ", lba);
fflush(stdout);
@@ -1680,7 +1795,7 @@
perror("FAILED");
} else {
printf("succeeded\n");
- dump_sectors(r->data, 1, 0);
+ dump_sectors(r->data, 1, 0, sector_bytes);
}
free(r);
return err;
@@ -1834,6 +1949,7 @@
" --sanitize-overwrite PATTERN Overwrite the internal media with constant PATTERN\n"
" --sanitize-status Show sanitize status information\n"
" --security-help Display help for ATA security commands\n"
+ " --set-sector-size Change logical sector size of drive\n"
" --trim-sector-ranges Tell SSD firmware to discard unneeded data sectors: lba:count ..\n"
" --trim-sector-ranges-stdin Same as above, but reads lba:count pairs from stdin\n"
" --verbose Display extra diagnostics from some commands\n"
@@ -1898,6 +2014,13 @@
exit(err);
}
+ if (do_set_sector_size) {
+ if (num_flags_processed > 1 || argc)
+ usage_help(16,EINVAL);
+ confirm_please_destroy_my_drive("--" SET_SECTOR_SIZE, "This will likely destroy all data on the drive.");
+ exit(do_set_sector_size_cmd(fd, devname));
+ }
+
if (trim_from_stdin) {
if (num_flags_processed > 1 || argc)
usage_help(12,EINVAL);
@@ -2228,7 +2351,8 @@
if (do_dco_restore) {
__u8 args[4] = {ATA_OP_DCO,0,0xc0,0};
confirm_i_know_what_i_am_doing("--dco-restore", "You are trying to deliberately reset your drive configuration back to the factory defaults.\nThis may change the apparent capacity and feature set of the drive, making all data on it inaccessible.\nYou could lose *everything*.");
- printf(" issuing DCO restore command\n");
+ if (!quiet)
+ printf(" issuing DCO restore command\n");
if (do_drive_cmd(fd, args, 0)) {
err = errno;
perror(" HDIO_DRIVE_CMD(dco_restore) failed");
@@ -2236,7 +2360,8 @@
}
if (do_dco_freeze) {
__u8 args[4] = {ATA_OP_DCO,0,0xc1,0};
- printf(" issuing DCO freeze command\n");
+ if (!quiet)
+ printf(" issuing DCO freeze command\n");
if (do_drive_cmd(fd, args, 0)) {
err = errno;
perror(" HDIO_DRIVE_CMD(dco_freeze) failed");
@@ -2249,7 +2374,8 @@
confirm_i_know_what_i_am_doing("--dco-setmax", "You have requested reducing the apparent size of the drive.\nThis is a BAD idea, and can easily destroy all of the drive's contents.");
// set max sectors with DCO set command
- printf("issuing DCO set command (sectors = %llu)\n", set_max_addr);
+ if (!quiet)
+ printf("issuing DCO set command (sectors = %llu)\n", set_max_addr);
do_dco_setmax_cmd(fd);
// invalidate current IDENTIFY data
@@ -2258,7 +2384,8 @@
}
if (security_freeze) {
__u8 args[4] = {ATA_OP_SECURITY_FREEZE_LOCK,0,0,0};
- printf(" issuing security freeze command\n");
+ if (!quiet)
+ printf(" issuing security freeze command\n");
if (do_drive_cmd(fd, args, 0)) {
err = errno;
perror(" HDIO_DRIVE_CMD(security_freeze) failed");
@@ -2266,7 +2393,7 @@
}
if (set_seagate) {
__u8 args[4] = {0xfb,0,0,0};
- if (get_seagate)
+ if (!quiet && get_seagate)
printf(" disabling Seagate auto powersaving mode\n");
if (do_drive_cmd(fd, args, 0)) {
err = errno;
@@ -2274,7 +2401,7 @@
}
}
if (set_busstate) {
- if (get_busstate)
+ if (!quiet && get_busstate)
printf(" setting bus state to %d (%s)\n", busstate, busstate_str(busstate));
if (ioctl(fd, HDIO_SET_BUSSTATE, busstate)) {
err = errno;
@@ -2282,7 +2409,7 @@
}
}
if (set_max_sectors) {
- if (get_native_max_sectors)
+ if (!quiet && get_native_max_sectors)
printf(" setting max visible sectors to %llu (%s)\n", set_max_addr, set_max_permanent ? "permanent" : "temporary");
get_identify_data(fd);
if (id) {
@@ -2536,7 +2663,7 @@
get_identify_data(fd);
if (id) {
if (do_IDentity == 2) {
- dump_sectors(id, 1, 1);
+ dump_sectors(id, 1, 1, 512);
} else if (do_IDentity == 3) {
/* Write raw binary IDENTIFY DEVICE data to the specified file */
int rfd = open(raw_identify_path, O_WRONLY|O_TRUNC|O_CREAT, 0644);
@@ -2920,6 +3047,7 @@
}
}
+static const char *sector_size_emsg = "sector size out of range";
static const char *lba_emsg = "bad/missing sector value";
static const char *count_emsg = "bad/missing sector count";
static const __u64 lba_limit = (1ULL << 48) - 1;
@@ -3164,6 +3292,9 @@
erase_sectors = 1;
get_u64_parm(0, 0, NULL, &erase_sectors_addr, 0, lba_limit, name, lba_emsg);
#endif
+ } else if (0 == strcasecmp(name, SET_SECTOR_SIZE)) {
+ if (get_u64_parm(0, 0, NULL, &new_sector_size, 0x200, 0x1080, "--" SET_SECTOR_SIZE, sector_size_emsg))
+ do_set_sector_size = 1;
} else if (0 == strcasecmp(name, "trim-sector-ranges-stdin")) {
trim_from_stdin = 1;
} else if (0 == strcasecmp(name, "trim-sector-ranges")) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/hdparm.h new/hdparm-9.57/hdparm.h
--- old/hdparm-9.56/hdparm.h 2017-05-01 21:09:54.000000000 +0200
+++ new/hdparm-9.57/hdparm.h 2018-10-16 19:01:00.000000000 +0200
@@ -19,7 +19,8 @@
int sysfs_get_attr_recursive (int fd, const char *attr, const char *fmt, void *val1, void *val2, int verbose);
int get_dev_geometry (int fd, __u32 *cyls, __u32 *heads, __u32 *sects, __u64 *start_lba, __u64 *nsectors);
-int get_dev_t_geometry (dev_t dev, __u32 *cyls, __u32 *heads, __u32 *sects, __u64 *start_lba, __u64 *nsectors);
+int get_dev_t_geometry (dev_t dev, __u32 *cyls, __u32 *heads, __u32 *sects,
+ __u64 *start_lba, __u64 *nsectors, unsigned int *sector_bytes);
int do_filemap(const char *file_name);
int do_fallocate_syscall (const char *name, __u64 bytecount);
int fwdownload (int fd, __u16 *id, const char *fwpath, int xfer_mode);
@@ -32,7 +33,8 @@
void wdidle3_print_timeout (unsigned char timeout);
unsigned char wdidle3_msecs_to_timeout (unsigned int msecs);
-int get_id_log_page_data (int fd, __u8 pagenr, __u8 *buf);
+int get_log_page_data (int fd, __u8 log_address, __u8 pagenr, __u8 *buf);
+int get_current_sector_size (int fd);
/* APT Functions */
int apt_detect (int fd, int verbose);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/hdparm.lsm new/hdparm-9.57/hdparm.lsm
--- old/hdparm-9.56/hdparm.lsm 2018-03-25 19:08:50.000000000 +0200
+++ new/hdparm-9.57/hdparm.lsm 2018-10-16 20:13:38.000000000 +0200
@@ -1,8 +1,9 @@
Begin4
Title: hdparm
-Version: 9.56
-Entered-date: 2018-03-25
+Version: 9.57
+Entered-date: 2018-10-16
Description: hdparm - get/set hard disk parameters for Linux SATA/IDE drives.
+ v9.57 added --set-sector-size, general support for non-512 byte partitions
v9.56 fixed --Istdout, added --Iraw
v9.55 #include <sys/sysmacros.h>
v9.54 partial revert of JMicron changes.
@@ -130,7 +131,7 @@
Maintained-by: mlord(a)pobox.com (Mark Lord)
Primary-site: http://sourceforge.net/projects/hdparm/
Alternate-site: http://www.ibiblio.org/pub/Linux/system/hardware
- 137K hdparm-9.56.tar.gz
+ 138K hdparm-9.57.tar.gz
7K hdparm.lsm
Platforms: Linux
Copying-policy: BSD License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/identify.c new/hdparm-9.57/identify.c
--- old/hdparm-9.56/identify.c 2016-10-17 20:06:28.000000000 +0200
+++ new/hdparm-9.57/identify.c 2018-09-19 17:17:28.000000000 +0200
@@ -678,7 +678,7 @@
int mdat = 0;
memset(buf, 0, 512);
- if (fd != -1 && !get_id_log_page_data(fd, 8, buf) && (buf[0x37] & 0x80)) {
+ if (fd != -1 && !get_log_page_data(fd, 0x30, 8, buf) && (buf[0x37] & 0x80)) {
mdat = buf[0x30] & 0x1f;
deto = buf[0x31];
printf("Device Sleep:\n");
@@ -688,6 +688,28 @@
}
}
+static void
+print_logical_sector_sizes (int fd)
+{
+ __u8 d[512] = {0,};
+ int i, found = 0, rc;
+
+ rc = get_log_page_data(fd, 0x2f, 0, d);
+ if (rc)
+ return;
+ for (i = 0; i < 128; i += 16) {
+ unsigned int lss;
+ if ((d[i] & 0x80) == 0) /* Is this descriptor valid? */
+ continue; /* not valid */
+ if (!found++)
+ printf(" [ Supported:");
+ lss = d[i + 4] | (d[i + 5] << 8) | (d[i + 6] << 16) | (d[i + 7] << 24); /* logical sector size */
+ printf(" %u", lss);
+ }
+ if (found)
+ printf(" ]");
+}
+
/* our main() routine: */
void identify (int fd, __u16 *id_supplied)
{
@@ -974,20 +996,23 @@
if (val[106] & (1<<12))
lsize = (val[118] << 16) | val[117];
sector_bytes = 2 * lsize;
- printf("\t%-31s %11u bytes\n","Logical Sector size:", sector_bytes);
+ printf("\t%-31s %11u bytes","Logical Sector size:", sector_bytes);
+ print_logical_sector_sizes(fd);
+ printf("\n");
printf("\t%-31s %11u bytes\n","Physical Sector size:", sector_bytes * pfactor);
if ((val[209] & 0xc000) == 0x4000) {
unsigned int offset = val[209] & 0x1fff;
printf("\t%-31s %11u bytes\n", "Logical Sector-0 offset:", offset * sector_bytes);
}
}
- if (!bbbig) bbbig = (__u64)(ll>mm ? ll : mm); /* # 512 byte blocks */
+ if (!bbbig) bbbig = (__u64)((ll > mm) ? ll : mm); /* # 512 byte blocks */
if (!bbbig) bbbig = bb;
- bbbig *= (sector_bytes / 512);
- printf("\tdevice size with M = 1024*1024: %11llu MBytes\n", (unsigned long long)(bbbig>>11));
- bbbig = (bbbig<<9)/1000000;
- printf("\tdevice size with M = 1000*1000: %11llu MBytes ", (unsigned long long)bbbig);
- if(bbbig > 1000) printf("(%llu GB)\n", (unsigned long long)(bbbig/1000));
+ bbbig *= sector_bytes;
+
+ printf("\tdevice size with M = 1024*1024: %11llu MBytes\n", bbbig / (1024ull * 1024ull));
+ bbbig /= 1000ull;
+ printf("\tdevice size with M = 1000*1000: %11llu MBytes ", bbbig / 1000ull);
+ if (bbbig > 1000ull) printf("(%llu GB)\n", bbbig/1000000ull);
else printf("\n");
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/sgio.h new/hdparm-9.57/sgio.h
--- old/hdparm-9.56/sgio.h 2017-05-01 21:07:50.000000000 +0200
+++ new/hdparm-9.57/sgio.h 2018-10-12 19:22:49.000000000 +0200
@@ -33,6 +33,7 @@
ATA_OP_GET_NATIVE_MAX_EXT = 0x78,
ATA_OP_SMART = 0xb0,
ATA_OP_DCO = 0xb1,
+ ATA_OP_SET_SECTOR_CONFIGURATION = 0xb2,
ATA_OP_SANITIZE = 0xb4,
ATA_OP_ERASE_SECTORS = 0xc0,
ATA_OP_READ_DMA = 0xc8,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/sysfs.c new/hdparm-9.57/sysfs.c
--- old/hdparm-9.56/sysfs.c 2018-03-15 20:27:21.000000000 +0100
+++ new/hdparm-9.57/sysfs.c 2018-09-03 20:20:25.000000000 +0200
@@ -217,7 +217,7 @@
strcpy(path, start_path);
- while (depth < 20) {
+ while (depth++ < 20) {
strcat(path, "/..");
if (stat(path, &st) != 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hdparm-9.56/wdidle3.c new/hdparm-9.57/wdidle3.c
--- old/hdparm-9.56/wdidle3.c 2016-10-13 01:50:52.000000000 +0200
+++ new/hdparm-9.57/wdidle3.c 2018-10-16 18:55:35.000000000 +0200
@@ -195,7 +195,7 @@
void wdidle3_print_timeout (unsigned char timeout)
{
if (verbose)
- printf("[raw=0x%02x] ", timeout); //FIXME
+ printf("[raw=0x%02x] ", timeout);
if (timeout == 0)
printf("disabled");
else if (timeout < 0x50 || timeout == WDC_TIMEOUT_THRESHOLD)
++++++ hdparm-leak-fix.patch ++++++
--- /var/tmp/diff_new_pack.sg99de/_old 2018-11-06 13:58:27.819918423 +0100
+++ /var/tmp/diff_new_pack.sg99de/_new 2018-11-06 13:58:27.823918418 +0100
@@ -1,15 +1,16 @@
---- hdparm.c.old 2009-08-02 22:08:56.000000000 +0200
-+++ hdparm.c 2009-09-17 09:57:44.000000000 +0200
-@@ -880,7 +880,7 @@
- {
+diff -urEbwB hdparm-9.57/hdparm.c hdparm-9.57.new/hdparm.c
+--- hdparm-9.57/hdparm.c 2018-10-16 20:12:53.000000000 +0200
++++ hdparm-9.57.new/hdparm.c 2018-10-18 10:15:54.448809739 +0200
+@@ -1197,7 +1197,7 @@
+ struct stat stat;
__u64 start_lba;
int i, err, shortened = 0;
- char *fdevname = strdup(devname);
+ char *fdevname = strdupa(devname);
- err = get_dev_geometry(fd, NULL, NULL, NULL, &start_lba, NULL);
- if (err)
-@@ -891,7 +891,7 @@
+ if (0 == fstat(fd, &stat) && S_ISCHR(stat.st_mode))
+ return 0; /* skip geometry test for character (non-block) devices; eg. /dev/sg* */
+@@ -1210,7 +1210,7 @@
}
if (!shortened)
1
0
Hello community,
here is the log from the commit of package dmidecode for openSUSE:Factory checked in at 2018-11-06 13:57:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dmidecode (Old)
and /work/SRC/openSUSE:Factory/.dmidecode.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dmidecode"
Tue Nov 6 13:57:42 2018 rev:35 rq:643888 version:3.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/dmidecode/dmidecode.changes 2018-09-20 11:38:38.564955834 +0200
+++ /work/SRC/openSUSE:Factory/.dmidecode.new/dmidecode.changes 2018-11-06 13:57:45.379976519 +0100
@@ -1,0 +2,6 @@
+Mon Oct 22 14:51:29 CEST 2018 - jdelvare(a)suse.de
+
+- dmidecode-fix-redfish-hostname-print-length.patch: Fix Redfish
+ Hostname print length (bsc#1112755).
+
+-------------------------------------------------------------------
@@ -4 +10 @@
-- Update to upstream version 3.2:
+- Update to upstream version 3.2 (FATE#326044):
New:
----
dmidecode-fix-redfish-hostname-print-length.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dmidecode.spec ++++++
--- /var/tmp/diff_new_pack.ZICWxd/_old 2018-11-06 13:57:45.991975682 +0100
+++ /var/tmp/diff_new_pack.ZICWxd/_new 2018-11-06 13:57:45.995975676 +0100
@@ -27,6 +27,7 @@
Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz…
# https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode
Source2: %{name}.keyring
+Patch1: dmidecode-fix-redfish-hostname-print-length.patch
Provides: pmtools:%{_sbindir}/dmidecode
Obsoletes: pmtools < 20071117
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -49,6 +50,7 @@
%prep
%setup -q
+%patch1 -p1
%build
make CFLAGS="%{optflags}" %{?_smp_mflags}
++++++ dmidecode-fix-redfish-hostname-print-length.patch ++++++
From: Charles Rose <Charles.Rose(a)dell.com>
Date: Mon, 22 Oct 2018 09:48:02 +0200
Subject: dmidecode: Fix Redfish Hostname print length
Git-commit: fde47bb227b8fa817c88d7e10a8eb771c46de1df
Patch-mainline: yes
References: bsc#1112755
Redfish Hostname prints beyond hlen characters. Fix it.
Signed-off-by: Charles Rose <charles.rose(a)dell.com>
Fixes: 78539b06117c ("dmidecode: Parse Modern Management Controller blocks")
Acked-by: Neil Horman <nhorman(a)tuxdriver.com>
Signed-off-by: Jean Delvare <jdelvare(a)suse.de>
---
dmidecode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -3609,7 +3609,7 @@ static void dmi_parse_protocol_record(co
hname = out_of_spec;
hlen = strlen(out_of_spec);
}
- printf("%s\t\tRedfish Service Hostname: %*s\n", prefix, hlen, hname);
+ printf("%s\t\tRedfish Service Hostname: %.*s\n", prefix, hlen, hname);
}
/*
1
0