Commit Graph

266 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Fedora Release Engineering
9396364d6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 15:16:08 +00:00
Fedora Release Engineering
13965dd63f - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 21:27:13 +00:00
Simo Sorce
9ce724bfec Add patch to use OpenSSL RC4 implementation
Upstream proposed as PR#559

Signed-off-by: Simo Sorce <simo@redhat.com>
2019-06-13 18:24:25 -04:00
Simo Sorce
09be16f01d Update to final 2.1.27 release
Signed-off-by: Simo Sorce <simo@redhat.com>
2019-06-13 18:24:02 -04:00
Fedora Release Engineering
9a2158fb9b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 16:42:53 +00:00
Igor Gnatenko
d780cb473f
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:38:46 +01:00
Björn Esser
e793667791
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 18:51:23 +01:00
Peter Robinson
923dba3ac5 Clean up remanents of sys-v, spec cleanups, config.sub arch bits now updated by %%configure script 2018-10-15 00:26:36 +01:00
Pavel Raiskup
336138390f BuildRequires: s/postgresql-devel/libpq-devel/
That's because we moved libpq.so.5 into libpq package.

Related: rhbz#1618698, rhbz#1623764
2018-09-05 15:06:30 +02:00
Jakub Jelen
1fa029b0f8 New upstream URL (#1622010) 2018-08-24 09:52:49 +02:00
Fedora Release Engineering
14ab572925 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 22:31:48 +00:00
Jason Tibbitts
a673b2a6f8 Remove needless use of %defattr 2018-07-10 00:36:00 -05:00
Jakub Jelen
5eb2c1eb13 cyrus-sasl-2.1.27-0.2rc7 2018-05-17 14:06:56 +02:00
Jakub Jelen
20d2e818f9 Restore the md5global patch to prevent multilib issues (#1577675) 2018-05-17 14:05:11 +02:00
Jakub Jelen
d434eb7634 Drop explicit LDFLAGS (%configure should take care of that) (#1548437) 2018-03-07 18:13:03 +01:00
Jakub Jelen
266fe37583 cyrus-sasl-2.1.27-0.1rc7 2018-03-05 12:47:31 +01:00
Jakub Jelen
020aac7621 Import LDFLAGS from redhat-rpm-config (#1548437) 2018-03-05 12:45:05 +01:00