openSUSE Commits
Threads by month
- ----- 2024 -----
- 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
September 2016
- 1 participants
- 1450 discussions
30 Sep '16
Hello community,
here is the log from the commit of package rubygem-puma_worker_killer for openSUSE:Factory checked in at 2016-09-30 15:27:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-puma_worker_killer (Old)
and /work/SRC/openSUSE:Factory/.rubygem-puma_worker_killer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-puma_worker_killer"
Changes:
--------
New Changes file:
--- /dev/null 2016-09-15 12:42:18.240042505 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-puma_worker_killer.new/rubygem-puma_worker_killer.changes 2016-09-30 15:28:08.000000000 +0200
@@ -0,0 +1,25 @@
+-------------------------------------------------------------------
+Wed Apr 6 06:29:49 UTC 2016 - coolo(a)suse.com
+
+- updated to version 0.0.6
+ see installed CHANGELOG.md
+
+ ## 0.0.6
+
+ - Log PID of worker insead of inspecting the worker #33
+
+-------------------------------------------------------------------
+Thu Mar 3 05:29:56 UTC 2016 - coolo(a)suse.com
+
+- updated to version 0.0.5
+ see installed CHANGELOG.md
+
+ ## 0.0.5
+
+ - Support for Puma 3.x
+
+-------------------------------------------------------------------
+Wed Nov 25 14:19:12 UTC 2015 - mrueckert(a)suse.de
+
+- initial package
+
New:
----
gem2rpm.yml
puma_worker_killer-0.0.6.gem
rubygem-puma_worker_killer.changes
rubygem-puma_worker_killer.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-puma_worker_killer.spec ++++++
#
# spec file for package rubygem-puma_worker_killer
#
# Copyright (c) 2016 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 http://bugs.opensuse.org/
#
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
Name: rubygem-puma_worker_killer
Version: 0.0.6
Release: 0
%define mod_name puma_worker_killer
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
Url: https://github.com/schneems/puma_worker_killer
Source: http://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: If you have a memory leak in your web code puma_worker_killer can
License: MIT
Group: Development/Languages/Ruby
%description
Kills pumas, the code kind .
%prep
%build
%install
%gem_install \
--doc-files="CHANGELOG.md README.md" \
-f
%gem_packages
%changelog
++++++ gem2rpm.yml ++++++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# ## used by gem2rpm
# :sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
#
:sources:
1
0
Hello community,
here is the log from the commit of package perl-Class-C3-XS for openSUSE:Factory checked in at 2016-09-30 15:27:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Class-C3-XS (Old)
and /work/SRC/openSUSE:Factory/.perl-Class-C3-XS.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Class-C3-XS"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Class-C3-XS/perl-Class-C3-XS.changes 2011-11-21 12:37:20.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Class-C3-XS.new/perl-Class-C3-XS.changes 2016-09-30 15:27:34.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Aug 8 05:11:37 UTC 2016 - coolo(a)suse.com
+
+- updated to 0.14
+ see /usr/share/doc/packages/perl-Class-C3-XS/Changes
+
+-------------------------------------------------------------------
Old:
----
Class-C3-XS-0.13.tar.gz
New:
----
Class-C3-XS-0.14.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Class-C3-XS.spec ++++++
--- /var/tmp/diff_new_pack.4kYsCu/_old 2016-09-30 15:27:35.000000000 +0200
+++ /var/tmp/diff_new_pack.4kYsCu/_new 2016-09-30 15:27:35.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Class-C3-XS
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -15,43 +15,41 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: perl-Class-C3-XS
+Version: 0.14
+Release: 0
%define cpan_name Class-C3-XS
Summary: XS speedups for Class::C3
-Version: 0.13
-Release: 2
-License: GPL-1.0+ or Artistic-1.0
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Class-C3-XS/
-#Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Class-C3-XS-0.13.tar.gz
-Source: %{cpan_name}-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Test::More) >= 0.47
+BuildRequires: perl(Module::Metadata)
+%{perl_requires}
%description
-This contains XS performance enhancers for Class::C3 version 0.16 and higher.
-The main Class::C3 package will use this package automatically if it can
-find it. Do not use this package directly, use Class::C3 instead.
-
-This module won't do anything for you if you're running a version of Class::C3
-older than 0.16. (It's not a dependency because it would be circular with the
-optional dep from that package to this one).
-
-Authors:
---------
- Brandon L. Black, <blblack(a)gmail.com>
+This contains XS performance enhancers for Class::C3 version 0.16 and
+higher. The main Class::C3 package will use this package automatically if
+it can find it. Do not use this package directly, use Class::C3 instead.
+
+The test suite here is not complete, although it does verify a few basic
+things. The best testing comes from running the Class::C3 test suite
+*after* this module is installed.
+
+This module won't do anything for you if you're running a version of
+Class::C3 older than 0.16. (It's not a dependency because it would be
+circular with the optional dependency from that package to this one).
%prep
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
@@ -62,11 +60,8 @@
%perl_process_packlist
%perl_gen_filelist
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
%files -f %{name}.files
-%defattr(-,root,root,-)
-%doc ChangeLog README
+%defattr(-,root,root,755)
+%doc Changes CONTRIBUTING LICENCE README
%changelog
++++++ Class-C3-XS-0.13.tar.gz -> Class-C3-XS-0.14.tar.gz ++++++
++++ 6069 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
1
0
Hello community,
here is the log from the commit of package pdns for openSUSE:Factory checked in at 2016-09-30 15:27:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pdns (Old)
and /work/SRC/openSUSE:Factory/.pdns.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pdns"
Changes:
--------
--- /work/SRC/openSUSE:Factory/pdns/pdns.changes 2016-06-07 23:48:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pdns.new/pdns.changes 2016-09-30 15:27:28.000000000 +0200
@@ -1,0 +2,39 @@
+Sat Jul 30 12:38:43 UTC 2016 - michael(a)stroeder.com
+
+- update to 4.0.1
+
+Bug fixes
+ - #4126 Wait for the connection to the carbon server to be established
+ - #4206 Don't try to deallocate empty PG statements
+ - #4245 Send the correct response when queried for an NSEC directly (Kees Monshouwer)
+ - #4252 Don't include bind files if length <= 2 or > sizeof(filename)
+ - #4255 Catch runtime_error when parsing a broken MNAME
+
+Improvements
+ - #4044 Make DNSPacket return a ComboAddress for local and remote (Aki Tuomi)
+ - #4056 OpenSSL 1.1.0 support (Christian Hofstaedtler)
+ - #4169 Fix typos in a logmessage and exception (Christian Hofsteadtler)
+ - #4183 pdnsutil: Remove checking of ctime and always diff the changes (Hannu Ylitalo)
+ - #4192 dnsreplay: Only add Client Subnet stamp when asked
+ - #4250 Use toLogString() for ringAccount (Kees Monshouwer)
+
+Additions
+ - #4133 Add limits to the size of received {A,I}XFR (CVE-2016-6172)
+ - #4142 Add used filedescriptor statistic (Kees Monshouwer)
+
+-------------------------------------------------------------------
+Mon Jul 11 15:17:37 UTC 2016 - mrueckert(a)suse.de
+
+- update to 4.0.0
+ https://blog.powerdns.com/2016/07/11/powerdns-authoritative-server-4-0-0-re…
+ https://blog.powerdns.com/2016/07/11/welcome-to-powerdns-4-0-0/
+- packaging changes:
+ - remotebackend split out now
+ - enabled experimental_gss_tsig support
+ - enabled protobuf based stats support
+ - no more xdb and lmdb backend
+ - added odbc backend where supported
+- drop pdns-3.4.0-no_date_time.patch: replaced with
+ --enable-reproducible
+
+-------------------------------------------------------------------
Old:
----
pdns-3.4.0-no_date_time.patch
pdns-3.4.9.tar.bz2
pdns.service
pdns.tmpfiles
series
New:
----
pdns-4.0.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pdns.spec ++++++
--- /var/tmp/diff_new_pack.CgoDfN/_old 2016-09-30 15:27:29.000000000 +0200
+++ /var/tmp/diff_new_pack.CgoDfN/_new 2016-09-30 15:27:29.000000000 +0200
@@ -17,46 +17,43 @@
Name: pdns
-Version: 3.4.9
+Version: 4.0.1
Release: 0
#
%define pkg_name pdns
-%define pkg_version 3.4.9
-%define polarssl_version 1.3.2
+%define pkg_version 4.0.1
#
-%define home %{_var}/lib/pdns
-%if 0%{?suse_version} > 1220
+%if 0%{?suse_version} > 1230 || 0%{?rhel_version} > 600 || 0%{?centos_version} > 600 || 0%{?fedora_version} >= 20 || 0%{?el7}%{?fc20}%{?fc21}%{?fc22}%{?fc23}%{?fc24}%{?fc25}
%bcond_without systemd
-%define _localstatedir /run/pdns
%else
%bcond_with systemd
-%define _localstatedir %{_var}/run/pdns
%endif
-%{!?_tmpfilesdir: %global _tmpfilesdir /usr/lib/tmpfiles.d }
+
+%if 0%{?fedora_version} >= 24 || 0%{?fc24}%{?fc25}
+%bcond_with systemd_separetedlibs
+%else
+%bcond_without systemd_separetedlibs
+%endif
#
%bcond_without pdns_lua
-%bcond_with pdns_mongo
%bcond_without pdns_mydns
+%bcond_with pdns_experimental_gss_tsig
+%bcond_without pdns_odbc
%bcond_without pdns_sqlite3
%bcond_with pdns_tinydns
-%if 0%{?suse_version} >= 1320
-%bcond_without pdns_lmdb
-%bcond_with pdns_intree_polarssl
-%else
-%bcond_with pdns_lmdb
-%bcond_without pdns_intree_polarssl
-%endif
-%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315
+%if (0%{?suse_version} > 1230 && 0%{?suse_version} != 1315) || 0%{?is_opensuse}
%bcond_without pdns_geoip
%else
%bcond_with pdns_geoip
%endif
-%if 0%{?suse_version} > 1200 && 0%{?suse_version} != 1315
+%if 0%{?suse_version} && ! ( 0%{?suse_version} == 1315 && ! 0%{?is_opensuse} )
+%bcond_without pdns_protobuf
%bcond_without pdns_botan
%else
+%bcond_with pdns_protobuf
%bcond_with pdns_botan
%endif
-%if 0%{?suse_version} > 1110
+%if 0%{?suse_version} > 1110 || 0%{?rhel_version} > 600 || 0%{?centos_version} > 600 || 0%{?fedora_version} >= 22 || 0%{?fc22}%{?fc23}%{?fc24}%{?fc25}
%bcond_without pdns_tools
%bcond_without pdns_pkcs11
%bcond_without pdns_zeromq
@@ -81,30 +78,40 @@
BuildRequires: GeoIP-devel
BuildRequires: yaml-cpp-devel
%endif
+%if %{with pdns_experimental_gss_tsig}
+BuildRequires: pkgconfig(gss)
+BuildRequires: pkgconfig(krb5)
+BuildRequires: pkgconfig(krb5-gssapi)
+%endif
BuildRequires: gcc-c++
BuildRequires: gdbm-devel
BuildRequires: libtool
+# unused atm BuildRequires: libedit-devel
+BuildRequires: libsodium-devel
%if %{with pdns_lua}
BuildRequires: lua-devel
%endif
-%if %{with pdns_lmdb}
-BuildRequires: lmdb-devel
-%endif
%if %{with pdns_tinydns}
# FIXME: Could not find libcdb/tinycdb
%endif
-%if %{with pdns_mongo}
-# FIXME: needs mongo devel package
-%endif
BuildRequires: mysql-devel
+%if 0%{?suse_version}
BuildRequires: openldap2-devel
-BuildRequires: pkg-config
+%else
+BuildRequires: openldap-devel
+%endif
BuildRequires: postgresql-devel
#BuildRequires: ragel
+%if %{with pdns_protobuf}
+BuildRequires: protobuf-devel
+%endif
BuildRequires: sqlite-devel >= 3
%if %{with pdns_sqlite3}
BuildRequires: sqlite-devel >= 3
%endif
+%if %{with pdns_odbc}
+BuildRequires: unixODBC-devel
+%endif
#
%if %{with pdns_opendbx}
BuildRequires: opendbx-backend-pgsql
@@ -114,33 +121,25 @@
%if %{with pdns_pkcs11}
BuildRequires: pkgconfig(p11-kit-1)
%endif
-%if ! %{with pdns_intree_polarssl}
-BuildRequires: polarssl-devel >= 1.1
-%endif
-%if %{with pdns_xdb}
-BuildRequires: tdb-devel
-%endif
%if %{with pdns_zeromq}
BuildRequires: zeromq-devel
%endif
%if %{with systemd}
-BuildRequires: systemd
+BuildRequires: pkgconfig(systemd)
+%if %{with systemd_separetedlibs}
+BuildRequires: pkgconfig(libsystemd-daemon)
+%endif
%{?systemd_requires}
%else
PreReq: %fillup_prereq
PreReq: %insserv_prereq
%endif
-PreReq: pwdutils
+PreReq: pdns-common
#
Url: http://www.powerdns.com/
Source: http://downloads.powerdns.com/releases/pdns-%{pkg_version}.tar.bz2
Source1: rcpdns
Source2: README.opendbx
-Source3: %{name}.service
-Source4: pdns.tmpfiles
-Source5: series
-# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
-Patch: pdns-3.4.0-no_date_time.patch
Summary: Modern, advanced and high performance authoritative-only nameserver
License: GPL-2.0
Group: Productivity/Networking/DNS/Servers
@@ -196,6 +195,22 @@
This package holds the PostgreSQL backend for pdns.
+%if %{with pdns_odbc}
+%package backend-godbc
+Requires: %{name} = %{version}
+#
+Summary: ODBC backend for pdns
+Group: Productivity/Networking/DNS/Servers
+
+%description backend-godbc
+The PowerDNS Nameserver is a modern, advanced and high performance
+authoritative-only nameserver. It is written from scratch and conforms
+to all relevant DNS standards documents. Furthermore, PowerDNS
+interfaces with almost any database.
+
+This package holds the ODBC backend for pdns.
+%endif
+
%if %{with pdns_sqlite3}
%package backend-sqlite3
Requires: %{name} = %{version}
@@ -260,22 +275,19 @@
%endif
-%if %{with pdns_xdb}
-%package backend-xdb
+%package backend-remote
Requires: %{name} = %{version}
#
-Summary: Samba TDB backend for pdns
+Summary: Remote backend for pdns
Group: Productivity/Networking/DNS/Servers
-%description backend-xdb
+%description backend-remote
The PowerDNS Nameserver is a modern, advanced and high performance
authoritative-only nameserver. It is written from scratch and conforms
to all relevant DNS standards documents. Furthermore, PowerDNS
interfaces with almost any database.
-This package holds the Samba TDB backend for pdns.
-
-%endif
+This package holds the remote backend for pdns.
%if %{with pdns_geoip}
%package backend-geoip
@@ -293,50 +305,15 @@
This package holds the GeoIP backend for pdns.
%endif
-%if %{with pdns_lmdb}
-%package backend-lmdb
-Requires: %{name} = %{version}
-#
-Summary: LMDB backend for pdns
-Group: Productivity/Networking/DNS/Servers
-
-%description backend-lmdb
-The PowerDNS Nameserver is a modern, advanced and high performance
-authoritative-only nameserver. It is written from scratch and conforms
-to all relevant DNS standards documents. Furthermore, PowerDNS
-interfaces with almost any database.
-
-This package holds the LMDB backend for pdns.
-%endif
-
-%if %{with pdns_recursor}
-%package -n pdns-recursor
-Requires: %{name} = %{version}
-#
-Summary: Modern, advanced and high performance recursing/non authoritative nameserver
-Group: Productivity/Networking/DNS/Servers
-
-%description -n pdns-recursor
-PowerDNS Recursor is a non authoritative/recursing DNS server. Use this
-package if you need a dns cache for your network.
-
-%endif
-
%prep
%setup -n %{name}-%{pkg_version}
-%patch -p1
%if %{with pdns_opendbx}
cp %{S:2} README.opendbx
%endif
-cp modules/geobackend/README README.geobackend
-# module-dir=/usr/local/lib
-perl -p -i.back -e 's|module-dir=.*|module-dir=%{_libdir}/%{pkg_name}|g' pdns/pdns.conf-dist
-diff -urN pdns/pdns.conf-dist{.back,} ||:
-rm -v pdns/pdns.conf-dist.back
%build
-touch NEWS AUTHORS COPYING
-#autoreconf -fiv
+# touch NEWS AUTHORS COPYING
+# autoreconf -fiv
# set $LD for now. this fixes the configure check for relro,now.
export LD="$(which ld)"
export CFLAGS="%{optflags} -DLDAP_DEPRECATED"
@@ -348,13 +325,16 @@
--with-socketdir=%{_localstatedir} \
--localstatedir=%{_localstatedir} \
--with-pic \
+ --enable-libsodium \
+ --enable-reproducible \
+%if %{with dnsdist_protobuf}
+ --with-protobuf \
+%endif
%if %{with pdns_botan}
--enable-botan1.10 \
%endif
-%if %{with pdns_intree_polarssl}
- --without-system-polarssl \
-%else
- --with-system-polarssl \
+%if %{with pdns_experimental_gss_tsig}
+ --enable-experimental-gss-tsig \
%endif
--sysconfdir=%{_sysconfdir}/%{pkg_name} \
--libdir=%{_libdir} \
@@ -363,6 +343,14 @@
%if %{with pdns_pkcs11}
--enable-experimental-pkcs11 \
%endif
+%if %{with sanitizer}
+ --enable-asan \
+ --enable-msan \
+ --enable-tsan \
+ --enable-lsan \
+ --enable-ubsan \
+%endif
+ --enable-malloc-trace \
%if %{with pdns_zeromq}
--enable-remotebackend-zeromq \
%endif
@@ -371,75 +359,62 @@
--with-lua \
%endif
--with-dynmodules="\
- pipe \
bind \
- random \
- geo \
- gmysql \
- gpgsql \
- ldap \
%if %{with pdns_geoip}
geoip \
%endif
-%if %{with pdns_lmdb}
- lmdb \
+ gmysql \
+%if %{with pdns_odbc}
+ godbc \
%endif
+%if %{with pdns_oracle}
+ goracle \
+%endif
+ gpgsql \
+%if %{with pdns_sqlite3}
+ gsqlite3 \
+%endif
+ ldap \
%if %{with pdns_lua}
lua \
%endif
-%if %{with pdns_mongo}
- mongodb \
-%endif
%if %{with pdns_mydns}
mydns \
%endif
-%if %{with pdns_tinydns}
- tinydns \
-%endif
-%if %{with pdns_sqlite3}
- gsqlite3 \
-%endif
%if %{with pdns_opendbx}
opendbx \
%endif
-%if %{with pdns_xdb}
- xdb \
-%endif
-%if %{with pdns_db2}
- db2 \
-%endif
-%if %{with pdns_odbc}
- odbc \
-%endif
%if %{with pdns_oracle}
- goracle \
oracle \
%endif
+ pipe \
+ random \
+ remote \
+%if %{with pdns_tinydns}
+ tinydns \
+%endif
"\
%if %{with pdns_tools}
--enable-tools \
%endif
--disable-static
-make
+make %{?_smp_mflags}
%install
-make install DESTDIR="%{buildroot}"
-install -Dd -m 0755 %{buildroot}{%{home},%{_var}}
+make %{?_smp_mflags} install DESTDIR="%{buildroot}"
+
mv %{buildroot}%{_sysconfdir}/%{pkg_name}/pdns.conf{-dist,}
-mkdir -p %{buildroot}%{_localstatedir}
+
%if %{with systemd}
-install -D -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{pkg_name}.service
-install -D -m 0644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/pdns.conf
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{pkg_name}
%else
install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/%{pkg_name}
ln -s -f ../..%{_sysconfdir}/init.d/%{pkg_name} %{buildroot}%{_sbindir}/rc%{pkg_name}
%endif
+
rm -rfv %{buildroot}%{_libdir}/pdns/*.la
#
install -m 0644 AUTHORS NEWS NOTICE COPYING README* %{buildroot}%{_datadir}/doc/packages/%{name}/
-# no longer ship dnsdist here -> separate upstream source and package now
-#rm -v %{buildroot}%{_bindir}/dnsdist %{buildroot}%{_mandir}/man1/dnsdist.1*
%pre
/usr/sbin/groupadd -r pdns >/dev/null 2>&1 || :
@@ -450,7 +425,6 @@
%post
%if %{with systemd}
-%{?tmpfiles_create:%{tmpfiles_create}}
%service_add_post %{name}.service
%else
%{fillup_and_insserv pdns}
@@ -482,15 +456,12 @@
%exclude %{_datadir}/doc/packages/%{name}/*.sql
%if %{with systemd}
%{_unitdir}/%{name}.service
-%{_tmpfilesdir}/pdns.conf
+%{_unitdir}/%{name}@.service
%else
%{_sysconfdir}/init.d/%{pkg_name}
%endif
%{_sbindir}/rcpdns
-%dir %attr(750,root,pdns) %{_sysconfdir}/%{pkg_name}
-%attr(700,pdns,pdns) %dir %ghost %{_localstatedir}
%config(noreplace) %attr(640,root,pdns) %{_sysconfdir}/%{pkg_name}/%{pkg_name}.conf
-%if %{with pdns_tools}
%{_bindir}/dnsbulktest
%{_bindir}/dnsreplay
%{_bindir}/dnsscan
@@ -500,32 +471,46 @@
%{_bindir}/nproxy
%{_bindir}/nsec3dig
%{_bindir}/saxfr
+%{_bindir}/calidns
+%{_bindir}/dnsgram
+%{_bindir}/dumresp
+%{_bindir}/ixplore
+%{_bindir}/sdig
+%{_bindir}/pdns_control
+%{_bindir}/pdns_notify
+%{_bindir}/pdnsutil
+%{_bindir}/stubquery
+%{_bindir}/zone2sql
+%{_bindir}/zone2json
+%{_sbindir}/pdns_server
+%if %{with pdns_protobuf}
+%{_bindir}/dnspcap2protobuf
+%{_mandir}/man1/dnspcap2protobuf.1.gz
+%endif
+%{_mandir}/man1/dnsbulktest.1*
+%{_mandir}/man1/dnsgram.1*
+%{_mandir}/man1/dnsscan.1*
+%{_mandir}/man1/ixplore.1*
+%{_mandir}/man1/nsec3dig.1*
+%{_mandir}/man1/saxfr.1*
+%{_mandir}/man1/sdig.1*
%{_mandir}/man1/dnstcpbench.1*
%{_mandir}/man1/dnsreplay.1*
%{_mandir}/man1/dnsscope.1*
%{_mandir}/man1/dnswasher.1*
-%endif
-%{_sbindir}/pdns_server
-%{_bindir}/pdns_control
-%{_bindir}/pdnssec
-%{_bindir}/zone2sql
-%{_bindir}/zone2json
%{_mandir}/man1/pdns_control.1*
+%{_mandir}/man1/pdns_notify.1*
%{_mandir}/man1/pdns_server.1*
-%{_mandir}/man1/pdnssec.1*
+%{_mandir}/man1/pdnsutil.1*
+%{_mandir}/man1/zone2json.1*
%{_mandir}/man1/zone2sql.1*
+%{_mandir}/man1/calidns.1*
+%{_mandir}/man1/dumresp.1*
+%{_mandir}/man1/nproxy.1*
%dir %{_libdir}/%{pkg_name}
%{_libdir}/%{pkg_name}/libpipebackend.so*
%{_libdir}/%{pkg_name}/libbindbackend.so*
%{_libdir}/%{pkg_name}/librandombackend.so*
-%{_libdir}/%{pkg_name}/libgeobackend.so*
-%dir %attr(750,pdns,pdns) %{home}
-
-%if %{with pdns_recursor}
-%files -n pdns-recursor
-%defattr (-,root,root,-)
-%{_sbindir}/pdns_recursor
-%endif
%files backend-mysql
%defattr (-,root,root,-)
@@ -568,18 +553,10 @@
%{_libdir}/%{pkg_name}/libopendbxbackend.so*
%endif
-%if %{with pdns_xdb}
-%files backend-xdb
-%defattr (-,root,root,-)
-%{_bindir}/xdb-fill
-%{_libdir}/%{pkg_name}/libxdbbackend.so*
-%endif
-
-%if %{with pdns_lmdb}
-%files backend-lmdb
+%if %{with pdns_odbc}
+%files backend-godbc
%defattr (-,root,root,-)
-%{_bindir}/zone2lmdb
-%{_libdir}/%{pkg_name}/liblmdbbackend.so*
+%{_libdir}/%{pkg_name}/libgodbcbackend.so*
%endif
%if %{with pdns_geoip}
@@ -588,4 +565,8 @@
%{_libdir}/%{pkg_name}/libgeoipbackend.so*
%endif
+%files backend-remote
+%defattr (-,root,root,-)
+%{_libdir}/%{pkg_name}/libremotebackend.so
+
%changelog
++++++ pdns-3.4.9.tar.bz2 -> pdns-4.0.1.tar.bz2 ++++++
++++ 267253 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package pdns-common for openSUSE:Factory checked in at 2016-09-30 15:27:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pdns-common (Old)
and /work/SRC/openSUSE:Factory/.pdns-common.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pdns-common"
Changes:
--------
New Changes file:
--- /dev/null 2016-09-15 12:42:18.240042505 +0200
+++ /work/SRC/openSUSE:Factory/.pdns-common.new/pdns-common.changes 2016-09-30 15:27:24.000000000 +0200
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Wed May 11 22:51:10 UTC 2016 - mrueckert(a)suse.de
+
+- initial package
+
New:
----
pdns-common.changes
pdns-common.spec
pdns-common.tmpfiles.d
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pdns-common.spec ++++++
#
# spec file for package pdns-common
#
# Copyright (c) 2016 SUSE LINUX Products 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 http://bugs.opensuse.org/
#
# norootforbuild
%if 0%{?suse_version} > 1230
%bcond_without systemd
%define _localstatedir /run/pdns
%else
%bcond_with systemd
%define _localstatedir /var/run/pdns
%endif
%define home %{_var}/lib/pdns
%{!?_tmpfilesdir: %global _tmpfilesdir /usr/lib/tmpfiles.d }
Name: pdns-common
Version: 4.0
Release: 0
License: MIT
Summary: Shared directories between PowerDNS Packages
Url: https://www.powerdns.com/
Group: Productivity/Networking/DNS/Servers
Source: pdns-common.tmpfiles.d
BuildArch: noarch
%if %{with systemd}
BuildRequires: pkgconfig(systemd)
%{?systemd_requires}
%endif
%if 0%{?suse_version}
PreReq: pwdutils
%else
PreReq: shadow-utils
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Shared directories between PowerDNS Packages
%prep
%build
%install
install -Dd -m 0755 %{buildroot}%{home}
install -Dd -m 0755 %{buildroot}%{_sysconfdir}/pdns
%if %{with systemd}
install -D -m 0644 %{SOURCE0} %{buildroot}%{_tmpfilesdir}/%{name}.conf
%else
install -D -d -m 0750 %{buildroot}%{_localstatedir}
%endif
%pre
/usr/sbin/groupadd -r pdns >/dev/null 2>&1 || :
/usr/sbin/useradd -g pdns -s /bin/false -r -c "PowerDNS" -d %{home} pdns >/dev/null 2>&1 || :
%if %{with systemd}
%post
systemd-tmpfiles --create /usr/lib/tmpfiles.d/%{name}.conf ||:
%endif
%files
%defattr(-,root,root)
%if %{with systemd}
%{_tmpfilesdir}/%{name}.conf
%dir %attr(750,pdns,pdns) %ghost %{_localstatedir}/
%else
%dir %attr(750,pdns,pdns) %{_localstatedir}/
%endif
%dir %attr(750,root,pdns) %{_sysconfdir}/pdns/
%dir %attr(750,pdns,pdns) %{home}/
%changelog
++++++ pdns-common.tmpfiles.d ++++++
# Type Path Mode UID GID Age Argument
d /run/pdns 0750 pdns pdns - -
1
0
Hello community,
here is the log from the commit of package yast2-kdump for openSUSE:Factory checked in at 2016-09-30 15:26:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-kdump (Old)
and /work/SRC/openSUSE:Factory/.yast2-kdump.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-kdump"
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-kdump/yast2-kdump.changes 2016-09-08 17:37:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-kdump.new/yast2-kdump.changes 2016-09-30 15:27:15.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Sep 22 15:20:08 CEST 2016 - schubi(a)suse.de
+
+- AutoYaST: Taking proposed values if <crash_kernel> has not been
+ defined in AutoYaST configuration file. (bnc#997448)
+- 3.1.42
+
+-------------------------------------------------------------------
Old:
----
yast2-kdump-3.1.41.tar.bz2
New:
----
yast2-kdump-3.1.42.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-kdump.spec ++++++
--- /var/tmp/diff_new_pack.Ivn6HA/_old 2016-09-30 15:27:16.000000000 +0200
+++ /var/tmp/diff_new_pack.Ivn6HA/_new 2016-09-30 15:27:16.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-kdump
-Version: 3.1.41
+Version: 3.1.42
Release: 0
Summary: Configuration of kdump
License: GPL-2.0
++++++ yast2-kdump-3.1.41.tar.bz2 -> yast2-kdump-3.1.42.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-3.1.41/package/yast2-kdump.changes new/yast2-kdump-3.1.42/package/yast2-kdump.changes
--- old/yast2-kdump-3.1.41/package/yast2-kdump.changes 2016-09-02 10:59:04.000000000 +0200
+++ new/yast2-kdump-3.1.42/package/yast2-kdump.changes 2016-09-27 09:25:23.000000000 +0200
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Thu Sep 22 15:20:08 CEST 2016 - schubi(a)suse.de
+
+- AutoYaST: Taking proposed values if <crash_kernel> has not been
+ defined in AutoYaST configuration file. (bnc#997448)
+- 3.1.42
+
+-------------------------------------------------------------------
Thu Sep 1 16:17:37 CEST 2016 - schubi(a)suse.de
- AutoYaST: Write <general> and <crash_kernel> sections correctly.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-3.1.41/package/yast2-kdump.spec new/yast2-kdump-3.1.42/package/yast2-kdump.spec
--- old/yast2-kdump-3.1.41/package/yast2-kdump.spec 2016-09-02 10:59:04.000000000 +0200
+++ new/yast2-kdump-3.1.42/package/yast2-kdump.spec 2016-09-27 09:25:23.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-kdump
-Version: 3.1.41
+Version: 3.1.42
Release: 0
Summary: Configuration of kdump
License: GPL-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-3.1.41/src/modules/Kdump.rb new/yast2-kdump-3.1.42/src/modules/Kdump.rb
--- old/yast2-kdump-3.1.41/src/modules/Kdump.rb 2016-09-02 10:59:04.000000000 +0200
+++ new/yast2-kdump-3.1.42/src/modules/Kdump.rb 2016-09-27 09:25:23.000000000 +0200
@@ -943,8 +943,18 @@
@KDUMP_SETTINGS[key] = value.nil? ? def_value : value
end
- # Make sure it's an array
- @crashkernel_param_values = Array(settings.fetch("crash_kernel", ""))
+ if Builtins.haskey(settings, "crash_kernel")
+ # Make sure it's an array
+ @crashkernel_param_values = Array(settings.fetch("crash_kernel", ""))
+ # In order not to overwrite the values by the proposal we will have to set
+ # according allocated memory too. (bnc#995750)
+ @allocated_memory = get_allocated_memory(@crashkernel_param_values)
+ else
+ # Taking proposed values (bnc#997448)
+ ProposeAllocatedMemory()
+ # Make sure it's an array
+ @crashkernel_param_values = Array(crash_kernel_values)
+ end
if settings.has_key?("add_crash_kernel")
@add_crashkernel_param = settings["add_crash_kernel"]
else
@@ -1088,10 +1098,9 @@
def crash_kernel_values
# If the current values include "nasty" things and the user has not
# overriden the value of @crashkernel_list_ranges to autorize the
- # modification. OR the value has been imported by AutoYAST (bnc#995750).
- # In both cases the old value (ensuring the Array format) will be
- # returned.
- if @crashkernel_list_ranges || @import_called
+ # modification.
+ # The old value (ensuring the Array format) will be returned.
+ if @crashkernel_list_ranges
return Array((a)crashkernel_param_values.dup)
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-kdump-3.1.41/test/kdump_test.rb new/yast2-kdump-3.1.42/test/kdump_test.rb
--- old/yast2-kdump-3.1.41/test/kdump_test.rb 2016-09-02 10:59:04.000000000 +0200
+++ new/yast2-kdump-3.1.42/test/kdump_test.rb 2016-09-27 09:25:24.000000000 +0200
@@ -420,8 +420,12 @@
end
context "during autoinstallation" do
+ let(:bootlader_kernel_params) { ["73M,high"] }
+
before do
allow(Yast::Mode).to receive(:autoinst).and_return true
+ allow(Yast::Kdump.calibrator).to receive(:default_low).and_return 0
+ allow(Yast::Kdump.calibrator).to receive(:default_high).and_return 73
Yast::Kdump.Import(profile)
end
@@ -439,13 +443,27 @@
end
end
- context "if kdump is requested but no value for crashkernel is supplied" do
- let(:profile) { { "add_crash_kernel" => true } }
+ context "if kdump is requested but empty value for crashkernel is supplied" do
+ let(:profile) { { "add_crash_kernel" => true, "crash_kernel" => [] } }
it "writes an empty crashkernel in the bootloader and enables the service" do
expect(Yast::Bootloader)
.to receive(:modify_kernel_params)
- .with(:common, :xen_guest, :recovery, "crashkernel" => [""])
+ .with(:common, :xen_guest, :recovery, "crashkernel" => [])
+ expect(Yast::Bootloader).to receive(:Write)
+ expect(Yast::Service).to receive(:Enable).with("kdump")
+
+ Yast::Kdump.WriteKdumpBootParameter
+ end
+ end
+
+ context "if kdump is requested but no value for crashkernel is supplied" do
+ let(:profile) {{ "add_crash_kernel" => true }}
+
+ it "writes a proposed crashkernel in the bootloader and enables the service" do
+ expect(Yast::Bootloader)
+ .to receive(:modify_kernel_params)
+ .with(:common, :xen_guest, :recovery, "crashkernel" => bootlader_kernel_params)
expect(Yast::Bootloader).to receive(:Write)
expect(Yast::Service).to receive(:Enable).with("kdump")
@@ -483,8 +501,12 @@
end
context "during autoupgrade" do
+ let(:bootlader_kernel_params) { ["75M,high"] }
+
before do
allow(Yast::Mode).to receive(:autoupgrade).and_return true
+ allow(Yast::Kdump.calibrator).to receive(:default_low).and_return 0
+ allow(Yast::Kdump.calibrator).to receive(:default_high).and_return 75
Yast::Kdump.Import(profile)
end
@@ -502,13 +524,27 @@
end
end
- context "if kdump is requested but no value for crashkernel is supplied" do
- let(:profile) { { "add_crash_kernel" => true } }
+ context "if kdump is requested but an empty value for crashkernel is supplied" do
+ let(:profile) { { "add_crash_kernel" => true, "crash_kernel" => [] } }
it "writes an empty crashkernel in the bootloader and enables the service" do
expect(Yast::Bootloader)
.to receive(:modify_kernel_params)
- .with(:common, :xen_guest, :recovery, "crashkernel" => [""])
+ .with(:common, :xen_guest, :recovery, "crashkernel" => [])
+ expect(Yast::Bootloader).to receive(:Write)
+ expect(Yast::Service).to receive(:Enable).with("kdump")
+
+ Yast::Kdump.WriteKdumpBootParameter
+ end
+ end
+
+ context "if kdump is requested but no value for crashkernel is supplied" do
+ let(:profile) {{ "add_crash_kernel" => true }}
+
+ it "rewrites the bootloader crashkernel settings and enables the service" do
+ expect(Yast::Bootloader)
+ .to receive(:modify_kernel_params)
+ .with(:common, :xen_guest, :recovery, "crashkernel" => bootlader_kernel_params)
expect(Yast::Bootloader).to receive(:Write)
expect(Yast::Service).to receive(:Enable).with("kdump")
1
0
Hello community,
here is the log from the commit of package python3-certifi for openSUSE:Factory checked in at 2016-09-30 15:26:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-certifi (Old)
and /work/SRC/openSUSE:Factory/.python3-certifi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-certifi"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-certifi/python3-certifi.changes 2016-09-11 00:52:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-certifi.new/python3-certifi.changes 2016-09-30 15:27:13.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Sep 26 15:42:16 UTC 2016 - arun(a)gmx.de
+
+- update to version 2016.9.26:
+ * changes to makefile
+
+-------------------------------------------------------------------
Old:
----
certifi-2016.8.31.tar.gz
New:
----
certifi-2016.9.26.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-certifi.spec ++++++
--- /var/tmp/diff_new_pack.WB7bz5/_old 2016-09-30 15:27:14.000000000 +0200
+++ /var/tmp/diff_new_pack.WB7bz5/_new 2016-09-30 15:27:14.000000000 +0200
@@ -17,7 +17,7 @@
Name: python3-certifi
-Version: 2016.8.31
+Version: 2016.9.26
Release: 0
Summary: Python package for providing Mozilla's CA Bundle
License: MPL-2.0
++++++ certifi-2016.8.31.tar.gz -> certifi-2016.9.26.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certifi-2016.8.31/PKG-INFO new/certifi-2016.9.26/PKG-INFO
--- old/certifi-2016.8.31/PKG-INFO 2016-08-31 18:25:23.000000000 +0200
+++ new/certifi-2016.9.26/PKG-INFO 2016-09-26 13:50:53.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: certifi
-Version: 2016.8.31
+Version: 2016.9.26
Summary: Python package for providing Mozilla's CA Bundle.
Home-page: http://certifi.io/
Author: Kenneth Reitz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certifi-2016.8.31/certifi/__init__.py new/certifi-2016.9.26/certifi/__init__.py
--- old/certifi-2016.8.31/certifi/__init__.py 2016-08-31 18:24:50.000000000 +0200
+++ new/certifi-2016.9.26/certifi/__init__.py 2016-09-26 13:49:54.000000000 +0200
@@ -1,3 +1,3 @@
from .core import where, old_where
-__version__ = "2016.08.31"
+__version__ = "2016.09.26"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certifi-2016.8.31/certifi/cacert.pem new/certifi-2016.9.26/certifi/cacert.pem
--- old/certifi-2016.8.31/certifi/cacert.pem 2016-08-31 18:23:58.000000000 +0200
+++ new/certifi-2016.9.26/certifi/cacert.pem 2016-09-26 13:47:31.000000000 +0200
@@ -1703,38 +1703,6 @@
GDeAU/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY=
-----END CERTIFICATE-----
-# Issuer: CN=IGC/A O=PM/SGDN OU=DCSSI
-# Subject: CN=IGC/A O=PM/SGDN OU=DCSSI
-# Label: "IGC/A"
-# Serial: 245102874772
-# MD5 Fingerprint: 0c:7f:dd:6a:f4:2a:b9:c8:9b:bd:20:7e:a9:db:5c:37
-# SHA1 Fingerprint: 60:d6:89:74:b5:c2:65:9e:8a:0f:c1:88:7c:88:d2:46:69:1b:18:2c
-# SHA256 Fingerprint: b9:be:a7:86:0a:96:2e:a3:61:1d:ab:97:ab:6d:a3:e2:1c:10:68:b9:7d:55:57:5e:d0:e1:12:79:c1:1c:89:32
------BEGIN CERTIFICATE-----
-MIIEAjCCAuqgAwIBAgIFORFFEJQwDQYJKoZIhvcNAQEFBQAwgYUxCzAJBgNVBAYT
-AkZSMQ8wDQYDVQQIEwZGcmFuY2UxDjAMBgNVBAcTBVBhcmlzMRAwDgYDVQQKEwdQ
-TS9TR0ROMQ4wDAYDVQQLEwVEQ1NTSTEOMAwGA1UEAxMFSUdDL0ExIzAhBgkqhkiG
-9w0BCQEWFGlnY2FAc2dkbi5wbS5nb3V2LmZyMB4XDTAyMTIxMzE0MjkyM1oXDTIw
-MTAxNzE0MjkyMlowgYUxCzAJBgNVBAYTAkZSMQ8wDQYDVQQIEwZGcmFuY2UxDjAM
-BgNVBAcTBVBhcmlzMRAwDgYDVQQKEwdQTS9TR0ROMQ4wDAYDVQQLEwVEQ1NTSTEO
-MAwGA1UEAxMFSUdDL0ExIzAhBgkqhkiG9w0BCQEWFGlnY2FAc2dkbi5wbS5nb3V2
-LmZyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsh/R0GLFMzvABIaI
-s9z4iPf930Pfeo2aSVz2TqrMHLmh6yeJ8kbpO0px1R2OLc/mratjUMdUC24SyZA2
-xtgv2pGqaMVy/hcKshd+ebUyiHDKcMCWSo7kVc0dJ5S/znIq7Fz5cyD+vfcuiWe4
-u0dzEvfRNWk68gq5rv9GQkaiv6GFGvm/5P9JhfejcIYyHF2fYPepraX/z9E0+X1b
-F8bc1g4oa8Ld8fUzaJ1O/Id8NhLWo4DoQw1VYZTqZDdH6nfK0LJYBcNdfrGoRpAx
-Vs5wKpayMLh35nnAvSk7/ZR3TL0gzUEl4C7HG7vupARB0l2tEmqKm0f7yd1GQOGd
-PDPQtQIDAQABo3cwdTAPBgNVHRMBAf8EBTADAQH/MAsGA1UdDwQEAwIBRjAVBgNV
-HSAEDjAMMAoGCCqBegF5AQEBMB0GA1UdDgQWBBSjBS8YYFDCiQrdKyFP/45OqDAx
-NjAfBgNVHSMEGDAWgBSjBS8YYFDCiQrdKyFP/45OqDAxNjANBgkqhkiG9w0BAQUF
-AAOCAQEABdwm2Pp3FURo/C9mOnTgXeQp/wYHE4RKq89toB9RlPhJy3Q2FLwV3duJ
-L92PoF189RLrn544pEfMs5bZvpwlqwN+Mw+VgQ39FuCIvjfwbF3QMZsyK10XZZOY
-YLxuj7GoPB7ZHPOpJkL5ZB3C55L29B5aqhlSXa/oovdgoPaN8In1buAKBQGVyYsg
-Crpa/JosPL3Dt8ldeCUFP1YUmwza+zpI/pdpXsoQhvdOlgQITeywvl3cO45Pwf2a
-NjSaTFR+FwNIlQgRHAdvhQh+XU3Endv7rs6y0bO4g2wdsrN58dhwmX7wEwLOXt1R
-0982gaEbeC9xs/FZTEYYKKuF0mBWWg==
------END CERTIFICATE-----
-
# Issuer: O=SECOM Trust Systems CO.,LTD. OU=Security Communication EV RootCA1
# Subject: O=SECOM Trust Systems CO.,LTD. OU=Security Communication EV RootCA1
# Label: "Security Communication EV RootCA1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certifi-2016.8.31/certifi/weak.pem new/certifi-2016.9.26/certifi/weak.pem
--- old/certifi-2016.8.31/certifi/weak.pem 2016-08-31 18:23:58.000000000 +0200
+++ new/certifi-2016.9.26/certifi/weak.pem 2016-09-26 13:47:31.000000000 +0200
@@ -1703,38 +1703,6 @@
GDeAU/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY=
-----END CERTIFICATE-----
-# Issuer: CN=IGC/A O=PM/SGDN OU=DCSSI
-# Subject: CN=IGC/A O=PM/SGDN OU=DCSSI
-# Label: "IGC/A"
-# Serial: 245102874772
-# MD5 Fingerprint: 0c:7f:dd:6a:f4:2a:b9:c8:9b:bd:20:7e:a9:db:5c:37
-# SHA1 Fingerprint: 60:d6:89:74:b5:c2:65:9e:8a:0f:c1:88:7c:88:d2:46:69:1b:18:2c
-# SHA256 Fingerprint: b9:be:a7:86:0a:96:2e:a3:61:1d:ab:97:ab:6d:a3:e2:1c:10:68:b9:7d:55:57:5e:d0:e1:12:79:c1:1c:89:32
------BEGIN CERTIFICATE-----
-MIIEAjCCAuqgAwIBAgIFORFFEJQwDQYJKoZIhvcNAQEFBQAwgYUxCzAJBgNVBAYT
-AkZSMQ8wDQYDVQQIEwZGcmFuY2UxDjAMBgNVBAcTBVBhcmlzMRAwDgYDVQQKEwdQ
-TS9TR0ROMQ4wDAYDVQQLEwVEQ1NTSTEOMAwGA1UEAxMFSUdDL0ExIzAhBgkqhkiG
-9w0BCQEWFGlnY2FAc2dkbi5wbS5nb3V2LmZyMB4XDTAyMTIxMzE0MjkyM1oXDTIw
-MTAxNzE0MjkyMlowgYUxCzAJBgNVBAYTAkZSMQ8wDQYDVQQIEwZGcmFuY2UxDjAM
-BgNVBAcTBVBhcmlzMRAwDgYDVQQKEwdQTS9TR0ROMQ4wDAYDVQQLEwVEQ1NTSTEO
-MAwGA1UEAxMFSUdDL0ExIzAhBgkqhkiG9w0BCQEWFGlnY2FAc2dkbi5wbS5nb3V2
-LmZyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsh/R0GLFMzvABIaI
-s9z4iPf930Pfeo2aSVz2TqrMHLmh6yeJ8kbpO0px1R2OLc/mratjUMdUC24SyZA2
-xtgv2pGqaMVy/hcKshd+ebUyiHDKcMCWSo7kVc0dJ5S/znIq7Fz5cyD+vfcuiWe4
-u0dzEvfRNWk68gq5rv9GQkaiv6GFGvm/5P9JhfejcIYyHF2fYPepraX/z9E0+X1b
-F8bc1g4oa8Ld8fUzaJ1O/Id8NhLWo4DoQw1VYZTqZDdH6nfK0LJYBcNdfrGoRpAx
-Vs5wKpayMLh35nnAvSk7/ZR3TL0gzUEl4C7HG7vupARB0l2tEmqKm0f7yd1GQOGd
-PDPQtQIDAQABo3cwdTAPBgNVHRMBAf8EBTADAQH/MAsGA1UdDwQEAwIBRjAVBgNV
-HSAEDjAMMAoGCCqBegF5AQEBMB0GA1UdDgQWBBSjBS8YYFDCiQrdKyFP/45OqDAx
-NjAfBgNVHSMEGDAWgBSjBS8YYFDCiQrdKyFP/45OqDAxNjANBgkqhkiG9w0BAQUF
-AAOCAQEABdwm2Pp3FURo/C9mOnTgXeQp/wYHE4RKq89toB9RlPhJy3Q2FLwV3duJ
-L92PoF189RLrn544pEfMs5bZvpwlqwN+Mw+VgQ39FuCIvjfwbF3QMZsyK10XZZOY
-YLxuj7GoPB7ZHPOpJkL5ZB3C55L29B5aqhlSXa/oovdgoPaN8In1buAKBQGVyYsg
-Crpa/JosPL3Dt8ldeCUFP1YUmwza+zpI/pdpXsoQhvdOlgQITeywvl3cO45Pwf2a
-NjSaTFR+FwNIlQgRHAdvhQh+XU3Endv7rs6y0bO4g2wdsrN58dhwmX7wEwLOXt1R
-0982gaEbeC9xs/FZTEYYKKuF0mBWWg==
------END CERTIFICATE-----
-
# Issuer: O=SECOM Trust Systems CO.,LTD. OU=Security Communication EV RootCA1
# Subject: O=SECOM Trust Systems CO.,LTD. OU=Security Communication EV RootCA1
# Label: "Security Communication EV RootCA1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/certifi-2016.8.31/certifi.egg-info/PKG-INFO new/certifi-2016.9.26/certifi.egg-info/PKG-INFO
--- old/certifi-2016.8.31/certifi.egg-info/PKG-INFO 2016-08-31 18:25:23.000000000 +0200
+++ new/certifi-2016.9.26/certifi.egg-info/PKG-INFO 2016-09-26 13:50:53.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: certifi
-Version: 2016.8.31
+Version: 2016.9.26
Summary: Python package for providing Mozilla's CA Bundle.
Home-page: http://certifi.io/
Author: Kenneth Reitz
1
0
Hello community,
here is the log from the commit of package mediastreamer2 for openSUSE:Factory checked in at 2016-09-30 15:25:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mediastreamer2 (Old)
and /work/SRC/openSUSE:Factory/.mediastreamer2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mediastreamer2"
Changes:
--------
--- /work/SRC/openSUSE:Factory/mediastreamer2/mediastreamer2.changes 2016-07-28 23:45:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mediastreamer2.new/mediastreamer2.changes 2016-09-30 15:27:11.000000000 +0200
@@ -1,0 +2,18 @@
+Thu Sep 29 20:32:53 UTC 2016 - sor.alexei(a)meowr.ru
+
+- Add mediastreamer2-bctoolbox-pkgconfig.patch: Add bctoolbox
+ dependency to mediastreamer.pc.
+
+-------------------------------------------------------------------
+Mon Sep 12 12:32:34 UTC 2016 - sor.alexei(a)meowr.ru
+
+- Update to version 2.14.0 (changes since 2.12.1):
+ * Add support of the H.264 hardware codec on Apple's platforms.
+ * MSFactory usage: Using one MSfactory per LinphoneCore instance,
+ deprecate all "static" methods, now grouped around the
+ MSFactory object.
+ * Add BroadVoice16 audio codec support.
+ * Fix option to really disable libv4l2 when asked.
+ * Bugfixes.
+
+-------------------------------------------------------------------
Old:
----
mediastreamer-2.12.1.tar.gz
mediastreamer-2.12.1.tar.gz.sig
mediastreamer2.keyring
New:
----
mediastreamer-2.14.0.tar.gz
mediastreamer2-bctoolbox-pkgconfig.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mediastreamer2.spec ++++++
--- /var/tmp/diff_new_pack.t2yo54/_old 2016-09-30 15:27:13.000000000 +0200
+++ /var/tmp/diff_new_pack.t2yo54/_new 2016-09-30 15:27:13.000000000 +0200
@@ -19,19 +19,22 @@
%define _name mediastreamer
%define sobase libmediastreamer_base
%define sovoip libmediastreamer_voip
-%define sover 6
+%define sover 7
%bcond_without ffmpeg
Name: mediastreamer2
-Version: 2.12.1
+Version: 2.14.0
Release: 0
Summary: Audio/Video real-time streaming
License: GPL-2.0+
Group: Productivity/Telephony/Utilities
-Url: http://linphone.org/eng/documentation/dev/mediastreamer2.html
-Source: http://download.savannah.gnu.org/releases/linphone/%{_name}/%{_name}-%{vers…
-Source1: http://download.savannah.gnu.org/releases/linphone/%{_name}/%{_name}-%{vers…
-Source2: %{name}.keyring
+Url: https://www.linphone.org/technical-corner/mediastreamer2/overview
+Source: https://linphone.org/releases/sources/%{_name}/%{_name}-%{version}.tar.gz
Source99: baselibs.conf
+# PATCH-FIX-OPENSUSE mediastreamer2-bctoolbox-pkgconfig.patch sor.alexei(a)meowr.ru -- Add bctoolbox dependency to mediastreamer.pc.
+Patch0: mediastreamer2-bctoolbox-pkgconfig.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gawk
BuildRequires: gcc-c++
BuildRequires: intltool
BuildRequires: libgsm-devel
@@ -40,18 +43,18 @@
BuildRequires: libtool
BuildRequires: libv4l-devel
BuildRequires: libvpx-devel
-BuildRequires: mbedtls-devel
BuildRequires: pkgconfig
BuildRequires: spandsp-devel
BuildRequires: vim
BuildRequires: pkgconfig(alsa)
-BuildRequires: pkgconfig(libbzrtp)
+BuildRequires: pkgconfig(bctoolbox)
+BuildRequires: pkgconfig(libbzrtp) >= 1.0.4
BuildRequires: pkgconfig(libebml)
BuildRequires: pkgconfig(libmatroska)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libupnp)
BuildRequires: pkgconfig(opus)
-BuildRequires: pkgconfig(ortp) >= 0.24.1
+BuildRequires: pkgconfig(ortp) >= 0.27.0
BuildRequires: pkgconfig(speex)
BuildRequires: pkgconfig(speexdsp)
BuildRequires: pkgconfig(theora)
@@ -107,8 +110,10 @@
%prep
%setup -q -n %{_name}-%{version}
+%patch0 -p1
%build
+NOCONFIGURE=1 ./autogen.sh
%configure \
--enable-external-ortp \
--enable-zrtp \
@@ -118,7 +123,7 @@
%endif
--disable-strict \
--disable-static
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
%install
%make_install
@@ -157,6 +162,6 @@
%defattr(-,root,root)
%{_includedir}/mediastreamer2/
%{_libdir}/libmediastreamer_*.so
-%{_libdir}/pkgconfig/*.pc
+%{_libdir}/pkgconfig/mediastreamer.pc
%changelog
++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.t2yo54/_old 2016-09-30 15:27:13.000000000 +0200
+++ /var/tmp/diff_new_pack.t2yo54/_new 2016-09-30 15:27:13.000000000 +0200
@@ -1,2 +1,2 @@
-libmediastreamer_base6
-libmediastreamer_voip6
+libmediastreamer_base7
+libmediastreamer_voip7
++++++ mediastreamer-2.12.1.tar.gz -> mediastreamer-2.14.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/mediastreamer2/mediastreamer-2.12.1.tar.gz /work/SRC/openSUSE:Factory/.mediastreamer2.new/mediastreamer-2.14.0.tar.gz differ: char 5, line 1
++++++ mediastreamer2-bctoolbox-pkgconfig.patch ++++++
--- a/mediastreamer.pc.in
+++ b/mediastreamer.pc.in
@@ -5,7 +5,7 @@ includedir=@includedir@
Name: mediastreamer
Description: A mediastreaming library for telephony applications
-Requires: ortp
+Requires: bctoolbox ortp
Version: @MEDIASTREAMER_VERSION@
Libs: -L@libdir@ -lmediastreamer_base -lmediastreamer_voip
Cflags: -I@includedir@ @MS_PUBLIC_CFLAGS@
1
0
Hello community,
here is the log from the commit of package ntp for openSUSE:Factory checked in at 2016-09-30 15:25:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ntp (Old)
and /work/SRC/openSUSE:Factory/.ntp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ntp"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ntp/ntp.changes 2016-09-08 21:55:35.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ntp.new/ntp.changes 2016-09-30 15:26:58.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Aug 25 07:22:49 UTC 2016 - josef.moellers(a)suse.com
+
+- Make the resolver task change user and group IDs to the same
+ values as the main task. (bnc#988028, ntp-usrgrp-resolver.patch)
+
+-------------------------------------------------------------------
New:
----
ntp-usrgrp-resolver.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ntp.spec ++++++
--- /var/tmp/diff_new_pack.16ven8/_old 2016-09-30 15:27:00.000000000 +0200
+++ /var/tmp/diff_new_pack.16ven8/_new 2016-09-30 15:27:00.000000000 +0200
@@ -57,6 +57,7 @@
Patch22: ntp-sigchld.patch
Patch23: ntp-processname.patch
Patch24: ntp-daemonize.patch
+Patch25: ntp-usrgrp-resolver.patch
BuildRequires: autoconf
BuildRequires: avahi-compat-mDNSResponder-devel
@@ -130,6 +131,7 @@
%patch22 -p1
%patch23
%patch24
+%patch25 -p1
# fix DOS line breaks
sed -i 's/\r//g' html/scripts/{footer.txt,style.css}
++++++ ntp-daemonize.patch ++++++
--- /var/tmp/diff_new_pack.16ven8/_old 2016-09-30 15:27:00.000000000 +0200
+++ /var/tmp/diff_new_pack.16ven8/_new 2016-09-30 15:27:00.000000000 +0200
@@ -1,3 +1,5 @@
+Index: ntpd/ntpd.c
+===================================================================
--- ntpd/ntpd.c.orig
+++ ntpd/ntpd.c
@@ -690,16 +690,17 @@ ntpdmain(
++++++ ntp-usrgrp-resolver.patch ++++++
Index: ntp-4.2.8p8/ntpd/ntpd.c
===================================================================
--- ntp-4.2.8p8.orig/ntpd/ntpd.c
+++ ntp-4.2.8p8/ntpd/ntpd.c
@@ -182,7 +182,6 @@ char *group; /* group to switch to */
const char *chrootdir; /* directory to chroot to */
uid_t sw_uid;
gid_t sw_gid;
-char *endp;
struct group *gr;
struct passwd *pw;
#endif /* HAVE_DROPROOT */
@@ -518,6 +517,217 @@ set_process_priority(void)
}
#endif /* !SIM */
+#ifndef SIM
+/*
+ * Detach from terminal (much like daemon())
+ * Nothe that this function calls exit()
+ */
+static void
+detach_from_terminal(
+ int pipe_fds[2],
+ long wait_sync,
+ const char *logfilename
+ )
+{
+ int rc;
+ int exit_code;
+# if !defined(HAVE_SETSID) && !defined (HAVE_SETPGID) && defined(TIOCNOTTY)
+ int fid;
+# endif
+# ifdef _AIX
+ struct sigaction sa;
+# endif
+
+ rc = fork();
+ if (-1 == rc) {
+ exit_code = (errno) ? errno : -1;
+ msyslog(LOG_ERR, "fork: %m");
+ exit(exit_code);
+ }
+ if (rc > 0) {
+ /* parent */
+ exit_code = wait_child_sync_if(pipe_fds[0],
+ wait_sync);
+ exit(exit_code);
+ }
+
+ /*
+ * child/daemon
+ * close all open files excepting waitsync_fd_to_close.
+ * msyslog() unreliable until after init_logging().
+ */
+ closelog();
+ if (syslog_file != NULL) {
+ fclose(syslog_file);
+ syslog_file = NULL;
+ syslogit = TRUE;
+ }
+ close_all_except(waitsync_fd_to_close);
+ INSIST(0 == open("/dev/null", 0) && 1 == dup2(0, 1) \
+ && 2 == dup2(0, 2));
+
+ init_logging(progname, 0, TRUE);
+ /* we lost our logfile (if any) daemonizing */
+ setup_logfile(logfilename);
+
+# ifdef SYS_DOMAINOS
+ {
+ uid_$t puid;
+ status_$t st;
+
+ proc2_$who_am_i(&puid);
+ proc2_$make_server(&puid, &st);
+ }
+# endif /* SYS_DOMAINOS */
+# ifdef HAVE_SETSID
+ if (setsid() == (pid_t)-1)
+ msyslog(LOG_ERR, "setsid(): %m");
+# elif defined(HAVE_SETPGID)
+ if (setpgid(0, 0) == -1)
+ msyslog(LOG_ERR, "setpgid(): %m");
+# else /* !HAVE_SETSID && !HAVE_SETPGID follows */
+# ifdef TIOCNOTTY
+ fid = open("/dev/tty", 2);
+ if (fid >= 0) {
+ ioctl(fid, (u_long)TIOCNOTTY, NULL);
+ close(fid);
+ }
+# endif /* TIOCNOTTY */
+ ntp_setpgrp(0, getpid());
+# endif /* !HAVE_SETSID && !HAVE_SETPGID */
+# ifdef _AIX
+ /* Don't get killed by low-on-memory signal. */
+ sa.sa_handler = catch_danger;
+ sigemptyset(&sa.sa_mask);
+ sa.sa_flags = SA_RESTART;
+ sigaction(SIGDANGER, &sa, NULL);
+# endif /* _AIX */
+
+ return;
+}
+
+/*
+ * Map user name/number to user ID
+*/
+static int
+map_user(
+ )
+{
+ char *endp;
+
+ if (isdigit((unsigned char)*user)) {
+ sw_uid = (uid_t)strtoul(user, &endp, 0);
+ if (*endp != '\0')
+ goto getuser;
+
+ if ((pw = getpwuid(sw_uid)) != NULL) {
+ free(user);
+ user = estrdup(pw->pw_name);
+ sw_gid = pw->pw_gid;
+ } else {
+ errno = 0;
+ msyslog(LOG_ERR, "Cannot find user ID %s", user);
+ return 0;
+ }
+
+ } else {
+getuser:
+ errno = 0;
+ if ((pw = getpwnam(user)) != NULL) {
+ sw_uid = pw->pw_uid;
+ sw_gid = pw->pw_gid;
+ } else {
+ if (errno)
+ msyslog(LOG_ERR, "getpwnam(%s) failed: %m", user);
+ else
+ msyslog(LOG_ERR, "Cannot find user `%s'", user);
+ return 0;
+ }
+ }
+
+ return 1;
+}
+
+/*
+ * Map group name/number to group ID
+*/
+static int
+map_group(
+ )
+{
+ char *endp;
+
+ if (isdigit((unsigned char)*group)) {
+ sw_gid = (gid_t)strtoul(group, &endp, 0);
+ if (*endp != '\0')
+ goto getgroup;
+ } else {
+getgroup:
+ if ((gr = getgrnam(group)) != NULL) {
+ sw_gid = gr->gr_gid;
+ } else {
+ errno = 0;
+ msyslog(LOG_ERR, "Cannot find group `%s'", group);
+ return 0;
+ }
+ }
+
+ return 1;
+}
+
+/*
+ * Change (effective) user and group IDs, also initialize the supplementary group access list
+ */
+int
+set_user_group_ids(
+ )
+{
+ /* If the the user was already mapped, no need to map it again */
+ if ((NULL != user) && (0 == sw_uid)) {
+ if (0 == map_user())
+ exit (-1);
+ }
+ /* same applies for the group */
+ if ((NULL != group) && (0 == sw_gid)) {
+ if (0 == map_group())
+ exit (-1);
+ }
+
+ if (user && initgroups(user, sw_gid)) {
+ msyslog(LOG_ERR, "Cannot initgroups() to user `%s': %m", user);
+ return 0;
+ }
+ if (group && setgid(sw_gid)) {
+ msyslog(LOG_ERR, "Cannot setgid() to group `%s': %m", group);
+ return 0;
+ }
+ if (group && setegid(sw_gid)) {
+ msyslog(LOG_ERR, "Cannot setegid() to group `%s': %m", group);
+ return 0;
+ }
+ if (group) {
+ if (0 != setgroups(1, &sw_gid)) {
+ msyslog(LOG_ERR, "setgroups(1, %d) failed: %m", sw_gid);
+ return 0;
+ }
+ }
+ else if (pw)
+ if (0 != initgroups(pw->pw_name, pw->pw_gid)) {
+ msyslog(LOG_ERR, "initgroups(<%s>, %d) filed: %m", pw->pw_name, pw->pw_gid);
+ return 0;
+ }
+ if (user && setuid(sw_uid)) {
+ msyslog(LOG_ERR, "Cannot setuid() to user `%s': %m", user);
+ return 0;
+ }
+ if (user && seteuid(sw_uid)) {
+ msyslog(LOG_ERR, "Cannot seteuid() to user `%s': %m", user);
+ return 0;
+ }
+
+ return 1;
+}
+#endif /* !SIM */
/*
* Main program. Initialize us, disconnect us from the tty if necessary,
@@ -544,12 +754,6 @@ ntpdmain(
int pipe_fds[2];
int rc;
int exit_code;
-# ifdef _AIX
- struct sigaction sa;
-# endif
-# if !defined(HAVE_SETSID) && !defined (HAVE_SETPGID) && defined(TIOCNOTTY)
- int fid;
-# endif
# endif /* HAVE_WORKING_FORK*/
# ifdef SCO5_CLOCK
int fd;
@@ -732,70 +936,7 @@ ntpdmain(
if (!nofork) {
# ifdef HAVE_WORKING_FORK
- rc = fork();
- if (-1 == rc) {
- exit_code = (errno) ? errno : -1;
- msyslog(LOG_ERR, "fork: %m");
- exit(exit_code);
- }
- if (rc > 0) {
- /* parent */
- exit_code = wait_child_sync_if(pipe_fds[0],
- wait_sync);
- exit(exit_code);
- }
-
- /*
- * child/daemon
- * close all open files excepting waitsync_fd_to_close.
- * msyslog() unreliable until after init_logging().
- */
- closelog();
- if (syslog_file != NULL) {
- fclose(syslog_file);
- syslog_file = NULL;
- syslogit = TRUE;
- }
- close_all_except(waitsync_fd_to_close);
- INSIST(0 == open("/dev/null", 0) && 1 == dup2(0, 1) \
- && 2 == dup2(0, 2));
-
- init_logging(progname, 0, TRUE);
- /* we lost our logfile (if any) daemonizing */
- setup_logfile(logfilename);
-
-# ifdef SYS_DOMAINOS
- {
- uid_$t puid;
- status_$t st;
-
- proc2_$who_am_i(&puid);
- proc2_$make_server(&puid, &st);
- }
-# endif /* SYS_DOMAINOS */
-# ifdef HAVE_SETSID
- if (setsid() == (pid_t)-1)
- msyslog(LOG_ERR, "setsid(): %m");
-# elif defined(HAVE_SETPGID)
- if (setpgid(0, 0) == -1)
- msyslog(LOG_ERR, "setpgid(): %m");
-# else /* !HAVE_SETSID && !HAVE_SETPGID follows */
-# ifdef TIOCNOTTY
- fid = open("/dev/tty", 2);
- if (fid >= 0) {
- ioctl(fid, (u_long)TIOCNOTTY, NULL);
- close(fid);
- }
-# endif /* TIOCNOTTY */
- ntp_setpgrp(0, getpid());
-# endif /* !HAVE_SETSID && !HAVE_SETPGID */
-# ifdef _AIX
- /* Don't get killed by low-on-memory signal. */
- sa.sa_handler = catch_danger;
- sigemptyset(&sa.sa_mask);
- sa.sa_flags = SA_RESTART;
- sigaction(SIGDANGER, &sa, NULL);
-# endif /* _AIX */
+ detach_from_terminal(pipe_fds, wait_sync, logfilename);
# endif /* HAVE_WORKING_FORK */
}
@@ -968,51 +1109,12 @@ ntpdmain(
# endif /* HAVE_LINUX_CAPABILITIES || HAVE_SOLARIS_PRIVS */
if (user != NULL) {
- if (isdigit((unsigned char)*user)) {
- sw_uid = (uid_t)strtoul(user, &endp, 0);
- if (*endp != '\0')
- goto getuser;
-
- if ((pw = getpwuid(sw_uid)) != NULL) {
- free(user);
- user = estrdup(pw->pw_name);
- sw_gid = pw->pw_gid;
- } else {
- errno = 0;
- msyslog(LOG_ERR, "Cannot find user ID %s", user);
- exit (-1);
- }
-
- } else {
-getuser:
- errno = 0;
- if ((pw = getpwnam(user)) != NULL) {
- sw_uid = pw->pw_uid;
- sw_gid = pw->pw_gid;
- } else {
- if (errno)
- msyslog(LOG_ERR, "getpwnam(%s) failed: %m", user);
- else
- msyslog(LOG_ERR, "Cannot find user `%s'", user);
- exit (-1);
- }
- }
+ if (0 == map_user())
+ exit (-1);
}
if (group != NULL) {
- if (isdigit((unsigned char)*group)) {
- sw_gid = (gid_t)strtoul(group, &endp, 0);
- if (*endp != '\0')
- goto getgroup;
- } else {
-getgroup:
- if ((gr = getgrnam(group)) != NULL) {
- sw_gid = gr->gr_gid;
- } else {
- errno = 0;
- msyslog(LOG_ERR, "Cannot find group `%s'", group);
- exit (-1);
- }
- }
+ if (0 == map_group())
+ exit (-1);
}
if (chrootdir ) {
@@ -1046,37 +1148,8 @@ getgroup:
exit(-1);
}
# endif /* HAVE_SOLARIS_PRIVS */
- if (user && initgroups(user, sw_gid)) {
- msyslog(LOG_ERR, "Cannot initgroups() to user `%s': %m", user);
- exit (-1);
- }
- if (group && setgid(sw_gid)) {
- msyslog(LOG_ERR, "Cannot setgid() to group `%s': %m", group);
- exit (-1);
- }
- if (group && setegid(sw_gid)) {
- msyslog(LOG_ERR, "Cannot setegid() to group `%s': %m", group);
- exit (-1);
- }
- if (group) {
- if (0 != setgroups(1, &sw_gid)) {
- msyslog(LOG_ERR, "setgroups(1, %d) failed: %m", sw_gid);
- exit (-1);
- }
- }
- else if (pw)
- if (0 != initgroups(pw->pw_name, pw->pw_gid)) {
- msyslog(LOG_ERR, "initgroups(<%s>, %d) filed: %m", pw->pw_name, pw->pw_gid);
- exit (-1);
- }
- if (user && setuid(sw_uid)) {
- msyslog(LOG_ERR, "Cannot setuid() to user `%s': %m", user);
- exit (-1);
- }
- if (user && seteuid(sw_uid)) {
- msyslog(LOG_ERR, "Cannot seteuid() to user `%s': %m", user);
- exit (-1);
- }
+ if (0 == set_user_group_ids())
+ exit(-1);
# if !defined(HAVE_LINUX_CAPABILITIES) && !defined(HAVE_SOLARIS_PRIVS)
/*
Index: ntp-4.2.8p8/libntp/work_fork.c
===================================================================
--- ntp-4.2.8p8.orig/libntp/work_fork.c
+++ ntp-4.2.8p8/libntp/work_fork.c
@@ -33,6 +33,9 @@ static RETSIGTYPE worker_sighup(int);
static void send_worker_home_atexit(void);
static void cleanup_after_child(blocking_child *);
+# pragma weak set_user_group_ids
+void set_user_group_ids(void);
+
/* === functions === */
/*
* exit_worker()
@@ -549,6 +552,9 @@ fork_blocking_child(
init_logging("ntp_intres", 0, FALSE);
setup_logfile(NULL);
+ if (NULL != &set_user_group_ids)
+ set_user_group_ids();
+
/*
* And now back to the portable code
*/
1
0
Hello community,
here is the log from the commit of package wayland for openSUSE:Factory checked in at 2016-09-30 15:25:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wayland (Old)
and /work/SRC/openSUSE:Factory/.wayland.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wayland"
Changes:
--------
--- /work/SRC/openSUSE:Factory/wayland/wayland.changes 2016-06-09 15:55:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.wayland.new/wayland.changes 2016-09-30 15:25:21.000000000 +0200
@@ -1,0 +2,18 @@
+Wed Sep 21 05:11:07 UTC 2016 - jengelh(a)inai.de
+
+- Update to new upstream release 1.12.0
+* The core protocol documentation has received numerous
+ refinements to improve its clarity and consistency. Along with
+ this, many blank areas of the protocol documentation have been
+ fleshed out.
+* A new wl_display_add_protocol logger API provides a new
+ interactive way to debug requests; along with this are new APIs
+ for examining clients and their resources. This is analogous to
+ using WAYLAND_DEBUG=1, but more powerful since it allows run
+ time review of log data such as through a UI view.
+* There have been improvements to how the protocol XML scanner
+ handles version identification in protocol headers. This
+ enables better detection and fallback handling when compositors
+ and clients support differing versions of their protocols.
+
+-------------------------------------------------------------------
Old:
----
wayland-1.11.0.tar.xz
wayland-1.11.0.tar.xz.sig
New:
----
wayland-1.12.0.tar.xz
wayland-1.12.0.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wayland.spec ++++++
--- /var/tmp/diff_new_pack.owu5B0/_old 2016-09-30 15:26:57.000000000 +0200
+++ /var/tmp/diff_new_pack.owu5B0/_new 2016-09-30 15:26:57.000000000 +0200
@@ -18,7 +18,7 @@
%define lname libwayland0
Name: wayland
-Version: 1.11.0
+Version: 1.12.0
Release: 0
Summary: Wayland Compositor Infrastructure
License: MIT
++++++ wayland-1.11.0.tar.xz -> wayland-1.12.0.tar.xz ++++++
++++ 3435 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python3-setuptools for openSUSE:Factory checked in at 2016-09-30 15:25:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-setuptools (Old)
and /work/SRC/openSUSE:Factory/.python3-setuptools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-setuptools"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-setuptools/python3-setuptools.changes 2016-09-23 11:24:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-setuptools.new/python3-setuptools.changes 2016-09-30 15:25:09.000000000 +0200
@@ -1,0 +2,13 @@
+Wed Sep 28 04:45:54 UTC 2016 - arun(a)gmx.de
+
+- update to version 28.0.0:
+ * #733: Do not search excluded directories for packages. This
+ introduced a backwards incompatible change in find_packages() so
+ that find_packages(exclude=['foo']) == [], excluding subpackages
+ of foo. Previously, find_packages(exclude=['foo']) ==
+ ['foo.bar'], even though the parent foo package was excluded.
+ * #795: Bump certifi.
+ * #719: Suppress decoding errors and instead log a warning when
+ metadata cannot be decoded.
+
+-------------------------------------------------------------------
Old:
----
setuptools-27.3.0.tar.gz
New:
----
setuptools-28.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.Bz7Pn1/_old 2016-09-30 15:25:10.000000000 +0200
+++ /var/tmp/diff_new_pack.Bz7Pn1/_new 2016-09-30 15:25:10.000000000 +0200
@@ -17,7 +17,7 @@
Name: python3-setuptools
-Version: 27.3.0
+Version: 28.0.0
Release: 0
Url: http://pypi.python.org/pypi/setuptools
Summary: Easily download, build, install, upgrade, and uninstall Python packages
++++++ setuptools-27.3.0.tar.gz -> setuptools-28.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/CHANGES.rst new/setuptools-28.0.0/CHANGES.rst
--- old/setuptools-27.3.0/CHANGES.rst 2016-09-21 03:22:50.000000000 +0200
+++ new/setuptools-28.0.0/CHANGES.rst 2016-09-27 21:53:44.000000000 +0200
@@ -2,6 +2,29 @@
CHANGES
=======
+v28.0.0
+-------
+
+* #733: Do not search excluded directories for packages.
+ This introduced a backwards incompatible change in ``find_packages()``
+ so that ``find_packages(exclude=['foo']) == []``, excluding subpackages of ``foo``.
+ Previously, ``find_packages(exclude=['foo']) == ['foo.bar']``,
+ even though the parent ``foo`` package was excluded.
+
+* #795: Bump certifi.
+
+* #719: Suppress decoding errors and instead log a warning
+ when metadata cannot be decoded.
+
+v27.3.1
+-------
+
+* #790: In MSVC monkeypatching, explicitly patch each
+ function by name in the target module instead of inferring
+ the module from the function's ``__module__``. Improves
+ compatibility with other packages that might have previously
+ patched distutils functions (i.e. NumPy).
+
v27.3.0
-------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/PKG-INFO new/setuptools-28.0.0/PKG-INFO
--- old/setuptools-27.3.0/PKG-INFO 2016-09-21 03:23:11.000000000 +0200
+++ new/setuptools-28.0.0/PKG-INFO 2016-09-27 21:54:06.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: setuptools
-Version: 27.3.0
+Version: 28.0.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/pkg_resources/__init__.py new/setuptools-28.0.0/pkg_resources/__init__.py
--- old/setuptools-27.3.0/pkg_resources/__init__.py 2016-09-21 03:22:50.000000000 +0200
+++ new/setuptools-28.0.0/pkg_resources/__init__.py 2016-09-27 21:53:44.000000000 +0200
@@ -1,3 +1,5 @@
+# coding: utf-8
+
"""
Package resource API
--------------------
@@ -1857,17 +1859,21 @@
return name == 'PKG-INFO' and os.path.isfile(self.path)
def get_metadata(self, name):
- if name == 'PKG-INFO':
- with io.open(self.path, encoding='utf-8') as f:
- try:
- metadata = f.read()
- except UnicodeDecodeError as exc:
- # add path context to error message
- tmpl = " in {self.path}"
- exc.reason += tmpl.format(self=self)
- raise
- return metadata
- raise KeyError("No metadata except PKG-INFO is available")
+ if name != 'PKG-INFO':
+ raise KeyError("No metadata except PKG-INFO is available")
+
+ with io.open(self.path, encoding='utf-8', errors="replace") as f:
+ metadata = f.read()
+ self._warn_on_replacement(metadata)
+ return metadata
+
+ def _warn_on_replacement(self, metadata):
+ # Python 2.6 and 3.2 compat for: replacement_char = '�'
+ replacement_char = b'\xef\xbf\xbd'.decode('utf-8')
+ if replacement_char in metadata:
+ tmpl = "{self.path} could not be properly decoded in UTF-8"
+ msg = tmpl.format(**locals())
+ warnings.warn(msg)
def get_metadata_lines(self, name):
return yield_lines(self.get_metadata(name))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/setup.cfg new/setuptools-28.0.0/setup.cfg
--- old/setuptools-27.3.0/setup.cfg 2016-09-21 03:23:11.000000000 +0200
+++ new/setuptools-28.0.0/setup.cfg 2016-09-27 21:54:06.000000000 +0200
@@ -1,5 +1,5 @@
[bumpversion]
-current_version = 27.3.0
+current_version = 28.0.0
commit = True
tag = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/setup.py new/setuptools-28.0.0/setup.py
--- old/setuptools-27.3.0/setup.py 2016-09-21 03:22:50.000000000 +0200
+++ new/setuptools-28.0.0/setup.py 2016-09-27 21:53:44.000000000 +0200
@@ -88,7 +88,7 @@
setup_params = dict(
name="setuptools",
- version="27.3.0",
+ version="28.0.0",
description="Easily download, build, install, upgrade, and uninstall "
"Python packages",
author="Python Packaging Authority",
@@ -167,11 +167,11 @@
""").strip().splitlines(),
extras_require={
"ssl:sys_platform=='win32'": "wincertstore==0.2",
- "certs": "certifi==2016.8.8",
+ "certs": "certifi==2016.8.31",
},
dependency_links=[
pypi_link(
- 'certifi-2016.8.8.tar.gz#md5=b57513f7670482da45bb350b792f659e',
+ 'certifi-2016.8.31.tar.gz#md5=2f22d484a36d38d98be74f9eeb2846ec',
),
pypi_link(
'wincertstore-0.2.zip#md5=ae728f2f007185648d0c7a8679b361e2',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/setuptools/__init__.py new/setuptools-28.0.0/setuptools/__init__.py
--- old/setuptools-27.3.0/setuptools/__init__.py 2016-09-21 03:22:50.000000000 +0200
+++ new/setuptools-28.0.0/setuptools/__init__.py 2016-09-27 21:53:44.000000000 +0200
@@ -7,7 +7,7 @@
from distutils.util import convert_path
from fnmatch import fnmatchcase
-from setuptools.extern.six.moves import filterfalse, map
+from setuptools.extern.six.moves import filter, filterfalse, map
import setuptools.version
from setuptools.extension import Extension
@@ -32,13 +32,18 @@
class PackageFinder(object):
+ """
+ Generate a list of all Python packages found within a directory
+ """
@classmethod
def find(cls, where='.', exclude=(), include=('*',)):
"""Return a list all Python packages found within directory 'where'
- 'where' should be supplied as a "cross-platform" (i.e. URL-style)
- path; it will be converted to the appropriate local path syntax.
+ 'where' is the root directory which will be searched for packages. It
+ should be supplied as a "cross-platform" (i.e. URL-style) path; it will
+ be converted to the appropriate local path syntax.
+
'exclude' is a sequence of package names to exclude; '*' can be used
as a wildcard in the names, such that 'foo.*' will exclude all
subpackages of 'foo' (but not 'foo' itself).
@@ -47,65 +52,47 @@
specified, only the named packages will be included. If it's not
specified, all found packages will be included. 'include' can contain
shell style wildcard patterns just like 'exclude'.
-
- The list of included packages is built up first and then any
- explicitly excluded packages are removed from it.
- """
- out = cls._find_packages_iter(convert_path(where))
- out = cls.require_parents(out)
- includes = cls._build_filter(*include)
- excludes = cls._build_filter('ez_setup', '*__pycache__', *exclude)
- out = filter(includes, out)
- out = filterfalse(excludes, out)
- return list(out)
-
- @staticmethod
- def require_parents(packages):
"""
- Exclude any apparent package that apparently doesn't include its
- parent.
- For example, exclude 'foo.bar' if 'foo' is not present.
- """
- found = []
- for pkg in packages:
- base, sep, child = pkg.rpartition('.')
- if base and base not in found:
- continue
- found.append(pkg)
- yield pkg
+ return list(cls._find_packages_iter(
+ convert_path(where),
+ cls._build_filter('ez_setup', '*__pycache__', *exclude),
+ cls._build_filter(*include)))
- @staticmethod
- def _candidate_dirs(base_path):
+ @classmethod
+ def _find_packages_iter(cls, where, exclude, include):
"""
- Return all dirs in base_path that might be packages.
+ All the packages found in 'where' that pass the 'include' filter, but
+ not the 'exclude' filter.
"""
- has_dot = lambda name: '.' in name
- for root, dirs, files in os.walk(base_path, followlinks=True):
- # Exclude directories that contain a period, as they cannot be
- # packages. Mutate the list to avoid traversal.
- dirs[:] = filterfalse(has_dot, dirs)
- for dir in dirs:
- yield os.path.relpath(os.path.join(root, dir), base_path)
-
- @classmethod
- def _find_packages_iter(cls, base_path):
- candidates = cls._candidate_dirs(base_path)
- return (
- path.replace(os.path.sep, '.')
- for path in candidates
- if cls._looks_like_package(os.path.join(base_path, path))
- )
+ for root, dirs, files in os.walk(where, followlinks=True):
+ # Copy dirs to iterate over it, then empty dirs.
+ all_dirs = dirs[:]
+ dirs[:] = []
+
+ for dir in all_dirs:
+ full_path = os.path.join(root, dir)
+ rel_path = os.path.relpath(full_path, where)
+ package = rel_path.replace(os.path.sep, '.')
+
+ # Check if the directory is a package and passes the filters
+ if ('.' not in dir
+ and include(package)
+ and not exclude(package)
+ and cls._looks_like_package(full_path)):
+ yield package
+ dirs.append(dir)
@staticmethod
def _looks_like_package(path):
+ """Does a directory look like a package?"""
return os.path.isfile(os.path.join(path, '__init__.py'))
@staticmethod
def _build_filter(*patterns):
"""
Given a list of patterns, return a callable that will be true only if
- the input matches one of the patterns.
+ the input matches at least one of the patterns.
"""
return lambda name: any(fnmatchcase(name, pat=pat) for pat in patterns)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/setuptools/monkey.py new/setuptools-28.0.0/setuptools/monkey.py
--- old/setuptools-27.3.0/setuptools/monkey.py 2016-09-21 03:22:50.000000000 +0200
+++ new/setuptools-28.0.0/setuptools/monkey.py 2016-09-27 21:53:44.000000000 +0200
@@ -6,6 +6,7 @@
import distutils.filelist
import platform
import types
+import functools
from .py26compat import import_module
from setuptools.extern import six
@@ -115,16 +116,21 @@
)
-def patch_func(replacement, original):
- # first set the 'unpatched' attribute on the replacement to
+def patch_func(replacement, target_mod, func_name):
+ """
+ Patch func_name in target_mod with replacement
+
+ Important - original must be resolved by name to avoid
+ patching an already patched function.
+ """
+ original = getattr(target_mod, func_name)
+
+ # set the 'unpatched' attribute on the replacement to
# point to the original.
vars(replacement).setdefault('unpatched', original)
- # next resolve the module in which the original func resides
- target_mod = import_module(original.__module__)
-
- # finally replace the function in the original module
- setattr(target_mod, original.__name__, replacement)
+ # replace the function in the original module
+ setattr(target_mod, func_name, replacement)
def get_unpatched_function(candidate):
@@ -139,37 +145,43 @@
# import late to avoid circular imports on Python < 3.5
msvc = import_module('setuptools.msvc')
- try:
- # Distutil file for MSVC++ 9.0 and upper (Python 2.7 to 3.4)
- import distutils.msvc9compiler as msvc9compiler
- except ImportError:
- pass
-
- try:
- # Distutil file for MSVC++ 14.0 and upper (Python 3.5+)
- import distutils._msvccompiler as msvc14compiler
- except ImportError:
- pass
-
if platform.system() != 'Windows':
# Compilers only availables on Microsoft Windows
return
+ def patch_params(mod_name, func_name):
+ """
+ Prepare the parameters for patch_func to patch indicated function.
+ """
+ repl_prefix = 'msvc9_' if 'msvc9' in mod_name else 'msvc14_'
+ repl_name = repl_prefix + func_name.lstrip('_')
+ repl = getattr(msvc, repl_name)
+ mod = import_module(mod_name)
+ if not hasattr(mod, func_name):
+ raise ImportError(func_name)
+ return repl, mod, func_name
+
+ # Python 2.7 to 3.4
+ msvc9 = functools.partial(patch_params, 'distutils.msvc9compiler')
+
+ # Python 3.5+
+ msvc14 = functools.partial(patch_params, 'distutils._msvccompiler')
+
try:
# Patch distutils.msvc9compiler
- patch_func(msvc.msvc9_find_vcvarsall, msvc9compiler.find_vcvarsall)
- patch_func(msvc.msvc9_query_vcvarsall, msvc9compiler.query_vcvarsall)
- except NameError:
+ patch_func(*msvc9('find_vcvarsall'))
+ patch_func(*msvc9('query_vcvarsall'))
+ except ImportError:
pass
try:
# Patch distutils._msvccompiler._get_vc_env
- patch_func(msvc.msvc14_get_vc_env, msvc14compiler._get_vc_env)
- except NameError:
+ patch_func(*msvc14('_get_vc_env'))
+ except ImportError:
pass
try:
# Patch distutils._msvccompiler.gen_lib_options for Numpy
- patch_func(msvc.msvc14_gen_lib_options, msvc14compiler.gen_lib_options)
- except NameError:
+ patch_func(*msvc14('gen_lib_options'))
+ except ImportError:
pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/setuptools/tests/test_find_packages.py new/setuptools-28.0.0/setuptools/tests/test_find_packages.py
--- old/setuptools-27.3.0/setuptools/tests/test_find_packages.py 2016-09-21 03:22:50.000000000 +0200
+++ new/setuptools-28.0.0/setuptools/tests/test_find_packages.py 2016-09-27 21:53:44.000000000 +0200
@@ -98,6 +98,15 @@
packages = find_packages(self.dist_dir, exclude=('pkg.*',))
assert packages == ['pkg']
+ def test_exclude_recursive(self):
+ """
+ Excluding a parent package should exclude all child packages as well.
+ """
+ self._touch('__init__.py', self.pkg_dir)
+ self._touch('__init__.py', self.sub_pkg_dir)
+ packages = find_packages(self.dist_dir, exclude=('pkg',))
+ assert packages == []
+
def test_include_excludes_other(self):
"""
If include is specified, other packages should be excluded.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/setuptools.egg-info/PKG-INFO new/setuptools-28.0.0/setuptools.egg-info/PKG-INFO
--- old/setuptools-27.3.0/setuptools.egg-info/PKG-INFO 2016-09-21 03:23:11.000000000 +0200
+++ new/setuptools-28.0.0/setuptools.egg-info/PKG-INFO 2016-09-27 21:54:05.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: setuptools
-Version: 27.3.0
+Version: 28.0.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/setuptools.egg-info/dependency_links.txt new/setuptools-28.0.0/setuptools.egg-info/dependency_links.txt
--- old/setuptools-27.3.0/setuptools.egg-info/dependency_links.txt 2016-09-21 03:23:11.000000000 +0200
+++ new/setuptools-28.0.0/setuptools.egg-info/dependency_links.txt 2016-09-27 21:54:05.000000000 +0200
@@ -1,2 +1,2 @@
-https://pypi.python.org/packages/source/c/certifi/certifi-2016.8.8.tar.gz#md5=b57513f7670482da45bb350b792f659e
+https://pypi.python.org/packages/source/c/certifi/certifi-2016.8.31.tar.gz#md5=2f22d484a36d38d98be74f9eeb2846ec
https://pypi.python.org/packages/source/w/wincertstore/wincertstore-0.2.zip…
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools-27.3.0/setuptools.egg-info/requires.txt new/setuptools-28.0.0/setuptools.egg-info/requires.txt
--- old/setuptools-27.3.0/setuptools.egg-info/requires.txt 2016-09-21 03:23:11.000000000 +0200
+++ new/setuptools-28.0.0/setuptools.egg-info/requires.txt 2016-09-27 21:54:05.000000000 +0200
@@ -1,6 +1,6 @@
[certs]
-certifi==2016.8.8
+certifi==2016.8.31
[ssl:sys_platform=='win32']
wincertstore==0.2
1
0