openSUSE Commits
Threads by month
- ----- 2024 -----
- 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
March 2021
- 1 participants
- 2434 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-xhtml2pdf for openSUSE:Factory checked in at 2021-03-30 21:01:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xhtml2pdf (Old)
and /work/SRC/openSUSE:Factory/.python-xhtml2pdf.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xhtml2pdf"
Tue Mar 30 21:01:28 2021 rev:5 rq:870119 version:0.2.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xhtml2pdf/python-xhtml2pdf.changes 2020-05-16 22:27:08.285372105 +0200
+++ /work/SRC/openSUSE:Factory/.python-xhtml2pdf.new.2401/python-xhtml2pdf.changes 2021-03-30 21:01:30.452790924 +0200
@@ -1,0 +2,29 @@
+Sun Feb 7 14:49:02 UTC 2021 - John Vandenberg <jayvdb(a)gmail.com>
+
+- Add missing runtime dependency on setuptools
+- Remove hashbang from library modules
+- Activate test suite
+- Update to v0.2.5
+ * Added Asian fonts support (Simplified Chinese,
+ Traditional Chinese, Japanese & Korean)
+ * Added support for right-to-left writings like Arabic, Hebrew,
+ Persian, Pashto, Urdu and Sindhi. Simply include for example
+ <pdf:language name="arabic"/>
+ * CSS property letter-spacing now supports float values and
+ relative & absolute units like cm, in, em, % etc
+ * Added unit tests for Asian and right-to-left fonts
+ * @frame properties like width, right, bottom etc. are now
+ correctly calculated depending on the page orientation and size
+ * Fixed support for multiple fonts and unicode
+ * Fixed an encoding issue with html5lib
+ * Fixed a problem with the border property in h1 to h6 heading tags
+ * Fixed compability with ReportLab 3.5.X
+ * Removed default background-image when no background-image is defined
+ * Fixed an issue with different font type that have the same name
+ * Fixed a bug that prevented support for Python 3.X
+ * testrender test: fixed transparences and included new reference
+ files. now all tests pass in Travis CI without --failed
+ * 0.0 as value for a CSS property now acts the same way as 0 and None
+ * Removed i and inch as unofficial synonyms for the in unit
+
+-------------------------------------------------------------------
Old:
----
xhtml2pdf-0.2.4.tar.gz
New:
----
xhtml2pdf-0.2.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-xhtml2pdf.spec ++++++
--- /var/tmp/diff_new_pack.oWT1De/_old 2021-03-30 21:01:33.096793829 +0200
+++ /var/tmp/diff_new_pack.oWT1De/_new 2021-03-30 21:01:33.100793834 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-xhtml2pdf
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,28 +18,33 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-xhtml2pdf
-Version: 0.2.4
+Version: 0.2.5
Release: 0
Summary: PDF Generator Using HTML and CSS
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/xhtml2pdf/xhtml2pdf
-Source: https://files.pythonhosted.org/packages/source/x/xhtml2pdf/xhtml2pdf-%{vers…
-# leaving the requirements here as the tests will start working one day
-BuildRequires: %{python_module Pillow >= 2.0}
+Source: https://github.com/xhtml2pdf/xhtml2pdf/archive/%{version}.tar.gz#/xhtml2pdf…
+BuildRequires: %{python_module setuptools}
+# SECTION test requirements
+BuildRequires: %{python_module Pillow >= 7.0.2}
BuildRequires: %{python_module PyPDF2 >= 1.26}
-BuildRequires: %{python_module coverage}
+BuildRequires: %{python_module arabic-reshaper >= 2.1.0}
BuildRequires: %{python_module html5lib >= 1.0}
-BuildRequires: %{python_module nose >= 1.3.3}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module python-bidi >= 0.4.2}
BuildRequires: %{python_module reportlab >= 3.0}
-BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
+# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-Pillow >= 2.0.0
+Requires: python-Pillow >= 7.0.2
Requires: python-PyPDF2 >= 1.26
+Requires: python-arabic-reshaper >= 2.1.0
Requires: python-html5lib >= 1.0
+Requires: python-python-bidi >= 0.4.2
Requires: python-reportlab >= 3.0
+Requires: python-setuptools
Requires: python-six
Requires(post): update-alternatives
Requires(postun): update-alternatives
@@ -57,6 +62,7 @@
%prep
%setup -q -n xhtml2pdf-%{version}
+sed -i '1{/^#!/d}' xhtml2pdf/paragraph.py xhtml2pdf/w3c/*.py
%build
%python_build
@@ -68,7 +74,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# as in setup.py: test_suite = "tests", They're not even working yet
+%pytest
%post
%python_install_alternative xhtml2pdf
++++++ xhtml2pdf-0.2.4.tar.gz -> xhtml2pdf-0.2.5.tar.gz ++++++
++++ 22274 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-arabic-reshaper for openSUSE:Factory checked in at 2021-03-30 21:01:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-arabic-reshaper (Old)
and /work/SRC/openSUSE:Factory/.python-arabic-reshaper.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-arabic-reshaper"
Tue Mar 30 21:01:17 2021 rev:6 rq:870118 version:2.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-arabic-reshaper/python-arabic-reshaper.changes 2020-10-14 15:40:11.474383336 +0200
+++ /work/SRC/openSUSE:Factory/.python-arabic-reshaper.new.2401/python-arabic-reshaper.changes 2021-03-30 21:01:20.372779850 +0200
@@ -1,0 +2,7 @@
+Sun Feb 7 14:29:59 UTC 2021 - John Vandenberg <jayvdb(a)gmail.com>
+
+- Update to v2.1.1
+ * Added support for settings based on a TrueType�� font
+ * Fix ResourceWarning
+
+-------------------------------------------------------------------
Old:
----
v2.0.15.tar.gz
New:
----
arabic_reshaper-2.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-arabic-reshaper.spec ++++++
--- /var/tmp/diff_new_pack.cIX4A8/_old 2021-03-30 21:01:21.132780685 +0200
+++ /var/tmp/diff_new_pack.cIX4A8/_new 2021-03-30 21:01:21.136780690 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-arabic-reshaper
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-arabic-reshaper
-Version: 2.0.15
+Version: 2.1.1
Release: 0
Summary: Python module for formatting Arabic sentences
License: MIT
Group: Development/Languages/Python
URL: https://github.com/mpcabd/python-arabic-reshaper/
-Source: https://github.com/mpcabd/python-arabic-reshaper/archive/v%{version}.tar.gz
+Source: https://github.com/mpcabd/python-arabic-reshaper/archive/v%{version}.tar.gz…
BuildRequires: %{python_module future}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package qsynth for openSUSE:Factory checked in at 2021-03-30 21:01:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qsynth (Old)
and /work/SRC/openSUSE:Factory/.qsynth.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qsynth"
Tue Mar 30 21:01:04 2021 rev:13 rq:879419 version:0.9.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/qsynth/qsynth.changes 2020-12-17 17:09:23.273975797 +0100
+++ /work/SRC/openSUSE:Factory/.qsynth.new.2401/qsynth.changes 2021-03-30 21:01:10.608769123 +0200
@@ -1,0 +2,17 @@
+Mon Mar 15 11:18:07 UTC 2021 - Luigi Baldoni <aloisio(a)gmx.com>
+
+- Update to version 0.9.2
+ * Possible fix to the even number of audio channels not playing
+ back through JACK when audio group number is set to 2.
+
+-------------------------------------------------------------------
+Sun Feb 7 10:19:31 UTC 2021 - Luigi Baldoni <aloisio(a)gmx.com>
+
+- Update to version 0.9.1
+ * Fixed MIDI player to files that are drag and dropped
+ after a first time following engine re-initialization.
+ * Fix multi-channel support with JACK.
+ * Early preparations for the New Year develop(ment) cycle.
+- Drop qsynth-0.9.0_Qt512.patch (merged upstream)
+
+-------------------------------------------------------------------
Old:
----
qsynth-0.9.0.tar.gz
qsynth-0.9.0_Qt512.patch
New:
----
qsynth-0.9.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qsynth.spec ++++++
--- /var/tmp/diff_new_pack.wSyixF/_old 2021-03-30 21:01:11.428770024 +0200
+++ /var/tmp/diff_new_pack.wSyixF/_new 2021-03-30 21:01:11.432770029 +0200
@@ -1,7 +1,7 @@
#
# spec file for package qsynth
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2014 Pascal Bleser <pascal.bleser(a)opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
Name: qsynth
-Version: 0.9.0
+Version: 0.9.2
Release: 0
Summary: Graphical User Interface for fluidsynth
License: GPL-2.0-or-later
@@ -26,8 +26,6 @@
URL: https://qsynth.sourceforge.net/qsynth-index.html
Source: https://sourceforge.net/projects/qsynth/files/qsynth/%{version}/qsynth-%{ve…
Patch1: qsynth-fix_desktop_file.patch
-# PATCH-FIX-OPENSUSE qsynth-0.9.0_Qt512.patch # use qt5 macros when generic not available -- aloisio(a)gmx.com
-Patch2: qsynth-0.9.0_Qt512.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
++++++ qsynth-0.9.0.tar.gz -> qsynth-0.9.2.tar.gz ++++++
++++ 9606 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package manpages-l10n for openSUSE:Factory checked in at 2021-03-30 21:00:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/manpages-l10n (Old)
and /work/SRC/openSUSE:Factory/.manpages-l10n.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "manpages-l10n"
Tue Mar 30 21:00:47 2021 rev:3 rq:878082 version:4.9.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/manpages-l10n/manpages-l10n.changes 2020-10-16 16:14:47.908700245 +0200
+++ /work/SRC/openSUSE:Factory/.manpages-l10n.new.2401/manpages-l10n.changes 2021-03-30 21:00:58.908756270 +0200
@@ -1,0 +2,36 @@
+Tue Mar 9 21:56:36 UTC 2021 - Antoine Belvire <antoine.belvire(a)opensuse.org>
+
+- Update to version 4.9.3:
+ * Final release for Debian Bullseye.
+ * Updated many translations.
+
+-------------------------------------------------------------------
+Wed Feb 10 17:09:38 UTC 2021 - Antoine Belvire <antoine.belvire(a)opensuse.org>
+
+- Update to version 4.9.2:
+ * Remove man pages of procps/procps-ng, now maintained upstream;
+ only Debian Buster keeps the files for possible backports
+ (boo#1182517).
+ * Updated and added many translations.
+
+-------------------------------------------------------------------
+Sat Feb 6 21:48:54 UTC 2021 - Antoine Belvire <antoine.belvire(a)opensuse.org>
+
+- Update to version 4.9.1:
+ * Updated and added many translations.
+
+-------------------------------------------------------------------
+Sun Jan 24 11:49:30 UTC 2021 - Antoine Belvire <antoine.belvire(a)opensuse.org>
+
+- Simplify macro definitions.
+
+-------------------------------------------------------------------
+Sat Jan 23 21:39:13 UTC 2021 - Antoine Belvire <antoine.belvire(a)opensuse.org>
+
+- Update to version 4.9.0~pre1:
+ * Updated and added many translations.
+ * Enable Italian, Spanish and Macedonian.
+ * Still skip Czech, it's in a very early state.
+- Cosmetic changes in comments and in the distribution_id macro.
+
+-------------------------------------------------------------------
Old:
----
manpages-l10n-v4.2.0.tar.bz2
New:
----
manpages-l10n-v4.9.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ manpages-l10n.spec ++++++
--- /var/tmp/diff_new_pack.bc6nea/_old 2021-03-30 21:01:01.076758652 +0200
+++ /var/tmp/diff_new_pack.bc6nea/_new 2021-03-30 21:01:01.076758652 +0200
@@ -1,7 +1,7 @@
#
# spec file for package manpages-l10n
#
-# Copyright (c) 2020 Antoine Belvire <antoine.belvire(a)opensuse.org>
+# Copyright (c) 2021 Antoine Belvire <antoine.belvire(a)opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,8 +15,9 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
Name: manpages-l10n
-Version: 4.2.0
+Version: 4.9.3
Release: 0
Summary: Translation of man pages
License: GPL-3.0-only
@@ -31,13 +32,16 @@
This package provides translations of man pages in multiple languages.
%man_lang_package de German
+%man_lang_package es Spanish
+%man_lang_package it Italian
+%man_lang_package mk Macedonian
%man_lang_package nl Dutch
%man_lang_package pl Polish
%man_lang_package pt_BR %{quote:Brazilian Portuguese}
%man_lang_package ro Romanian
-# French translations used to be splitted into a main and an extra package.
-# Let's obsolete the extra package.
+# French translations used to be splitted into a main and an extra package on openSUSE.
+# Let's obsolete the extra package until openSUSE Leap 15.2 EOL (Dec. 2021).
%man_lang_package fr French -o %{quote:man-pages-fr-extra <= 20151231}
%prep
++++++ macros.manpages-l10n ++++++
--- /var/tmp/diff_new_pack.bc6nea/_old 2021-03-30 21:01:01.112758691 +0200
+++ /var/tmp/diff_new_pack.bc6nea/_new 2021-03-30 21:01:01.116758695 +0200
@@ -9,32 +9,16 @@
# -o: Add Obsoletes tag with given argument
#
%man_lang_package(o:)\
-%man_lang_package_declaration %{1} %{quote:%{2}} %{-o:-o %{quote:%{-o*}}}\
-%man_lang_package_description %{1} %{quote:%{2}}\
-%man_lang_package_files %{1}
-
-##
-# Subpackage declaration.
-#
-%man_lang_package_declaration(o:) \
%package -n man-pages-%{1}\
Summary: Translation of man pages in %{2}\
Requires: man-pages\
Provides: locale(man-pages:%{1})\
BuildArch: noarch %{-o:\
-Obsoletes: %{-o*}}
-
-##
-# Subpackage description.
-#
-%man_lang_package_description() \
+Obsoletes: %{-o*}}\
+\
%description -n man-pages-%{1}\
-This package provides translations of man pages in %{2}.
-
-##
-# Subpackage files.
-#
-%man_lang_package_files() \
+This package provides translations of man pages in %{2}.\
+\
%files -n man-pages-%{1}\
%doc AUTHORS.md CHANGES.md README.md\
%%license COPYRIGHT.md LICENSE\
@@ -49,9 +33,9 @@
local mageia_version = tonumber(rpm.expand("%{mageia}"))
if suse_version ~= nil and suse_version > 1500 then
print("opensuse-tumbleweed")
- elseif fedora_version ~= nil and fedora_version == 99 then
+ elseif fedora_version == 99 then
print("fedora-rawhide")
- elseif mageia_version ~= nil and mageia_version == 99 then
+ elseif mageia_version == 99 then
print("mageia-cauldron")
else
print("debian-unstable")
++++++ manpages-l10n-v4.2.0.tar.bz2 -> manpages-l10n-v4.9.3.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/manpages-l10n/manpages-l10n-v4.2.0.tar.bz2 /work/SRC/openSUSE:Factory/.manpages-l10n.new.2401/manpages-l10n-v4.9.3.tar.bz2 differ: char 11, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package peazip for openSUSE:Factory checked in at 2021-03-30 21:00:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/peazip (Old)
and /work/SRC/openSUSE:Factory/.peazip.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "peazip"
Tue Mar 30 21:00:33 2021 rev:29 rq:881056 version:7.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/peazip/peazip.changes 2021-01-18 11:31:33.208637250 +0100
+++ /work/SRC/openSUSE:Factory/.peazip.new.2401/peazip.changes 2021-03-30 21:00:38.768734144 +0200
@@ -1,0 +2,124 @@
+Wed Mar 24 13:46:55 UTC 2021 - ecsos <ecsos(a)opensuse.org>
+
+- Update to 7.8.0
+ * BACKEND
+ - PEA 0.77
+ * CODE
+ - (Linux) Alternative Qt5 build is now available as portable
+ package
+ - If a setting requires to restart PeaZip (localization, system
+ integration, change work folder) it is told in the hint text
+ for the item
+ - Various fixes and improvements
+ * FILE MANAGER
+ - (Windows) Drag&drop now allows to drag-extract files directly
+ to other applications, previoulsy it was possible to
+ drag-extract to the system only - 2021 03 22 fix for Windows
+ 32 bit version, sources and legacy Windows 32 bit packages
+ were republished and online hash values were updated
+ - Righclicking an element on the breadcrumb it is now possible
+ to use context menu functions on it - e.g. display properties,
+ open the path in system's file explorer, open command prompt
+ here, etc
+ * EXTRACTION and ARCHIVING
+ - Interactive extraction option (checked by default on Windows)
+ enables two-step extraction for all archive types supported
+ through 7z/p7zip: content is extracted to a fresh folder and
+ then moved to actual output destination with standard
+ system's calls.
+ - When interactive extraction is used, all unneeded levels of
+ directory nesting are removed, and conflicts with existing
+ files are prompted interactively to user.
+ - Unchecking the option, it is possible to perform
+ single-step extraction as in previous versions, with policy
+ based directives to resolve naming conflicts without
+ needing user interaction (recommended when creating
+ scripts).
+ - It is now possible to set custom extensions for "Extract
+ everything for" in Options > Settings > Archive manager,
+ Extract group
+ - It is now possible to replace archive extension with a custom
+ extension from archiving screen, Advanced tab
+ - In res/presets/custom directory are provided some pre built
+ compression settings for comic book archive formats which
+ uses the new custom extension feature
+ - Priority for archiving and extraction tasks can now be
+ permanently set from Options > Settings > General, Tasks
+ priority
+ - (Windows 7+) Global progress is shown in application's icon
+ in taskbar
+
+-------------------------------------------------------------------
+Mon Mar 15 15:09:55 UTC 2021 - ecsos <ecsos(a)opensuse.org>
+
+- Update to 7.7.1
+ * BACKEND
+ - Pea 0.76
+ - UPX was removed from Windows packages due the amount of false
+ positives triggered in (low quality) security software; it is
+ possible to add UPX support installing Additional Formats
+ Plugin, or downloading and copying the most up to date UPX
+ executable in res\upx subfolder in PeaZip's directory
+ * CODE
+ - Command line -ext2simple and -ext2simplefolder can now accept
+ also empthy output path (extract to archive's path)
+ - ext2simplefolder as -ext2folder (switch -*folder) apply
+ smart folder policy, while -ext2simple and -ext2here
+ ignores it
+ - Updated web search (Ctrl+Alt+F3)
+ - Updated Windows installers to work with recent versions of
+ InnoSetup (.exe) and MSIWrapper (.msi)
+ - Various fixes
+ - CPUAARCH64 now disable Intel ASM to allow build on ARM64
+ architectures
+ - fixed adding multiple .enc suffix
+ - fixed various issues with non-English localizations
+ - fixed issue with preview for special file types (bat, exe,
+ html) resulting in extraction instead of preview
+ - improved handling special characters in password for arc,
+ rar, and pea formats
+ - (Linux) improved handling of special characters in
+ filenames
+ - (Linux) fixed issues with smart folder option
+ * EXTRACTION and ARCHIVING
+ - PEA compression and decompression can now be cancelled from
+ the GUI
+- Drop peazip-fix_aarch64.patch because now in upstream.
+
+-------------------------------------------------------------------
+Sat Feb 6 14:01:57 UTC 2021 - ecsos <ecsos(a)opensuse.org>
+
+- Update to 7.7.0
+ * BACKEND
+ - (Linux) Can now optionally use system p7zip, if installed,
+ from Options > Settings, General tab requires p7zip-full
+ (or equivalent package) to be installed in order to have a 7z
+ binary compatible with PeaZip's requirements in terms of
+ syntax and features
+ * CODE
+ - Various fixes
+ * FILE MANAGER
+ - Added shortcut Ctrl+W to close window, consistently with
+ conventional use in WinRar and Windows file explorer
+ - Improved control over temporary work directory, used when the
+ archive is created or edited, during drag and drop extraction
+ (Windows), and content preview
+ - Output: faster as no copy to destination is needed, more
+ secure as no content is unpacked/decrypted outside of the
+ intended destination path
+ - Output, preview in user's temp
+ - User's temp (as conventionally used by most applications):
+ in case of failure for any reason, user's temp folder is
+ the single place to look for orphaned data and can be
+ safely cleaned
+ - None, user's temp if needed: allows exceptions to perform
+ drag and drop extraction and preview using user's temp
+ - None: no exceptions allowed, no temporary work data is saved,
+ this does not allow to perform neither drag and drop
+ extraction nor preview, as archive content can't be
+ transparently unpacked and passed to system's drag & drop
+ handler, nor to the associated application
+ * EXTRACTION and ARCHIVING
+ - Added read support to .appxbundle format
+
+-------------------------------------------------------------------
Old:
----
peazip-7.6.0.src.zip
peazip-fix_aarch64.patch
peazip_help-7.6.0.pdf
New:
----
peazip-7.8.0.src.zip
peazip_help-7.8.0.pdf
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ peazip.spec ++++++
--- /var/tmp/diff_new_pack.1a9JjF/_old 2021-03-30 21:00:39.956735449 +0200
+++ /var/tmp/diff_new_pack.1a9JjF/_new 2021-03-30 21:00:39.956735449 +0200
@@ -17,9 +17,9 @@
%define _peazipinstalldir %{_libdir}/peazip
-%define _helpver 7.6.0
+%define _helpver 7.8.0
Name: peazip
-Version: 7.6.0
+Version: 7.8.0
Release: 0
Summary: Graphical file archiver
License: LGPL-3.0-only
@@ -29,8 +29,6 @@
Source1: altconf.txt
Source2: https://sourceforge.net/projects/peazip/files/%{_helpver}/peazip_help.pdf#/…
Patch0: peazip-desktop.patch
-# PATCH-FIX-UPSTREAM: https://sourceforge.net/p/peazip/tickets/492/
-Patch1: peazip-fix_aarch64.patch
# PATCH-FIX-OPENSUSE peazip-build_PIE.patch -- aloisio(a)gmx.com
Patch2: peazip-build_PIE.patch
# PATCH-FIX-OPENSUSE peazip-help_path.patch set correct path for the pdf guide -- aloisio(a)gmx.com
++++++ peazip-desktop.patch ++++++
--- /var/tmp/diff_new_pack.1a9JjF/_old 2021-03-30 21:00:40.012735510 +0200
+++ /var/tmp/diff_new_pack.1a9JjF/_new 2021-03-30 21:00:40.016735515 +0200
@@ -1,7 +1,7 @@
-Index: peazip-7.4.1.src/FreeDesktop_integration/peazip.desktop
+Index: peazip-7.7.1.src/FreeDesktop_integration/peazip.desktop
===================================================================
---- peazip-7.4.1.src.orig/FreeDesktop_integration/peazip.desktop
-+++ peazip-7.4.1.src/FreeDesktop_integration/peazip.desktop
+--- peazip-7.7.1.src.orig/FreeDesktop_integration/peazip.desktop
++++ peazip-7.7.1.src/FreeDesktop_integration/peazip.desktop
@@ -1,13 +1,16 @@
[Desktop Entry]
-Version=1.0
@@ -26,10 +26,10 @@
+Categories=Qt;KDE;Utility;System;Archiving;
+X-KDE-StartupNotify=true
+X-SuSE-translate=true
-Index: peazip-7.4.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipadd.desktop
+Index: peazip-7.7.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipadd.desktop
===================================================================
---- peazip-7.4.1.src.orig/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipadd.desktop
-+++ peazip-7.4.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipadd.desktop
+--- peazip-7.7.1.src.orig/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipadd.desktop
++++ peazip-7.7.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipadd.desktop
@@ -2,6 +2,8 @@
Exec=peazip -add2archive %F
Icon=peazip
@@ -44,10 +44,10 @@
Icon=peazip
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
-Index: peazip-7.4.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipext.desktop
+Index: peazip-7.7.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipext.desktop
===================================================================
---- peazip-7.4.1.src.orig/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipext.desktop
-+++ peazip-7.4.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipext.desktop
+--- peazip-7.7.1.src.orig/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipext.desktop
++++ peazip-7.7.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipext.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipext]
Exec=peazip -ext2full %F
@@ -64,10 +64,10 @@
Name[en_US]=peazipext
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
-Index: peazip-7.4.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipextfolder.desktop
+Index: peazip-7.7.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipextfolder.desktop
===================================================================
---- peazip-7.4.1.src.orig/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipextfolder.desktop
-+++ peazip-7.4.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipextfolder.desktop
+--- peazip-7.7.1.src.orig/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipextfolder.desktop
++++ peazip-7.7.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipextfolder.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipextfolder]
Exec=peazip -ext2folder %F
@@ -84,10 +84,10 @@
Name[en_US]=peazipextfolder
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
-Index: peazip-7.4.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipexthere.desktop
+Index: peazip-7.7.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipexthere.desktop
===================================================================
---- peazip-7.4.1.src.orig/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipexthere.desktop
-+++ peazip-7.4.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipexthere.desktop
+--- peazip-7.7.1.src.orig/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipexthere.desktop
++++ peazip-7.7.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipexthere.desktop
@@ -1,7 +1,9 @@
[Desktop Action peazipexthere]
Exec=peazip -ext2here %F
@@ -104,10 +104,10 @@
Name[en_US]=peazipexthere
ServiceTypes=KonqPopupMenu/Plugin,all/all
+X-SuSE-translate=true
-Index: peazip-7.4.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipopen.desktop
+Index: peazip-7.7.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipopen.desktop
===================================================================
---- peazip-7.4.1.src.orig/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipopen.desktop
-+++ peazip-7.4.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipopen.desktop
+--- peazip-7.7.1.src.orig/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipopen.desktop
++++ peazip-7.7.1.src/FreeDesktop_integration/kde4-dolphin/usr/share/kde4/services/ServiceMenus/peazipopen.desktop
@@ -2,6 +2,8 @@
Exec=peazip -ext2browse %F
Icon=peazip
++++++ peazip_help-7.6.0.pdf -> peazip_help-7.8.0.pdf ++++++
(binary differes)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package sshpass for openSUSE:Factory checked in at 2021-03-30 21:00:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sshpass (Old)
and /work/SRC/openSUSE:Factory/.sshpass.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sshpass"
Tue Mar 30 21:00:15 2021 rev:4 rq:869793 version:1.09
Changes:
--------
--- /work/SRC/openSUSE:Factory/sshpass/sshpass.changes 2016-12-08 00:31:22.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.sshpass.new.2401/sshpass.changes 2021-03-30 21:00:19.032712461 +0200
@@ -1,0 +2,13 @@
+Wed Feb 3 18:53:08 UTC 2021 - Dirk M��ller <dmueller(a)suse.com>
+
+- update to 1.0.9:
+ * Explicitly set the controlling TTY (SF patch #7)
+ * Report when IP key has changed (Closes Debian bug #730101)
+ * Scrub the environment variable for -e (Closes Ubuntu bug #1649374)
+ * Pass signals that should terminate to ssh
+ * Fix race around signal handling
+ * Report IPC errors to stderr
+ * Report if can't open -f password file (closes #3)
+- remove sshpass-1.05-f_option_check.patch (upstream)
+
+-------------------------------------------------------------------
Old:
----
sshpass-1.05-f_option_check.patch
sshpass-1.06.tar.gz
New:
----
sshpass-1.09.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sshpass.spec ++++++
--- /var/tmp/diff_new_pack.yMK79Z/_old 2021-03-30 21:00:19.892713406 +0200
+++ /var/tmp/diff_new_pack.yMK79Z/_new 2021-03-30 21:00:19.892713406 +0200
@@ -1,7 +1,7 @@
#
# spec file for package sshpass
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +12,18 @@
# 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/
#
Name: sshpass
-Version: 1.06
+Version: 1.09
Release: 0
Summary: Non-interactive SSH authentication utility
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: System/Management
-Url: http://sshpass.sourceforge.net/
-Source0: http://downloads.sourceforge.net/sshpass/sshpass-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM -- http://sourceforge.net/p/sshpass/patches/5/
-Patch0: sshpass-1.05-f_option_check.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+URL: http://sshpass.sourceforge.net/
+Source0: https://downloads.sourceforge.net/sshpass/sshpass-%{version}.tar.gz
%description
Tool for non-interactively performing password authentication with so called
@@ -35,7 +32,6 @@
%prep
%setup -q
-%patch0 -p1
%build
%configure
@@ -45,9 +41,9 @@
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%files
-%defattr(-,root,root)
+%license COPYING
+%doc AUTHORS ChangeLog NEWS
%{_bindir}/sshpass
%{_mandir}/man1/sshpass.1%{ext_man}
-%doc AUTHORS COPYING ChangeLog NEWS
%changelog
++++++ sshpass-1.06.tar.gz -> sshpass-1.09.tar.gz ++++++
++++ 2148 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sshpass-1.06/ChangeLog new/sshpass-1.09/ChangeLog
--- old/sshpass-1.06/ChangeLog 2016-06-30 21:27:43.000000000 +0200
+++ new/sshpass-1.09/ChangeLog 2021-01-29 17:21:07.000000000 +0100
@@ -1,3 +1,16 @@
+Version 1.09
+ * Explicitly set the controlling TTY (SF patch #7)
+
+Version 1.08
+ * Report when IP key has changed (Closes Debian bug #730101)
+ * Scrub the environment variable for -e (Closes Ubuntu bug #1649374)
+
+Version 1.07
+ * Pass signals that should terminate to ssh
+ * Fix race around signal handling
+ * Report IPC errors to stderr
+ * Report if can't open -f password file (closes #3)
+
Version 1.06
* Add -P for overriding the password prompt we search for
* Add -v for verbose logging of the prompt detection prompt.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sshpass-1.06/INSTALL new/sshpass-1.09/INSTALL
--- old/sshpass-1.06/INSTALL 2015-04-26 05:52:02.000000000 +0200
+++ new/sshpass-1.09/INSTALL 2020-02-07 08:55:40.000000000 +0100
@@ -1,8 +1,8 @@
Installation Instructions
*************************
-Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
-Inc.
+ Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
+Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -12,97 +12,96 @@
Basic Installation
==================
- Briefly, the shell command `./configure && make && make install'
+ Briefly, the shell command './configure && make && make install'
should configure, build, and install this package. The following
-more-detailed instructions are generic; see the `README' file for
+more-detailed instructions are generic; see the 'README' file for
instructions specific to this package. Some packages provide this
-`INSTALL' file but do not implement all of the features documented
+'INSTALL' file but do not implement all of the features documented
below. The lack of an optional feature in a given package is not
necessarily a bug. More recommendations for GNU packages can be found
in *note Makefile Conventions: (standards)Makefile Conventions.
- The `configure' shell script attempts to guess correct values for
+ The 'configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions. Finally, it creates a shell script `config.status' that
+those values to create a 'Makefile' in each directory of the package.
+It may also create one or more '.h' files containing system-dependent
+definitions. Finally, it creates a shell script 'config.status' that
you can run in the future to recreate the current configuration, and a
-file `config.log' containing compiler output (useful mainly for
-debugging `configure').
+file 'config.log' containing compiler output (useful mainly for
+debugging 'configure').
- It can also use an optional file (typically called `config.cache'
-and enabled with `--cache-file=config.cache' or simply `-C') that saves
-the results of its tests to speed up reconfiguring. Caching is
-disabled by default to prevent problems with accidental use of stale
-cache files.
+ It can also use an optional file (typically called 'config.cache' and
+enabled with '--cache-file=config.cache' or simply '-C') that saves the
+results of its tests to speed up reconfiguring. Caching is disabled by
+default to prevent problems with accidental use of stale cache files.
If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
+to figure out how 'configure' could check whether to do them, and mail
+diffs or instructions to the address given in the 'README' so they can
be considered for the next release. If you are using the cache, and at
-some point `config.cache' contains results you don't want to keep, you
+some point 'config.cache' contains results you don't want to keep, you
may remove or edit it.
- The file `configure.ac' (or `configure.in') is used to create
-`configure' by a program called `autoconf'. You need `configure.ac' if
-you want to change it or regenerate `configure' using a newer version
-of `autoconf'.
+ The file 'configure.ac' (or 'configure.in') is used to create
+'configure' by a program called 'autoconf'. You need 'configure.ac' if
+you want to change it or regenerate 'configure' using a newer version of
+'autoconf'.
The simplest way to compile this package is:
- 1. `cd' to the directory containing the package's source code and type
- `./configure' to configure the package for your system.
+ 1. 'cd' to the directory containing the package's source code and type
+ './configure' to configure the package for your system.
- Running `configure' might take a while. While running, it prints
+ Running 'configure' might take a while. While running, it prints
some messages telling which features it is checking for.
- 2. Type `make' to compile the package.
+ 2. Type 'make' to compile the package.
- 3. Optionally, type `make check' to run any self-tests that come with
+ 3. Optionally, type 'make check' to run any self-tests that come with
the package, generally using the just-built uninstalled binaries.
- 4. Type `make install' to install the programs and any data files and
+ 4. Type 'make install' to install the programs and any data files and
documentation. When installing into a prefix owned by root, it is
recommended that the package be configured and built as a regular
- user, and only the `make install' phase executed with root
+ user, and only the 'make install' phase executed with root
privileges.
- 5. Optionally, type `make installcheck' to repeat any self-tests, but
+ 5. Optionally, type 'make installcheck' to repeat any self-tests, but
this time using the binaries in their final installed location.
This target does not install anything. Running this target as a
- regular user, particularly if the prior `make install' required
+ regular user, particularly if the prior 'make install' required
root privileges, verifies that the installation completed
correctly.
6. You can remove the program binaries and object files from the
- source code directory by typing `make clean'. To also remove the
- files that `configure' created (so you can compile the package for
- a different kind of computer), type `make distclean'. There is
- also a `make maintainer-clean' target, but that is intended mainly
+ source code directory by typing 'make clean'. To also remove the
+ files that 'configure' created (so you can compile the package for
+ a different kind of computer), type 'make distclean'. There is
+ also a 'make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
- 7. Often, you can also type `make uninstall' to remove the installed
+ 7. Often, you can also type 'make uninstall' to remove the installed
files again. In practice, not all packages have tested that
uninstallation works correctly, even though it is required by the
GNU Coding Standards.
- 8. Some packages, particularly those that use Automake, provide `make
+ 8. Some packages, particularly those that use Automake, provide 'make
distcheck', which can by used by developers to test that all other
- targets like `make install' and `make uninstall' work correctly.
+ targets like 'make install' and 'make uninstall' work correctly.
This target is generally not run by end users.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
-the `configure' script does not know about. Run `./configure --help'
+the 'configure' script does not know about. Run './configure --help'
for details on some of the pertinent environment variables.
- You can give `configure' initial values for configuration parameters
-by setting variables in the command line or in the environment. Here
-is an example:
+ You can give 'configure' initial values for configuration parameters
+by setting variables in the command line or in the environment. Here is
+an example:
./configure CC=c99 CFLAGS=-g LIBS=-lposix
@@ -113,21 +112,21 @@
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
-own directory. To do this, you can use GNU `make'. `cd' to the
+own directory. To do this, you can use GNU 'make'. 'cd' to the
directory where you want the object files and executables to go and run
-the `configure' script. `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'. This
-is known as a "VPATH" build.
+the 'configure' script. 'configure' automatically checks for the source
+code in the directory that 'configure' is in and in '..'. This is known
+as a "VPATH" build.
- With a non-GNU `make', it is safer to compile the package for one
+ With a non-GNU 'make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
-installed the package for one architecture, use `make distclean' before
+installed the package for one architecture, use 'make distclean' before
reconfiguring for another architecture.
On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
-"universal" binaries--by specifying multiple `-arch' options to the
-compiler but only a single `-arch' option to the preprocessor. Like
+"universal" binaries--by specifying multiple '-arch' options to the
+compiler but only a single '-arch' option to the preprocessor. Like
this:
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
@@ -136,105 +135,104 @@
This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
-using the `lipo' tool if you have problems.
+using the 'lipo' tool if you have problems.
Installation Names
==================
- By default, `make install' installs the package's commands under
-`/usr/local/bin', include files under `/usr/local/include', etc. You
-can specify an installation prefix other than `/usr/local' by giving
-`configure' the option `--prefix=PREFIX', where PREFIX must be an
+ By default, 'make install' installs the package's commands under
+'/usr/local/bin', include files under '/usr/local/include', etc. You
+can specify an installation prefix other than '/usr/local' by giving
+'configure' the option '--prefix=PREFIX', where PREFIX must be an
absolute file name.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
-pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
-options like `--bindir=DIR' to specify different values for particular
-kinds of files. Run `configure --help' for a list of the directories
-you can set and what kinds of files go in them. In general, the
-default for these options is expressed in terms of `${prefix}', so that
-specifying just `--prefix' will affect all of the other directory
+options like '--bindir=DIR' to specify different values for particular
+kinds of files. Run 'configure --help' for a list of the directories
+you can set and what kinds of files go in them. In general, the default
+for these options is expressed in terms of '${prefix}', so that
+specifying just '--prefix' will affect all of the other directory
specifications that were not explicitly provided.
The most portable way to affect installation locations is to pass the
-correct locations to `configure'; however, many packages provide one or
+correct locations to 'configure'; however, many packages provide one or
both of the following shortcuts of passing variable assignments to the
-`make install' command line to change installation locations without
+'make install' command line to change installation locations without
having to reconfigure or recompile.
The first method involves providing an override variable for each
-affected directory. For example, `make install
+affected directory. For example, 'make install
prefix=/alternate/directory' will choose an alternate location for all
directory configuration variables that were expressed in terms of
-`${prefix}'. Any directories that were specified during `configure',
-but not in terms of `${prefix}', must each be overridden at install
-time for the entire installation to be relocated. The approach of
-makefile variable overrides for each directory variable is required by
-the GNU Coding Standards, and ideally causes no recompilation.
-However, some platforms have known limitations with the semantics of
-shared libraries that end up requiring recompilation when using this
-method, particularly noticeable in packages that use GNU Libtool.
-
- The second method involves providing the `DESTDIR' variable. For
-example, `make install DESTDIR=/alternate/directory' will prepend
-`/alternate/directory' before all installation names. The approach of
-`DESTDIR' overrides is not required by the GNU Coding Standards, and
+'${prefix}'. Any directories that were specified during 'configure',
+but not in terms of '${prefix}', must each be overridden at install time
+for the entire installation to be relocated. The approach of makefile
+variable overrides for each directory variable is required by the GNU
+Coding Standards, and ideally causes no recompilation. However, some
+platforms have known limitations with the semantics of shared libraries
+that end up requiring recompilation when using this method, particularly
+noticeable in packages that use GNU Libtool.
+
+ The second method involves providing the 'DESTDIR' variable. For
+example, 'make install DESTDIR=/alternate/directory' will prepend
+'/alternate/directory' before all installation names. The approach of
+'DESTDIR' overrides is not required by the GNU Coding Standards, and
does not work on platforms that have drive letters. On the other hand,
it does better at avoiding recompilation issues, and works well even
-when some directory options were not specified in terms of `${prefix}'
-at `configure' time.
+when some directory options were not specified in terms of '${prefix}'
+at 'configure' time.
Optional Features
=================
If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+with an extra prefix or suffix on their names by giving 'configure' the
+option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
- Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System). The
-`README' should mention any `--enable-' and `--with-' options that the
+ Some packages pay attention to '--enable-FEATURE' options to
+'configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to '--with-PACKAGE' options, where PACKAGE
+is something like 'gnu-as' or 'x' (for the X Window System). The
+'README' should mention any '--enable-' and '--with-' options that the
package recognizes.
- For packages that use the X Window System, `configure' can usually
+ For packages that use the X Window System, 'configure' can usually
find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
+you can use the 'configure' options '--x-includes=DIR' and
+'--x-libraries=DIR' to specify their locations.
Some packages offer the ability to configure how verbose the
-execution of `make' will be. For these packages, running `./configure
+execution of 'make' will be. For these packages, running './configure
--enable-silent-rules' sets the default to minimal output, which can be
-overridden with `make V=1'; while running `./configure
+overridden with 'make V=1'; while running './configure
--disable-silent-rules' sets the default to verbose, which can be
-overridden with `make V=0'.
+overridden with 'make V=0'.
Particular systems
==================
- On HP-UX, the default C compiler is not ANSI C compatible. If GNU
-CC is not installed, it is recommended to use the following options in
+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
+is not installed, it is recommended to use the following options in
order to use an ANSI C compiler:
./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
- HP-UX `make' updates targets which have the same time stamps as
-their prerequisites, which makes it generally unusable when shipped
-generated files such as `configure' are involved. Use GNU `make'
-instead.
+ HP-UX 'make' updates targets which have the same time stamps as their
+prerequisites, which makes it generally unusable when shipped generated
+files such as 'configure' are involved. Use GNU 'make' instead.
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
-parse its `<wchar.h>' header file. The option `-nodtk' can be used as
-a workaround. If GNU CC is not installed, it is therefore recommended
-to try
+parse its '<wchar.h>' header file. The option '-nodtk' can be used as a
+workaround. If GNU CC is not installed, it is therefore recommended to
+try
./configure CC="cc"
@@ -242,26 +240,26 @@
./configure CC="cc -nodtk"
- On Solaris, don't put `/usr/ucb' early in your `PATH'. This
+ On Solaris, don't put '/usr/ucb' early in your 'PATH'. This
directory contains several dysfunctional programs; working variants of
-these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
-in your `PATH', put it _after_ `/usr/bin'.
+these programs are available in '/usr/bin'. So, if you need '/usr/ucb'
+in your 'PATH', put it _after_ '/usr/bin'.
- On Haiku, software installed for all users goes in `/boot/common',
-not `/usr/local'. It is recommended to use the following options:
+ On Haiku, software installed for all users goes in '/boot/common',
+not '/usr/local'. It is recommended to use the following options:
./configure --prefix=/boot/common
Specifying the System Type
==========================
- There may be some features `configure' cannot figure out
+ There may be some features 'configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on. Usually, assuming the package is built to be run on the
-_same_ architectures, `configure' can figure that out, but if it prints
+_same_ architectures, 'configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
-`--build=TYPE' option. TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name which has the form:
+'--build=TYPE' option. TYPE can either be a short name for the system
+type, such as 'sun4', or a canonical name which has the form:
CPU-COMPANY-SYSTEM
@@ -270,101 +268,101 @@
OS
KERNEL-OS
- See the file `config.sub' for the possible values of each field. If
-`config.sub' isn't included in this package, then this package doesn't
+ See the file 'config.sub' for the possible values of each field. If
+'config.sub' isn't included in this package, then this package doesn't
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
-use the option `--target=TYPE' to select the type of system they will
+use the option '--target=TYPE' to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
-eventually be run) with `--host=TYPE'.
+eventually be run) with '--host=TYPE'.
Sharing Defaults
================
- If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists. Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
+ If you want to set default values for 'configure' scripts to share,
+you can create a site shell script called 'config.site' that gives
+default values for variables like 'CC', 'cache_file', and 'prefix'.
+'configure' looks for 'PREFIX/share/config.site' if it exists, then
+'PREFIX/etc/config.site' if it exists. Or, you can set the
+'CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all 'configure' scripts look for a site script.
Defining Variables
==================
Variables not defined in a site shell script can be set in the
-environment passed to `configure'. However, some packages may run
+environment passed to 'configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
-them in the `configure' command line, using `VAR=value'. For example:
+them in the 'configure' command line, using 'VAR=value'. For example:
./configure CC=/usr/local2/bin/gcc
-causes the specified `gcc' to be used as the C compiler (unless it is
+causes the specified 'gcc' to be used as the C compiler (unless it is
overridden in the site shell script).
-Unfortunately, this technique does not work for `CONFIG_SHELL' due to
-an Autoconf limitation. Until the limitation is lifted, you can use
-this workaround:
+Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an
+Autoconf limitation. Until the limitation is lifted, you can use this
+workaround:
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
-`configure' Invocation
+'configure' Invocation
======================
- `configure' recognizes the following options to control how it
+ 'configure' recognizes the following options to control how it
operates.
-`--help'
-`-h'
- Print a summary of all of the options to `configure', and exit.
+'--help'
+'-h'
+ Print a summary of all of the options to 'configure', and exit.
-`--help=short'
-`--help=recursive'
+'--help=short'
+'--help=recursive'
Print a summary of the options unique to this package's
- `configure', and exit. The `short' variant lists options used
- only in the top level, while the `recursive' variant lists options
- also present in any nested packages.
-
-`--version'
-`-V'
- Print the version of Autoconf used to generate the `configure'
+ 'configure', and exit. The 'short' variant lists options used only
+ in the top level, while the 'recursive' variant lists options also
+ present in any nested packages.
+
+'--version'
+'-V'
+ Print the version of Autoconf used to generate the 'configure'
script, and exit.
-`--cache-file=FILE'
+'--cache-file=FILE'
Enable the cache: use and save the results of the tests in FILE,
- traditionally `config.cache'. FILE defaults to `/dev/null' to
+ traditionally 'config.cache'. FILE defaults to '/dev/null' to
disable caching.
-`--config-cache'
-`-C'
- Alias for `--cache-file=config.cache'.
-
-`--quiet'
-`--silent'
-`-q'
+'--config-cache'
+'-C'
+ Alias for '--cache-file=config.cache'.
+
+'--quiet'
+'--silent'
+'-q'
Do not print messages saying which checks are being made. To
- suppress all normal output, redirect it to `/dev/null' (any error
+ suppress all normal output, redirect it to '/dev/null' (any error
messages will still be shown).
-`--srcdir=DIR'
+'--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
- `configure' can determine that directory automatically.
+ 'configure' can determine that directory automatically.
-`--prefix=DIR'
- Use DIR as the installation prefix. *note Installation Names::
- for more details, including other options available for fine-tuning
- the installation locations.
+'--prefix=DIR'
+ Use DIR as the installation prefix. *note Installation Names:: for
+ more details, including other options available for fine-tuning the
+ installation locations.
-`--no-create'
-`-n'
+'--no-create'
+'-n'
Run the configure checks, but stop before creating any output
files.
-`configure' also accepts some other, not widely useful, options. Run
-`configure --help' for more details.
+'configure' also accepts some other, not widely useful, options. Run
+'configure --help' for more details.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sshpass-1.06/compile new/sshpass-1.09/compile
--- old/sshpass-1.06/compile 2015-04-26 05:52:02.000000000 +0200
+++ new/sshpass-1.09/compile 2020-02-07 08:55:40.000000000 +0100
@@ -3,7 +3,7 @@
scriptversion=2012-10-14.11; # UTC
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey(a)cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sshpass-1.06/configure.ac new/sshpass-1.09/configure.ac
--- old/sshpass-1.06/configure.ac 2016-06-30 21:23:33.000000000 +0200
+++ new/sshpass-1.09/configure.ac 2021-01-29 17:21:12.000000000 +0100
@@ -2,9 +2,9 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT([sshpass], [1.06])
+AC_INIT([sshpass], [1.09])
AM_INIT_AUTOMAKE
-AC_COPYRIGHT([Copyright (C) 2006,2008,2011,2016 Shachar Shemesh])
+AC_COPYRIGHT([Copyright (C) 2006,2008,2011,2016,2021 Shachar Shemesh])
AC_CONFIG_SRCDIR([main.c])
AC_USE_SYSTEM_EXTENSIONS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sshpass-1.06/main.c new/sshpass-1.09/main.c
--- old/sshpass-1.06/main.c 2016-06-30 21:23:33.000000000 +0200
+++ new/sshpass-1.09/main.c 2021-01-29 14:15:03.000000000 +0100
@@ -1,5 +1,6 @@
/* This file is part of "sshpass", a tool for batch running password ssh authentication
- * Copyright (C) 2006, 2015 Lingnu Open Source Consulting Ltd.
+ * Copyright (C) 2006 Lingnu Open Source Consulting Ltd.
+ * Copyright (C) 2015-2016, 2021 Shachar Shemesh
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -61,32 +62,40 @@
#endif
int runprogram( int argc, char *argv[] );
+void reliable_write( int fd, const void *data, size_t size );
+int handleoutput( int fd );
+void window_resize_handler(int signum);
+void sigchld_handler(int signum);
+void term_handler(int signum);
+int match( const char *reference, const char *buffer, ssize_t bufsize, int state );
+void write_pass( int fd );
struct {
enum { PWT_STDIN, PWT_FILE, PWT_FD, PWT_PASS } pwtype;
union {
- const char *filename;
- int fd;
- const char *password;
+ const char *filename;
+ int fd;
+ const char *password;
} pwsrc;
const char *pwprompt;
int verbose;
+ char *orig_password;
} args;
static void show_help()
{
printf("Usage: " PACKAGE_NAME " [-f|-d|-p|-e] [-hV] command parameters\n"
- " -f filename Take password to use from file\n"
- " -d number Use number as file descriptor for getting password\n"
- " -p password Provide password as argument (security unwise)\n"
- " -e Password is passed as env-var \"SSHPASS\"\n"
- " With no parameters - password will be taken from stdin\n\n"
+ " -f filename Take password to use from file\n"
+ " -d number Use number as file descriptor for getting password\n"
+ " -p password Provide password as argument (security unwise)\n"
+ " -e Password is passed as env-var \"SSHPASS\"\n"
+ " With no parameters - password will be taken from stdin\n\n"
" -P prompt Which string should sshpass search for to detect a password prompt\n"
" -v Be verbose about what you're doing\n"
- " -h Show help (this screen)\n"
- " -V Print version information\n"
- "At most one of -f, -d, -p or -e should be used\n");
+ " -h Show help (this screen)\n"
+ " -V Print version information\n"
+ "At most one of -f, -d, -p or -e should be used\n");
}
// Parse the command line. Fill in the "args" global struct with the results. Return argv offset
@@ -105,77 +114,69 @@
error=RETURN_CONFLICTING_ARGUMENTS; }
while( (opt=getopt(argc, argv, "+f:d:p:P:heVv"))!=-1 && error==-1 ) {
- switch( opt ) {
- case 'f':
- // Password should come from a file
- VIRGIN_PWTYPE;
-
- args.pwtype=PWT_FILE;
- args.pwsrc.filename=optarg;
- break;
- case 'd':
- // Password should come from an open file descriptor
- VIRGIN_PWTYPE;
-
- args.pwtype=PWT_FD;
- args.pwsrc.fd=atoi(optarg);
- break;
- case 'p':
- // Password is given on the command line
- VIRGIN_PWTYPE;
-
- args.pwtype=PWT_PASS;
- args.pwsrc.password=strdup(optarg);
-
- // Hide the original password from the command line
- {
- int i;
+ switch( opt ) {
+ case 'f':
+ // Password should come from a file
+ VIRGIN_PWTYPE;
- for( i=0; optarg[i]!='\0'; ++i )
- optarg[i]='z';
- }
- break;
+ args.pwtype=PWT_FILE;
+ args.pwsrc.filename=optarg;
+ break;
+ case 'd':
+ // Password should come from an open file descriptor
+ VIRGIN_PWTYPE;
+
+ args.pwtype=PWT_FD;
+ args.pwsrc.fd=atoi(optarg);
+ break;
+ case 'p':
+ // Password is given on the command line
+ VIRGIN_PWTYPE;
+
+ args.pwtype=PWT_PASS;
+ args.orig_password=optarg;
+ break;
case 'P':
args.pwprompt=optarg;
break;
case 'v':
args.verbose++;
break;
- case 'e':
- VIRGIN_PWTYPE;
+ case 'e':
+ VIRGIN_PWTYPE;
- args.pwtype=PWT_PASS;
- args.pwsrc.password=getenv("SSHPASS");
- if( args.pwsrc.password==NULL ) {
- fprintf(stderr, "sshpass: -e option given but SSHPASS environment variable not set\n");
+ args.pwtype=PWT_PASS;
+ args.orig_password=getenv("SSHPASS");
+ if( args.orig_password==NULL ) {
+ fprintf(stderr, "SSHPASS: -e option given but SSHPASS environment variable not set\n");
error=RETURN_INVALID_ARGUMENTS;
}
- break;
- case '?':
- case ':':
- error=RETURN_INVALID_ARGUMENTS;
- break;
- case 'h':
- error=RETURN_NOERROR;
- break;
- case 'V':
- printf("%s\n"
+ break;
+ case '?':
+ case ':':
+ error=RETURN_INVALID_ARGUMENTS;
+ break;
+ case 'h':
+ error=RETURN_NOERROR;
+ break;
+ case 'V':
+ printf("%s\n"
"(C) 2006-2011 Lingnu Open Source Consulting Ltd.\n"
- "(C) 2015-2016 Shachar Shemesh\n"
- "This program is free software, and can be distributed under the terms of the GPL\n"
- "See the COPYING file for more information.\n"
+ "(C) 2015-2016, 2021 Shachar Shemesh\n"
+ "This program is free software, and can be distributed under the terms of the GPL\n"
+ "See the COPYING file for more information.\n"
"\n"
"Using \"%s\" as the default password prompt indicator.\n", PACKAGE_STRING, PASSWORD_PROMPT );
- exit(0);
- break;
- }
+ exit(0);
+ break;
+ }
}
if( error>=0 )
- return -(error+1);
+ return -(error+1);
else
- return optind;
+ return optind;
}
int main( int argc, char *argv[] )
@@ -183,57 +184,65 @@
int opt_offset=parse_options( argc, argv );
if( opt_offset<0 ) {
- // There was some error
- show_help();
+ // There was some error
+ show_help();
return -(opt_offset+1); // -1 becomes 0, -2 becomes 1 etc.
}
if( argc-opt_offset<1 ) {
- show_help();
+ show_help();
return 0;
}
+ if( args.orig_password!=NULL ) {
+ args.pwsrc.password = strdup(args.orig_password);
+
+ // Hide the original password from prying eyes
+ while( *args.orig_password != '\0' ) {
+ *args.orig_password = 'x';
+ ++args.orig_password;
+ }
+ }
+
return runprogram( argc-opt_offset, argv+opt_offset );
}
-int handleoutput( int fd );
-
/* Global variables so that this information be shared with the signal handler */
static int ourtty; // Our own tty
static int masterpt;
-void window_resize_handler(int signum);
-void sigchld_handler(int signum);
+int childpid;
+int term;
int runprogram( int argc, char *argv[] )
{
struct winsize ttysize; // The size of our tty
// We need to interrupt a select with a SIGCHLD. In order to do so, we need a SIGCHLD handler
- signal( SIGCHLD,sigchld_handler );
+ signal( SIGCHLD, sigchld_handler );
// Create a pseudo terminal for our process
masterpt=posix_openpt(O_RDWR);
if( masterpt==-1 ) {
- perror("Failed to get a pseudo terminal");
+ perror("Failed to get a pseudo terminal");
- return RETURN_RUNTIME_ERROR;
+ return RETURN_RUNTIME_ERROR;
}
fcntl(masterpt, F_SETFL, O_NONBLOCK);
if( grantpt( masterpt )!=0 ) {
- perror("Failed to change pseudo terminal's permission");
+ perror("Failed to change pseudo terminal's permission");
- return RETURN_RUNTIME_ERROR;
+ return RETURN_RUNTIME_ERROR;
}
if( unlockpt( masterpt )!=0 ) {
- perror("Failed to unlock pseudo terminal");
+ perror("Failed to unlock pseudo terminal");
- return RETURN_RUNTIME_ERROR;
+ return RETURN_RUNTIME_ERROR;
}
ourtty=open("/dev/tty", 0);
@@ -272,70 +281,92 @@
complete, at which point we no longer need to monitor the TTY anyways.
*/
- int childpid=fork();
+ sigset_t sigmask, sigmask_select;
+
+ // Set the signal mask during the select
+ sigemptyset(&sigmask_select);
+
+ // And during the regular run
+ sigemptyset(&sigmask);
+ sigaddset(&sigmask, SIGCHLD);
+ sigaddset(&sigmask, SIGHUP);
+ sigaddset(&sigmask, SIGTERM);
+ sigaddset(&sigmask, SIGINT);
+ sigaddset(&sigmask, SIGTSTP);
+
+ sigprocmask( SIG_SETMASK, &sigmask, NULL );
+
+ signal(SIGHUP, term_handler);
+ signal(SIGTERM, term_handler);
+ signal(SIGINT, term_handler);
+ signal(SIGTSTP, term_handler);
+
+ childpid=fork();
if( childpid==0 ) {
- // Child
+ // Child
+
+ // Re-enable all signals to child
+ sigprocmask( SIG_SETMASK, &sigmask_select, NULL );
- // Detach us from the current TTY
- setsid();
+ // Detach us from the current TTY
+ setsid();
// This line makes the ptty our controlling tty. We do not otherwise need it open
slavept=open(name, O_RDWR );
+#ifdef TIOCSCTTY
+ // On some systems, an open(2) is insufficient to set the
+ // controlling tty (see the documentation for TIOCSCTTY in
+ // tty(4)).
+ if (ioctl(slavept, TIOCSCTTY) == -1) {
+ perror("sshpass: Failed to set controlling terminal in child (TIOCSCTTY)");
+ exit(RETURN_RUNTIME_ERROR);
+ }
+#endif
close( slavept );
-
- close( masterpt );
- char **new_argv=malloc(sizeof(char *)*(argc+1));
+ close( masterpt );
- int i;
+ char **new_argv=malloc(sizeof(char *)*(argc+1));
- for( i=0; i<argc; ++i ) {
- new_argv[i]=argv[i];
- }
+ int i;
- new_argv[i]=NULL;
+ for( i=0; i<argc; ++i ) {
+ new_argv[i]=argv[i];
+ }
- execvp( new_argv[0], new_argv );
+ new_argv[i]=NULL;
- perror("sshpass: Failed to run command");
+ execvp( new_argv[0], new_argv );
- exit(RETURN_RUNTIME_ERROR);
+ perror("SSHPASS: Failed to run command");
+
+ exit(RETURN_RUNTIME_ERROR);
} else if( childpid<0 ) {
- perror("sshpass: Failed to create child process");
+ perror("SSHPASS: Failed to create child process");
- return RETURN_RUNTIME_ERROR;
+ return RETURN_RUNTIME_ERROR;
}
-
+
// We are the parent
slavept=open(name, O_RDWR|O_NOCTTY );
int status=0;
int terminate=0;
pid_t wait_id;
- sigset_t sigmask, sigmask_select;
-
- // Set the signal mask during the select
- sigemptyset(&sigmask_select);
-
- // And during the regular run
- sigemptyset(&sigmask);
- sigaddset(&sigmask, SIGCHLD);
-
- sigprocmask( SIG_SETMASK, &sigmask, NULL );
do {
- if( !terminate ) {
- fd_set readfd;
+ if( !terminate ) {
+ fd_set readfd;
- FD_ZERO(&readfd);
- FD_SET(masterpt, &readfd);
+ FD_ZERO(&readfd);
+ FD_SET(masterpt, &readfd);
- int selret=pselect( masterpt+1, &readfd, NULL, NULL, NULL, &sigmask_select );
+ int selret=pselect( masterpt+1, &readfd, NULL, NULL, NULL, &sigmask_select );
- if( selret>0 ) {
- if( FD_ISSET( masterpt, &readfd ) ) {
+ if( selret>0 ) {
+ if( FD_ISSET( masterpt, &readfd ) ) {
int ret;
- if( (ret=handleoutput( masterpt )) ) {
- // Authentication failed or any other error
+ if( (ret=handleoutput( masterpt )) ) {
+ // Authentication failed or any other error
// handleoutput returns positive error number in case of some error, and a negative value
// if all that happened is that the slave end of the pt is closed.
@@ -344,39 +375,37 @@
close(slavept);
}
- terminate=ret;
+ terminate=ret;
if( terminate ) {
close( slavept );
}
- }
- }
- }
- wait_id=waitpid( childpid, &status, WNOHANG );
- } else {
- wait_id=waitpid( childpid, &status, 0 );
- }
+ }
+ }
+ }
+ wait_id=waitpid( childpid, &status, WNOHANG );
+ } else {
+ wait_id=waitpid( childpid, &status, 0 );
+ }
} while( wait_id==0 || (!WIFEXITED( status ) && !WIFSIGNALED( status )) );
if( terminate>0 )
- return terminate;
+ return terminate;
else if( WIFEXITED( status ) )
- return WEXITSTATUS(status);
+ return WEXITSTATUS(status);
else
- return 255;
+ return 255;
}
-int match( const char *reference, const char *buffer, ssize_t bufsize, int state );
-void write_pass( int fd );
-
int handleoutput( int fd )
{
// We are looking for the string
static int prevmatch=0; // If the "password" prompt is repeated, we have the wrong password.
- static int state1, state2;
+ static int state1, state2, state3;
static int firsttime = 1;
static const char *compare1=PASSWORD_PROMPT; // Asking for a password
static const char compare2[]="The authenticity of host "; // Asks to authenticate host
+ static const char compare3[] = "differs from the key for the IP address"; // Key changes
// static const char compare3[]="WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!"; // Warns about man in the middle attack
// The remote identification changed error is sent to stderr, not the tty, so we do not handle it.
// This is not a problem, as ssh exists immediately in such a case
@@ -389,31 +418,31 @@
if( args.verbose && firsttime ) {
firsttime=0;
- fprintf(stderr, "SSHPASS searching for password prompt using match \"%s\"\n", compare1);
+ fprintf(stderr, "SSHPASS: searching for password prompt using match \"%s\"\n", compare1);
}
int numread=read(fd, buffer, sizeof(buffer)-1 );
buffer[numread] = '\0';
if( args.verbose ) {
- fprintf(stderr, "SSHPASS read: %s\n", buffer);
+ fprintf(stderr, "SSHPASS: read: %s\n", buffer);
}
state1=match( compare1, buffer, numread, state1 );
// Are we at a password prompt?
if( compare1[state1]=='\0' ) {
- if( !prevmatch ) {
+ if( !prevmatch ) {
if( args.verbose )
- fprintf(stderr, "SSHPASS detected prompt. Sending password.\n");
- write_pass( fd );
- state1=0;
- prevmatch=1;
- } else {
- // Wrong password - terminate with proper error code
+ fprintf(stderr, "SSHPASS: detected prompt. Sending password.\n");
+ write_pass( fd );
+ state1=0;
+ prevmatch=1;
+ } else {
+ // Wrong password - terminate with proper error code
if( args.verbose )
- fprintf(stderr, "SSHPASS detected prompt, again. Wrong password. Terminating.\n");
- ret=RETURN_INCORRECT_PASSWORD;
- }
+ fprintf(stderr, "SSHPASS: detected prompt, again. Wrong password. Terminating.\n");
+ ret=RETURN_INCORRECT_PASSWORD;
+ }
}
if( ret==0 ) {
@@ -422,8 +451,14 @@
// Are we being prompted to authenticate the host?
if( compare2[state2]=='\0' ) {
if( args.verbose )
- fprintf(stderr, "SSHPASS detected host authentication prompt. Exiting.\n");
+ fprintf(stderr, "SSHPASS: detected host authentication prompt. Exiting.\n");
ret=RETURN_HOST_KEY_UNKNOWN;
+ } else {
+ state3 = match( compare3, buffer, numread, state3 );
+ // Host key changed
+ if ( compare3[state3]=='\0' ) {
+ ret=RETURN_HOST_KEY_CHANGED;
+ }
}
}
@@ -435,13 +470,13 @@
// This is a highly simplisic implementation. It's good enough for matching "Password: ", though.
int i;
for( i=0;reference[state]!='\0' && i<bufsize; ++i ) {
- if( reference[state]==buffer[i] )
- state++;
- else {
- state=0;
- if( reference[state]==buffer[i] )
- state++;
- }
+ if( reference[state]==buffer[i] )
+ state++;
+ else {
+ state=0;
+ if( reference[state]==buffer[i] )
+ state++;
+ }
}
return state;
@@ -453,24 +488,26 @@
{
switch( args.pwtype ) {
case PWT_STDIN:
- write_pass_fd( STDIN_FILENO, fd );
- break;
+ write_pass_fd( STDIN_FILENO, fd );
+ break;
case PWT_FD:
- write_pass_fd( args.pwsrc.fd, fd );
- break;
+ write_pass_fd( args.pwsrc.fd, fd );
+ break;
case PWT_FILE:
- {
- int srcfd=open( args.pwsrc.filename, O_RDONLY );
- if( srcfd!=-1 ) {
- write_pass_fd( srcfd, fd );
- close( srcfd );
- }
- }
- break;
+ {
+ int srcfd=open( args.pwsrc.filename, O_RDONLY );
+ if( srcfd!=-1 ) {
+ write_pass_fd( srcfd, fd );
+ close( srcfd );
+ } else {
+ fprintf(stderr, "SSHPASS: Failed to open password file \"%s\": %s\n", args.pwsrc.filename, strerror(errno));
+ }
+ }
+ break;
case PWT_PASS:
- write( fd, args.pwsrc.password, strlen( args.pwsrc.password ) );
- write( fd, "\n", 1 );
- break;
+ reliable_write( fd, args.pwsrc.password, strlen( args.pwsrc.password ) );
+ reliable_write( fd, "\n", 1 );
+ break;
}
}
@@ -480,19 +517,19 @@
int done=0;
while( !done ) {
- char buffer[40];
- int i;
- int numread=read( srcfd, buffer, sizeof(buffer) );
- done=(numread<1);
- for( i=0; i<numread && !done; ++i ) {
- if( buffer[i]!='\n' )
- write( dstfd, buffer+i, 1 );
- else
- done=1;
- }
+ char buffer[40];
+ int i;
+ int numread=read( srcfd, buffer, sizeof(buffer) );
+ done=(numread<1);
+ for( i=0; i<numread && !done; ++i ) {
+ if( buffer[i]!='\n' )
+ reliable_write( dstfd, buffer+i, 1 );
+ else
+ done=1;
+ }
}
- write( dstfd, "\n", 1 );
+ reliable_write( dstfd, "\n", 1 );
}
void window_resize_handler(int signum)
@@ -507,3 +544,34 @@
void sigchld_handler(int signum)
{
}
+
+void term_handler(int signum)
+{
+ fflush(stdout);
+ switch(signum) {
+ case SIGINT:
+ reliable_write(masterpt, "\x03", 1);
+ break;
+ case SIGTSTP:
+ reliable_write(masterpt, "\x1a", 1);
+ break;
+ default:
+ if( childpid>0 ) {
+ kill( childpid, signum );
+ }
+ }
+
+ term = 1;
+}
+
+void reliable_write( int fd, const void *data, size_t size )
+{
+ ssize_t result = write( fd, data, size );
+ if( result!=size ) {
+ if( result<0 ) {
+ perror("SSHPASS: write failed");
+ } else {
+ fprintf(stderr, "SSHPASS: Short write. Tried to write %lu, only wrote %ld\n", size, result);
+ }
+ }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sshpass-1.06/missing new/sshpass-1.09/missing
--- old/sshpass-1.06/missing 2015-04-26 05:52:02.000000000 +0200
+++ new/sshpass-1.09/missing 2020-02-07 08:55:40.000000000 +0100
@@ -3,7 +3,7 @@
scriptversion=2013-10-28.13; # UTC
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard(a)iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/sshpass-1.06/sshpass.1 new/sshpass-1.09/sshpass.1
--- old/sshpass-1.06/sshpass.1 2016-06-30 21:06:51.000000000 +0200
+++ new/sshpass-1.09/sshpass.1 2021-01-29 13:47:13.000000000 +0100
@@ -1,4 +1,4 @@
-.TH SSHPASS 1 "April 25, 2015" "Lingnu Open Source Consulting" "Sshpass User Manual"
+.TH SSHPASS 1 "January 29, 2021" "Lingnu Open Source Consulting" "Sshpass User Manual"
.\" Please adjust this date whenever revising the manpage.
.SH NAME
sshpass \- noninteractive ssh password provider
@@ -64,7 +64,7 @@
more secure.
.P
In particular, people writing programs that are meant to communicate the password
-programatically are encouraged to use an anonymous pipe and pass the pipe's reading
+programmatically are encouraged to use an anonymous pipe and pass the pipe's reading
end to sshpass using the \-d option.
.SH RETURN VALUES
As with any other program, sshpass returns 0 on success. In case of failure, the following
@@ -87,6 +87,9 @@
.TP
6
Host public key is unknown. sshpass exits without confirming the new key.
+.TP
+7
+IP public key changed. sshpass exits without confirming the new key.
.P
In addition, ssh might be complaining about a man in the middle attack. This
complaint does not go to the tty. In other words, even with sshpass, the error
@@ -120,3 +123,6 @@
Any given version of sshpass is released with the belief that it is working, but experience
has shown that these things do, occasionally, break. This happened with OpenSSH version 5.6.
As of this writing, it is believed that sshpass is, again, working properly.
+.P
+It seems that HPUX has some non Posix compliant ideas how controlling TTY is detached. sshpass
+may not work properly on that platform.
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyterlab-templates for openSUSE:Factory checked in at 2021-03-30 20:59:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyterlab-templates (Old)
and /work/SRC/openSUSE:Factory/.python-jupyterlab-templates.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyterlab-templates"
Tue Mar 30 20:59:57 2021 rev:4 rq:869705 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jupyterlab-templates/python-jupyterlab-templates.changes 2020-05-26 17:22:16.140355154 +0200
+++ /work/SRC/openSUSE:Factory/.python-jupyterlab-templates.new.2401/python-jupyterlab-templates.changes 2021-03-30 21:00:01.340693024 +0200
@@ -1,0 +2,8 @@
+Thu Feb 4 19:31:36 UTC 2021 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 0.3.0
+ * No upstream changelog. Mostly internal changes.
+- Fix wheel install location for pyproject_install
+- Enable tests
+
+-------------------------------------------------------------------
Old:
----
jupyterlab_templates-0.2.3-py2.py3-none-any.whl
New:
----
jupyterlab_templates-0.3.0-py2.py3-none-any.whl
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyterlab-templates.spec ++++++
--- /var/tmp/diff_new_pack.f0n8JC/_old 2021-03-30 21:00:02.080693837 +0200
+++ /var/tmp/diff_new_pack.f0n8JC/_new 2021-03-30 21:00:02.084693842 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyterlab-templates
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-jupyterlab-templates
-Version: 0.2.3
+Version: 0.3.0
Release: 0
Summary: Templates for notebooks in JupyterLab
License: Apache-2.0
URL: https://github.com/timkpaine/jupyterlab_templates
Source: https://files.pythonhosted.org/packages/py2.py3/j/jupyterlab-templates/jupy…
+BuildRequires: %{python_module jupyterlab}
BuildRequires: %{python_module pip}
+BuildRequires: %{python_module pytest}
BuildRequires: fdupes
BuildRequires: jupyter-jupyterlab-filesystem
BuildRequires: jupyter-notebook-filesystem
@@ -55,25 +57,29 @@
%setup -q -c -T
%build
-# not needed
+%{python_expand mkdir build/; cp -a %{SOURCE0} build/}
%install
-cp -a %{SOURCE0} .
%pyproject_install
+%python_expand sed -i 's/^from mock/from unittest.mock/' %{buildroot}%{$python_sitelib}/jupyterlab_templates/tests/test_extension.py
+%python_compileall
%jupyter_move_config
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%{fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib}}
+%fdupes %{buildroot}%{_jupyter_prefix}
cp %{buildroot}%{python3_sitelib}/jupyterlab_templates-%{version}.dist-info/LICENSE .
%files %{python_files}
-%license %{python_sitelib}/jupyterlab_templates-%{version}.dist-info/LICENSE
+%license LICENSE
%{python_sitelib}/jupyterlab_templates-%{version}.dist-info/
%{python_sitelib}/jupyterlab_templates/
+%check
+%pytest --pyargs jupyterlab_templates
+
%files -n jupyter-jupyterlab-templates
%license LICENSE
-%{_jupyter_servextension_confdir}/jupyterlab_templates.json
+%config %{_jupyter_servextension_confdir}/jupyterlab_templates.json
%{_jupyter_labextensions_dir}/jupyterlab_templates-%{version}.tgz
%changelog
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sidecar for openSUSE:Factory checked in at 2021-03-30 20:59:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sidecar (Old)
and /work/SRC/openSUSE:Factory/.python-sidecar.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sidecar"
Tue Mar 30 20:59:45 2021 rev:4 rq:869703 version:unknown
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sidecar/python-sidecar.changes 2020-01-16 18:20:33.220951491 +0100
+++ /work/SRC/openSUSE:Factory/.python-sidecar.new.2401/python-sidecar.changes 2021-03-30 20:59:46.348676554 +0200
@@ -1,0 +2,9 @@
+Thu Feb 4 10:19:54 UTC 2021 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to version 0.5.0
+ * no upstream changelog
+ * Update to JupyterLab 3
+- Fix new wheel location for pyproject_install
+- Remove unused test requirements
+
+-------------------------------------------------------------------
Old:
----
sidecar-0.2.0-py2.py3-none-any.whl
New:
----
sidecar-0.5.0-py2.py3-none-any.whl
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sidecar.spec ++++++
--- /var/tmp/diff_new_pack.uaN40J/_old 2021-03-30 20:59:47.708678048 +0200
+++ /var/tmp/diff_new_pack.uaN40J/_new 2021-03-30 20:59:47.712678052 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sidecar
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,35 +12,32 @@
# 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/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-sidecar
-%define mainver 0.2.0
-%define labver 0.3.0
+%define mainver 0.5.0
+%define labver 0.6.0
Version: %{mainver}
Release: 0
-License: BSD-3-Clause
Summary: A sidecar output widget for JupyterLab
-Url: https://github.com/jupyter-widgets/jupyterlab-sidecar
+License: BSD-3-Clause
Group: Development/Languages/Python
+URL: https://github.com/jupyter-widgets/jupyterlab-sidecar
Source: https://files.pythonhosted.org/packages/py2.py3/s/sidecar/sidecar-%{mainver…
-BuildRequires: python-rpm-macros
-BuildRequires: jupyter-jupyterlab-filesystem
-BuildRequires: %{python_module pip}
-# SECTION test requirements
BuildRequires: %{python_module ipywidgets >= 7.0.0}
-BuildRequires: %{python_module nbval}
-BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module pytest-cov}
-BuildRequires: %{python_module pytest-check-links}
-# /SECTION
+BuildRequires: %{python_module jupyterlab >= 3.0.0}
+BuildRequires: %{python_module pip}
BuildRequires: fdupes
-Requires: python-ipywidgets >= 7.0.0
-Requires: jupyter-jupyterlab
+BuildRequires: jupyter-jupyter_core-filesystem
+BuildRequires: jupyter-jupyterlab-filesystem
+BuildRequires: python-rpm-macros
Requires: jupyter-sidecar-jupyterlab = %{labver}
+Requires: python-ipywidgets >= 7.6.0
+Requires: python-jupyterlab >= 3.0.0
BuildArch: noarch
%python_subpackages
@@ -52,8 +49,10 @@
%package -n jupyter-sidecar-jupyterlab
Summary: A sidecar output widget for JupyterLab
+Group: Development/Languages/Python
Version: %{labver}
-Requires: jupyter-jupyterlab
+Release: 0
+Requires: jupyter-jupyterlab >= 3.0.0
Requires: python3-sidecar = %{mainver}
%description -n jupyter-sidecar-jupyterlab
@@ -68,17 +67,25 @@
# Not needed
%install
-cp -a %{SOURCE0} .
+%{python_expand mkdir build; cp -a %{SOURCE0} build/}
%pyproject_install
+%python_expand find %{buildroot}%{$python_sitelib} -name '*.py' -exec sed -i '1{/^#!.*env/ d}' {} \;
+%python_compileall
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
cp %{buildroot}%{python3_sitelib}/sidecar-%{mainver}.dist-info/LICENSE.txt .
+#%%check
+# Tests need online connection using jlpm
+
%files %{python_files}
-%license %{python_sitelib}/sidecar-%{mainver}.dist-info/LICENSE.txt
+%license LICENSE.txt
%{python_sitelib}/sidecar-%{mainver}.dist-info/
%{python_sitelib}/sidecar/
%files -n jupyter-sidecar-jupyterlab
%license LICENSE.txt
-%{_jupyter_labextensions_dir}/jupyter-widgets-jupyterlab-sidecar-%{labver}.tgz
+%dir %{_jupyter_prefix}/labextensions
+%dir %{_jupyter_prefix}/labextensions/@jupyter-widgets
+%{_jupyter_prefix}/labextensions/@jupyter-widgets/jupyterlab-sidecar
%changelog
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-nbdime for openSUSE:Factory checked in at 2021-03-30 20:59:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbdime (Old)
and /work/SRC/openSUSE:Factory/.python-nbdime.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbdime"
Tue Mar 30 20:59:30 2021 rev:6 rq:869699 version:unknown
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbdime/python-nbdime.changes 2020-04-23 18:37:41.988921331 +0200
+++ /work/SRC/openSUSE:Factory/.python-nbdime.new.2401/python-nbdime.changes 2021-03-30 20:59:44.760674809 +0200
@@ -1,0 +2,17 @@
+Thu Feb 4 11:03:23 UTC 2021 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 2.1.0 / jupyterlab extension 2.0.1
+ * Dropped Python 3.5 support.
+ * Optimize comparison of large stream outputs.
+ * Fixed an error when merging a file that were concurrently added
+ in two branches with git.
+ * Fixed a config bug where ignore configs written in a file was
+ not taken into account.
+ * Fixed compatibility with JupyterLab 2.2
+- Changes in 2.0.0
+ * Dropped Python 2 support, and Python 3.4 support.
+ * Made web apps (e.g. nbdiff-web) work properly offline.
+ * Fix for git driver with renamed files.
+- Fix new wheel location for %pyproject_install
+
+-------------------------------------------------------------------
Old:
----
nbdime-1.1.0-py2.py3-none-any.whl
New:
----
nbdime-2.1.0-py2.py3-none-any.whl
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-nbdime.spec ++++++
--- /var/tmp/diff_new_pack.1bd3Zr/_old 2021-03-30 20:59:45.460675578 +0200
+++ /var/tmp/diff_new_pack.1bd3Zr/_new 2021-03-30 20:59:45.464675583 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-nbdime
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,8 +18,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
-%define mainver 1.1.0
-%define labver 1.0.0
+%define mainver 2.1.0
+%define labver 2.0.1
Name: python-nbdime
Version: %{mainver}
Release: 0
@@ -40,8 +40,9 @@
BuildRequires: jupyter-jupyterlab-filesystem
BuildRequires: python-rpm-macros
# SECTION test requirements
-BuildRequires: %{python_module jsonschema > 3}
-BuildRequires: %{python_module mock}
+BuildRequires: %{python_module jsonschema}
+BuildRequires: %{python_module pytest-timeout}
+BuildRequires: %{python_module pytest-tornado}
BuildRequires: %{python_module pytest}
# /SECTION
Requires: jupyter-nbdime = %{mainver}
@@ -125,30 +126,29 @@
%setup -q -c -T
%build
-# Not needed
+%python_expand mkdir build; cp -a %{SOURCE0} build
%install
-cp -a %{SOURCE0} .
%pyproject_install
%{jupyter_move_config}
+%python_expand sed -i 's/^import mock/from unittest import mock/' %{buildroot}%{$python_sitelib}/nbdime/tests/test_*.py
%python_expand find %{buildroot}%{$python_sitelib} -type f -name "*.py" -exec sed -i 's/\r$//' {} +
%python_expand find %{buildroot}%{$python_sitelib} -type f -name "*.ipynb" -exec sed -i 's/\r$//' {} +
%python_expand find %{buildroot}%{$python_sitelib}/nbdime/ -type f -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} +
-
-cp %{buildroot}%{python3_sitelib}/nbdime-%{mainver}.dist-info/LICENSE.md .
+%python_compileall
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%{fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib}}
+%fdupes %{buildroot}%{_jupyter_prefix}
+cp %{buildroot}%{python3_sitelib}/nbdime-%{mainver}.dist-info/LICENSE.md .
%check
export PATH=$PATH:%{buildroot}%{_bindir}
-export PYTHONDONTWRITEBYTECODE=1
git config --global user.email "test(a)test.com"
git config --global user.name "tester"
-%pytest %{buildroot}%{python3_sitelib}/nbdime/
+%pytest --pyargs nbdime
%files %{python_files}
-%license %{python_sitelib}/nbdime-%{mainver}.dist-info/LICENSE.md
+%license LICENSE.md
%{python_sitelib}/nbdime/
%{python_sitelib}/nbdime-%{mainver}.dist-info/
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter-require for openSUSE:Factory checked in at 2021-03-30 20:59:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-require (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter-require.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-require"
Tue Mar 30 20:59:19 2021 rev:6 rq:869698 version:0.6.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jupyter-require/python-jupyter-require.changes 2020-01-16 18:20:37.964954174 +0100
+++ /work/SRC/openSUSE:Factory/.python-jupyter-require.new.2401/python-jupyter-require.changes 2021-03-30 20:59:22.616650481 +0200
@@ -1,0 +2,6 @@
+Thu Feb 4 09:39:23 UTC 2021 - Ben Greiner <code(a)bnavigator.de>
+
+- Fix wheel location for updated pyproject_install
+- BuildRequire jupyter-jupyter_core-filesystem for the macros
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter-require.spec ++++++
--- /var/tmp/diff_new_pack.br2qUh/_old 2021-03-30 20:59:23.448651395 +0200
+++ /var/tmp/diff_new_pack.br2qUh/_new 2021-03-30 20:59:23.452651400 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter-require
#
-# Copyright (c) 2020 SUSE LLC.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,8 @@
# 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/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,28 +21,29 @@
Name: python-jupyter-require
Version: 0.6.1
Release: 0
-License: MIT
Summary: Jupyter nbextension for loading non-python dependencies in Jupyter notebooks
-Url: https://github.com/CermakM/jupyter-require
+License: MIT
Group: Development/Languages/Python
+URL: https://github.com/CermakM/jupyter-require
Source: https://files.pythonhosted.org/packages/py2.py3/j/jupyter-require/jupyter_r…
BuildRequires: %{python_module csscompressor}
BuildRequires: %{python_module daiquiri}
-BuildRequires: %{python_module ipython}
BuildRequires: %{python_module ipykernel}
+BuildRequires: %{python_module ipython}
BuildRequires: %{python_module jupyter-contrib-nbextensions}
BuildRequires: %{python_module jupyter-nbutils}
BuildRequires: %{python_module notebook}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
+BuildRequires: jupyter-jupyter_core-filesystem
BuildRequires: python-rpm-macros
+Requires: jupyter-jupyter-require = %{version}
Requires: python-csscompressor
Requires: python-daiquiri
-Requires: python-ipython
Requires: python-ipykernel
-Requires: python-jupyter-nbutils
+Requires: python-ipython
Requires: python-jupyter-contrib-nbextensions
-Requires: jupyter-jupyter-require = %{version}
+Requires: python-jupyter-nbutils
BuildArch: noarch
%python_subpackages
@@ -54,8 +56,9 @@
%package -n jupyter-jupyter-require
Summary: Jupyter nbextension for loading non-python dependencies in Jupyter notebooks
-Requires: jupyter-ipython
+Group: Development/Languages/Python
Requires: jupyter-ipykernel
+Requires: jupyter-ipython
Requires: jupyter-jupyter-contrib-nbextensions
Requires: python3-jupyter-require = %{version}
@@ -72,14 +75,17 @@
# Not needed
%install
-cp -a %{SOURCE0} .
+%{python_expand mkdir build; cp -a %{SOURCE0} build/}
%pyproject_install
%jupyter_move_config
%python_expand %fdupes %{buildroot}%{$python_sitelib}
cp %{buildroot}%{python3_sitelib}/jupyter_require-%{version}.dist-info/LICENSE .
+#%%check
+# There are no tests
+
%files %{python_files}
-%license %{python_sitelib}/jupyter_require-%{version}.dist-info/LICENSE
+%license LICENSE
%{python_sitelib}/jupyter_require-%{version}.dist-info/
%{python_sitelib}/jupyter_require/
1
0