commit cyrus-sasl for openSUSE:Factory

2020-01-05 Thread root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2020-01-05 15:20:47

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new.6675 (New)


Package is "cyrus-sasl"

Sun Jan  5 15:20:47 2020 rev:59 rq:760381 version:2.1.27

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2019-12-07 15:23:00.783731927 +0100
+++ 
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.6675/cyrus-sasl-saslauthd.changes
2020-01-05 15:20:52.837552645 +0100
@@ -2 +2 @@
-Thu Nov 28 20:07:43 UTC 2019 - Michael Ströder 
+Thu Dec 19 20:11:24 UTC 2019 - Michael Ströder 
@@ -6 +6 @@
-  (see https://github.com/cyrusimap/cyrus-sasl/issues/587)
+  (see CVE-2019-19906 bsc#1159635)
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2019-12-07 
15:23:00.815731923 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new.6675/cyrus-sasl.changes  
2020-01-05 15:20:55.837554150 +0100
@@ -6 +6 @@
-  (see https://github.com/cyrusimap/cyrus-sasl/issues/587)
+  (see CVE-2019-19906 bsc#1159635)



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.7t4w4C/_old  2020-01-05 15:20:59.757556117 +0100
+++ /var/tmp/diff_new_pack.7t4w4C/_new  2020-01-05 15:20:59.757556117 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-saslauthd
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -27,7 +27,7 @@
 Summary:The SASL Authentication Server
 License:BSD-4-Clause
 Group:  Productivity/Networking/Other
-Url:http://asg.web.cmu.edu/sasl/
+URL:http://asg.web.cmu.edu/sasl/
 
 Source: ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-%{version}.tar.gz
 Source1:cyrus-sasl-rc.tar.bz2

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.7t4w4C/_old  2020-01-05 15:20:59.769556123 +0100
+++ /var/tmp/diff_new_pack.7t4w4C/_new  2020-01-05 15:20:59.773556125 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,7 +20,7 @@
 %define lname  libsasl2-3
 Version:2.1.27
 Release:0
-Url:http://asg.web.cmu.edu/sasl/
+URL:http://asg.web.cmu.edu/sasl/
 Summary:Implementation of Cyrus SASL API
 License:BSD-4-Clause
 Group:  Productivity/Networking/Other




commit cyrus-sasl for openSUSE:Factory

2019-12-07 Thread root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2019-12-07 15:19:29

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new.4691 (New)


Package is "cyrus-sasl"

Sat Dec  7 15:19:29 2019 rev:58 rq:751846 version:2.1.27

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2018-12-11 15:45:15.054376879 +0100
+++ 
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.4691/cyrus-sasl-saslauthd.changes
2019-12-07 15:23:00.783731927 +0100
@@ -1,0 +2,7 @@
+Thu Nov 28 20:07:43 UTC 2019 - Michael Ströder 
+
+- added backport-patch cyrus-sasl-bug587.patch which fixes
+  off-by-one error in _sasl_add_string function
+  (see https://github.com/cyrusimap/cyrus-sasl/issues/587)
+
+---
cyrus-sasl.changes: same change

New:

  cyrus-sasl-bug587.patch



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.xDOlU4/_old  2019-12-07 15:23:01.403731842 +0100
+++ /var/tmp/diff_new_pack.xDOlU4/_new  2019-12-07 15:23:01.423731839 +0100
@@ -36,6 +36,8 @@
 Source4:saslauthd.service
 
 Patch:  cyrus-sasl.dif
+# see https://github.com/cyrusimap/cyrus-sasl/issues/587
+Patch1: cyrus-sasl-bug587.patch
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
 Patch7: fix_libpq-fe_include.diff
@@ -76,6 +78,7 @@
 %prep
 %setup -n cyrus-sasl-%{version} -a 1
 %patch
+%patch1 -p1
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.xDOlU4/_old  2019-12-07 15:23:01.447731836 +0100
+++ /var/tmp/diff_new_pack.xDOlU4/_new  2019-12-07 15:23:01.451731835 +0100
@@ -30,6 +30,8 @@
 Source2:README.Source
 Source3:baselibs.conf
 Patch:  cyrus-sasl.dif
+# see https://github.com/cyrusimap/cyrus-sasl/issues/587
+Patch1: cyrus-sasl-bug587.patch
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
 Patch7: fix_libpq-fe_include.diff
@@ -164,6 +166,7 @@
 rm -rf %{_builddir}/%{name}-%{version}/dlcompat-*
 fi
 %patch
+%patch1 -p1
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1

++ cyrus-sasl-bug587.patch ++
--- cyrus-sasl-2.1.27.orig/lib/common.c 2018-11-08 18:29:57.0 +0100
+++ cyrus-sasl-2.1.27/lib/common.c  2019-11-28 21:15:11.246656079 +0100
@@ -190,7 +190,7 @@
 
   if (add==NULL) add = "(null)";
 
-  addlen=strlen(add); /* only compute once */
+  addlen=strlen(add)+1; /* only compute once */
   if (_buf_alloc(out, alloclen, (*outlen)+addlen)!=SASL_OK)
 return SASL_NOMEM;



commit cyrus-sasl for openSUSE:Factory

2018-12-11 Thread root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2018-12-11 15:45:12

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new.19453 (New)


Package is "cyrus-sasl"

Tue Dec 11 15:45:12 2018 rev:57 rq:655748 version:2.1.27

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2018-02-16 21:40:30.492098273 +0100
+++ 
/work/SRC/openSUSE:Factory/.cyrus-sasl.new.19453/cyrus-sasl-saslauthd.changes   
2018-12-11 15:45:15.054376879 +0100
@@ -1,0 +2,31 @@
+Sat Nov 17 10:14:14 UTC 2018 - Michael Ströder 
+
+- removed patches obsoleted by upstream changes:
+  * shared_link_on_ppc.patch
+  * fix-sasl-header.diff
+  * cyrus-sasl-revert_gssapi_flags.patch
+  * cyrus-sasl-issue-402.patch
+  * cyrus-sasl-2.1.27-openssl-1.1.0.patch
+- replaced cumlocal/ with m4/ in patches
+- added fix_libpq-fe_include.diff for fixing including libpq-fe.h
+- Update to 2.1.27
+  * cache.c:
+  Don’t use cached credentials if timeout has expired
+  Fixed debug logging output
+  * ipc_doors.c:
+  Fixed potential DoS attack (from Oracle)
+  * ipc_unix.c:
+  Prevent premature closing of socket
+  * auth_rimap.c:
+  Added support LOGOUT command
+  Added support for unsolicited CAPABILITY responses in LOGIN reply
+  Properly detect end of responses (don’t needlessly wait)
+  Properly handle backslash in passwords
+  * auth_httpform:
+  Fix off-by-one error in string termination
+  Added support for 204 success response
+  * auth_krb5.c:
+  Added krb5_conv_krb4_instance option
+  Added more verbose error logging
+
+---
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2018-02-16 
21:40:30.648092647 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new.19453/cyrus-sasl.changes 
2018-12-11 15:45:15.366376536 +0100
@@ -1,0 +2,32 @@
+Sat Nov 17 10:14:14 UTC 2018 - Michael Ströder 
+
+- removed patches obsoleted by upstream changes:
+  * shared_link_on_ppc.patch
+  * fix-sasl-header.diff
+  * cyrus-sasl-revert_gssapi_flags.patch
+  * cyrus-sasl-issue-402.patch
+  * cyrus-sasl-2.1.27-openssl-1.1.0.patch
+- replaced cumlocal/ with m4/ in patches
+- added fix_libpq-fe_include.diff for fixing including libpq-fe.h
+- Update to 2.1.27
+  * Added support for OpenSSL 1.1
+  * Added support for lmdb
+  * Lots of build fixes
+  * Treat SCRAM and DIGEST-MD5 as more secure than PLAIN when selecting client 
mech
+  * DIGEST-MD5 plugin:
+Fixed memory leaks
+Fixed a segfault when looking for non-existent reauth cache
+Prevent client from going from step 3 back to step 2
+Allow cmusaslsecretDIGEST-MD5 property to be disabled
+  * GSSAPI plugin:
+Added support for retrieving negotiated SSF
+Fixed GSS-SPNEGO to use flags negotiated by GSSAPI for SSF
+Properly compute maxbufsize AFTER security layers have been set
+  * SCRAM plugin:
+Added support for SCRAM-SHA-256
+  * LOGIN plugin:
+Don’t prompt client for password until requested by server
+  * NTLM plugin:
+Fixed crash due to uninitialized HMAC context
+
+---

Old:

  cyrus-sasl-2.1.26.tar.gz
  cyrus-sasl-2.1.27-openssl-1.1.0.patch
  cyrus-sasl-issue-402.patch
  cyrus-sasl-revert_gssapi_flags.patch
  fix-sasl-header.diff
  shared_link_on_ppc.patch

New:

  cyrus-sasl-2.1.27.tar.gz
  fix_libpq-fe_include.diff



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.Mj3qvf/_old  2018-12-11 15:45:16.538375248 +0100
+++ /var/tmp/diff_new_pack.Mj3qvf/_new  2018-12-11 15:45:16.542375244 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:   cyrus-sasl-saslauthd
-Version:2.1.26
+Version:2.1.27
 Release:0
 Summary:The SASL Authentication Server
 License:BSD-4-Clause
@@ -34,12 +34,11 @@
 Source2:README.Source
 Source3:baselibs.conf
 Source4:saslauthd.service
+
 Patch:  cyrus-sasl.dif
-Patch1: shared_link_on_ppc.patch
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
-Patch7: fix-sasl-header.diff
-Patch10:cyrus-sasl-2.1.27-openssl-1.1.0.patch
+Patch7: fix_libpq-fe_include.diff
 PreReq: %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  db-devel
@@ -77,15 +76,13 @@
 %prep
 %setup -n cyrus-sasl-%{version} -a 1
 %patch
-%patch1
 %patch5 -p1
-%patch6
+%patch6 -p1
 %patch7 -p1
-%patch10 -p1
 
 %build
 find . -name "*.cvsignore" -exec rm -fv "{}" "+"
-autoreconf -f -i
+autoreconf 

commit cyrus-sasl for openSUSE:Factory

2018-02-16 Thread root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2018-02-16 21:40:29

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is "cyrus-sasl"

Fri Feb 16 21:40:29 2018 rev:56 rq:576291 version:2.1.26

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2017-11-29 10:50:01.578382944 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2018-02-16 21:40:30.492098273 +0100
@@ -1,0 +2,5 @@
+Tue Feb 13 08:59:21 UTC 2018 - vark...@suse.com
+
+- bsc#983938 `After=syslog.target` left-overs in several unit files
+
+---
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2017-09-08 
20:38:44.902391309 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2018-02-16 21:40:30.648092647 +0100
@@ -1,0 +2,11 @@
+Tue Feb 13 08:59:21 UTC 2018 - vark...@suse.com
+
+- bsc#983938 `After=syslog.target` left-overs in several unit files
+
+---
+Thu Nov 23 13:38:18 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.f3Qg5w/_old  2018-02-16 21:40:31.732053555 +0100
+++ /var/tmp/diff_new_pack.f3Qg5w/_new  2018-02-16 21:40:31.736053411 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-saslauthd
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

cyrus-sasl.spec: same change
++ saslauthd.service ++
--- /var/tmp/diff_new_pack.f3Qg5w/_old  2018-02-16 21:40:31.916046920 +0100
+++ /var/tmp/diff_new_pack.f3Qg5w/_new  2018-02-16 21:40:31.916046920 +0100
@@ -1,6 +1,6 @@
 [Unit]
 Description=saslauthd Server Daemon
-After=syslog.target network.target
+After=network.target
 
 [Service]
 Type=forking




commit cyrus-sasl for openSUSE:Factory

2017-11-29 Thread root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2017-11-29 10:49:58

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is "cyrus-sasl"

Wed Nov 29 10:49:58 2017 rev:55 rq:545126 version:2.1.26

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2017-09-08 20:38:44.842399743 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2017-11-29 10:50:01.578382944 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:38:18 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.mLcMOU/_old  2017-11-29 10:50:02.798338686 +0100
+++ /var/tmp/diff_new_pack.mLcMOU/_new  2017-11-29 10:50:02.798338686 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 Name:   cyrus-sasl-saslauthd
 Version:2.1.26
 Release:0
@@ -122,7 +127,7 @@
 install -m 755 testsaslauthd $RPM_BUILD_ROOT/usr/bin/testsaslauthd
 cd -
 mkdir -p $RPM_BUILD_ROOT/sbin
-install -D -m 644 SuSE/sysconfig.saslauthd 
$RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.saslauthd
+install -D -m 644 SuSE/sysconfig.saslauthd 
$RPM_BUILD_ROOT%{_fillupdir}/sysconfig.saslauthd
 rm -f $RPM_BUILD_ROOT/%{_mandir}/cat?/*
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsasldb*
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libldapdb.la
@@ -148,7 +153,7 @@
 
 %files
 %defattr(-,root,root)
-/var/adm/fillup-templates/sysconfig.saslauthd
+%{_fillupdir}/sysconfig.saslauthd
 %{_unitdir}/saslauthd.service
 %dir %attr(0755, root, root) %ghost /run/sasl2   
 /usr/sbin/*




commit cyrus-sasl for openSUSE:Factory

2017-09-08 Thread root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2017-09-08 20:38:43

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is "cyrus-sasl"

Fri Sep  8 20:38:43 2017 rev:54 rq:520990 version:2.1.26

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2017-07-04 09:08:32.418251422 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2017-09-08 20:38:44.842399743 +0200
@@ -1,0 +2,6 @@
+Mon Sep  4 10:01:17 UTC 2017 - vci...@suse.com
+
+- OpenSSL 1.1 support (bsc#1055463)
+  * add cyrus-sasl-2.1.27-openssl-1.1.0.patch from Fedora
+
+---
cyrus-sasl.changes: same change

New:

  cyrus-sasl-2.1.27-openssl-1.1.0.patch



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.NTYlNZ/_old  2017-09-08 20:38:45.970241168 +0200
+++ /var/tmp/diff_new_pack.NTYlNZ/_new  2017-09-08 20:38:45.970241168 +0200
@@ -34,6 +34,7 @@
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
 Patch7: fix-sasl-header.diff
+Patch10:cyrus-sasl-2.1.27-openssl-1.1.0.patch
 PreReq: %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  db-devel
@@ -75,6 +76,7 @@
 %patch5 -p1
 %patch6
 %patch7 -p1
+%patch10 -p1
 
 %build
 find . -name "*.cvsignore" -exec rm -fv "{}" "+"

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.NTYlNZ/_old  2017-09-08 20:38:46.006236106 +0200
+++ /var/tmp/diff_new_pack.NTYlNZ/_new  2017-09-08 20:38:46.010235544 +0200
@@ -37,6 +37,7 @@
 Patch8: cyrus-sasl-revert_gssapi_flags.patch
 # see https://github.com/cyrusimap/cyrus-sasl/issues/402
 Patch9: cyrus-sasl-issue-402.patch
+Patch10:cyrus-sasl-2.1.27-openssl-1.1.0.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  db-devel
 BuildRequires:  krb5-mini-devel
@@ -174,6 +175,7 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 
 %build
 find . -name "*.cvsignore" -exec rm -fv "{}" "+"

++ cyrus-sasl-2.1.27-openssl-1.1.0.patch ++
Index: cyrus-sasl-2.1.26/plugins/ntlm.c
===
--- cyrus-sasl-2.1.26.orig/plugins/ntlm.c   2012-01-28 00:31:36.0 
+0100
+++ cyrus-sasl-2.1.26/plugins/ntlm.c2017-09-04 12:00:57.773615637 +0200
@@ -417,6 +417,29 @@ static unsigned char *P24(unsigned char
 return P24;
 }
 
+static HMAC_CTX *_plug_HMAC_CTX_new(const sasl_utils_t *utils)
+{
+utils->log(NULL, SASL_LOG_DEBUG, "_plug_HMAC_CTX_new()");
+
+#if OPENSSL_VERSION_NUMBER >= 0x1010L
+return HMAC_CTX_new();
+#else
+return utils->malloc(sizeof(HMAC_CTX));
+#endif
+}
+
+static void _plug_HMAC_CTX_free(HMAC_CTX *ctx, const sasl_utils_t *utils)
+{
+utils->log(NULL, SASL_LOG_DEBUG, "_plug_HMAC_CTX_free()");
+
+#if OPENSSL_VERSION_NUMBER >= 0x1010L
+HMAC_CTX_free(ctx);
+#else
+HMAC_cleanup(ctx);
+utils->free(ctx);
+#endif
+}
+
 static unsigned char *V2(unsigned char *V2, sasl_secret_t *passwd,
 const char *authid, const char *target,
 const unsigned char *challenge,
@@ -424,7 +447,7 @@ static unsigned char *V2(unsigned char *
 const sasl_utils_t *utils,
 char **buf, unsigned *buflen, int *result)
 {
-HMAC_CTX ctx;
+HMAC_CTX *ctx = NULL;
 unsigned char hash[EVP_MAX_MD_SIZE];
 char *upper;
 unsigned int len;
@@ -435,6 +458,10 @@ static unsigned char *V2(unsigned char *
SETERROR(utils, "cannot allocate NTLMv2 hash");
*result = SASL_NOMEM;
 }
+else if ((ctx = _plug_HMAC_CTX_new(utils)) == NULL) {
+SETERROR(utils, "cannot allocate HMAC CTX");
+*result = SASL_NOMEM;
+}
 else {
/* NTLMv2hash = HMAC-MD5(NTLMhash, unicode(ucase(authid + domain))) */
P16_nt(hash, passwd, utils, buf, buflen, result);
@@ -449,17 +476,18 @@ static unsigned char *V2(unsigned char *
HMAC(EVP_md5(), hash, MD4_DIGEST_LENGTH, *buf, 2 * len, hash, );
 
/* V2 = HMAC-MD5(NTLMv2hash, challenge + blob) + blob */
-   HMAC_Init(, hash, len, EVP_md5());
-   HMAC_Update(, challenge, NTLM_NONCE_LENGTH);
-   HMAC_Update(, blob, bloblen);
-   HMAC_Final(, V2, );
-   HMAC_cleanup();
+   HMAC_Init_ex(ctx, hash, len, EVP_md5(), NULL);
+   HMAC_Update(ctx, challenge, NTLM_NONCE_LENGTH);
+   HMAC_Update(ctx, blob, bloblen);
+   HMAC_Final(ctx, V2, );
 
/* the blob is concatenated outside of this function */
 
*result = 

commit cyrus-sasl for openSUSE:Factory

2017-07-04 Thread root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2017-07-04 09:08:30

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is "cyrus-sasl"

Tue Jul  4 09:08:30 2017 rev:53 rq:507330 version:2.1.26

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2015-12-16 17:42:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2017-07-04 09:08:32.418251422 +0200
@@ -1,0 +2,12 @@
+Wed Mar 22 09:56:37 UTC 2017 - mich...@stroeder.com
+
+- added cyrus-sasl-issue-402.patch to fix
+  SASL GSSAPI mechanism acceptor wrongly returns zero maxbufsize #402
+  (see https://github.com/cyrusimap/cyrus-sasl/issues/402)
+
+---
+Tue Mar  7 11:31:23 UTC 2017 - vark...@suse.com
+
+- bnc#1026825 saslauthd: :set_auth_mech : unknown authentication mechanism: 
kerberos5
+
+---
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2017-04-12 
17:11:11.765900456 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2017-07-04 09:08:32.466244674 +0200
@@ -8,0 +9,10 @@
+Tue Mar  7 11:31:23 UTC 2017 - vark...@suse.com
+
+- bnc#1026825 saslauthd: :set_auth_mech : unknown authentication mechanism: 
kerberos5
+
+---
+Wed Dec  9 20:15:40 UTC 2015 - bwiedem...@suse.com
+
+- really use SASLAUTHD_PARAMS variable (bnc#938657)
+
+---



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.VXNcid/_old  2017-07-04 09:08:33.238136136 +0200
+++ /var/tmp/diff_new_pack.VXNcid/_new  2017-07-04 09:08:33.242135574 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-saslauthd
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -94,7 +94,7 @@
 --enable-passdss=no \
 --enable-sample=no \
 --enable-login=no \
---enable-gssapi=no \
+--enable-gssapi=yes \
 --enable-gs2=no \
 --enable-scram=no \
 --enable-krb4=no \
@@ -125,6 +125,9 @@
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsasldb*
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libldapdb.la
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsql.la
+rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libgs2.*
+rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libgssapiv2.*
+
 mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
 install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_unitdir}
 

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.VXNcid/_old  2017-07-04 09:08:33.266132200 +0200
+++ /var/tmp/diff_new_pack.VXNcid/_new  2017-07-04 09:08:33.270131638 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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




commit cyrus-sasl for openSUSE:Factory

2015-12-16 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2015-12-16 17:42:16

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is "cyrus-sasl"

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2015-01-09 20:50:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2015-12-16 17:42:18.0 +0100
@@ -1,0 +2,5 @@
+Wed Dec  9 20:15:40 UTC 2015 - bwiedem...@suse.com
+
+- really use SASLAUTHD_PARAMS variable (bnc#938657)
+
+---



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.e5f39c/_old  2015-12-16 17:42:20.0 +0100
+++ /var/tmp/diff_new_pack.e5f39c/_new  2015-12-16 17:42:20.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-saslauthd
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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

cyrus-sasl.spec: same change
++ saslauthd.service ++
--- /var/tmp/diff_new_pack.e5f39c/_old  2015-12-16 17:42:20.0 +0100
+++ /var/tmp/diff_new_pack.e5f39c/_new  2015-12-16 17:42:20.0 +0100
@@ -5,7 +5,7 @@
 [Service]
 Type=forking
 EnvironmentFile=/etc/sysconfig/saslauthd
-ExecStart=/usr/sbin/saslauthd  -a $SASLAUTHD_AUTHMECH -n $SASLAUTHD_THREADS
+ExecStart=/usr/sbin/saslauthd  -a $SASLAUTHD_AUTHMECH -n $SASLAUTHD_THREADS 
$SASLAUTHD_PARAMS
 ExecReload=/bin/kill -HUP $MAINPID
 ExecStop=/bin/kill -TERM $MAINPID
 Restart=always




commit cyrus-sasl for openSUSE:Factory

2015-01-09 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2015-01-09 20:50:23

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2014-12-16 14:46:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2015-01-09 20:50:26.0 +0100
@@ -1,0 +2,5 @@
+Tue Jan  6 19:02:33 UTC 2015 - vark...@suse.com
+
+- bnc#908883 cyrus-sasl-scram refers to wrong RFC 
+
+---
cyrus-sasl.changes: same change



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.5fw44P/_old  2015-01-09 20:50:28.0 +0100
+++ /var/tmp/diff_new_pack.5fw44P/_new  2015-01-09 20:50:28.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-saslauthd
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.5fw44P/_old  2015-01-09 20:50:28.0 +0100
+++ /var/tmp/diff_new_pack.5fw44P/_new  2015-01-09 20:50:28.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -147,7 +147,7 @@
 
 %description scram
 This is the Cyrus SASL API implementation. It can be used on the client
-or server side to provide authentication. See RFC  for more
+or server side to provide authentication. See RFC 5802 for more
 information.
 
 %description -n libsasl2-3

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2014-12-16 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2014-12-16 14:47:34

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2014-09-28 19:56:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2014-12-16 14:46:50.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov 27 09:08:36 UTC 2014 - jeng...@inai.de
+
+- Make sure /usr/sbin/rcsaslauthd exists
+
+---
cyrus-sasl.changes: same change



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.6gM3ko/_old  2014-12-16 14:46:52.0 +0100
+++ /var/tmp/diff_new_pack.6gM3ko/_new  2014-12-16 14:46:52.0 +0100
@@ -112,6 +112,7 @@
 cd ..
 cd saslauthd
 make DESTDIR=$RPM_BUILD_ROOT sasldir=%{_libdir}/sasl2 install
+ln -s service %buildroot/%_sbindir/rcsaslauthd
 install -m 755 -d $RPM_BUILD_ROOT/run/sasl2
 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
 install -m 644 saslauthd.mdoc $RPM_BUILD_ROOT/%{_mandir}/man8/saslauthd.8

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2014-09-28 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2014-09-28 19:56:32

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2014-08-07 08:07:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2014-09-28 19:56:37.0 +0200
@@ -2 +2 @@
-Tue Jul 29 23:33:45 UTC 2014 - sfal...@opensuse.org
+Tue Sep 23 13:57:46 UTC 2014 - vark...@suse.com
@@ -4 +4,6 @@
-- Changed references to /var/run, to /run in order to clear rpmlint check 
failure, due to files being installed to /var/run 
+- bnc#897837 saslauthd package has no config
+
+---
+Tue Jul 29 23:31:35 UTC 2014 - sfal...@opensuse.org
+
+- Changed --with-saslauthd=/var/run/sasl2 in %build to /run/sasl2 to clear 
rpmlint check failure
@@ -13,0 +19,6 @@
+Fri Jun 13 11:03:45 UTC 2014 - ckornac...@suse.com
+
+- Revert upstream commit 080e51c7fa0421eb2f0210d34cf0ac48a228b1e9
+  cyrus-sasl-revert_gssapi_flags.patch (bnc#775279)
+
+---
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2014-08-07 
08:07:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2014-09-28 19:56:37.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 23 13:57:46 UTC 2014 - vark...@suse.com
+
+- bnc#897837 saslauthd package has no config
+
+---
@@ -17,0 +23,5 @@
+
+---
+Tue Apr  1 10:32:37 UTC 2014 - vark...@suse.com
+
+- bnc#871183 - cyrus-sasl-saslauthd service file is missing parameter 
'Restart=always'



Other differences:
--
cyrus-sasl.spec: same change
++ saslauthd.service ++
--- /var/tmp/diff_new_pack.5oLJIN/_old  2014-09-28 19:56:39.0 +0200
+++ /var/tmp/diff_new_pack.5oLJIN/_new  2014-09-28 19:56:39.0 +0200
@@ -5,7 +5,7 @@
 [Service]
 Type=forking
 EnvironmentFile=/etc/sysconfig/saslauthd
-ExecStart=/usr/sbin/saslauthd
+ExecStart=/usr/sbin/saslauthd  -a $SASLAUTHD_AUTHMECH -n $SASLAUTHD_THREADS
 ExecReload=/bin/kill -HUP $MAINPID
 ExecStop=/bin/kill -TERM $MAINPID
 Restart=always

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2014-08-07 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2014-08-07 08:07:32

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2014-04-06 07:10:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2014-08-07 08:07:34.0 +0200
@@ -1,0 +2,12 @@
+Tue Jul 29 23:33:45 UTC 2014 - sfal...@opensuse.org
+
+- Changed references to /var/run, to /run in order to clear rpmlint check 
failure, due to files being installed to /var/run 
+
+---
+Sat Jul 19 12:54:50 UTC 2014 - p.drou...@gmail.com
+
+- Remove insserv dependency; it's unneeded with systemd' systems
+- Remove insserv and fillup dependency in cyrus-sasl package; there
+  is neither sysconfig or init file 
+
+---
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2013-11-29 
12:03:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2014-08-07 08:07:34.0 +0200
@@ -1,0 +2,18 @@
+Tue Jul 29 23:31:35 UTC 2014 - sfal...@opensuse.org
+
+- Changed --with-saslauthd=/var/run/sasl2 in %build to /run/sasl2 to clear 
rpmlint check failure
+
+---
+Sat Jul 19 12:54:50 UTC 2014 - p.drou...@gmail.com
+
+- Remove insserv dependency; it's unneeded with systemd' systems
+- Remove insserv and fillup dependency in cyrus-sasl package; there
+  is neither sysconfig or init file 
+
+---
+Fri Jun 13 11:03:45 UTC 2014 - ckornac...@suse.com
+
+- Revert upstream commit 080e51c7fa0421eb2f0210d34cf0ac48a228b1e9
+  cyrus-sasl-revert_gssapi_flags.patch (bnc#775279)
+
+---

New:

  cyrus-sasl-revert_gssapi_flags.patch



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.adBEtT/_old  2014-08-07 08:07:35.0 +0200
+++ /var/tmp/diff_new_pack.adBEtT/_new  2014-08-07 08:07:35.0 +0200
@@ -34,7 +34,7 @@
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
 Patch7: fix-sasl-header.diff
-PreReq: %insserv_prereq %fillup_prereq
+PreReq: %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  db-devel
 BuildRequires:  krb5-devel
@@ -82,7 +82,7 @@
 export CFLAGS=-fno-strict-aliasing $RPM_OPT_FLAGS -DLDAP_DEPRECATED
 %configure --with-plugindir=%{_libdir}/sasl2 \
 --with-configdir=/etc/sasl2/:%{_libdir}/sasl2 \
---with-saslauthd=/var/run/sasl2/ \
+--with-saslauthd=/run/sasl2/ \
 --enable-checkapop=no \
 --enable-cram=no \
 --enable-digest=no \
@@ -112,7 +112,7 @@
 cd ..
 cd saslauthd
 make DESTDIR=$RPM_BUILD_ROOT sasldir=%{_libdir}/sasl2 install
-install -m 755 -d $RPM_BUILD_ROOT/var/run/sasl2
+install -m 755 -d $RPM_BUILD_ROOT/run/sasl2
 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
 install -m 644 saslauthd.mdoc $RPM_BUILD_ROOT/%{_mandir}/man8/saslauthd.8
 mkdir -p $RPM_BUILD_ROOT/usr/bin
@@ -144,7 +144,7 @@
 %defattr(-,root,root)
 /var/adm/fillup-templates/sysconfig.saslauthd
 %{_unitdir}/saslauthd.service
-%dir %attr(0755, root, root) %ghost /var/run/sasl2   
+%dir %attr(0755, root, root) %ghost /run/sasl2   
 /usr/sbin/*
 /usr/bin/*
 %doc %{_mandir}/man8/*.gz

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.adBEtT/_old  2014-08-07 08:07:36.0 +0200
+++ /var/tmp/diff_new_pack.adBEtT/_new  2014-08-07 08:07:36.0 +0200
@@ -34,7 +34,7 @@
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
 Patch7: fix-sasl-header.diff
-PreReq: %insserv_prereq %fillup_prereq
+Patch8: cyrus-sasl-revert_gssapi_flags.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  db-devel
 BuildRequires:  krb5-mini-devel
@@ -170,6 +170,7 @@
 %patch5 -p1
 %patch6
 %patch7 -p1
+%patch8 -p1
 
 %build
 find . -name *.cvsignore -exec rm -fv {} +
@@ -178,7 +179,7 @@
 %configure --with-pic \
 --with-plugindir=%{_libdir}/sasl2 \
 --with-configdir=/etc/sasl2/:%{_libdir}/sasl2 \
-   --with-saslauthd=/var/run/sasl2/ \
+   --with-saslauthd=/run/sasl2/ \
--enable-pam \
--enable-sample \
--enable-login \

++ cyrus-sasl-revert_gssapi_flags.patch ++
--- a/plugins/gssapi.c
+++ 

commit cyrus-sasl for openSUSE:Factory

2014-04-05 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2014-04-06 07:10:18

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2013-11-29 12:03:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2014-04-06 07:10:21.0 +0200
@@ -1,0 +2,5 @@
+Tue Apr  1 10:32:37 UTC 2014 - vark...@suse.com
+
+- bnc#871183 - cyrus-sasl-saslauthd service file is missing parameter 
'Restart=always' 
+
+---

New:

  saslauthd.service



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.yEirSm/_old  2014-04-06 07:10:22.0 +0200
+++ /var/tmp/diff_new_pack.yEirSm/_new  2014-04-06 07:10:22.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-saslauthd
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -28,6 +28,7 @@
 Source1:cyrus-sasl-rc.tar.bz2
 Source2:README.Source
 Source3:baselibs.conf
+Source4:saslauthd.service
 Patch:  cyrus-sasl.dif
 Patch1: shared_link_on_ppc.patch
 Patch5: cyrus-sasl-no_rpath.patch
@@ -43,6 +44,8 @@
 BuildRequires:  opie
 BuildRequires:  pam-devel
 BuildRequires:  postgresql-devel
+BuildRequires:  pkgconfig(systemd)
+%{?systemd_requires}
 
 %description
 This daemon is required when using cyrus-sasl in server software that
@@ -115,31 +118,33 @@
 mkdir -p $RPM_BUILD_ROOT/usr/bin
 install -m 755 testsaslauthd $RPM_BUILD_ROOT/usr/bin/testsaslauthd
 cd -
-install -D -m 755 SuSE/rc.saslauthd $RPM_BUILD_ROOT/etc/init.d/saslauthd
 mkdir -p $RPM_BUILD_ROOT/sbin
-ln -sf ../etc/init.d/saslauthd $RPM_BUILD_ROOT/sbin/rcsaslauthd
 install -D -m 644 SuSE/sysconfig.saslauthd 
$RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.saslauthd
 rm -f $RPM_BUILD_ROOT/%{_mandir}/cat?/*
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsasldb*
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libldapdb.la
 rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsql.la
+mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
+install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_unitdir}
+
+%pre
+%service_add_pre saslauthd.service
 
 %preun
-%stop_on_removal saslauthd
+%service_del_preun saslauthd.service
 
 %postun
-%restart_on_update saslauthd
-%insserv_cleanup
+%service_del_postun saslauthd.service
 
 %post
-%{fillup_and_insserv -n saslauthd}
+%{fillup_only -n saslauthd}
+%service_add_post saslauthd.service
 
 %files
 %defattr(-,root,root)
 /var/adm/fillup-templates/sysconfig.saslauthd
+%{_unitdir}/saslauthd.service
 %dir %attr(0755, root, root) %ghost /var/run/sasl2   
-%config /etc/init.d/saslauthd
-/sbin/rcsaslauthd
 /usr/sbin/*
 /usr/bin/*
 %doc %{_mandir}/man8/*.gz

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.yEirSm/_old  2014-04-06 07:10:22.0 +0200
+++ /var/tmp/diff_new_pack.yEirSm/_new  2014-04-06 07:10:22.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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

++ saslauthd.service ++
[Unit]
Description=saslauthd Server Daemon
After=syslog.target network.target

[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/saslauthd
ExecStart=/usr/sbin/saslauthd
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
Restart=always

[Install]
WantedBy=multi-user.target

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2013-11-29 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2013-11-29 12:03:38

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2013-09-27 19:47:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2013-11-29 12:03:39.0 +0100
@@ -2 +2,29 @@
-Sun Sep  8 21:11:27 UTC 2013 - jcnen...@googlemail.com
+Sat Nov  2 20:47:58 UTC 2013 - jeng...@inai.de
+
+- Implement shlib packaging guidelines: make subpackage libsasl2-3.
+  (All other .so files are _server_ plugins AFAICS, loaded via
+  dlopen.)
+- Ensure directories are owned by packages and thus get torn down
+  on package removal
+
+---
+Sat Oct  5 19:10:55 UTC 2013 - tchva...@suse.com
+
+- Put back the .so files to sasl auth packages from devel file.
+  The .so files are read by some application instead of full path
+  so in order for auth to work this files must be available
+
+---
+Sun Sep 29 08:11:05 UTC 2013 - tittiatc...@gmail.com
+
+- Add patch fix-sasl-header.diff to resolve build issues that 
+  are failing due to typedef 'sasl_malloc_t' is initialized.
+  (see gentoo#458870, fedora#906519)
+
+---
+Wed Sep 11 07:16:23 UTC 2013 - jcnen...@gmail.com
+
+- Removed server side service to comply with Factory rules
+
+---
+Tue Sep  3 22:07:15 UTC 2013 - jcnen...@gmail.com
@@ -11,0 +40,16 @@
+- GSSAPI plugin:
++ Fixed a segfault in gssapi.c introduced in 2.1.25.
++ Code refactoring
++ Added support for GSS-SPNEGO SASL mechanism (Unix only), which is 
also HTTP capable 
+- GS2 plugin:
++ Updated GS2 plugin not to lose minor GSS-API status codes on errors 
+- DIGEST-MD5 plugin:
++ Correctly send stale directive to prevent clients from 
(re)promtping for password
++ Better handling of HTTP reauthentication cases
++ fixed some memory leaks 
+- SASLDB plugin:
++ Added support for BerkleyDB 5.X or later 
+- OTP plugin:
++ Removed calling of EVP_cleanup() on plugin shutdown in order to 
prevent TLS from failing in calling applications 
+- SRP plugin:
++ Removed calling of EVP_cleanup() on plugin shutdown in order to 
prevent TLS from failing in calling applications 
@@ -16,0 +61 @@
+- New BuildRequires for pkgconfig since pkgconfig file is generated
@@ -22,0 +68 @@
+- Move *.so files into devel package
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2013-10-06 
19:31:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2013-11-29 12:03:39.0 +0100
@@ -1,0 +2,9 @@
+Sat Nov  2 20:47:58 UTC 2013 - jeng...@inai.de
+
+- Implement shlib packaging guidelines: make subpackage libsasl2-3.
+  (All other .so files are _server_ plugins AFAICS, loaded via
+  dlopen.)
+- Ensure directories are owned by packages and thus get torn down
+  on package removal
+
+---



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.Ypu8Un/_old  2013-11-29 12:03:40.0 +0100
+++ /var/tmp/diff_new_pack.Ypu8Un/_new  2013-11-29 12:03:40.0 +0100
@@ -17,20 +17,13 @@
 
 
 Name:   cyrus-sasl-saslauthd
-BuildRequires:  db-devel
-BuildRequires:  krb5-devel
-BuildRequires:  libtool
-BuildRequires:  mysql-devel
-BuildRequires:  openldap2-devel
-BuildRequires:  opie
-BuildRequires:  pam-devel
-BuildRequires:  postgresql-devel
-Url:http://asg.web.cmu.edu/sasl/
+Version:2.1.26
+Release:0
 Summary:The SASL Authentication Server
 License:BSD-4-Clause
 Group:  Productivity/Networking/Other
-Version:2.1.26
-Release:0
+Url:http://asg.web.cmu.edu/sasl/
+
 Source: ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-%{version}.tar.gz
 Source1:cyrus-sasl-rc.tar.bz2
 Source2:README.Source
@@ -42,6 +35,14 @@
 Patch7: fix-sasl-header.diff
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  db-devel
+BuildRequires:  krb5-devel
+BuildRequires:  libtool
+BuildRequires:  mysql-devel
+BuildRequires:  openldap2-devel
+BuildRequires:  opie
+BuildRequires:  pam-devel
+BuildRequires:  postgresql-devel
 
 %description
 

commit cyrus-sasl for openSUSE:Factory

2013-10-06 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2013-10-06 19:31:49

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2013-09-30 
14:44:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2013-10-06 19:31:50.0 +0200
@@ -1,0 +2,7 @@
+Sat Oct  5 19:10:55 UTC 2013 - tchva...@suse.com
+
+- Put back the .so files to sasl auth packages from devel file.
+  The .so files are read by some application instead of full path
+  so in order for auth to work this files must be available
+
+---



Other differences:
--
++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.BZTMJN/_old  2013-10-06 19:31:50.0 +0200
+++ /var/tmp/diff_new_pack.BZTMJN/_new  2013-10-06 19:31:50.0 +0200
@@ -198,9 +198,9 @@
 %defattr(-,root,root)
 %dir %{_libdir}/sasl2
 %dir /etc/sasl2/
-%{_libdir}/sasl2/libanonymous.so.*
-%{_libdir}/sasl2/liblogin.so.*
-%{_libdir}/sasl2/libsasldb.so.*
+%{_libdir}/sasl2/libanonymous.so*
+%{_libdir}/sasl2/liblogin.so*
+%{_libdir}/sasl2/libsasldb.so*
 %{_libdir}/libsasl2.so.*
 /usr/sbin/*
 /usr/bin/*
@@ -210,35 +210,35 @@
 
 %files gssapi
 %defattr(-,root,root)
-%{_libdir}/sasl2/libgssapiv2.so.*
+%{_libdir}/sasl2/libgssapiv2.so*
 
 %files crammd5
 %defattr(-,root,root)
-%{_libdir}/sasl2/libcrammd5.so.*
+%{_libdir}/sasl2/libcrammd5.so*
 
 %files digestmd5
 %defattr(-,root,root)
-%{_libdir}/sasl2/libdigestmd5.so.*
+%{_libdir}/sasl2/libdigestmd5.so*
 
 %files otp
 %defattr(-,root,root)
-%{_libdir}/sasl2/libotp.so.*
+%{_libdir}/sasl2/libotp.so*
 
 %files plain
 %defattr(-,root,root)
-%{_libdir}/sasl2/libplain.so.*
+%{_libdir}/sasl2/libplain.so*
 
 %files ntlm
 %defattr(-,root,root)
-%{_libdir}/sasl2/libntlm.so.*
+%{_libdir}/sasl2/libntlm.so*
 
 %files gs2
 %defattr(-,root,root)
-%{_libdir}/sasl2/libgs2.so.*
+%{_libdir}/sasl2/libgs2.so*
 
 %files scram
 %defattr(-,root,root)
-%{_libdir}/sasl2/libscram.so.*
+%{_libdir}/sasl2/libscram.so*
 
 %files devel
 %defattr(-,root,root)
@@ -247,6 +247,5 @@
 %doc %{_mandir}/man3/sasl_*.gz
 %{_libdir}/libsasl2.so
 %{_libdir}/pkgconfig/*
-%{_libdir}/sasl2/lib*.so
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2013-09-30 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2013-09-30 14:44:46

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2013-09-27 
19:47:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2013-09-30 14:44:47.0 +0200
@@ -1,0 +2,7 @@
+Sun Sep 29 08:11:05 UTC 2013 - tittiatc...@gmail.com
+
+- Add patch fix-sasl-header.diff to resolve build issues that 
+  are failing due to typedef 'sasl_malloc_t' is initialized.
+  (see gentoo#458870, fedora#906519)
+
+---

New:

  fix-sasl-header.diff



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.ayA7IY/_old  2013-09-30 14:44:47.0 +0200
+++ /var/tmp/diff_new_pack.ayA7IY/_new  2013-09-30 14:44:47.0 +0200
@@ -39,6 +39,7 @@
 Patch1: shared_link_on_ppc.patch
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
+Patch7: fix-sasl-header.diff
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -67,10 +68,9 @@
 %setup -n cyrus-sasl-%{version} -a 1
 %patch
 %patch1
-%patch2
-%patch3 -p1
 %patch5 -p1
 %patch6
+%patch7 -p1
 
 %build
 find . -name \*.cvsignore -print0 | xargs -0 rm -vf

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.ayA7IY/_old  2013-09-30 14:44:47.0 +0200
+++ /var/tmp/diff_new_pack.ayA7IY/_new  2013-09-30 14:44:47.0 +0200
@@ -43,6 +43,7 @@
 Patch1: shared_link_on_ppc.patch
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
+Patch7: fix-sasl-header.diff
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -155,6 +156,7 @@
 %patch1
 %patch5 -p1
 %patch6
+%patch7 -p1
 
 %build
 find . -name \*.cvsignore -print0 | xargs -0 rm -fv

++ fix-sasl-header.diff ++
--- cyrus-sasl-2.1.26/include/sasl.h2012-10-12 09:05:48.0 -0500
+++ cyrus-sasl-2.1.26/include/sasl.h2013-01-31 13:21:04.007739327 -0600
@@ -223,6 +223,8 @@ extern C {
  * they must be called before all other SASL functions:
  */
 
+#include sys/types.h
+
 /* memory allocation functions which may optionally be replaced:
  */
 typedef void *sasl_malloc_t(size_t);

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2013-08-10 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2013-08-10 20:16:07

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2013-06-14 16:44:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2013-08-10 20:16:08.0 +0200
@@ -1,0 +2,7 @@
+Fri Jul 26 13:09:51 UTC 2013 - o...@botter.cc
+
+- Fix for bnc#827230 and #784705, fix patch as described in
+  #827230, typo in patch from request 112480 (remove rpath,
+  Apr 4 2012), preventing sql auxprop plugin to work
+
+---
cyrus-sasl.changes: same change



Other differences:
--
cyrus-sasl.spec: same change
++ cyrus-sasl-no_rpath.patch ++
--- /var/tmp/diff_new_pack.ehirB3/_old  2013-08-10 20:16:09.0 +0200
+++ /var/tmp/diff_new_pack.ehirB3/_new  2013-08-10 20:16:09.0 +0200
@@ -17,5 +17,5 @@
 -])
 -  LDFLAGS=${SAVE_LDFLAGS}
 -  ])])
-+andrew_runpath_switch=none
++andrew_cv_runpath_switch=none
 +  ])

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2013-06-14 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2013-06-14 16:44:45

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2012-08-13 19:53:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2013-06-14 16:44:46.0 +0200
@@ -1,0 +2,6 @@
+Fri Jun 14 00:41:55 UTC 2013 - jeng...@inai.de
+
+- Add cyrus-sasl-db6.diff to fix compile abort with db = 5
+- Simpler delete of .la files with find
+
+---
cyrus-sasl.changes: same change

New:

  cyrus-sasl-db6.diff



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.J92eT7/_old  2013-06-14 16:44:46.0 +0200
+++ /var/tmp/diff_new_pack.J92eT7/_new  2013-06-14 16:44:46.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-saslauthd
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -43,6 +43,7 @@
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
 Patch7: Fix-abort_if_no_fqdn-behavior.patch
+Patch8: cyrus-sasl-db6.diff
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -77,6 +78,8 @@
 %patch5 -p1
 %patch6
 %patch7 -p1
+%patch -P 8 -p1
+
 %build
 find . -name \*.cvsignore -print0 | xargs -0 rm -vf
 autoreconf -f -i

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.J92eT7/_old  2013-06-14 16:44:46.0 +0200
+++ /var/tmp/diff_new_pack.J92eT7/_new  2013-06-14 16:44:46.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -46,6 +46,7 @@
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
 Patch7: Fix-abort_if_no_fqdn-behavior.patch
+Patch8: cyrus-sasl-db6.diff
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -162,6 +163,8 @@
 %patch5 -p1
 %patch6 
 %patch7 -p1
+%patch -P 8 -p1
+
 %build
 find . -name \*.cvsignore -print0 | xargs -0 rm -fv
 autoreconf -f -i
@@ -192,7 +195,7 @@
 rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/saslauthd*
 rm -f $RPM_BUILD_ROOT/usr/sbin/saslauthd
 rm -f $RPM_BUILD_ROOT/usr/sbin/testsaslauthd
-find $RPM_BUILD_ROOT -type f -name *.la -exec %{__rm} -fv {} +
+find %buildroot -type f -name *.la -print -delete
 
 %post -p /sbin/ldconfig
 

++ cyrus-sasl-db6.diff ++
From: Jan Engelhardt jeng...@inai.de
Date: 2013-06-14 02:40:23.947245857 +0200
X-Upstream: This patch becomes obsolete with cyrus-sasl-2.1.26

src: fix sloppy DB version = 4.1 check

Look! db-6.0 has hit the scene.

---
 sasldb/db_berkeley.c  |2 +-
 utils/dbconverter-2.c |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: cyrus-sasl-2.1.25/sasldb/db_berkeley.c
===
--- cyrus-sasl-2.1.25.orig/sasldb/db_berkeley.c
+++ cyrus-sasl-2.1.25/sasldb/db_berkeley.c
@@ -101,7 +101,7 @@ static int berkeleydb_open(const sasl_ut
 ret = db_create(mbdb, NULL, 0);
 if (ret == 0  *mbdb != NULL)
 {
-#if DB_VERSION_MAJOR == 4  DB_VERSION_MINOR = 1
+#if DB_VERSION_MAJOR  4 || (DB_VERSION_MAJOR == 4  DB_VERSION_MINOR = 1)
ret = (*mbdb)-open(*mbdb, NULL, path, NULL, DB_HASH, flags, 0660);
 #else
ret = (*mbdb)-open(*mbdb, path, NULL, DB_HASH, flags, 0660);
Index: cyrus-sasl-2.1.25/utils/dbconverter-2.c
===
--- cyrus-sasl-2.1.25.orig/utils/dbconverter-2.c
+++ cyrus-sasl-2.1.25/utils/dbconverter-2.c
@@ -214,7 +214,7 @@ static int berkeleydb_open(const char *p
 ret = db_create(mbdb, NULL, 0);
 if (ret == 0  *mbdb != NULL)
 {
-#if DB_VERSION_MAJOR == 4  DB_VERSION_MINOR = 1
+#if DB_VERSION_MAJOR  4 || (DB_VERSION_MAJOR == 4  DB_VERSION_MINOR = 1)
ret = (*mbdb)-open(*mbdb, NULL, path, NULL, DB_HASH, DB_CREATE, 0664);
 #else
ret = (*mbdb)-open(*mbdb, path, NULL, DB_HASH, DB_CREATE, 0664);
-- 
To unsubscribe, e-mail: 

commit cyrus-sasl for openSUSE:Factory

2012-08-13 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2012-08-13 19:53:30

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl, Maintainer is rha...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2012-05-29 11:37:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2012-08-13 19:53:32.0 +0200
@@ -1,0 +2,7 @@
+Mon Aug 13 07:55:11 UTC 2012 - rha...@suse.de
+
+- Include fix for Cyrus SASL Bug#3589:  When abort_if_no_fqdn is 0,
+  a getaddrinfo failure should be ignored, as long as gethostname()
+  succeeded. (bnc#771983)
+
+---
cyrus-sasl.changes: same change

New:

  Fix-abort_if_no_fqdn-behavior.patch



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.uLmDka/_old  2012-08-13 19:53:54.0 +0200
+++ /var/tmp/diff_new_pack.uLmDka/_new  2012-08-13 19:53:54.0 +0200
@@ -42,6 +42,7 @@
 Patch4: gssapi-null-deref.dif
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
+Patch7: Fix-abort_if_no_fqdn-behavior.patch
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -75,6 +76,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6
+%patch7 -p1
 %build
 find . -name \*.cvsignore -print0 | xargs -0 rm -vf
 autoreconf -f -i

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.uLmDka/_old  2012-08-13 19:53:54.0 +0200
+++ /var/tmp/diff_new_pack.uLmDka/_new  2012-08-13 19:53:54.0 +0200
@@ -45,6 +45,7 @@
 Patch4: gssapi-null-deref.dif
 Patch5: cyrus-sasl-no_rpath.patch
 Patch6: cyrus-sasl-lfs.patch
+Patch7: Fix-abort_if_no_fqdn-behavior.patch
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -160,6 +161,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 
+%patch7 -p1
 %build
 find . -name \*.cvsignore -print0 | xargs -0 rm -fv
 autoreconf -f -i

++ Fix-abort_if_no_fqdn-behavior.patch ++
commit 8fc14fd702897e652a38384af2f55e51752e8c15
Author: Alexey Melnikov alexey.melni...@isode.com
Date:   Tue May 29 16:00:47 2012 +0100

get_fqhostname() function has broken logic when abort_if_no_fqdn is 0

When abort_if_no_fqdn is 0, a getaddrinfo failure should be ignored,
as long as gethostname() succeeded.

Cyrus SASL Bug # 3589

Patch by bagg...@pld-linux.org

diff --git a/lib/saslutil.c b/lib/saslutil.c
index fc5b774..6174124 100644
--- a/lib/saslutil.c
+++ b/lib/saslutil.c
@@ -557,32 +557,44 @@ int get_fqhostname(
  NULL, /* don't care abour service/port */
  hints,
  result) != 0) {
-   /* errno on Unix, WSASetLastError on Windows are already done by the 
function */
-   return (-1);
+if (abort_if_no_fqdn) {
+   /* errno on Unix, WSASetLastError on Windows are already done by 
the function */
+   return (-1);
+   } else {
+   goto LOWERCASE;
+   }
 }
 
-if (abort_if_no_fqdn  (result == NULL || result-ai_canonname == NULL)) {
+if (result == NULL || result-ai_canonname == NULL) {
freeaddrinfo (result);
+if (abort_if_no_fqdn) {
 #ifdef WIN32
-   WSASetLastError (WSANO_DATA);
+   WSASetLastError (WSANO_DATA);
 #elif defined(ENODATA)
-   errno = ENODATA;
+   errno = ENODATA;
 #elif defined(EADDRNOTAVAIL)
-   errno = EADDRNOTAVAIL;
+   errno = EADDRNOTAVAIL;
 #endif
-   return (-1);
+   return (-1);
+   } else {
+   goto LOWERCASE;
+   }
 }
 
-if (abort_if_no_fqdn  strchr (result-ai_canonname, '.') == NULL) {
+if (strchr (result-ai_canonname, '.') == NULL) {
freeaddrinfo (result);
+if (abort_if_no_fqdn) {
 #ifdef WIN32
-   WSASetLastError (WSANO_DATA);
+   WSASetLastError (WSANO_DATA);
 #elif defined(ENODATA)
-   errno = ENODATA;
+   errno = ENODATA;
 #elif defined(EADDRNOTAVAIL)
-   errno = EADDRNOTAVAIL;
+   errno = EADDRNOTAVAIL;
 #endif
-   return (-1);
+   return (-1);
+   } else {
+   goto LOWERCASE;
+   }
 }
 
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2012-05-29 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2012-05-29 11:37:03

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl, Maintainer is rha...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2012-04-23 16:10:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2012-05-29 11:37:06.0 +0200
@@ -2 +2,7 @@
-Wed Apr  4 14:13:51 UTC 2012 - dval...@suse.com
+Wed May  9 21:47:48 UTC 2012 - crrodrig...@opensuse.org
+
+- Ensure libraries and tools are built with LFS and include
+  config.h in all C files.
+
+---
+Wed Apr  4 14:13:36 UTC 2012 - dval...@suse.com
@@ -7 +13 @@
-Wed Jan 18 13:06:35 UTC 2012 - a...@suse.de
+Wed Jan 18 13:06:00 UTC 2012 - a...@suse.de
@@ -9 +15 @@
-- Move some doc files from cyrus-sasl to here.
+- Move some doc files to devel package and to cyrus-sasl-saslauthd.
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2012-04-23 
16:10:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2012-05-29 11:37:06.0 +0200
@@ -1,0 +2,6 @@
+Wed May  9 21:47:48 UTC 2012 - crrodrig...@opensuse.org
+
+- Ensure libraries and tools are built with LFS and include
+  config.h in all C files.
+
+---

New:

  cyrus-sasl-lfs.patch



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.tBERyZ/_old  2012-05-29 11:37:07.0 +0200
+++ /var/tmp/diff_new_pack.tBERyZ/_new  2012-05-29 11:37:07.0 +0200
@@ -16,16 +16,21 @@
 #
 
 
-
 Name:   cyrus-sasl-saslauthd
-BuildRequires:  db-devel krb5-devel mysql-devel openldap2-devel opie pam-devel 
postgresql-devel
+BuildRequires:  db-devel
+BuildRequires:  krb5-devel
 BuildRequires:  libtool
-License:BSD-4-Clause
-Group:  Productivity/Networking/Other
+BuildRequires:  mysql-devel
+BuildRequires:  openldap2-devel
+BuildRequires:  opie
+BuildRequires:  pam-devel
+BuildRequires:  postgresql-devel
 Url:http://asg.web.cmu.edu/sasl/
 Summary:The SASL Authentication Server
+License:BSD-4-Clause
+Group:  Productivity/Networking/Other
 Version:2.1.25
-Release:14
+Release:0
 Source: cyrus-sasl-%{version}.tar.bz2
 Source1:cyrus-sasl-rc.tar.bz2
 Source2:README.Source
@@ -36,6 +41,7 @@
 Patch3: cyrus-sasl-gs2-not-overwrite-minor-error-code.dif
 Patch4: gssapi-null-deref.dif
 Patch5: cyrus-sasl-no_rpath.patch
+Patch6: cyrus-sasl-lfs.patch
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -44,7 +50,6 @@
 should authenticate with PAM, for example.
 
 %package -n cyrus-sasl-ldap-auxprop
-License:BSD-4-Clause
 Summary:The cyrus-sasl LDAP auxprop plugin
 Group:  Productivity/Networking/Other
 Requires:   cyrus-sasl = %{version}
@@ -54,7 +59,6 @@
 integration.
 
 %package -n cyrus-sasl-sqlauxprop
-License:BSD-4-Clause
 Summary:SQL auxprop plugin for cyrus-sasl
 Group:  Development/Libraries/C and C++
 Requires:   cyrus-sasl = %{version}
@@ -70,7 +74,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-
+%patch6
 %build
 find . -name \*.cvsignore -print0 | xargs -0 rm -vf
 autoreconf -f -i

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.tBERyZ/_old  2012-05-29 11:37:07.0 +0200
+++ /var/tmp/diff_new_pack.tBERyZ/_new  2012-05-29 11:37:07.0 +0200
@@ -16,14 +16,15 @@
 #
 
 
-
 Name:   cyrus-sasl
 Version:2.1.25
-Release:14
-BuildRequires:  db-devel krb5-mini-devel openssl-devel opie pam-devel
+Release:0
+BuildRequires:  db-devel
+BuildRequires:  krb5-mini-devel
 BuildRequires:  libtool
-License:BSD-4-Clause
-Group:  Productivity/Networking/Other
+BuildRequires:  openssl-devel
+BuildRequires:  opie
+BuildRequires:  pam-devel
 Url:http://asg.web.cmu.edu/sasl/
 # bug437293
 %ifarch ppc64
@@ -31,6 +32,8 @@
 %endif
 #
 Summary:Implementation of Cyrus SASL API
+License:BSD-4-Clause
+Group:  Productivity/Networking/Other
 Source: cyrus-sasl-%{version}.tar.bz2
 Source1:cyrus-sasl-rc.tar.bz2
 Source2:README.Source
@@ -41,59 +44,51 @@
 Patch3: cyrus-sasl-gs2-not-overwrite-minor-error-code.dif
 Patch4: gssapi-null-deref.dif
 Patch5: cyrus-sasl-no_rpath.patch
+Patch6: cyrus-sasl-lfs.patch
 

commit cyrus-sasl for openSUSE:Factory

2012-04-23 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2012-04-23 16:09:40

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl, Maintainer is rha...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2012-01-19 10:34:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2012-04-23 16:10:26.0 +0200
@@ -1,0 +2,5 @@
+Wed Apr  4 14:13:51 UTC 2012 - dval...@suse.com
+
+- remove rpath 
+
+---
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2012-01-19 
10:34:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2012-04-23 16:10:26.0 +0200
@@ -1,0 +2,5 @@
+Wed Apr  4 14:13:36 UTC 2012 - dval...@suse.com
+
+- remove rpath
+
+---

New:

  cyrus-sasl-no_rpath.patch



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.K3p3AN/_old  2012-04-23 16:10:30.0 +0200
+++ /var/tmp/diff_new_pack.K3p3AN/_new  2012-04-23 16:10:30.0 +0200
@@ -35,6 +35,7 @@
 Patch2: cyrus-sasl-gcc4.patch
 Patch3: cyrus-sasl-gs2-not-overwrite-minor-error-code.dif
 Patch4: gssapi-null-deref.dif
+Patch5: cyrus-sasl-no_rpath.patch
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -68,6 +69,7 @@
 %patch2
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 find . -name \*.cvsignore -print0 | xargs -0 rm -vf

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.K3p3AN/_old  2012-04-23 16:10:30.0 +0200
+++ /var/tmp/diff_new_pack.K3p3AN/_new  2012-04-23 16:10:30.0 +0200
@@ -40,6 +40,7 @@
 Patch2: cyrus-sasl-gcc4.patch
 Patch3: cyrus-sasl-gs2-not-overwrite-minor-error-code.dif
 Patch4: gssapi-null-deref.dif
+Patch5: cyrus-sasl-no_rpath.patch
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -161,6 +162,7 @@
 %patch2
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 find . -name \*.cvsignore -print0 | xargs -0 rm -fv

++ cyrus-sasl-no_rpath.patch ++
Index: cyrus-sasl-2.1.25/cmulocal/cyrus.m4
===
--- cyrus-sasl-2.1.25.orig/cmulocal/cyrus.m4
+++ cyrus-sasl-2.1.25/cmulocal/cyrus.m4
@@ -32,14 +32,5 @@ AC_DEFUN([CMU_ADD_LIBPATH_TO], [
 dnl runpath initialization
 AC_DEFUN([CMU_GUESS_RUNPATH_SWITCH], [
# CMU GUESS RUNPATH SWITCH
-  AC_CACHE_CHECK(for runpath switch, andrew_cv_runpath_switch, [
-# first, try -R
-SAVE_LDFLAGS=${LDFLAGS}
-LDFLAGS=-R /usr/lib
-AC_TRY_LINK([],[],[andrew_cv_runpath_switch=-R], [
-#  LDFLAGS=-Wl,-rpath,/usr/lib
-AC_TRY_LINK([],[],[andrew_cv_runpath_switch=-Wl,-rpath,],
-[andrew_cv_runpath_switch=none])
-])
-  LDFLAGS=${SAVE_LDFLAGS}
-  ])])
+andrew_runpath_switch=none
+  ])
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2012-01-19 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2012-01-19 10:34:34

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl, Maintainer is rha...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2011-11-25 23:04:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2012-01-19 10:34:35.0 +0100
@@ -1,0 +2,5 @@
+Wed Jan 18 13:06:35 UTC 2012 - a...@suse.de
+
+- Move some doc files from cyrus-sasl to here.
+
+---
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2011-11-25 
23:04:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2012-01-19 10:34:35.0 +0100
@@ -1,0 +2,5 @@
+Wed Jan 18 13:06:00 UTC 2012 - a...@suse.de
+
+- Move some doc files to devel package and to cyrus-sasl-saslauthd.
+
+---



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.T4KGLs/_old  2012-01-19 10:34:37.0 +0100
+++ /var/tmp/diff_new_pack.T4KGLs/_new  2012-01-19 10:34:37.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl-saslauthd
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -139,6 +139,7 @@
 /usr/sbin/*
 /usr/bin/*
 %doc %{_mandir}/man8/*.gz
+%doc saslauthd/AUTHORS saslauthd/COPYING saslauthd/ChangeLog 
saslauthd/LDAP_SASLAUTHD saslauthd/NEWS saslauthd/README
 
 %files -n cyrus-sasl-sqlauxprop
 %defattr(-,root,root)

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.T4KGLs/_old  2012-01-19 10:34:37.0 +0100
+++ /var/tmp/diff_new_pack.T4KGLs/_new  2012-01-19 10:34:37.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cyrus-sasl
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -210,8 +210,7 @@
 /usr/bin/*
 %doc %{_mandir}/man3/sasl.*.gz
 %doc %{_mandir}/man8/*.gz
-%doc AUTHORS COPYING ChangeLog NEWS README doc
-%doc saslauthd/AUTHORS saslauthd/COPYING saslauthd/ChangeLog 
saslauthd/LDAP_SASLAUTHD saslauthd/NEWS saslauthd/README
+%doc COPYING
 
 %files gssapi
 %defattr(-,root,root)
@@ -247,6 +246,7 @@
 
 %files devel
 %defattr(-,root,root)
+%doc AUTHORS COPYING ChangeLog NEWS README doc
 /usr/include/sasl
 %doc %{_mandir}/man3/sasl_*.gz
 %{_libdir}/libsasl2.so

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2011-12-06 18:05:10

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl, Maintainer is rha...@suse.com

Changes:

cyrus-sasl.changes: same change



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.46B7ay/_old  2011-12-06 18:08:21.0 +0100
+++ /var/tmp/diff_new_pack.46B7ay/_new  2011-12-06 18:08:21.0 +0100
@@ -20,7 +20,7 @@
 Name:   cyrus-sasl-saslauthd
 BuildRequires:  db-devel krb5-devel mysql-devel openldap2-devel opie pam-devel 
postgresql-devel
 BuildRequires:  libtool
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Group:  Productivity/Networking/Other
 Url:http://asg.web.cmu.edu/sasl/
 Summary:The SASL Authentication Server
@@ -43,7 +43,7 @@
 should authenticate with PAM, for example.
 
 %package -n cyrus-sasl-ldap-auxprop
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Summary:The cyrus-sasl LDAP auxprop plugin
 Group:  Productivity/Networking/Other
 Requires:   cyrus-sasl = %{version}
@@ -53,7 +53,7 @@
 integration.
 
 %package -n cyrus-sasl-sqlauxprop
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Summary:SQL auxprop plugin for cyrus-sasl
 Group:  Development/Libraries/C and C++
 Requires:   cyrus-sasl = %{version}

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.46B7ay/_old  2011-12-06 18:08:21.0 +0100
+++ /var/tmp/diff_new_pack.46B7ay/_new  2011-12-06 18:08:21.0 +0100
@@ -22,7 +22,7 @@
 Release:14
 BuildRequires:  db-devel krb5-mini-devel openssl-devel opie pam-devel
 BuildRequires:  libtool
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Group:  Productivity/Networking/Other
 Url:http://asg.web.cmu.edu/sasl/
 # bug437293
@@ -44,55 +44,55 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %package  gssapi
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Summary:Plugin for the GSSAPI SASL mechanism
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 
 %package  crammd5
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Summary:Plugin for the CRAMMD5 SASL mechanism
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 
 %package  digestmd5
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Summary:Plugin for the DIGESTMD5 SASL mechanism
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 
 %package  otp
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Summary:Plugin for the OTP SASL mechanism
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 
 %package  plain
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Summary:Plugin for the PLAIN SASL mechanism
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 
 %package  ntlm
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Summary:Plugin for the NTLM SASL mechanism
 Group:  Productivity/Networking/Other
 Requires:   %{name} = %{version}
 
 %package  gs2
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Summary:Plugin for the GS2 SASL mechanism
 Group:  Productivity/Networking/Other
 Requires:   %{name} = %{version}
 
 %package  scram
-License:BSD4c(or similar)
+License:BSD-4-Clause
 Summary:Plugin for the SCRAM SASL mechanism
 Group:  Productivity/Networking/Other
 Requires:   %{name} = %{version}
 
 %package  devel
-License:BSD4c(or similar)
+License:BSD-4-Clause
 # bug437293
 %ifarch ppc64
 Obsoletes:  cyrus-sasl-devel-64bit

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2011-11-25 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2011-11-25 23:11:34

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl, Maintainer is rha...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2011-11-21 12:34:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2011-11-25 23:04:33.0 +0100
@@ -1,0 +2,7 @@
+Fri Nov 25 10:05:58 UTC 2011 - rha...@suse.de
+
+- Removed debug printfs from cyrus-sasl.dif, added by accident
+- Updated cyrus-sasl-gs2-not-overwrite-minor-error-code.dif with
+  latest upstream improvements
+
+---
cyrus-sasl.changes: same change



Other differences:
--
cyrus-sasl.spec: same change
++ cyrus-sasl-gs2-not-overwrite-minor-error-code.dif ++
--- /var/tmp/diff_new_pack.oaMk19/_old  2011-11-25 23:04:35.0 +0100
+++ /var/tmp/diff_new_pack.oaMk19/_new  2011-11-25 23:04:35.0 +0100
@@ -1,30 +1,69 @@
-From df039a4aba685990e47e5edb7bc9e09ff7daf56a Mon Sep 17 00:00:00 2001
-From: Ralf Haferkamp rha...@suse.de
-Date: Fri, 18 Nov 2011 10:06:22 +0100
-Subject: [PATCH] Don't overwrite minor error code before retrieving the error
- message
-

- plugins/gs2.c |   16 +---
- 1 files changed, 9 insertions(+), 7 deletions(-)
-
 Index: cyrus-sasl-2.1.25/plugins/gs2.c
 ===
 --- cyrus-sasl-2.1.25.orig/plugins/gs2.c
 +++ cyrus-sasl-2.1.25/plugins/gs2.c
-@@ -531,6 +531,11 @@ fprintf(stderr,gss_acquire_cred over an
+@@ -336,7 +336,7 @@ gs2_server_mech_step(void *conn_context,
+ gss_name_t without = GSS_C_NO_NAME;
+ gss_OID_set_desc mechs;
+ OM_uint32 out_flags = 0;
+-int ret = 0, equal = 0;
++int ret = SASL_OK, equal = 0;
+ int initialContextToken = (text-gss_ctx == GSS_C_NO_CONTEXT);
+ char *p;
+ 
+@@ -463,14 +463,12 @@ gs2_server_mech_step(void *conn_context,
+GSS_C_NT_USER_NAME,
+without);
+ if (GSS_ERROR(maj_stat)) {
+-ret = SASL_FAIL;
+ goto cleanup;
+ }
+ 
+ maj_stat = gss_compare_name(min_stat, text-client_name,
+ without, equal);
+ if (GSS_ERROR(maj_stat)) {
+-ret = SASL_FAIL;
+ goto cleanup;
+ }
+ 
+@@ -486,8 +484,9 @@ gs2_server_mech_step(void *conn_context,
+ ret = params-canon_user(params-utils-conn,
+  text-authzid, 0,
+  SASL_CU_AUTHZID, oparams);
+-if (ret != SASL_OK)
++if (ret != SASL_OK) {
+ goto cleanup;
++  }
+ }
+ 
+ ret = params-canon_user(params-utils-conn,
+@@ -496,8 +495,9 @@ gs2_server_mech_step(void *conn_context,
+ ? (SASL_CU_AUTHZID | SASL_CU_AUTHID)
+ : SASL_CU_AUTHID,
+  oparams);
+-if (ret != SASL_OK)
++if (ret != SASL_OK) {
+ goto cleanup;
++}
+ 
+ switch (text-gs2_flags  GS2_CB_FLAG_MASK) {
+ case GS2_CB_FLAG_N:
+@@ -528,19 +528,23 @@ gs2_server_mech_step(void *conn_context,
  ret = SASL_OK;
  
  cleanup:
+-if (initialContextToken)
 +if (ret == SASL_OK  maj_stat != GSS_S_COMPLETE) {
 +sasl_gs2_seterror(text-utils, maj_stat, min_stat);
 +ret = SASL_FAIL;
 +}
 +
- if (initialContextToken)
++Can set maj_stat to gss_release_buffer return value and check
++if (initialContextToken) {
  gss_release_buffer(min_stat, input_token);
++}
  gss_release_buffer(min_stat, name_buf);
-@@ -538,10 +543,6 @@ cleanup:
+ gss_release_buffer(min_stat, short_name_buf);
  gss_release_buffer(min_stat, output_token);
  gss_release_name(min_stat, without);
  
@@ -32,24 +71,134 @@
 -sasl_gs2_seterror(text-utils, maj_stat, min_stat);
 -ret = SASL_FAIL;
 -}
- if (ret  SASL_OK)
+-if (ret  SASL_OK)
++if (ret  SASL_OK) {
  sasl_gs2_free_context_contents(text);
++}
+ 
+ return ret;
+ }
+@@ -698,12 +702,14 @@ static int gs2_client_mech_step(void *co
+ 
+ if (text-gss_ctx == GSS_C_NO_CONTEXT) {
+ ret = gs2_get_init_creds(text, params, prompt_need, oparams);
+-if (ret != SASL_OK)
++if (ret != SASL_OK) {
+ goto cleanup;
++  }
+ 
+ initialContextToken = 1;
+-} else
++} else {
+ initialContextToken = 0;
++}
+ 
+ if (text-server_name == 

commit cyrus-sasl for openSUSE:Factory

2011-11-21 Thread h_root
Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory 
checked in at 2011-11-21 12:34:21

Comparing /work/SRC/openSUSE:Factory/cyrus-sasl (Old)
 and  /work/SRC/openSUSE:Factory/.cyrus-sasl.new (New)


Package is cyrus-sasl, Maintainer is rha...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl-saslauthd.changes  
2011-09-23 01:54:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl-saslauthd.changes 
2011-11-21 12:34:35.0 +0100
@@ -2 +2,26 @@
-Sun Sep 18 00:16:00 UTC 2011 - jeng...@medozas.de
+Wed Nov 16 09:22:32 UTC 2011 - rha...@suse.de
+
+- Update to 2.1.25:
+  * Added support for channel bindings
+  * Added support for ordering SASL mechanisms by strength (on
+the client side), or using the client_mech_list option.
+  * Allow DIGEST-MD5 plugin to be used for client-side and
+server-side HTTP Digest, including running over non-persistent
+connections (RFC 2617)
+  * New SASL plugins: SCRAM and GS2
+  * Fixed a crash caused by aborted SASL authentication
+and initiation of another one using the same SASL context.
+  * Various improvements to DIGEST-MD5 to improve interoperability
+with some slightly broken clients
+- cleanup
+  * removed old dependencies still related to cyrus-sasl2
+  * plugins now depend on the exact cyrus-sasl version
+  * use autoreconf instead of calling all tools manually
+
+---
+Fri Sep 30 20:07:52 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to make the spec file more reliable
+
+---
+Sun Sep 18 00:16:04 UTC 2011 - jeng...@medozas.de
@@ -5 +29,0 @@
-- Use %_smp_mflags for parallel build
--- /work/SRC/openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes2011-10-04 
18:08:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.cyrus-sasl.new/cyrus-sasl.changes   
2011-11-21 12:34:35.0 +0100
@@ -1,0 +2,20 @@
+Wed Nov 16 09:22:32 UTC 2011 - rha...@suse.de
+
+- Update to 2.1.25:
+  * Added support for channel bindings
+  * Added support for ordering SASL mechanisms by strength (on
+the client side), or using the client_mech_list option.
+  * Allow DIGEST-MD5 plugin to be used for client-side and
+server-side HTTP Digest, including running over non-persistent
+connections (RFC 2617)
+  * New SASL plugins: SCRAM and GS2
+  * Fixed a crash caused by aborted SASL authentication
+and initiation of another one using the same SASL context.
+  * Various improvements to DIGEST-MD5 to improve interoperability
+with some slightly broken clients
+- cleanup
+  * removed old dependencies still related to cyrus-sasl2
+  * plugins now depend on the exact cyrus-sasl version
+  * use autoreconf instead of calling all tools manually
+
+---

Old:

  cyrus-sasl-2.1.22-gcc44.patch
  cyrus-sasl-2.1.23.tar.bz2
  cyrus-sasl-implicitfunc.dif

New:

  cyrus-sasl-2.1.25.tar.bz2
  cyrus-sasl-gs2-not-overwrite-minor-error-code.dif
  gssapi-null-deref.dif



Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.Gkt6Mu/_old  2011-11-21 12:34:43.0 +0100
+++ /var/tmp/diff_new_pack.Gkt6Mu/_new  2011-11-21 12:34:43.0 +0100
@@ -23,18 +23,18 @@
 License:BSD4c(or similar)
 Group:  Productivity/Networking/Other
 Url:http://asg.web.cmu.edu/sasl/
-Provides:   cyrus-sasl:/usr/sbin/saslauthd
-Provides:   cyrus-sasl2:/usr/sbin/saslauthd
 Summary:The SASL Authentication Server
-Version:2.1.23
+Version:2.1.25
 Release:14
 Source: cyrus-sasl-%{version}.tar.bz2
 Source1:cyrus-sasl-rc.tar.bz2
+Source2:README.Source
+Source3:baselibs.conf
 Patch:  cyrus-sasl.dif
 Patch1: shared_link_on_ppc.patch
 Patch2: cyrus-sasl-gcc4.patch
-Patch3: cyrus-sasl-implicitfunc.dif
-Patch4: cyrus-sasl-2.1.22-gcc44.patch
+Patch3: cyrus-sasl-gs2-not-overwrite-minor-error-code.dif
+Patch4: gssapi-null-deref.dif
 PreReq: %insserv_prereq %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -46,7 +46,7 @@
 License:BSD4c(or similar)
 Summary:The cyrus-sasl LDAP auxprop plugin
 Group:  Productivity/Networking/Other
-Requires:   cyrus-sasl
+Requires:   cyrus-sasl = %{version}
 
 %description -n cyrus-sasl-ldap-auxprop
 The LDAP auxprop plugin allows for tighter application/directory
@@ -56,7 +56,7 @@
 License:BSD4c(or similar)
 Summary:SQL auxprop plugin for cyrus-sasl
 Group:  

commit cyrus-sasl for openSUSE:Factory

2011-10-04 Thread h_root

Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory
checked in at Tue Oct 4 18:08:43 CEST 2011.




--- openSUSE:Factory/cyrus-sasl/cyrus-sasl.changes  2011-09-23 
01:54:48.0 +0200
+++ /mounts/work_src_done/STABLE/cyrus-sasl/cyrus-sasl.changes  2011-09-30 
22:11:20.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 30 20:07:52 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to make the spec file more reliable
+
+---

calling whatdependson for head-i586




Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.tPiUos/_old  2011-10-04 18:08:39.0 +0200
+++ /var/tmp/diff_new_pack.tPiUos/_new  2011-10-04 18:08:39.0 +0200
@@ -19,6 +19,7 @@
 
 Name:   cyrus-sasl-saslauthd
 BuildRequires:  db-devel krb5-devel mysql-devel openldap2-devel opie pam-devel 
postgresql-devel
+BuildRequires:  libtool
 License:BSD4c(or similar)
 Group:  Productivity/Networking/Other
 Url:http://asg.web.cmu.edu/sasl/

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.tPiUos/_old  2011-10-04 18:08:39.0 +0200
+++ /var/tmp/diff_new_pack.tPiUos/_new  2011-10-04 18:08:39.0 +0200
@@ -21,6 +21,7 @@
 Version:2.1.23
 Release:14
 BuildRequires:  db-devel krb5-mini-devel openssl-devel opie pam-devel
+BuildRequires:  libtool
 Obsoletes:  cyrus-sasl2 = %{version}
 Provides:   cyrus-sasl2 = %{version}
 License:BSD4c(or similar)

continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit cyrus-sasl for openSUSE:Factory

2011-09-20 Thread h_root

Hello community,

here is the log from the commit of package cyrus-sasl for openSUSE:Factory
checked in at Tue Sep 20 12:51:06 CEST 2011.




--- cyrus-sasl/cyrus-sasl-saslauthd.changes 2010-07-30 12:43:46.0 
+0200
+++ /mounts/work_src_done/STABLE/cyrus-sasl/cyrus-sasl-saslauthd.changes
2011-09-18 02:16:10.0 +0200
@@ -1,0 +2,6 @@
+Sun Sep 18 00:16:00 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+- Use %_smp_mflags for parallel build
+
+---
--- cyrus-sasl/cyrus-sasl.changes   2010-06-28 08:48:10.0 +0200
+++ /mounts/work_src_done/STABLE/cyrus-sasl/cyrus-sasl.changes  2011-09-18 
02:16:10.0 +0200
@@ -1,0 +2,5 @@
+Sun Sep 18 00:16:04 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+
+---

calling whatdependson for head-i586




Other differences:
--
++ cyrus-sasl-saslauthd.spec ++
--- /var/tmp/diff_new_pack.xM3T2S/_old  2011-09-20 12:51:01.0 +0200
+++ /var/tmp/diff_new_pack.xM3T2S/_new  2011-09-20 12:51:01.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package cyrus-sasl-saslauthd (Version 2.1.23)
+# spec file for package cyrus-sasl-saslauthd
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   cyrus-sasl-saslauthd
@@ -23,7 +22,6 @@
 License:BSD4c(or similar)
 Group:  Productivity/Networking/Other
 Url:http://asg.web.cmu.edu/sasl/
-AutoReqProv:on
 Provides:   cyrus-sasl:/usr/sbin/saslauthd
 Provides:   cyrus-sasl2:/usr/sbin/saslauthd
 Summary:The SASL Authentication Server
@@ -43,16 +41,9 @@
 This daemon is required when using cyrus-sasl in server software that
 should authenticate with PAM, for example.
 
-
-
-Authors:
-
-tech-transfer tech-trans...@andrew.cmu.edu
-
 %package -n cyrus-sasl-ldap-auxprop
 License:BSD4c(or similar)
 Summary:The cyrus-sasl LDAP auxprop plugin
-AutoReqProv:on
 Group:  Productivity/Networking/Other
 Requires:   cyrus-sasl
 
@@ -60,28 +51,15 @@
 The LDAP auxprop plugin allows for tighter application/directory
 integration.
 
-
-
-Authors:
-
-tech-transfer tech-trans...@andrew.cmu.edu
-
 %package -n cyrus-sasl-sqlauxprop
 License:BSD4c(or similar)
 Summary:SQL auxprop plugin for cyrus-sasl
-AutoReqProv:on
 Group:  Development/Libraries/C and C++
 Requires:   cyrus-sasl
 
 %description -n cyrus-sasl-sqlauxprop
 The SQL auxprop plugin supports PostgreSQL and MySQL
 
-
-
-Authors:
-
-tech-transfer tech-trans...@andrew.cmu.edu
-
 %prep
 %setup -n cyrus-sasl-%{version} -a 1
 %patch
@@ -139,7 +117,7 @@
 --enable-ldapdb=yes \
--with-pam \
--with-ldap
-make sasldir=%{_libdir}/sasl2
+make sasldir=%{_libdir}/sasl2 %{?_smp_mflags}
 
 %install
 cd plugins
@@ -173,9 +151,6 @@
 %post
 %{fillup_and_insserv -n saslauthd}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root)
 /var/adm/fillup-templates/sysconfig.saslauthd

++ cyrus-sasl.spec ++
--- /var/tmp/diff_new_pack.xM3T2S/_old  2011-09-20 12:51:01.0 +0200
+++ /var/tmp/diff_new_pack.xM3T2S/_new  2011-09-20 12:51:01.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package cyrus-sasl (Version 2.1.23)
+# spec file for package cyrus-sasl
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   cyrus-sasl
@@ -27,7 +26,6 @@
 License:BSD4c(or similar)
 Group:  Productivity/Networking/Other
 Url:http://asg.web.cmu.edu/sasl/
-AutoReqProv:on
 # bug437293
 %ifarch ppc64
 Obsoletes:  cyrus-sasl-64bit
@@ -52,7 +50,6 @@
 Obsoletes:  cyrus-sasl2-gssapi = %{version}
 Provides:   cyrus-sasl2-gssapi = %{version}
 Summary:cyrus-sasl plugin for the GSSAPI mechanism
-AutoReqProv:on
 Group:  Development/Libraries/C and C++
 Requires:   cyrus-sasl
 #
@@ -60,7 +57,6 @@
 %package  crammd5
 License:BSD4c(or similar)
 Summary:cyrus-sasl plugin for the CRAMMD5 mechanism