Commit Graph

310 Commits

Author SHA1 Message Date
Rob Crittenden
4f7fb9a6cb Drop the baseos-ci gating test. It is deprecated
The idm-ci tier1 test will exercise SASL sufficiently.

Resolves: RHEL-64018
2024-12-04 08:51:38 -05:00
Rob Crittenden
214ee8bbea Switch gating to depend on idm-ci.brew-build.tier1.functional
This replaces baseos-ci.brew-build.tier1.functional . The IdM tests
are sufficient to ensure that SASL is working as expected.

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
2024-12-02 11:38:17 -05:00
Troy Dawson
52f37ef26f Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 08:20:17 -07:00
Sudhir Menon
a4df0410e4 Added gating.yaml for cyrus-sasl
Signed-off-by: Sudhir Menon <sumenon@redhat.com>
2024-06-26 12:55:30 +05:30
Troy Dawson
c345d88c47 Bump release for June 2024 mass rebuild 2024-06-24 08:39:47 -07:00
Rob Crittenden
57fd35ca74 Update license to BSD-Attribution-HPND-disclaimer
BSD-Attribution-HPND was an invalid SPDX license.

Related: RHEL-34341
2024-06-20 13:51:26 -04:00
Filip Janus
e74342f50e Remove BerkeleyDB converting tool. It was intended to be removed in
RHEL10. Because There is no instance of BerkeleyDB in RHEL10/c10s
Resolves: RHEL-43136
2024-06-19 10:45:03 +02:00
Rob Crittenden
3a50f733b8 Fix some issues uncovered by a static analyzer
A couple of possible overflows and a possible memory leak.

Resolves: RHEL-34341
2024-06-11 13:14:36 -04:00
Fedora Release Engineering
a5f72776a2 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 08:49:17 +00:00
Fedora Release Engineering
0cf11c74d2 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 16:35:50 +00:00
Florian Weimer
74773a7b17 sasl-mechlist.c: Cast function pointer to the expected type
This fixes a build failure with GCC 14,

Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2024-01-17 19:58:11 +01:00
Rob Crittenden
8a986014fe Disable and drop the ntlm plugin as it is removed upstream
https://github.com/cyrusimap/cyrus-sasl/issues/708
2024-01-15 15:19:08 -05:00
Rob Crittenden
9417603f91 tests: Switch openldap database to the LMDB backend
The Berkeley DB backends is deprecated upstream.

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
2024-01-11 10:09:54 -05:00
Rob Crittenden
a093ceb446 Add a mode and ownership to the ghost /run/saslauthd directory
This will prevent this rpm -V warning:

$ rpm -q --queryformat "[%{FILEMODES:perms} %{FILENAMES}\n]" cyrus-sasl | grep /run/saslauthd
---------- /run/saslauthd

$ rpm -V cyrus-sasl
.M.......  g /run/saslauthd

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
2024-01-08 16:38:01 -05:00
Simo Sorce
9d9c1b3c8c Migrate license field to SPDX format
Signed-off-by: Simo Sorce <simo@redhat.com>
2023-09-08 13:00:24 -04:00
Yaakov Selkowitz
9f1fb6080e Add --enable-new-dtags to LDFLAGS
cyrus-sasl-lib is present during the build as a dependency of the
default build group.  This flag prevents the libtool wrappers from
trying to relink binaries when running them during "make check", which
fails nowadays because package-notes requires RPM_ARCH and RPM_PACKAGE_*
variables.  While this linker flag is enabled by default in Fedora
binutils, it is not in RHEL/ELN, resulting in build failures.
2023-07-19 18:45:42 +00:00
Fedora Release Engineering
153a5db59e Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 16:53:25 +00:00
DJ Delorie
6bd250bfdc Fix C99 compatibility issue
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>

Upstream commit:
266f0acf7f
2023-04-20 01:34:48 -04:00
Fedora Release Engineering
cb4f11ccdb Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 00:54:21 +00:00
Kalev Lember
e0d1e57a84 Avoid requires on systemd as well as per updated guidelines
Same as the previous commit, just in another spot that I missed at
first.
2022-08-18 18:27:51 +02:00
Kalev Lember
db25e25d11 Avoid systemd_requires as per updated packaging guidelines
There is no need to have them as systemd correctly handles reloading
depending on the transaction ordering (even if systemd is installed
_after_ the package that installs the unit file).
2022-08-05 12:03:49 +02:00
Simo Sorce
a64513daf1 Fix memory leak in digestmd5 patches
Signed-off-by: Simo Sorce <simo@redhat.com>
2022-08-01 08:36:24 -04:00
Fedora Release Engineering
b96caf4432 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 23:58:00 +00:00
Simo Sorce
7f6beb682b Use systemd sysusers to create saslauth user
Signed-off-by: Simo Sorce <simo@redhat.com>
2022-06-09 13:50:25 -04:00
Simo Sorce
de822fc001 Enable sasldb authentication mechanism
The sasldb authentication mechanism has been marked as experimental
for a long time but it's not an experimental nowadays and it's
officially recommended to use with cyrus-imapd server

Originally submitted by Pavel Zhukov

Signed-off-by: Simo Sorce <simo@redhat.com>
2022-06-09 13:42:21 -04:00
Simo Sorce
a1359a445d Fix changelog section with correct syntax
At least accoding to the docs I can find here
https://docs.pagure.org/Fedora-Infra.rpmautospec/opting-in.html

Signed-off-by: Simo Sorce <simo@redhat.com>
2022-05-11 13:08:39 -04:00
Simo Sorce
eba3ea5ff9 Update to 2.1.28
Fixes CVE-2022-24407
Drop patches that have been included (possibly modified) upstream
Adjust backports that upstream decided not to put in 2.1 but are
accepted in the master branch
Adjust backports that are still in PRs
Adjust downstream patches (migration to GDBM)

Signed-off-by: Simo Sorce <simo@redhat.com>
2022-02-23 14:19:57 -05:00
Simo Sorce
b22914608c Move to use autorelease macro
Signed-off-by: Simo Sorce <simo@redhat.com>
2022-02-23 14:17:39 -05:00
Simo Sorce
d09a799f59 Move to use the autochangelog macro
Signed-off-by: Simo Sorce <simo@redhat.com>
2022-02-23 14:17:02 -05:00
Jakub Jelen
619c2ca92b cyrus-sasl-2.1.27-18 2022-02-23 10:55:53 +01:00
Jakub Jelen
1722fea689 Fix CVE-2022-24407 (#2057334) 2022-02-23 10:54:58 +01:00
Fedora Release Engineering
dc7fe71dc5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 00:11:59 +00:00
Simo Sorce
8364dc0a7e Fix rpath patch
Resolves: rhbz#2012172
Signed-off-by: Simo Sorce <simo@redhat.com>
2021-10-12 08:55:37 -04:00
Simo Sorce
84a6dfd794 More openssl 3 compatibility and digestmd5 updates.
Signed-off-by: Simo Sorce <simo@redhat.com>
2021-10-06 11:57:26 -04:00
Sahana Prasad
fbe3977abf Rebuilt with OpenSSL 3.0.0 2021-09-14 19:00:10 +02:00
Dmitry Belyavskiy
370de217df Preserve GDBM error to correctly deal with GDBM sasldb
Related: rhbz#1952926
2021-08-10 14:56:31 +02:00
Fedora Release Engineering
5618652139 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 20:18:52 +00:00
Dmitry Belyavskiy
79706966b5 Use AC_CHECK_FILE instead of link 2021-05-04 16:22:42 +02:00
Dmitry Belyavskiy
c91728d8af Tools for migration of cyrus-sasl from BerkeleyDB to GDBM 2021-05-03 16:37:22 +02:00
Dmitry Belyavskiy
cfd0a1d04b Coverity-related changes 2021-05-03 16:15:40 +02:00
Simo Sorce
874e9fc816 Fix issues with autoconf 2.70+ 2021-04-06 08:54:18 -04:00
Zbigniew Jędrzejewski-Szmek
b53793e314 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:59 +01:00
Pavel Raiskup
bd858d0468 rebuild for libpq ABI fix
Related: rhbz#1908268
2021-02-08 09:24:01 +01:00
Fedora Release Engineering
98942066df - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:55:09 +00:00
Tom Stellard
0959edec22 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-19 05:30:15 +00:00
Fedora Release Engineering
e6b7240631 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:56:39 +00:00
Simo Sorce
b7f66a0622 Fix BuildRequires
Use the generic python3 provider so that the correct 'default' python3 binary
is installed regardless of the specific OS version.

Signed-off-by: Simo Sorce <simo@redhat.com>
2020-05-08 10:09:03 -04:00
Simo Sorce
3ea630231a Fix changelog date, sigh
Signed-off-by: Simo Sorce <simo@redhat.com>
2020-05-08 09:56:17 -04:00
Simo Sorce
73b857921a BAckport GSSAPI related fixes and features from master
Backport GSSAPI Channel Bindings support
Add support for setting maxssf=0 in GSS-SPNEGO
Reduce excessive GSSAPI plugin logging

Signed-off-by: Simo Sorce <simo@redhat.com>
2020-05-07 13:36:39 -04:00
Simo Sorce
46614e1be0 Fix CVE 2019 19906 2020-03-19 14:48:11 -04:00