update to 2.4.17 [release 2.4.17-1mamba;Tue May 27 2014]
This commit is contained in:
parent
71384a1c11
commit
d03c8256a5
@ -1,25 +1,38 @@
|
|||||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
Name: cyrus-imapd
|
Name: cyrus-imapd
|
||||||
Version: 2.3.16
|
Version: 2.4.17
|
||||||
Release: 4mamba
|
Release: 1mamba
|
||||||
Summary: An IMAP server
|
Summary: An IMAP server
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://asg.web.cmu.edu/cyrus/
|
URL: http://cyrusimap.org
|
||||||
Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-%{version}.tar.gz
|
Source0: ftp://ftp.cyrusimap.org/cyrus-imapd/cyrus-imapd-%{version}.tar.gz
|
||||||
Source1: imapd-conf
|
Source1: imapd-conf
|
||||||
Source2: imapd-initscript
|
Source2: imapd-initscript
|
||||||
Source3: imap-pam
|
Source3: imap-pam
|
||||||
Patch: %{name}-2.2.12-gcc4.patch
|
Patch: %{name}-2.2.12-gcc4.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
BuildRequires: perl-devel >= %{perl_major_ver}
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libdb47-devel
|
BuildRequires: libdb47-devel
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libe2fs-devel
|
||||||
BuildRequires: libsasl-devel
|
BuildRequires: libfl-devel
|
||||||
BuildRequires: libkrb5-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: net-snmp
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@ -59,10 +72,10 @@ Devel package for Cyrus IMAP.
|
|||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--with-cyrus-prefix=%{_libexecdir}/cyrus \
|
--with-cyrus-prefix=%{_libexecdir}/cyrus \
|
||||||
--with-bdb-incdir=%{_includedir}/db47 \
|
--with-bdb-incdir=%{_includedir}/db51 \
|
||||||
--with-cyrus-user=imap \
|
--with-cyrus-user=imap \
|
||||||
--with-cyrus-group=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/Makefile
|
||||||
sed -i 's|Makefile.PL PREFIX=\$(prefix)|Makefile.PL|' perl/sieve/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
|
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/imap
|
||||||
install -d %{buildroot}/var/spool/imap
|
install -d %{buildroot}/var/spool/imap
|
||||||
@ -182,6 +195,12 @@ exit 0
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Apr 09 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.16-4mamba
|
||||||
- rename master(8) man entry conflicting with postfix
|
- rename master(8) man entry conflicting with postfix
|
||||||
- fix files packaged into two packages
|
- fix files packaged into two packages
|
||||||
|
Loading…
Reference in New Issue
Block a user