openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
March 2020
- 1 participants
- 5800 discussions
Hello community,
here is the log from the commit of package libgit2 for openSUSE:Leap:15.2 checked in at 2020-03-01 08:51:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/libgit2 (Old)
and /work/SRC/openSUSE:Leap:15.2/.libgit2.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgit2"
Sun Mar 1 08:51:11 2020 rev:25 rq:779603 version:0.28.4
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/libgit2/libgit2.changes 2020-01-30 14:47:40.814815658 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.libgit2.new.26092/libgit2.changes 2020-03-01 08:51:29.277286865 +0100
@@ -1,0 +2,62 @@
+Wed Dec 11 15:58:48 UTC 2019 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- libgit2 0.28.4:
+ * CVE-2019-1348: the fast-import stream command "feature
+ export-marks=path" allows writing to arbitrary file paths. As
+ libgit2 does not offer any interface for fast-import, it is not
+ susceptible to this vulnerability. (boo#1158785)
+ * CVE-2019-1349: by using NTFS 8.3 short names, backslashes or
+ alternate filesystreams, it is possible to cause submodules to
+ be written into pre-existing directories during a recursive
+ clone using git. As libgit2 rejects cloning into non-empty
+ directories by default, it is not susceptible to this
+ vulnerability. (boo#1158787)
+ * CVE-2019-1350: recursive clones may lead to arbitrary remote
+ code executing due to improper quoting of command line
+ arguments. As libgit2 uses libssh2, which does not require us
+ to perform command line parsing, it is not susceptible to this
+ vulnerability. (boo#1158788)
+ * CVE-2019-1351: Windows provides the ability to substitute
+ drive letters with arbitrary letters, including multi-byte
+ Unicode letters. To fix any potential issues arising from
+ interpreting such paths as relative paths, we have extended
+ detection of DOS drive prefixes to accomodate for such cases.
+ (boo#1158790)
+ * CVE-2019-1352: by using NTFS-style alternative file streams for
+ the ".git" directory, it is possible to overwrite parts of the
+ repository. While this has been fixed in the past for Windows,
+ the same vulnerability may also exist on other systems that
+ write to NTFS filesystems. We now reject any paths starting
+ with ".git:" on all systems. (boo#1158790)
+ * CVE-2019-1353: by using NTFS-style 8.3 short names, it was
+ possible to write to the ".git" directory and thus overwrite
+ parts of the repository, leading to possible remote code
+ execution. While this problem was already fixed in the past for
+ Windows, other systems accessing NTFS filesystems are
+ vulnerable to this issue too. We now enable NTFS protecions by
+ default on all systems to fix this attack vector. (boo#1158791)
+ * CVE-2019-1354: on Windows, backslashes are not a valid part of
+ a filename but are instead interpreted as directory separators.
+ As other platforms allowed to use such paths, it was possible
+ to write such invalid entries into a Git repository and was
+ thus an attack vector to write into the ".git" dierctory. We
+ now reject any entries starting with ".git" on all systems.
+ (boo#1158792)
+ * CVE-2019-1387: it is possible to let a submodule's git
+ directory point into a sibling's submodule directory, which may
+ result in overwriting parts of the Git repository and thus lead
+ to arbitrary command execution. As libgit2 doesn't provide any
+ way to do submodule clones natively, it is not susceptible to
+ this vulnerability. Users of libgit2 that have implemented
+ recursive submodule clones manually are encouraged to review
+ their implementation for this vulnerability. (boo#1158793)
+
+-------------------------------------------------------------------
+Wed Dec 11 13:30:43 UTC 2019 - Andreas Stieger <andreas.stieger(a)gmx.de>
+
+- libgit2 0.28.3:
+ * A carefully constructed commit object with a very large number
+ of parents may have lead to out-of-bounds writes or potential
+ denial of service (boo#1158981)
+
+-------------------------------------------------------------------
Old:
----
libgit2-0.28.2.tar.gz
New:
----
libgit2-0.28.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libgit2.spec ++++++
--- /var/tmp/diff_new_pack.PlWq7V/_old 2020-03-01 08:51:30.157288615 +0100
+++ /var/tmp/diff_new_pack.PlWq7V/_new 2020-03-01 08:51:30.161288623 +0100
@@ -19,7 +19,7 @@
%define sover 28
Name: libgit2
-Version: 0.28.2
+Version: 0.28.4
Release: 0
Summary: C git library
License: GPL-2.0 WITH GCC-exception-2.0
++++++ libgit2-0.28.2.tar.gz -> libgit2-0.28.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/docs/changelog.md new/libgit2-0.28.4/docs/changelog.md
--- old/libgit2-0.28.2/docs/changelog.md 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/docs/changelog.md 2019-12-10 20:39:58.000000000 +0100
@@ -1,3 +1,78 @@
+v0.28.4
+--------
+
+This is a security release fixing the following issues:
+
+- CVE-2019-1348: the fast-import stream command "feature
+ export-marks=path" allows writing to arbitrary file paths. As
+ libgit2 does not offer any interface for fast-import, it is not
+ susceptible to this vulnerability.
+
+- CVE-2019-1349: by using NTFS 8.3 short names, backslashes or
+ alternate filesystreams, it is possible to cause submodules to
+ be written into pre-existing directories during a recursive
+ clone using git. As libgit2 rejects cloning into non-empty
+ directories by default, it is not susceptible to this
+ vulnerability.
+
+- CVE-2019-1350: recursive clones may lead to arbitrary remote
+ code executing due to improper quoting of command line
+ arguments. As libgit2 uses libssh2, which does not require us
+ to perform command line parsing, it is not susceptible to this
+ vulnerability.
+
+- CVE-2019-1351: Windows provides the ability to substitute
+ drive letters with arbitrary letters, including multi-byte
+ Unicode letters. To fix any potential issues arising from
+ interpreting such paths as relative paths, we have extended
+ detection of DOS drive prefixes to accomodate for such cases.
+
+- CVE-2019-1352: by using NTFS-style alternative file streams for
+ the ".git" directory, it is possible to overwrite parts of the
+ repository. While this has been fixed in the past for Windows,
+ the same vulnerability may also exist on other systems that
+ write to NTFS filesystems. We now reject any paths starting
+ with ".git:" on all systems.
+
+- CVE-2019-1353: by using NTFS-style 8.3 short names, it was
+ possible to write to the ".git" directory and thus overwrite
+ parts of the repository, leading to possible remote code
+ execution. While this problem was already fixed in the past for
+ Windows, other systems accessing NTFS filesystems are
+ vulnerable to this issue too. We now enable NTFS protecions by
+ default on all systems to fix this attack vector.
+
+- CVE-2019-1354: on Windows, backslashes are not a valid part of
+ a filename but are instead interpreted as directory separators.
+ As other platforms allowed to use such paths, it was possible
+ to write such invalid entries into a Git repository and was
+ thus an attack vector to write into the ".git" dierctory. We
+ now reject any entries starting with ".git\" on all systems.
+
+- CVE-2019-1387: it is possible to let a submodule's git
+ directory point into a sibling's submodule directory, which may
+ result in overwriting parts of the Git repository and thus lead
+ to arbitrary command execution. As libgit2 doesn't provide any
+ way to do submodule clones natively, it is not susceptible to
+ this vulnerability. Users of libgit2 that have implemented
+ recursive submodule clones manually are encouraged to review
+ their implementation for this vulnerability.
+
+v0.28.3
+-------
+
+This is a security release fixing the following issues:
+
+* A carefully constructed commit object with a very large number
+ of parents may lead to potential out-of-bounds writes or
+ potential denial of service.
+
+* The ProgramData configuration file is always read for compatibility
+ with Git for Windows and Portable Git installations. The ProgramData
+ location is not necessarily writable only by administrators, so we
+ now ensure that the configuration file is owned by the administrator
+ or the current user.
+
v0.28.2
-------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/include/git2/version.h new/libgit2-0.28.4/include/git2/version.h
--- old/libgit2-0.28.2/include/git2/version.h 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/include/git2/version.h 2019-12-10 20:39:58.000000000 +0100
@@ -7,10 +7,10 @@
#ifndef INCLUDE_git_version_h__
#define INCLUDE_git_version_h__
-#define LIBGIT2_VERSION "0.28.2"
+#define LIBGIT2_VERSION "0.28.4"
#define LIBGIT2_VER_MAJOR 0
#define LIBGIT2_VER_MINOR 28
-#define LIBGIT2_VER_REVISION 2
+#define LIBGIT2_VER_REVISION 4
#define LIBGIT2_VER_PATCH 0
#define LIBGIT2_SOVERSION 28
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/src/commit_list.c new/libgit2-0.28.4/src/commit_list.c
--- old/libgit2-0.28.2/src/commit_list.c 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/src/commit_list.c 2019-12-10 20:39:58.000000000 +0100
@@ -69,11 +69,15 @@
static git_commit_list_node **alloc_parents(
git_revwalk *walk, git_commit_list_node *commit, size_t n_parents)
{
+ size_t bytes;
+
if (n_parents <= PARENTS_PER_COMMIT)
return (git_commit_list_node **)((char *)commit + sizeof(git_commit_list_node));
- return (git_commit_list_node **)git_pool_malloc(
- &walk->commit_pool, (uint32_t)(n_parents * sizeof(git_commit_list_node *)));
+ if (git__multiply_sizet_overflow(&bytes, n_parents, sizeof(git_commit_list_node *)))
+ return NULL;
+
+ return (git_commit_list_node **)git_pool_malloc(&walk->commit_pool, bytes);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/src/config.c new/libgit2-0.28.4/src/config.c
--- old/libgit2-0.28.2/src/config.c 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/src/config.c 2019-12-10 20:39:58.000000000 +0100
@@ -1111,8 +1111,15 @@
int git_config_find_programdata(git_buf *path)
{
+ int ret;
+
git_buf_sanitize(path);
- return git_sysdir_find_programdata_file(path, GIT_CONFIG_FILENAME_PROGRAMDATA);
+ ret = git_sysdir_find_programdata_file(path,
+ GIT_CONFIG_FILENAME_PROGRAMDATA);
+ if (ret != GIT_OK)
+ return ret;
+
+ return git_path_validate_system_file_ownership(path->ptr);
}
int git_config__global_location(git_buf *buf)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/src/path.c new/libgit2-0.28.4/src/path.c
--- old/libgit2-0.28.2/src/path.c 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/src/path.c 2019-12-10 20:39:58.000000000 +0100
@@ -14,13 +14,36 @@
#include "win32/w32_buffer.h"
#include "win32/w32_util.h"
#include "win32/version.h"
+#include <AclAPI.h>
#else
#include <dirent.h>
#endif
#include <stdio.h>
#include <ctype.h>
-#define LOOKS_LIKE_DRIVE_PREFIX(S) (git__isalpha((S)[0]) && (S)[1] == ':')
+static int dos_drive_prefix_length(const char *path)
+{
+ int i;
+
+ /*
+ * Does it start with an ASCII letter (i.e. highest bit not set),
+ * followed by a colon?
+ */
+ if (!(0x80 & (unsigned char)*path))
+ return *path && path[1] == ':' ? 2 : 0;
+
+ /*
+ * While drive letters must be letters of the English alphabet, it is
+ * possible to assign virtually _any_ Unicode character via `subst` as
+ * a drive letter to "virtual drives". Even `1`, or `ä`. Or fun stuff
+ * like this:
+ *
+ * subst ֍: %USERPROFILE%\Desktop
+ */
+ for (i = 1; i < 4 && (0x80 & (unsigned char)path[i]); i++)
+ ; /* skip first UTF-8 character */
+ return path[i] == ':' ? i + 1 : 0;
+}
#ifdef GIT_WIN32
static bool looks_like_network_computer_name(const char *path, int pos)
@@ -122,11 +145,11 @@
GIT_UNUSED(len);
#else
/*
- * Mimic unix behavior where '/.git' returns '/': 'C:/.git' will return
- * 'C:/' here
+ * Mimic unix behavior where '/.git' returns '/': 'C:/.git'
+ * will return 'C:/' here
*/
- if (len == 2 && LOOKS_LIKE_DRIVE_PREFIX(path))
- return 2;
+ if (dos_drive_prefix_length(path) == len)
+ return len;
/*
* Similarly checks if we're dealing with a network computer name
@@ -259,11 +282,11 @@
int git_path_root(const char *path)
{
- int offset = 0;
+ int offset = 0, prefix_len;
/* Does the root of the path look like a windows drive ? */
- if (LOOKS_LIKE_DRIVE_PREFIX(path))
- offset += 2;
+ if ((prefix_len = dos_drive_prefix_length(path)))
+ offset += prefix_len;
#ifdef GIT_WIN32
/* Are we dealing with a windows network path? */
@@ -1608,8 +1631,12 @@
if (!start)
return true;
- /* Reject paths like ".git\" */
- if (path[start] == '\\')
+ /*
+ * Reject paths that start with Windows-style directory separators
+ * (".git\") or NTFS alternate streams (".git:") and could be used
+ * to write to the ".git" directory on Windows platforms.
+ */
+ if (path[start] == '\\' || path[start] == ':')
return false;
/* Reject paths like '.git ' or '.git.' */
@@ -1621,12 +1648,21 @@
return false;
}
-GIT_INLINE(bool) only_spaces_and_dots(const char *path)
+/*
+ * Windows paths that end with spaces and/or dots are elided to the
+ * path without them for backward compatibility. That is to say
+ * that opening file "foo ", "foo." or even "foo . . ." will all
+ * map to a filename of "foo". This function identifies spaces and
+ * dots at the end of a filename, whether the proper end of the
+ * filename (end of string) or a colon (which would indicate a
+ * Windows alternate data stream.)
+ */
+GIT_INLINE(bool) ntfs_end_of_filename(const char *path)
{
const char *c = path;
for (;; c++) {
- if (*c == '\0')
+ if (*c == '\0' || *c == ':')
return true;
if (*c != ' ' && *c != '.')
return false;
@@ -1641,13 +1677,13 @@
if (name[0] == '.' && len >= dotgit_len &&
!strncasecmp(name + 1, dotgit_name, dotgit_len)) {
- return !only_spaces_and_dots(name + dotgit_len + 1);
+ return !ntfs_end_of_filename(name + dotgit_len + 1);
}
/* Detect the basic NTFS shortname with the first six chars */
if (!strncasecmp(name, dotgit_name, 6) && name[6] == '~' &&
name[7] >= '1' && name[7] <= '4')
- return !only_spaces_and_dots(name + 8);
+ return !ntfs_end_of_filename(name + 8);
/* Catch fallback names */
for (i = 0, saw_tilde = 0; i < 8; i++) {
@@ -1669,7 +1705,7 @@
}
}
- return !only_spaces_and_dots(name + i);
+ return !ntfs_end_of_filename(name + i);
}
GIT_INLINE(bool) verify_char(unsigned char c, unsigned int flags)
@@ -1803,7 +1839,7 @@
git_repository *repo,
unsigned int flags)
{
- int protectHFS = 0, protectNTFS = 0;
+ int protectHFS = 0, protectNTFS = 1;
int error = 0;
flags |= GIT_PATH_REJECT_DOT_GIT_LITERAL;
@@ -1812,16 +1848,12 @@
protectHFS = 1;
#endif
-#ifdef GIT_WIN32
- protectNTFS = 1;
-#endif
-
if (repo && !protectHFS)
error = git_repository__cvar(&protectHFS, repo, GIT_CVAR_PROTECTHFS);
if (!error && protectHFS)
flags |= GIT_PATH_REJECT_DOT_GIT_HFS;
- if (repo && !protectNTFS)
+ if (repo)
error = git_repository__cvar(&protectNTFS, repo, GIT_CVAR_PROTECTNTFS);
if (!error && protectNTFS)
flags |= GIT_PATH_REJECT_DOT_GIT_NTFS;
@@ -1909,3 +1941,79 @@
return -1;
}
}
+
+int git_path_validate_system_file_ownership(const char *path)
+{
+#ifndef GIT_WIN32
+ GIT_UNUSED(path);
+ return GIT_OK;
+#else
+ git_win32_path buf;
+ PSID owner_sid;
+ PSECURITY_DESCRIPTOR descriptor = NULL;
+ HANDLE token;
+ TOKEN_USER *info = NULL;
+ DWORD err, len;
+ int ret;
+
+ if (git_win32_path_from_utf8(buf, path) < 0)
+ return -1;
+
+ err = GetNamedSecurityInfoW(buf, SE_FILE_OBJECT,
+ OWNER_SECURITY_INFORMATION |
+ DACL_SECURITY_INFORMATION,
+ &owner_sid, NULL, NULL, NULL, &descriptor);
+
+ if (err == ERROR_FILE_NOT_FOUND || err == ERROR_PATH_NOT_FOUND) {
+ ret = GIT_ENOTFOUND;
+ goto cleanup;
+ }
+
+ if (err != ERROR_SUCCESS) {
+ git_error_set(GIT_ERROR_OS, "failed to get security information");
+ ret = GIT_ERROR;
+ goto cleanup;
+ }
+
+ if (!IsValidSid(owner_sid)) {
+ git_error_set(GIT_ERROR_INVALID, "programdata configuration file owner is unknown");
+ ret = GIT_ERROR;
+ goto cleanup;
+ }
+
+ if (IsWellKnownSid(owner_sid, WinBuiltinAdministratorsSid) ||
+ IsWellKnownSid(owner_sid, WinLocalSystemSid)) {
+ ret = GIT_OK;
+ goto cleanup;
+ }
+
+ /* Obtain current user's SID */
+ if (OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &token) &&
+ !GetTokenInformation(token, TokenUser, NULL, 0, &len)) {
+ info = git__malloc(len);
+ GIT_ERROR_CHECK_ALLOC(info);
+ if (!GetTokenInformation(token, TokenUser, info, len, &len)) {
+ git__free(info);
+ info = NULL;
+ }
+ }
+
+ /*
+ * If the file is owned by the same account that is running the current
+ * process, it's okay to read from that file.
+ */
+ if (info && EqualSid(owner_sid, info->User.Sid))
+ ret = GIT_OK;
+ else {
+ git_error_set(GIT_ERROR_INVALID, "programdata configuration file owner is not valid");
+ ret = GIT_ERROR;
+ }
+ free(info);
+
+cleanup:
+ if (descriptor)
+ LocalFree(descriptor);
+
+ return ret;
+#endif
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/src/path.h new/libgit2-0.28.4/src/path.h
--- old/libgit2-0.28.2/src/path.h 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/src/path.h 2019-12-10 20:39:58.000000000 +0100
@@ -647,4 +647,16 @@
*/
int git_path_normalize_slashes(git_buf *out, const char *path);
+/**
+ * Validate a system file's ownership
+ *
+ * Verify that the file in question is owned by an administrator or system
+ * account, or at least by the current user.
+ *
+ * This function returns 0 if successful. If the file is not owned by any of
+ * these, or any other if there have been problems determining the file
+ * ownership, it returns -1.
+ */
+int git_path_validate_system_file_ownership(const char *path);
+
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/src/repository.h new/libgit2-0.28.4/src/repository.h
--- old/libgit2-0.28.2/src/repository.h 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/src/repository.h 2019-12-10 20:39:58.000000000 +0100
@@ -113,7 +113,7 @@
/* core.protectHFS */
GIT_PROTECTHFS_DEFAULT = GIT_CVAR_FALSE,
/* core.protectNTFS */
- GIT_PROTECTNTFS_DEFAULT = GIT_CVAR_FALSE,
+ GIT_PROTECTNTFS_DEFAULT = GIT_CVAR_TRUE,
/* core.fsyncObjectFiles */
GIT_FSYNCOBJECTFILES_DEFAULT = GIT_CVAR_FALSE,
} git_cvar_value;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/tests/checkout/nasty.c new/libgit2-0.28.4/tests/checkout/nasty.c
--- old/libgit2-0.28.2/tests/checkout/nasty.c 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/tests/checkout/nasty.c 2019-12-10 20:39:58.000000000 +0100
@@ -206,9 +206,8 @@
*/
void test_checkout_nasty__git_tilde1(void)
{
-#ifdef GIT_WIN32
test_checkout_fails("refs/heads/git_tilde1", ".git/foobar");
-#endif
+ test_checkout_fails("refs/heads/git_tilde1", "git~1/foobar");
}
/* A tree that contains an entry "git~2", when we have forced the short
@@ -274,6 +273,16 @@
#endif
}
+/* A tree that contains an entry ".git::$INDEX_ALLOCATION" because NTFS
+ * will interpret that as a synonym to ".git", even when mounted via SMB
+ * on macOS.
+ */
+void test_checkout_nasty__dotgit_alternate_data_stream(void)
+{
+ test_checkout_fails("refs/heads/dotgit_alternate_data_stream", ".git/dummy-file");
+ test_checkout_fails("refs/heads/dotgit_alternate_data_stream", ".git::$INDEX_ALLOCATION/dummy-file");
+}
+
/* Trees that contains entries with a tree ".git" that contain
* byte sequences:
* { 0xe2, 0x80, 0x8c }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/tests/clar_libgit2.h new/libgit2-0.28.4/tests/clar_libgit2.h
--- old/libgit2-0.28.2/tests/clar_libgit2.h 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/tests/clar_libgit2.h 2019-12-10 20:39:58.000000000 +0100
@@ -29,8 +29,8 @@
* calls that are supposed to fail!
*/
#define cl_git_fail(expr) do { \
- git_error_clear(); \
if ((expr) == 0) \
+ git_error_clear(), \
cl_git_report_failure(0, 0, __FILE__, __LINE__, "Function call succeeded: " #expr); \
} while (0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/tests/index/tests.c new/libgit2-0.28.4/tests/index/tests.c
--- old/libgit2-0.28.2/tests/index/tests.c 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/tests/index/tests.c 2019-12-10 20:39:58.000000000 +0100
@@ -541,7 +541,7 @@
git_repository_free(bare_repo);
}
-static void add_invalid_filename(git_repository *repo, const char *fn)
+static void assert_add_bypath_fails(git_repository *repo, const char *fn)
{
git_index *index;
git_buf path = GIT_BUF_INIT;
@@ -562,7 +562,7 @@
}
/* Test that writing an invalid filename fails */
-void test_index_tests__add_invalid_filename(void)
+void test_index_tests__cannot_add_invalid_filename(void)
{
git_repository *repo;
@@ -577,13 +577,69 @@
if (!git_path_exists("./invalid/.GiT"))
cl_must_pass(p_mkdir("./invalid/.GiT", 0777));
- add_invalid_filename(repo, ".git/hello");
- add_invalid_filename(repo, ".GIT/hello");
- add_invalid_filename(repo, ".GiT/hello");
- add_invalid_filename(repo, "./.git/hello");
- add_invalid_filename(repo, "./foo");
- add_invalid_filename(repo, "./bar");
- add_invalid_filename(repo, "subdir/../bar");
+ assert_add_bypath_fails(repo, ".git/hello");
+ assert_add_bypath_fails(repo, ".GIT/hello");
+ assert_add_bypath_fails(repo, ".GiT/hello");
+ assert_add_bypath_fails(repo, "./.git/hello");
+ assert_add_bypath_fails(repo, "./foo");
+ assert_add_bypath_fails(repo, "./bar");
+ assert_add_bypath_fails(repo, "subdir/../bar");
+
+ git_repository_free(repo);
+
+ cl_fixture_cleanup("invalid");
+}
+
+static void assert_add_fails(git_repository *repo, const char *fn)
+{
+ git_index *index;
+ git_buf path = GIT_BUF_INIT;
+ git_index_entry entry = {{0}};
+
+ cl_git_pass(git_repository_index(&index, repo));
+ cl_assert(git_index_entrycount(index) == 0);
+
+ entry.path = fn;
+ entry.mode = GIT_FILEMODE_BLOB;
+ cl_git_pass(git_oid_fromstr(&entry.id, "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"));
+
+ cl_git_fail(git_index_add(index, &entry));
+
+ cl_assert(git_index_entrycount(index) == 0);
+
+ git_buf_dispose(&path);
+ git_index_free(index);
+}
+
+/*
+ * Test that writing an invalid filename fails on filesystem
+ * specific protected names
+ */
+void test_index_tests__cannot_add_protected_invalid_filename(void)
+{
+ git_repository *repo;
+ git_index *index;
+
+ cl_must_pass(p_mkdir("invalid", 0700));
+
+ cl_git_pass(git_repository_init(&repo, "./invalid", 0));
+
+ /* add a file to the repository so we can reference it later */
+ cl_git_pass(git_repository_index(&index, repo));
+ cl_git_mkfile("invalid/dummy.txt", "");
+ cl_git_pass(git_index_add_bypath(index, "dummy.txt"));
+ cl_must_pass(p_unlink("invalid/dummy.txt"));
+ cl_git_pass(git_index_remove_bypath(index, "dummy.txt"));
+ git_index_free(index);
+
+ cl_repo_set_bool(repo, "core.protectHFS", true);
+ cl_repo_set_bool(repo, "core.protectNTFS", true);
+
+ assert_add_fails(repo, ".git./hello");
+ assert_add_fails(repo, ".git\xe2\x80\xad/hello");
+ assert_add_fails(repo, "git~1/hello");
+ assert_add_fails(repo, ".git\xe2\x81\xaf/hello");
+ assert_add_fails(repo, ".git::$INDEX_ALLOCATION/dummy-file");
git_repository_free(repo);
@@ -599,7 +655,7 @@
*c = out;
}
-static void write_invalid_filename(git_repository *repo, const char *fn_orig)
+static void assert_write_fails(git_repository *repo, const char *fn_orig)
{
git_index *index;
git_oid expected;
@@ -616,6 +672,7 @@
*/
fn = git__strdup(fn_orig);
replace_char(fn, '/', '_');
+ replace_char(fn, ':', '!');
git_buf_joinpath(&path, "./invalid", fn);
@@ -627,6 +684,7 @@
/* kids, don't try this at home */
replace_char((char *)entry->path, '_', '/');
+ replace_char((char *)entry->path, '!', ':');
/* write-tree */
cl_git_fail(git_index_write_tree(&expected, index));
@@ -672,13 +730,13 @@
cl_git_pass(git_repository_init(&repo, "./invalid", 0));
- write_invalid_filename(repo, ".git/hello");
- write_invalid_filename(repo, ".GIT/hello");
- write_invalid_filename(repo, ".GiT/hello");
- write_invalid_filename(repo, "./.git/hello");
- write_invalid_filename(repo, "./foo");
- write_invalid_filename(repo, "./bar");
- write_invalid_filename(repo, "foo/../bar");
+ assert_write_fails(repo, ".git/hello");
+ assert_write_fails(repo, ".GIT/hello");
+ assert_write_fails(repo, ".GiT/hello");
+ assert_write_fails(repo, "./.git/hello");
+ assert_write_fails(repo, "./foo");
+ assert_write_fails(repo, "./bar");
+ assert_write_fails(repo, "foo/../bar");
git_repository_free(repo);
@@ -696,16 +754,52 @@
cl_repo_set_bool(repo, "core.protectHFS", true);
cl_repo_set_bool(repo, "core.protectNTFS", true);
- write_invalid_filename(repo, ".git./hello");
- write_invalid_filename(repo, ".git\xe2\x80\xad/hello");
- write_invalid_filename(repo, "git~1/hello");
- write_invalid_filename(repo, ".git\xe2\x81\xaf/hello");
+ assert_write_fails(repo, ".git./hello");
+ assert_write_fails(repo, ".git\xe2\x80\xad/hello");
+ assert_write_fails(repo, "git~1/hello");
+ assert_write_fails(repo, ".git\xe2\x81\xaf/hello");
+ assert_write_fails(repo, ".git::$INDEX_ALLOCATION/dummy-file");
+
+ git_repository_free(repo);
+
+ cl_fixture_cleanup("invalid");
+}
+
+void test_index_tests__protectntfs_on_by_default(void)
+{
+ git_repository *repo;
+
+ p_mkdir("invalid", 0700);
+
+ cl_git_pass(git_repository_init(&repo, "./invalid", 0));
+ assert_write_fails(repo, ".git./hello");
+ assert_write_fails(repo, "git~1/hello");
git_repository_free(repo);
cl_fixture_cleanup("invalid");
}
+void test_index_tests__can_disable_protectntfs(void)
+{
+ git_repository *repo;
+ git_index *index;
+
+ cl_must_pass(p_mkdir("valid", 0700));
+ cl_git_rewritefile("valid/git~1", "steal the shortname");
+
+ cl_git_pass(git_repository_init(&repo, "./valid", 0));
+ cl_git_pass(git_repository_index(&index, repo));
+ cl_repo_set_bool(repo, "core.protectNTFS", false);
+
+ cl_git_pass(git_index_add_bypath(index, "git~1"));
+
+ git_index_free(index);
+ git_repository_free(repo);
+
+ cl_fixture_cleanup("valid");
+}
+
void test_index_tests__remove_entry(void)
{
git_repository *repo;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/tests/object/tree/write.c new/libgit2-0.28.4/tests/object/tree/write.c
--- old/libgit2-0.28.2/tests/object/tree/write.c 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/tests/object/tree/write.c 2019-12-10 20:39:58.000000000 +0100
@@ -141,7 +141,7 @@
cl_git_pass(git_treebuilder_new(&builder, g_repo, NULL));
for (i = 0; i < ARRAY_SIZE(entries); ++i) {
- git_oid *id = entries[i].attr == GIT_FILEMODE_TREE ? &tid : &bid;
+ git_oid *id = entries[i].attr == GIT_FILEMODE_TREE ? &tid : &bid;
cl_git_pass(git_treebuilder_insert(NULL,
builder, entries[i].filename, id, entries[i].attr));
@@ -418,10 +418,8 @@
*/
cl_git_pass(git_treebuilder_new(&builder, g_repo, NULL));
-#ifndef GIT_WIN32
- cl_git_pass(git_treebuilder_insert(NULL, builder, ".git.", &bid, GIT_FILEMODE_BLOB));
- cl_git_pass(git_treebuilder_insert(NULL, builder, "git~1", &bid, GIT_FILEMODE_BLOB));
-#endif
+ cl_git_fail(git_treebuilder_insert(NULL, builder, ".git.", &bid, GIT_FILEMODE_BLOB));
+ cl_git_fail(git_treebuilder_insert(NULL, builder, "git~1", &bid, GIT_FILEMODE_BLOB));
#ifndef __APPLE__
cl_git_pass(git_treebuilder_insert(NULL, builder, ".git\xef\xbb\xbf", &bid, GIT_FILEMODE_BLOB));
@@ -444,6 +442,7 @@
cl_git_fail(git_treebuilder_insert(NULL, builder, ".git\xef\xbb\xbf", &bid, GIT_FILEMODE_BLOB));
cl_git_fail(git_treebuilder_insert(NULL, builder, ".git\xe2\x80\xad", &bid, GIT_FILEMODE_BLOB));
+ cl_git_fail(git_treebuilder_insert(NULL, builder, ".git::$INDEX_ALLOCATION/dummy-file", &bid, GIT_FILEMODE_BLOB));
git_treebuilder_free(builder);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/tests/path/core.c new/libgit2-0.28.4/tests/path/core.c
--- old/libgit2-0.28.2/tests/path/core.c 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/tests/path/core.c 2019-12-10 20:39:58.000000000 +0100
@@ -352,3 +352,14 @@
git_buf_dispose(&out);
}
+
+void test_path_core__join_unrooted_respects_funny_windows_roots(void)
+{
+ test_join_unrooted("💩:/foo/bar/foobar", 9, "bar/foobar", "💩:/foo");
+ test_join_unrooted("💩:/foo/bar/foobar", 13, "foobar", "💩:/foo/bar");
+ test_join_unrooted("💩:/foo", 5, "💩:/foo", "💩:/asdf");
+ test_join_unrooted("💩:/foo/bar", 5, "💩:/foo/bar", "💩:/asdf");
+ test_join_unrooted("💩:/foo/bar/foobar", 9, "💩:/foo/bar/foobar", "💩:/foo");
+ test_join_unrooted("💩:/foo/bar/foobar", 13, "💩:/foo/bar/foobar", "💩:/foo/bar");
+ test_join_unrooted("💩:/foo/bar/foobar", 9, "💩:/foo/bar/foobar", "💩:/foo/");
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/tests/path/dotgit.c new/libgit2-0.28.4/tests/path/dotgit.c
--- old/libgit2-0.28.2/tests/path/dotgit.c 2019-05-21 09:54:19.000000000 +0200
+++ new/libgit2-0.28.4/tests/path/dotgit.c 2019-12-10 20:39:58.000000000 +0100
@@ -116,4 +116,5 @@
cl_assert_equal_b(true, git_path_isvalid(NULL, ".gitmodules", 0, GIT_PATH_REJECT_DOT_GIT_HFS|GIT_PATH_REJECT_DOT_GIT_NTFS));
cl_assert_equal_b(false, git_path_isvalid(NULL, ".gitmodules", S_IFLNK, GIT_PATH_REJECT_DOT_GIT_HFS));
cl_assert_equal_b(false, git_path_isvalid(NULL, ".gitmodules", S_IFLNK, GIT_PATH_REJECT_DOT_GIT_NTFS));
+ cl_assert_equal_b(false, git_path_isvalid(NULL, ".gitmodules . .::$DATA", S_IFLNK, GIT_PATH_REJECT_DOT_GIT_NTFS));
}
Binary files old/libgit2-0.28.2/tests/resources/nasty/.gitted/objects/33/8190107c7ee7d8f5aa30061fc19b7d5ddcda86 and new/libgit2-0.28.4/tests/resources/nasty/.gitted/objects/33/8190107c7ee7d8f5aa30061fc19b7d5ddcda86 differ
Binary files old/libgit2-0.28.2/tests/resources/nasty/.gitted/objects/97/c14994866466aeb73e769a6f34e07c7f4b53f7 and new/libgit2-0.28.4/tests/resources/nasty/.gitted/objects/97/c14994866466aeb73e769a6f34e07c7f4b53f7 differ
Binary files old/libgit2-0.28.2/tests/resources/nasty/.gitted/objects/b8/edf3ad62dbcbc983857a5bfee7b0181ee1a513 and new/libgit2-0.28.4/tests/resources/nasty/.gitted/objects/b8/edf3ad62dbcbc983857a5bfee7b0181ee1a513 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgit2-0.28.2/tests/resources/nasty/.gitted/refs/heads/dotgit_alternate_data_stream new/libgit2-0.28.4/tests/resources/nasty/.gitted/refs/heads/dotgit_alternate_data_stream
--- old/libgit2-0.28.2/tests/resources/nasty/.gitted/refs/heads/dotgit_alternate_data_stream 1970-01-01 01:00:00.000000000 +0100
+++ new/libgit2-0.28.4/tests/resources/nasty/.gitted/refs/heads/dotgit_alternate_data_stream 2019-12-10 20:39:58.000000000 +0100
@@ -0,0 +1 @@
+b8edf3ad62dbcbc983857a5bfee7b0181ee1a513
1
0
Hello community,
here is the log from the commit of package tomcat for openSUSE:Leap:15.2 checked in at 2020-03-01 08:51:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/tomcat (Old)
and /work/SRC/openSUSE:Leap:15.2/.tomcat.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tomcat"
Sun Mar 1 08:51:10 2020 rev:34 rq:779435 version:9.0.31
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/tomcat/tomcat.changes 2020-02-16 18:25:44.554637024 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.tomcat.new.26092/tomcat.changes 2020-03-01 08:51:22.601273584 +0100
@@ -1,0 +2,14 @@
+Tue Feb 25 13:24:14 UTC 2020 - Fridrich Strba <fstrba(a)suse.com>
+
+- Update to Tomcat 9.0.31. See changelog at
+ http://tomcat.apache.org/tomcat-9.0-doc/changelog.html#Tomcat_9.0.30_(markt)
+- Fixed CVEs:
+ * CVE-2019-17569 (bsc#1164825)
+ * CVE-2020-1935 (bsc#1164860)
+ * CVE-2020-1938 (bsc#1164692)
+- Modified patch
+ * tomcat-9.0.30-java8compat.patch
+ -> tomcat-9.0.31-java8compat.patch
+ + Adapt to changed context
+
+-------------------------------------------------------------------
Old:
----
apache-tomcat-9.0.30-src.tar.gz
apache-tomcat-9.0.30-src.tar.gz.asc
tomcat-9.0.30-java8compat.patch
New:
----
apache-tomcat-9.0.31-src.tar.gz
apache-tomcat-9.0.31-src.tar.gz.asc
tomcat-9.0.31-java8compat.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tomcat.spec ++++++
--- /var/tmp/diff_new_pack.Bpcjbm/_old 2020-03-01 08:51:23.289274953 +0100
+++ /var/tmp/diff_new_pack.Bpcjbm/_new 2020-03-01 08:51:23.293274961 +0100
@@ -22,7 +22,7 @@
%define elspec 3.0
%define major_version 9
%define minor_version 0
-%define micro_version 30
+%define micro_version 31
%define packdname apache-tomcat-%{version}-src
# FHS 2.3 compliant tree structure - http://www.pathname.com/fhs/2.3/
%global basedir /srv/%{name}
@@ -48,7 +48,7 @@
Summary: Apache Servlet/JSP/EL Engine, RI for Servlet 4.0/JSP 2.3/EL 3.0 API
License: Apache-2.0
Group: Productivity/Networking/Web/Servers
-URL: http://tomcat.apache.org
+URL: https://tomcat.apache.org
Source0: https://archive.apache.org/dist/tomcat/tomcat-%{major_version}/v%{version}/…
Source1: %{name}-%{major_version}.%{minor_version}.conf
Source2: %{name}-%{major_version}.%{minor_version}.init
@@ -80,8 +80,7 @@
# PATCH-FIX-OPENSUSE: include all necessary aqute-bnd jars
Patch4: tomcat-9.0-osgi-build.patch
# PATCH-FIX-OPENSUSE: cast ByteBuffer to Buffer in cases where there is a risk of using Java 9+ apis
-Patch5: tomcat-9.0.30-java8compat.patch
-
+Patch5: tomcat-9.0.31-java8compat.patch
BuildRequires: ant >= 1.8.1
BuildRequires: ant-antlr
BuildRequires: apache-commons-collections
@@ -102,6 +101,7 @@
BuildRequires: javapackages-local
BuildRequires: junit
BuildRequires: log4j12
+BuildRequires: pkgconfig
BuildRequires: sed
BuildRequires: systemd-rpm-macros
BuildRequires: unzip
++++++ apache-tomcat-9.0.30-src.tar.gz -> apache-tomcat-9.0.31-src.tar.gz ++++++
++++ 7080 lines of diff (skipped)
++++++ tomcat-9.0.30-java8compat.patch -> tomcat-9.0.31-java8compat.patch ++++++
++++ 2886 lines (skipped)
++++ between /work/SRC/openSUSE:Leap:15.2/tomcat/tomcat-9.0.30-java8compat.patch
++++ and /work/SRC/openSUSE:Leap:15.2/.tomcat.new.26092/tomcat-9.0.31-java8compat.patch
1
0
Hello community,
here is the log from the commit of package perl-TimeDate for openSUSE:Leap:15.2 checked in at 2020-03-01 08:51:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/perl-TimeDate (Old)
and /work/SRC/openSUSE:Leap:15.2/.perl-TimeDate.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-TimeDate"
Sun Mar 1 08:51:09 2020 rev:17 rq:779306 version:2.30
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/perl-TimeDate/perl-TimeDate.changes 2020-01-15 15:43:17.735249981 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.perl-TimeDate.new.26092/perl-TimeDate.changes 2020-03-01 08:51:21.113270625 +0100
@@ -1,0 +2,6 @@
+Tue Feb 4 13:23:42 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez(a)suse.com>
+
+- Fix another year-2020 bug [bsc#1162433]
+ * Update patch perl-TimeDate-getdate.patch
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-TimeDate-getdate.patch ++++++
--- /var/tmp/diff_new_pack.DhfIqZ/_old 2020-03-01 08:51:21.389271173 +0100
+++ /var/tmp/diff_new_pack.DhfIqZ/_new 2020-03-01 08:51:21.389271173 +0100
@@ -1,8 +1,12 @@
+From: Bernhard M. Wiedemann <bwiedemann suse de>
+Subject: Fix bsc#1159990
+Date: 2020-01-11
+
Index: TimeDate-2.30/t/getdate.t
===================================================================
--- TimeDate-2.30.orig/t/getdate.t
+++ TimeDate-2.30/t/getdate.t
-@@ -156,7 +156,7 @@ Jul 22 10:00:00 UTC 2002 ;102733200
+@@ -156,7 +156,7 @@ Jul 22 10:00:00 UTC 2002 ;102733200
!;
require Time::Local;
@@ -11,3 +15,41 @@
@data = split(/\n/, $data);
+Index: TimeDate-2.30/lib/Date/Parse.pm
+===================================================================
+--- TimeDate-2.30.orig/lib/Date/Parse.pm
++++ TimeDate-2.30/lib/Date/Parse.pm
+@@ -195,7 +195,7 @@ sub {
+ }
+ }
+
+- $year -= 1900 if defined $year && $year > 1900;
++ $year -= 1900 if defined $year && $year > 2000;
+
+ $zone += 3600 if defined $zone && $dst;
+ $ss += "0.$frac" if $frac;
+Index: TimeDate-2.30/t/cpanrt.t
+===================================================================
+--- TimeDate-2.30.orig/t/cpanrt.t
++++ TimeDate-2.30/t/cpanrt.t
+@@ -1,7 +1,7 @@
+ use Date::Format qw(time2str strftime);
+ use Date::Parse qw(strptime str2time);
+
+-print "1..8\n";
++print "1..10\n";
+
+ my $i = 1;
+
+@@ -53,3 +53,11 @@ my $i = 1;
+ print "not " if str2time('16 Oct 09') < 0;
+ print "ok ", $i++, "\n";
+ }
++
++{ # https://rt.cpan.org/Public/Bug/Display.html?id=124509 year 2020 problem
++ print "# 1970-01-01 => 0\n";
++ print "not " if str2time('1970-01-01') != 0;
++ print "ok ", $i++, "\n";
++ print "not " if str2time('01 Jan 70') == 0;
++ print "ok ", $i++, "\n";
++}
1
0
Hello community,
here is the log from the commit of package bcm43xx-firmware for openSUSE:Leap:15.2 checked in at 2020-03-01 08:51:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/bcm43xx-firmware (Old)
and /work/SRC/openSUSE:Leap:15.2/.bcm43xx-firmware.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bcm43xx-firmware"
Sun Mar 1 08:51:07 2020 rev:18 rq:778827 version:20180314
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/bcm43xx-firmware/bcm43xx-firmware.changes 2020-01-15 14:48:24.581341476 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.bcm43xx-firmware.new.26092/bcm43xx-firmware.changes 2020-03-01 08:51:19.953268317 +0100
@@ -1,0 +2,6 @@
+Wed Feb 19 10:05:36 UTC 2020 - Nicolas Patricio Saenz Julienne <nsaenzjulienne(a)suse.com>
+
+- Remove brcmfmac43455-sdio.raspberrypi,4-model-b.txt, already available in
+ kernel-firmware (bsc#1163267)
+
+-------------------------------------------------------------------
Old:
----
brcmfmac43455-sdio.raspberrypi,4-model-b.txt
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bcm43xx-firmware.spec ++++++
--- /var/tmp/diff_new_pack.q3bD47/_old 2020-03-01 08:51:20.741269884 +0100
+++ /var/tmp/diff_new_pack.q3bD47/_new 2020-03-01 08:51:20.745269893 +0100
@@ -45,9 +45,6 @@
#brcmfmac4356-pcie.txt is taken from ChromeOS repo
# https://chromium.googlesource.com/chromiumos/third_party/linux-firmware/+/f…
Source4356: brcmfmac4356-pcie.txt
-# brcmfmac43455-sdio.raspberrypi,4-model-b.txt is the same brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
-# except for boardflags3 value - https://wiki.gentoo.org/wiki/User:NeddySeagoon/Raspberry_Pi4_64_Bit_Install…
-Source4357: brcmfmac43455-sdio.raspberrypi,4-model-b.txt
#BCM43455
Source4559: https://github.com/RPi-Distro/bluez-firmware/raw/master/broadcom/BCM4345C0.…
# Owns /lib/firmware/brcm and potentially conflicts
@@ -86,7 +83,6 @@
install -c -m 0644 %{SOURCE3621} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE3622} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE4356} %{buildroot}/lib/firmware/brcm/
-install -c -m 0644 %{SOURCE4357} %{buildroot}/lib/firmware/brcm/
# Used by bluez (hciattach)
install -c -m 0644 %{SOURCE4309} %{buildroot}/lib/firmware/
install -c -m 0644 %{SOURCE4559} %{buildroot}/lib/firmware/
1
0
Hello community,
here is the log from the commit of package kernel-source for openSUSE:Leap:15.2 checked in at 2020-03-01 08:51:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/kernel-source (Old)
and /work/SRC/openSUSE:Leap:15.2/.kernel-source.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source"
Sun Mar 1 08:51:06 2020 rev:112 rq:777636 version:5.3.18
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/kernel-source/dtb-aarch64.changes 2020-02-11 23:24:31.505242241 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.kernel-source.new.26092/dtb-aarch64.changes 2020-03-01 08:51:10.965250438 +0100
@@ -1,0 +2,3296 @@
+Wed Feb 19 12:37:47 CET 2020 - mbenes(a)suse.cz
+
+- tracing: Fix now invalid var_ref_vals assumption in trace action
+ (git-fixes).
+- commit 9385a9b
+
+-------------------------------------------------------------------
+Wed Feb 19 11:26:39 CET 2020 - jack(a)suse.cz
+
+- block: fix get_max_segment_size() overflow on 32bit arch
+ (bsc#1164285).
+- commit 88517df
+
+-------------------------------------------------------------------
+Wed Feb 19 11:25:07 CET 2020 - jack(a)suse.cz
+
+- ext4: fix support for inode sizes > 1024 bytes (bsc#1164284).
+- commit 05b8b1c
+
+-------------------------------------------------------------------
+Wed Feb 19 10:35:36 CET 2020 - jack(a)suse.cz
+
+- memcg: fix a crash in wb_workfn when a device disappears
+ (bsc#1164276).
+- commit b25cbaa
+
+-------------------------------------------------------------------
+Wed Feb 19 10:15:44 CET 2020 - mbrugger(a)suse.com
+
+- arm64: dts: agilex/stratix10: fix pmu interrupt numbers
+ (bsc#1164272).
+- commit 0c677d5
+
+-------------------------------------------------------------------
+Wed Feb 19 10:14:55 CET 2020 - mbrugger(a)suse.com
+
+- arm64: KVM: Device mappings should be execute-never
+ (bsc#1164268).
+- Refresh
+ patches.suse/arm64-Ensure-VM_WRITE-VM_SHARED-ptes-are-clean-by-de.patch.
+- commit b79bc51
+
+-------------------------------------------------------------------
+Wed Feb 19 08:15:07 CET 2020 - mkubecek(a)suse.cz
+
+- fix upstream references
+- fix Patch-mainline:
+ patches.suse/fix-autofs-regression-caused-by-follow_managed-changes.patch
+ patches.suse/fix-dget_parent-fastpath-race.patch
+ patches.suse/fsnamei.c-fix-missing-barriers-when-checking-positivity.patch
+ patches.suse/fsnamei.c-pull-positivity-check-into-follow_managed.patch
+ patches.suse/new-helper-lookup_positive_unlocked.patch
+- commit d37656d
+
+-------------------------------------------------------------------
+Wed Feb 19 08:09:03 CET 2020 - mkubecek(a)suse.cz
+
+- series.conf: cleanup
+- update upstream reference and resort:
+ patches.suse/dma-contiguous-cma-give-precedence-to-cmdline.patch
+- commit 1b96e18
+
+-------------------------------------------------------------------
+Tue Feb 18 23:24:48 CET 2020 - tbogendoerfer(a)suse.de
+
+- netdevsim: fix ptr_ret.cocci warnings (bsc#1154353).
+- commit acfaee7
+
+-------------------------------------------------------------------
+Tue Feb 18 22:44:47 CET 2020 - rgoldwyn(a)suse.com
+
+- fix autofs regression caused by follow_managed() changes
+ (git-fixes, bsc#1159271).
+- commit a954cfa
+
+-------------------------------------------------------------------
+Tue Feb 18 21:52:44 CET 2020 - rgoldwyn(a)suse.com
+
+- fs/namei.c: fix missing barriers when checking positivity
+ (bsc#1159271).
+- fix dget_parent() fastpath race (bsc#1159271).
+- new helper: lookup_positive_unlocked() (bsc#1159271).
+- fs/namei.c: pull positivity check into follow_managed()
+ (bsc#1159271).
+- commit 15f64cd
+
+-------------------------------------------------------------------
+Tue Feb 18 21:08:38 CET 2020 - mgorman(a)suse.de
+
+- sched/fair: fix statistics for find_idlest_group() (bnc#1155798
+ (CPU scheduler functional and performance backports)).
+- commit 2db86c8
+
+-------------------------------------------------------------------
+Tue Feb 18 21:07:28 CET 2020 - mgorman(a)suse.de
+
+- sched/fair: Fix kernel-doc warning in attach_entity_load_avg()
+ (git fixes (sched)).
+- commit 366accc
+
+-------------------------------------------------------------------
+Tue Feb 18 19:02:19 CET 2020 - msuchanek(a)suse.de
+
+- powerpc/kexec: Move kexec files into a dedicated subdir
+ (bsc#1140025 ltc#176086).
+ Refresh
+ patches.suse/powerpc-Avoid-clang-warnings-around-setjmp-and-longj.patch.
+- powerpc/32: Split kexec low level code out of misc_32.S
+ (bsc#1140025 ltc#176086).
+- commit ea45911
+
+-------------------------------------------------------------------
+Tue Feb 18 18:14:20 CET 2020 - mbrugger(a)suse.com
+
+- arm64: dts: fast models: Fix FVP PCI interrupt-map property
+ (bsc#1164201).
+- arm64: ssbs: Fix context-switch when SSBS is present on all CPUs
+ (bsc#1164221).
+- arm64: dts: marvell: clearfog-gt-8k: fix switch cpu port node
+ (bsc#1164211).
+- arm64: acpi: fix DAIF manipulation with pNMI (bsc#1164197).
+- arm64: nofpsmid: Handle TIF_FOREIGN_FPSTATE flag cleanly
+ (bsc#1164219).
+- arm64: ptrace: nofpsimd: Fail FP/SIMD regset operations
+ (bsc#1164220).
+- arm64: cpufeature: Set the FP/SIMD compat HWCAP bits properly
+ (bsc#1164199).
+- arm64: cpufeature: Fix the type of no FP/SIMD capability
+ (bsc#1164198).
+- arm64: kbuild: remove compressed images on 'make ARCH=arm64
+ (dist)clean' (bsc#1164218).
+- arm64: dts: allwinner: a64: olinuxino: Fix SDIO supply regulator
+ (bsc#1164200).
+- arm64: dts: imx8mq-librem5-devkit: use correct interrupt for
+ the magnetometer (bsc#1164205).
+- arm64: dts: imx8mm: Change SDMA1 ahb clock for imx8mm
+ (bsc#1164202).
+- arm64: dts: ls1028a: fix endian setting for dcfg (bsc#1164208).
+- arm64: Implement copy_thread_tls (bsc#1164195).
+- update arm64 config files (add HAVE_COPY_THREAD_TLS=y)
+- arm64: Move __ARCH_WANT_SYS_CLONE3 definition to uapi headers
+ (bsc#1164196).
+- arm64: dts: ls1028a: fix reboot node (bsc#1164209).
+- Revert "arm64: dts: juno: add dma-ranges property"
+ (bsc#1164194).
+- arm64: dts: juno: Fix UART frequency (bsc#1164206).
+- arm64: dts: meson-gxm-khadas-vim2: fix uart_A bluetooth node
+ (bsc#1164216).
+- arm64: dts: meson-gxl-s905x-khadas-vim: fix uart_A bluetooth
+ node (bsc#1164215).
+- arm64: dts: meson-gxl-s905x-khadas-vim: fix gpio-keys-polled
+ node (bsc#1164214).
+- arm64: dts: meson: odroid-c2: Disable usb_otg bus to avoid
+ power failed warning (bsc#1164217).
+- arm64: dts: meson: axg: fix audio fifo reg size (bsc#1164212).
+- arm64: dts: marvell: Fix CP110 NAND controller node multi-line
+ comment alignment (bsc#1164210).
+- arm64: dts: imx8mm: Correct OPP table according to latest
+ datasheet (bsc#1164203).
+- commit 8ffc54a
+
+-------------------------------------------------------------------
+Tue Feb 18 17:57:20 CET 2020 - msuchanek(a)suse.de
+
+- powerpc: avoid adjusting memory_limit for capture kernel memory
+ reservation (bsc#1140025).
+- powerpc: reserve memory for capture kernel after hugepages init
+ (bsc#1140025).
+- commit 3e6df66
+
+-------------------------------------------------------------------
+Tue Feb 18 17:16:33 CET 2020 - dwagner(a)suse.de
+
+- nvme: fix the parameter order for nvme_get_log in
+ nvme_get_fw_slot_info (bsc#1163774).
+- commit f4930bf
+
+-------------------------------------------------------------------
+Tue Feb 18 17:12:44 CET 2020 - mbrugger(a)suse.com
+
+- ARM: npcm: Bring back GPIOLIB support (bsc#1164185).
+- commit 3c9a346
+
+-------------------------------------------------------------------
+Tue Feb 18 17:11:59 CET 2020 - mbrugger(a)suse.com
+
+- blacklist.conf: blacklist commits with wrong fixes ID
+- commit b51d31a
+
+-------------------------------------------------------------------
+Tue Feb 18 17:10:41 CET 2020 - mbrugger(a)suse.com
+
+- ARM: dts: am43xx: add support for clkout1 clock (bsc#1164150).
+- ARM: dts: meson8b: use the actual frequency for the GPU's
+ 364MHz OPP (bsc#1164174).
+- ARM: dts: meson8: use the actual frequency for the GPU's
+ 182.1MHz OPP (bsc#1164172).
++++ 3109 more lines (skipped)
++++ between /work/SRC/openSUSE:Leap:15.2/kernel-source/dtb-aarch64.changes
++++ and /work/SRC/openSUSE:Leap:15.2/.kernel-source.new.26092/dtb-aarch64.changes
dtb-armv7l.changes: same change
kernel-debug.changes: same change
kernel-default.changes: same change
kernel-docs.changes: same change
kernel-kvmsmall.changes: same change
kernel-lpae.changes: same change
kernel-obs-build.changes: same change
kernel-obs-qa.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-zfcpdump.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dtb-aarch64.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.153262747 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.157262756 +0100
@@ -31,7 +31,7 @@
Name: dtb-aarch64
Version: 5.3.18
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
dtb-armv7l.spec: same change
++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.189262819 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.189262819 +0100
@@ -67,7 +67,7 @@
Group: System/Kernel
Version: 5.3.18
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
@@ -174,10 +174,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
-Provides: kernel-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: kernel-%build_flavor-base-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
+Provides: kernel-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
# END COMMON DEPS
-Provides: %name-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: %name-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@@ -1132,7 +1132,7 @@
This kernel has several debug facilities enabled that hurt performance.
Only use this kernel when investigating problems.
-This package contains additional modules not supported by Novell.
+This package contains additional modules not supported by SUSE.
%source_timestamp
++++++ kernel-default.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.213262866 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.229262898 +0100
@@ -67,7 +67,7 @@
Group: System/Kernel
Version: 5.3.18
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
@@ -174,10 +174,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
-Provides: kernel-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: kernel-%build_flavor-base-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
+Provides: kernel-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
# END COMMON DEPS
-Provides: %name-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: %name-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
%ifarch s390x
Provides: kernel-trace = 3.13
Obsoletes: kernel-trace <= 3.13
@@ -1180,7 +1180,7 @@
%description extra
The standard kernel for both uniprocessor and multiprocessor systems.
-This package contains additional modules not supported by Novell.
+This package contains additional modules not supported by SUSE.
%source_timestamp
++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.245262931 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.249262938 +0100
@@ -33,7 +33,7 @@
Group: Documentation/Man
Version: 5.3.18
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
@@ -63,7 +63,7 @@
%endif
Url: http://www.kernel.org/
Provides: %name = %version-%source_rel
-Provides: %name-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: %name-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
++++++ kernel-kvmsmall.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.261262962 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.265262970 +0100
@@ -67,7 +67,7 @@
Group: System/Kernel
Version: 5.3.18
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
@@ -174,10 +174,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
-Provides: kernel-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: kernel-%build_flavor-base-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
+Provides: kernel-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
# END COMMON DEPS
-Provides: %name-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: %name-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@@ -1144,7 +1144,7 @@
are entirely disabled. This kernel is meant to be small and to build
very quickly. The configuration may change arbitrarily between builds.
-This package contains additional modules not supported by Novell.
+This package contains additional modules not supported by SUSE.
%source_timestamp
++++++ kernel-lpae.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.277262994 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.277262994 +0100
@@ -67,7 +67,7 @@
Group: System/Kernel
Version: 5.3.18
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
@@ -174,10 +174,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
-Provides: kernel-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: kernel-%build_flavor-base-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
+Provides: kernel-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
# END COMMON DEPS
-Provides: %name-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: %name-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@@ -1132,7 +1132,7 @@
The kernel for all 32-bit ARM platforms that support LPAE. This includes all
Cortex A15 based SoCs, like the Exynos5, OMAP5 or Calxeda ECX-2000.
-This package contains additional modules not supported by Novell.
+This package contains additional modules not supported by SUSE.
%source_timestamp
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.297263034 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.301263041 +0100
@@ -45,7 +45,7 @@
%endif
%endif
%endif
-BuildRequires: kernel%kernel_flavor-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+BuildRequires: kernel%kernel_flavor-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
%if 0%{?rhel_version}
BuildRequires: kernel
@@ -66,7 +66,7 @@
Group: SLES
Version: 5.3.18
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
++++++ kernel-obs-qa.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.321263082 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.321263082 +0100
@@ -38,7 +38,7 @@
Group: SLES
Version: 5.3.18
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.345263129 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.345263129 +0100
@@ -32,7 +32,7 @@
Group: Development/Sources
Version: 5.3.18
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
@@ -43,7 +43,7 @@
BuildRequires: sed
Requires(post): coreutils sed
Provides: %name = %version-%source_rel
-Provides: %name-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: %name-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
Provides: linux
Provides: multiversion(kernel)
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.369263177 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.373263185 +0100
@@ -27,7 +27,7 @@
Version: 5.3.18
%if %using_buildservice
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
@@ -46,7 +46,7 @@
%endif
Requires: pesign-obs-integration
Provides: %name = %version-%source_rel
-Provides: %name-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: %name-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel
++++++ kernel-zfcpdump.spec ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.389263216 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.393263224 +0100
@@ -67,7 +67,7 @@
Group: System/Kernel
Version: 5.3.18
%if 0%{?is_kotd}
-Release: <RELEASE>.g50a95cc
+Release: <RELEASE>.gb8cad02
%else
Release: 0
%endif
@@ -174,10 +174,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
-Provides: kernel-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: kernel-%build_flavor-base-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
+Provides: kernel-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
# END COMMON DEPS
-Provides: %name-srchash-50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+Provides: %name-srchash-b8cad02452ea11d47eada6db1c721cd5715df919
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@@ -1136,7 +1136,7 @@
This kernel should only be used by the s390-tools package. This kernel
should not be installed as a regular booting kernel.
-This package contains additional modules not supported by Novell.
+This package contains additional modules not supported by SUSE.
%source_timestamp
++++++ config.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/arm64/default new/config/arm64/default
--- old/config/arm64/default 2020-01-31 06:43:10.000000000 +0100
+++ new/config/arm64/default 2020-02-19 13:47:59.000000000 +0100
@@ -575,7 +575,8 @@
CONFIG_DMI_SYSFS=m
CONFIG_ISCSI_IBFT=m
CONFIG_RASPBERRYPI_FIRMWARE=y
-# CONFIG_FW_CFG_SYSFS is not set
+CONFIG_FW_CFG_SYSFS=m
+CONFIG_FW_CFG_SYSFS_CMDLINE=y
CONFIG_INTEL_STRATIX10_SERVICE=m
CONFIG_QCOM_SCM=y
CONFIG_QCOM_SCM_64=y
@@ -776,6 +777,7 @@
CONFIG_ARCH_MMAP_RND_BITS=18
CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11
+CONFIG_HAVE_COPY_THREAD_TLS=y
# CONFIG_HAVE_ARCH_HASH is not set
# CONFIG_ISA_BUS_API is not set
CONFIG_CLONE_BACKWARDS=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64le/default new/config/ppc64le/default
--- old/config/ppc64le/default 2020-01-31 06:43:10.000000000 +0100
+++ new/config/ppc64le/default 2020-02-19 13:47:59.000000000 +0100
@@ -402,6 +402,7 @@
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y
CONFIG_CPU_IDLE_GOV_TEO=y
+# CONFIG_CPU_IDLE_GOV_HALTPOLL is not set
#
# POWERPC CPU Idle Drivers
@@ -572,7 +573,6 @@
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_RCU_TABLE_FREE=y
-CONFIG_HAVE_RCU_TABLE_NO_INVALIDATE=y
CONFIG_HAVE_MMU_GATHER_PAGE_SIZE=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_ARCH_WEAK_RELEASE_ACQUIRE=y
@@ -600,6 +600,7 @@
CONFIG_ARCH_MMAP_RND_BITS=14
CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=7
+CONFIG_HAVE_COPY_THREAD_TLS=y
CONFIG_HAVE_RELIABLE_STACKTRACE=y
# CONFIG_HAVE_ARCH_HASH is not set
CONFIG_HAVE_ARCH_NVRAM_OPS=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/x86_64/default new/config/x86_64/default
--- old/config/x86_64/default 2020-01-31 06:43:10.000000000 +0100
+++ new/config/x86_64/default 2020-02-19 13:47:59.000000000 +0100
@@ -343,6 +343,7 @@
CONFIG_XEN_DEBUG_FS=y
CONFIG_XEN_PVH=y
CONFIG_KVM_GUEST=y
+CONFIG_ARCH_CPUIDLE_HALTPOLL=y
CONFIG_PVH=y
# CONFIG_KVM_DEBUG_FS is not set
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
@@ -641,6 +642,8 @@
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y
CONFIG_CPU_IDLE_GOV_TEO=y
+CONFIG_CPU_IDLE_GOV_HALTPOLL=y
+CONFIG_HALTPOLL_CPUIDLE=m
# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
# end of CPU Idle
++++++ kernel-binary.spec.in ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:17.881264195 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:17.881264195 +0100
@@ -989,7 +989,7 @@
%description extra
@DESCRIPTION@
-This package contains additional modules not supported by Novell.
+This package contains additional modules not supported by SUSE.
%source_timestamp
++++++ modules.fips ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:18.153264737 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:18.157264744 +0100
@@ -34,6 +34,7 @@
ghash_s390
glue_helper
khazad
+keywrap
lrw
md4
michael_mic
++++++ patches.rpmify.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.rpmify/powerpc-boot-Fix-missing-crc32poly.h-when-building-w.patch new/patches.rpmify/powerpc-boot-Fix-missing-crc32poly.h-when-building-w.patch
--- old/patches.rpmify/powerpc-boot-Fix-missing-crc32poly.h-when-building-w.patch 2019-08-15 21:55:55.000000000 +0200
+++ new/patches.rpmify/powerpc-boot-Fix-missing-crc32poly.h-when-building-w.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,42 +0,0 @@
-From: Krzysztof Kozlowski <krzk(a)kernel.org>
-Date: Wed, 29 Aug 2018 09:32:23 +0200
-Subject: [PATCH] powerpc/boot: Fix missing crc32poly.h when building with KERNEL_XZ
-Patch-mainline: Submitted - 20180829
-References: none
-
-After commit faa16bc404d7 ("lib: Use existing define with
-polynomial") the lib/xz/xz_crc32.c includes a header from include/linux
-directory thus any other user of this code should define proper include
-path.
-
-This fixes the build error on powerpc with CONFIG_KERNEL_XZ:
-
- In file included from ../arch/powerpc/boot/../../../lib/decompress_unxz.c:233:0,
- from ../arch/powerpc/boot/decompress.c:42:
- ../arch/powerpc/boot/../../../lib/xz/xz_crc32.c:18:29: fatal error: linux/crc32poly.h: No such file or directory
-
-Reported-by: Michal Kubecek <mkubecek(a)suse.cz>
-Fixes: faa16bc404d7 ("lib: Use existing define with polynomial")
-Signed-off-by: Krzysztof Kozlowski <krzk(a)kernel.org>
-Tested-by: Michal Kubecek <mkubecek(a)suse.cz>
-Acked-by: Michal Kubecek <mkubecek(a)suse.cz>
----
- arch/powerpc/boot/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
-index 0fb96c26136f..ba4182fb185d 100644
---- a/arch/powerpc/boot/Makefile
-+++ b/arch/powerpc/boot/Makefile
-@@ -63,7 +63,7 @@ ifeq ($(call cc-option-yn, -fstack-protector),y)
- BOOTCFLAGS += -fno-stack-protector
- endif
-
--BOOTCFLAGS += -I$(objtree)/$(obj) -I$(srctree)/$(obj)
-+BOOTCFLAGS += -I$(objtree)/$(obj) -I$(srctree)/$(obj) -I$(srctree)/include
-
- DTC_FLAGS ?= -p 1024
-
---
-2.18.0
-
++++++ patches.suse.tar.bz2 ++++++
/work/SRC/openSUSE:Leap:15.2/kernel-source/patches.suse.tar.bz2 /work/SRC/openSUSE:Leap:15.2/.kernel-source.new.26092/patches.suse.tar.bz2 differ: char 11, line 1
++++++ series.conf ++++++
++++ 2009 lines (skipped)
++++ between /work/SRC/openSUSE:Leap:15.2/kernel-source/series.conf
++++ and /work/SRC/openSUSE:Leap:15.2/.kernel-source.new.26092/series.conf
++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:18.429265285 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:18.429265285 +0100
@@ -1,3 +1,3 @@
-2020-01-31 08:41:40 +0000
-GIT Revision: 50a95ccf1ea4bb4b53ea78c145b9e2a075e0fae7
+2020-02-19 12:47:59 +0000
+GIT Revision: b8cad02452ea11d47eada6db1c721cd5715df919
GIT Branch: openSUSE-15.2
++++++ supported.conf ++++++
--- /var/tmp/diff_new_pack.iUEwvQ/_old 2020-03-01 08:51:18.473265373 +0100
+++ /var/tmp/diff_new_pack.iUEwvQ/_new 2020-03-01 08:51:18.473265373 +0100
@@ -475,6 +475,7 @@
- drivers/cpufreq/scmi-cpufreq
drivers/cpufreq/scpi-cpufreq
drivers/cpufreq/tegra186-cpufreq
+ drivers/cpuidle/cpuidle-haltpoll # cpuidle governor for KVM guest optimization -> see jsc#SLE-11312
- drivers/crypto/atmel-ecc
- drivers/crypto/atmel-i2c
- drivers/crypto/atmel-sha204a
1
0
Hello community,
here is the log from the commit of package kernel-firmware for openSUSE:Leap:15.2 checked in at 2020-03-01 08:51:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/kernel-firmware (Old)
and /work/SRC/openSUSE:Leap:15.2/.kernel-firmware.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-firmware"
Sun Mar 1 08:51:04 2020 rev:92 rq:770843 version:20200107
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/kernel-firmware/kernel-firmware.changes 2020-01-19 15:46:55.085682411 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.kernel-firmware.new.26092/kernel-firmware.changes 2020-03-01 08:51:08.913246356 +0100
@@ -1,0 +2,41 @@
+Tue Jan 28 15:37:58 CET 2020 - tiwai(a)suse.de
+
+- Revert vega10_sos.bin again as the latest firmware still broken
+ for SLE15-SP1 (4.19 DRM-base) amdgpu driver (bsc#1143331)
+
+-------------------------------------------------------------------
+Wed Jan 08 17:06:58 UTC 2020 - tiwai(a)suse.com
+
+- Update to version 20200107 (git commit 67d4ff59bf33):
+ * Mellanox: Add new mlxsw_spectrum firmware xx.2000.2714
+ * radeon: update oland rlc microcode from amdgpu
+ * amdgpu: update vega20 microcode for 19.50
+ * amdgpu: update vega12 microcode for 19.50
+ * amdgpu: update vega10 microcode for 19.50
+ * amdgpu: update picasso microcode for 19.50
+ * amdgpu: update raven2 microcode for 19.50
+ * amdgpu: update raven microcode for 19.50
+ * amdgpu: update navi10 microcode for 19.50
+ * amdgpu: update navi14 microcode for 19.50
+ * amdgpu: add TA microcode for Raven asics
+ * qed: Add firmware 8.42.2.0
+ * Adjust WHENCE entry to check_whence doesn't complain
+ * qcom: Switch SDM845 WLAN firmware
+ * linux-firmware: add NXP firmware licence file
+ * ath10k: WCN3990 hw1.0: add firmware WLAN.HL.2.0-01387-QCAHLSWMTPLZ-1
+ * ath10k: QCA9984 hw1.0: update firmware-5.bin to 10.4-3.9.0.2-00070
+ * ath10k: QCA988X hw2.0: update firmware-5.bin to 10.2.4-1.0-00047
+ * ath10k: QCA9888 hw2.0: update firmware-5.bin to 10.4-3.9.0.2-00070
+ * ath10k: QCA9887 hw1.0: update firmware-5.bin to 10.2.4-1.0-00047
+ * ath10k: QCA6174 hw3.0: update board-2.bin
+ * linux-firmware: Update AMD cpu microcode (bsc#1160204)
+ * inside-secure: add new "mini" firmware for the EIP197 driver
+ * WHENCE: Add raspberry-pi4 SDIO file
+ * qcom: update venus firmware files for v5.4
+ * cxgb4: Update firmware to revision 1.24.11.0
+ * brcm: Add BCM43455 NVRAM for Raspberry Pi 4 B
+ * qcom: Add SDM845 Compute DSP firmware
+ * qcom: Add SDM845 Audio DSP firmware
+ * qcom: Add SDM845 modem firmware
+
+-------------------------------------------------------------------
Old:
----
kernel-firmware-20191118.tar.xz
New:
----
kernel-firmware-20200107.tar.xz
vega10_sos.bin
vega10_sos.bin-sha1sum
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-firmware.spec ++++++
--- /var/tmp/diff_new_pack.pgApgg/_old 2020-03-01 08:51:10.545249602 +0100
+++ /var/tmp/diff_new_pack.pgApgg/_new 2020-03-01 08:51:10.549249610 +0100
@@ -18,7 +18,7 @@
%define __ksyms_path ^/lib/firmware
Name: kernel-firmware
-Version: 20191118
+Version: 20200107
Release: 0
Summary: Linux kernel firmware files
License: SUSE-Firmware AND GPL-2.0-only AND GPL-2.0-or-later AND MIT
@@ -37,6 +37,8 @@
Source9: ql2700_fw.bin
Source10: ql8300_fw.bin
Source99: %{name}-rpmlintrc
+Source100: vega10_sos.bin
+Source101: vega10_sos.bin-sha1sum
BuildRequires: fdupes
BuildRequires: suse-module-tools
Requires(post): coreutils
@@ -95,6 +97,8 @@
# additional firmwares
cat %{SOURCE1} >> WHENCE
cp %{SOURCE2} %{SOURCE8} %{SOURCE9} %{SOURCE10} .
+sha1sum --quiet -c %{SOURCE101} || exit 1
+cp %{SOURCE100} amdgpu/
%build
# nothing to do
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.pgApgg/_old 2020-03-01 08:51:10.589249690 +0100
+++ /var/tmp/diff_new_pack.pgApgg/_new 2020-03-01 08:51:10.589249690 +0100
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git</param>
- <param name="changesrevision">ad7a8b22b1d00a859a33f1de87ab4a617270dbb9</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">67d4ff59bf3334895626cf165e508e9eb1846e24</param></service></servicedata>
\ No newline at end of file
++++++ kernel-firmware-20191118.tar.xz -> kernel-firmware-20200107.tar.xz ++++++
/work/SRC/openSUSE:Leap:15.2/kernel-firmware/kernel-firmware-20191118.tar.xz /work/SRC/openSUSE:Leap:15.2/.kernel-firmware.new.26092/kernel-firmware-20200107.tar.xz differ: char 26, line 1
++++++ vega10_sos.bin-sha1sum ++++++
595028ed1fc03d843dcdaf301670f53eb6fac3ae amdgpu/vega10_sos.bin
1
0
Hello community,
here is the log from the commit of package createrepo_c for openSUSE:Leap:15.2 checked in at 2020-03-01 08:51:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/createrepo_c (Old)
and /work/SRC/openSUSE:Leap:15.2/.createrepo_c.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "createrepo_c"
Sun Mar 1 08:51:03 2020 rev:21 rq:764127 version:0.15.4
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/createrepo_c/createrepo_c.changes 2020-01-15 14:51:04.689439404 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.createrepo_c.new.26092/createrepo_c.changes 2020-03-01 08:51:05.913240388 +0100
@@ -2 +2,101 @@
-Fri Mar 01 09:37:11 UTC 2019 - FSchreiner(a)suse.com
+Fri Dec 6 11:47:37 UTC 2019 - Neal Gompa <ngompa13(a)gmail.com>
+
+- Update to 0.15.4
+ + Add reboot_suggested field to UpdateRecord (rh#1772466)
+ + Skip directory matching --exclude right away
+ + Add restart_suggested to updatecollectionpackage
+
+-------------------------------------------------------------------
+Fri Nov 29 12:42:37 UTC 2019 - Neal Gompa <ngompa13(a)gmail.com>
+
+- Update to 0.15.3
+ + Export all changelog entries in compatibility mode
+ + Libmagic to follow symlinks (rh#1776399)
+ + Add shortcut to detect *.yaml files as not compressed
+- Ensure createrepo_c fully replaces createrepo on Tumbleweed
+- Remove old and now unused dependency on deltarpm as drpm is used now
+
+-------------------------------------------------------------------
+Mon Nov 25 13:39:11 UTC 2019 - Neal Gompa <ngompa13(a)gmail.com>
+
+- Update to 0.15.2
+ + Fix file mode for cache (rh#1686812)
+ + Honor umask on cache files (rh#1686812)
+- Enable DeltaRPM support for openSUSE targets on Leap 15.2+ and TW
+
+-------------------------------------------------------------------
+Mon Nov 18 05:57:08 UTC 2019 - Steve Kowalik <steven.kowalik(a)suse.com>
+
+- Add BuildRequires on python3, it won't be pulled in side effect of
+ requiring python3-nose
+
+-------------------------------------------------------------------
+Tue Sep 17 12:00:42 UTC 2019 - Dirk Mueller <dmueller(a)suse.com>
+
+- fix build by adding missing tarball and updating filelist
+
+-------------------------------------------------------------------
+Tue Sep 17 11:43:49 UTC 2019 - Frank Schreiner <FSchreiner(a)suse.com>
+
+- Update to version 0.15.1:
+ * Release 0.15.1
+ * Fix null pointer crash in cr_dumper_thread() if it fails to get checksum
+ * Fix search in string with missing terminating zero (rh#1750673)
+ * Depend on DRPM minimum version 0.4.0
+ * Release 0.15.0
+ * Revise drpm dependency check and bump the minimum version to 0.3.0
+ * Release 0.14.4
+ * Update documentation and regenerate man pages to sync up
+ * Use drpm_make from drpm instead of deltarpm (rh#1687843)
+ * Fix some DEBUG build warnings
+ * Switch off html timestamps on documentation (rh#1731050)
+ * Update documentation for mergerepo_c merge methods (rh#1722803)
+ * Update documentation for --retain-old-md and --compatibility
+ * Fix --read-pkgs-list to only list actually read packages
+ * Release 0.14.3
+ * Add missing python metadata to python2/3-createrepo_c (rh#1695677)
+ * detect plain tar file as non compressed
+
+-------------------------------------------------------------------
+Sat Jun 29 13:06:18 UTC 2019 - Neal Gompa <ngompa13(a)gmail.com>
+
+- Update to 0.14.2
+ + Fix issue with createrepo_c hanging at the end (rh#1714666)
+ + Don't include packages with forbidden control chars in repodata (boo#1110914)
+ + Correct pkg count in headers if there were invalid pkgs (rh#1596211)
+ + Prevent exiting with 0 if errors occur while finalizing repodata
+
+-------------------------------------------------------------------
+Wed May 15 23:17:38 UTC 2019 - Neal Gompa <ngompa13(a)gmail.com>
+
+- Update to 0.14.0
+ + Fix crash when dumping updateinfo and module is omitted (rh#1707981)
+ + Add --pkgorigins mode
+
+-------------------------------------------------------------------
+Sat May 4 22:17:16 UTC 2019 - Neal Gompa <ngompa13(a)gmail.com>
+
+- Update to 0.13.1
+ + Fix tests to work properly when modulemd support is not enabled
+- Enable modulemd support on openSUSE Leap 15.1+ and Tumbleweed
+
+-------------------------------------------------------------------
+Sat May 4 01:39:34 UTC 2019 - Neal Gompa <ngompa13(a)gmail.com>
+
+- Update to 0.13.0
+ + Add support for handling modulemd
+ + Add support for Koji simple merge mode
+ + Add support for zchunked modulemd
+ + Fixed --keep-all-metadata to keep all additional metadata
+- Disable tests if modulemd support is not enabled to prevent wrong failures
+- Drop patches included in this release
+ + 0001-Find-correct-nosetests-version-even-when-which-comma.patch
+ + 0002-fix-linking-when-Wl-no-undefined-is-set.patch
+
+-------------------------------------------------------------------
+Mon Mar 18 17:16:27 UTC 2019 - Jan Engelhardt <jengelh(a)inai.de>
+
+- Use noun phrase in summary.
+
+-------------------------------------------------------------------
+Fri Mar 01 09:37:11 UTC 2019 - Frank Schreiner <FSchreiner(a)suse.com>
@@ -5,0 +106,4 @@
+- Drop included patches
+ * 0001-zck_end_chunk-returns-number-of-bytes-written-or-1-f.patch
+ * 0002-Add-missing-sentinal.patch
+ * 0003-Fix-misc-test.patch
Old:
----
0001-Find-correct-nosetests-version-even-when-which-comma.patch
0002-fix-linking-when-Wl-no-undefined-is-set.patch
_service
_servicedata
createrepo_c-0.12.1.tar.gz
New:
----
createrepo_c-0.15.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ createrepo_c.spec ++++++
--- /var/tmp/diff_new_pack.2VYxtx/_old 2020-03-01 08:51:06.441241439 +0100
+++ /var/tmp/diff_new_pack.2VYxtx/_new 2020-03-01 08:51:06.441241439 +0100
@@ -1,7 +1,7 @@
#
# spec file for package createrepo_c
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2019 Neal Gompa <ngompa13(a)gmail.com>.
#
# All modifications and additions to the file contributed by third parties
@@ -17,25 +17,34 @@
#
-# Enable Python and tests selectively
%if 0%{?is_opensuse} || 0%{?suse_version} >= 1330
+# Enable Python bindings on openSUSE
%bcond_without python3
%bcond_without tests
%else
-%bcond_with tests
%bcond_with python3
+%bcond_with tests
%endif
-%if ( 0%{?sle_version} || 0%{?suse_version} )
-# Disabled DeltaRPM support for SUSE
-%bcond_with drpm
-%else
+%if (0%{?is_opensuse} && 0%{?sle_version} >= 150200) || 0%{?suse_version} >= 1550
# Enable enhanced DeltaRPM support
%bcond_without drpm
+%else
+%bcond_with drpm
%endif
%if (0%{?is_opensuse} && 0%{?sle_version} >= 150100) || 0%{?suse_version} >= 1550
%bcond_without zchunk
+%bcond_without libmodulemd
+%else
+%bcond_with zchunk
+%bcond_with libmodulemd
+%endif
+
+%if 0%{?sle_version} && 0%{?sle_version} < 160000
+%bcond_with as_createrepo
+%else
+%bcond_without as_createrepo
%endif
%{!?make_build: %global make_build %{__make} %{?_smp_mflags}}
@@ -45,18 +54,14 @@
%define devname lib%{name}-devel
Name: createrepo_c
-Version: 0.12.1
+Version: 0.15.4
Release: 0
-Summary: Creates a common metadata repository
+Summary: RPM repository metadata generation utility
License: GPL-2.0-or-later
Group: System/Packages
URL: https://github.com/rpm-software-management/createrepo_c
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
-# Backports from upstream
-Patch0001: 0001-Find-correct-nosetests-version-even-when-which-comma.patch
-Patch0002: 0002-fix-linking-when-Wl-no-undefined-is-set.patch
-
%if %{with python3}
BuildRequires: python3-devel
%endif
@@ -82,21 +87,32 @@
BuildRequires: zchunk
BuildRequires: zchunk-devel >= 0.9.11
%endif
+%if %{with libmodulemd}
+BuildRequires: libmodulemd-devel >= 2.3.0
+%endif
Requires: %{libname}%{?_isa} = %{version}-%{release}
%if %{with tests}
+BuildRequires: python3
BuildRequires: python3-nose
%endif
%if 0%{?suse_version} >= 1330
BuildRequires: bash-completion-devel
%endif
%if %{with drpm}
-BuildRequires: drpm-devel
+BuildRequires: drpm-devel >= 0.4.0
%endif
Requires: %{libname} = %{version}-%{release}
+%if %{with as_createrepo}
+# Fully replaces createrepo
+Requires(pre): update-alternatives
+Obsoletes: createrepo < 0.11.0
+Provides: createrepo = %{version}-%{release}
+%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
+%endif
Provides: createrepo-implementation
@@ -111,10 +127,7 @@
%package -n %{libname}
Summary: Library for repodata manipulation
-# The function to create DeltaRPMs calls /usr/bin/makedeltarpm,
-# which is part of the 'deltarpm' package
Group: System/Libraries
-Requires: deltarpm
%description -n %{libname}
Libraries for applications using the createrepo_c library
@@ -151,6 +164,7 @@
%define __builddir build
%cmake \
%{!?with_zchunk:-DWITH_ZCHUNK=OFF} \
+ %{!?with_libmodulemd:-DWITH_LIBMODULEMD=OFF} \
%{!?with_drpm:-DENABLE_DRPM=OFF} \
%{!?with_python3:-DENABLE_PYTHON=OFF} \
-DPYTHON_DESIRED:str=3
@@ -168,6 +182,12 @@
%define __builddir build
%cmake_install
+%if %{with as_createrepo}
+for i in createrepo mergerepo modifyrepo sqliterepo;do
+ ln -s %{_bindir}/$i\_c %{buildroot}%{_bindir}/$i
+ echo ".so man8/$i\_c.8" > %{buildroot}%{_mandir}/man8/$i\.8
+done
+%else
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
for i in createrepo mergerepo modifyrepo sqliterepo;do
ln -s %{_bindir}/$i\_c %{buildroot}%{_sysconfdir}/alternatives/$i
@@ -175,10 +195,17 @@
ln -s %{_mandir}/man8/$i\_c.8.gz %{buildroot}%{_sysconfdir}/alternatives/$i\.8.gz
ln -s %{_sysconfdir}/alternatives/$i\.8.gz %{buildroot}%{_mandir}/man8/$i\.8.gz
done
+%endif
%fdupes %{buildroot}%{_prefix}
%fdupes build/doc/html
+%if %{with as_createrepo}
+%pre
+if [ -e %{_sysconfdir}/alternatives/createrepo ]; then
+ update-alternatives --remove createrepo %{_bindir}/createrepo_c
+fi
+%else
%post
update-alternatives --install \
%{_bindir}/createrepo createrepo %{_bindir}/createrepo_c 20 \
@@ -194,6 +221,7 @@
if [ ! -f %{_bindir}/createrepo_c ]; then
update-alternatives --remove createrepo %{_bindir}/createrepo_c
fi
+%endif
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
@@ -218,6 +246,7 @@
%{_bindir}/mergerepo
%{_bindir}/modifyrepo
%{_bindir}/sqliterepo
+%if ! %{with as_createrepo}
%ghost %_sysconfdir/alternatives/createrepo
%ghost %_sysconfdir/alternatives/mergerepo
%ghost %_sysconfdir/alternatives/modifyrepo
@@ -226,6 +255,7 @@
%ghost %_sysconfdir/alternatives/mergerepo.8.gz
%ghost %_sysconfdir/alternatives/modifyrepo.8.gz
%ghost %_sysconfdir/alternatives/sqliterepo.8.gz
+%endif
%files -n %{libname}
%license COPYING
@@ -243,6 +273,7 @@
%files -n python3-%{name}
%license COPYING
%{python3_sitearch}/createrepo_c/
+%{python3_sitearch}/*egg-info
%endif
%changelog
++++++ createrepo_c-0.12.1.tar.gz -> createrepo_c-0.15.4.tar.gz ++++++
++++ 10015 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-zope.testing for openSUSE:Leap:15.2 checked in at 2020-03-01 08:51:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-zope.testing (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-zope.testing.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.testing"
Sun Mar 1 08:51:01 2020 rev:12 rq:780506 version:4.7
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-zope.testing/python-zope.testing.changes 2020-01-15 15:54:47.479644261 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-zope.testing.new.26092/python-zope.testing.changes 2020-03-01 08:51:05.169238908 +0100
@@ -1,0 +2,19 @@
+Mon Oct 14 14:51:47 UTC 2019 - Matej Cepl <mcepl(a)suse.com>
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+-------------------------------------------------------------------
+Fri Apr 5 14:44:29 UTC 2019 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- update to version 4.7
+ * Added support for Python 3.7.
+ * Remove dependencies on zope.interface and zope.exceptions.
+ * Remove use of 2to3 for outdated versions of PyPy3, letting us
+ build universal wheels.
+
+-------------------------------------------------------------------
+Tue Dec 4 12:56:32 UTC 2018 - Matej Cepl <mcepl(a)suse.com>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
Old:
----
zope.testing-4.6.1.tar.gz
New:
----
zope.testing-4.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zope.testing.spec ++++++
--- /var/tmp/diff_new_pack.2fU7LK/_old 2020-03-01 08:51:05.521239609 +0100
+++ /var/tmp/diff_new_pack.2fU7LK/_new 2020-03-01 08:51:05.521239609 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-zope.testing
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,22 @@
# 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-%{**}}
Name: python-zope.testing
-Version: 4.6.1
+Version: 4.7
Release: 0
Summary: Zope testing helpers
License: ZPL-2.1
-Group: Development/Languages/Python
-Url: https://pypi.python.org/pypi/zope.testing
+URL: https://pypi.python.org/pypi/zope.testing
Source: https://files.pythonhosted.org/packages/source/z/zope.testing/zope.testing-…
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
# Test requirements:
-BuildRequires: %{python_module zope.exceptions}
-BuildRequires: %{python_module zope.interface}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-zope.exceptions
-Requires: python-zope.interface
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -96,14 +89,14 @@
%install
%python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %{python_files}
-%defattr(-,root,root,-)
-%doc COPYRIGHT.txt LICENSE.txt README.rst
+%license LICENSE.txt
+%doc COPYRIGHT.txt README.rst
%{python_sitelib}/*
%changelog
++++++ zope.testing-4.6.1.tar.gz -> zope.testing-4.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/.gitignore new/zope.testing-4.7/.gitignore
--- old/zope.testing-4.6.1/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/zope.testing-4.7/.gitignore 2018-10-04 15:59:02.000000000 +0200
@@ -0,0 +1,14 @@
+*.pyc
+__pycache__
+.installed.cfg
+bin
+eggs
+develop-eggs
+build
+docs/_build
+parts
+*.egg-info
+.tox
+.coverage
+nosetests.xml
+coverage.xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/.travis.yml new/zope.testing-4.7/.travis.yml
--- old/zope.testing-4.6.1/.travis.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/zope.testing-4.7/.travis.yml 2018-10-04 15:59:02.000000000 +0200
@@ -0,0 +1,21 @@
+language: python
+sudo: false
+python:
+ - 2.7
+ - 3.3
+ - 3.4
+ - 3.5
+ - 3.6
+ - pypy
+ - pypy3
+matrix:
+ include:
+ - python: "3.7"
+ dist: xenial
+ sudo: true
+install:
+ - pip install -e .[test]
+script:
+ - python setup.py -q test -q
+notifications:
+ email: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/CHANGES.rst new/zope.testing-4.7/CHANGES.rst
--- old/zope.testing-4.6.1/CHANGES.rst 2017-01-04 15:09:15.000000000 +0100
+++ new/zope.testing-4.7/CHANGES.rst 2018-10-04 15:59:02.000000000 +0200
@@ -1,6 +1,22 @@
Changes
=======
+4.7 (2018-10-04)
+----------------
+
+- Added support for Python 3.7.
+
+
+4.6.2 (2017-06-12)
+------------------
+
+- Remove dependencies on ``zope.interface`` and ``zope.exceptions``;
+ they're not used here.
+
+- Remove use of 2to3 for outdated versions of PyPy3, letting us build
+ universal wheels.
+
+
4.6.1 (2017-01-04)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/PKG-INFO new/zope.testing-4.7/PKG-INFO
--- old/zope.testing-4.6.1/PKG-INFO 2017-01-04 15:09:15.000000000 +0100
+++ new/zope.testing-4.7/PKG-INFO 2018-10-04 15:59:02.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: zope.testing
-Version: 4.6.1
+Version: 4.7
Summary: Zope testing helpers
Home-page: https://github.com/zopefoundation/zope.testing
Author: Zope Foundation and Contributors
@@ -14,7 +14,7 @@
:target: https://pypi.python.org/pypi/zope.testing/
:alt: Latest Version
- .. image:: https://travis-ci.org/zopefoundation/zope.testing.png?branch=master
+ .. image:: https://travis-ci.org/zopefoundation/zope.testing.svg?branch=master
:target: https://travis-ci.org/zopefoundation/zope.testing
.. image:: https://readthedocs.org/projects/zopetesting/badge/?version=latest
@@ -1374,6 +1374,22 @@
Changes
=======
+ 4.7 (2018-10-04)
+ ----------------
+
+ - Added support for Python 3.7.
+
+
+ 4.6.2 (2017-06-12)
+ ------------------
+
+ - Remove dependencies on ``zope.interface`` and ``zope.exceptions``;
+ they're not used here.
+
+ - Remove use of 2to3 for outdated versions of PyPy3, letting us build
+ universal wheels.
+
+
4.6.1 (2017-01-04)
------------------
@@ -1886,8 +1902,10 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Framework :: Zope3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Testing
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/README.rst new/zope.testing-4.7/README.rst
--- old/zope.testing-4.6.1/README.rst 2017-01-04 15:09:15.000000000 +0100
+++ new/zope.testing-4.7/README.rst 2018-10-04 15:59:02.000000000 +0200
@@ -6,7 +6,7 @@
:target: https://pypi.python.org/pypi/zope.testing/
:alt: Latest Version
-.. image:: https://travis-ci.org/zopefoundation/zope.testing.png?branch=master
+.. image:: https://travis-ci.org/zopefoundation/zope.testing.svg?branch=master
:target: https://travis-ci.org/zopefoundation/zope.testing
.. image:: https://readthedocs.org/projects/zopetesting/badge/?version=latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/setup.cfg new/zope.testing-4.7/setup.cfg
--- old/zope.testing-4.6.1/setup.cfg 2017-01-04 15:09:15.000000000 +0100
+++ new/zope.testing-4.7/setup.cfg 2018-10-04 15:59:02.000000000 +0200
@@ -1,5 +1,7 @@
+[bdist_wheel]
+universal = 1
+
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/setup.py new/zope.testing-4.7/setup.py
--- old/zope.testing-4.6.1/setup.py 2017-01-04 15:09:15.000000000 +0100
+++ new/zope.testing-4.7/setup.py 2018-10-04 15:59:02.000000000 +0200
@@ -19,24 +19,9 @@
"""Setup for zope.testing package
"""
import os
-import platform
from setuptools import setup
-if platform.python_implementation() == 'PyPy' \
- and platform.python_version() > '3':
- extras = dict(
- use_2to3=True,
- convert_2to3_doctests=[
- 'src/zope/testing/doctest.txt',
- 'src/zope/testing/formparser.txt',
- 'src/zope/testing/module.txt',
- 'src/zope/testing/setupstack.txt'],
- )
-else:
- extras = {}
-
-
def read(*rnames):
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()
@@ -51,7 +36,8 @@
'setupstack.txt',
'wait.txt',
'doctestcase.txt',
- ]]
+ ]
+]
long_description = '\n\n'.join(
@@ -63,7 +49,7 @@
setup(
name='zope.testing',
- version='4.6.1',
+ version='4.7',
url='https://github.com/zopefoundation/zope.testing',
license='ZPL 2.1',
description='Zope testing helpers',
@@ -83,6 +69,7 @@
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3.7",
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
"Framework :: Zope3",
@@ -92,15 +79,18 @@
keywords=keywords,
packages=[
"zope",
- "zope.testing"],
+ "zope.testing",
+ ],
package_dir={'': 'src'},
namespace_packages=['zope'],
install_requires=[
'setuptools',
- 'zope.exceptions',
- 'zope.interface'],
+ ],
+ extras_require={
+ 'test': [
+ ],
+ },
include_package_data=True,
zip_safe=False,
test_suite='zope.testing.tests.test_suite',
- **extras
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/src/zope.testing.egg-info/PKG-INFO new/zope.testing-4.7/src/zope.testing.egg-info/PKG-INFO
--- old/zope.testing-4.6.1/src/zope.testing.egg-info/PKG-INFO 2017-01-04 15:09:15.000000000 +0100
+++ new/zope.testing-4.7/src/zope.testing.egg-info/PKG-INFO 2018-10-04 15:59:02.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: zope.testing
-Version: 4.6.1
+Version: 4.7
Summary: Zope testing helpers
Home-page: https://github.com/zopefoundation/zope.testing
Author: Zope Foundation and Contributors
@@ -14,7 +14,7 @@
:target: https://pypi.python.org/pypi/zope.testing/
:alt: Latest Version
- .. image:: https://travis-ci.org/zopefoundation/zope.testing.png?branch=master
+ .. image:: https://travis-ci.org/zopefoundation/zope.testing.svg?branch=master
:target: https://travis-ci.org/zopefoundation/zope.testing
.. image:: https://readthedocs.org/projects/zopetesting/badge/?version=latest
@@ -1374,6 +1374,22 @@
Changes
=======
+ 4.7 (2018-10-04)
+ ----------------
+
+ - Added support for Python 3.7.
+
+
+ 4.6.2 (2017-06-12)
+ ------------------
+
+ - Remove dependencies on ``zope.interface`` and ``zope.exceptions``;
+ they're not used here.
+
+ - Remove use of 2to3 for outdated versions of PyPy3, letting us build
+ universal wheels.
+
+
4.6.1 (2017-01-04)
------------------
@@ -1886,8 +1902,10 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Framework :: Zope3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Testing
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/src/zope.testing.egg-info/SOURCES.txt new/zope.testing-4.7/src/zope.testing.egg-info/SOURCES.txt
--- old/zope.testing-4.6.1/src/zope.testing.egg-info/SOURCES.txt 2017-01-04 15:09:15.000000000 +0100
+++ new/zope.testing-4.7/src/zope.testing.egg-info/SOURCES.txt 2018-10-04 15:59:02.000000000 +0200
@@ -1,3 +1,5 @@
+.gitignore
+.travis.yml
CHANGES.rst
COPYRIGHT.txt
LICENSE.txt
@@ -6,6 +8,7 @@
bootstrap.py
buildout.cfg
rtd.txt
+setup.cfg
setup.py
tox.ini
src/zope/__init__.py
@@ -14,7 +17,6 @@
src/zope.testing.egg-info/dependency_links.txt
src/zope.testing.egg-info/namespace_packages.txt
src/zope.testing.egg-info/not-zip-safe
-src/zope.testing.egg-info/pbr.json
src/zope.testing.egg-info/requires.txt
src/zope.testing.egg-info/top_level.txt
src/zope/testing/__init__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/src/zope.testing.egg-info/pbr.json new/zope.testing-4.7/src/zope.testing.egg-info/pbr.json
--- old/zope.testing-4.6.1/src/zope.testing.egg-info/pbr.json 2017-01-04 15:09:15.000000000 +0100
+++ new/zope.testing-4.7/src/zope.testing.egg-info/pbr.json 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-{"is_release": true, "git_version": "10914ec"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/src/zope.testing.egg-info/requires.txt new/zope.testing-4.7/src/zope.testing.egg-info/requires.txt
--- old/zope.testing-4.6.1/src/zope.testing.egg-info/requires.txt 2017-01-04 15:09:15.000000000 +0100
+++ new/zope.testing-4.7/src/zope.testing.egg-info/requires.txt 2018-10-04 15:59:02.000000000 +0200
@@ -1,3 +1,3 @@
setuptools
-zope.exceptions
-zope.interface
+
+[test]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zope.testing-4.6.1/tox.ini new/zope.testing-4.7/tox.ini
--- old/zope.testing-4.6.1/tox.ini 2017-01-04 15:09:15.000000000 +0100
+++ new/zope.testing-4.7/tox.ini 2018-10-04 15:59:02.000000000 +0200
@@ -1,10 +1,9 @@
[tox]
envlist =
- py27,py33,py34,py35,py36,pypy,pypy3
+ py27,py33,py34,py35,py36,py37,pypy,pypy3
[testenv]
commands =
python setup.py -q test -q
deps =
- zope.exceptions
- zope.interface
+ .[test]
1
0
Hello community,
here is the log from the commit of package python-CherryPy for openSUSE:Leap:15.2 checked in at 2020-03-01 08:51:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-CherryPy (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-CherryPy.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-CherryPy"
Sun Mar 1 08:51:00 2020 rev:18 rq:780505 version:18.3.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-CherryPy/python-CherryPy.changes 2020-01-15 15:45:54.179339148 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-CherryPy.new.26092/python-CherryPy.changes 2020-03-01 08:51:04.357237293 +0100
@@ -2 +2 @@
-Thu Nov 21 17:53:17 CET 2019 - Matej Cepl <mcepl(a)suse.com>
+Mon Feb 24 12:53:40 UTC 2020 - Tomáš Chvátal <tchvatal(a)suse.com>
@@ -4,4 +4,11 @@
-- Add compatibility_w_Python_fix.patch to make tests pass even
- with the more recent versions of Python which have fixed
- http.client.HTTPConnection.putrequest().
- gh#cherrypy/cherrypy#1781
+- Fix few more tests that are skipped in travis
+- Remove patch compatibility_w_Python_fix.patch
+
+-------------------------------------------------------------------
+Sat Nov 30 17:50:07 CET 2019 - Matej Cepl <mcepl(a)suse.com>
+
+- (bsc#1158120) Add compatibility_w_Python_fix.patch to make
+ tests pass even with the more recent versions of Python which
+ have fixed http.client.HTTPConnection.putrequest().
+ Fallout from jsc#PM-1350.
+ Aka gh#cherrypy/cherrypy#1781
@@ -8,0 +16,73 @@
+
+-------------------------------------------------------------------
+Wed Oct 30 13:15:39 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Skip known failing test upstream
+
+-------------------------------------------------------------------
+Fri Oct 11 07:43:34 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Do not remove cherrypy tests from distribution as other projects
+ use it for self testing too
+
+-------------------------------------------------------------------
+Mon Oct 7 13:26:26 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Update to 18.3.0:
+ * Support handling multiple exceptions when processing hooks
+
+-------------------------------------------------------------------
+Tue Sep 24 08:49:15 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Update to 18.2.0:
+ * File-based sessions no longer attempt to remove the lock files
+ when releasing locks, instead deferring to the default behavior
+ of zc.lockfile. Fixes :issue:`1391` and :issue:`1779`.
+ * Add native support for 308 Permanent Redirect usable via raise
+ cherrypy.HTTPRedirect('/new_uri', 308).
+- Drop merged patch pytest5.patch
+
+-------------------------------------------------------------------
+Fri Jul 19 12:13:03 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Add patch to work with pytest5, from upstream:
+ * pytest5.patch
+
+-------------------------------------------------------------------
+Fri Jul 19 12:06:57 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Update to 18.1.2:
+ * Fixed :issue:`1377` via :pr:`1785`: Restore a native WSGI-less HTTP server support.
+ * :pr:`1769`: Reduce log level for non-error events in win32.py
+
+-------------------------------------------------------------------
+Fri May 31 15:32:40 CEST 2019 - Matej Cepl <mcepl(a)suse.com>
+
+- boo#1136862: ignore StaticTest.test_null_bytes test case, which
+ fails due to Python 3 fixes for CVE-2019-9740. (gh#cherrypy/cherrypy#1781)
+
+-------------------------------------------------------------------
+Thu May 16 18:12:19 UTC 2019 - Guang Yee <gyee(a)suse.com>
+
+- Disable test_wait_publishes_periodically test as it is unstable and
+ highly time sensitive.
+
+-------------------------------------------------------------------
+Thu Mar 28 14:03:13 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Update to 18.1.1:
+ * Revert bus behavior change from 18.1.0 as the former behavior
+ was intentional
+
+-------------------------------------------------------------------
+Tue Mar 5 12:19:29 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Update to 18.1.0:
+ * too many changes to iterate, see CHANGES.rst
+ * Dropped support for python2
+- Make sure tests are run
+
+-------------------------------------------------------------------
+Fri Feb 9 14:23:16 UTC 2018 - normand(a)linux.vnet.ibm.com
+
+- disable pytest as transient failures
Old:
----
CherryPy-10.2.1.tar.gz
compatibility_w_Python_fix.patch
New:
----
CherryPy-18.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-CherryPy.spec ++++++
--- /var/tmp/diff_new_pack.rhRF6L/_old 2020-03-01 08:51:04.829238232 +0100
+++ /var/tmp/diff_new_pack.rhRF6L/_new 2020-03-01 08:51:04.833238240 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-CherryPy
#
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,50 +16,41 @@
#
+%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define oldpython python
-%bcond_without python2
Name: python-CherryPy
-Version: 10.2.1
+Version: 18.3.0
Release: 0
Summary: Object-Oriented HTTP framework
License: BSD-3-Clause
-Group: Development/Languages/Python
URL: http://www.cherrypy.org
Source: https://files.pythonhosted.org/packages/source/C/CherryPy/CherryPy-%{versio…
-# PATCH-FIX-UPSTREAM compatibility_w_Python_fix.patch gh#cherrypy/cherrypy#1781 mcepl(a)suse.com
-# make a test suite compatible with the more recent versions of Python
-Patch0: compatibility_w_Python_fix.patch
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-cheroot >= 5.2.0
-Requires: python-portend >= 1.6.1
-Requires: python-six
+Requires: python-cheroot >= 6.2.4
+Requires: python-more-itertools
+Requires: python-portend >= 2.1.1
+Requires: python-zc.lockfile
Requires(post): update-alternatives
Requires(postun): update-alternatives
-Recommends: python-Routes
+Recommends: python-Routes >= 2.3.1
Recommends: python-flup
Recommends: python-memcached >= 1.58
Recommends: python-pyOpenSSL
Recommends: python-simplejson
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module cheroot >= 5.2.0}
-BuildRequires: %{python_module nose}
-BuildRequires: %{python_module portend >= 1.6.1}
-BuildRequires: %{python_module pytest-runner}
+BuildRequires: %{python_module cheroot >= 6.2.4}
+BuildRequires: %{python_module more-itertools}
+BuildRequires: %{python_module path.py}
+BuildRequires: %{python_module portend >= 2.1.1}
+BuildRequires: %{python_module pytest-services}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module six}
-%if %{with python2}
-BuildRequires: python2-backports.unittest_mock
-%endif
+BuildRequires: %{python_module requests-toolbelt}
+BuildRequires: %{python_module zc.lockfile}
# /SECTION
-%ifpython2
-Provides: %{oldpython}-cherrypy = %{version}
-Obsoletes: %{oldpython}-cherrypy < %{version}
-%endif
%python_subpackages
%description
@@ -77,18 +68,24 @@
%prep
%setup -q -n CherryPy-%{version}
-%autopatch -p1
+# do not require cov/xdist/etc
+sed -i -e '/addopts/d' pytest.ini
%build
%python_build
%install
%python_install
+# Do not remove the tests as other project use them for self validation
+#%%python_expand rm -r %{buildroot}%{$python_sitelib}/cherrypy/test
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/cherryd
-%fdupes %{buildroot}%{_prefix}
%check
-%pytest cherrypy/test -k 'not test_null_bytes'
+export TRAVIS="true"
+# test_HTTP11_Timeout_after_request https://github.com/cherrypy/cherrypy/issues/1817
+# autoreload and sighup fail on SLE
+%pytest -k 'not (test_null_bytes or test_HTTP11_Timeout_after_request or test_4_Autoreload or test_SIGHUP_daemonized)'
%post
%python_install_alternative cherryd
++++++ CherryPy-10.2.1.tar.gz -> CherryPy-18.3.0.tar.gz ++++++
++++ 16522 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-tempora for openSUSE:Leap:15.2 checked in at 2020-03-01 08:50:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-tempora (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-tempora.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tempora"
Sun Mar 1 08:50:58 2020 rev:16 rq:780305 version:1.8
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-tempora/python-tempora.changes 2020-01-15 15:53:45.679608839 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-tempora.new.26092/python-tempora.changes 2020-03-01 08:51:02.793234182 +0100
@@ -1,0 +2,6 @@
+Mon Feb 24 11:16:52 UTC 2020 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Update to 1.8 to work with updated portend package:
+ * Support for Timer argument
+
+-------------------------------------------------------------------
Old:
----
tempora-1.6.1.tar.gz
New:
----
tempora-1.8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tempora.spec ++++++
--- /var/tmp/diff_new_pack.v85hCk/_old 2020-03-01 08:51:03.153234898 +0100
+++ /var/tmp/diff_new_pack.v85hCk/_new 2020-03-01 08:51:03.157234906 +0100
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-tempora
-Version: 1.6.1
+Version: 1.8
Release: 0
Summary: Objects and routines pertaining to date and time (tempora)
License: MIT
@@ -58,7 +58,7 @@
%install
%python_install
-%fdupes %{buildroot}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m pytest tests
++++++ tempora-1.6.1.tar.gz -> tempora-1.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/.readthedocs.yml new/tempora-1.8/.readthedocs.yml
--- old/tempora-1.6.1/.readthedocs.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/tempora-1.8/.readthedocs.yml 2017-06-25 17:53:17.000000000 +0200
@@ -0,0 +1,5 @@
+python:
+ version: 3
+ extra_requirements:
+ - docs
+ pip_install: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/.travis.yml new/tempora-1.8/.travis.yml
--- old/tempora-1.6.1/.travis.yml 2016-09-13 02:20:01.000000000 +0200
+++ new/tempora-1.8/.travis.yml 2017-06-25 17:53:17.000000000 +0200
@@ -2,10 +2,11 @@
language: python
python:
- 2.7
-- 3.5
+- 3.6
+install:
+- pip install tox "setuptools>=28.2"
script:
-- pip install -U pytest
-- python setup.py test
+- tox
branches:
except:
- skeleton
@@ -15,8 +16,9 @@
on:
tags: true
all_branches: true
- python: 3.5
+ python: 3.6
user: jaraco
distributions: dists
+ skip_upload_docs: true
password:
secure: biQEz9Cj1jtsTAjRztnKiJfYSA930L42f67duu7L2vdomRw/sGQOZ7ygStibeHj0mk8w+o5PV7f8oYu0NfKoonc5PF2Zlmj7izEC9Sl7zS6n8NwvToVqAuQikurfk8Fa1qv5ppqaJcbofT6/lI8Cx9fqucwCSqsIcwka7XB4Oaf+aycfVsKr/G302UTw82SnGiteYFPZeTkqUQx5zVJJ09dyTdDYc8YWP6VqmpE0KX2XxyXIwESglVXB7mf7AGI9VRh1Pji1SmsiONMmFC+UX1Um/HHhHG7Id+wKy1eO3/JYbLlq4IyZT7HnBZMVIf0Ib5fxrX7RztSO2H0tOEa1/acJQSoBMICD2j/fKk3BoxIBkY4qiKpiktNlka7AbzfBqj2qABoZFXlNIV2FPFSE6qZNUXe+NMHFVaQ5+7VS6JZUZQIt4+klbpH+UJTVIXSzbZpu2trsLsXyXdZLIYk5lg5tpGfj9DEblSJgJoMvmOmuPZMcjTfquPIw+oJ1EJayQL69VnA4czErKE1sla5ArKCEnV6yhDLFv2uze8f+XJq5Ed7ccnXEgIMW/nNRgZVLiQCbT1x5hGzKdNGUiDe6LWF8YbfbJnjEDTshBZXS0vNfPbxhkzLfzsji2kovOH6gH/Rme4ZF6RjAoMejeOPTYbB7AA2kWWeW5qlynU4ARi0=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/CHANGES.rst new/tempora-1.8/CHANGES.rst
--- old/tempora-1.6.1/CHANGES.rst 2016-09-13 02:20:01.000000000 +0200
+++ new/tempora-1.8/CHANGES.rst 2017-06-25 17:53:17.000000000 +0200
@@ -1,3 +1,22 @@
+1.8
+===
+
+Introducing ``timing.Timer``, featuring a ``expired``
+method for detecting when a certain duration has been
+exceeded.
+
+1.7.1
+=====
+
+#3: Stopwatch now behaves reliably during timezone
+ changes and (presumably) daylight savings time
+ changes.
+
+1.7
+===
+
+Update project skeleton.
+
1.6
===
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/PKG-INFO new/tempora-1.8/PKG-INFO
--- old/tempora-1.6.1/PKG-INFO 2016-09-13 02:20:25.000000000 +0200
+++ new/tempora-1.8/PKG-INFO 2017-06-25 17:54:03.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: tempora
-Version: 1.6.1
+Version: 1.8
Summary: Objects and routines pertaining to date and time (tempora)
Home-page: https://github.com/jaraco/tempora
Author: Jason R. Coombs
@@ -25,9 +25,18 @@
- timing contains routines for measuring and profiling.
- schedule contains an event scheduler.
+
+ License
+ =======
+
+ License is indicated in the project metadata (typically one or more
+ of the Trove classifiers). For more details, see `this explanation
+ <https://github.com/jaraco/skeleton/issues/1>`_.
+
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
+Requires-Python: >=2.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/README.rst new/tempora-1.8/README.rst
--- old/tempora-1.6.1/README.rst 2016-09-13 02:20:01.000000000 +0200
+++ new/tempora-1.8/README.rst 2017-06-25 17:53:17.000000000 +0200
@@ -16,3 +16,11 @@
utilities and constants.
- timing contains routines for measuring and profiling.
- schedule contains an event scheduler.
+
+
+License
+=======
+
+License is indicated in the project metadata (typically one or more
+of the Trove classifiers). For more details, see `this explanation
+<https://github.com/jaraco/skeleton/issues/1>`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/appveyor.yml new/tempora-1.8/appveyor.yml
--- old/tempora-1.6.1/appveyor.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/tempora-1.8/appveyor.yml 2017-06-25 17:53:17.000000000 +0200
@@ -0,0 +1,21 @@
+environment:
+
+ APPVEYOR: true
+
+ matrix:
+ - PYTHON: "C:\\Python36-x64"
+ - PYTHON: "C:\\Python27-x64"
+
+install:
+ # symlink python from a directory with a space
+ - "mklink /d \"C:\\Program Files\\Python\" %PYTHON%"
+ - "SET PYTHON=\"C:\\Program Files\\Python\""
+ - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
+
+build: off
+
+test_script:
+ - "python -m pip install tox"
+ - "tox"
+
+version: '{build}'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/docs/conf.py new/tempora-1.8/docs/conf.py
--- old/tempora-1.6.1/docs/conf.py 2016-09-13 02:20:01.000000000 +0200
+++ new/tempora-1.8/docs/conf.py 2017-06-25 17:53:17.000000000 +0200
@@ -1,38 +1,31 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
-import setuptools_scm
-
extensions = [
'sphinx.ext.autodoc',
+ 'jaraco.packaging.sphinx',
'rst.linker',
]
-# General information about the project.
-project = 'tempora'
-copyright = '2015-2016 Jason R. Coombs'
-
-# The short X.Y version.
-version = setuptools_scm.get_version(root='..', relative_to=__file__)
-# The full version, including alpha/beta/rc tags.
-release = version
-
master_doc = 'index'
link_files = {
- 'CHANGES.rst': dict(
+ '../CHANGES.rst': dict(
using=dict(
GH='https://github.com',
- project=project,
),
replace=[
dict(
- pattern=r"(Issue )?#(?P<issue>\d+)",
- url='{GH}/jaraco/{project}/issues/{issue}',
+ pattern=r'(Issue )?#(?P<issue>\d+)',
+ url='{package_url}/issues/{issue}',
+ ),
+ dict(
+ pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
+ with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n',
),
dict(
- pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
- with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
+ pattern=r'PEP[- ](?P<pep_number>\d+)',
+ url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
),
],
),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/pytest.ini new/tempora-1.8/pytest.ini
--- old/tempora-1.6.1/pytest.ini 2016-09-13 02:20:01.000000000 +0200
+++ new/tempora-1.8/pytest.ini 2017-06-25 17:53:17.000000000 +0200
@@ -1,4 +1,4 @@
[pytest]
-norecursedirs=*.egg .eggs dist build
+norecursedirs=dist build .tox
addopts=--doctest-modules
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/setup.cfg new/tempora-1.8/setup.cfg
--- old/tempora-1.6.1/setup.cfg 2016-09-13 02:20:25.000000000 +0200
+++ new/tempora-1.8/setup.cfg 2017-06-25 17:54:03.000000000 +0200
@@ -1,16 +1,11 @@
[aliases]
-release = dists build_sphinx upload upload_docs
+release = dists upload
dists = clean --all sdist bdist_wheel
-test = pytest
[wheel]
universal = 1
-[upload]
-repository = https://upload.pypi.org/legacy/
-
[egg_info]
tag_build =
-tag_svn_revision = 0
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/setup.py new/tempora-1.8/setup.py
--- old/tempora-1.6.1/setup.py 2016-09-13 02:20:01.000000000 +0200
+++ new/tempora-1.8/setup.py 2017-06-25 17:53:17.000000000 +0200
@@ -3,24 +3,16 @@
# Project skeleton maintained at https://github.com/jaraco/skeleton
import io
-import sys
import setuptools
with io.open('README.rst', encoding='utf-8') as readme:
long_description = readme.read()
-needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
-pytest_runner = ['pytest_runner'] if needs_pytest else []
-needs_sphinx = {'release', 'build_sphinx', 'upload_docs'}.intersection(sys.argv)
-sphinx = ['sphinx', 'rst.linker'] if needs_sphinx else []
-needs_wheel = {'release', 'bdist_wheel'}.intersection(sys.argv)
-wheel = ['wheel'] if needs_wheel else []
-
name = 'tempora'
description = 'Objects and routines pertaining to date and time (tempora)'
-setup_params = dict(
+params = dict(
name=name,
use_scm_version=True,
author="Jason R. Coombs",
@@ -30,19 +22,25 @@
url="https://github.com/jaraco/" + name,
packages=setuptools.find_packages(),
include_package_data=True,
- namespace_packages=name.split('.')[:-1],
+ python_requires='>=2.7',
install_requires=[
'six',
'pytz',
],
extras_require={
+ 'testing': [
+ 'pytest>=2.8',
+ 'pytest-sugar',
+ 'backports.unittest_mock',
+ ],
+ 'docs': [
+ 'sphinx',
+ 'jaraco.packaging>=3.2',
+ 'rst.linker>=1.9',
+ ],
},
setup_requires=[
- 'setuptools_scm>=1.9',
- ] + pytest_runner + sphinx + wheel,
- tests_require=[
- 'pytest>=2.8',
- 'backports.unittest_mock',
+ 'setuptools_scm>=1.15.0',
],
classifiers=[
"Development Status :: 5 - Production/Stable",
@@ -58,4 +56,4 @@
},
)
if __name__ == '__main__':
- setuptools.setup(**setup_params)
+ setuptools.setup(**params)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/tempora/timing.py new/tempora-1.8/tempora/timing.py
--- old/tempora-1.6.1/tempora/timing.py 2016-09-13 02:20:01.000000000 +0200
+++ new/tempora-1.8/tempora/timing.py 2017-06-25 17:53:17.000000000 +0200
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
from __future__ import unicode_literals, absolute_import
import datetime
@@ -44,16 +46,16 @@
del self.start_time
def start(self):
- self.start_time = datetime.datetime.now()
+ self.start_time = datetime.datetime.utcnow()
def stop(self):
- stop_time = datetime.datetime.now()
+ stop_time = datetime.datetime.utcnow()
self.elapsed += stop_time - self.start_time
del self.start_time
return self.elapsed
def split(self):
- local_duration = datetime.datetime.now() - self.start_time
+ local_duration = datetime.datetime.utcnow() - self.start_time
return self.elapsed + local_duration
# context manager support
@@ -64,6 +66,7 @@
def __exit__(self, exc_type, exc_value, traceback):
self.stop()
+
class IntervalGovernor(object):
"""
Decorate a function to only allow it to be called once per
@@ -88,3 +91,33 @@
return wrapper
__call__ = decorate
+
+
+class Timer(Stopwatch):
+ """
+ Watch for a target elapsed time.
+
+ >>> t = Timer(0.1)
+ >>> t.expired()
+ False
+ >>> __import__('time').sleep(0.15)
+ >>> t.expired()
+ True
+ """
+ def __init__(self, target=float('Inf')):
+ self.target = self._accept(target)
+ super(Timer, self).__init__()
+
+ def _accept(self, target):
+ "Accept None or ∞ or datetime or numeric for target"
+ if isinstance(target, datetime.timedelta):
+ target = target.total_seconds()
+
+ if target is None:
+ # treat None as infinite target
+ target = float('Inf')
+
+ return target
+
+ def expired(self):
+ return self.split().total_seconds() > self.target
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/tempora.egg-info/PKG-INFO new/tempora-1.8/tempora.egg-info/PKG-INFO
--- old/tempora-1.6.1/tempora.egg-info/PKG-INFO 2016-09-13 02:20:25.000000000 +0200
+++ new/tempora-1.8/tempora.egg-info/PKG-INFO 2017-06-25 17:54:03.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: tempora
-Version: 1.6.1
+Version: 1.8
Summary: Objects and routines pertaining to date and time (tempora)
Home-page: https://github.com/jaraco/tempora
Author: Jason R. Coombs
@@ -25,9 +25,18 @@
- timing contains routines for measuring and profiling.
- schedule contains an event scheduler.
+
+ License
+ =======
+
+ License is indicated in the project metadata (typically one or more
+ of the Trove classifiers). For more details, see `this explanation
+ <https://github.com/jaraco/skeleton/issues/1>`_.
+
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
+Requires-Python: >=2.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/tempora.egg-info/SOURCES.txt new/tempora-1.8/tempora.egg-info/SOURCES.txt
--- old/tempora-1.6.1/tempora.egg-info/SOURCES.txt 2016-09-13 02:20:25.000000000 +0200
+++ new/tempora-1.8/tempora.egg-info/SOURCES.txt 2017-06-25 17:54:03.000000000 +0200
@@ -1,10 +1,12 @@
-.gitignore
+.readthedocs.yml
.travis.yml
CHANGES.rst
README.rst
+appveyor.yml
pytest.ini
setup.cfg
setup.py
+tox.ini
docs/conf.py
docs/history.rst
docs/index.rst
@@ -15,7 +17,6 @@
tempora.egg-info/SOURCES.txt
tempora.egg-info/dependency_links.txt
tempora.egg-info/entry_points.txt
-tempora.egg-info/namespace_packages.txt
tempora.egg-info/requires.txt
tempora.egg-info/top_level.txt
tempora/tests/test_schedule.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/tempora.egg-info/namespace_packages.txt new/tempora-1.8/tempora.egg-info/namespace_packages.txt
--- old/tempora-1.6.1/tempora.egg-info/namespace_packages.txt 2016-09-13 02:20:25.000000000 +0200
+++ new/tempora-1.8/tempora.egg-info/namespace_packages.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/tempora.egg-info/requires.txt new/tempora-1.8/tempora.egg-info/requires.txt
--- old/tempora-1.6.1/tempora.egg-info/requires.txt 2016-09-13 02:20:25.000000000 +0200
+++ new/tempora-1.8/tempora.egg-info/requires.txt 2017-06-25 17:54:03.000000000 +0200
@@ -1,2 +1,12 @@
six
pytz
+
+[docs]
+sphinx
+jaraco.packaging>=3.2
+rst.linker>=1.9
+
+[testing]
+pytest>=2.8
+pytest-sugar
+backports.unittest_mock
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/tests/test_timing.py new/tempora-1.8/tests/test_timing.py
--- old/tempora-1.6.1/tests/test_timing.py 2016-09-13 02:20:01.000000000 +0200
+++ new/tempora-1.8/tests/test_timing.py 2017-06-25 17:53:17.000000000 +0200
@@ -1,4 +1,7 @@
import datetime
+import time
+import contextlib
+import os
from unittest import mock
from tempora import timing
@@ -18,3 +21,24 @@
governed('b')
governed(3, 'sir')
func_under_test.assert_called_once_with('a')
+
+
+(a)contextlib.contextmanager
+def change(alt_tz, monkeypatch):
+ monkeypatch.setitem(os.environ, 'TZ', alt_tz)
+ time.tzset()
+ try:
+ yield
+ finally:
+ monkeypatch.delitem(os.environ, 'TZ')
+ time.tzset()
+
+
+def test_Stopwatch_timezone_change(monkeypatch):
+ """
+ The stopwatch should provide a consistent duration even
+ if the timezone changes.
+ """
+ watch = timing.Stopwatch()
+ with change('AEST-10AEDT-11,M10.5.0,M3.5.0', monkeypatch):
+ assert abs(watch.split().total_seconds()) < 0.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-1.6.1/tox.ini new/tempora-1.8/tox.ini
--- old/tempora-1.6.1/tox.ini 1970-01-01 01:00:00.000000000 +0100
+++ new/tempora-1.8/tox.ini 2017-06-25 17:53:17.000000000 +0200
@@ -0,0 +1,7 @@
+[tox]
+minversion = 2.4
+
+[testenv]
+commands = py.test {posargs}
+usedevelop = True
+extras = testing
1
0