openSUSE Commits
Threads by month
- ----- 2024 -----
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2018
- 1 participants
- 1171 discussions
Hello community,
here is the log from the commit of package libqt5-qtbase for openSUSE:Factory checked in at 2018-09-03 10:33:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
and /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-qtbase"
Mon Sep 3 10:33:15 2018 rev:86 rq:631990 version:5.11.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes 2018-07-04 23:55:09.631890164 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 2018-09-03 10:33:16.772387560 +0200
@@ -1,0 +2,6 @@
+Mon Aug 27 20:34:33 UTC 2018 - fabian(a)ritter-vogt.de
+
+- Pass CFLAGS and CXXFLAGS to configure explicitly to ensure that
+ they are used
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libqt5-qtbase.spec ++++++
--- /var/tmp/diff_new_pack.S4eAvB/_old 2018-09-03 10:33:18.288391461 +0200
+++ /var/tmp/diff_new_pack.S4eAvB/_new 2018-09-03 10:33:18.288391461 +0200
@@ -902,7 +902,9 @@
-plugin-sql-odbc \
-plugin-sql-mysql -I/usr/include/mysql/ \
-qpa "xcb;wayland" \
- -v
+ -v \
+ QMAKE_CFLAGS+="$CFLAGS" \
+ QMAKE_CXXFLAGS+="$CXXFLAGS"
make %{?_smp_mflags}
1
0
Hello community,
here is the log from the commit of package python-kiwi for openSUSE:Factory checked in at 2018-09-03 10:33:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kiwi (Old)
and /work/SRC/openSUSE:Factory/.python-kiwi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kiwi"
Mon Sep 3 10:33:10 2018 rev:31 rq:631954 version:9.16.12
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kiwi/python-kiwi.changes 2018-08-07 09:40:32.333044660 +0200
+++ /work/SRC/openSUSE:Factory/.python-kiwi.new/python-kiwi.changes 2018-09-03 10:33:11.860374925 +0200
@@ -1,0 +2,201 @@
+Mon Aug 20 22:42:46 CEST 2018 - ms(a)suse.de
+
+- Bump version: 9.16.11 → 9.16.12
+
+-------------------------------------------------------------------
+Mon Aug 20 22:35:37 CEST 2018 - ms(a)suse.de
+
+- Follow up fix for skip_cleanup use
+
+ make sure doc_travis tox target has created the manual
+ pages such that the environment contains this data
+
+-------------------------------------------------------------------
+Mon Aug 20 22:09:18 CEST 2018 - ms(a)suse.de
+
+- Bump version: 9.16.10 → 9.16.11
+
+-------------------------------------------------------------------
+Mon Aug 20 22:08:04 CEST 2018 - ms(a)suse.de
+
+- Use skip_cleanup for deploy stage in travis
+
+ We need the tox build environment to run the deployment
+
+-------------------------------------------------------------------
+Mon Aug 20 19:18:38 CEST 2018 - ms(a)suse.de
+
+- Bump version: 9.16.9 → 9.16.10
+
+-------------------------------------------------------------------
+Mon Aug 20 17:37:11 CEST 2018 - ms(a)suse.de
+
+- Follow up fix for deploy target
+
+ Integration of man pages must be done as part of the sdist
+ setup because the travis pypi deployment only uses the
+ sdist target to bundle the sources
+
+-------------------------------------------------------------------
+Mon Aug 20 17:02:58 CEST 2018 - ms(a)suse.de
+
+- Bump version: 9.16.8 → 9.16.9
+
+-------------------------------------------------------------------
+Mon Aug 20 12:04:09 CEST 2018 - ms(a)suse.de
+
+- Fixed deploy target
+
+ As part of the deploy process in travis a bundle to pypi is
+ uploaded. The bundle is missing the compiled manual pages because
+ the doc_travis stage did not create them.
+
+-------------------------------------------------------------------
+Wed Aug 8 21:32:23 CEST 2018 - ms(a)suse.de
+
+- Bump version: 9.16.7 → 9.16.8
+
+-------------------------------------------------------------------
+Wed Aug 8 18:02:59 CEST 2018 - ms(a)suse.de
+
+- Update pxe server setup documentation
+
+ Delete the suggested modifications to /etc/sysconfig/atftpd
+ and trust the defaults provided by the package
+
+-------------------------------------------------------------------
+Wed Aug 8 17:56:24 CEST 2018 - ms(a)suse.de
+
+- Added support for system wide config file
+
+ If there is no user specific config file we are also
+ looking for a system wide /etc/kiwi.yml file
+
+-------------------------------------------------------------------
+Wed Aug 8 09:46:22 CEST 2018 - dcassany(a)suse.de
+
+- use more meaningful variable names
+
+-------------------------------------------------------------------
+Tue Aug 7 16:10:11 CEST 2018 - dcassany(a)suse.de
+
+- Fix baseStripUnusedLibs config method
+
+ This commit arguments handling of the baseStripUnusedLibs
+ that was not prepared to handle quoted variable containing a list.
+
+ Fixes #798
+
+-------------------------------------------------------------------
+Tue Aug 7 11:43:13 CEST 2018 - ms(a)suse.de
+
+- Added doc chapter for remote live boot
+
+-------------------------------------------------------------------
+Mon Aug 6 18:28:30 CEST 2018 - ms(a)suse.de
+
+- Added support for pxe live boot via AOE
+
+ The live ISO should support a network reference. We are using
+ the Ata Over Ethernet protocol to achieve this. In combination
+ with pxe boot of the kernel/initrd a live iso can boot from
+ the network using the following parameter example:
+
+ root=live:AOEINTERFACE:e0.1 rd.kiwi.live.pxe
+
+ Export of the live iso file via AOE can be achieved using the
+ vblade toolkit which needs to be available on the exporting
+ system and compatible with the live operating system.
+ This Fixes #796
+
+-------------------------------------------------------------------
+Mon Aug 6 12:21:24 CEST 2018 - ms(a)suse.de
+
+- Run schema validation/update per XSL stylesheets
+
+-------------------------------------------------------------------
+Mon Aug 6 12:16:53 CEST 2018 - ms(a)suse.de
+
+- Added XSL stylesheet to auto update schema
+
+ Drop oem-ataraid-scan from oemconfig if specified
+
+-------------------------------------------------------------------
+Mon Aug 6 11:45:15 CEST 2018 - ms(a)suse.de
+
+- Update vagrant doc chapter redirect links
+
+-------------------------------------------------------------------
+Mon Aug 6 11:39:03 CEST 2018 - ms(a)suse.de
+
+- Drop oem-ataraid-scan from schema
+
+ Along with the change we pin generateDS version to 2.29.14
+ because the newer version (2.29.19) creates broken python
+ syntax for elements with a value list for their content
+ like it's the case for the packagemanager element. The
+ tool uses the name k.packagemanager.content as class name
+ which is invalid for python.
+
+-------------------------------------------------------------------
+Mon Aug 6 11:31:07 CEST 2018 - ms(a)suse.de
+
+- Delete dmraid aka: softraid soft/fakeraid support
+
+ In fate#323743 the decision was made to drop dmraid from
+ the distribution. Along with the low business case for those
+ controllers and the support for linux softraid via mdadm
+ we also drop the support in kiwi for oem-ataraid-scan
+
+-------------------------------------------------------------------
+Mon Aug 6 11:21:22 CEST 2018 - ms(a)suse.de
+
+- Fixed unresolvables in EC2 integration build
+
+ For some reason libyui-ncurses-pkg8 is gone now
+
+-------------------------------------------------------------------
+Mon Aug 6 11:15:16 CEST 2018 - ms(a)suse.de
+
+- Fixed unresolvables in integration builds
+
+ For some reason libyui-ncurses-pkg8 is gone now
+
+-------------------------------------------------------------------
+Wed Aug 1 14:24:25 CEST 2018 - ms(a)suse.de
+
+- Bump version: 9.16.6 → 9.16.7
+
+-------------------------------------------------------------------
+Wed Aug 1 13:18:37 CEST 2018 - ms(a)suse.de
+
+- update vagrant doc chapter per review by Tom
+
+-------------------------------------------------------------------
+Wed Aug 1 09:03:19 CEST 2018 - ms(a)suse.de
+
+- Added vagrant setup chapter in the docs
+
+ Document steps to create a vagrant box for the libvirt
+ provider. Also provide information on provider support
+ This Fixes #792
+
+-------------------------------------------------------------------
+Tue Jul 31 09:45:35 CEST 2018 - ms(a)suse.de
+
+- Use xattr 0.9.3
+
+ Latest xattr is broken on pip
+
+-------------------------------------------------------------------
+Tue Jul 31 08:58:18 CEST 2018 - ms(a)suse.de
+
+- Fixed make obs_test_status
+
+ The helper script .obs_test_status looks up the build
+ results from the integration tests. With the introduction
+ of multibuild integration tests the script has to apply
++++ 10 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/python-kiwi/python-kiwi.changes
++++ and /work/SRC/openSUSE:Factory/.python-kiwi.new/python-kiwi.changes
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-kiwi.spec ++++++
--- /var/tmp/diff_new_pack.vJJMt4/_old 2018-09-03 10:33:12.712377116 +0200
+++ /var/tmp/diff_new_pack.vJJMt4/_new 2018-09-03 10:33:12.720377136 +0200
@@ -38,7 +38,7 @@
%endif
Name: python-kiwi
-Version: 9.16.6
+Version: 9.16.12
Provides: kiwi-schema = 6.6
Release: 0
Url: https://github.com/SUSE/kiwi
@@ -332,7 +332,6 @@
%endif
Requires: dracut-kiwi-lib
Requires: kexec-tools
-Requires: dmraid
%if 0%{?suse_version} || 0%{?debian} || 0%{?ubuntu}
Requires: multipath-tools
%endif
++++++ python-kiwi.tar.gz ++++++
++++ 2480 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package akonadi-server for openSUSE:Factory checked in at 2018-09-03 10:33:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/akonadi-server (Old)
and /work/SRC/openSUSE:Factory/.akonadi-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "akonadi-server"
Mon Sep 3 10:33:05 2018 rev:47 rq:631927 version:18.08.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/akonadi-server/akonadi-server.changes 2018-08-22 14:11:19.593068224 +0200
+++ /work/SRC/openSUSE:Factory/.akonadi-server.new/akonadi-server.changes 2018-09-03 10:33:06.316360665 +0200
@@ -1,0 +2,7 @@
+Tue Aug 28 08:35:13 UTC 2018 - wbauer(a)tmo.at
+
+- Add upstream patch to fix crashes under certain circumstances,
+ e.g. when searching: (kde#397239)
+ * Fix-crash-when-NotificationCollector-does-not-have-Connection.patch
+
+-------------------------------------------------------------------
New:
----
Fix-crash-when-NotificationCollector-does-not-have-Connection.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ akonadi-server.spec ++++++
--- /var/tmp/diff_new_pack.08mv9l/_old 2018-09-03 10:33:06.752361786 +0200
+++ /var/tmp/diff_new_pack.08mv9l/_new 2018-09-03 10:33:06.752361786 +0200
@@ -31,6 +31,8 @@
Url: http://akonadi-project.org
Source: %{rname}-%{version}.tar.xz
Source99: akonadi-server-rpmlintrc
+# PATCH-FIX-UPSTREAM
+Patch: Fix-crash-when-NotificationCollector-does-not-have-Connection.patch
%if 0%{?suse_version} > 1325
BuildRequires: libboost_graph-devel
BuildRequires: libboost_headers-devel
@@ -182,6 +184,7 @@
%prep
%setup -q -n %{rname}-%{version}
+%patch -p1
%build
%if 0%{?suse_version} < 1330
++++++ Fix-crash-when-NotificationCollector-does-not-have-Connection.patch ++++++
>From 0297248b0e768516236bdfeb55d04e8d4f4b1c80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= <dvratil(a)kde.org>
Date: Mon, 27 Aug 2018 23:26:02 +0200
Subject: Fix crash when NotificationCollector does not have Connection
This can happen when the NotificationCollector is invoked internally
for instance from the SearchManager.
BUG: 397239
FIXED-IN: 5.9.1
---
src/server/connection.cpp | 4 +++-
src/server/storage/notificationcollector.cpp | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/server/connection.cpp b/src/server/connection.cpp
index 832cc67..3e1f43d 100644
--- a/src/server/connection.cpp
+++ b/src/server/connection.cpp
@@ -79,7 +79,9 @@ Connection::Connection(quintptr socketDescriptor, QObject *parent)
Connection *Connection::self()
{
- Q_ASSERT(sConnectionStore->hasLocalData());
+ if (!sConnectionStore->hasLocalData()) {
+ return nullptr;
+ }
return sConnectionStore->localData();
}
diff --git a/src/server/storage/notificationcollector.cpp b/src/server/storage/notificationcollector.cpp
index 4c70141..b92ee96 100644
--- a/src/server/storage/notificationcollector.cpp
+++ b/src/server/storage/notificationcollector.cpp
@@ -535,7 +535,7 @@ void NotificationCollector::completeNotification(const Protocol::ChangeNotificat
// we emit a notification without it and leave it up to the Monitor
// to retrieve the Item on demand - we should have a RID stored in
// Akonadi by then.
- if (allHaveRID || msg->operation() != Protocol::ItemChangeNotification::Add) {
+ if (Connection::self() && (allHaveRID || msg->operation() != Protocol::ItemChangeNotification::Add)) {
// Prevent transactions inside FetchHelper to recursively call our slot
QScopedValueRollback<bool> ignoreTransactions(mIgnoreTransactions);
--
cgit v0.11.2
1
0
Hello community,
here is the log from the commit of package postfix for openSUSE:Factory checked in at 2018-09-03 10:33:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postfix (Old)
and /work/SRC/openSUSE:Factory/.postfix.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postfix"
Mon Sep 3 10:33:00 2018 rev:159 rq:631919 version:3.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/postfix/postfix.changes 2018-05-25 21:37:00.644628304 +0200
+++ /work/SRC/openSUSE:Factory/.postfix.new/postfix.changes 2018-09-03 10:33:02.280350285 +0200
@@ -1,0 +2,6 @@
+Mon Aug 27 09:38:29 UTC 2018 - tchvatal(a)suse.com
+
+- Add zlib-devel as buildrequires, previously included from
+ openssl-devel
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ postfix.spec ++++++
--- /var/tmp/diff_new_pack.lFnzhY/_old 2018-09-03 10:33:02.812351653 +0200
+++ /var/tmp/diff_new_pack.lFnzhY/_new 2018-09-03 10:33:02.812351653 +0200
@@ -89,6 +89,7 @@
BuildRequires: postgresql-devel
BuildRequires: shadow
BuildRequires: systemd
+BuildRequires: zlib-devel
Requires: iproute2
Requires(post): permissions
Requires(pre): %fillup_prereq
1
0
Hello community,
here is the log from the commit of package grub2 for openSUSE:Factory checked in at 2018-09-03 10:32:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grub2 (Old)
and /work/SRC/openSUSE:Factory/.grub2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grub2"
Mon Sep 3 10:32:55 2018 rev:192 rq:631916 version:2.02
Changes:
--------
--- /work/SRC/openSUSE:Factory/grub2/grub2.changes 2018-08-13 09:54:07.974806819 +0200
+++ /work/SRC/openSUSE:Factory/.grub2.new/grub2.changes 2018-09-03 10:32:57.364337644 +0200
@@ -1,0 +2,6 @@
+Thu Aug 23 08:37:15 UTC 2018 - mchang(a)suse.com
+
+- Fix overflow in sector count calculation (bsc#1105163)
+ * grub2-msdos-fix-overflow.patch
+
+-------------------------------------------------------------------
New:
----
grub2-msdos-fix-overflow.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ grub2.spec ++++++
--- /var/tmp/diff_new_pack.3PbTlz/_old 2018-09-03 10:32:58.652340955 +0200
+++ /var/tmp/diff_new_pack.3PbTlz/_new 2018-09-03 10:32:58.652340955 +0200
@@ -220,6 +220,7 @@
Patch88: unix-exec-avoid-atexit-handlers-when-child-exits.patch
Patch89: 0001-xfs-Accept-filesystem-with-sparse-inodes.patch
Patch90: grub2-binutils2.31.patch
+Patch91: grub2-msdos-fix-overflow.patch
# Btrfs snapshot booting related patches
Patch101: grub2-btrfs-01-add-ability-to-boot-from-subvolumes.patch
Patch102: grub2-btrfs-02-export-subvolume-envvars.patch
@@ -515,6 +516,7 @@
%patch88 -p1
%patch89 -p1
%patch90 -p1
+%patch91 -p1
%patch101 -p1
%patch102 -p1
%patch103 -p1
++++++ grub2-msdos-fix-overflow.patch ++++++
Index: grub-2.02/grub-core/partmap/msdos.c
===================================================================
--- grub-2.02.orig/grub-core/partmap/msdos.c
+++ grub-2.02/grub-core/partmap/msdos.c
@@ -175,9 +175,9 @@ grub_partition_msdos_iterate (grub_disk_
e = mbr.entries + p.index;
p.start = p.offset
- + (grub_le_to_cpu32 (e->start)
+ + ((grub_disk_addr_t)grub_le_to_cpu32 (e->start)
<< (disk->log_sector_size - GRUB_DISK_SECTOR_BITS)) - delta;
- p.len = grub_le_to_cpu32 (e->length)
+ p.len = (grub_uint64_t)grub_le_to_cpu32 (e->length)
<< (disk->log_sector_size - GRUB_DISK_SECTOR_BITS);
p.msdostype = e->type;
@@ -217,7 +217,7 @@ grub_partition_msdos_iterate (grub_disk_
if (grub_msdos_partition_is_extended (e->type))
{
p.offset = ext_offset
- + (grub_le_to_cpu32 (e->start)
+ + ((grub_disk_addr_t)grub_le_to_cpu32 (e->start)
<< (disk->log_sector_size - GRUB_DISK_SECTOR_BITS));
if (! ext_offset)
ext_offset = p.offset;
@@ -301,9 +301,9 @@ pc_partition_map_embed (struct grub_disk
if (!grub_msdos_partition_is_empty (e->type)
&& end > offset
- + (grub_le_to_cpu32 (e->start)
+ + ((grub_disk_addr_t)grub_le_to_cpu32 (e->start)
<< (disk->log_sector_size - GRUB_DISK_SECTOR_BITS)))
- end = offset + (grub_le_to_cpu32 (e->start)
+ end = offset + ((grub_disk_addr_t)grub_le_to_cpu32 (e->start)
<< (disk->log_sector_size - GRUB_DISK_SECTOR_BITS));
/* If this is a GPT partition, this MBR is just a dummy. */
@@ -319,7 +319,7 @@ pc_partition_map_embed (struct grub_disk
if (grub_msdos_partition_is_extended (e->type))
{
offset = ext_offset
- + (grub_le_to_cpu32 (e->start)
+ + ((grub_disk_addr_t)grub_le_to_cpu32 (e->start)
<< (disk->log_sector_size - GRUB_DISK_SECTOR_BITS));
if (! ext_offset)
ext_offset = offset;
1
0
Hello community,
here is the log from the commit of package bash-completion for openSUSE:Factory checked in at 2018-09-03 10:32:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bash-completion (Old)
and /work/SRC/openSUSE:Factory/.bash-completion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bash-completion"
Mon Sep 3 10:32:49 2018 rev:39 rq:631912 version:2.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/bash-completion/bash-completion-doc.changes 2017-07-11 08:33:24.859386029 +0200
+++ /work/SRC/openSUSE:Factory/.bash-completion.new/bash-completion-doc.changes 2018-09-03 10:32:51.136321631 +0200
@@ -1,0 +2,137 @@
+Thu Aug 2 13:25:06 UTC 2018 - antoine.belvire(a)opensuse.org
+
+- Update to version 2.8:
+ * Comma separated opt arg completion improvements
+ * Protect _known_hosts_real from user input treated as options
+ * Protect shopt reset from non-default $IFS
+ * Add support for .lz4 extension to file-roller (#158)
+ * Add support for .lzo extension (--lzop) to tar (#155)
+ * Bump copyright years to -2018
+ * README.md: Whitespace cleanup
+ * Whitespace
+ * __expand_tilde_by_ref: Eval tilde expansion only, simplify
+ * __load_completion: Code cleanup
+ * __load_completion: Load "xspec" completions dynamically too
+ * _avaiable_interfaces: Get rid of eval
+ * _expand: Reuse __expand_tilde_by_ref and _tilde logic, clean up
+ * _known_hosts_real: Add option to filter IPv4 and IPv6 addresses
+ * _known_hosts_real: Document -a better
+ * alias: Fix completion followed by = (#146)
+ * apt-get: Complete *.deb on install if argument contains a slash
+ * aptitude-curses: Use aptitude completion
+ * aptitude: Add keep to commands list (Debian: #867587)
+ * bzip2, gzip, and other compressors: Use _tilde instead of _expand
+ * ccze: New completion
+ * cryptsetup: Update option lists
+ * curl: Fix -x etc option argument hostname completion
+ * dd, find, gcc: Remove unnecessary tilde expansion
+ * dd: Omit space only when offering one completion ending with =
+ * dpkg-query: Fix -W/--show completion
+ * dpkg: Add -V/--verify arg completion
+ * dpkg: Complete --vextract on deb files
+ * dpkg: Fix man page section in comment
+ * ebtables: new completion (#150)
+ * flake8: Various option arg completion improvements
+ * geoiplookup: New completion
+ * getconf: New completion
+ * groupdel: Parse and handle long options
+ * info, man, rsync: Defer _expand invocation
+ * iptables: Avoid stderr trashing when invoked as non-root
+ * iptables: Parse options from --help output
+ * iptables: Use invoked command instead of hardcoded "iptables"
+ * java: Complete *.war
+ * kldunload: Increase robustness of compgen filters (#185)
+ * kldunload: Show modules with digits
+ * ktutil: Don't leak i and command environment variables
+ * lftp: Support ~/.local/... bookmark location (#144)
+ * lowriter,localc etc: Use corresponding oo* completions
+ * lspci: New completion
+ * lsscsi: New completion
+ * lsusb: New completion
+ * make-changelog.py: Use python3
+ * make: Pass script to sed as parameter instead of using process substitution
+ * man: Don't use $MANPATH directly (#161)
+ * mkdir: Complete files without appending space
+ * mkdir: Complete on files in addition to dirs
+ * mplayer: Disable user config when parsing options
+ * nproc: New completion
+ * oggdec: New completion
+ * openssl: Add completion for the genpkey, pkey, pkeyparam, and pkeyutl commands
+ * perltidy: New completion
+ * ping*,ssh,scp,sftp,tracepath6: Filter IPv4/IPv6 literal addresses
+ * pv: New completion
+ * pycodestyle: New completion
+ * pylint: Install for pylint-2 and pylint-3 too
+ * pylint: Invoke python3 to search for modules if command contains 3
+ * python: Support completing dotted module hierarchies
+ * radvdump: New completion
+ * reportbug: Add -A/--attach arg completion
+ * reportbug: Don't hardcode option lists, split option args at =
+ * rfkill: Rename to _rfkill to avoid conflict with util-linux >= 2.31
+ * ri: Fix integrated ri 1.8 class completion
+ * ssh,ssh-add,ssh-keygen: Complete pkcs11 options with *.so
+ * ssh-keygen: Add -E arg completion
+ * ssh: Add -J/ProxyJump completion
+ * ssh: Declare $prefix closer to use
+ * test suite: Add basic hid2hci and munin-node-configure test cases
+ * test suite: Add bunch of man and MANPATH test cases
+ * test suite: Add bunch of missing basic test cases
+ * test suite: Add info and pinfo option test cases
+ * test suite: Drop no longer needed fedoradev /usr/bin/which workaround
+ * test suite: Enable wine in ubuntu14
+ * test suite: Install aptitude in ubuntu14 container
+ * test suite: Limit amount of info and pinfo test output
+ * test suite: Limit amount of output from process name completion
+ * test suite: Limit number of screen -T completion matches
+ * test suite: Make man test subject names less generic
+ * test suite: Skip fedoradev GPG checks at least for now
+ * test suite: Some more mplayer and mencoder coverage
+ * test suite: Support overriding default match buffer size (#141)
+ * test suite: man cleanup
+ * test/docker: Tweak work dir, add bash as default cmd
+ * test/unit: Whitespace tweaks
+ * test: Add "postconf -" test case
+ * test: Add assert_complete_homedir, use in dpkg and ls
+ * test: Add files to test older ri with
+ * test: Add some _expand unit tests
+ * test: Add some comments regarding bash init in library.exp
+ * test: Fix getting username in non-login shells
+ * test: Ignore duplicates in find_unique_completion_pair list
+ * test: Remove things moved to library.exp from bashrc
+ * test: Try to skip postconf variable test on broken postfix configs altogether
+ * test: Use prebuilt docker hub bash-completion images
+ * test: Work around broken centos/fedora postfix config in non-IPv6 setup
+ * test: dpkg,ls,_tilde: Skip gracefully if no uniq user for completion is found
+ * test: run bash with --norc to avoid system bashrc
+ * tox: Avoid stderr spewage when -e invoked without tox.ini
+ * tox: Complete comma separated -e arguments
+ * tox: Include ALL in -e completions
+ * tox: New completion (#163)
+ * tox: Remove spurious executable bits
+ * unzip, zipinfo: Associate *.gar (#165)
+ * uscan: Don't leak cword and words environment variables
+ * vpnc: Add some option argument (non)completions
+ * vpnc: Improve config completions
+ * xdg-mime,xdg-settings: Fix inclusion in tarball
+ * xdg-mime: New completion
+ * xdg-settings: New completion
+ * xine etc, ogg123, mplayer -audiofile: Associate with *.oga
+ * xm: Don't leak args and commands environment variables
+
+-------------------------------------------------------------------
+Tue Apr 24 09:21:58 UTC 2018 - werner(a)suse.de
+
+- Add patch bash-completion-2.7-unRAR-remove.patch that is due legal
+ issue the unRAR part of 7z had been removed (boo#1077978, boo#1090515)
+
+-------------------------------------------------------------------
+Tue Apr 3 15:30:09 CEST 2018 - kukuk(a)suse.de
+
+- Use %license instead of %doc [bsc#1082318]
+
+-------------------------------------------------------------------
+Mon Dec 18 15:29:04 CET 2017 - sbrabec(a)suse.com
+
+- Remove rfkill conflicting with util-linux-2.31.
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/bash-completion/bash-completion.changes 2018-04-26 13:34:59.890749705 +0200
+++ /work/SRC/openSUSE:Factory/.bash-completion.new/bash-completion.changes 2018-09-03 10:32:51.172321724 +0200
@@ -1,0 +2,121 @@
+Thu Aug 2 13:25:06 UTC 2018 - antoine.belvire(a)opensuse.org
+
+- Update to version 2.8:
+ * Comma separated opt arg completion improvements
+ * Protect _known_hosts_real from user input treated as options
+ * Protect shopt reset from non-default $IFS
+ * Add support for .lz4 extension to file-roller (#158)
+ * Add support for .lzo extension (--lzop) to tar (#155)
+ * Bump copyright years to -2018
+ * README.md: Whitespace cleanup
+ * Whitespace
+ * __expand_tilde_by_ref: Eval tilde expansion only, simplify
+ * __load_completion: Code cleanup
+ * __load_completion: Load "xspec" completions dynamically too
+ * _avaiable_interfaces: Get rid of eval
+ * _expand: Reuse __expand_tilde_by_ref and _tilde logic, clean up
+ * _known_hosts_real: Add option to filter IPv4 and IPv6 addresses
+ * _known_hosts_real: Document -a better
+ * alias: Fix completion followed by = (#146)
+ * apt-get: Complete *.deb on install if argument contains a slash
+ * aptitude-curses: Use aptitude completion
+ * aptitude: Add keep to commands list (Debian: #867587)
+ * bzip2, gzip, and other compressors: Use _tilde instead of _expand
+ * ccze: New completion
+ * cryptsetup: Update option lists
+ * curl: Fix -x etc option argument hostname completion
+ * dd, find, gcc: Remove unnecessary tilde expansion
+ * dd: Omit space only when offering one completion ending with =
+ * dpkg-query: Fix -W/--show completion
+ * dpkg: Add -V/--verify arg completion
+ * dpkg: Complete --vextract on deb files
+ * dpkg: Fix man page section in comment
+ * ebtables: new completion (#150)
+ * flake8: Various option arg completion improvements
+ * geoiplookup: New completion
+ * getconf: New completion
+ * groupdel: Parse and handle long options
+ * info, man, rsync: Defer _expand invocation
+ * iptables: Avoid stderr trashing when invoked as non-root
+ * iptables: Parse options from --help output
+ * iptables: Use invoked command instead of hardcoded "iptables"
+ * java: Complete *.war
+ * kldunload: Increase robustness of compgen filters (#185)
+ * kldunload: Show modules with digits
+ * ktutil: Don't leak i and command environment variables
+ * lftp: Support ~/.local/... bookmark location (#144)
+ * lowriter,localc etc: Use corresponding oo* completions
+ * lspci: New completion
+ * lsscsi: New completion
+ * lsusb: New completion
+ * make-changelog.py: Use python3
+ * make: Pass script to sed as parameter instead of using process substitution
+ * man: Don't use $MANPATH directly (#161)
+ * mkdir: Complete files without appending space
+ * mkdir: Complete on files in addition to dirs
+ * mplayer: Disable user config when parsing options
+ * nproc: New completion
+ * oggdec: New completion
+ * openssl: Add completion for the genpkey, pkey, pkeyparam, and pkeyutl commands
+ * perltidy: New completion
+ * ping*,ssh,scp,sftp,tracepath6: Filter IPv4/IPv6 literal addresses
+ * pv: New completion
+ * pycodestyle: New completion
+ * pylint: Install for pylint-2 and pylint-3 too
+ * pylint: Invoke python3 to search for modules if command contains 3
+ * python: Support completing dotted module hierarchies
+ * radvdump: New completion
+ * reportbug: Add -A/--attach arg completion
+ * reportbug: Don't hardcode option lists, split option args at =
+ * rfkill: Rename to _rfkill to avoid conflict with util-linux >= 2.31
+ * ri: Fix integrated ri 1.8 class completion
+ * ssh,ssh-add,ssh-keygen: Complete pkcs11 options with *.so
+ * ssh-keygen: Add -E arg completion
+ * ssh: Add -J/ProxyJump completion
+ * ssh: Declare $prefix closer to use
+ * test suite: Add basic hid2hci and munin-node-configure test cases
+ * test suite: Add bunch of man and MANPATH test cases
+ * test suite: Add bunch of missing basic test cases
+ * test suite: Add info and pinfo option test cases
+ * test suite: Drop no longer needed fedoradev /usr/bin/which workaround
+ * test suite: Enable wine in ubuntu14
+ * test suite: Install aptitude in ubuntu14 container
+ * test suite: Limit amount of info and pinfo test output
+ * test suite: Limit amount of output from process name completion
+ * test suite: Limit number of screen -T completion matches
+ * test suite: Make man test subject names less generic
+ * test suite: Skip fedoradev GPG checks at least for now
+ * test suite: Some more mplayer and mencoder coverage
+ * test suite: Support overriding default match buffer size (#141)
+ * test suite: man cleanup
+ * test/docker: Tweak work dir, add bash as default cmd
+ * test/unit: Whitespace tweaks
+ * test: Add "postconf -" test case
+ * test: Add assert_complete_homedir, use in dpkg and ls
+ * test: Add files to test older ri with
+ * test: Add some _expand unit tests
+ * test: Add some comments regarding bash init in library.exp
+ * test: Fix getting username in non-login shells
+ * test: Ignore duplicates in find_unique_completion_pair list
+ * test: Remove things moved to library.exp from bashrc
+ * test: Try to skip postconf variable test on broken postfix configs altogether
+ * test: Use prebuilt docker hub bash-completion images
+ * test: Work around broken centos/fedora postfix config in non-IPv6 setup
+ * test: dpkg,ls,_tilde: Skip gracefully if no uniq user for completion is found
+ * test: run bash with --norc to avoid system bashrc
+ * tox: Avoid stderr spewage when -e invoked without tox.ini
+ * tox: Complete comma separated -e arguments
+ * tox: Include ALL in -e completions
+ * tox: New completion (#163)
+ * tox: Remove spurious executable bits
+ * unzip, zipinfo: Associate *.gar (#165)
+ * uscan: Don't leak cword and words environment variables
+ * vpnc: Add some option argument (non)completions
+ * vpnc: Improve config completions
+ * xdg-mime,xdg-settings: Fix inclusion in tarball
+ * xdg-mime: New completion
+ * xdg-settings: New completion
+ * xine etc, ogg123, mplayer -audiofile: Associate with *.oga
+ * xm: Don't leak args and commands environment variables
+
+-------------------------------------------------------------------
Old:
----
bash-completion-2.7.tar.xz
New:
----
bash-completion-2.8.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bash-completion-doc.spec ++++++
--- /var/tmp/diff_new_pack.h6SEAf/_old 2018-09-03 10:32:51.672323009 +0200
+++ /var/tmp/diff_new_pack.h6SEAf/_new 2018-09-03 10:32:51.676323020 +0200
@@ -20,7 +20,7 @@
%define _name bash-completion
# WARNING: Never edit this file!!! Edit bash-completion.spec and call pre_checkin.sh to update bash-completion-doc.spec.
# Always set %%build_doc to 0 before submit to OBS.
-Version: 2.7
+Version: 2.8
Release: 0
Summary: The Documentation of Programmable Completion for Bash
License: GPL-2.0-or-later
@@ -50,6 +50,8 @@
Patch10: backticks-bsc963140.patch
# PATCH-FIX-SUSE boo#977336
Patch11: sh-script-completion-boo977336.patch
+# PATCH-FIX-SUSE boo#1090515
+Patch12: bash-completion-2.7-unRAR-remove.patch
BuildRequires: asciidoc
BuildRequires: libxslt-tools
BuildRequires: pkg-config
@@ -73,6 +75,7 @@
%patch9 -b .p9
%patch10 -b .p10 -p1
%patch11 -b .p11 -p0
+%patch12 -b .p12 -p0
%build
%configure
++++++ bash-completion.spec ++++++
--- /var/tmp/diff_new_pack.h6SEAf/_old 2018-09-03 10:32:51.736323174 +0200
+++ /var/tmp/diff_new_pack.h6SEAf/_new 2018-09-03 10:32:51.752323215 +0200
@@ -22,7 +22,7 @@
%define build_core 1
# Always set %%build_doc to 0 before submit to OBS.
%define build_doc 0
-Version: 2.7
+Version: 2.8
Release: 0
Summary: Programmable Completion for Bash
License: GPL-2.0-or-later
@@ -148,7 +148,6 @@
then
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/umount
fi
-rm -vf %{buildroot}%{_datadir}/bash-completion/completions/rfkill
%endif %build_core
%if %build_doc
pushd doc
++++++ bash-completion-2.7.tar.xz -> bash-completion-2.8.tar.xz ++++++
++++ 7505 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package dbus-1 for openSUSE:Factory checked in at 2018-09-03 10:32:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dbus-1 (Old)
and /work/SRC/openSUSE:Factory/.dbus-1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dbus-1"
Mon Sep 3 10:32:36 2018 rev:152 rq:631640 version:1.12.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/dbus-1/dbus-1-x11.changes 2018-04-11 13:47:57.953237560 +0200
+++ /work/SRC/openSUSE:Factory/.dbus-1.new/dbus-1-x11.changes 2018-09-03 10:32:37.544286696 +0200
@@ -1,0 +2,32 @@
+Wed Aug 22 10:40:43 UTC 2018 - sflees(a)suse.de
+- Update to 1.12.10
+ * Changelog for 1.12.10
+ • Prevent reading up to 3 bytes beyond the end of a truncated message.
+ This could in principle be an information leak or denial of service
+ on the system bus, but is not believed to be exploitable to crash
+ the system bus or leak interesting information in practice.
+ (fd.o #107332, Simon McVittie)
+ • Fix build with gcc 8 -Werror=cast-function-type
+ (fd.o #107349, Simon McVittie)
+ • Fix warning from gcc 8 about suspicious use of strncpy() when
+ populating struct sockaddr_un (fd.o #107350, Simon McVittie)
+ • Fix a minor memory leak when a DBusServer listens on a new address
+ (fd.o #107194, Simon McVittie)
+ • Fix an invalid NULL argument to rmdir() if a nonce-tcp DBusServer
+ runs out of memory (fd.o #107194, Simon McVittie)
+ • Don't use misleading errno-derived error names if getaddrinfo() or
+ getnameinfo() fails with a code other than EAI_SYSTEM
+ (fd.o #106395, Simon McVittie)
+ • Skip tests that require working TCP if we are in a container environment
+ where 127.0.0.1 cannot be resolved (fd.o #106812, Simon McVittie)
+ * Changelog for 1.12.8
+ • The Devhelp documentation index is now in version 2 format
+ (fd.o #106186, Simon McVittie)
+ • Give the dbus-daemon man page some scarier warnings about
+ <allow_anonymous/> and non-local TCP, which are insecure and should
+ not be used, particularly for the standard system and session buses
+ (fd.o #106004, Simon McVittie)
+ • Fix installation of Ducktype documentation with newer yelp-build
+ versions (fd.o #106171, Simon McVittie)
+
+-------------------------------------------------------------------
@@ -2988 +3019,0 @@
-
dbus-1.changes: same change
Old:
----
dbus-1.12.6.tar.gz
New:
----
dbus-1.12.10.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dbus-1-x11.spec ++++++
--- /var/tmp/diff_new_pack.KKKFnr/_old 2018-09-03 10:32:38.448289019 +0200
+++ /var/tmp/diff_new_pack.KKKFnr/_new 2018-09-03 10:32:38.452289030 +0200
@@ -23,7 +23,7 @@
%endif
%bcond_without selinux
Name: dbus-1-x11
-Version: 1.12.6
+Version: 1.12.10
Release: 0
Summary: D-Bus Message Bus System
License: GPL-2.0-or-later OR AFL-2.1
++++++ dbus-1.spec ++++++
--- /var/tmp/diff_new_pack.KKKFnr/_old 2018-09-03 10:32:38.476289091 +0200
+++ /var/tmp/diff_new_pack.KKKFnr/_new 2018-09-03 10:32:38.484289112 +0200
@@ -26,7 +26,7 @@
%endif
%bcond_without selinux
Name: dbus-1
-Version: 1.12.6
+Version: 1.12.10
Release: 0
Summary: D-Bus Message Bus System
License: GPL-2.0-or-later OR AFL-2.1
@@ -302,7 +302,6 @@
%{_bindir}/dbus-monitor
%{_bindir}/dbus-run-session
%{_bindir}/dbus-send
-%{_bindir}/dbus-send
%{_bindir}/dbus-test-tool
%{_bindir}/dbus-update-activation-environment
%{_bindir}/dbus-uuidgen
@@ -391,7 +390,7 @@
%doc %{_datadir}/doc/dbus/dbus-monitor.1.html
%doc %{_datadir}/doc/dbus/dbus-send.1.html
%doc %{_datadir}/doc/dbus/dbus-uuidgen.1.html
-%doc %{_datadir}/doc/dbus/dbus.devhelp
+%doc %{_datadir}/doc/dbus/dbus.devhelp2
%doc %{_datadir}/doc/dbus/dbus-test-tool.1.html
%doc %{_datadir}/doc/dbus/dbus-update-activation-environment.1.html
%doc %{_datadir}/doc/dbus/examples/GetAllMatchRules.py
++++++ dbus-1.12.6.tar.gz -> dbus-1.12.10.tar.gz ++++++
++++ 2297 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/NEWS new/dbus-1.12.10/NEWS
--- old/dbus-1.12.6/NEWS 2018-03-01 18:41:37.000000000 +0100
+++ new/dbus-1.12.10/NEWS 2018-08-02 20:27:01.000000000 +0200
@@ -1,3 +1,55 @@
+dbus 1.12.10 (2018-08-02)
+=========================
+
+The “beam deflection” release.
+
+Fixes:
+
+• Prevent reading up to 3 bytes beyond the end of a truncated message.
+ This could in principle be an information leak or denial of service
+ on the system bus, but is not believed to be exploitable to crash
+ the system bus or leak interesting information in practice.
+ (fd.o #107332, Simon McVittie)
+
+• Fix build with gcc 8 -Werror=cast-function-type
+ (fd.o #107349, Simon McVittie)
+
+• Fix warning from gcc 8 about suspicious use of strncpy() when
+ populating struct sockaddr_un (fd.o #107350, Simon McVittie)
+
+• Fix a minor memory leak when a DBusServer listens on a new address
+ (fd.o #107194, Simon McVittie)
+
+• Fix an invalid NULL argument to rmdir() if a nonce-tcp DBusServer
+ runs out of memory (fd.o #107194, Simon McVittie)
+
+• Don't use misleading errno-derived error names if getaddrinfo() or
+ getnameinfo() fails with a code other than EAI_SYSTEM
+ (fd.o #106395, Simon McVittie)
+
+• Skip tests that require working TCP if we are in a container environment
+ where 127.0.0.1 cannot be resolved (fd.o #106812, Simon McVittie)
+
+dbus 1.12.8 (2018-04-30)
+========================
+
+The “golden super-velociraptor” release.
+
+Enhancements:
+
+• The Devhelp documentation index is now in version 2 format
+ (fd.o #106186, Simon McVittie)
+
+• Give the dbus-daemon man page some scarier warnings about
+ <allow_anonymous/> and non-local TCP, which are insecure and should
+ not be used, particularly for the standard system and session buses
+ (fd.o #106004, Simon McVittie)
+
+Fixes:
+
+• Fix installation of Ducktype documentation with newer yelp-build
+ versions (fd.o #106171, Simon McVittie)
+
dbus 1.12.6 (2018-03-01)
========================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/configure.ac new/dbus-1.12.10/configure.ac
--- old/dbus-1.12.6/configure.ac 2018-02-23 11:42:06.000000000 +0100
+++ new/dbus-1.12.10/configure.ac 2018-08-02 20:34:11.000000000 +0200
@@ -3,7 +3,7 @@
m4_define([dbus_major_version], [1])
m4_define([dbus_minor_version], [12])
-m4_define([dbus_micro_version], [6])
+m4_define([dbus_micro_version], [10])
m4_define([dbus_version],
[dbus_major_version.dbus_minor_version.dbus_micro_version])
AC_INIT([dbus],[dbus_version],[https://bugs.freedesktop.org/enter_bug.cgi?p…
@@ -42,7 +42,7 @@
## increment any time the source changes; set to
## 0 if you increment CURRENT
-LT_REVISION=6
+LT_REVISION=8
## increment if any interfaces have been added; set to 0
## if any interfaces have been changed or removed. removal has
@@ -330,10 +330,14 @@
dnl branch
dnl - missing field initializers being 0 is a C feature, not a bug
dnl - unused-parameter is to make writing callbacks less annoying
+dnl - cast-function-type is for the
+dnl foreach(list, (DBusForeachFunction) free, NULL) idiom which would
+dnl be too intrusive to replace in a stable branch
DISABLE_WARNINGS="$DISABLE_WARNINGS
-Wno-deprecated-declarations
-Wno-missing-field-initializers
- -Wno-unused-parameter"
+ -Wno-unused-parameter
+ -Wno-cast-function-type"
if test x$enable_asserts = xno; then
AC_DEFINE(DBUS_DISABLE_ASSERT,1,[Disable assertion checking])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/dbus/dbus-marshal-validate.c new/dbus-1.12.10/dbus/dbus-marshal-validate.c
--- old/dbus-1.12.6/dbus/dbus-marshal-validate.c 2017-10-30 13:26:18.000000000 +0100
+++ new/dbus-1.12.10/dbus/dbus-marshal-validate.c 2018-08-02 20:21:35.000000000 +0200
@@ -358,8 +358,13 @@
if (current_type == DBUS_TYPE_BOOLEAN)
{
- dbus_uint32_t v = _dbus_unpack_uint32 (byte_order,
- p);
+ dbus_uint32_t v;
+
+ if (p + 4 > end)
+ return DBUS_INVALID_NOT_ENOUGH_DATA;
+
+ v = _dbus_unpack_uint32 (byte_order, p);
+
if (!(v == 0 || v == 1))
return DBUS_INVALID_BOOLEAN_NOT_ZERO_OR_ONE;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/dbus/dbus-nonce.c new/dbus-1.12.10/dbus/dbus-nonce.c
--- old/dbus-1.12.6/dbus/dbus-nonce.c 2017-11-24 14:19:04.000000000 +0100
+++ new/dbus-1.12.10/dbus/dbus-nonce.c 2018-08-02 18:16:04.000000000 +0200
@@ -367,7 +367,7 @@
return TRUE;
on_error:
- if (use_subdir)
+ if (use_subdir && _dbus_string_get_length (&noncefile->dir) != 0)
_dbus_delete_directory (&noncefile->dir, NULL);
_dbus_string_free (&noncefile->dir);
_dbus_string_free (&noncefile->path);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/dbus/dbus-server.c new/dbus-1.12.10/dbus/dbus-server.c
--- old/dbus-1.12.6/dbus/dbus-server.c 2017-11-24 14:16:30.000000000 +0100
+++ new/dbus-1.12.10/dbus/dbus-server.c 2018-08-02 18:13:02.000000000 +0200
@@ -680,6 +680,7 @@
}
else
{
+ dbus_error_free (&first_connect_error);
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
return server;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/dbus/dbus-sysdeps-unix.c new/dbus-1.12.10/dbus/dbus-sysdeps-unix.c
--- old/dbus-1.12.6/dbus/dbus-sysdeps-unix.c 2017-11-24 14:42:27.000000000 +0100
+++ new/dbus-1.12.10/dbus/dbus-sysdeps-unix.c 2018-08-02 18:13:02.000000000 +0200
@@ -913,6 +913,7 @@
int fd;
size_t path_len;
struct sockaddr_un addr;
+ _DBUS_STATIC_ASSERT (sizeof (addr.sun_path) > _DBUS_MAX_SUN_PATH_LENGTH);
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
@@ -945,7 +946,7 @@
return -1;
}
- strncpy (&addr.sun_path[1], path, path_len);
+ strncpy (&addr.sun_path[1], path, sizeof (addr.sun_path) - 2);
/* _dbus_verbose_bytes (addr.sun_path, sizeof (addr.sun_path)); */
#else /* !__linux__ */
dbus_set_error (error, DBUS_ERROR_NOT_SUPPORTED,
@@ -964,7 +965,7 @@
return -1;
}
- strncpy (addr.sun_path, path, path_len);
+ strncpy (addr.sun_path, path, sizeof (addr.sun_path) - 1);
}
if (connect (fd, (struct sockaddr*) &addr, _DBUS_STRUCT_OFFSET (struct sockaddr_un, sun_path) + path_len) < 0)
@@ -1115,6 +1116,7 @@
int listen_fd;
struct sockaddr_un addr;
size_t path_len;
+ _DBUS_STATIC_ASSERT (sizeof (addr.sun_path) > _DBUS_MAX_SUN_PATH_LENGTH);
_DBUS_ASSERT_ERROR_IS_CLEAR (error);
@@ -1149,7 +1151,7 @@
return -1;
}
- strncpy (&addr.sun_path[1], path, path_len);
+ strncpy (&addr.sun_path[1], path, sizeof (addr.sun_path) - 2);
/* _dbus_verbose_bytes (addr.sun_path, sizeof (addr.sun_path)); */
#else /* !__linux__ */
dbus_set_error (error, DBUS_ERROR_NOT_SUPPORTED,
@@ -1186,7 +1188,7 @@
return -1;
}
- strncpy (addr.sun_path, path, path_len);
+ strncpy (addr.sun_path, path, sizeof (addr.sun_path) - 1);
}
if (bind (listen_fd, (struct sockaddr*) &addr, _DBUS_STRUCT_OFFSET (struct sockaddr_un, sun_path) + path_len) < 0)
@@ -1320,6 +1322,56 @@
#endif
}
+/* Convert an error code from getaddrinfo() or getnameinfo() into
+ * a D-Bus error name. */
+static const char *
+_dbus_error_from_gai (int gai_res,
+ int saved_errno)
+{
+ switch (gai_res)
+ {
+#ifdef EAI_FAMILY
+ case EAI_FAMILY:
+ /* ai_family not supported (at all) */
+ return DBUS_ERROR_NOT_SUPPORTED;
+#endif
+
+#ifdef EAI_SOCKTYPE
+ case EAI_SOCKTYPE:
+ /* ai_socktype not supported (at all) */
+ return DBUS_ERROR_NOT_SUPPORTED;
+#endif
+
+#ifdef EAI_MEMORY
+ case EAI_MEMORY:
+ /* Out of memory */
+ return DBUS_ERROR_NO_MEMORY;
+#endif
+
+#ifdef EAI_SYSTEM
+ case EAI_SYSTEM:
+ /* Unspecified system error, details in errno */
+ return _dbus_error_from_errno (saved_errno);
+#endif
+
+ case 0:
+ /* It succeeded, but we didn't get any addresses? */
+ return DBUS_ERROR_FAILED;
+
+ /* EAI_AGAIN: Transient failure */
+ /* EAI_BADFLAGS: invalid ai_flags (programming error) */
+ /* EAI_FAIL: Non-recoverable failure */
+ /* EAI_NODATA: host exists but has no addresses */
+ /* EAI_NONAME: host does not exist */
+ /* EAI_OVERFLOW: argument buffer overflow */
+ /* EAI_SERVICE: service not available for specified socket
+ * type (we should never see this because we use numeric
+ * ports) */
+ default:
+ return DBUS_ERROR_FAILED;
+ }
+}
+
/**
* Creates a socket and connects to a socket at the given host
* and port. The connection fd is returned, and is set up as
@@ -1379,7 +1431,7 @@
if ((res = getaddrinfo(host, port, &hints, &ai)) != 0)
{
dbus_set_error (error,
- _dbus_error_from_errno (errno),
+ _dbus_error_from_gai (res, errno),
"Failed to lookup host/port: \"%s:%s\": %s (%d)",
host, port, gai_strerror(res), res);
return _dbus_socket_get_invalid ();
@@ -1501,7 +1553,7 @@
if ((res = getaddrinfo(host, port, &hints, &ai)) != 0 || !ai)
{
dbus_set_error (error,
- _dbus_error_from_errno (errno),
+ _dbus_error_from_gai (res, errno),
"Failed to lookup host/port: \"%s:%s\": %s (%d)",
host ? host : "*", port, gai_strerror(res), res);
goto failed;
@@ -1601,16 +1653,26 @@
addrlen = sizeof(addr);
result = getsockname(fd, (struct sockaddr*) &addr, &addrlen);
- if (result == -1 ||
- (res = getnameinfo ((struct sockaddr*)&addr, addrlen, NULL, 0,
+ if (result == -1)
+ {
+ saved_errno = errno;
+ dbus_set_error (error, _dbus_error_from_errno (saved_errno),
+ "Failed to retrieve socket name for \"%s:%s\": %s",
+ host ? host : "*", port, _dbus_strerror (saved_errno));
+ goto failed;
+ }
+
+ if ((res = getnameinfo ((struct sockaddr*)&addr, addrlen, NULL, 0,
portbuf, sizeof(portbuf),
NI_NUMERICHOST | NI_NUMERICSERV)) != 0)
{
- dbus_set_error (error, _dbus_error_from_errno (errno),
+ saved_errno = errno;
+ dbus_set_error (error, _dbus_error_from_gai (res, saved_errno),
"Failed to resolve port \"%s:%s\": %s (%d)",
host ? host : "*", port, gai_strerror(res), res);
goto failed;
}
+
if (!_dbus_string_append(retport, portbuf))
{
dbus_set_error (error, DBUS_ERROR_NO_MEMORY, NULL);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/doc/Makefile.am new/dbus-1.12.10/doc/Makefile.am
--- old/dbus-1.12.6/doc/Makefile.am 2017-10-30 13:26:18.000000000 +0100
+++ new/dbus-1.12.10/doc/Makefile.am 2018-04-27 19:18:24.000000000 +0200
@@ -57,6 +57,7 @@
YELP_STATIC_HTML = \
yelp.js \
C.css \
+ highlight.pack.js \
jquery.js \
jquery.syntax.js \
jquery.syntax.brush.html.js \
@@ -97,14 +98,14 @@
@touch $@
if DBUS_HAVE_XSLTPROC
-html_DATA += dbus.devhelp
+html_DATA += dbus.devhelp2
-dbus.devhelp: $(srcdir)/doxygen_to_devhelp.xsl doxygen.stamp
+dbus.devhelp2: $(srcdir)/doxygen_to_devhelp.xsl doxygen.stamp
$(XSLTPROC) -o $@ $< api/xml/index.xml
endif
if DBUS_DUCKTYPE_DOCS_ENABLED
-html_DATA += $(YELP_HTML) $(YELP_STATIC_HTML)
+html_DATA += $(YELP_HTML)
%.page: %.duck
$(DUCKTYPE) -o $@ $<
@@ -118,12 +119,21 @@
install-data-local:: doxygen.stamp
$(MKDIR_P) $(DESTDIR)$(apidir)
$(INSTALL_DATA) api/html/* $(DESTDIR)$(apidir)
+if DBUS_DUCKTYPE_DOCS_ENABLED
+ $(AM_V_at)for x in $(YELP_STATIC_HTML); do \
+ if test -e "$$x"; then \
+ $(INSTALL_DATA) "$$x" $(DESTDIR)$(htmldir); \
+ fi; \
+ done
+endif
uninstall-local::
rm -f $(DESTDIR)$(apidir)/*.html
rm -f $(DESTDIR)$(apidir)/*.png
rm -f $(DESTDIR)$(apidir)/*.css
rm -f $(DESTDIR)$(apidir)/*.js
+ rm -f $(DESTDIR)$(htmldir)/*.css
+ rm -f $(DESTDIR)$(htmldir)/*.js
rm -f $(DESTDIR)$(htmldir)/*.html
rm -f $(DESTDIR)$(docdir)/*.txt
rm -f $(DESTDIR)$(htmldir)/*.png
@@ -141,7 +151,7 @@
$(top_srcdir)/COPYING \
$(top_srcdir)/ChangeLog
-dbus-docs: $(STATIC_DOCS) $(dist_dtd_DATA) $(MAN_XML_FILES) $(dist_doc_DATA) $(dist_html_DATA) $(MAN_HTML_FILES) $(BONUS_FILES) doxygen.stamp $(XMLTO_HTML) $(YELP_HTML) $(YELP_STATIC_HTML)
+dbus-docs: $(STATIC_DOCS) $(dist_dtd_DATA) $(MAN_XML_FILES) $(dist_doc_DATA) $(dist_html_DATA) $(MAN_HTML_FILES) $(BONUS_FILES) doxygen.stamp $(XMLTO_HTML) $(YELP_HTML)
$(AM_V_at)rm -rf $@ $@.tmp
$(AM_V_GEN)$(MKDIR_P) $@.tmp/api
$(AM_V_at)cd $(srcdir) && cp $(STATIC_DOCS) @abs_builddir@/$@.tmp
@@ -150,7 +160,11 @@
$(AM_V_at)cd $(srcdir) && cp $(STATIC_HTML) @abs_builddir@/$@.tmp
$(AM_V_at)cp $(XMLTO_HTML) @abs_builddir@/$@.tmp
$(AM_V_at)cp $(YELP_HTML) @abs_builddir@/$@.tmp
- $(AM_V_at)cp $(YELP_STATIC_HTML) @abs_builddir@/$@.tmp
+ $(AM_V_at)for x in $(YELP_STATIC_HTML); do \
+ if test -e "$$x"; then \
+ cp "$$x" @abs_builddir@/$@.tmp; \
+ fi; \
+ done
$(AM_V_at)cp $(MAN_HTML_FILES) @abs_builddir@/$@.tmp
$(AM_V_at)cp $(MAN_XML_FILES) @abs_builddir@/$@.tmp
$(AM_V_at)cp $(BONUS_FILES) @abs_builddir@/$@.tmp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/doc/dbus-daemon.1.xml.in new/dbus-1.12.10/doc/dbus-daemon.1.xml.in
--- old/dbus-1.12.6/doc/dbus-daemon.1.xml.in 2017-10-30 13:26:18.000000000 +0100
+++ new/dbus-1.12.10/doc/dbus-daemon.1.xml.in 2018-04-25 17:49:38.000000000 +0200
@@ -148,8 +148,10 @@
<varlistentry>
<term><option>--address[=ADDRESS]</option></term>
<listitem>
-<para>Set the address to listen on. This option overrides the address
-configured in the configuration file.</para>
+ <para>Set the address to listen on. This option overrides the address
+ configured in the configuration file via the
+ <literal><listen></literal> directive.
+ See the documentation of that directive for more details.</para>
</listitem>
</varlistentry>
<varlistentry>
@@ -384,6 +386,13 @@
effect unless the ANONYMOUS mechanism has also been enabled using the
<emphasis remap='I'><auth></emphasis> element, described below.</para>
+<para>Using this directive in the configuration of the well-known
+ system bus or the well-known session bus will make that bus insecure
+ and should never be done. Similarly, on custom bus types, using this
+ directive will usually make the custom bus insecure, unless its
+ configuration has been specifically designed to prevent anonymous
+ users from causing damage or escalating privileges.</para>
+
<itemizedlist remap='TP'>
<listitem><para><emphasis remap='I'><listen></emphasis></para></listitem>
@@ -395,6 +404,47 @@
address is in the standard D-Bus format that contains
a transport name plus possible parameters/options.</para>
+<para>On platforms other than Windows, <literal>unix</literal>-based
+ transports (<literal>unix</literal>, <literal>systemd</literal>,
+ <literal>launchd</literal>) are the default for both the well-known
+ system bus and the well-known session bus, and are strongly
+ recommended.</para>
+
+<para>
+ On Windows, <literal>unix</literal>-based transports are not available,
+ so TCP-based transports must be used.
+ Similar to remote X11, the <literal>tcp</literal> and
+ <literal>nonce-tcp</literal> transports have no integrity or
+ confidentiality protection, so they should normally only be
+ used across the local loopback interface, for example using an
+ address like <literal>tcp:host=127.0.0.1</literal> or
+ <literal>nonce-tcp:host=localhost</literal>. In particular,
+ configuring the well-known system bus or the well-known session
+ bus to listen on a non-loopback TCP address is insecure.
+</para>
+<para>
+ Developers are sometimes tempted to use remote TCP as a debugging
+ tool. However, if this functionality is left enabled in finished
+ products, the result will be dangerously insecure. Instead of
+ using remote TCP, developers should <ulink
+ url="https://lists.freedesktop.org/archives/dbus/2018-April/017447.html"
+ >relay connections via Secure Shell or a similar protocol</ulink>.
+ <!-- TODO: Ideally someone would write a more formal guide to
+ remote D-Bus debugging, and we could link to that instead -->
+</para>
+<para>
+ Remote TCP connections were historically sometimes used to share
+ a single session bus between login sessions of the same user on
+ different machines within a trusted local area network, in
+ conjunction with unencrypted remote X11, a NFS-shared home
+ directory and NIS (YP) authentication. This is insecure against
+ an attacker on the same LAN and should be considered strongly
+ deprecated; more specifically, it is insecure in the same ways
+ and for the same reasons as unencrypted remote X11 and NFSv2/NFSv3.
+ The D-Bus maintainers
+ recommend using a separate session bus per (user, machine) pair,
+ only accessible from within that machine.
+</para>
<para>Example: <listen>unix:path=/tmp/foo</listen></para>
@@ -454,6 +504,10 @@
<auth> elements, all the listed mechanisms are allowed. The order in
which mechanisms are listed is not meaningful.</para>
+<para>On non-Windows operating systems, allowing only the
+ <literal>EXTERNAL</literal> authentication
+ mechanism is strongly recommended. This is the default for the
+ well-known system bus and for the well-known session bus.</para>
<para>Example: <auth>EXTERNAL</auth></para>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/doc/doxygen_to_devhelp.xsl new/dbus-1.12.10/doc/doxygen_to_devhelp.xsl
--- old/dbus-1.12.6/doc/doxygen_to_devhelp.xsl 2017-10-30 13:26:18.000000000 +0100
+++ new/dbus-1.12.10/doc/doxygen_to_devhelp.xsl 2018-04-23 18:46:01.000000000 +0200
@@ -10,7 +10,13 @@
<xsl:template match="/">
<book title="D-Bus: A system for interprocess communication"
name="dbus"
- link="dbus-tutorial.html">
+ link="{$prefix}/api/index.html"
+ xmlns="http://www.devhelp.net/book"
+ version="2"
+ online="https://dbus.freedesktop.org/doc/"
+ author="D-Bus contributors"
+ language="c"
+ >
<chapters>
<sub name="Tutorial" link="{$prefix}dbus-tutorial.html"/>
<sub name="FAQ" link="{$prefix}dbus-faq.html"/>
@@ -32,7 +38,7 @@
<xsl:param name="link"><xsl:value-of select="$before"/>.html#<xsl:value-of select="$after"/></xsl:param>
<xsl:if test="starts-with($name,'dbus') or starts-with($name, 'DBus')">
<xsl:if test="starts-with($refid,'group__') and contains($refid, '_1')">
- <function name="{$name}" link="{$prefix}api/{$link}"/>
+ <keyword xmlns="http://www.devhelp.net/book" type="function" name="{$name}" link="{$prefix}api/{$link}"/>
</xsl:if>
</xsl:if>
</xsl:template>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/test/corrupt.c new/dbus-1.12.10/test/corrupt.c
--- old/dbus-1.12.6/test/corrupt.c 2017-10-30 13:26:18.000000000 +0100
+++ new/dbus-1.12.10/test/corrupt.c 2018-06-04 18:56:05.000000000 +0200
@@ -36,6 +36,7 @@
typedef struct {
DBusError e;
TestMainContext *ctx;
+ gboolean skip;
DBusServer *server;
DBusConnection *server_conn;
@@ -85,6 +86,14 @@
dbus_error_init (&f->e);
g_queue_init (&f->client_messages);
+ if ((g_str_has_prefix (addr, "tcp:") ||
+ g_str_has_prefix (addr, "nonce-tcp:")) &&
+ !test_check_tcp_works ())
+ {
+ f->skip = TRUE;
+ return;
+ }
+
f->server = dbus_server_listen (addr, &f->e);
assert_no_error (&f->e);
g_assert (f->server != NULL);
@@ -101,6 +110,9 @@
dbus_bool_t have_mem;
char *address = NULL;
+ if (f->skip)
+ return;
+
g_assert (f->server_conn == NULL);
address = dbus_server_get_address (f->server);
@@ -129,6 +141,9 @@
dbus_uint32_t serial;
DBusMessage *outgoing, *incoming;
+ if (f->skip)
+ return;
+
test_connect (f, addr);
outgoing = dbus_message_new_signal ("/com/example/Hello",
@@ -213,6 +228,9 @@
int fd;
DBusMessage *incoming;
+ if (f->skip)
+ return;
+
test_message (f, addr);
dbus_connection_flush (f->server_conn);
@@ -277,6 +295,9 @@
DBusMessage *message;
dbus_bool_t mem;
+ if (f->skip)
+ return;
+
test_message (f, addr);
message = dbus_message_new_signal ("/", "a.b", "c");
@@ -395,5 +416,10 @@
g_test_add ("/corrupt/byte-order/tcp", Fixture, "tcp:host=127.0.0.1", setup,
test_byte_order, teardown);
+#ifdef DBUS_UNIX
+ g_test_add ("/corrupt/byte-order/unix", Fixture, "unix:tmpdir=/tmp", setup,
+ test_byte_order, teardown);
+#endif
+
return g_test_run ();
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/test/fdpass.c new/dbus-1.12.10/test/fdpass.c
--- old/dbus-1.12.6/test/fdpass.c 2017-10-30 13:26:18.000000000 +0100
+++ new/dbus-1.12.10/test/fdpass.c 2018-06-04 18:56:05.000000000 +0200
@@ -79,6 +79,7 @@
typedef struct {
TestMainContext *ctx;
DBusError e;
+ gboolean skip;
DBusServer *server;
@@ -172,6 +173,9 @@
{
char *address;
+ if (f->skip)
+ return;
+
g_assert (f->left_server_conn == NULL);
g_assert (f->right_server_conn == NULL);
@@ -251,6 +255,14 @@
dbus_error_init (&f->e);
g_queue_init (&f->messages);
+ if ((g_str_has_prefix (address, "tcp:") ||
+ g_str_has_prefix (address, "nonce-tcp:")) &&
+ !test_check_tcp_works ())
+ {
+ f->skip = TRUE;
+ return;
+ }
+
f->server = dbus_server_listen (address, &f->e);
assert_no_error (&f->e);
g_assert (f->server != NULL);
@@ -289,6 +301,9 @@
test_unsupported (Fixture *f,
gconstpointer data)
{
+ if (f->skip)
+ return;
+
test_connect (f, FALSE);
if (dbus_connection_can_send_type (f->left_client_conn,
@@ -321,6 +336,9 @@
struct stat stat_before;
struct stat stat_after;
+ if (f->skip)
+ return;
+
test_connect (f, TRUE);
outgoing = dbus_message_new_signal ("/com/example/Hello",
@@ -403,6 +421,9 @@
DBusMessage *outgoing, *incoming;
int i;
+ if (f->skip)
+ return;
+
test_connect (f, TRUE);
outgoing = dbus_message_new_signal ("/com/example/Hello",
@@ -461,6 +482,9 @@
DBusMessage *outgoing;
unsigned int i;
+ if (f->skip)
+ return;
+
test_connect (f, TRUE);
outgoing = dbus_message_new_signal ("/com/example/Hello",
@@ -513,6 +537,12 @@
DBusString buffer;
int fds[TOO_MANY_FDS];
int done;
+#ifdef HAVE_GETRLIMIT
+ struct rlimit lim;
+#endif
+
+ if (f->skip)
+ return;
/* This test deliberately pushes up against OS limits, so skip it
* if we don't have enough fds. 4 times the maximum per message
@@ -520,8 +550,6 @@
* we actually send, the copy that we potentially receive, and some
* spare capacity for everything else. */
#ifdef HAVE_GETRLIMIT
- struct rlimit lim;
-
if (getrlimit (RLIMIT_NOFILE, &lim) == 0)
{
if (lim.rlim_cur != RLIM_INFINITY &&
@@ -643,6 +671,9 @@
DBusMessage *outgoing[SOME_MESSAGES];
dbus_uint32_t serial;
+ if (f->skip)
+ return;
+
test_connect (f, TRUE);
for (j = 0; j < SOME_MESSAGES; j++)
@@ -715,6 +746,9 @@
DBusMessage *outgoing;
int i;
+ if (f->skip)
+ return;
+
test_connect (f, TRUE);
dbus_connection_set_max_message_unix_fds (f->left_server_conn, 7);
dbus_connection_set_max_message_unix_fds (f->right_server_conn, 7);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/test/internals/refs.c new/dbus-1.12.10/test/internals/refs.c
--- old/dbus-1.12.6/test/internals/refs.c 2018-02-08 15:07:21.000000000 +0100
+++ new/dbus-1.12.10/test/internals/refs.c 2018-06-04 18:56:04.000000000 +0200
@@ -223,7 +223,12 @@
dbus_error_init (&f->e);
+#ifdef DBUS_UNIX
+ f->server = dbus_server_listen ("unix:tmpdir=/tmp", &f->e);
+#else
f->server = dbus_server_listen ("tcp:host=127.0.0.1", &f->e);
+#endif
+
assert_no_error (&f->e);
g_assert (f->server != NULL);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/test/internals/server-oom.c new/dbus-1.12.10/test/internals/server-oom.c
--- old/dbus-1.12.6/test/internals/server-oom.c 2017-11-24 14:48:05.000000000 +0100
+++ new/dbus-1.12.10/test/internals/server-oom.c 2018-06-04 18:56:05.000000000 +0200
@@ -38,30 +38,14 @@
/* Return TRUE if the right thing happens, but the right thing might include
* OOM. */
static dbus_bool_t
-test_new_tcp (void *user_data)
+test_new_server (void *user_data)
{
+ const char *listen_address = user_data;
DBusError error = DBUS_ERROR_INIT;
DBusServer *server = NULL;
- dbus_bool_t use_nonce = FALSE;
- const char *bind = "localhost";
- const char *family = NULL;
dbus_bool_t result = FALSE;
- if (user_data != NULL)
- {
- if (strcmp (user_data, "nonce") == 0)
- use_nonce = TRUE;
-
- if (strcmp (user_data, "star") == 0)
- bind = "*";
-
- if (strcmp (user_data, "v4") == 0)
- family = "ipv4";
- }
-
- server = _dbus_server_new_for_tcp_socket ("localhost", bind,
- "0", family, &error,
- use_nonce);
+ server = dbus_server_listen (listen_address, &error);
if (server == NULL)
goto out;
@@ -100,6 +84,11 @@
{
const OOMTestCase *test = data;
+ if ((g_str_has_prefix (test->data, "tcp:") ||
+ g_str_has_prefix (test->data, "nonce-tcp:")) &&
+ !test_check_tcp_works ())
+ return;
+
if (!_dbus_test_oom_handling (test->name, test->function,
(void *) test->data))
{
@@ -136,10 +125,13 @@
test_init (&argc, &argv);
test_cases_to_free = g_queue_new ();
- add_oom_test ("/server/new-tcp", test_new_tcp, NULL);
- add_oom_test ("/server/new-nonce-tcp", test_new_tcp, "nonce");
- add_oom_test ("/server/new-tcp-star", test_new_tcp, "star");
- add_oom_test ("/server/new-tcp-v4", test_new_tcp, "v4");
+ add_oom_test ("/server/new-tcp", test_new_server, "tcp:host=127.0.0.1,bind=127.0.0.1");
+ add_oom_test ("/server/new-nonce-tcp", test_new_server, "nonce-tcp:host=127.0.0.1,bind=127.0.0.1");
+ add_oom_test ("/server/new-tcp-star", test_new_server, "tcp:host=127.0.0.1,bind=*");
+ add_oom_test ("/server/new-tcp-v4", test_new_server, "tcp:host=127.0.0.1,bind=127.0.0.1,family=ipv4");
+#ifdef DBUS_UNIX
+ add_oom_test ("/server/unix", test_new_server, "unix:tmpdir=/tmp");
+#endif
ret = g_test_run ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/test/loopback.c new/dbus-1.12.10/test/loopback.c
--- old/dbus-1.12.6/test/loopback.c 2017-10-30 13:26:18.000000000 +0100
+++ new/dbus-1.12.10/test/loopback.c 2018-06-04 18:56:05.000000000 +0200
@@ -40,6 +40,7 @@
typedef struct {
TestMainContext *ctx;
DBusError e;
+ gboolean skip;
DBusServer *server;
DBusConnection *server_conn;
@@ -97,6 +98,14 @@
dbus_error_init (&f->e);
g_queue_init (&f->server_messages);
+ if ((g_str_has_prefix (addr, "tcp:") ||
+ g_str_has_prefix (addr, "nonce-tcp:")) &&
+ !test_check_tcp_works ())
+ {
+ f->skip = TRUE;
+ return;
+ }
+
f->server = dbus_server_listen (addr, &f->e);
assert_no_error (&f->e);
g_assert (f->server != NULL);
@@ -124,6 +133,9 @@
setup (f, addr);
+ if (f->skip)
+ return;
+
listening_at = dbus_server_get_address (f->server);
g_test_message ("listening at %s", listening_at);
g_assert (g_str_has_prefix (listening_at, "unix:path="));
@@ -146,6 +158,9 @@
setup (f, addr);
+ if (f->skip)
+ return;
+
listening_at = dbus_server_get_address (f->server);
g_test_message ("listening at %s", listening_at);
/* we have fallen back to something in /tmp, either abstract or not */
@@ -166,6 +181,9 @@
int n_entries;
dbus_bool_t ok;
+ if (f->skip)
+ return;
+
g_assert (f->server_conn == NULL);
address = dbus_server_get_address (f->server);
@@ -266,13 +284,17 @@
gconstpointer addr G_GNUC_UNUSED)
{
DBusMessage *incoming;
- char *address = dbus_server_get_address (f->server);
+ char *address;
gchar *guid;
+ if (f->skip)
+ return;
+
g_test_bug ("39720");
g_assert (f->server_conn == NULL);
+ address = dbus_server_get_address (f->server);
g_assert (strstr (address, "guid=") != NULL);
guid = strstr (address, "guid=");
g_assert_cmpuint (strlen (guid), >=, 5 + 32);
@@ -328,6 +350,9 @@
dbus_uint32_t serial;
DBusMessage *outgoing, *incoming;
+ if (f->skip)
+ return;
+
test_connect (f, addr);
outgoing = dbus_message_new_signal ("/com/example/Hello",
@@ -439,6 +464,9 @@
g_test_add ("/message/nonce-tcp", Fixture, "nonce-tcp:host=127.0.0.1", setup,
test_message, teardown);
+ g_test_add ("/message/bad-guid/tcp", Fixture, "tcp:host=127.0.0.1", setup,
+ test_bad_guid, teardown);
+
#ifdef DBUS_UNIX
g_test_add ("/connect/unix/tmpdir", Fixture, "unix:tmpdir=/tmp", setup,
test_connect, teardown);
@@ -455,10 +483,10 @@
g_test_add ("/connect/unix/no-runtime", Fixture,
"unix:runtime=yes;unix:tmpdir=/tmp", setup_no_runtime, test_connect,
teardown_no_runtime);
-#endif
- g_test_add ("/message/bad-guid", Fixture, "tcp:host=127.0.0.1", setup,
+ g_test_add ("/message/bad-guid/unix", Fixture, "unix:tmpdir=/tmp", setup,
test_bad_guid, teardown);
+#endif
return g_test_run ();
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/test/relay.c new/dbus-1.12.10/test/relay.c
--- old/dbus-1.12.6/test/relay.c 2018-02-08 15:07:21.000000000 +0100
+++ new/dbus-1.12.10/test/relay.c 2018-06-04 18:56:05.000000000 +0200
@@ -46,6 +46,7 @@
typedef struct {
TestMainContext *ctx;
DBusError e;
+ gboolean skip;
DBusServer *server;
@@ -120,7 +121,7 @@
static void
setup (Fixture *f,
- gconstpointer data G_GNUC_UNUSED)
+ gconstpointer address)
{
test_timeout_reset (1);
@@ -128,7 +129,15 @@
dbus_error_init (&f->e);
g_queue_init (&f->messages);
- f->server = dbus_server_listen ("tcp:host=127.0.0.1", &f->e);
+ if ((g_str_has_prefix (address, "tcp:") ||
+ g_str_has_prefix (address, "nonce-tcp:")) &&
+ !test_check_tcp_works ())
+ {
+ f->skip = TRUE;
+ return;
+ }
+
+ f->server = dbus_server_listen (address, &f->e);
assert_no_error (&f->e);
g_assert (f->server != NULL);
@@ -144,6 +153,9 @@
dbus_bool_t have_mem;
char *address;
+ if (f->skip)
+ return;
+
g_assert (f->left_server_conn == NULL);
g_assert (f->right_server_conn == NULL);
@@ -205,6 +217,9 @@
{
DBusMessage *incoming;
+ if (f->skip)
+ return;
+
test_connect (f, data);
send_one (f, "First");
@@ -237,6 +252,9 @@
DBusMessage *incoming;
guint i;
+ if (f->skip)
+ return;
+
test_connect (f, data);
/* This was an attempt to reproduce fd.o #34393. It didn't work. */
@@ -321,12 +339,21 @@
{
test_init (&argc, &argv);
- g_test_add ("/connect", Fixture, NULL, setup,
+ g_test_add ("/connect/tcp", Fixture, "tcp:host=127.0.0.1", setup,
+ test_connect, teardown);
+ g_test_add ("/relay/tcp", Fixture, "tcp:host=127.0.0.1", setup,
+ test_relay, teardown);
+ g_test_add ("/limit/tcp", Fixture, "tcp:host=127.0.0.1", setup,
+ test_limit, teardown);
+
+#ifdef DBUS_UNIX
+ g_test_add ("/connect/unix", Fixture, "unix:tmpdir=/tmp", setup,
test_connect, teardown);
- g_test_add ("/relay", Fixture, NULL, setup,
+ g_test_add ("/relay/unix", Fixture, "unix:tmpdir=/tmp", setup,
test_relay, teardown);
- g_test_add ("/limit", Fixture, NULL, setup,
+ g_test_add ("/limit/unix", Fixture, "unix:tmpdir=/tmp", setup,
test_limit, teardown);
+#endif
return g_test_run ();
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/test/test-utils-glib.c new/dbus-1.12.10/test/test-utils-glib.c
--- old/dbus-1.12.6/test/test-utils-glib.c 2018-02-08 15:07:21.000000000 +0100
+++ new/dbus-1.12.10/test/test-utils-glib.c 2018-06-04 18:56:24.000000000 +0200
@@ -34,8 +34,10 @@
# include <io.h>
# include <windows.h>
#else
+# include <netdb.h>
# include <signal.h>
# include <unistd.h>
+# include <sys/socket.h>
# include <sys/types.h>
# include <pwd.h>
#endif
@@ -645,3 +647,58 @@
g_strerror (saved_errno));
}
}
+
+gboolean
+test_check_tcp_works (void)
+{
+#ifdef DBUS_UNIX
+ /* In pathological container environments, we might not have a
+ * working 127.0.0.1 */
+ int res;
+ struct addrinfo *addrs = NULL;
+ struct addrinfo hints;
+ int saved_errno;
+
+ _DBUS_ZERO (hints);
+#ifdef AI_ADDRCONFIG
+ hints.ai_flags |= AI_ADDRCONFIG;
+#endif
+ hints.ai_flags = AI_ADDRCONFIG;
+ hints.ai_family = AF_INET;
+ hints.ai_socktype = SOCK_STREAM;
+ hints.ai_protocol = IPPROTO_TCP;
+
+ res = getaddrinfo ("127.0.0.1", "0", &hints, &addrs);
+ saved_errno = errno;
+
+ if (res != 0)
+ {
+ const gchar *system_message;
+ gchar *skip_message;
+
+#ifdef EAI_SYSTEM
+ if (res == EAI_SYSTEM)
+ system_message = g_strerror (saved_errno);
+ else
+#endif
+ system_message = gai_strerror (res);
+
+ skip_message = g_strdup_printf ("Name resolution does not work here: "
+ "getaddrinfo(\"127.0.0.1\", \"0\", "
+ "{flags=ADDRCONFIG, family=INET,"
+ "socktype=STREAM, protocol=TCP}): "
+ "%s",
+ system_message);
+ g_test_skip (skip_message);
+ free (skip_message);
+ }
+
+ if (addrs != NULL)
+ freeaddrinfo (addrs);
+
+ return (res == 0);
+#else
+ /* Assume that on Windows, TCP always works */
+ return TRUE;
+#endif
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/dbus-1.12.6/test/test-utils-glib.h new/dbus-1.12.10/test/test-utils-glib.h
--- old/dbus-1.12.6/test/test-utils-glib.h 2018-02-08 15:07:21.000000000 +0100
+++ new/dbus-1.12.10/test/test-utils-glib.h 2018-06-04 18:56:05.000000000 +0200
@@ -106,4 +106,6 @@
}
#endif
+gboolean test_check_tcp_works (void);
+
#endif
1
0
Hello community,
here is the log from the commit of package attr for openSUSE:Factory checked in at 2018-09-03 10:32:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/attr (Old)
and /work/SRC/openSUSE:Factory/.attr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "attr"
Mon Sep 3 10:32:30 2018 rev:40 rq:631597 version:2.4.48
Changes:
--------
--- /work/SRC/openSUSE:Factory/attr/attr.changes 2018-03-24 16:06:28.618754170 +0100
+++ /work/SRC/openSUSE:Factory/.attr.new/attr.changes 2018-09-03 10:32:33.916277374 +0200
@@ -1,0 +2,22 @@
+Sat Aug 25 18:33:52 UTC 2018 - jengelh(a)inai.de
+
+- Replace unspecific boilerplate summary from years ago.
+
+-------------------------------------------------------------------
+Mon Aug 13 09:11:11 UTC 2018 - tchvatal(a)suse.com
+
+- Remove obsolete Obsolete lines
+- Drop static subpackage, nothing in TW depends on it Deb/RH do not
+ provide it either
+- Rely on simple upstream make install target
+- Run tests
+- Update to 2.4.48:
+ * Provide default xattr.conf
+ * Update buildsystem to reflect current autotools state
+ * Small test updates
+ * Remove various deprecated sections like attr/attr.h
+- Update keyring, Mike Frysinger released this version
+- Add patch to have tests working with newer perls:
+ * 0001-attr-2.4.48-test-suite-perl.patch
+
+-------------------------------------------------------------------
Old:
----
attr-2.4.47.src.tar.gz
attr-2.4.47.src.tar.gz.sig
xattr.conf
New:
----
0001-attr-2.4.48-test-suite-perl.patch
attr-2.4.48.tar.gz
attr-2.4.48.tar.gz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ attr.spec ++++++
--- /var/tmp/diff_new_pack.e7HHEk/_old 2018-09-03 10:32:34.460278772 +0200
+++ /var/tmp/diff_new_pack.e7HHEk/_new 2018-09-03 10:32:34.464278782 +0200
@@ -16,25 +16,20 @@
#
-Name: attr
%define lname libattr1
+Name: attr
+Version: 2.4.48
+Release: 0
Summary: Commands for Manipulating Extended Attributes
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: System/Filesystems
-Version: 2.4.47
-Release: 0
-Url: http://download.savannah.gnu.org/releases-noredirect/attr/
-
-#Git-Web: http://git.savannah.gnu.org/cgit/attr.git/
-#Git-Clone: git://git.sv.gnu.org/attr
-Source: http://download.savannah.gnu.org/releases-noredirect/attr/%{name}-%{version…
-Source2: http://download.savannah.gnu.org/releases-noredirect/attr/%{name}-%{version…
-Source3: %name.keyring
-Source4: xattr.conf
-Source5: baselibs.conf
-#Patch0: builddefs.in.diff
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-#BuildRequires: gpg-offline
+URL: https://savannah.nongnu.org/projects/attr/
+Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.…
+Source2: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.…
+Source3: %{name}.keyring
+Source99: baselibs.conf
+Patch0: 0001-attr-2.4.48-test-suite-perl.patch
+BuildRequires: pkgconfig
Conflicts: xfsdump < 2.0.0
%description
@@ -43,33 +38,23 @@
is also provided, which is largely compatible with the SGI IRIX tool of
the same name.
-%package -n %lname
+%package -n %{lname}
Summary: A dynamic library for filesystem extended attribute support
-# bug437293
Group: System/Libraries
-%ifarch ppc64
-Obsoletes: libattr-64bit
-%endif
-# Added for 12.1
-Obsoletes: libattr < %version-%release
-Provides: libattr = %version-%release
+Obsoletes: libattr < %{version}-%{release}
+Provides: libattr = %{version}-%{release}
-%description -n %lname
+%description -n %{lname}
This package contains the libattr.so dynamic library, which contains
the extended attribute library functions.
%package -n libattr-devel
-Summary: Include Files and Libraries mandatory for Development
+Summary: Header files for libattr
Group: Development/Libraries/C and C++
-Provides: attr-devel = %version-%release
-Obsoletes: attr-devel < %version-%release
-# bug437293
-%ifarch ppc64
-Obsoletes: libattr-devel-64bit
-%endif
-#
-Requires: %lname = %version
+Requires: %{lname} = %{version}
Requires: glibc-devel
+Provides: attr-devel = %{version}-%{release}
+Obsoletes: attr-devel < %{version}-%{release}
%description -n libattr-devel
This package contains the libraries and header files needed to develop
@@ -77,71 +62,47 @@
documented system call API is the recommended interface, but an SGI
IRIX compatibility interface is also provided.
-%package -n libattr-devel-static
-Summary: Include Files and Libraries mandatory for Development
-Group: Development/Libraries/C and C++
-Provides: libattr-devel:%{_libdir}/libattr.a
-Requires: libattr-devel = %version
-
-%description -n libattr-devel-static
-This package contains the static library of libattr which is needed to develop
-statically linked programs which make use of extended attributes.
-
%prep
%setup -q
+%patch0 -p1
%build
-export OPTIMIZER="$RPM_OPT_FLAGS -fPIC"
-export DEBUG=-DNDEBUG
-%configure --with-pic --enable-static
-%{__make} %{?_smp_mflags}
+%configure \
+ --disable-static \
+ --disable-silent-rules
+make %{?_smp_mflags}
%install
-b="%buildroot"
-make install install-lib install-dev DESTDIR="$b" PKG_DOC_DIR="%_docdir/%name"
-
-mkdir -p "$b/%_lib/"
-mv "$b/%_libdir"/libattr.so.* "$b/%_lib/"
-t=$(readlink "$b/%_libdir/libattr.so")
-ln -sf "/%_lib/$t" "$b/%_libdir/libattr.so"
-rm -f "$b/%_libdir"/*.la
-rm -fv $RPM_BUILD_ROOT%{_mandir}/man2/*xattr.2*
-rm $b%{_mandir}/man5/attr.5
-rm -fv $b%_defaultdocdir/attr/COPYING*
-install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}
-install -m 644 %_sourcedir/xattr.conf $RPM_BUILD_ROOT/%{_sysconfdir}
-%find_lang %name
+%make_install
+# remove libtool archives
+find %{buildroot} -type f -name "*.la" -delete -print
+# handle docs on our own
+rm -rf %{buildroot}/%{_datadir}/doc/%{name}
+%find_lang %{name}
-%post -n %lname -p /sbin/ldconfig
+%check
+make %{?_smp_mflags} check
-%postun -n %lname -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
%files -f %{name}.lang
-%defattr (-,root,root)
-%license doc/COPYING
-%dir %_defaultdocdir/attr
-%_defaultdocdir/attr/README
-%_defaultdocdir/attr/CHANGES.gz
-%_defaultdocdir/attr/PORTING
-%_mandir/man1/*.1*
-%_bindir/attr
-%_bindir/getfattr
-%_bindir/setfattr
+%license doc/COPYING*
+%doc doc/CHANGES doc/PORTING
+%{_mandir}/man1/*.1%{?ext_man}
+%{_bindir}/attr
+%{_bindir}/getfattr
+%{_bindir}/setfattr
%files -n libattr-devel
-%defattr(-,root,root)
-%_includedir/attr/
-%_libdir/libattr.so
-%_mandir/man3/*.3*
-
-%files -n libattr-devel-static
-%defattr(-,root,root)
-%{_libdir}/libattr.a
-
-%files -n %lname
-%defattr (-,root,root)
-%license doc/COPYING.LGPL
-/%{_lib}/libattr.so.1*
+%{_includedir}/attr/
+%{_libdir}/pkgconfig/libattr.pc
+%{_libdir}/libattr.so
+%{_mandir}/man3/*.3%{?ext_man}
+
+%files -n %{lname}
+%license doc/COPYING*
+%{_libdir}/libattr.so.1*
%config %{_sysconfdir}/xattr.conf
%changelog
++++++ 0001-attr-2.4.48-test-suite-perl.patch ++++++
>From 46baedf88fe22abafa3f2341b2c1bcb4764ce389 Mon Sep 17 00:00:00 2001
From: Troy Dawson <tdawson(a)redhat.com>
Date: Fri, 21 Jul 2017 14:05:47 -0700
Subject: [PATCH] attr: escape left brace in a regex in test/run
... to fix test-suite failure with perl-5.26.0
Bug: https://bugzilla.redhat.com/1473853
Signed-off-by: Kamil Dudka <kdudka(a)redhat.com>
---
test/run | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/run b/test/run
index 4b1f8d0..07e916c 100755
--- a/test/run
+++ b/test/run
@@ -106,7 +106,7 @@ for (;;) {
if (defined $line) {
# Substitute %VAR and %{VAR} with environment variables.
$line =~ s[%(\w+)][$ENV{$1}]eg;
- $line =~ s[%{(\w+)}][$ENV{$1}]eg;
+ $line =~ s[%\{(\w+)}][$ENV{$1}]eg;
}
if (defined $line) {
if ($line =~ s/^\s*< ?//) {
--
2.13.0
++++++ attr-2.4.47.src.tar.gz -> attr-2.4.48.tar.gz ++++++
++++ 67440 lines of diff (skipped)
++++++ attr.keyring ++++++
++++ 1195 lines (skipped)
++++ between attr.keyring
++++ and /work/SRC/openSUSE:Factory/.attr.new/attr.keyring
1
0
Hello community,
here is the log from the commit of package pam for openSUSE:Factory checked in at 2018-09-03 10:32:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam (Old)
and /work/SRC/openSUSE:Factory/.pam.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pam"
Mon Sep 3 10:32:24 2018 rev:92 rq:631392 version:1.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/pam/pam.changes 2018-07-18 22:37:01.522324904 +0200
+++ /work/SRC/openSUSE:Factory/.pam.new/pam.changes 2018-09-03 10:32:25.288255207 +0200
@@ -1,0 +2,7 @@
+Fri Aug 24 09:35:18 UTC 2018 - psimons(a)suse.com
+
+- Add libdb as build-time dependency to enable pam_userdb module.
+ This module is useful for implementing virtual user support for
+ vsftpd and possibly other daemons, too. [bsc#929711, fate#322538]
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pam.spec ++++++
--- /var/tmp/diff_new_pack.bstISt/_old 2018-09-03 10:32:25.900256780 +0200
+++ /var/tmp/diff_new_pack.bstISt/_new 2018-09-03 10:32:25.904256789 +0200
@@ -26,6 +26,7 @@
BuildRequires: cracklib-devel
BuildRequires: flex
%if 0%{?suse_version} > 1320
+BuildRequires: libdb-4_8-devel
BuildRequires: pkgconfig(libnsl)
BuildRequires: pkgconfig(libtirpc)
%endif
@@ -66,6 +67,7 @@
Patch4: pam-hostnames-in-access_conf.patch
Patch5: pam-fix-config-order-in-manpage.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: libdb-4_8-devel
# Remove with next version update:
BuildRequires: autoconf
BuildRequires: automake
@@ -301,7 +303,7 @@
/%{_lib}/security/pam_unix_auth.so
/%{_lib}/security/pam_unix_passwd.so
/%{_lib}/security/pam_unix_session.so
-#/%{_lib}/security/pam_userdb.so
+/%{_lib}/security/pam_userdb.so
/%{_lib}/security/pam_warn.so
/%{_lib}/security/pam_wheel.so
/%{_lib}/security/pam_xauth.so
1
0
Hello community,
here is the log from the commit of package bzip2 for openSUSE:Factory checked in at 2018-09-03 10:32:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bzip2 (Old)
and /work/SRC/openSUSE:Factory/.bzip2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bzip2"
Mon Sep 3 10:32:19 2018 rev:61 rq:631047 version:1.0.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/bzip2/bzip2.changes 2018-03-07 10:28:36.243623329 +0100
+++ /work/SRC/openSUSE:Factory/.bzip2.new/bzip2.changes 2018-09-03 10:32:21.832246330 +0200
@@ -1,0 +2,8 @@
+Tue Aug 21 11:28:34 UTC 2018 - christophe(a)krop.fr
+
+- Replace the URL. The bzip.org owner changed.
+- Remove the URL from the 'Source' line. The 1.0.6 version is not
+ available.
+- Run spec-cleaner.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bzip2.spec ++++++
--- /var/tmp/diff_new_pack.ZHa4Ky/_old 2018-09-03 10:32:22.388247758 +0200
+++ /var/tmp/diff_new_pack.ZHa4Ky/_new 2018-09-03 10:32:22.392247768 +0200
@@ -23,8 +23,8 @@
Summary: A Program for Compressing Files
License: BSD-3-Clause
Group: Productivity/Archiving/Compression
-Url: http://www.bzip.org/
-Source: http://www.bzip.org/1.0.6/bzip2-%{version}.tar.gz
+URL: https://sourceware.org/bzip2
+Source: %{name}-%{version}.tar.gz
Source1: bznew.gz
Source2: bznew.1.gz
Source3: baselibs.conf
@@ -35,7 +35,7 @@
Patch2: bzip2-unsafe_strcpy.patch
Patch3: bzip2-point-to-doc-pkg.patch
Patch4: bzip2-ocloexec.patch
-# PATCH-FIX-UPSTREAM bnc#970260 kstreitova(a)suse.com -- fix a wrong exit code when grepping multiple archives
+# PATCH-FIX-UPSTREAM bnc#970260 kstreitova(a)suse.com -- fix a wrong exit code when grepping multiple archives
Patch5: bzip2-1.0.6-bzgrep_return_value.patch
BuildRequires: autoconf >= 2.57
BuildRequires: libtool
@@ -115,7 +115,6 @@
make %{?_smp_mflags} test
%files
-%defattr(-,root,root)
%{_bindir}/bunzip2
%{_bindir}/bzcat
%{_bindir}/bzcmp
@@ -128,28 +127,25 @@
%{_bindir}/bzless
%{_bindir}/bzmore
%{_bindir}/bznew
-%{_mandir}/man1/bunzip2.1%{ext_man}
-%{_mandir}/man1/bzcat.1%{ext_man}
-%{_mandir}/man1/bzcmp.1%{ext_man}
-%{_mandir}/man1/bzdiff.1%{ext_man}
-%{_mandir}/man1/bzegrep.1%{ext_man}
-%{_mandir}/man1/bzfgrep.1%{ext_man}
-%{_mandir}/man1/bzgrep.1%{ext_man}
-%{_mandir}/man1/bzip2.1%{ext_man}
-%{_mandir}/man1/bzless.1%{ext_man}
-%{_mandir}/man1/bzmore.1%{ext_man}
-%{_mandir}/man1/bznew.1%{ext_man}
+%{_mandir}/man1/bunzip2.1%{?ext_man}
+%{_mandir}/man1/bzcat.1%{?ext_man}
+%{_mandir}/man1/bzcmp.1%{?ext_man}
+%{_mandir}/man1/bzdiff.1%{?ext_man}
+%{_mandir}/man1/bzegrep.1%{?ext_man}
+%{_mandir}/man1/bzfgrep.1%{?ext_man}
+%{_mandir}/man1/bzgrep.1%{?ext_man}
+%{_mandir}/man1/bzip2.1%{?ext_man}
+%{_mandir}/man1/bzless.1%{?ext_man}
+%{_mandir}/man1/bzmore.1%{?ext_man}
+%{_mandir}/man1/bznew.1%{?ext_man}
%files doc
-%defattr(-,root,root)
%doc manual.ps.gz manual*.html bzip2.txt manual.pdf
%files -n %{libname}
-%defattr(-,root,root)
%{_libdir}/libbz2.so.*
%files -n libbz2-devel
-%defattr(-,root,root)
%license LICENSE
%doc CHANGES
%{_includedir}/bzlib.h
1
0