openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
November 2020
- 2 participants
- 2810 discussions
Hello community,
here is the log from the commit of package intel-SINIT for openSUSE:Factory checked in at 2020-11-02 09:41:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/intel-SINIT (Old)
and /work/SRC/openSUSE:Factory/.intel-SINIT.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "intel-SINIT"
Mon Nov 2 09:41:33 2020 rev:7 rq:845032 version:2.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/intel-SINIT/intel-SINIT.changes 2017-11-27 22:18:34.962261064 +0100
+++ /work/SRC/openSUSE:Factory/.intel-SINIT.new.3463/intel-SINIT.changes 2020-11-02 09:41:49.765692602 +0100
@@ -1,0 +2,10 @@
+Fri Oct 30 12:13:37 UTC 2020 - Matthias Gerstner <matthias.gerstner(a)suse.com>
+
+- Update to current zipfiles available from
+ https://software.intel.com/content/www/us/en/develop/articles/intel-trusted…
+
+ - it seems 7th_gen_i5_i7-SINIT_74.zip was replaced by
+ 6th_7th_gen_i5_i7-SINIT_79.zip. The old variant is still packaged though.
+ - new 8th_9th_gen_i5_i7-SINIT_81.zip for Coffee Lake platforms.
+
+-------------------------------------------------------------------
New:
----
6th_7th_gen_i5_i7-SINIT_79.zip
8th_9th_gen_i5_i7-SINIT_81.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ intel-SINIT.spec ++++++
--- /var/tmp/diff_new_pack.RVty8M/_old 2020-11-02 09:41:50.489693297 +0100
+++ /var/tmp/diff_new_pack.RVty8M/_new 2020-11-02 09:41:50.493693301 +0100
@@ -1,7 +1,7 @@
#
# spec file for package intel-SINIT
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,13 +12,13 @@
# 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: intel-SINIT
BuildRequires: fdupes
-Url: http://software.intel.com/en-us/articles/intel-trusted-execution-technology/
+URL: http://software.intel.com/en-us/articles/intel-trusted-execution-technology/
Summary: Intel SINIT AC (Secure Inititalization Authenticated Code) modules
License: SUSE-Firmware
Group: Development/Tools/Other
@@ -53,6 +53,10 @@
Source13: 6th_gen_i5_i7-SINIT_71.zip
# https://software.intel.com/system/files/managed/dc/a9/7th_gen_i5_i7-SINIT_7…
Source14: 7th_gen_i5_i7-SINIT_74.zip
+# https://software.intel.com/protected-download/267276/183305
+Source15: 6th_7th_gen_i5_i7-SINIT_79.zip
+# https://software.intel.com/content/dam/develop/external/us/en/protected/6th…
+Source16: 8th_9th_gen_i5_i7-SINIT_81.zip
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -80,14 +84,27 @@
unzip %{S:12}
unzip %{S:13}
unzip %{S:14}
+
+mkdir 6th_7th_gen_i5_i7-SINIT_79
+pushd 6th_7th_gen_i5_i7-SINIT_79
+unzip %{S:15}
+popd
+
+mkdir 8th_9th_gen_i5_i7-SINIT_81
+pushd 8th_9th_gen_i5_i7-SINIT_81
+unzip %{S:16}
+popd
+
mkdir xeon-5600-3500-sinit
pushd xeon-5600-3500-sinit
unzip %{S:8}
popd
+
mkdir xeon-e7-8800-4800-2800-sinit
pushd xeon-e7-8800-4800-2800-sinit
unzip %{S:9}
popd
+
unzip %{S:10}
chmod 644 */*
cp %{SOURCE11} .
@@ -106,6 +123,7 @@
%defattr(-,root,root)
%doc i7_QUAD-SINIT_51 2nd_gen_i5_i7-SINIT_51 GM45_GS45_PM45-SINIT_51 3rd_gen_i5_i7-SINIT_67 xeon-5600-3500-sinit xeon-e7-8800-4800-2800-sinit
%doc i5_i7_DUAL-SINIT_51 3rd_gen_i5_i7_RACM-SINIT_67 4th_gen_i5_i7-SINIT_75 5th_gen_i5_i7-SINIT_79 6th_gen_i5_i7-SINIT_71 7th_gen_i5_i7-SINIT_74 Q45_Q43-SINIT_51 Q35-SINIT_51
+%doc 6th_7th_gen_i5_i7-SINIT_79 8th_9th_gen_i5_i7-SINIT_81
%doc SINIT-guide.txt
%dir /usr/lib/sinit
/usr/lib/sinit/*
1
0
Hello community,
here is the log from the commit of package python-junos-eznc for openSUSE:Factory checked in at 2020-11-02 09:41:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-junos-eznc (Old)
and /work/SRC/openSUSE:Factory/.python-junos-eznc.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-junos-eznc"
Mon Nov 2 09:41:31 2020 rev:9 rq:845024 version:2.5.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-junos-eznc/python-junos-eznc.changes 2020-09-21 17:33:21.792454588 +0200
+++ /work/SRC/openSUSE:Factory/.python-junos-eznc.new.3463/python-junos-eznc.changes 2020-11-02 09:41:47.381690315 +0100
@@ -1,0 +2,18 @@
+Thu Oct 29 19:40:57 UTC 2020 - Martin Hauke <mardnh(a)gmx.de>
+
+- Update to version 2.5.4
+ Features Added
+ * cRPD model check to be added for on-box junos.
+ Bugs Fixed
+ * support use-fast-diff in diff/pdff function.
+ * Zeroize handling modified for scenario where only warning is
+ returned in the rpc-reply.
+ * ntc_template and textfsm module's installation made optional
+ and to be done explicitly if one want to use PyEZ table/view
+ for other vendors cli o/p parsing.
+ * Checksum algorithm argument to be passed during remote
+ checksum in software installation.
+ * docstring initialized with empty string as it becomes empty
+ if optimization flag is added.
+
+-------------------------------------------------------------------
Old:
----
python-junos-eznc-2.5.3.tar.gz
New:
----
python-junos-eznc-2.5.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-junos-eznc.spec ++++++
--- /var/tmp/diff_new_pack.JU8FzK/_old 2020-11-02 09:41:47.829690744 +0100
+++ /var/tmp/diff_new_pack.JU8FzK/_new 2020-11-02 09:41:47.833690749 +0100
@@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-junos-eznc
-Version: 2.5.3
+Version: 2.5.4
Release: 0
Summary: Junos 'EZ' automation for non-programmers
License: Apache-2.0
++++++ python-junos-eznc-2.5.3.tar.gz -> python-junos-eznc-2.5.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/.travis.yml new/py-junos-eznc-2.5.4/.travis.yml
--- old/py-junos-eznc-2.5.3/.travis.yml 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/.travis.yml 2020-10-28 17:16:20.000000000 +0100
@@ -16,6 +16,8 @@
python: 3.7
before_install:
- choco install python3 --version=3.7.4
+ - pip install ntc_templates==1.4.1
+ - pip install textfsm==0.4.1
env:
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
- TRAVIS_PYTHON_VERSION=3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/development.txt new/py-junos-eznc-2.5.4/development.txt
--- old/py-junos-eznc-2.5.3/development.txt 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/development.txt 2020-10-28 17:16:20.000000000 +0100
@@ -6,3 +6,4 @@
pep8 # https://github.com/jcrocholl/pep8
pyflakes # https://launchpad.net/pyflakes
coveralls # https://coveralls.io/
+ntc_templates # user needs to explicitly install this
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/entrypoint.sh new/py-junos-eznc-2.5.4/entrypoint.sh
--- old/py-junos-eznc-2.5.3/entrypoint.sh 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/entrypoint.sh 2020-10-28 17:16:20.000000000 +0100
@@ -19,7 +19,7 @@
function run_scripts {
echo "Executing defined script"
- python3 "$1"
+ python3 $1 ${@:2}
}
## Manually defined variables will take precedence
@@ -34,7 +34,7 @@
else REQ=''
fi
-if [ "$1" ]; then SCRIPT=$1
+if [ "$#" ]; then SCRIPT=$@
else SCRIPT=''
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/_version.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/_version.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/_version.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/_version.py 2020-10-28 17:16:20.000000000 +0100
@@ -22,9 +22,9 @@
# setup.py/versioneer.py will grep for the variable names, so they must
# each be defined on a line of their own. _version.py will just call
# get_keywords().
- git_refnames = " (HEAD -> master, tag: 2.5.3)"
- git_full = "db3886c21d51f59ac550c1b87a9d44bdc98ee963"
- git_date = "2020-08-25 15:05:29 +0530"
+ git_refnames = " (HEAD -> master, tag: 2.5.4)"
+ git_full = "5095bf7dcbb92edae9bb640de2d5c21a870f3d1f"
+ git_date = "2020-10-28 21:46:20 +0530"
keywords = {"refnames": git_refnames, "full": git_full, "date": git_date}
return keywords
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/cfg/phyport/__init__.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/cfg/phyport/__init__.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/cfg/phyport/__init__.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/cfg/phyport/__init__.py 2020-10-28 17:16:20.000000000 +0100
@@ -7,8 +7,9 @@
class PhyPort(object):
def __new__(cls, dev, name=None):
- supercls = {"CLASSIC": PhyPortClassic, "SWITCH": PhyPortSwitch,}.get(
- dev.facts["ifd_style"]
- )
+ supercls = {
+ "CLASSIC": PhyPortClassic,
+ "SWITCH": PhyPortSwitch,
+ }.get(dev.facts["ifd_style"])
newcls = type(cls.__name__, (supercls,), {})
return newcls(dev, name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/cfg/resource.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/cfg/resource.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/cfg/resource.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/cfg/resource.py 2020-10-28 17:16:20.000000000 +0100
@@ -535,11 +535,11 @@
def __repr__(self):
"""
- stringify for debug/printing
+ stringify for debug/printing
- this will show the resource manager (class) name,
- the resource (Junos) name, and the contents
- of the :has: dict and the contents of the :should: dict
+ this will show the resource manager (class) name,
+ the resource (Junos) name, and the contents
+ of the :has: dict and the contents of the :should: dict
"""
mgr_name = self.__class__.__name__
return (
@@ -600,9 +600,9 @@
def _xml_build_change(self):
"""
- iterate through the :should: properties creating the
- necessary configuration change structure. if there
- are no changes, then return :None:
+ iterate through the :should: properties creating the
+ necessary configuration change structure. if there
+ are no changes, then return :None:
"""
edit_xml = self._xml_edit_at_res()
@@ -638,8 +638,8 @@
def _r_config_write_xml(self, xml):
"""
- write the xml change to the Junos device,
- trapping on exceptions.
+ write the xml change to the Junos device,
+ trapping on exceptions.
"""
top_xml = xml.getroottree().getroot()
@@ -757,8 +757,8 @@
def _r_when_new(self):
"""
- called by :read(): when the resource is new; i.e.
- there is no existing Junos configuration
+ called by :read(): when the resource is new; i.e.
+ there is no existing Junos configuration
"""
pass
@@ -786,7 +786,7 @@
@classmethod
def _r_has_xml_status(klass, as_xml, as_py):
"""
- set the 'exists' and 'active' :has: values
+ set the 'exists' and 'active' :has: values
"""
as_py[P_JUNOS_ACTIVE] = False if as_xml.attrib.get("inactive") else True
as_py[P_JUNOS_EXISTS] = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/console.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/console.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/console.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/console.py 2020-10-28 17:16:20.000000000 +0100
@@ -1,7 +1,3 @@
-"""
-This file defines the 'netconifyCmdo' class.
-Used by the 'netconify' shell utility.
-"""
import traceback
import sys
import logging
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/device.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/device.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/device.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/device.py 2020-10-28 17:16:20.000000000 +0100
@@ -93,6 +93,27 @@
or platform.release().startswith("JNPR")
or os.path.isfile("/usr/share/cevo/cevo_version")
)
+
+ # for juniper specific containers likes crpd, cmgd, cbng
+ # and similar entities, we will need to check the product.conf
+ # file for on-box implementation
+
+ if ON_JUNOS is False:
+ if os.path.isfile("/etc/product.conf") is True:
+ model_dict = {}
+ with open("/etc/product.conf") as f:
+ for line in f:
+ if "=" in line:
+ (key, val) = line.strip().split("=")
+ model_dict[key] = val
+
+ if "model" in model_dict and model_dict["model"] in [
+ "crpd",
+ "cbng",
+ "cmgd",
+ ]:
+ ON_JUNOS = True
+
auto_probe = 0 # default is no auto-probe
# ------------------------------------------------------------------------
@@ -422,15 +443,15 @@
raise RuntimeError("re_name is read-only!")
def _sshconf_lkup(self):
- """ Controls the ssh connection:
- If using ssh_private_key_file on MacOS Mojave or greater
- (specifically > OpenSSH_7.4p1) ensure that the keys are generated
- in PEM format or convert existing 'new' keys to the PEM format:
- Check format: `head -n1 ~/.ssh/some_key`
- Correct RSA fomat: -----BEGIN RSA PRIVATE KEY-----
- Incorrect OPENSSH format: -----BEGIN OPENSSH PRIVATE KEY-----
- Convert an OPENSSH key to an RSA key: `ssh-keygen -p -m PEM -f ~/.ssh/some_key`
- """
+ """Controls the ssh connection:
+ If using ssh_private_key_file on MacOS Mojave or greater
+ (specifically > OpenSSH_7.4p1) ensure that the keys are generated
+ in PEM format or convert existing 'new' keys to the PEM format:
+ Check format: `head -n1 ~/.ssh/some_key`
+ Correct RSA fomat: -----BEGIN RSA PRIVATE KEY-----
+ Incorrect OPENSSH format: -----BEGIN OPENSSH PRIVATE KEY-----
+ Convert an OPENSSH key to an RSA key: `ssh-keygen -p -m PEM -f ~/.ssh/some_key`
+ """
if self.__class__.__name__ == "Device" and self._sock_fd is not None:
return None
if self._ssh_config:
@@ -1116,7 +1137,7 @@
:param str sock_fd:
**REQUIRED** file descriptor of an existing socket instead of providing a host.
- Used for outbound ssh.
+ Used for outbound ssh.
:param str user:
*OPTIONAL* login user-name, uses $USER if not provided
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/exception.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/exception.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/exception.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/exception.py 2020-10-28 17:16:20.000000000 +0100
@@ -21,12 +21,12 @@
def __init__(self, cmd=None, rsp=None, errs=None, dev=None, timeout=None, re=None):
"""
- :cmd: is the rpc command
- :rsp: is the rpc response (after <rpc-reply>)
- :errs: is a list of dictionaries of extracted <rpc-error> elements.
- :dev: is the device rpc was executed on
- :timeout: is the timeout value of the device
- :re: is the RE or member exception occured on
+ :cmd: is the rpc command
+ :rsp: is the rpc response (after <rpc-reply>)
+ :errs: is a list of dictionaries of extracted <rpc-error> elements.
+ :dev: is the device rpc was executed on
+ :timeout: is the timeout value of the device
+ :re: is the RE or member exception occured on
"""
self.cmd = cmd
self.rsp = rsp
@@ -71,7 +71,7 @@
def __repr__(self):
"""
- pprints the response XML attribute
+ pprints the response XML attribute
"""
if self.rpc_error is not None:
return "{}(severity: {}, bad_element: {}, message: {})".format(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/factcache.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/factcache.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/factcache.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/factcache.py 2020-10-28 17:16:20.000000000 +0100
@@ -294,6 +294,10 @@
self._warnings_on_failure = False
self._should_warn = False
+ # In case optimization flag is enabled, it strips of docstring and __doc__ becomes None
+ if __doc__ is None:
+ __doc__ = ""
+
# Precede the class's documentation with the documentation on the specific
# facts from the jnpr.junos.facts package.
__doc__ = facts_doc + "Implementation details on the _FactCache class:" + __doc__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/factory/cfgtable.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/factory/cfgtable.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/factory/cfgtable.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/factory/cfgtable.py 2020-10-28 17:16:20.000000000 +0100
@@ -181,9 +181,12 @@
"""
def _get_field_type(ftype):
- ft = {"str": str, "int": int, "float": float, "bool": bool,}.get(
- ftype, None
- )
+ ft = {
+ "str": str,
+ "int": int,
+ "float": float,
+ "bool": bool,
+ }.get(ftype, None)
if ft is None:
raise TypeError("Unsupported type %s\n" % (ftype))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/factory/cmdtable.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/factory/cmdtable.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/factory/cmdtable.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/factory/cmdtable.py 2020-10-28 17:16:20.000000000 +0100
@@ -16,7 +16,14 @@
from jnpr.junos.factory.to_json import TableJSONEncoder
from jinja2 import Template
-from ntc_templates import parse as ntc_parse
+
+HAS_NTC_TEMPLATE = False
+try:
+ from ntc_templates import parse as ntc_parse
+
+ HAS_NTC_TEMPLATE = True
+except:
+ pass
import logging
@@ -153,9 +160,14 @@
self.data = self.xml.text
if self.USE_TEXTFSM:
- self.output = self._parse_textfsm(
- platform=self.PLATFORM, command=self.GET_CMD, raw=self.data
- )
+ if HAS_NTC_TEMPLATE:
+ self.output = self._parse_textfsm(
+ platform=self.PLATFORM, command=self.GET_CMD, raw=self.data
+ )
+ else:
+ raise ImportError(
+ "ntc_template is missing. Need to be installed explicitly."
+ )
else:
# state machine
sm = StateMachine(self)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/facts/__init__.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/facts/__init__.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/facts/__init__.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/facts/__init__.py 2020-10-28 17:16:20.000000000 +0100
@@ -86,6 +86,10 @@
# Import all of the fact modules and build the callbacks and doc strings
(_callbacks, _doc_strings) = _build_fact_callbacks_and_doc_strings()
+# In case optimization flag is enabled, it strips of docstring and __doc__ becomes None
+if __doc__ is None:
+ __doc__ = ""
+
# Append the doc string (__doc__) with the documentation for each fact.
for key in sorted(_doc_strings, key=lambda s: s.lower()):
__doc__ += ":%s:\n %s\n" % (key, _doc_strings[key])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/facts/current_re.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/facts/current_re.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/facts/current_re.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/facts/current_re.py 2020-10-28 17:16:20.000000000 +0100
@@ -37,7 +37,9 @@
current_re.append(re_name[0].text)
else:
rsp = device.rpc.get_interface_information(
- normalize=True, routing_instance="__juniper_private1__", terse=True,
+ normalize=True,
+ routing_instance="__juniper_private1__",
+ terse=True,
)
# Get the local IPv4 addresses from the response.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/jxml.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/jxml.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/jxml.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/jxml.py 2020-10-28 17:16:20.000000000 +0100
@@ -193,8 +193,8 @@
def rpc_error(rpc_xml):
"""
- extract the various bits from an <rpc-error> element
- into a dictionary
+ extract the various bits from an <rpc-error> element
+ into a dictionary
"""
remove_namespaces(rpc_xml)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/rpcmeta.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/rpcmeta.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/rpcmeta.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/rpcmeta.py 2020-10-28 17:16:20.000000000 +0100
@@ -13,9 +13,9 @@
def __init__(self, junos):
"""
- ~PRIVATE CLASS~
- creates an RPC meta-executor object bound to the provided
- ez-netconf :junos: object
+ ~PRIVATE CLASS~
+ creates an RPC meta-executor object bound to the provided
+ ez-netconf :junos: object
"""
self._junos = junos
@@ -303,12 +303,12 @@
def __getattr__(self, rpc_cmd_name):
"""
- metaprograms a function to execute the :rpc_cmd_name:
+ metaprograms a function to execute the :rpc_cmd_name:
- the caller will be passing (*vargs, **kvargs) on
- execution of the meta function; these are the specific
- rpc command arguments(**kvargs) and options bound
- as XML attributes (*vargs)
+ the caller will be passing (*vargs, **kvargs) on
+ execution of the meta function; these are the specific
+ rpc command arguments(**kvargs) and options bound
+ as XML attributes (*vargs)
"""
rpc_cmd = re.sub("_", "-", rpc_cmd_name)
@@ -378,10 +378,10 @@
def __call__(self, rpc_cmd, **kvargs):
"""
- callable will execute the provided :rpc_cmd: against the
- attached :junos: object and return the RPC response per
- :junos:execute()
+ callable will execute the provided :rpc_cmd: against the
+ attached :junos: object and return the RPC response per
+ :junos:execute()
- kvargs is simply passed 'as-is' to :junos:execute()
+ kvargs is simply passed 'as-is' to :junos:execute()
"""
return self._junos.execute(rpc_cmd, **kvargs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/transport/tty_netconf.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/transport/tty_netconf.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/transport/tty_netconf.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/transport/tty_netconf.py 2020-10-28 17:16:20.000000000 +0100
@@ -64,7 +64,7 @@
break
else:
# exceeded the while loop timeout
- raise RuntimeError("Netconify Error: netconf not responding")
+ raise RuntimeError("Error: netconf not responding")
self.hello = self._receive()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/utils/config.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/utils/config.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/utils/config.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/utils/config.py 2020-10-28 17:16:20.000000000 +0100
@@ -219,12 +219,14 @@
# show | compare rollback <number|0*>
# -------------------------------------------------------------------------
- def diff(self, rb_id=0, ignore_warning=False):
+ def diff(self, rb_id=0, ignore_warning=False, use_fast_diff=False):
"""
Retrieve a diff (patch-format) report of the candidate config against
either the current active config, or a different rollback.
:param int rb_id: rollback id [0..49]
+ :param bool ignore_warning: Ignore any rpc-error with severity warning
+ :param bool use_fast_diff: equivalent to "show | compare use-fast-diff"
:returns:
* ``None`` if there is no difference
@@ -234,9 +236,14 @@
if rb_id < 0 or rb_id > 49:
raise ValueError("Invalid rollback #" + str(rb_id))
+ rpc_params = dict(compare="rollback", rollback=str(rb_id), format="text")
+ if use_fast_diff:
+ if rb_id > 0:
+ raise ValueError("use_fast_diff can only be used with rb_id 0")
+ rpc_params["use-fast-diff"] = "yes"
try:
rsp = self.rpc.get_configuration(
- dict(compare="rollback", rollback=str(rb_id), format="text"),
+ rpc_params,
ignore_warning=ignore_warning,
)
except RpcTimeoutError:
@@ -256,16 +263,18 @@
diff_txt = rsp.find("configuration-output").text
return None if diff_txt == "\n" else diff_txt
- def pdiff(self, rb_id=0):
+ def pdiff(self, rb_id=0, ignore_warning=False, use_fast_diff=False):
"""
Helper method that calls ``print`` on the diff (patch-format) between
the current candidate and the provided rollback.
:param int rb_id: the rollback id value [0-49]
+ :param bool ignore_warning: Ignore any rpc-error with severity warning
+ :param bool use_fast_diff: equivalent to "show | compare use-fast-diff"
:returns: ``None``
"""
- print(self.diff(rb_id))
+ print(self.diff(rb_id, ignore_warning, use_fast_diff))
# -------------------------------------------------------------------------
# helper on loading configs
@@ -301,8 +310,10 @@
.. note:: The format can specifically set using **format**.
:param str format:
- Determines the format of the contents. Refer to options
- from the **path** description.
+ Determines the format of the contents.
+ Supported options - text, set, xml, json
+
+ If not provided, internally application will try to find out the format
:param bool overwrite:
Determines if the contents completely replace the existing
@@ -346,7 +357,7 @@
:param dict template_vars:
Used in conjunction with the other template options. This parameter
contains a dictionary of variables to render into the template.
-
+
:param ignore_warning: A boolean, string or list of string.
If the value is True, it will ignore all warnings regardless of the
warning message. If the value is a string, it will ignore
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/lib/jnpr/junos/utils/sw.py new/py-junos-eznc-2.5.4/lib/jnpr/junos/utils/sw.py
--- old/py-junos-eznc-2.5.3/lib/jnpr/junos/utils/sw.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/lib/jnpr/junos/utils/sw.py 2020-10-28 17:16:20.000000000 +0100
@@ -23,6 +23,8 @@
from jnpr.junos.utils.ftp import FTP
from jnpr.junos.utils.start_shell import StartShell
from jnpr.junos.exception import SwRollbackError, RpcTimeoutError, RpcError
+from ncclient.xml_ import NCElement
+from jnpr.junos import jxml as JXML
"""
Software Installation Utilities
@@ -659,7 +661,9 @@
_progress(
"after copy, computing checksum on remote package: %s" % remote_package
)
- remote_checksum = self.remote_checksum(remote_package)
+ remote_checksum = self.remote_checksum(
+ remote_package, timeout=checksum_timeout, algorithm=checksum_algorithm
+ )
if remote_checksum != checksum:
_progress("checksum check failed.")
@@ -886,7 +890,7 @@
return False
except RpcError:
_progress(
- "request-package-check-pending-install rpc is not "
+ "request-package-checks-pending-install rpc is not "
"supported on given device"
)
except Exception as ex:
@@ -1245,18 +1249,53 @@
if media is True:
cmd = E("media")
+ # initialize an empty output message
+ output_msg = ""
+
try:
# For zeroize we don't get a response similar to reboot, shutdown.
- # In ansible it was passed even if rpc-reply was not coming.
- # Code is added here to reply the message else pass an empty string.
- rsp = self.rpc(cmd, ignore_warning=True, normalize=True)
- output_msg = "\n".join(
- [i.text for i in rsp.xpath("//message") if i.text is not None]
- )
- return output_msg
+ # The response may come as a warning message only.
+ # Code is added here to extract the warning message and append it.
+ # Don't pass ignore warning true and handle the warning here.
+ rsp = self.rpc(cmd, normalize=True)
+ except RpcError as ex:
+ if hasattr(ex, "xml"):
+ if hasattr(ex, "errs"):
+ errors = ex.errs
+ else:
+ errors = [ex]
+ for err in errors:
+ if err.get("severity", "") != "warning":
+ # Not a warning (probably an error).
+ raise ex
+ output_msg += err.get("message", "") + "\n"
+ rsp = ex.xml.getroottree().getroot()
+ # 1) A normal response has been run through the XSLT
+ # transformation, but ex.xml has not. Do that now.
+ encode = None if sys.version < "3" else "unicode"
+ rsp = NCElement(
+ etree.tostring(rsp, encoding=encode), self._dev.transform()
+ )._NCElement__doc
+ # 2) Now remove all of the <rpc-error> elements from
+ # the response. We've already confirmed they are all warnings
+ rsp = etree.fromstring(str(JXML.strip_rpc_error_transform(rsp)))
+ else:
+ # ignore_warning was false, or an RPCError which doesn't have
+ # an XML attribute. Raise it up for the caller to deal with.
+ raise ex
except Exception as err:
raise err
+ # safety check added in case the rpc-reply for zeroize doesn't have message
+ # This scenario is not expected.
+ if isinstance(rsp, bool):
+ return "zeroize initiated with no message"
+
+ output_msg += "\n".join(
+ [i.text for i in rsp.xpath("//message") if i.text is not None]
+ )
+ return output_msg
+
# -------------------------------------------------------------------------
# rollback - clears the install request
# -------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/requirements.txt new/py-junos-eznc-2.5.4/requirements.txt
--- old/py-junos-eznc-2.5.3/requirements.txt 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/requirements.txt 2020-10-28 17:16:20.000000000 +0100
@@ -10,4 +10,3 @@
yamlordereddictloader
pyparsing
transitions
-ntc_templates
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/setup.py new/py-junos-eznc-2.5.4/setup.py
--- old/py-junos-eznc-2.5.3/setup.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/setup.py 2020-10-28 17:16:20.000000000 +0100
@@ -1,19 +1,10 @@
from setuptools import setup, find_packages
-import sys
import versioneer
# parse requirements
req_lines = [line.strip() for line in open("requirements.txt").readlines()]
install_reqs = list(filter(None, req_lines))
-# refer: https://github.com/Juniper/py-junos-eznc/issues/1015
-# should be removed when textfsm releases >=1.1.1
-if sys.platform == "win32":
- if "ntc_templates" in install_reqs:
- install_reqs.remove("ntc_templates")
- install_reqs.append("ntc_templates==1.4.1")
- install_reqs.append("textfsm==0.4.1")
-
setup(
name="junos-eznc",
namespace_packages=["jnpr"],
@@ -51,6 +42,7 @@
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
+ "Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/tests/unit/utils/rpc-reply/request-zeroize.xml new/py-junos-eznc-2.5.4/tests/unit/utils/rpc-reply/request-zeroize.xml
--- old/py-junos-eznc-2.5.3/tests/unit/utils/rpc-reply/request-zeroize.xml 1970-01-01 01:00:00.000000000 +0100
+++ new/py-junos-eznc-2.5.4/tests/unit/utils/rpc-reply/request-zeroize.xml 2020-10-28 17:16:20.000000000 +0100
@@ -0,0 +1,30 @@
+<rpc-reply>
+<rpc-error>
+<error-severity>warning</error-severity>
+<error-message>
+ipsec-key-management subsystem not running - not needed by configuration.
+</error-message>
+</rpc-error>
+<warning xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
+<message>
+ipsec-key-management subsystem not running - not needed by configuration.
+</message>
+<reason>
+<daemon>
+ipsec-key-management
+</daemon>
+<process-not-configured/>
+</reason>
+</warning>
+<warning xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
+<message>
+zeroizing re1
+</message>
+</warning>
+<rpc-error>
+<error-severity>warning</error-severity>
+<error-message>
+zeroizing re0
+</error-message>
+</rpc-error>
+</rpc-reply>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/tests/unit/utils/test_config.py new/py-junos-eznc-2.5.4/tests/unit/utils/test_config.py
--- old/py-junos-eznc-2.5.3/tests/unit/utils/test_config.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/tests/unit/utils/test_config.py 2020-10-28 17:16:20.000000000 +0100
@@ -198,6 +198,24 @@
ignore_warning=False,
)
+ def test_config_diff_use_fast_diff(self):
+ self.conf.rpc.get_configuration = MagicMock()
+ self.conf.diff(use_fast_diff=True)
+ self.conf.rpc.get_configuration.assert_called_with(
+ {
+ "compare": "rollback",
+ "rollback": "0",
+ "format": "text",
+ "use-fast-diff": "yes",
+ },
+ ignore_warning=False,
+ )
+
+ def test_config_diff_use_fast_diff_rb_id_gt_0(self):
+ self.conf.rpc.get_configuration = MagicMock()
+ with self.assertRaises(ValueError):
+ self.conf.diff(use_fast_diff=True, rb_id=1)
+
def test_config_diff_exception_severity_warning(self):
rpc_xml = """
<rpc-error>
@@ -225,7 +243,7 @@
def test_config_pdiff(self):
self.conf.diff = MagicMock(return_value="Stuff")
self.conf.pdiff()
- self.conf.diff.assert_called_once_with(0)
+ self.conf.diff.assert_called_once_with(0, False, False)
def test_config_diff_rpc_timeout(self):
ex = RpcTimeoutError(self.dev, None, 10)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/tests/unit/utils/test_ftp.py new/py-junos-eznc-2.5.4/tests/unit/utils/test_ftp.py
--- old/py-junos-eznc-2.5.3/tests/unit/utils/test_ftp.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/tests/unit/utils/test_ftp.py 2020-10-28 17:16:20.000000000 +0100
@@ -95,7 +95,10 @@
@patch("ftplib.FTP.login")
@patch("ftplib.FTP.retrbinary")
def test_ftp_dnload_file_get_rf_filename_cb(
- self, mock_ftp_connect, mock_ftp_login, mock_ftp_retrbinary,
+ self,
+ mock_ftp_connect,
+ mock_ftp_login,
+ mock_ftp_retrbinary,
):
def callback():
pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py-junos-eznc-2.5.3/tests/unit/utils/test_sw.py new/py-junos-eznc-2.5.4/tests/unit/utils/test_sw.py
--- old/py-junos-eznc-2.5.3/tests/unit/utils/test_sw.py 2020-08-25 11:35:29.000000000 +0200
+++ new/py-junos-eznc-2.5.4/tests/unit/utils/test_sw.py 2020-10-28 17:16:20.000000000 +0100
@@ -942,8 +942,7 @@
def test_sw_zeroize(self, mock_execute):
mock_execute.side_effect = self._mock_manager
self.sw._multi_MX = True
- test_str = "System will be rebooted and may not boot without configuration"
- self.assertTrue(test_str in self.sw.zeroize())
+ self.assertTrue("zeroizing" in self.sw.zeroize())
@patch("jnpr.junos.Device.execute")
def test_sw_zeroize_exception(self, mock_execute):
@@ -1002,6 +1001,8 @@
if "path" in kwargs:
if kwargs["path"] == "/packages":
return self._read_file("file-list_dir.xml")
+ if args and self._testMethodName == "test_sw_zeroize":
+ return self._read_file("request-zeroize.xml")
device_params = kwargs["device_params"]
device_handler = make_device_handler(device_params)
session = SSHSession(device_handler)
1
0
Hello community,
here is the log from the commit of package python-pyspnego for openSUSE:Factory checked in at 2020-11-02 09:41:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyspnego (Old)
and /work/SRC/openSUSE:Factory/.python-pyspnego.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyspnego"
Mon Nov 2 09:41:28 2020 rev:3 rq:845023 version:0.1.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyspnego/python-pyspnego.changes 2020-10-26 16:22:01.763210983 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyspnego.new.3463/python-pyspnego.changes 2020-11-02 09:41:45.109688135 +0100
@@ -1,0 +2,6 @@
+Thu Oct 29 16:47:02 UTC 2020 - Martin Hauke <mardnh(a)gmx.de>
+
+- Update to version 0.1.3
+ * Added Python 3.9 to CI
+
+-------------------------------------------------------------------
Old:
----
pyspnego-0.1.2.tar.gz
New:
----
pyspnego-0.1.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyspnego.spec ++++++
--- /var/tmp/diff_new_pack.XgxELZ/_old 2020-11-02 09:41:46.405689378 +0100
+++ /var/tmp/diff_new_pack.XgxELZ/_new 2020-11-02 09:41:46.409689382 +0100
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyspnego
-Version: 0.1.2
+Version: 0.1.3
Release: 0
Summary: Python SPNEGO authentication library
License: MIT
++++++ pyspnego-0.1.2.tar.gz -> pyspnego-0.1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.1.2/CHANGELOG.md new/pyspnego-0.1.3/CHANGELOG.md
--- old/pyspnego-0.1.2/CHANGELOG.md 2020-10-01 01:28:28.000000000 +0200
+++ new/pyspnego-0.1.3/CHANGELOG.md 2020-10-29 09:25:04.000000000 +0100
@@ -1,5 +1,9 @@
# Changelog
+## 0.1.3 - 2020-10-29
+
+* Added Python 3.9 to CI and build Windows wheel for this versoin
+
## 0.1.2 - 2020-10-01
* Fix up WinRM wrapping on SSPI
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.1.2/azure-pipelines.yml new/pyspnego-0.1.3/azure-pipelines.yml
--- old/pyspnego-0.1.2/azure-pipelines.yml 2020-10-01 01:28:28.000000000 +0200
+++ new/pyspnego-0.1.3/azure-pipelines.yml 2020-10-29 09:25:04.000000000 +0100
@@ -40,6 +40,8 @@
python.version: 3.7
Python38:
python.version: 3.8
+ Python39:
+ python.version: 3.9
steps:
- task: UsePythonVersion@0
@@ -128,6 +130,12 @@
Python38-x64:
python.version: 3.8
python.arch: x64
+ Python39-x86:
+ python.version: 3.9
+ python.arch: x86
+ Python39-x64:
+ python.version: 3.9
+ python.arch: x64
steps:
- task: UsePythonVersion@0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.1.2/setup.py new/pyspnego-0.1.3/setup.py
--- old/pyspnego-0.1.2/setup.py 2020-10-01 01:28:28.000000000 +0200
+++ new/pyspnego-0.1.3/setup.py 2020-10-29 09:25:04.000000000 +0100
@@ -102,5 +102,6 @@
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
],
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.1.2/spnego/_version.py new/pyspnego-0.1.3/spnego/_version.py
--- old/pyspnego-0.1.2/spnego/_version.py 2020-10-01 01:28:28.000000000 +0200
+++ new/pyspnego-0.1.3/spnego/_version.py 2020-10-29 09:25:04.000000000 +0100
@@ -4,4 +4,4 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type # noqa (fixes E402 for the imports below)
-__version__ = '0.1.2'
+__version__ = '0.1.3'
1
0
Hello community,
here is the log from the commit of package lal for openSUSE:Factory checked in at 2020-11-02 09:41:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lal (Old)
and /work/SRC/openSUSE:Factory/.lal.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lal"
Mon Nov 2 09:41:26 2020 rev:2 rq:844988 version:7.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/lal/lal.changes 2020-08-18 15:06:21.555924229 +0200
+++ /work/SRC/openSUSE:Factory/.lal.new.3463/lal.changes 2020-11-02 09:41:43.385686480 +0100
@@ -1,0 +2,22 @@
+Sun Oct 25 17:56:07 UTC 2020 - Atri Bhattacharya <badshah400(a)gmail.com>
+
+- Specfile cleanups with spec-cleaner.
+- Update URL in keeping with upstream change.
+
+-------------------------------------------------------------------
+Sat Aug 15 08:25:42 UTC 2020 - Atri Bhattacharya <badshah400(a)gmail.com>
+
+- Run tests as part of %check; add necessary BuildRequires:
+ python3-scipy, python3-six, python3-freezegun,
+ python3-python-dateutil, python3-ligo-segments, and
+ python3-pytest for python3 tests to succeed (don't run tests for
+ python2).
+- Add Requires: python-six, python-freezegun,
+ python-python-dateutil, python-scipy, and python-ligo-segments
+ as tests show these packages are needed for the python modules
+ to work meaningfully.
+- ExcludeArch 32-bit, as tests fail and upstream confirms that it
+ is not supported
+ (https://git.ligo.org/lscsoft/lalsuite/-/issues/371)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lal.spec ++++++
--- /var/tmp/diff_new_pack.Xpgbz0/_old 2020-11-02 09:41:44.425687478 +0100
+++ /var/tmp/diff_new_pack.Xpgbz0/_new 2020-11-02 09:41:44.429687482 +0100
@@ -1,7 +1,7 @@
#
# spec file for package lal
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
%define shliblal liblal20
%define shliblalsupport liblalsupport14
%bcond_without octave
@@ -24,7 +25,7 @@
Summary: A collection of various gravitational wave data analysis routines
License: GPL-2.0-only
Group: Productivity/Scientific/Physics
-URL: https://wiki.ligo.org/Computing/DASWG/LALSuite
+URL: https://wiki.ligo.org/Computing/LALSuite
Source: http://software.ligo.org/lscsoft/source/lalsuite/lal-%{version}.tar.xz
# PATCH-FIX-UPSTREAM lal-implicit-conversion-XLALError.patch badshah400(a)gmail.com -- Fix an implicit coversion issue flagged by GCC 10
Patch0: lal-implicit-conversion-XLALError.patch
@@ -43,21 +44,40 @@
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(gsl)
BuildRequires: pkgconfig(zlib)
+Requires: python-freezegun
+Requires: python-ligo-segments
+Requires: python-lscsoft-glue
+Requires: python-numpy
+Requires: python-python-dateutil
+Requires: python-scipy
+Requires: python-six
+ExcludeArch: %{ix86}
%if %{with octave}
BuildRequires: octave-devel
%endif
-Requires: python-lscsoft-glue
-Requires: python-numpy
+# SECTION For tests (only with python3)
+BuildRequires: python3-freezegun
+BuildRequires: python3-ligo-segments
+BuildRequires: python3-pytest
+BuildRequires: python3-python-dateutil
+BuildRequires: python3-scipy
+# /SECTION
+
+%python_subpackages
%description
-The LSC Algorithm Library Suite (LALSuite) is comprised of various gravitational wave data analysis routines written in C following the ISO/IEC 9899:1999 standard.
+The LSC Algorithm Library Suite (LALSuite) is comprised of various
+gravitational wave data analysis routines written in C following the ISO/IEC
+9899:1999 standard.
%package -n %{shliblal}
Summary: Shared library for LAL
Group: System/Libraries
%description -n %{shliblal}
-The LSC Algorithm Library Suite (LALSuite) is comprised of various gravitational wave data analysis routines written in C following the ISO/IEC 9899:1999 standard.
+The LSC Algorithm Library Suite (LALSuite) is comprised of various
+gravitational wave data analysis routines written in C following the ISO/IEC
+9899:1999 standard.
This package provides the shared library for lal.
@@ -66,7 +86,9 @@
Group: System/Libraries
%description -n %{shliblalsupport}
-The LSC Algorithm Library Suite (LALSuite) is comprised of various gravitational wave data analysis routines written in C following the ISO/IEC 9899:1999 standard.
+The LSC Algorithm Library Suite (LALSuite) is comprised of various
+gravitational wave data analysis routines written in C following the ISO/IEC
+9899:1999 standard.
This package provides the shared library for lalsupport.
@@ -75,12 +97,14 @@
Group: Productivity/Scientific/Physics
Requires: %{shliblalsupport} = %{version}
Requires: %{shliblal} = %{version}
-Requires: pkgconfig(zlib)
Requires: pkgconfig(fftw3)
Requires: pkgconfig(gsl)
+Requires: pkgconfig(zlib)
%description -n %{name}-devel
-The LSC Algorithm Library Suite (LALSuite) is comprised of various gravitational wave data analysis routines written in C following the ISO/IEC 9899:1999 standard.
+The LSC Algorithm Library Suite (LALSuite) is comprised of various
+gravitational wave data analysis routines written in C following the ISO/IEC
+9899:1999 standard.
This package provides the header files and sources need for building software against lal.
@@ -90,12 +114,12 @@
%requires_eq octave-cli
%description -n octave-lal
-The LSC Algorithm Library Suite (LALSuite) is comprised of various gravitational wave data analysis routines written in C following the ISO/IEC 9899:1999 standard.
+The LSC Algorithm Library Suite (LALSuite) is comprised of various
+gravitational wave data analysis routines written in C following the ISO/IEC
+9899:1999 standard.
This package provides the octave module for lal.
-%python_subpackages
-
%prep
%autosetup -p1
@@ -108,7 +132,7 @@
%configure \
%{?with_octave:--enable-swig-octave} \
%{!?with_octave:--disable-swig-octave}
-make %{?_smp_mflags}
+%make_build
popd
}
@@ -133,6 +157,14 @@
sed -Ei "1{/^#!\/usr\/bin\/env python/d}" %{buildroot}%{$python_sitearch}/lal/antenna.py
}
+%ifpython3
+%check
+# Run tests from the python3 build dir
+pushd ../python3_build
+%make_build check
+popd
+%endif
+
%post -n %{shliblal} -p /sbin/ldconfig
%post -n %{shliblalsupport} -p /sbin/ldconfig
%postun -n %{shliblal} -p /sbin/ldconfig
1
0
Hello community,
here is the log from the commit of package cilium for openSUSE:Factory checked in at 2020-11-02 09:41:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cilium (Old)
and /work/SRC/openSUSE:Factory/.cilium.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cilium"
Mon Nov 2 09:41:18 2020 rev:30 rq:845100 version:1.8.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/cilium/cilium.changes 2020-08-16 20:27:35.898108844 +0200
+++ /work/SRC/openSUSE:Factory/.cilium.new.3463/cilium.changes 2020-11-02 09:41:37.845681164 +0100
@@ -1,0 +2,21 @@
+Fri Oct 30 16:50:02 UTC 2020 - Michał Rostecki <mrostecki(a)suse.com>
+
+- Update to 1.8.5
+ * Release notes: https://github.com/cilium/cilium/releases/tag/v1.8.5
+- Remove patches which were included upstream:
+ * 0001-option-mark-keep-bpf-templates-as-deprecated.patch
+ * 0002-make-remove-the-need-for-go-bindata.patch
+ * 0003-bpf-don-t-use-fixed-size-integer-types-from-stdint.h.patch
+ * 0005-bpf-re-add-a-proper-types.h-mapper.patch
+ * 0006-build-Avoid-using-git-if-not-in-a-git-repo.patch
+ * 0007-option-rename-PolicyMapMaxEntries-to-PolicyMapEntrie.patch
+ * 0008-helm-allow-to-configure-bpf-nat-global-max-using-Hel.patch
+ * 0009-option-reduce-default-number-for-TCP-CT-and-NAT-tabl.patch
+ * 0010-daemon-add-option-to-dynamically-size-BPF-maps-based.patch
+- Remove downstream patch which is not needed anymore (now it's
+ enough to just modify the Helm chart with sed to set out images):
+ * 0004-helm-Allow-variables-for-compatibility-with-openSUSE.patch
+- Add upstream patch for installing the operator binary:
+ * 0001-operator-make-Add-install-target.patch
+
+-------------------------------------------------------------------
Old:
----
0001-option-mark-keep-bpf-templates-as-deprecated.patch
0002-make-remove-the-need-for-go-bindata.patch
0003-bpf-don-t-use-fixed-size-integer-types-from-stdint.h.patch
0004-helm-Allow-variables-for-compatibility-with-openSUSE.patch
0005-bpf-re-add-a-proper-types.h-mapper.patch
0006-build-Avoid-using-git-if-not-in-a-git-repo.patch
0007-option-rename-PolicyMapMaxEntries-to-PolicyMapEntrie.patch
0008-helm-allow-to-configure-bpf-nat-global-max-using-Hel.patch
0009-option-reduce-default-number-for-TCP-CT-and-NAT-tabl.patch
0010-daemon-add-option-to-dynamically-size-BPF-maps-based.patch
cilium-1.7.6.obscpio
New:
----
0001-operator-make-Add-install-target.patch
cilium-1.8.5.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cilium.spec ++++++
--- /var/tmp/diff_new_pack.fm2RQv/_old 2020-11-02 09:41:39.389682646 +0100
+++ /var/tmp/diff_new_pack.fm2RQv/_new 2020-11-02 09:41:39.393682649 +0100
@@ -35,7 +35,7 @@
%endif
Name: cilium
-Version: 1.7.6
+Version: 1.8.5
Release: 0
Summary: Linux Native, HTTP Aware Networking and Security for Containers
License: Apache-2.0 AND GPL-2.0-or-later
@@ -44,28 +44,8 @@
Source1: %{name}-rpmlintrc
Source2: cilium-cni-install
Source3: cilium-cni-uninstall
-# PATCH-FIX-UPSTREAM 0001-option-mark-keep-bpf-templates-as-deprecated.patch
-Patch1: 0001-option-mark-keep-bpf-templates-as-deprecated.patch
-# PATCH-FIX-UPSTREAM 0002-make-remove-the-need-for-go-bindata.patch
-Patch2: 0002-make-remove-the-need-for-go-bindata.patch
-# PATCH-FIX-UPSTREAM 0003-bpf-don-t-use-fixed-size-integer-types-from-stdint.h.patch
-Patch3: 0003-bpf-don-t-use-fixed-size-integer-types-from-stdint.h.patch
-# PATCH-FIX-OPENSUSE 0004-helm-Allow-variables-for-compatibility-with-openSUSE.patch
-# TODO(mrostecki): Submit it upstream after we confirm that our images work 100%
-# fine, also on aarch64.
-Patch4: 0004-helm-Allow-variables-for-compatibility-with-openSUSE.patch
-# PATCH-FIX-UPSTREAM 0005-bpf-re-add-a-proper-types.h-mapper.patch
-Patch5: 0005-bpf-re-add-a-proper-types.h-mapper.patch
-# PATCH-FIX-UPSTREAM 0006-build-Avoid-using-git-if-not-in-a-git-repo.patch
-Patch6: 0006-build-Avoid-using-git-if-not-in-a-git-repo.patch
-# PATCH-FIX-UPSTREAM 0007-option-rename-PolicyMapMaxEntries-to-PolicyMapEntrie.patch
-Patch7: 0007-option-rename-PolicyMapMaxEntries-to-PolicyMapEntrie.patch
-# PATCH-FIX-UPSTREAM 0008-helm-allow-to-configure-bpf-nat-global-max-using-Hel.patch
-Patch8: 0008-helm-allow-to-configure-bpf-nat-global-max-using-Hel.patch
-# PATCH-FIX-UPSTREAM 0009-option-reduce-default-number-for-TCP-CT-and-NAT-tabl.patch
-Patch9: 0009-option-reduce-default-number-for-TCP-CT-and-NAT-tabl.patch
-# PATCH-FIX-UPSTREAM 0010-daemon-add-option-to-dynamically-size-BPF-maps-based.patch
-Patch10: 0010-daemon-add-option-to-dynamically-size-BPF-maps-based.patch
+# PATCH-FIX-UPSTREAM 0001-operator-make-Add-install-target.patch
+Patch0: 0001-operator-make-Add-install-target.patch
# Cilium needs to be aware of the version string of cilium-proxy
BuildRequires: cilium-proxy
BuildRequires: clang
@@ -262,10 +242,10 @@
-e 's|tag: v%{version}|tag: %{version}|' \
%{buildroot}%{_datadir}/k8s-helm/cilium/values.yaml
sed -i \
- -e 's|cniInstallScript: /cni-install.sh|cniInstallScript: cilium-cni-install|' \
- -e 's|cniUninstallScript: /cni-uninstall.sh|cniUninstallScript: cilium-cni-uninstall|' \
- -e 's|initScript: /init-container.sh|initScript: cilium-init|' \
- %{buildroot}%{_datadir}/k8s-helm/cilium/charts/agent/values.yaml
+ -e 's|/cni-install.sh|cilium-cni-install|' \
+ -e 's|/cni-uninstall.sh|cilium-cni-uninstall|' \
+ -e 's|/init-container.sh|cilium-init|' \
+ %{buildroot}%{_datadir}/k8s-helm/cilium/charts/agent/templates/daemonset.yaml
sed -i \
-e 's|image: operator|image: cilium-operator|' \
%{buildroot}%{_datadir}/k8s-helm/cilium/charts/operator/values.yaml
@@ -273,6 +253,7 @@
mkdir -p %{buildroot}%{bash_completion_dir}
%{buildroot}%{_bindir}/cilium completion > %{buildroot}%{bash_completion_dir}/cilium
rm %{buildroot}%{_sysconfdir}/bash_completion.d/cilium
+mv %{buildroot}%{_sysconfdir}/bash_completion.d/hubble-relay %{buildroot}%{bash_completion_dir}/hubble-relay
mv %{buildroot}%{_sysconfdir}/cni/net.d/05-cilium-cni.conf %{buildroot}%{_sysconfdir}/cni/net.d/10-cilium-cni.conf
@@ -308,6 +289,7 @@
%files
%{bash_completion_dir}/cilium
+%{bash_completion_dir}/hubble-relay
%{_fillupdir}/sysconfig.cilium
%{_unitdir}/cilium-consul.service
%{_unitdir}/cilium-etcd.service
@@ -324,6 +306,8 @@
%{_bindir}/cilium-init
%{_bindir}/cilium-map-migrate
%{_bindir}/cilium-node-monitor
+%{_bindir}/cilium-probe-kernel-hz
+%{_bindir}/hubble-relay
%{_bindir}/maptool
%{_localstatedir}/lib/cilium
%license LICENSE
@@ -344,6 +328,9 @@
%files operator
%{_bindir}/cilium-operator
+%{_bindir}/cilium-operator-aws
+%{_bindir}/cilium-operator-azure
+%{_bindir}/cilium-operator-generic
%files -n %{lname}
%{_libdir}/libcilium.so.%{sover}
++++++ 0001-operator-make-Add-install-target.patch ++++++
>From 36059fb7b4282da8e8674937fee986d1c88c486d Mon Sep 17 00:00:00 2001
From: Michal Rostecki <mrostecki(a)opensuse.org>
Date: Fri, 19 Jun 2020 13:07:46 +0200
Subject: [PATCH] operator: make: Add install target
Add `install` make target which installs cilium-operator binaries.
Fixes: #12184
Signed-off-by: Michal Rostecki <mrostecki(a)opensuse.org>
---
operator/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/operator/Makefile b/operator/Makefile
index dc88e5f80..8da5d7ea0 100644
--- a/operator/Makefile
+++ b/operator/Makefile
@@ -26,3 +26,7 @@ clean:
@$(ECHO_CLEAN)
$(QUIET)rm -f $(TARGETS)
$(GO) clean $(GOCLEAN)
+
+install: $(TARGETS)
+ $(QUIET)$(INSTALL) -m 0755 -d $(DESTDIR)$(BINDIR)
+ $(foreach target,$(TARGETS), $(QUIET)$(INSTALL) -m 0755 $(target) $(DESTDIR)$(BINDIR);)
--
2.29.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.fm2RQv/_old 2020-11-02 09:41:39.445682699 +0100
+++ /var/tmp/diff_new_pack.fm2RQv/_new 2020-11-02 09:41:39.445682699 +0100
@@ -4,7 +4,8 @@
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">@PARENT_TAG@</param>
- <param name="revision">refs/tags/v1.7.6</param>
+ <param name="versionrewrite-pattern">v(.*)</param>
+ <param name="revision">refs/tags/v1.8.5</param>
<param name="filename">cilium</param>
<param name="changesgenerate">disable</param>
</service>
++++++ cilium-1.7.6.obscpio -> cilium-1.8.5.obscpio ++++++
/work/SRC/openSUSE:Factory/cilium/cilium-1.7.6.obscpio /work/SRC/openSUSE:Factory/.cilium.new.3463/cilium-1.8.5.obscpio differ: char 27, line 1
++++++ cilium.obsinfo ++++++
--- /var/tmp/diff_new_pack.fm2RQv/_old 2020-11-02 09:41:39.529682780 +0100
+++ /var/tmp/diff_new_pack.fm2RQv/_new 2020-11-02 09:41:39.529682780 +0100
@@ -1,5 +1,5 @@
name: cilium
-version: 1.7.6
-mtime: 1593726906
-commit: 4dce9cb9eaeef9f8cef71eda65bbd926d7bde7e9
+version: 1.8.5
+mtime: 1603927672
+commit: fc1a8ac7c35bbf5f1c1d93a94358e17c61662e2d
1
0
Hello community,
here is the log from the commit of package libclc for openSUSE:Factory checked in at 2020-11-02 09:41:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libclc (Old)
and /work/SRC/openSUSE:Factory/.libclc.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libclc"
Mon Nov 2 09:41:15 2020 rev:13 rq:845081 version:0.2.0+llvm11.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/libclc/libclc.changes 2019-10-10 11:48:45.568067423 +0200
+++ /work/SRC/openSUSE:Factory/.libclc.new.3463/libclc.changes 2020-11-02 09:41:31.205674793 +0100
@@ -1,0 +2,15 @@
+Fri Oct 30 15:33:35 UTC 2020 - Aaron Puchert <aaronpuchert(a)alice-dsl.net>
+
+- Update to version 0.2.0+llvm11.0.0.
+ The repository that we extracted the tarball from isn't updated
+ any longer. So we take the tarballs from LLVM releases instead.
+- The build now uses CMake instead of a custom Python script.
+- Remove dependencies on gcc, libstdc++-devel, ncurses and zlib.
+- The provided package consists of LLVM bitcode files, which are
+ not necessarily backwards-compatible across major versions.
+ (https://llvm.org/docs/DeveloperPolicy.html#ir-backwards-compatibility)
+ So we let the package provide a symbol libclc(llvmXX).
+- The library files have moved from %{_libdir} to %{_datadir}.
+- Make noarch: the bitcode files don't depend on the host CPU.
+
+-------------------------------------------------------------------
Old:
----
_service
_servicedata
libclc-0.2.0+git.20190805.tar.xz
New:
----
libclc-11.0.0.src.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libclc.spec ++++++
--- /var/tmp/diff_new_pack.6M45lX/_old 2020-11-02 09:41:31.761675326 +0100
+++ /var/tmp/diff_new_pack.6M45lX/_new 2020-11-02 09:41:31.765675330 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libclc
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,53 +16,48 @@
#
+%define _libclc_llvm_ver 11.0.0
+
Name: libclc
-Version: 0.2.0+git.20190805
+Version: 0.2.0+llvm%{_libclc_llvm_ver}
Release: 0
Summary: OpenCL C programming language library
License: (BSD-3-Clause OR MIT) AND Apache-2.0 WITH LLVM-exception
Group: Development/Libraries/C and C++
URL: https://libclc.llvm.org/
-Source0: %{name}-%{version}.tar.xz
+Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_libclc_ll…
Source1: %{name}-rpmlintrc
-BuildRequires: gcc
-BuildRequires: libstdc++-devel >= 3.9
+BuildRequires: clang-devel >= 4.0
+BuildRequires: cmake
BuildRequires: llvm >= 4.0
-BuildRequires: llvm-clang-devel >= 4.0
-BuildRequires: pkgconfig
BuildRequires: python3-base
-BuildRequires: pkgconfig(ncurses)
-BuildRequires: pkgconfig(zlib)
+Provides: libclc(llvm%{_llvm_sonum})
+BuildArch: noarch
%description
Library requirements of the OpenCL C programming language.
%prep
-%autosetup
+%setup -q -n libclc-%{_libclc_llvm_ver}.src
%build
-sed -i "s|python|python3|g" configure.py
-export \
- CFLAGS="%{optflags}" \
- CXXFLAGS="%{optflags}" \
- CC=clang \
- CXX=clang++
-python3 ./configure.py \
- --prefix=%{_prefix} \
- --with-llvm-config=%{_bindir}/llvm-config \
- --with-cxx-compiler=${CXX} \
- --enable-runtime-subnormal \
- --pkgconfigdir=%{_libdir}/pkgconfig/ \
- --libexecdir=%{_libdir}/clc/
-%make_build
+# The libraries are bitcode files, so LTO is neither supported nor does it help.
+%define _lto_cflags %{nil}
+
+sed -i "s|python|python3|g" CMakeLists.txt
+%cmake \
+ -DCMAKE_C_COMPILER=clang \
+ -DCMAKE_CXX_COMPILER=clang++ \
+ -DENABLE_RUNTIME_SUBNORMAL:BOOL=ON
+%cmake_build
%install
-%make_install
+%cmake_install
%files
%license LICENSE.TXT
%{_includedir}/clc
-%{_libdir}/clc
-%{_libdir}/pkgconfig/libclc.pc
+%{_datadir}/clc
+%{_datadir}/pkgconfig/libclc.pc
%changelog
1
0
Hello community,
here is the log from the commit of package llvm for openSUSE:Factory checked in at 2020-11-02 09:41:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm (Old)
and /work/SRC/openSUSE:Factory/.llvm.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm"
Mon Nov 2 09:41:11 2020 rev:113 rq:843890 version:11.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm/llvm.changes 2020-07-29 17:15:38.060319955 +0200
+++ /work/SRC/openSUSE:Factory/.llvm.new.3463/llvm.changes 2020-11-02 09:41:28.497672195 +0100
@@ -1,0 +2,14 @@
+Mon Oct 19 21:57:00 UTC 2020 - Aaron Puchert <aaronpuchert(a)alice-dsl.net>
+
+- Update to version 11.0.0.
+ * For details, see the release notes:
+ - https://releases.llvm.org/11.0.0/docs/ReleaseNotes.html
+ - https://releases.llvm.org/11.0.0/tools/clang/docs/ReleaseNotes.html
+ - https://releases.llvm.org/11.0.0/tools/clang/tools/extra/docs/ReleaseNotes.…
+ - https://releases.llvm.org/11.0.0/projects/libcxx/docs/ReleaseNotes.html
+ - https://releases.llvm.org/11.0.0/tools/lld/docs/ReleaseNotes.html
+- Let the metapackages obsolete older versions. (boo#1175983)
+- Introduce additional metapackages llvm-opt-viewer, llvm-polly and
+ llvm-polly-devel so that we can obsolete through them as well.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ llvm.spec ++++++
--- /var/tmp/diff_new_pack.D6AiuJ/_old 2020-11-02 09:41:29.229672897 +0100
+++ /var/tmp/diff_new_pack.D6AiuJ/_new 2020-11-02 09:41:29.233672901 +0100
@@ -16,7 +16,7 @@
#
-%define _sonum 10
+%define _sonum 11
%ifarch x86_64
%define has_lldb 1
# python3-lldb%{_sonum} is only built with these distributions (see llvm%{_sonum} package)
@@ -24,8 +24,17 @@
%define has_lldb_python 1
%endif
%endif
+
+# obsolete_llvm_versioned() prefix postfix
+# Obsolete packages <prefix>X or <prefix>X-<postfix> with X being a set of older versions.
+%define obsolete_llvm_versioned() \
+Obsoletes: %{1}10%{?2:-%{2}} \
+Obsoletes: %{1}7%{?2:-%{2}} \
+Obsoletes: %{1}8%{?2:-%{2}} \
+Obsoletes: %{1}9%{?2:-%{2}}
+
Name: llvm
-Version: 10.0.1
+Version: 11.0.0
Release: 0
Summary: Low Level Virtual Machine
License: Apache-2.0 WITH LLVM-exception OR NCSA
@@ -37,9 +46,12 @@
# Avoid multiple providers error
BuildRequires: clang%{_sonum} = %{version}
BuildRequires: clang%{_sonum}-devel = %{version}
+BuildRequires: clang%{_sonum}-doc = %{version}
+BuildRequires: lld%{_sonum} = %{version}
BuildRequires: llvm%{_sonum} = %{version}
BuildRequires: llvm%{_sonum}-LTO-devel = %{version}
BuildRequires: llvm%{_sonum}-devel = %{version}
+BuildRequires: llvm%{_sonum}-doc = %{version}
BuildRequires: llvm%{_sonum}-gold = %{version}
BuildRequires: llvm%{_sonum}-vim-plugins = %{version}
Requires: llvm%{_sonum} = %{version}
@@ -71,6 +83,7 @@
Group: Development/Libraries/C and C++
Requires: llvm%{_sonum}-devel = %{version}
Requires: llvm-gold
+%obsolete_llvm_versioned llvm devel
%description devel
This package contains library and header files needed to develop
@@ -85,6 +98,7 @@
Group: Documentation/HTML
Requires: %{name} = %{version}
Requires: llvm%{_sonum}-doc = %{version}
+%obsolete_llvm_versioned llvm doc
%description doc
This package contains documentation for the LLVM infrastructure.
@@ -118,6 +132,7 @@
Obsoletes: llvm-clang-devel < %{version}
Provides: clang-devel-static = %{version}
Obsoletes: clang-devel-static < %{version}
+%obsolete_llvm_versioned clang devel
%description -n clang-devel
This package contains the clang (C language) frontend for LLVM.
@@ -132,6 +147,7 @@
Group: Documentation/HTML
Requires: clang = %{version}
Requires: clang%{_sonum}-doc = %{version}
+%obsolete_llvm_versioned clang doc
%description -n clang-doc
This package contains documentation for the Clang compiler.
@@ -144,6 +160,7 @@
Summary: Link-time optimizer for LLVM (devel package)
Group: Development/Libraries/C and C++
Requires: llvm%{_sonum}-LTO-devel = %{version}
+%obsolete_llvm_versioned llvm LTO-devel
%description LTO-devel
This package contains the link-time optimizer for LLVM.
@@ -157,6 +174,7 @@
Summary: Gold linker plugin for LLVM
Group: Development/Tools/Building
Requires: llvm%{_sonum}-gold = %{version}
+%obsolete_llvm_versioned llvm gold
%description gold
This package contains the Gold linker plugin for LLVM.
@@ -170,6 +188,7 @@
Group: Productivity/Text/Editors
Requires: llvm%{_sonum}-vim-plugins = %{version}
Supplements: packageand(llvm:vim)
+%obsolete_llvm_versioned llvm vim-plugins
BuildArch: noarch
%description vim-plugins
@@ -179,6 +198,22 @@
llvm-vim-plugins that openSUSE currently supports. Packages that
don't require a specific LLVM version should depend on this.
+%package opt-viewer
+Summary: Tools for visualising the LLVM optimization records
+Group: Development/Languages/Other
+Requires: llvm%{_sonum}-opt-viewer = %{version}
+%obsolete_llvm_versioned llvm opt-viewer
+BuildArch: noarch
+
+%description opt-viewer
+Set of tools for visualising the LLVM optimization records generated
+with -fsave-optimization-record. Used for compiler-assisted performance
+analysis.
+
+This package is a dummy package that depends on the version of
+llvm-opt-viewer that openSUSE currently supports. Packages that
+don't require a specific LLVM version should depend on this.
+
%package -n lldb
Summary: Software debugger built using LLVM libraries
Group: Development/Tools/Debuggers
@@ -200,6 +235,7 @@
Summary: Development files for LLDB
Group: Development/Libraries/C and C++
Requires: lldb%{_sonum}-devel = %{version}
+%obsolete_llvm_versioned lldb devel
%description -n lldb-devel
This package contains the development files for LLDB.
@@ -212,6 +248,7 @@
Summary: Python bindings for liblldb
Group: Development/Libraries/Python
Requires: python3-lldb%{_sonum} = %{version}
+%obsolete_llvm_versioned python3-lldb
%description -n python3-lldb
This package contains the Python bindings to clang (C language) frontend for LLVM.
@@ -231,6 +268,39 @@
system linkers and runs much faster than them. It also provides features that
are useful for toolchain developers.
+%package polly
+Summary: LLVM Framework for High-Level Loop and Data-Locality Optimizations
+Group: Development/Languages/Other
+URL: https://polly.llvm.org/
+Requires: llvm%{_sonum}-polly = %{version}
+%obsolete_llvm_versioned llvm polly
+
+%description polly
+Polly is a high-level loop and data-locality optimizer and optimization
+infrastructure for LLVM. It uses an abstract mathematical representation based
+on integer polyhedra to analyze and optimize the memory access pattern of a
+program. Polly can currently perform classical loop transformations, especially
+tiling and loop fusion to improve data-locality. It can also exploit OpenMP
+level parallelism and expose SIMDization opportunities.
+
+This package is a dummy package that depends on the version of
+llvm-polly that openSUSE currently supports. Packages that
+don't require a specific LLVM version should depend on this.
+
+%package polly-devel
+Summary: Development files for Polly
+Group: Development/Libraries/C and C++
+Requires: llvm%{_sonum}-polly-devel = %{version}
+Requires: llvm-polly = %{version}
+%obsolete_llvm_versioned llvm polly-devel
+
+%description polly-devel
+This package contains the development files for Polly.
+
+This package is a dummy package that depends on the version of
+llvm-polly-devel that openSUSE currently supports. Packages that
+don't require a specific LLVM version should depend on this.
+
%prep
# Not needed
@@ -261,6 +331,9 @@
%files vim-plugins
%doc README
+%files opt-viewer
+%doc README
+
%if 0%{?has_lldb}
%files -n lldb
%doc README
@@ -279,4 +352,10 @@
%files -n lld
%doc README
+%files polly
+%doc README
+
+%files polly-devel
+%doc README
+
%changelog
1
0
Hello community,
here is the log from the commit of package llvm10 for openSUSE:Factory checked in at 2020-11-02 09:41:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm10 (Old)
and /work/SRC/openSUSE:Factory/.llvm10.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm10"
Mon Nov 2 09:41:04 2020 rev:7 rq:843889 version:10.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm10/llvm10.changes 2020-10-03 18:53:24.437337225 +0200
+++ /work/SRC/openSUSE:Factory/.llvm10.new.3463/llvm10.changes 2020-11-02 09:41:26.905670667 +0100
@@ -1,0 +2,8 @@
+Mon Oct 19 21:57:00 UTC 2020 - Aaron Puchert <aaronpuchert(a)alice-dsl.net>
+
+- Don't build clang-tools, libc++ and python3-clang anymore,
+ because they come from llvm11 now (boo#1168935).
+- Remove version requirement from clang-tools dependency.
+- Give riscv64 jobs a bit more disk space.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ llvm10.spec ++++++
--- /var/tmp/diff_new_pack.mji3Wl/_old 2020-11-02 09:41:28.041671757 +0100
+++ /var/tmp/diff_new_pack.mji3Wl/_new 2020-11-02 09:41:28.045671761 +0100
@@ -25,11 +25,7 @@
%define _uaver 1001
%define _socxx 1
-%ifarch x86_64 aarch64 %arm
-%bcond_without libcxx
-%else
%bcond_with libcxx
-%endif
%ifarch aarch64 ppc64 ppc64le %{ix86} x86_64
%bcond_without openmp
@@ -64,7 +60,7 @@
%bcond_with ffi
%bcond_with oprofile
%bcond_with valgrind
-%bcond_without clang_scripts
+%bcond_with clang_scripts
%bcond_without polly
%bcond_without lld
@@ -286,7 +282,10 @@
Group: Development/Libraries/C and C++
Requires: %{name}-devel = %{version}
Requires: clang%{_sonum} = %{version}
-Requires: clang-tools = %{version}
+# This is just a pro-forma requirement so that CMake doesn't complain about
+# missing binaries. We don't care if it's the same version, and we have to
+# allow different versions to keep older versions of clangX-devel installable.
+Requires: clang-tools
Conflicts: cmake(Clang)
%description -n clang%{_sonum}-devel
++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.mji3Wl/_old 2020-11-02 09:41:28.081671796 +0100
+++ /var/tmp/diff_new_pack.mji3Wl/_new 2020-11-02 09:41:28.081671796 +0100
@@ -57,7 +57,7 @@
</conditions>
<hardware>
<disk>
- <size unit="G">50</size>
+ <size unit="G">52</size>
</disk>
<memory>
<size unit="M">10000</size>
1
0
Hello community,
here is the log from the commit of package python-apache-libcloud for openSUSE:Factory checked in at 2020-11-02 09:40:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-apache-libcloud (Old)
and /work/SRC/openSUSE:Factory/.python-apache-libcloud.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-apache-libcloud"
Mon Nov 2 09:40:57 2020 rev:34 rq:845056 version:3.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-apache-libcloud/python-apache-libcloud.changes 2020-10-24 15:14:54.920061319 +0200
+++ /work/SRC/openSUSE:Factory/.python-apache-libcloud.new.3463/python-apache-libcloud.changes 2020-11-02 09:41:03.557648264 +0100
@@ -1,0 +2,20 @@
+Fri Oct 30 12:47:57 UTC 2020 - Pablo Suárez Hernández <pablo.suarezhernandez(a)suse.com>
+
+- Skip conflictive 'ParamikoSSHClientTests.test_key_file_non_pem_format_error' test
+ since our SLE python-paramiko package already has OpenSSH support on version < 2.7.0
+
+-------------------------------------------------------------------
+Fri Oct 30 09:26:42 UTC 2020 - Pablo Suárez Hernández <pablo.suarezhernandez(a)suse.com>
+
+- Add pyOpenSSL as build dependency to allow tests to pass on SLE15 family
+
+-------------------------------------------------------------------
+Wed Oct 28 13:45:19 UTC 2020 - Pablo Suárez Hernández <pablo.suarezhernandez(a)suse.com>
+
+- Do not build Python2 subpackage since 3.2.0 does not support Python2
+- Adjust skipped SSH unit tests when paramiko <= 2.7.0
+
+- Add:
+ * skip-some-tests-for-older-paramiko-versions.patch
+
+-------------------------------------------------------------------
New:
----
skip-some-tests-for-older-paramiko-versions.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-apache-libcloud.spec ++++++
--- /var/tmp/diff_new_pack.iGmTlx/_old 2020-11-02 09:41:04.605649270 +0100
+++ /var/tmp/diff_new_pack.iGmTlx/_new 2020-11-02 09:41:04.609649274 +0100
@@ -16,6 +16,9 @@
#
+# No longer build for python2
+%define skip_python2 1
+
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-apache-libcloud
@@ -23,15 +26,19 @@
Release: 0
Summary: Abstraction over multiple cloud provider APIs
License: Apache-2.0
+Group: Development/Languages/Python
URL: https://libcloud.apache.org
Source0: https://files.pythonhosted.org/packages/source/a/apache-libcloud/apache-lib…
Patch1: gce_image_projects.patch
Patch2: ec2_create_node.patch
+Patch3: skip-some-tests-for-older-paramiko-versions.patch
+
BuildRequires: %{python_module libvirt-python}
BuildRequires: %{python_module lockfile}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module paramiko}
+BuildRequires: %{python_module pyOpenSSL}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests-mock}
@@ -51,8 +58,6 @@
%if %{with python2}
BuildRequires: python-backports.ssl_match_hostname
BuildRequires: python2
-%endif
-%ifpython2
Requires: python-backports.ssl_match_hostname
%endif
%python_subpackages
@@ -65,6 +70,7 @@
%setup -q -n apache-libcloud-%{version}
%patch1 -p1
%patch2 -p1
+%patch3 -p1
sed -i '/^#!/d' demos/gce_demo.py
chmod a-x demos/gce_demo.py
# Setup tests
@@ -83,8 +89,9 @@
%check
# Skip ShellOutSSHClientTests tests which attempt to ssh to localhost
-# Note these two extra py3 failures are undesirable and should be fixed
-%pytest -k '(not test_consume_stderr_chunk_contains_part_of_multi_byte_utf8_character and not test_consume_stdout_chunk_contains_part_of_multi_byte_utf8_character and not ShellOutSSHClientTests and not ElasticContainerDriverTestCase)'
+# Skip test_key_file_non_pem_format_error since OpenSSH support is backported for SLE python-paramiko < 2.7.0
+# Note these four extra py3 failures are undesirable and should be fixed: fail in s390 and ppc64
+%pytest -k '(not test_consume_stderr_chunk_contains_part_of_multi_byte_utf8_character and not test_consume_stdout_chunk_contains_part_of_multi_byte_utf8_character and not test_consume_stdout_chunk_contains_non_utf8_character and not test_consume_stderr_chunk_contains_non_utf8_character and not test_key_file_non_pem_format_error and not ShellOutSSHClientTests and not ElasticContainerDriverTestCase)'
%files %{python_files}
%license LICENSE
++++++ skip-some-tests-for-older-paramiko-versions.patch ++++++
Index: apache-libcloud-3.2.0/libcloud/test/compute/test_ssh_client.py
===================================================================
--- apache-libcloud-3.2.0.orig/libcloud/test/compute/test_ssh_client.py
+++ apache-libcloud-3.2.0/libcloud/test/compute/test_ssh_client.py
@@ -168,6 +168,8 @@ class ParamikoSSHClientTests(LibcloudTes
expected_msg, mock.connect)
@patch('paramiko.SSHClient', Mock)
+ @unittest.skipIf(paramiko_version < '2.7.0',
+ 'Old versions of paramiko do not support OPENSSH key format')
def test_password_protected_key_no_password_provided_1(self):
path = os.path.join(os.path.dirname(__file__),
'fixtures', 'misc',
@@ -198,6 +200,8 @@ class ParamikoSSHClientTests(LibcloudTes
expected_msg, mock.connect)
@patch('paramiko.SSHClient', Mock)
+ @unittest.skipIf(paramiko_version < '2.7.0',
+ 'Old versions of paramiko do not support OPENSSH key format')
def test_password_protected_key_no_password_provided_2(self):
path = os.path.join(os.path.dirname(__file__),
'fixtures', 'misc',
@@ -219,6 +223,8 @@ class ParamikoSSHClientTests(LibcloudTes
expected_msg, mock.connect)
@patch('paramiko.SSHClient', Mock)
+ @unittest.skipIf(paramiko_version < '2.7.0',
+ 'Old versions of paramiko do not support OPENSSH key format')
def test_password_protected_key_valid_password_provided(self):
path = os.path.join(os.path.dirname(__file__),
'fixtures', 'misc',
1
0
Hello community,
here is the log from the commit of package libstorage-ng for openSUSE:Factory checked in at 2020-11-02 09:40:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
and /work/SRC/openSUSE:Factory/.libstorage-ng.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libstorage-ng"
Mon Nov 2 09:40:54 2020 rev:97 rq:845052 version:4.3.54
Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes 2020-10-29 09:21:22.930634595 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.3463/libstorage-ng.changes 2020-11-02 09:41:00.401645236 +0100
@@ -1,0 +2,16 @@
+Fri Oct 30 14:25:39 UTC 2020 - aschnell(a)suse.com
+
+- merge gh#openSUSE/libstorage-ng#776
+- probe btrfs quota and qgroups
+- allow actions for holders next to devices
+- added actions to set quota and qgroup limits
+- added actions to assign and unassign qgroups
+- 4.3.54
+
+--------------------------------------------------------------------
+Thu Oct 29 06:30:59 UTC 2020 - opensuse-packaging(a)opensuse.org
+
+- Translated using Weblate (Italian) (bsc#1149754)
+- 4.3.53
+
+--------------------------------------------------------------------
Old:
----
libstorage-ng-4.3.52.tar.xz
New:
----
libstorage-ng-4.3.54.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.GVyS0B/_old 2020-11-02 09:41:01.017645827 +0100
+++ /var/tmp/diff_new_pack.GVyS0B/_new 2020-11-02 09:41:01.021645831 +0100
@@ -18,7 +18,7 @@
%define libname %{name}1
Name: libstorage-ng
-Version: 4.3.52
+Version: 4.3.54
Release: 0
Summary: Library for storage management
License: GPL-2.0-only
++++++ libstorage-ng-4.3.52.tar.xz -> libstorage-ng-4.3.54.tar.xz ++++++
++++ 5394 lines of diff (skipped)
1
0