Hello community,
here is the log from the commit of package gssproxy for openSUSE:Factory checked in at 2019-07-02 10:38:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gssproxy (Old)
and /work/SRC/openSUSE:Factory/.gssproxy.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gssproxy"
Tue Jul 2 10:38:50 2019 rev:2 rq:712804 version:0.8.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/gssproxy/gssproxy.changes 2017-10-09 19:48:50.105964911 +0200
+++ /work/SRC/openSUSE:Factory/.gssproxy.new.4615/gssproxy.changes 2019-07-02 10:38:51.770624453 +0200
@@ -1,0 +2,18 @@
+Mon Jul 1 10:35:35 UTC 2019 - Tomáš Chvátal
+
+- Add patch to disable one test that fails in OBS only:
+ * disable-failing-test.patch
+
+-------------------------------------------------------------------
+Wed May 22 07:38:02 UTC 2019 - Tomáš Chvátal
+
+- Update to 0.8.2:
+ * no actual changelog, many bugfixes and friends
+- Remove no longer appplicable stuff:
+ * 0001-Add-support-for-the-NO_CI_FLAG-credentials-option.REVERT
+ * 0002-Add-test-to-check-setting-cred-options.REVERT
+ * 0003-Include-header-for-writev.patch
+ * gp_config.fix
+- Remove localy created .pc files
+
+-------------------------------------------------------------------
Old:
----
0001-Add-support-for-the-NO_CI_FLAG-credentials-option.REVERT
0002-Add-test-to-check-setting-cred-options.REVERT
0003-Include-header-for-writev.patch
gp_config.fix
gssproxy-0.7.0.tar.gz
ini_config.pc
libverto.pc
New:
----
disable-failing-test.patch
gssproxy-0.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gssproxy.spec ++++++
--- /var/tmp/diff_new_pack.XNJc0Q/_old 2019-07-02 10:38:52.286625239 +0200
+++ /var/tmp/diff_new_pack.XNJc0Q/_new 2019-07-02 10:38:52.290625244 +0200
@@ -1,7 +1,7 @@
#
# spec file for package gssproxy
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,35 +12,39 @@
# 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: gssproxy
-Version: 0.7.0
+Version: 0.8.2
Release: 0
Summary: Daemon for managing gss-api requests
License: MIT
Group: Productivity/Networking/System
-Url: https://pagure.io/gssproxy
+URL: https://pagure.io/gssproxy
Source0: https://releases.pagure.org/gssproxy/%{name}-%{version}.tar.gz
-Source1: libverto.pc
-Source2: ini_config.pc
-Patch2: gp_config.fix
-Patch3: 0001-Add-support-for-the-NO_CI_FLAG-credentials-option.REVERT
-Patch4: 0002-Add-test-to-check-setting-cred-options.REVERT
-Patch5: 0003-Include-header-for-writev.patch
+# PATCH-FIX-SUSE tchvatal@suse.com disable test that fails only on OBS builds
+Patch0: disable-failing-test.patch
BuildRequires: docbook-xsl-stylesheets
+BuildRequires: doxygen
+BuildRequires: krb5-client
+BuildRequires: krb5-plugin-kdb-ldap
BuildRequires: libtool
+BuildRequires: openldap2
+BuildRequires: openldap2-client
BuildRequires: pkgconfig
+BuildRequires: systemd-rpm-macros
+BuildRequires: valgrind
+BuildRequires: pkgconfig(ini_config) >= 1.2.0
BuildRequires: pkgconfig(krb5-gssapi) >= 1.12.0
-BuildRequires: pkgconfig(ini_config)
BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libxslt)
+BuildRequires: pkgconfig(nss_wrapper)
BuildRequires: pkgconfig(popt)
+BuildRequires: pkgconfig(socket_wrapper)
BuildRequires: pkgconfig(systemd)
-BuildRequires: systemd-rpm-macros
%{?systemd_requires}
%if 0%{?suse_version} > 1315
# in earlier versions, libverto is in krb5-devel
@@ -59,39 +63,33 @@
%prep
%setup -q
-%if 0%{?suse_version} <= 1315
-# patch is needed to disable ini_config_augment, which is
-# not available in the version on SLE12-SP1
-%patch2 -p1
-# These two patches remove use of GSS_KRB5_CRED_NO_CI_FLAGS_X
-# which was not added to krb5 until k5b5-1.14
-%patch3 -p1
-%patch4 -p1
-%endif
-%patch5 -p1
+%patch0 -p1
+# add more paths for krb binaries in tests
+sed \
+ -e 's#/sbin:/bin:%{_prefix}/sbin:%{_prefix}/bin#/sbin:/bin:%{_prefix}/sbin:%{_prefix}/bin:%{_prefix}/lib/mit/sbin#' \
+ -i tests/runtests.py \
+ -i tests/testlib.py
+# fix path for krb5 ldap schema
+sed -i \
+ -e 's#%{_datadir}/doc/krb5-server-ldap\*/#%{_datadir}/kerberos/ldap/#g' \
+ tests/testlib.py
%build
-autoreconf -f -i
-%if 0%{?suse_version} <= 1315
-# fake acceptable versions of some packages
-export PKG_CONFIG_PATH=.
-cp %{SOURCE1} %{SOURCE2} .
-%endif
+autoreconf -fvi
%configure
make %{?_smp_mflags}
+make -j1 test_proxymech
%install
%make_install
rm -f %{buildroot}%{_libdir}/gssproxy/proxymech.la
-ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcgssproxy
+ln -s service %{buildroot}%{_sbindir}/rcgssproxy
install -D -m 644 examples/gssproxy.conf %{buildroot}%{_sysconfdir}/gssproxy/gssproxy.conf
install -d -m 700 %{buildroot}%{_localstatedir}/lib/gssproxy/rcache
-%if 0%{?suse_version} <= 1315
-# due to old libini_config, we can only support a single config file
-cat examples/24-nfs-server.conf >> %{buildroot}%{_sysconfdir}/gssproxy/gssproxy.conf
-%else
install -D -m 644 examples/24-nfs-server.conf %{buildroot}%{_sysconfdir}/gssproxy/24-nfs-server.conf
-%endif
+
+%check
+make %{?_smp_mflags} check
%pre
%service_add_pre gssproxy.service
@@ -106,7 +104,7 @@
%service_del_postun gssproxy.service
%files
-%defattr(-,root,root)
+%license COPYING
%{_sbindir}/gssproxy
%{_sbindir}/rcgssproxy
%dir %{_libdir}/gssproxy
@@ -114,13 +112,11 @@
%dir %{_localstatedir}/lib/gssproxy
%dir %{_localstatedir}/lib/gssproxy/rcache
%{_unitdir}/gssproxy.service
-%{_mandir}/man5/gssproxy.conf.5%{ext_man}
-%{_mandir}/man8/gssproxy-mech.8%{ext_man}
-%{_mandir}/man8/gssproxy.8%{ext_man}
+%{_mandir}/man5/gssproxy.conf.5%{?ext_man}
+%{_mandir}/man8/gssproxy-mech.8%{?ext_man}
+%{_mandir}/man8/gssproxy.8%{?ext_man}
%dir %{_sysconfdir}/gssproxy
%config %{_sysconfdir}/gssproxy/gssproxy.conf
-%if 0%{?suse_version} > 1315
%config %{_sysconfdir}/gssproxy/24-nfs-server.conf
-%endif
%changelog
++++++ disable-failing-test.patch ++++++
Index: gssproxy-0.8.2/tests/t_reloading.py
===================================================================
--- gssproxy-0.8.2.orig/tests/t_reloading.py
+++ gssproxy-0.8.2/tests/t_reloading.py
@@ -19,15 +19,6 @@ def run(testdir, env, basicconf):
r = run_basic_test(testdir, env, basicconf)
rets.append(r)
- print("Testing SIGHUP with dropped service", file=sys.stderr)
- sys.stderr.write(" ")
- basicconf['prefix'] = prefix + "_2"
- update_gssproxy_conf(testdir, keysenv, GSSPROXY_CONF_MINIMAL_TEMPLATE)
- os.kill(basicconf["gpid"], signal.SIGHUP)
- time.sleep(1) #Let gssproxy reload everything
- r = run_basic_test(testdir, env, basicconf, True)
- rets.append(r)
-
print("Testing SIGHUP with new service", file=sys.stderr)
sys.stderr.write(" ")
basicconf['prefix'] = prefix + "_3"
++++++ gssproxy-0.7.0.tar.gz -> gssproxy-0.8.2.tar.gz ++++++
++++ 10465 lines of diff (skipped)