Hello community,

here is the log from the commit of package gssproxy for openSUSE:Leap:15.2 
checked in at 2020-02-17 17:35:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/gssproxy (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.gssproxy.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gssproxy"

Mon Feb 17 17:35:25 2020 rev:12 rq:774712 version:0.8.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/gssproxy/gssproxy.changes      2020-01-15 
15:09:12.150031535 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.gssproxy.new.26092/gssproxy.changes   
2020-02-17 17:35:56.844425026 +0100
@@ -1,0 +2,28 @@
+Thu Jul  4 14:33:52 UTC 2019 - Samuel Cabrero <[email protected]>
+
+- Fix paths in tests and replace python's f-string usage
+- Test are passing in OBS, drop patch disable-failing-test.patch
+- Added patches:
+  * 0001-Fix-runtests.py.patch
+- Removed patches:
+  * disable-failing-test.patch
+
+-------------------------------------------------------------------
+Mon Jul  1 10:35:35 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- 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 <[email protected]>
+
+- 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:
----
  0001-Fix-runtests.py.patch
  gssproxy-0.8.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gssproxy.spec ++++++
--- /var/tmp/diff_new_pack.Rf0Pvu/_old  2020-02-17 17:35:57.216425870 +0100
+++ /var/tmp/diff_new_pack.Rf0Pvu/_new  2020-02-17 17:35:57.220425880 +0100
@@ -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,41 @@
 # 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 [email protected] disable test that fails only on OBS builds
+Patch0:         0001-Fix-runtests.py.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:  python3
+BuildRequires:  system-user-nobody
+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 +65,24 @@
 
 %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
 
 %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 +97,7 @@
 %service_del_postun gssproxy.service
 
 %files
-%defattr(-,root,root)
+%license COPYING
 %{_sbindir}/gssproxy
 %{_sbindir}/rcgssproxy
 %dir %{_libdir}/gssproxy
@@ -114,13 +105,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

++++++ 0001-Fix-runtests.py.patch ++++++
>From ac7b0aa70ae285252e910fda5a1ef475d7e31dd1 Mon Sep 17 00:00:00 2001
From: Samuel Cabrero <[email protected]>
Date: Tue, 2 Jul 2019 12:19:00 +0200
Subject: [PATCH] Fix runtests.py

* f-strings require python3.6
* Add slapd to PATH
* kerberos ldap schema path

Signed-off-by: Samuel Cabrero <[email protected]>
---
 tests/runtests.py | 4 ++--
 tests/testlib.py  | 9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/tests/runtests.py b/tests/runtests.py
index 9cd546f..5b7d85e 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -12,10 +12,10 @@ import testlib
 from testlib import *
 
 def check_exec(name):
-    env = {'PATH': '/sbin:/bin:/usr/sbin:/usr/bin'}
+    env = {'PATH': 
'/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/openldap'}
     ret = subprocess.call(["which", name], stdout=subprocess.DEVNULL, env=env)
     if ret != 0:
-        print(f"Executable '{name}' not found in {env['PATH']}",
+        print("Executable '%s' not found in %s" % (name, env['PATH']),
               file=sys.stderr)
         exit(1)
 
diff --git a/tests/testlib.py b/tests/testlib.py
index 05c734d..8d02e5d 100755
--- a/tests/testlib.py
+++ b/tests/testlib.py
@@ -300,8 +300,9 @@ def write_ldap_krb5_config(testdir):
         raise ValueError("Did not find LDAP schemas; is openldap installed?")
 
     k5schema = None
-    for path in ["/usr/share/doc/krb5-server-ldap*/kerberos.schema",
-                 "/usr/share/doc/krb5-kdc-ldap/kerberos.schema.gz"]:
+    # Path in TW and SLE-15-SP1 onward /usr/share/kerberos/ldap
+    for path in ["/usr/share/kerberos/ldap/kerberos.schema",
+                 "/usr/share/doc/packages/krb5/kerberos.schema"]:
         pathlist = glob.glob(path)
         if len(pathlist) > 0:
             k5schema = pathlist[0]
@@ -367,7 +368,7 @@ def setup_ldap(testdir, wrapenv):
     stashfile = os.path.join(testdir, "ldap_passwd")
     krb5conf = os.path.join(testdir, 'krb5.conf')
 
-    ldapenv = {'PATH': '/sbin:/bin:/usr/sbin:/usr/bin',
+    ldapenv = {'PATH': 
'/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/openldap:/usr/lib/mit/sbin',
                'KRB5_CONFIG': krb5conf}
     ldapenv.update(wrapenv)
 
@@ -411,7 +412,7 @@ def setup_kdc(testdir, wrapenv):
     kdcstash = os.path.join(kdcdir, KDC_STASH)
     kdcdb = os.path.join(kdcdir, KDC_DBNAME)
 
-    kdcenv = {'PATH': '/sbin:/bin:/usr/sbin:/usr/bin',
+    kdcenv = {'PATH': 
'/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/mit/sbin:/usr/lib/mit/bin',
               'KRB5_CONFIG': krb5conf,
               'KRB5_KDC_PROFILE': kdcconf}
     kdcenv.update(wrapenv)
-- 
2.22.0

++++++ gssproxy-0.7.0.tar.gz -> gssproxy-0.8.2.tar.gz ++++++
++++ 10465 lines of diff (skipped)


Reply via email to