openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
November 2018
- 1 participants
- 1606 discussions
Hello community,
here is the log from the commit of package smemstat for openSUSE:Factory checked in at 2018-11-27 10:45:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/smemstat (Old)
and /work/SRC/openSUSE:Factory/.smemstat.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "smemstat"
Tue Nov 27 10:45:12 2018 rev:5 rq:652064 version:0.02.01
Changes:
--------
--- /work/SRC/openSUSE:Factory/smemstat/smemstat.changes 2018-07-12 09:21:40.750629524 +0200
+++ /work/SRC/openSUSE:Factory/.smemstat.new.19453/smemstat.changes 2018-11-27 10:46:38.387936037 +0100
@@ -1,0 +2,6 @@
+Mon Nov 26 12:33:56 UTC 2018 - Cristian Rodríguez <crrodriguez(a)opensuse.org>
+
+- Use the correct set of ncurses headers, find ncursesw includes
+ with pkg-config
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ smemstat.spec ++++++
--- /var/tmp/diff_new_pack.bcezao/_old 2018-11-27 10:46:38.811935602 +0100
+++ /var/tmp/diff_new_pack.bcezao/_new 2018-11-27 10:46:38.815935597 +0100
@@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -25,7 +25,7 @@
Group: System/Monitoring
Url: http://kernel.ubuntu.com/~cking/smemstat/
Source: http://kernel.ubuntu.com/~cking/tarballs/%{name}/%{name}-%{version}.tar.xz
-BuildRequires: ncurses-devel
+BuildRequires: pkgconfig(ncursesw)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -37,7 +37,7 @@
%setup -q
%build
-export CFLAGS="%{optflags}"
+export CFLAGS="%{optflags} $(pkg-config --cflags ncursesw) -fwhole-program"
make %{?_smp_mflags}
%install
1
0
Hello community,
here is the log from the commit of package bazel for openSUSE:Factory checked in at 2018-11-27 10:44:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bazel (Old)
and /work/SRC/openSUSE:Factory/.bazel.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bazel"
Tue Nov 27 10:44:53 2018 rev:3 rq:652046 version:0.19.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/bazel/bazel.changes 2018-11-14 14:44:32.290601470 +0100
+++ /work/SRC/openSUSE:Factory/.bazel.new.19453/bazel.changes 2018-11-27 10:46:34.111940429 +0100
@@ -1,0 +2,13 @@
+Mon Nov 26 16:15:23 UTC 2018 - Michał Rostecki <mrostecki(a)suse.de>
+
+- Update to version 0.19.2:
+ * Add cc_toolchain targets for the new entries in the default
+ cc_toolchain_suite.
+ * Read the CROSSTOOL from the package of the current
+ cc_toolchain, not from --crosstool_top
+ * CROSSTOOL file is now read from the package of cc_toolchain,
+ not from the package of cc_toolchain_suite. This is not
+ expected to break anybody since cc_toolchain_suite and
+ cc_toolchain are commonly in the same package.
+
+-------------------------------------------------------------------
Old:
----
bazel-0.19.0-dist.zip
bazel-0.19.0-dist.zip.sig
New:
----
bazel-0.19.2-dist.zip
bazel-0.19.2-dist.zip.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bazel.spec ++++++
--- /var/tmp/diff_new_pack.znlCwr/_old 2018-11-27 10:46:36.059938428 +0100
+++ /var/tmp/diff_new_pack.znlCwr/_new 2018-11-27 10:46:36.063938425 +0100
@@ -1,6 +1,7 @@
+#
# spec file for package bazel
#
-# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -11,12 +12,12 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: bazel
-Version: 0.19.0
+Version: 0.19.2
Release: 0
Summary: Tool for the automation of building and testing of software
License: Apache-2.0
@@ -24,13 +25,13 @@
URL: http://bazel.io/
Source0: https://github.com/bazelbuild/bazel/releases/download/%{version}/%{name}-%{…
Source1: https://github.com/bazelbuild/bazel/releases/download/%{version}/%{name}-%{…
+BuildRequires: gcc-c++
BuildRequires: java-1_8_0-openjdk-devel
-BuildRequires: zlib-devel
-BuildRequires: pkgconfig(bash-completion)
BuildRequires: python
-BuildRequires: gcc-c++
BuildRequires: unzip
BuildRequires: zip
+BuildRequires: zlib-devel
+BuildRequires: pkgconfig(bash-completion)
Requires: java-1_8_0-openjdk-devel
%define bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null)
%ifarch armv7l
1
0
Hello community,
here is the log from the commit of package redis for openSUSE:Factory checked in at 2018-11-27 10:44:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/redis (Old)
and /work/SRC/openSUSE:Factory/.redis.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "redis"
Tue Nov 27 10:44:47 2018 rev:46 rq:652041 version:4.0.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/redis/redis.changes 2018-09-11 17:15:58.563532052 +0200
+++ /work/SRC/openSUSE:Factory/.redis.new.19453/redis.changes 2018-11-27 10:46:25.227949554 +0100
@@ -1,0 +2,5 @@
+Mon Nov 26 16:27:53 UTC 2018 - Andrey Karepin <egdfree(a)opensuse.org>
+
+- update systemd unit file to fix redis shutdown immedaiate after start
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ redis.spec ++++++
--- /var/tmp/diff_new_pack.1jJwxN/_old 2018-11-27 10:46:27.119947611 +0100
+++ /var/tmp/diff_new_pack.1jJwxN/_new 2018-11-27 10:46:27.123947606 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
++++++ redis-sentinel@.service ++++++
--- /var/tmp/diff_new_pack.1jJwxN/_old 2018-11-27 10:46:27.227947499 +0100
+++ /var/tmp/diff_new_pack.1jJwxN/_new 2018-11-27 10:46:27.227947499 +0100
@@ -4,7 +4,7 @@
PartOf=redis-sentinel.target
[Service]
-Type=simple
+Type=notify
User=redis
Group=redis
PrivateTmp=true
++++++ redis@.service ++++++
--- /var/tmp/diff_new_pack.1jJwxN/_old 2018-11-27 10:46:27.299947426 +0100
+++ /var/tmp/diff_new_pack.1jJwxN/_new 2018-11-27 10:46:27.299947426 +0100
@@ -4,7 +4,7 @@
PartOf=redis.target
[Service]
-Type=simple
+Type=notify
User=redis
Group=redis
PrivateTmp=true
1
0
Hello community,
here is the log from the commit of package pdns-recursor for openSUSE:Factory checked in at 2018-11-27 10:44:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pdns-recursor (Old)
and /work/SRC/openSUSE:Factory/.pdns-recursor.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pdns-recursor"
Tue Nov 27 10:44:34 2018 rev:23 rq:652039 version:4.1.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/pdns-recursor/pdns-recursor.changes 2018-11-08 09:50:42.860942318 +0100
+++ /work/SRC/openSUSE:Factory/.pdns-recursor.new.19453/pdns-recursor.changes 2018-11-27 10:46:18.979955971 +0100
@@ -1,0 +2,18 @@
+Mon Nov 26 16:15:31 UTC 2018 - adam.majer(a)suse.de
+
+- update to 4.1.8
+ https://blog.powerdns.com/2018/11/26/powerdns-recursor-4-1-8-released/
+
+ - Fixes case where a crafted query can cause a denial of service
+ (CVE-2018-16855, bsc#1116592)
+
+-------------------------------------------------------------------
+Fri Nov 9 14:05:18 UTC 2018 - adam.majer(a)suse.de
+
+- update to 4.1.7
+ https://blog.powerdns.com/2018/11/09/powerdns-recursor-4-1-7-released/
+
+ - Revert ‘Keep the EDNS status of a server on FormErr with EDNS’
+ - Refuse queries for all meta-types
+
+-------------------------------------------------------------------
Old:
----
pdns-recursor-4.1.6.tar.bz2
pdns-recursor-4.1.6.tar.bz2.sig
New:
----
pdns-recursor-4.1.8.tar.bz2
pdns-recursor-4.1.8.tar.bz2.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pdns-recursor.spec ++++++
--- /var/tmp/diff_new_pack.CgkaAp/_old 2018-11-27 10:46:21.867953005 +0100
+++ /var/tmp/diff_new_pack.CgkaAp/_new 2018-11-27 10:46:21.875952997 +0100
@@ -35,11 +35,8 @@
%endif
Name: pdns-recursor
-Version: 4.1.6
+Version: 4.1.8
Release: 0
-%define pkg_version 4.1.6
-#
-#
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@@ -84,8 +81,8 @@
PreReq: pdns-common
#
Url: http://www.powerdns.com/
-Source: http://downloads.powerdns.com/releases/%{name}-%{pkg_version}.tar.bz2
-Source10: http://downloads.powerdns.com/releases/%{name}-%{pkg_version}.tar.bz2.sig
+Source: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.bz2
+Source10: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.bz2.sig
Source11: https://powerdns.com/powerdns-keyblock.asc#/pdns-recursor.keyring
Source1: pdns-recursor.init
Source2: recursor.conf
@@ -104,7 +101,7 @@
http://www.powerdns.com
%prep
-%setup -n %{name}-%{pkg_version}
+%setup -n %{name}-%{version}
%build
autoreconf -fi
++++++ pdns-recursor-4.1.6.tar.bz2 -> pdns-recursor-4.1.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-recursor-4.1.6/.version new/pdns-recursor-4.1.8/.version
--- old/pdns-recursor-4.1.6/.version 2018-11-07 12:35:29.000000000 +0100
+++ new/pdns-recursor-4.1.8/.version 2018-11-26 14:23:43.000000000 +0100
@@ -1 +1 @@
-4.1.6
+4.1.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-recursor-4.1.6/configure new/pdns-recursor-4.1.8/configure
--- old/pdns-recursor-4.1.6/configure 2018-11-07 12:35:28.000000000 +0100
+++ new/pdns-recursor-4.1.8/configure 2018-11-26 14:23:42.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for pdns-recursor 4.1.6.
+# Generated by GNU Autoconf 2.69 for pdns-recursor 4.1.8.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@
# Identity of this package.
PACKAGE_NAME='pdns-recursor'
PACKAGE_TARNAME='pdns-recursor'
-PACKAGE_VERSION='4.1.6'
-PACKAGE_STRING='pdns-recursor 4.1.6'
+PACKAGE_VERSION='4.1.8'
+PACKAGE_STRING='pdns-recursor 4.1.8'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1445,7 +1445,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures pdns-recursor 4.1.6 to adapt to many kinds of systems.
+\`configure' configures pdns-recursor 4.1.8 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1515,7 +1515,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of pdns-recursor 4.1.6:";;
+ short | recursive ) echo "Configuration of pdns-recursor 4.1.8:";;
esac
cat <<\_ACEOF
@@ -1677,7 +1677,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-pdns-recursor configure 4.1.6
+pdns-recursor configure 4.1.8
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2270,7 +2270,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by pdns-recursor $as_me 4.1.6, which was
+It was created by pdns-recursor $as_me 4.1.8, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3133,7 +3133,7 @@
# Define the identity of the package.
PACKAGE='pdns-recursor'
- VERSION='4.1.6'
+ VERSION='4.1.8'
cat >>confdefs.h <<_ACEOF
@@ -21846,7 +21846,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by pdns-recursor $as_me 4.1.6, which was
+This file was extended by pdns-recursor $as_me 4.1.8, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21912,7 +21912,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-pdns-recursor config.status 4.1.6
+pdns-recursor config.status 4.1.8
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-recursor-4.1.6/packetcache.hh new/pdns-recursor-4.1.8/packetcache.hh
--- old/pdns-recursor-4.1.6/packetcache.hh 2018-11-07 12:35:16.000000000 +0100
+++ new/pdns-recursor-4.1.8/packetcache.hh 2018-11-26 14:23:30.000000000 +0100
@@ -38,7 +38,7 @@
const char* end = packet.c_str() + packetSize;
const char* p = packet.c_str() + pos;
- for(; p < end && *p; ++p) { // XXX if you embed a 0 in your qname we'll stop lowercasing there
+ for(; p < end && *p; ++p, ++pos) { // XXX if you embed a 0 in your qname we'll stop lowercasing there
const unsigned char l = dns_tolower(*p); // label lengths can safely be lower cased
ret=burtle(&l, 1, ret);
} // XXX the embedded 0 in the qname will break the subnet stripping
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-recursor-4.1.6/pdns_recursor.1 new/pdns-recursor-4.1.8/pdns_recursor.1
--- old/pdns-recursor-4.1.6/pdns_recursor.1 2018-11-07 12:36:20.000000000 +0100
+++ new/pdns-recursor-4.1.8/pdns_recursor.1 2018-11-26 14:24:33.000000000 +0100
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "PDNS_RECURSOR" "1" "Nov 07, 2018" "4.1" "PowerDNS Recursor"
+.TH "PDNS_RECURSOR" "1" "Nov 26, 2018" "4.1" "PowerDNS Recursor"
.SH NAME
pdns_recursor \- The PowerDNS Recursor binary
.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-recursor-4.1.6/rec_control.1 new/pdns-recursor-4.1.8/rec_control.1
--- old/pdns-recursor-4.1.6/rec_control.1 2018-11-07 12:36:20.000000000 +0100
+++ new/pdns-recursor-4.1.8/rec_control.1 2018-11-26 14:24:33.000000000 +0100
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
-.TH "REC_CONTROL" "1" "Nov 07, 2018" "4.1" "PowerDNS Recursor"
+.TH "REC_CONTROL" "1" "Nov 26, 2018" "4.1" "PowerDNS Recursor"
.SH NAME
rec_control \- Command line tool to control a running Recursor
.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-recursor-4.1.6/syncres.cc new/pdns-recursor-4.1.8/syncres.cc
--- old/pdns-recursor-4.1.6/syncres.cc 2018-11-07 12:35:16.000000000 +0100
+++ new/pdns-recursor-4.1.8/syncres.cc 2018-11-26 14:23:30.000000000 +0100
@@ -117,8 +117,6 @@
/** everything begins here - this is the entry point just after receiving a packet */
int SyncRes::beginResolve(const DNSName &qname, const QType &qtype, uint16_t qclass, vector<DNSRecord>&ret)
{
- /* rfc6895 section 3.1 + RRSIG and NSEC3 */
- static const std::set<uint16_t> metaTypes = { QType::AXFR, QType::IXFR, QType::RRSIG, QType::NSEC3, QType::OPT, QType::TSIG, QType::TKEY, QType::MAILA, QType::MAILB };
vState state = Indeterminate;
s_queries++;
d_wasVariable=false;
@@ -129,7 +127,9 @@
return 0; // so do check before updating counters (we do now)
}
- if (metaTypes.count(qtype.getCode())) {
+ auto qtypeCode = qtype.getCode();
+ /* rfc6895 section 3.1 */
+ if ((qtypeCode >= 128 && qtypeCode <= 254) || qtypeCode == QType::RRSIG || qtypeCode == QType::NSEC3 || qtypeCode == QType::OPT || qtypeCode == 65535) {
return -1;
}
@@ -479,7 +479,12 @@
return ret;
}
else if(mode==EDNSStatus::UNKNOWN || mode==EDNSStatus::EDNSOK || mode == EDNSStatus::EDNSIGNORANT ) {
- if(!res->d_haveEDNS && (res->d_rcode == RCode::FormErr || res->d_rcode == RCode::NotImp)) {
+ /* So, you might be tempted to treat the presence of EDNS in a response as meaning that the
+ server does understand EDNS, and thus prevent a downgrade to no EDNS.
+ It turns out that you can't because there are a lot of crappy servers out there,
+ so you have to treat a FormErr as 'I have no idea what this EDNS thing is' no matter what.
+ */
+ if(res->d_rcode == RCode::FormErr || res->d_rcode == RCode::NotImp) {
// cerr<<"Downgrading to NOEDNS because of "<<RCode::to_s(res->d_rcode)<<" for query to "<<ip.toString()<<" for '"<<domain<<"'"<<endl;
mode = EDNSStatus::NOEDNS;
continue;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-recursor-4.1.6/test-packetcache_hh.cc new/pdns-recursor-4.1.8/test-packetcache_hh.cc
--- old/pdns-recursor-4.1.6/test-packetcache_hh.cc 2018-11-07 12:35:16.000000000 +0100
+++ new/pdns-recursor-4.1.8/test-packetcache_hh.cc 2018-11-26 14:23:30.000000000 +0100
@@ -166,6 +166,38 @@
}
}
+BOOST_AUTO_TEST_CASE(test_PacketCacheRecSimple) {
+
+ const DNSName qname("www.powerdns.com.");
+ uint16_t qtype = QType::AAAA;
+ EDNSSubnetOpts opt;
+ DNSPacketWriter::optvect_t ednsOptions;
+ uint16_t ecsBegin;
+ uint16_t ecsEnd;
+
+ {
+ vector<uint8_t> packet;
+ DNSPacketWriter pw1(packet, qname, qtype);
+ pw1.getHeader()->rd = true;
+ pw1.getHeader()->qr = false;
+ pw1.getHeader()->id = 0x42;
+ pw1.addOpt(512, 0, 0);
+ pw1.commit();
+
+ string spacket1((const char*)&packet[0], packet.size());
+ /* set the RD length to a large value */
+ unsigned char* ptr = reinterpret_cast<unsigned char*>(&spacket1.at(sizeof(dnsheader) + qname.wirelength() + /* qtype and qclass */ 4 + /* OPT root label (1), type (2), class (2) and ttl (4) */ 9));
+ *ptr = 255;
+ *(ptr + 1) = 255;
+ /* truncate the end of the OPT header to try to trigger an out of bounds read */
+ spacket1.resize(spacket1.size() - 6);
+ PacketCache::canHashPacket(spacket1, &ecsBegin, &ecsEnd);
+ /* no ECS */
+ BOOST_CHECK_EQUAL(ecsBegin, 0);
+ BOOST_CHECK_EQUAL(ecsEnd, 0);
+ }
+}
+
BOOST_AUTO_TEST_CASE(test_PacketCacheRecCollision) {
/* rec version (ECS is processed, we hash the whole query except for the ID and the ECS value, while lowercasing the qname) */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pdns-recursor-4.1.6/test-syncres_cc.cc new/pdns-recursor-4.1.8/test-syncres_cc.cc
--- old/pdns-recursor-4.1.6/test-syncres_cc.cc 2018-11-07 12:35:16.000000000 +0100
+++ new/pdns-recursor-4.1.8/test-syncres_cc.cc 2018-11-26 14:23:30.000000000 +0100
@@ -652,8 +652,9 @@
initSR(sr);
/* in this test, the auth answers with FormErr to an EDNS-enabled
- query, but the response does contain EDNS so we should not mark
- it as EDNS ignorant or intolerant.
+ query, but the response does contain EDNS so we might consider
+ that the server knows a bit about EDNS. It turns out that we can't
+ because there are too many awful servers out there.
*/
size_t queriesWithEDNS = 0;
size_t queriesWithoutEDNS = 0;
@@ -669,11 +670,15 @@
}
usedServers.insert(ip);
- if (type == QType::DNAME) {
- setLWResult(res, RCode::FormErr);
+ if (type == QType::A) {
if (EDNS0Level > 0) {
+ setLWResult(res, RCode::FormErr);
res->d_haveEDNS = true;
}
+ else {
+ setLWResult(res, 0, true, false, false);
+ addRecordToLW(res, domain, QType::A, "192.0.2.1");
+ }
return 1;
}
@@ -683,15 +688,40 @@
primeHints();
vector<DNSRecord> ret;
- int res = sr->beginResolve(DNSName("powerdns.com."), QType(QType::DNAME), QClass::IN, ret);
- BOOST_CHECK_EQUAL(res, RCode::ServFail);
- BOOST_CHECK_EQUAL(ret.size(), 0);
- BOOST_CHECK_EQUAL(queriesWithEDNS, 26);
- BOOST_CHECK_EQUAL(queriesWithoutEDNS, 0);
- BOOST_CHECK_EQUAL(SyncRes::getEDNSStatusesSize(), 26);
- BOOST_CHECK_EQUAL(usedServers.size(), 26);
+ int res = sr->beginResolve(DNSName("powerdns.com."), QType(QType::A), QClass::IN, ret);
+ BOOST_CHECK_EQUAL(res, RCode::NoError);
+ BOOST_CHECK_EQUAL(ret.size(), 1);
+ BOOST_CHECK_EQUAL(queriesWithEDNS, 1);
+ BOOST_CHECK_EQUAL(queriesWithoutEDNS, 1);
+ BOOST_CHECK_EQUAL(SyncRes::getEDNSStatusesSize(), 1);
+ BOOST_CHECK_EQUAL(usedServers.size(), 1);
for (const auto& server : usedServers) {
- BOOST_CHECK_EQUAL(SyncRes::getEDNSStatus(server), SyncRes::EDNSStatus::EDNSOK);
+ BOOST_CHECK_EQUAL(SyncRes::getEDNSStatus(server), SyncRes::EDNSStatus::NOEDNS);
+ }
+}
+
+BOOST_AUTO_TEST_CASE(test_meta_types) {
+ std::unique_ptr<SyncRes> sr;
+ initSR(sr);
+
+ static const std::set<uint16_t> invalidTypes = { 128, QType::AXFR, QType::IXFR, QType::RRSIG, QType::NSEC3, QType::OPT, QType::TSIG, QType::TKEY, QType::MAILA, QType::MAILB, 65535 };
+
+ for (const auto qtype : invalidTypes) {
+ size_t queriesCount = 0;
+
+ sr->setAsyncCallback([&queriesCount](const ComboAddress& ip, const DNSName& domain, int type, bool doTCP, bool sendRDQuery, int EDNS0Level, struct timeval* now, boost::optional<Netmask>& srcmask, boost::optional<const ResolveContext&> context, std::shared_ptr<RemoteLogger> outgoingLogger, LWResult* res, bool* chained) {
+
+ queriesCount++;
+ return 0;
+ });
+
+ primeHints();
+
+ vector<DNSRecord> ret;
+ int res = sr->beginResolve(DNSName("powerdns.com."), QType(qtype), QClass::IN, ret);
+ BOOST_CHECK_EQUAL(res, -1);
+ BOOST_CHECK_EQUAL(ret.size(), 0);
+ BOOST_CHECK_EQUAL(queriesCount, 0);
}
}
1
0
Hello community,
here is the log from the commit of package kvirc for openSUSE:Factory checked in at 2018-11-27 10:44:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kvirc (Old)
and /work/SRC/openSUSE:Factory/.kvirc.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kvirc"
Tue Nov 27 10:44:27 2018 rev:40 rq:652037 version:4.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/kvirc/kvirc.changes 2017-12-19 10:57:21.884602325 +0100
+++ /work/SRC/openSUSE:Factory/.kvirc.new.19453/kvirc.changes 2018-11-27 10:46:10.411964770 +0100
@@ -1,0 +2,6 @@
+Fri Nov 16 23:37:39 UTC 2018 - Bernhard Wiedemann <bwiedemann(a)suse.com>
+
+- Add kvirc-cmake-timestamp.patch kvirc-gendoc-date.patch (boo#1047218)
+- Add kvirc-no-uname.patch to make package build reproducible (boo#1101107)
+
+-------------------------------------------------------------------
New:
----
kvirc-cmake-timestamp.patch
kvirc-gendoc-date.patch
kvirc-no-uname.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kvirc.spec ++++++
--- /var/tmp/diff_new_pack.ADHCmx/_old 2018-11-27 10:46:11.919963221 +0100
+++ /var/tmp/diff_new_pack.ADHCmx/_new 2018-11-27 10:46:11.923963217 +0100
@@ -26,6 +26,12 @@
Source: ftp://ftp.kvirc.de/pub/kvirc/%{version}/source/kvirc-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM fix-processEvents.patch wbauer(a)tmo.at -- fixes use of wrong operator when constructing the parameter to QApplication::processEvents(), and as a result also the build with gcc6
Patch: fix-processEvents.patch
+# PATCH-FIX-UPSTREAM
+Patch1: kvirc-gendoc-date.patch
+# PATCH-FIX-UPSTREAM
+Patch2: kvirc-cmake-timestamp.patch
+# PATCH-FIX-UPSTREAM
+Patch3: kvirc-no-uname.patch
%define _realversion 4.0
BuildRequires: audiofile-devel
BuildRequires: fdupes
@@ -64,8 +70,7 @@
%prep
%setup -q -n kvirc-%{version}
-%patch -p1
-sed -i -e 's|@CMAKE_KVIRC_BUILD_DATE@||g' cmake/kvirc-config.cmake
+%autopatch -p1
%build
EXTRA_FLAGS="-DWANT_KDE4=ON \
++++++ kvirc-cmake-timestamp.patch ++++++
https://github.com/kvirc/KVIrc/pull/2361 merged upstream
https://bugzilla.opensuse.org/show_bug.cgi?id=1047218 packages do not build reproducibly from including build time
>From 911e328d757e5c180434051ffedb4d4179700c94 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedemann(a)suse.de>
Date: Fri, 23 Mar 2018 06:34:59 +0100
Subject: [PATCH] Use cmake TIMESTAMP
This greatly simlifies the code
and helps to allow reproducible builds.
See https://reproducible-builds.org/ for why this is good.
---
CMakeLists.txt | 11 +---------
cmake/datetime.cpp | 55 ----------------------------------------------
2 files changed, 1 insertion(+), 65 deletions(-)
delete mode 100644 cmake/datetime.cpp
Index: kvirc-4.2.0/CMakeLists.txt
===================================================================
--- kvirc-4.2.0.orig/CMakeLists.txt
+++ kvirc-4.2.0/CMakeLists.txt
@@ -126,16 +126,7 @@ ENDIF()
LIST(APPEND CMAKE_KVIRC_BUILD_FLAGS MANDIR=${MANDIR_PREFIX})
# Get the build date
-TRY_RUN(TEST_DID_RUN TEST_DID_COMPILE "${CMAKE_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/datetime.cpp" OUTPUT_VARIABLE TEST_BUILD_DATE)
-IF(TEST_DID_COMPILE)
- STRING(REGEX MATCH "[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [A-Z][A-Z][A-Z]" CMAKE_KVIRC_BUILD_DATE "${TEST_BUILD_DATE}")
-ELSE()
- MESSAGE(STATUS " Test datetime program failed to compile:")
- MESSAGE(STATUS " ----------------------------------------")
- MESSAGE(STATUS "${TEST_BUILD_DATE}")
- MESSAGE(STATUS " ----------------------------------------")
- SET(CMAKE_KVIRC_BUILD_DATE "ERROR ")
-ENDIF()
+string(TIMESTAMP CMAKE_KVIRC_BUILD_DATE "%Y-%m-%d %H:%M:%S UTC" UTC)
# Set var to link with, for later use
SET(LIBS)
++++++ kvirc-gendoc-date.patch ++++++
https://github.com/kvirc/KVIrc/pull/2360 merged upstream
https://bugzilla.opensuse.org/show_bug.cgi?id=1047218 packages do not build reproducibly from including build time
>From 567d4f5de84d0794baac1fd6046abf6157ad7df2 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedemann(a)suse.de>
Date: Fri, 23 Mar 2018 06:49:51 +0100
Subject: [PATCH] doc: Allow to override build date
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
---
admin/gendoc.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: kvirc-4.2.0/admin/gendoc.pl
===================================================================
--- kvirc-4.2.0.orig/admin/gendoc.pl
+++ kvirc-4.2.0/admin/gendoc.pl
@@ -28,8 +28,8 @@
# GLOBAL CONFIGS
#################################################################################################
-$g_currenttime=gmtime;
-$g_currentuser = getlogin || getpwuid($<) || "Unknown";
+$g_currenttime = gmtime($ENV{SOURCE_DATE_EPOCH} || time);
+$g_currentuser = $ENV{USER} || getlogin || getpwuid($<) || "Unknown";
$g_notetablebgcolor="#F0F0F0";
$g_notetextcolor="#909090";
$g_syntaxcolor="#802000";
++++++ kvirc-no-uname.patch ++++++
https://github.com/kvirc/KVIrc/pull/2411
https://bugzilla.opensuse.org/show_bug.cgi?id=1101107 packages do not build reproducibly from including kernel version
commit 6da49f66cd27f7ce44450ec30bdd6d60f1f082b7
Author: Bernhard M. Wiedemann <bwiedemann(a)suse.de>
Date: Sat Nov 17 09:17:47 2018 +0100
Do not track Linux kernel version
of build system to make reproducible builds easier.
See https://reproducible-builds.org/ for why this is good.
Index: kvirc-4.2.0/CMakeLists.txt
===================================================================
--- kvirc-4.2.0.orig/CMakeLists.txt
+++ kvirc-4.2.0/CMakeLists.txt
@@ -44,7 +44,6 @@ SET(CMAKE_KVIRC_BUILD_COMMAND ${CMAKE_CO
SET(CMAKE_KVIRC_BUILD_FLAGS)
SET(CMAKE_KVIRC_BUILD_SYSTEM ${CMAKE_SYSTEM})
SET(CMAKE_KVIRC_BUILD_SYSTEM_NAME ${CMAKE_SYSTEM_NAME})
-SET(CMAKE_KVIRC_BUILD_SYSTEM_VERSION ${CMAKE_SYSTEM_VERSION})
SET(CMAKE_KVIRC_BUILD_CPU ${CMAKE_SYSTEM_PROCESSOR})
SET(CMAKE_KVIRC_BUILD_COMPILER ${CMAKE_CXX_COMPILER})
SET(CMAKE_KVIRC_BUILD_COMPILER_FLAGS ${CMAKE_CXX_FLAGS})
Index: kvirc-4.2.0/cmake/kvi_sysbuildinfo.h.cmake
===================================================================
--- kvirc-4.2.0.orig/cmake/kvi_sysbuildinfo.h.cmake
+++ kvirc-4.2.0/cmake/kvi_sysbuildinfo.h.cmake
@@ -12,7 +12,6 @@
#define KVIRC_BUILD_FLAGS "${CMAKE_KVIRC_BUILD_FLAGS}"
#define KVIRC_BUILD_SYSTEM "${CMAKE_KVIRC_BUILD_SYSTEM}"
#define KVIRC_BUILD_SYSTEM_NAME "${CMAKE_KVIRC_BUILD_SYSTEM_NAME}"
-#define KVIRC_BUILD_SYSTEM_VERSION "${CMAKE_KVIRC_BUILD_SYSTEM_VERSION}"
#define KVIRC_BUILD_CPU "${CMAKE_KVIRC_BUILD_CPU}"
#define KVIRC_BUILD_COMPILER "${CMAKE_KVIRC_BUILD_COMPILER}"
#define KVIRC_BUILD_COMPILER_FLAGS "${CMAKE_KVIRC_BUILD_COMPILER_FLAGS}"
Index: kvirc-4.2.0/src/kvilib/config/KviBuildInfo.cpp
===================================================================
--- kvirc-4.2.0.orig/src/kvilib/config/KviBuildInfo.cpp
+++ kvirc-4.2.0/src/kvilib/config/KviBuildInfo.cpp
@@ -51,7 +51,11 @@ namespace KviBuildInfo
QString buildSystem()
{
- return QString(KVIRC_BUILD_SYSTEM);
+ #ifdef COMPILE_ON_WINDOWS
+ return QString(KVIRC_BUILD_SYSTEM);
+ #else
+ return QString();
+ #endif
}
QString buildSystemName()
@@ -65,11 +69,7 @@ namespace KviBuildInfo
QString buildSystemVersion()
{
- #ifdef COMPILE_ON_WINDOWS
- return QString();
- #else
- return QString(KVIRC_BUILD_SYSTEM_VERSION);
- #endif
+ return QString();
}
QString buildCPU()
1
0
Hello community,
here is the log from the commit of package openvswitch for openSUSE:Factory checked in at 2018-11-27 10:44:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openvswitch (Old)
and /work/SRC/openSUSE:Factory/.openvswitch.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openvswitch"
Tue Nov 27 10:44:17 2018 rev:34 rq:652024 version:2.10.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/openvswitch/openvswitch.changes 2018-11-13 17:30:28.473211980 +0100
+++ /work/SRC/openSUSE:Factory/.openvswitch.new.19453/openvswitch.changes 2018-11-27 10:45:48.151987627 +0100
@@ -1,0 +2,6 @@
+Mon Nov 26 11:07:30 UTC 2018 - jcaamano(a)suse.com
+
+- Backport upstream fix for python json parser memory leak (bsc#1116437)
+ * 0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch
+
+-------------------------------------------------------------------
New:
----
0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openvswitch.spec ++++++
--- /var/tmp/diff_new_pack.pRVSY2/_old 2018-11-27 10:45:56.055979512 +0100
+++ /var/tmp/diff_new_pack.pRVSY2/_new 2018-11-27 10:45:56.055979512 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# needssslcertforbuild
@@ -53,6 +53,8 @@
Source0: http://openvswitch.org/releases/openvswitch-%{version}.tar.gz
Source1: preamble
Source89: Module.supported.updates
+# PATCH-FIX-UPSTREAM: 0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch
+Patch0: 0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: graphviz
@@ -317,6 +319,7 @@
%prep
%setup -q -n openvswitch-%{version}
+%patch0 -p1
%build
set -- * .travis* .mailmap
++++++ 0001-python-c-ext-Fix-memory-leak-in-Parser_finish.patch ++++++
>From e120ff1f8e4dbb0b889b26e0be082376a32090bc Mon Sep 17 00:00:00 2001
From: Eric Lapointe <elapointe(a)corsa.com>
Date: Wed, 31 Oct 2018 12:11:42 -0400
Subject: [PATCH] python-c-ext: Fix memory leak in Parser_finish
The memory returned by json_parser_finish needs to be freed by the caller.
Signed-off-by: Eric Lapointe <elapointe(a)corsa.com>
Signed-off-by: Ben Pfaff <blp(a)ovn.org>
---
python/ovs/_json.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/ovs/_json.c b/python/ovs/_json.c
index 8b8402025..ef7bb4b8e 100644
--- a/python/ovs/_json.c
+++ b/python/ovs/_json.c
@@ -170,6 +170,7 @@ Parser_finish(json_ParserObject * self)
json = json_parser_finish(self->_parser);
self->_parser = NULL;
obj = json_to_python(json);
+ json_destroy(json);
return obj;
}
--
2.16.4
1
0
Hello community,
here is the log from the commit of package vtkdata for openSUSE:Factory checked in at 2018-11-27 10:43:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vtkdata (Old)
and /work/SRC/openSUSE:Factory/.vtkdata.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vtkdata"
Tue Nov 27 10:43:55 2018 rev:15 rq:652021 version:8.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/vtkdata/vtkdata.changes 2017-08-24 18:44:13.246511180 +0200
+++ /work/SRC/openSUSE:Factory/.vtkdata.new.19453/vtkdata.changes 2018-11-27 10:45:27.408008924 +0100
@@ -1,0 +2,15 @@
+Thu Nov 22 15:41:50 UTC 2018 - Todd R <toddrme2178(a)gmail.com>
+
+- Update to version 8.1.2
+ * Issue error if vtkAlgorithm::GetInputConnection called on wrong port
+ * Added explicit cast to pacify UBSan’s “implicit-integer-truncation”
+ * Make some orientation marker widget methods virtual
+ * vtkImageBlend bug fix for compound mode
+ * vtkFlyingEdges2D: Properly color multiple isocontour values
+ * Invoke DeletePointEvent before deleting vtkSeedWidget seed
+ * Fix compilation issue due to Python3.7 API change
+ * Fix bug where re-enabling seed widget wouldn't move existing seeds
+- Include VTKLargeData also
+- Include license from source repository
+
+-------------------------------------------------------------------
Old:
----
VTKData-8.0.0.tar.gz
New:
----
Copyright.txt
VTKData-8.1.2.tar.gz
VTKLargeData-8.1.2.tar.gz
_constraints
vtkdata-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vtkdata.spec ++++++
--- /var/tmp/diff_new_pack.BrAopV/_old 2018-11-27 10:45:34.720001417 +0100
+++ /var/tmp/diff_new_pack.BrAopV/_new 2018-11-27 10:45:34.720001417 +0100
@@ -1,7 +1,7 @@
#
# spec file for package vtkdata
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: vtkdata
-Version: 8.0.0
+Version: 8.1.2
Release: 0
-%define series 8.0
+%define series 8.1
Summary: Kitware VTK Library Data
License: BSD-3-Clause
Group: Productivity/Scientific/Other
-Url: http://www.vtk.org
-Source: http://www.vtk.org/files/release/%{series}/VTKData-%{version}.tar.gz
+Url: https://www.vtk.org
+Source0: https://www.vtk.org/files/release/%{series}/VTKData-%{version}.tar.gz
+Source1: https://www.vtk.org/files/release/%{series}/VTKLargeData-%{version}.tar.gz
+Source10: https://gitlab.kitware.com/vtk/vtk/raw/v%{version}/Copyright.txt
+Source99: vtkdata-rpmlintrc
+BuildRequires: cmake >= 3.4
BuildRequires: fdupes
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: cmake >= 3.4
+Provides: vtklargedata = %{version}
BuildArch: noarch
%description
@@ -39,20 +44,22 @@
%prep
%setup -q -n VTK-%{version}
+%setup -T -D -b 1 -q -n VTK-%{version}
+cp %{SOURCE10} .
%build
+# Not needed
%install
-mkdir -p %{buildroot}%{_docdir}/vtkdata
-mkdir -p %{buildroot}%{_datadir}
+mkdir -p %{buildroot}%{_datadir}/vtkdata
-cp -a $RPM_BUILD_DIR/VTK-%{version} %{buildroot}%{_datadir}/vtkdata
+cp -a .ExternalData %{buildroot}%{_datadir}/vtkdata/
%fdupes %{buildroot}%{_datadir}/vtkdata
%files
-%defattr(-,root,root,-)
-%doc %{_docdir}/vtkdata
+%license Copyright.txt
+%doc %{_datadir}/vtkdata/.ExternalData/README.rst
%{_datadir}/vtkdata/
%changelog
++++++ Copyright.txt ++++++
/*=========================================================================
Program: Visualization Toolkit
Module: Copyright.txt
Copyright (c) 1993-2015 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names
of any contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
=========================================================================*/
++++++ VTKData-8.0.0.tar.gz -> VTKData-8.1.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/vtkdata/VTKData-8.0.0.tar.gz /work/SRC/openSUSE:Factory/.vtkdata.new.19453/VTKData-8.1.2.tar.gz differ: char 5, line 1
++++++ _constraints ++++++
<constraints>
<hardware>
<disk>
<size unit="G">2</size>
</disk>
</hardware>
</constraints>
++++++ vtkdata-rpmlintrc ++++++
addFilter("vtkdata.* hidden-file-or-dir .*/.ExternalData")
addFilter("vtkdata.* zero-length .*/.ExternalData/MD5/.*")
1
0
Hello community,
here is the log from the commit of package vtk for openSUSE:Factory checked in at 2018-11-27 10:43:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vtk (Old)
and /work/SRC/openSUSE:Factory/.vtk.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vtk"
Tue Nov 27 10:43:30 2018 rev:36 rq:652020 version:8.1.2
Changes:
--------
New Changes file:
--- /dev/null 2018-10-29 14:05:42.522318975 +0100
+++ /work/SRC/openSUSE:Factory/.vtk.new.19453/vtk-openmpi.changes 2018-11-27 10:44:59.824037237 +0100
@@ -0,0 +1,655 @@
+-------------------------------------------------------------------
+Thu Nov 22 15:41:50 UTC 2018 - Todd R <toddrme2178(a)gmail.com>
+
+- Update to version 8.1.2
+ * Issue error if vtkAlgorithm::GetInputConnection called on wrong port
+ * Added explicit cast to pacify UBSan’s “implicit-integer-truncation”
+ * Make some orientation marker widget methods virtual
+ * vtkImageBlend bug fix for compound mode
+ * vtkFlyingEdges2D: Properly color multiple isocontour values
+ * Invoke DeletePointEvent before deleting vtkSeedWidget seed
+ * Fix compilation issue due to Python3.7 API change
+ * Fix bug where re-enabling seed widget wouldn't move existing seeds
+- Fix python dependencies
+- Test to make sure python package is importable
+- Split out MPI version since the MPI version cannot be used
+ outside an MPI environment.
+
+-------------------------------------------------------------------
+Fri Jun 29 07:17:51 UTC 2018 - badshah400(a)gmail.com
+
+- Drop post[un] scripts for devel and java subpackages; they are
+ only needed for the versioned shlib.
+
+-------------------------------------------------------------------
+Mon Jun 11 20:06:48 UTC 2018 - toddrme2178(a)gmail.com
+
+- Update to version 8.1.1:
+ * Fixed thin border around vtkImageResliceMapper
+ rendering
+ * Fixed vtkImageResliceMapper showing a black
+ polygon when slice is out of bounds.
+ * Fixed conflict between Process.h and process.h
+ * Fixed building VTK 8.1 against 10.13 SDK
+ resulting in linker errors when trying to use
+ resulting libraries on older SDK
+ * Fixed vtkCellPicker::IntersectActorWithLine maybe
+ using invalid cell id when picking composite data
+- Add fix_qt5_example_cmake.patch
+ Fixes use of removed cmake macro in some examples
+ See: https://gitlab.kitware.com/vtk/vtk/issues/17336
+- Use modern cmake spec file macros
+- Run spec cleaner
+- Other spec file cleanups
+- Support parallel HDF5.
+- Drop support for qt4. Any version of openSUSE with a recent
+ enough version of cmake to build the package supports Qt5.
+- Drop checks for old versions of openSUSE that have too old
+ of a cmake to build.
+
+-------------------------------------------------------------------
+Sun Feb 4 00:41:17 UTC 2018 - stefan.bruens(a)rwth-aachen.de
+
+- Use split libboost*-devel BuildRequires for TW and Leap/SLE 15
+
+-------------------------------------------------------------------
+Wed Jan 24 11:28:47 UTC 2018 - fstrba(a)suse.com
+
+- Fix build with jdk10
+ * give a bogus javah path "%{_bindir}/true", since the cmake
+ checks the javah binary although the build does not use it.
+
+-------------------------------------------------------------------
+Fri Jan 12 13:43:49 UTC 2018 - badshah400(a)gmail.com
+
+- Drop vtk-Rinterface-uintptr_t.patch as the related plugin has
+ been retired.
+
+-------------------------------------------------------------------
+Wed Jan 10 12:34:03 UTC 2018 - badshah400(a)gmail.com
+
+- Drop vtk-compat_gl: Building against OpenGL1 has now been
+ deprecated with version 8.1.0, and the examples don't build
+ against it already; so, drop all specfile and related
+ modifications catering to OpenGL1 bindings.
+
+-------------------------------------------------------------------
+Thu Dec 28 11:22:29 UTC 2017 - badshah400(a)gmail.com
+
+- Update to version 8.1.0:
+ * Full release notes at https://blog.kitware.com/vtk-8-1-0/.
+- Turn OFF building against system libharu, since libharu
+ upstream seems dead, while vtk's included libharu has new
+ features essential for building vtk 8.1. Drop BuildRequires on
+ libharu.
+- Does not build against java 10, so ensure at most java 9 is
+ used by using appropriate versioning for java-devel
+ BuildRequires.
+- Drop cmake options no longer used for build.
+- Drop VERBOSE=1 for make: it makes the compilation too verbose
+ making brp checks for code warnings too slow to execute; this
+ reduces build time by nearly half.
+- Enforce Qt4 for openSUSE <= 1320 explicitly because Qt5 is now
+ the default option.
+
+-------------------------------------------------------------------
+Mon Dec 4 18:25:57 UTC 2017 - bruno(a)ioda-net.ch
+
+- Move BuildRequires: libQtWebKit-devel (Qt4) inside the else
+ version < 13.2
+
+-------------------------------------------------------------------
+Thu Oct 26 08:48:16 UTC 2017 - dimstar(a)opensuse.org
+
+- Add conflict between the -devel-doc variants.
+
+-------------------------------------------------------------------
+Tue Oct 24 11:55:17 UTC 2017 - dimstar(a)opensuse.org
+
+- Setup MPI environment before building.
+
+-------------------------------------------------------------------
+Thu Oct 12 20:47:27 UTC 2017 - jengelh(a)inai.de
+
+- Rectify RPM groups again.
+
+-------------------------------------------------------------------
+Sun Oct 1 20:36:49 UTC 2017 - stefan.bruens(a)rwth-aachen.de
+
+- Move the vtk binary to the tcl subpackage, it is an interactive
+ TCL shell, and depends on the TCL bindings. It can be used
+ standalone from the devel package. Dito for its MPI variant, i.e.
+ the pvtk binary.
+- Move all libvtk*Java.so to the java subpackage. These are part of
+ the Java bindings, i.e. runtime dependencies. Otherwise, the java
+ subpacakge depends on the devel subpackage.
+- Add the tcl and java subpackage to the devel requires again.
+ Although not stricly necessary until building java or tcl packages,
+ the cmake files have a hard dependency on several build artifacts
+ provided by the tcl and java subpackages. Split devel packages
+ for the bindings would be preferred, but this is not supported by
+ the upstream build system.
+- Remove the openmpi-devel requires in the python subpackage, the
+ mpi runtime libraries are provided by openmpi-libs, which is
+ picked up automatically.
+
+-------------------------------------------------------------------
+Sun Oct 01 17:04:57 UTC 2017 - stefan.bruens(a)rwth-aachen.de
+
+- Split the API documentation from the development subpackage. The
+ documentation amounts to almost 1 GByte of data, not necessary
+ when just building packages.
+
+-------------------------------------------------------------------
+Thu Sep 28 10:43:27 UTC 2017 - badshah400(a)gmail.com
+
+- Drop vtk-compat_gl-rpmlintrc: openSUSE:Factory bots don't accept
+ conditional sources and one rpmlintrc file is sufficient for
+ both main and linked packages anyway.
+
+-------------------------------------------------------------------
+Tue Sep 19 10:46:40 UTC 2017 - kkhere.geo(a)gmail.com
+
+- do not exclude libViewsGeovisJava.so from devel package
+ This library is required for development.
+- package vtk binary in devel package.
+- VTKTargets-debug.cmake tests for the existance of the library (line 3394)
+ and the binary (line 3404) and causes an error if the files do
+ not exist
+
+-------------------------------------------------------------------
+Thu Sep 14 20:54:34 UTC 2017 - stefan.bruens(a)rwth-aachen.de
+
+- Remove the various subpackage Requires from the devel package
+ again. The qt subpackage contains a Qt Designer plugin and no
+ dependency at all. Package the vtkWrap{Tcl,Java,Python} wrapper
+ generators in the devel package, as these are useless without
+ the vtk headers files.
+- Fix description/summary of vtk-qt subpackage
+
+-------------------------------------------------------------------
+Tue Sep 12 12:33:38 UTC 2017 - kkhere.geo(a)gmail.com
+
+- devel subpackage should require -tcl, -java and -qt subpackages
+ since the *.cmake files refer to files in those subpackages
+
+-------------------------------------------------------------------
+Mon Sep 11 13:46:28 UTC 2017 - stefan.bruens(a)rwth-aachen.de
+
+- Add 0001-Allow-compilation-on-GLES-platforms.patch
+ The QOpenGLFunctions_3_2_Core class providing the framebuffer
+ blit functions is not available on GLES 2 builds of Qt5. Let Qt
+ handle the framebuffer blit, and just use the GLES/GL subset
+ provided by QOpenGLFunctions for the remainder.
+ Fix for https://gitlab.kitware.com/vtk/vtk/issues/17113
+
+-------------------------------------------------------------------
+Fri Sep 1 00:13:18 UTC 2017 - badshah400(a)gmail.com
+
+- Update to version 8.0.1:
+ * Fix QVTKOpenGLWidget rendering issues on Windows machines with
+ certain Intel graphics chips. This was a significant issue
+ that broke all rendering and resulted in a black screen.
+ * Fix data array range caching per finite component which would
+ otherwise cause considerable slow-downs when using data
+ arrays.
+ * Fix button and slider widgets to work in multi-viewport render
+ windows. Without this change the widgets would either be
++++ 458 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.vtk.new.19453/vtk-openmpi.changes
--- /work/SRC/openSUSE:Factory/vtk/vtk.changes 2018-07-02 23:32:21.677330243 +0200
+++ /work/SRC/openSUSE:Factory/.vtk.new.19453/vtk.changes 2018-11-27 10:45:02.292034704 +0100
@@ -1,0 +2,19 @@
+Thu Nov 22 15:41:50 UTC 2018 - Todd R <toddrme2178(a)gmail.com>
+
+- Update to version 8.1.2
+ * Issue error if vtkAlgorithm::GetInputConnection called on wrong port
+ * Added explicit cast to pacify UBSan’s “implicit-integer-truncation”
+ * Make some orientation marker widget methods virtual
+ * vtkImageBlend bug fix for compound mode
+ * vtkFlyingEdges2D: Properly color multiple isocontour values
+ * Invoke DeletePointEvent before deleting vtkSeedWidget seed
+ * Fix compilation issue due to Python3.7 API change
+ * Fix bug where re-enabling seed widget wouldn't move existing seeds
+- Fix python dependencies
+- Test to make sure python package is importable
+- Split out MPI version since the MPI version cannot be used
+ outside an MPI environment.
+- Build vtkData as part of the main package. This makes sure the
+ data is extracted into the correct format.
+
+-------------------------------------------------------------------
Old:
----
VTK-8.1.1.tar.gz
New:
----
VTK-8.1.2.tar.gz
vtk-openmpi.changes
vtk-openmpi.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vtk-openmpi.spec ++++++
#
# spec file for package vtk-openmpi
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define compat_gl 0
%define pkgname vtk
%define vtklib lib%{pkgname}1-openmpi
%define shlib %{vtklib}
%if 0%{?sle_version} <= 150000
%define mpiver openmpi2
%else
%define mpiver openmpi3
%endif
%define mpiprefix %{_libdir}/mpi/gcc/%{mpiver}
Name: vtk-openmpi
Version: 8.1.2
Release: 0
%define series 8.1
# This is a variant BSD license, a cross between BSD and ZLIB.
# For all intents, it has the same rights and restrictions as BSD.
# http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
Summary: The Visualization Toolkit - A high level 3D visualization library
License: BSD-3-Clause
Group: Productivity/Scientific/Other
URL: http://vtk.org/
Source: http://www.vtk.org/files/release/%{series}/VTK-%{version}.tar.gz
# FIXME See if packaging can be tweaked to accommodate python-vtk's devel files in a devel package later
# We need to use the compat conditionals here to avoid Factory's source validator from tripping up
Source1: vtk-rpmlintrc
# PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch badshah400(a)gmail.com -- Fix file containing DATE and TIME
Patch1: vtk-fix-file-contains-date-time.patch
# PATCH-FIX-OPENSUSE 0001-Allow-compilation-on-GLES-platforms.patch VTK issue #17113 stefan.bruens(a)rwth-aachen.de -- Fix building with Qt GLES builds
Patch3: 0001-Allow-compilation-on-GLES-platforms.patch
# PATCH-FIX-UPSTREAM fix_qt5_example_cmake.patch -- Fix for recent Qt5 version https://gitlab.kitware.com/vtk/vtk/issues/17336
Patch4: fix_qt5_example_cmake.patch
BuildRequires: %{mpiver}
BuildRequires: %{mpiver}-devel
BuildRequires: R-base-devel
BuildRequires: chrpath
BuildRequires: cmake >= 3.4
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gl2ps-devel
BuildRequires: gnuplot
BuildRequires: graphviz
BuildRequires: hdf5-devel
BuildRequires: hdf5-openmpi-devel
BuildRequires: java-devel
BuildRequires: libjpeg-devel
BuildRequires: libmysqlclient-devel
BuildRequires: libnetcdf_c++-devel
BuildRequires: libtiff-devel
BuildRequires: python3-devel
BuildRequires: python3-mpi4py-devel
BuildRequires: python3-numpy-devel
BuildRequires: python3-qt5-devel
BuildRequires: wget
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5OpenGLExtensions)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5WebKitWidgets)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(jsoncpp)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavdevice)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libiodbc)
BuildRequires: pkgconfig(liblz4) >= 1.7.3
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(netcdf)
BuildRequires: pkgconfig(tcl)
BuildRequires: pkgconfig(theora)
BuildRequires: pkgconfig(tk)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} >= 1500
BuildRequires: libboost_graph-devel
BuildRequires: libboost_graph_parallel-devel
BuildRequires: libboost_mpi-devel
BuildRequires: libboost_serialization-devel
%else
BuildRequires: boost-devel
%endif
Provides: python3-%{name}-qt = %{version}
%if %{?sles_version}
BuildRequires: libxml2-devel
%else
BuildRequires: pkgconfig(libxml-2.0)
%endif
%description
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
rendering techniques (e.g. hardware-accelerated volume rendering,
LOD control).
%package -n %{shlib}
Summary: The Visualization Toolkit - A high level 3D visualization library
Group: System/Libraries
Provides: %{name} = %{version}
%description -n %{shlib}
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
rendering techniques (e.g. hardware-accelerated volume rendering,
LOD control).
This package provides the shared libraries for VTK.
%package devel
Summary: VTK header files for building C++ code
# not strictly necessary, but required by VTKs cmake files
Group: Development/Libraries/C and C++
Requires: %{mpiver}
Requires: %{mpiver}-devel
Requires: %{name}-java = %{version}
Requires: %{name}-tcl = %{version}
Requires: %{shlib} = %{version}
Requires: R-base-devel
Requires: cmake >= 3.4
Requires: gcc-c++
Requires: gl2ps-devel
Requires: gnuplot
Requires: graphviz
Requires: hdf5-devel
Requires: hdf5-openmpi-devel
Requires: java-devel
Requires: libjpeg-devel
Requires: libmysqlclient-devel
Requires: libnetcdf_c++-devel
Requires: libtiff-devel
Requires: pkgconfig(Qt5Core)
Requires: pkgconfig(Qt5OpenGL)
Requires: pkgconfig(Qt5OpenGLExtensions)
Requires: pkgconfig(Qt5Sql)
Requires: pkgconfig(Qt5WebKitWidgets)
Requires: pkgconfig(Qt5Widgets)
Requires: pkgconfig(expat)
Requires: pkgconfig(freetype2)
Requires: pkgconfig(gl)
Requires: pkgconfig(jsoncpp)
Requires: pkgconfig(libavcodec)
Requires: pkgconfig(libavdevice)
Requires: pkgconfig(libavformat)
Requires: pkgconfig(libavutil)
Requires: pkgconfig(libiodbc)
Requires: pkgconfig(liblz4) >= 1.7.3
Requires: pkgconfig(libpng)
Requires: pkgconfig(libswscale)
Requires: pkgconfig(netcdf)
Requires: pkgconfig(tcl)
Requires: pkgconfig(theora)
Requires: pkgconfig(tk)
Requires: pkgconfig(x11)
Requires: pkgconfig(xt)
Requires: pkgconfig(zlib)
%description devel
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
rendering techniques (e.g. hardware-accelerated volume rendering,
LOD control).
This provides development libraries and header files required to
compile C++ programs that use VTK to do 3D visualisation.
%package devel-doc
Summary: VTK API documentation
Group: Documentation/HTML
%description devel-doc
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
rendering techniques (e.g. hardware-accelerated volume rendering,
LOD control).
This provides the VTK API documentation useful for developing
programs that use VTK to do 3D visualisation.
%package java
Summary: Java bindings for VTK
Group: Development/Libraries/Java
Requires: %{shlib} = %{version}
%description java
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
rendering techniques (e.g. hardware-accelerated volume rendering,
LOD control).
This package provides java bindings for VTK.
%package -n python3-%{name}
Summary: Python bindings for VTK
Group: Development/Libraries/Python
Requires: %{shlib} = %{version}
Requires: python3-mpi4py
Requires: python3-numpy
Requires: python3-qt5
Conflicts: python3-vtk
Conflicts: python3-vtk-compat_gl
%description -n python3-%{name}
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
rendering techniques (e.g. hardware-accelerated volume rendering,
LOD control).
This package provides python 3.x bindings for VTK.
%package qt
Summary: Qt Designer plugin for QVTKWidget
Group: Development/Libraries/C and C++
Requires: %{shlib} = %{version}
%description qt
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
rendering techniques (e.g. hardware-accelerated volume rendering,
LOD control).
This package provides a Qt Designer plugin for the QVTKWidget.
%package tcl
Summary: Tcl bindings for VTK
Group: Development/Languages/Tcl
Requires: %{shlib} = %{version}
%description tcl
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
rendering techniques (e.g. hardware-accelerated volume rendering,
LOD control).
This package provides tcl bindings for VTK.
%package examples
Summary: Examples for VTK
Group: Documentation/Other
Requires: %{shlib} = %{version}
Recommends: vtkdata = %{version}
%description examples
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
rendering techniques (e.g. hardware-accelerated volume rendering,
LOD control).
This package contains many examples showing how to use VTK.
Examples are available in the C++, Tcl, Python and Java programming
languages.
%package testing
Summary: Testing programs for VTK
Group: Productivity/Scientific/Other
Requires: %{shlib} = %{version}
Requires: vtkdata = %{version}
%description testing
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
rendering techniques (e.g. hardware-accelerated volume rendering,
LOD control).
This package provides a few testing programs for VTK.
%prep
%setup -q -n VTK-%{version}
%patch1 -p1
%patch3 -p1
%patch4 -p1
# Replace relative path ../../../VTKData with %%{_datadir}/%%{pkgname}data-%%{version}
# otherwise it will break on symlinks.
grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/%{pkgname},g'
%build
source %{mpiprefix}/bin/mpivars.sh
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
# FindJava.cmake looks for javah executable. However,
# the build never invokes the tool. Define a bogus
# Java_JAVAH_EXECUTABLE in order to be able to build
# with JDK10 that does not have this tool, deprecated
# since JDK8.
%cmake \
-DBUILD_DOCUMENTATION:BOOL=ON \
-DBUILD_EXAMPLES:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \
-DCMAKE_C_COMPILER:PATH=%{mpiprefix}/bin/mpicc \
-DCMAKE_CXX_COMPILER::PATH=%{mpiprefix}/bin/mpicxx \
-DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON \
-DJava_JAVAH_EXECUTABLE:PATH=%{_bindir}/true \
-DModule_vtkTestingCore:BOOL=ON \
-DModule_vtkTestingRendering:BOOL=ON \
-DOpenGL_GL_PREFERENCE:STRING='GLVND' \
-DVTK_CUSTOM_LIBRARY_SUFFIX="" \
-DVTK_EXTERNAL_LIBHARU_IS_SHARED:BOOL=OFF \
-DVTK_Group_Imaging:BOOL=ON \
-DVTK_Group_MPI:BOOL=ON \
-DVTK_Group_Qt:BOOL=ON \
-DVTK_Group_Rendering:BOOL=ON \
-DVTK_Group_StandAlone:BOOL=ON \
-DVTK_Group_Tk:BOOL=ON \
-DVTK_Group_Views:BOOL=ON \
-DVTK_INSTALL_ARCHIVE_DIR:PATH=%{_lib} \
-DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib} \
-DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/%{pkgname} \
-DVTK_INSTALL_QT_DIR:STRING=%{_lib}/qt5/plugins/designer \
-DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=%( realpath --relative-to=%{mpiprefix} %{python3_sitearch} ) \
-DVTK_INSTALL_TCL_DIR:PATH=share/tcl/%{pkgname} \
-DVTK_PYTHON_VERSION=3 \
-DVTK_QT_VERSION=5 \
-DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON \
-DVTK_USE_SYSTEM_LIBRARIES:BOOL=ON \
-DVTK_USE_SYSTEM_DIY2=OFF \
-DVTK_USE_SYSTEM_GL2PS=OFF \
-DVTK_USE_SYSTEM_HDF5:BOOL=ON \
-DVTK_USE_SYSTEM_LIBHARU:BOOL=OFF \
-DVTK_USE_SYSTEM_LIBPROJ4:BOOL=OFF \
-DVTK_USE_SYSTEM_MPI4PY=ON \
-DVTK_USE_SYSTEM_NETCDF:BOOL=ON \
-DVTK_WRAP_JAVA:BOOL=ON \
-DVTK_WRAP_PYTHON:BOOL=ON \
-DVTK_WRAP_PYTHON_SIP:BOOL=ON \
-DVTK_WRAP_TCL:BOOL=ON \
-DCMAKE_INSTALL_PREFIX:PATH=%{mpiprefix}/ \
-DINCLUDE_INSTALL_DIR:PATH=%{mpiprefix}/include/ \
-DCMAKE_INSTALL_LIBDIR:PATH=%{mpiprefix}/%{_lib} \
-DLIB_INSTALL_DIR:PATH=%{mpiprefix}/%{_lib} \
-DSHARE_INSTALL_PREFIX:PATH=%{mpiprefix}/share/ \
-DVTK_INSTALL_DOC_DIR:PATH=%( realpath --relative-to=%{mpiprefix} %{_docdir}/%{name}-%{series} )
%make_jobs
make %{?_smp_mflags} DoxygenDoc
# Remove executable bits from sources (some of which are generated)
find . -name \*.c -o -name \*.cxx -o -name \*.h -o -name \*.hxx -o -name \*.gif -exec chmod -x "{}" "+"
%install
%cmake_install
# List of executable examples
cat > examples.list << EOF
AmbientSpheres
Arrays
BalloonWidget
BandedContours
Cone
Cone2
Cone3
Cone4
Cone5
Cone6
Cube
Cylinder
Delaunay3D
Delaunay3DAlpha
DiffuseSpheres
DumpXMLFile
FilledContours
FixedPointVolumeRayCastMapperCT
GPURenderDemo
Generate2DAMRDataSetWithPulse
Generate3DAMRDataSetWithPulse
GenerateCubesFromLabels
GenerateModelsFromLabels
HierarchicalBoxPipeline
ImageSlicing
LabeledMesh
Medical1
Medical2
Medical3
Medical4
MultiBlock
ParticleReader
RGrid
SGrid
Slider
Slider2D
SpecularSpheres
TubesWithVaryingRadiusAndColors
finance
EOF
# Install examples
for file in `cat examples.list`; do
install -p build/bin/$file %{buildroot}%{mpiprefix}/bin
done
perl -pi -e's,^,%{mpiprefix}/bin/,' examples.list
%fdupes -s %{buildroot}
%check
# Make sure the python library is at least importable
source %{_libdir}/mpi/gcc/%{mpiver}/bin/mpivars.sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{mpiprefix}/%{_lib}
export PYTHONPATH=%{buildroot}%{python3_sitearch}
python3 -c "import vtk"
%post -n %{shlib} -p /sbin/ldconfig
%postun -n %{shlib} -p /sbin/ldconfig
%post -n python3-%{name} -p /sbin/ldconfig
%postun -n python3-%{name} -p /sbin/ldconfig
%files -n %{shlib}
%license Copyright.txt
%{_libdir}/mpi/gcc/%{mpiver}/%{_lib}/lib*.so.*
%files devel
%license Copyright.txt
%{mpiprefix}/bin/%{pkgname}EncodeString
%{mpiprefix}/bin/%{pkgname}HashSource
%{mpiprefix}/bin/%{pkgname}ParseJava
%{mpiprefix}/bin/%{pkgname}WrapHierarchy
%{mpiprefix}/bin/%{pkgname}WrapJava
%{mpiprefix}/bin/%{pkgname}WrapPython
%{mpiprefix}/bin/%{pkgname}WrapPythonInit
%{mpiprefix}/bin/%{pkgname}WrapTcl
%{mpiprefix}/bin/%{pkgname}WrapTclInit
%{mpiprefix}/%{_lib}/*.so
%dir %{mpiprefix}/%{_lib}/cmake/
%{mpiprefix}/%{_lib}/cmake/%{pkgname}/
%{mpiprefix}/%{_lib}/libvtkWrappingTools.a
%{mpiprefix}/include/%{pkgname}-%{series}/
# VTK JNI bindings
%exclude %{mpiprefix}/%{_lib}/libvtk*Java.so
%exclude %{mpiprefix}/%{_lib}/libvtkRenderingPythonTkWidgets*.so
%exclude %{mpiprefix}/share/tcl/vtk/vtktcl.c
%files devel-doc
%license Copyright.txt
%{_docdir}/%{name}-%{series}
%files java
%license Copyright.txt
%{mpiprefix}/%{_lib}/%{pkgname}.jar
%{mpiprefix}/%{_lib}/libvtk*Java.so
%files -n python3-%{name}
%license Copyright.txt
%{mpiprefix}/bin/%{pkgname}python
%{mpiprefix}/bin/p%{pkgname}python
%{mpiprefix}/%{_lib}/libvtkRenderingPythonTkWidgets*.so
%{python3_sitearch}/%{pkgname}/
%files tcl
%license Copyright.txt
%{mpiprefix}/bin/%{pkgname}
%{mpiprefix}/bin/p%{pkgname}
%{mpiprefix}/share/tcl
%{mpiprefix}/share/tcl/%{pkgname}/
%files qt
%license Copyright.txt
%dir %{mpiprefix}/%{_lib}/qt5/
%dir %{mpiprefix}/%{_lib}/qt5/plugins/
%dir %{mpiprefix}/%{_lib}/qt5/plugins/designer/
%{mpiprefix}/%{_lib}/qt5/plugins/designer/libQVTKWidgetPlugin.so
%files examples -f examples.list
%license Copyright.txt
%changelog
++++++ vtk.spec ++++++
--- /var/tmp/diff_new_pack.jzwh0z/_old 2018-11-27 10:45:03.624033337 +0100
+++ /var/tmp/diff_new_pack.jzwh0z/_new 2018-11-27 10:45:03.624033337 +0100
@@ -12,18 +12,17 @@
# 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/
#
%define compat_gl 0
%define pkgname vtk
%define vtklib lib%{pkgname}1
-%define vtkcompatlib libvtkcompat_gl1
%define shlib %{vtklib}
Name: vtk
-Version: 8.1.1
+Version: 8.1.2
Release: 0
%define series 8.1
# This is a variant BSD license, a cross between BSD and ZLIB.
@@ -33,65 +32,69 @@
License: BSD-3-Clause
Group: Productivity/Scientific/Other
URL: http://vtk.org/
-Source: http://www.vtk.org/files/release/%{series}/VTK-%{version}.tar.gz
+Source: https://www.vtk.org/files/release/%{series}/VTK-%{version}.tar.gz
# FIXME See if packaging can be tweaked to accommodate python-vtk's devel files in a devel package later
# We need to use the compat conditionals here to avoid Factory's source validator from tripping up
-Source1: vtk-rpmlintrc
+Source99: vtk-rpmlintrc
# PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch badshah400(a)gmail.com -- Fix file containing DATE and TIME
Patch1: vtk-fix-file-contains-date-time.patch
# PATCH-FIX-OPENSUSE 0001-Allow-compilation-on-GLES-platforms.patch VTK issue #17113 stefan.bruens(a)rwth-aachen.de -- Fix building with Qt GLES builds
Patch3: 0001-Allow-compilation-on-GLES-platforms.patch
# PATCH-FIX-UPSTREAM fix_qt5_example_cmake.patch -- Fix for recent Qt5 version https://gitlab.kitware.com/vtk/vtk/issues/17336
Patch4: fix_qt5_example_cmake.patch
-BuildRequires: Mesa-libGL-devel
BuildRequires: R-base-devel
BuildRequires: chrpath
BuildRequires: cmake >= 3.4
BuildRequires: doxygen
BuildRequires: fdupes
-BuildRequires: freetype2-devel
BuildRequires: gcc-c++
BuildRequires: gl2ps-devel
BuildRequires: gnuplot
BuildRequires: graphviz
BuildRequires: hdf5-devel
-BuildRequires: hdf5-openmpi-devel
BuildRequires: java-devel
-BuildRequires: jsoncpp-devel
-BuildRequires: libX11-devel
-BuildRequires: libXt-devel
-%if 0%{?suse_version} >= 1500
-BuildRequires: libboost_graph-devel
-BuildRequires: libboost_graph_parallel-devel
-BuildRequires: libboost_mpi-devel
-BuildRequires: libboost_serialization-devel
-%else
-BuildRequires: boost-devel
-%endif
-BuildRequires: libexpat-devel
-BuildRequires: libiodbc-devel
BuildRequires: libjpeg-devel
-BuildRequires: liblz4-devel >= 1.7.3
BuildRequires: libmysqlclient-devel
BuildRequires: libnetcdf_c++-devel
-BuildRequires: libpng-devel
-BuildRequires: libtheora-devel
BuildRequires: libtiff-devel
-BuildRequires: netcdf-devel
-BuildRequires: openmpi-devel
BuildRequires: python3-devel
BuildRequires: python3-mpi4py-devel
+BuildRequires: python3-numpy-devel
BuildRequires: python3-qt5-devel
-BuildRequires: tcl-devel
-BuildRequires: tk-devel
BuildRequires: wget
-BuildRequires: zlib-devel
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5OpenGLExtensions)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5WebKitWidgets)
BuildRequires: pkgconfig(Qt5Widgets)
+BuildRequires: pkgconfig(expat)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(jsoncpp)
+BuildRequires: pkgconfig(libavcodec)
+BuildRequires: pkgconfig(libavdevice)
+BuildRequires: pkgconfig(libavformat)
+BuildRequires: pkgconfig(libavutil)
+BuildRequires: pkgconfig(libiodbc)
+BuildRequires: pkgconfig(liblz4) >= 1.7.3
+BuildRequires: pkgconfig(libpng)
+BuildRequires: pkgconfig(libswscale)
+BuildRequires: pkgconfig(netcdf)
+BuildRequires: pkgconfig(tcl)
+BuildRequires: pkgconfig(theora)
+BuildRequires: pkgconfig(tk)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xt)
+BuildRequires: pkgconfig(zlib)
+%if 0%{?suse_version} >= 1500
+BuildRequires: libboost_graph-devel
+BuildRequires: libboost_graph_parallel-devel
+BuildRequires: libboost_mpi-devel
+BuildRequires: libboost_serialization-devel
+%else
+BuildRequires: boost-devel
+%endif
Provides: python3-%{name}-qt = %{version}
%if %{?sles_version}
BuildRequires: libxml2-devel
@@ -103,17 +106,21 @@
VTK is a software system for image processing, 3D graphics, volume
rendering and visualization. VTK includes many advanced algorithms
(e.g. surface reconstruction, implicit modelling, decimation) and
-rendering techniques (e.g. hardware-accelerated volume rendering, LOD
-control).
+rendering techniques (e.g. hardware-accelerated volume rendering,
+LOD control).
%package -n %{shlib}
Summary: The Visualization Toolkit - A high level 3D visualization library
Group: System/Libraries
-Conflicts: %{vtkcompatlib}
+Conflicts: libvtkcompat_gl1
+Provides: %{name} = %{version}
%description -n %{shlib}
VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization.
+rendering and visualization. VTK includes many advanced algorithms
+(e.g. surface reconstruction, implicit modelling, decimation) and
+rendering techniques (e.g. hardware-accelerated volume rendering,
+LOD control).
This package provides the shared libraries for VTK.
@@ -124,33 +131,54 @@
Requires: %{name}-java = %{version}
Requires: %{name}-tcl = %{version}
Requires: %{shlib} = %{version}
-Requires: Mesa-libGL-devel
Requires: R-base-devel
-Requires: freetype2-devel
+Requires: cmake >= 3.4
+Requires: gcc-c++
Requires: gl2ps-devel
+Requires: gnuplot
+Requires: graphviz
Requires: hdf5-devel
-Requires: hdf5-openmpi-devel
-Requires: jsoncpp-devel
-Requires: libexpat-devel
+Requires: java-devel
Requires: libjpeg-devel
-Requires: liblz4-devel
Requires: libmysqlclient-devel
Requires: libnetcdf_c++-devel
-Requires: libogg-devel
-Requires: libpng-devel
-Requires: libtheora-devel
Requires: libtiff-devel
-Requires: libxml2-devel
-Requires: netcdf-devel
-Requires: openmpi-devel
+Requires: pkgconfig(Qt5Core)
+Requires: pkgconfig(Qt5OpenGL)
+Requires: pkgconfig(Qt5OpenGLExtensions)
+Requires: pkgconfig(Qt5Sql)
+Requires: pkgconfig(Qt5WebKitWidgets)
+Requires: pkgconfig(Qt5Widgets)
+Requires: pkgconfig(expat)
+Requires: pkgconfig(freetype2)
+Requires: pkgconfig(gl)
+Requires: pkgconfig(jsoncpp)
+Requires: pkgconfig(libavcodec)
+Requires: pkgconfig(libavdevice)
+Requires: pkgconfig(libavformat)
+Requires: pkgconfig(libavutil)
+Requires: pkgconfig(libiodbc)
+Requires: pkgconfig(liblz4) >= 1.7.3
+Requires: pkgconfig(libpng)
+Requires: pkgconfig(libswscale)
+Requires: pkgconfig(netcdf)
+Requires: pkgconfig(tcl)
+Requires: pkgconfig(theora)
+Requires: pkgconfig(tk)
+Requires: pkgconfig(x11)
+Requires: pkgconfig(xt)
+Requires: pkgconfig(zlib)
Conflicts: vtk-compat_gl-devel
%description devel
VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization.
+rendering and visualization. VTK includes many advanced algorithms
+(e.g. surface reconstruction, implicit modelling, decimation) and
+rendering techniques (e.g. hardware-accelerated volume rendering,
+LOD control).
-This provides the VTK header files required to compile C++ programs that
-use VTK to do 3D visualisation.
+This provides development libraries and header files required to
+compile C++ programs that use VTK to do 3D visualisation.
%package devel-doc
Summary: VTK API documentation
@@ -158,10 +186,13 @@
%description devel-doc
VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization.
+rendering and visualization. VTK includes many advanced algorithms
+(e.g. surface reconstruction, implicit modelling, decimation) and
+rendering techniques (e.g. hardware-accelerated volume rendering,
+LOD control).
-This provides the VTK API documentation useful for developing programs that
-use VTK to do 3D visualisation.
+This provides the VTK API documentation useful for developing
+programs that use VTK to do 3D visualisation.
%package java
Summary: Java bindings for VTK
@@ -171,21 +202,30 @@
%description java
VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization.
+rendering and visualization. VTK includes many advanced algorithms
+(e.g. surface reconstruction, implicit modelling, decimation) and
+rendering techniques (e.g. hardware-accelerated volume rendering,
+LOD control).
This package provides java bindings for VTK.
%package -n python3-%{name}
Summary: Python bindings for VTK
-Group: Development/Languages/Python
+Group: Development/Libraries/Python
Requires: %{shlib} = %{version}
+Requires: python3-mpi4py
+Requires: python3-numpy
+Requires: python3-qt5
Conflicts: python3-vtk-compat_gl
%description -n python3-%{name}
VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization.
+rendering and visualization. VTK includes many advanced algorithms
+(e.g. surface reconstruction, implicit modelling, decimation) and
+rendering techniques (e.g. hardware-accelerated volume rendering,
+LOD control).
-This package provides python bindings for VTK.
+This package provides python 3.x bindings for VTK.
%package qt
Summary: Qt Designer plugin for QVTKWidget
@@ -195,7 +235,10 @@
%description qt
VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization.
+rendering and visualization. VTK includes many advanced algorithms
+(e.g. surface reconstruction, implicit modelling, decimation) and
+rendering techniques (e.g. hardware-accelerated volume rendering,
+LOD control).
This package provides a Qt Designer plugin for the QVTKWidget.
@@ -207,34 +250,44 @@
%description tcl
VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization.
+rendering and visualization. VTK includes many advanced algorithms
+(e.g. surface reconstruction, implicit modelling, decimation) and
+rendering techniques (e.g. hardware-accelerated volume rendering,
+LOD control).
This package provides tcl bindings for VTK.
%package examples
Summary: Examples for VTK
-Group: Productivity/Scientific/Other
+Group: Documentation/Other
Requires: %{shlib} = %{version}
-Recommends: %{name}data = %{version}
+Recommends: vtkdata = %{version}
Conflicts: vtk-compat_gl-examples
%description examples
VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization.
+rendering and visualization. VTK includes many advanced algorithms
+(e.g. surface reconstruction, implicit modelling, decimation) and
+rendering techniques (e.g. hardware-accelerated volume rendering,
+LOD control).
-This package contains many examples showing how to use VTK. Examples
-are available in the C++, Tcl, Python and Java programming languages.
+This package contains many examples showing how to use VTK.
+Examples are available in the C++, Tcl, Python and Java programming
+languages.
%package testing
Summary: Testing programs for VTK
Group: Productivity/Scientific/Other
-Requires: %{name}data = %{version}
Requires: %{shlib} = %{version}
+Requires: vtkdata = %{version}
Conflicts: vtk-compat_gl-testing
%description testing
VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization.
+rendering and visualization. VTK includes many advanced algorithms
+(e.g. surface reconstruction, implicit modelling, decimation) and
+rendering techniques (e.g. hardware-accelerated volume rendering,
+LOD control).
This package provides a few testing programs for VTK.
@@ -252,10 +305,6 @@
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
-if [ -f %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh ]; then
- source %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh
-fi
-
# FindJava.cmake looks for javah executable. However,
# the build never invokes the tool. Define a bogus
# Java_JAVAH_EXECUTABLE in order to be able to build
@@ -265,8 +314,8 @@
-DBUILD_DOCUMENTATION:BOOL=ON \
-DBUILD_EXAMPLES:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \
- -DCMAKE_CXX_COMPILER:STRING='mpicxx' \
- -DCMAKE_C_COMPILER:STRING='mpicc' \
+ -DCMAKE_C_COMPILER:STRING='gcc' \
+ -DCMAKE_CXX_COMPILER::STRING='g++' \
-DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON \
-DJava_JAVAH_EXECUTABLE:PATH=%{_bindir}/true \
-DModule_vtkTestingCore:BOOL=ON \
@@ -275,7 +324,7 @@
-DVTK_CUSTOM_LIBRARY_SUFFIX="" \
-DVTK_EXTERNAL_LIBHARU_IS_SHARED:BOOL=OFF \
-DVTK_Group_Imaging:BOOL=ON \
- -DVTK_Group_MPI:BOOL=ON \
+ -DVTK_Group_MPI:BOOL=OFF \
-DVTK_Group_Qt:BOOL=ON \
-DVTK_Group_Rendering:BOOL=ON \
-DVTK_Group_StandAlone:BOOL=ON \
@@ -284,8 +333,8 @@
-DVTK_INSTALL_ARCHIVE_DIR:PATH=%{_lib} \
-DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib} \
-DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/%{pkgname} \
- -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=%{_lib}/python%{py3_ver}/site-packages \
- -DVTK_INSTALL_QT_DIR:STRING=/%{_lib}/qt5/plugins/designer \
+ -DVTK_INSTALL_QT_DIR:STRING=%{_lib}/qt5/plugins/designer \
+ -DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=%( realpath --relative-to=%{_prefix} %{python3_sitearch} ) \
-DVTK_INSTALL_TCL_DIR:PATH=share/tcl/%{pkgname} \
-DVTK_PYTHON_VERSION=3 \
-DVTK_QT_VERSION=5 \
@@ -301,7 +350,8 @@
-DVTK_WRAP_JAVA:BOOL=ON \
-DVTK_WRAP_PYTHON:BOOL=ON \
-DVTK_WRAP_PYTHON_SIP:BOOL=ON \
- -DVTK_WRAP_TCL:BOOL=ON
+ -DVTK_WRAP_TCL:BOOL=ON \
+ -DVTK_INSTALL_DOC_DIR:PATH=%( realpath --relative-to=%{_prefix} %{_docdir}/%{name}-%{series} )
%make_jobs
make %{?_smp_mflags} DoxygenDoc
@@ -361,14 +411,20 @@
done
perl -pi -e's,^,%{_bindir}/,' examples.list
-# Remove rpaths from installed binaries
-chrpath -d %{buildroot}%{_bindir}/*
-
%fdupes -s %{buildroot}
+%check
+# Make sure the python library is at least importable
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir}
+export PYTHONPATH=%{buildroot}%{python3_sitearch}
+python3 -c "import vtk"
+
%post -n %{shlib} -p /sbin/ldconfig
%postun -n %{shlib} -p /sbin/ldconfig
+%post -n python3-%{name} -p /sbin/ldconfig
+%postun -n python3-%{name} -p /sbin/ldconfig
+
%files -n %{shlib}
%license Copyright.txt
%{_libdir}/lib*.so.*
@@ -390,11 +446,12 @@
%{_includedir}/%{pkgname}-%{series}/
# VTK JNI bindings
%exclude %{_libdir}/libvtk*Java.so
+%exclude %{_libdir}/libvtkRenderingPythonTkWidgets*.so
%exclude %{_datadir}/tcl/vtk/vtktcl.c
%files devel-doc
%license Copyright.txt
-%{_datadir}/doc/%{pkgname}-%{series}/
+%{_docdir}/%{name}-%{series}
%files java
%license Copyright.txt
@@ -404,13 +461,12 @@
%files -n python3-%{name}
%license Copyright.txt
%{_bindir}/%{pkgname}python
-%{_bindir}/p%{pkgname}python
+%{_libdir}/libvtkRenderingPythonTkWidgets*.so
%{python3_sitearch}/%{pkgname}/
%files tcl
%license Copyright.txt
%{_bindir}/%{pkgname}
-%{_bindir}/p%{pkgname}
%{_datadir}/tcl/%{pkgname}/
%files qt
++++++ VTK-8.1.1.tar.gz -> VTK-8.1.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/vtk/VTK-8.1.1.tar.gz /work/SRC/openSUSE:Factory/.vtk.new.19453/VTK-8.1.2.tar.gz differ: char 5, line 1
++++++ vtk-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.jzwh0z/_old 2018-11-27 10:45:03.712033247 +0100
+++ /var/tmp/diff_new_pack.jzwh0z/_new 2018-11-27 10:45:03.712033247 +0100
@@ -1,6 +1,11 @@
# FIXME: See if packaging can be tweaked to avoid these warnings later
# python-vtk needs these devel files to work
-addFilter("python3-vtk* devel-file-in-non-devel-package")
+addFilter("python3-vtk.* shlib-policy-name-error")
+addFilter("python3-vtk.* shlib-policy-missing-suffix")
+addFilter("python3-vtk.* devel-file-in-non-devel-package")
+addFilter("python3-vtk-openmpi.* shlib-policy-name-error")
+addFilter("python3-vtk-openmpi.* shlib-policy-missing-suffix")
+addFilter("python3-vtk-openmpi.* devel-file-in-non-devel-package")
# Upstream does not supply manuals for any binary, suppress warnings
addFilter(".* no-manual-page-for-binary")
@@ -10,10 +15,10 @@
addFilter("vtk-java.* shlib-policy-name-error")
addFilter("vtk-java.* shlib-policy-missing-suffix")
addFilter("vtk-java.* devel-file-in-non-devel-package")
-addFilter("vtk-compat_gl-java.* shlib-policy-name-error")
-addFilter("vtk-compat_gl-java.* shlib-policy-missing-suffix")
-addFilter("vtk-compat_gl-java.* devel-file-in-non-devel-package")
+addFilter("vtk-openmpi-java.* shlib-policy-name-error")
+addFilter("vtk-openmpi-java.* shlib-policy-missing-suffix")
+addFilter("vtk-openmpi-java.* devel-file-in-non-devel-package")
# Used by tcl bindings
addFilter("vtk-tcl.* devel-file-in-non-devel-package")
-addFilter("vtk-compat_gl-tcl.* devel-file-in-non-devel-package")
+addFilter("vtk-openmpi-tcl.* devel-file-in-non-devel-package")
1
0
Hello community,
here is the log from the commit of package libtorrent-rasterbar for openSUSE:Factory checked in at 2018-11-27 10:43:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtorrent-rasterbar (Old)
and /work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libtorrent-rasterbar"
Tue Nov 27 10:43:25 2018 rev:58 rq:652004 version:1.1.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/libtorrent-rasterbar/libtorrent-rasterbar.changes 2018-09-17 14:26:25.571783351 +0200
+++ /work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new.19453/libtorrent-rasterbar.changes 2018-11-27 10:44:27.860070039 +0100
@@ -1,0 +2,26 @@
+Mon Nov 26 11:26:19 UTC 2018 - adam.majer(a)suse.de
+
+- Update to version 1.1.11:
+ * Fix move_storage with save_path with a trailing slash
+ * Fix tracker announce issue, advertising port 0 in secondary
+ IPv6 announce
+ * Fix missing boost/noncopyable.hpp includes
+ * Fix python binding for torrent_info::creation_date()
+
+- Changes since version 1.1.10:
+ * Fix issue in udp_socket with unusual socket failure
+ * Split progress_notification alert category into
+ file-, piece- and block progress
+ * utp close-reason fix
+ * Exposed default add_torrent_params flags to python bindings
+ * Fix redundant flushes of partfile metadata
+ * Add option to ignore min-interval from trackers on
+ force-reannounce
+ * Raise default setting for active_limit
+ * Fall back to copy+remove if rename_file fails
+ * Improve handling of filesystems not supporting fallocate()
+ * Force-Proxy no longer disables DHT
+ * Improve connect-boost feature, to make new torrents quickly
+ connect peers
+
+-------------------------------------------------------------------
Old:
----
libtorrent-rasterbar-1.1.9.tar.gz
New:
----
libtorrent-rasterbar-1.1.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libtorrent-rasterbar.spec ++++++
--- /var/tmp/diff_new_pack.HIefuz/_old 2018-11-27 10:44:28.452069431 +0100
+++ /var/tmp/diff_new_pack.HIefuz/_new 2018-11-27 10:44:28.456069427 +0100
@@ -12,25 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define _name libtorrent
%define sover 9
-%define _version 1_1_9
-%bcond_without python3
+%define _version 1_1_11
%bcond_without python2
+%bcond_without python3
%bcond_with examples
%bcond_with tests
Name: libtorrent-rasterbar
-Version: 1.1.9
+Version: 1.1.11
Release: 0
Summary: Libtorrent is a C++ implementation of the BitTorrent protocol
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: http://libtorrent.org/
-Source: https://github.com/arvidn/%{_name}/releases/download/%{_name}-%{_version}/%…
+Source: https://github.com/arvidn/%{_name}/releases/download/%{_name}_%{_version}/%…
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(openssl)
++++++ libtorrent-rasterbar-1.1.9.tar.gz -> libtorrent-rasterbar-1.1.11.tar.gz ++++++
++++ 33356 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package guix for openSUSE:Factory checked in at 2018-11-27 10:43:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/guix (Old)
and /work/SRC/openSUSE:Factory/.guix.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "guix"
Tue Nov 27 10:43:19 2018 rev:11 rq:652000 version:0.15.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/guix/guix.changes 2018-07-27 10:55:19.433541122 +0200
+++ /work/SRC/openSUSE:Factory/.guix.new.19453/guix.changes 2018-11-27 10:44:11.744086573 +0100
@@ -1,0 +2,6 @@
+Mon Nov 26 11:09:49 UTC 2018 - jbrielmaier(a)suse.de
+
+- make rm independent of guile minor version
+- update rpmlintrc
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ guix.spec ++++++
--- /var/tmp/diff_new_pack.RllL06/_old 2018-11-27 10:44:13.800084464 +0100
+++ /var/tmp/diff_new_pack.RllL06/_new 2018-11-27 10:44:13.808084456 +0100
@@ -122,7 +122,7 @@
sed -i 's@^ExecStart=.*@ExecStart=/usr/bin/run_guix_daemon.sh@' %{buildroot}%{_unitdir}/guix-daemon.service
sed -i 's@^ExecStart=.*@ExecStart=/usr/bin/run_guix_publish.sh@' %{buildroot}%{_unitdir}/guix-publish.service
# RPM throws error, due to be a development file. It's needed for guix pack -R. Disable it for now
-rm %{buildroot}%{_datadir}/guile/site/2.0/gnu/packages/aux-files/run-in-namespace.c
+rm %{buildroot}%{_datadir}/guile/site/2.*/gnu/packages/aux-files/run-in-namespace.c
%pre
%{_sbindir}/groupadd -r %{guix_builder_group} >/dev/null 2>/dev/null || :
++++++ guix-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.RllL06/_old 2018-11-27 10:44:13.872084391 +0100
+++ /var/tmp/diff_new_pack.RllL06/_new 2018-11-27 10:44:13.872084391 +0100
@@ -14,10 +14,14 @@
# they are foreign
addFilter("W: missing-PT_GNU_STACK-section /usr/share/guile/site/2.[02]/gnu/packages/bootstrap/.*")
+addFilter("W: missing-PT_GNU_STACK-section /usr/lib64/guile/2.2/site-ccache/.*")
# they are not position independent. Upstream consider to build them as PIE
addFilter("W: position-independent-executable-suggested /usr/share/guile/site/2.[02]/gnu/packages/bootstrap/.*")
+# they doesn't include dependency information
+addFilter("W: shared-lib-without-dependency-information /usr/lib64/guile/2.[02]/site-ccache/.*")
+
# I will add guixbuild group into rpmlint once I know that everything
# else is correct
addFilter("W: non-standard-gid /gnu/store guixbuild")
1
0