update to 2.4.17 [release 2.4.17-1mamba;Tue May 27 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 21:37:39 +01:00
parent 71384a1c11
commit d03c8256a5

View File

@ -1,25 +1,38 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: cyrus-imapd
Version: 2.3.16
Release: 4mamba
Version: 2.4.17
Release: 1mamba
Summary: An IMAP server
Group: System/Servers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://asg.web.cmu.edu/cyrus/
Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-%{version}.tar.gz
URL: http://cyrusimap.org
Source0: ftp://ftp.cyrusimap.org/cyrus-imapd/cyrus-imapd-%{version}.tar.gz
Source1: imapd-conf
Source2: imapd-initscript
Source3: imap-pam
Patch: %{name}-2.2.12-gcc4.patch
License: GPL
BuildRequires: perl-devel >= %{perl_major_ver}
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdb47-devel
BuildRequires: libopenssl-devel
BuildRequires: libsasl-devel
BuildRequires: libe2fs-devel
BuildRequires: libfl-devel
BuildRequires: libkrb5-devel
BuildRequires: libnetsnmp-devel
BuildRequires: libnl1-devel
BuildRequires: libopenssl-devel
BuildRequires: libpci-devel
BuildRequires: libpcre-devel
BuildRequires: libperl
BuildRequires: libsasl-devel
BuildRequires: libwrap-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl-devel >= %{perl_major_ver}
BuildRequires: net-snmp
BuildRequires: bison
BuildRequires: flex
@ -59,10 +72,10 @@ Devel package for Cyrus IMAP.
%build
%configure \
--with-cyrus-prefix=%{_libexecdir}/cyrus \
--with-bdb-incdir=%{_includedir}/db47 \
--with-bdb-incdir=%{_includedir}/db51 \
--with-cyrus-user=imap \
--with-cyrus-group=imap \
--with-bdb=db-4.7
--with-bdb=db-5.1
sed -i 's|Makefile.PL PREFIX=\$(prefix)|Makefile.PL|' perl/Makefile
sed -i 's|Makefile.PL PREFIX=\$(prefix)|Makefile.PL|' perl/sieve/Makefile
@ -81,7 +94,7 @@ install -m 644 -D %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/imap
install -m 644 master/conf/normal.conf %{buildroot}%{_sysconfdir}/cyrus.conf
cp tools/mkimap %{buildroot}/usr/libexec/cyrus/bin
cp tools/mkimap %{buildroot}%{_libexecdir}/cyrus/bin
install -d %{buildroot}/var/imap
install -d %{buildroot}/var/spool/imap
@ -182,6 +195,12 @@ exit 0
%defattr(-,root,root)
%changelog
* Tue May 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.17-1mamba
- update to 2.4.17
* Tue May 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.16-5mamba
- rebuilt with libnetsnmp 5.7.2
* Mon Apr 09 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.16-4mamba
- rename master(8) man entry conflicting with postfix
- fix files packaged into two packages