rebuilt with libdb53 [release 2.1.28-2mamba;Sun Apr 24 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 21:37:54 +01:00
parent 3c192f20f7
commit c3d0fb5ffd

View File

@ -1,15 +1,15 @@
%define saslauth_groupid 65439
%define saslauth_userid 65439
Name: cyrus-sasl
Version: 2.1.27
Release: 1mamba
Version: 2.1.28
Release: 2mamba
Summary: SASL Authentication Daemon for simple authentication and security
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://asg.web.cmu.edu/sasl/
Source0: ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-%{version}.tar.gz
URL: https://github.com/cyrusimap/cyrus-sasl
Source0: https://github.com/cyrusimap/cyrus-sasl.git/cyrus-sasl-%{version}/cyrus-sasl-%{version}.tar.bz2
Source1: saslauthd.service
Source2: saslauthd.tmpfiles
Source3: saslauthd.sysconfig
@ -21,21 +21,20 @@ Patch4: cyrus-sasl-2.1.26-missing-include.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdb51-devel
BuildRequires: libaudit-devel
BuildRequires: libcap-ng-devel
BuildRequires: libdb53-devel
BuildRequires: libe2fs-devel
BuildRequires: libkrb5-devel
%if "%{stage1}" != "1"
BuildRequires: libopenldap-devel
%endif
BuildRequires: libopenssl-devel
BuildRequires: pam-devel
BuildRequires: libpam-devel
## AUTOBUILDREQ-END
Requires: pam >= 0.77
%systemd_requires
Provides: sasl
Obsoletes: sasl
Obsoletes: sasl < 2.1.27
Requires: libsasl2 = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.
@ -46,7 +45,7 @@ If its use is negotiated, a security layer is inserted between the protocol and
Group: System/Libraries
Summary: Libraries for SASL, the Simple Authentication and Security Layer
Provides: libsasl
Obsoletes: libsasl
Obsoletes: libsasl < 2.1.27
%description -n libsasl2
SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.
@ -59,29 +58,31 @@ Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: libsasl2 = %{version}-%{release}
Provides: libsasl-devel
Obsoletes: libsasl-devel
Obsoletes: libsasl-devel < 2.1.27
%description -n libsasl2-devel
SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.
To use SASL, a protocol includes a command for identifying and authenticating a user to a server and for optionally negotiating protection of subsequent protocol interactions.
If its use is negotiated, a security layer is inserted between the protocol and the connection.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q -n cyrus-sasl-%{version}
%setup -q
#%patch0 -p1
#%patch1 -p1
#%patch2 -p0
#%patch3 -p0
#%patch4 -p1
sed -i "s|db-4.7|db-5.1|" configure
#sed -i "s|db-4.7|db-5.1|" configure
./autogen.sh
%build
# replace the hardcoded occorrences of `/usr/local/{lib,include}'
# we don't want to see RPATH="/usr/local/lib" in
# '/usr/sbin/sasldblistusers2` and '/usr/sbin/saslpasswd2'
sed -i 's,/usr/local/,/usr/,g' configure
#sed -i 's,/usr/local/,/usr/,g' configure
%configure \
--enable-anon \
--enable-login \
@ -96,7 +97,7 @@ sed -i 's,/usr/local/,/usr/,g' configure
--with-saslauthd=/run/saslauthd \
--with-plugindir=%{_libdir}/sasl2 \
--cache-file= \
--with-bdb-incdir=%{_includedir}/db51
--with-bdb-incdir=%{_includedir}/db53
make
@ -163,6 +164,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%{_mandir}/man8/pluginviewer.8*
%{_mandir}/man8/sasldblistusers2.8*
%{_mandir}/man8/saslpasswd2.8*
%{_mandir}/man8/testsaslauthd.8*
%files -n libsasl2
%defattr(-,root,root)
@ -184,6 +186,12 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%doc ChangeLog README
%changelog
* Sun Apr 24 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.28-2mamba
- rebuilt with libdb53
* Wed Apr 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.28-1mamba
- update to 2.1.28
* Sun Nov 25 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.27-1mamba
- update to 2.1.27