|
|
|
|
@ -33,7 +33,10 @@ Distribution: OpenPKG [EVAL]
|
|
|
|
|
Group: Mail |
|
|
|
|
License: BSD |
|
|
|
|
Version: 2.1.12 |
|
|
|
|
Release: 20030311 |
|
|
|
|
Release: 20030408 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_vhost_hack no |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-%{version}.tar.gz |
|
|
|
|
@ -41,6 +44,7 @@ Source1: rc.imapd
|
|
|
|
|
Source2: cyrus.conf |
|
|
|
|
Source3: imapd.conf |
|
|
|
|
Patch0: imapd.patch |
|
|
|
|
Patch1: vhosthack.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
@ -97,6 +101,11 @@ Provides: IMAP
|
|
|
|
|
-e "s;^\(\$sievedir = \"\).*$;\1$RPM_BUILD_ROOT%{l_prefix}/var/imapd/sieve\"\;;" \ |
|
|
|
|
tools/mkimap |
|
|
|
|
|
|
|
|
|
%if "%{with_vhost_hack}" == "yes" |
|
|
|
|
# allow @ in LMTP mailbox names |
|
|
|
|
%{l_patch} -p0 < %{SOURCE vhosthack.patch} |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
cflags="-I%{l_prefix}/include" |
|
|
|
|
ldflags="-L%{l_prefix}/lib" |
|
|
|
|
|