1 | Name: cyrus-imapd |
---|
2 | Version: 2.4.17 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | |
---|
5 | %define ssl_pem_file %{_sysconfdir}/pki/%{name}/%{name}.pem |
---|
6 | |
---|
7 | # uid/gid reserved, see setup:/usr/share/doc/setup*/uidgid |
---|
8 | %define uid 76 |
---|
9 | %define gid 76 |
---|
10 | |
---|
11 | %define _cyrususer cyrus |
---|
12 | %define _cyrusgroup mail |
---|
13 | %define _cyrexecdir %{_exec_prefix}/lib/%{name} |
---|
14 | |
---|
15 | Summary: A high-performance mail server with IMAP, POP3, NNTP and SIEVE support |
---|
16 | Summary(ja): IMAP, POP3, NNTP, SIEVE をサポートする高パフォーマンスのメールサーバ |
---|
17 | |
---|
18 | License: BSD |
---|
19 | Group: System Environment/Daemons |
---|
20 | URL: http://www.cyrusimap.org/ |
---|
21 | |
---|
22 | Source0: ftp://ftp.cyrusimap.org/cyrus-imapd/%{name}-%{version}.tar.gz |
---|
23 | Source1: cyrus-imapd.logrotate |
---|
24 | Source2: cyrus-imapd.imap-2.3.x-conf |
---|
25 | Source3: cyrus-imapd.pam-config |
---|
26 | Source7: cyrus-imapd.sysconfig |
---|
27 | Source8: cyrus-imapd.cvt_cyrusdb_all |
---|
28 | Source9: cyrus-imapd.magic |
---|
29 | Source10: cyrus-imapd.cron-daily |
---|
30 | Source11: README.rpm |
---|
31 | |
---|
32 | # Vine |
---|
33 | # init.d support |
---|
34 | Source100: cyrus-imapd.init |
---|
35 | Source101: cyrus-imapd.db.cfg |
---|
36 | |
---|
37 | Patch3: http://www.oakton.edu/~jwade/cyrus/cyrus-imapd-2.1.3/cyrus-imapd-2.1.3-flock.patch |
---|
38 | |
---|
39 | Patch4: cyrus-imapd-2.3.1-authid_normalize.patch |
---|
40 | |
---|
41 | # fedora/rhel specific, find current db lib, rhbz#461875 |
---|
42 | Patch6: cyrus-imapd-2.3.12p2-current-db.patch |
---|
43 | |
---|
44 | # for c-i <= 2.4.12 |
---|
45 | Patch8: cyrus-imapd-2.4.12-debugopt.patch |
---|
46 | |
---|
47 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
48 | BuildRequires: autoconf |
---|
49 | BuildRequires: cyrus-sasl-devel |
---|
50 | BuildRequires: perl |
---|
51 | BuildRequires: tcp_wrappers |
---|
52 | BuildRequires: libdb-devel |
---|
53 | BuildRequires: openssl-devel |
---|
54 | BuildRequires: pkgconfig |
---|
55 | BuildRequires: flex |
---|
56 | BuildRequires: bison |
---|
57 | BuildRequires: groff |
---|
58 | BuildRequires: automake |
---|
59 | BuildRequires: openldap-devel |
---|
60 | BuildRequires: krb5-devel |
---|
61 | BuildRequires: net-snmp-devel |
---|
62 | BuildRequires: transfig |
---|
63 | BuildRequires: ghostscript |
---|
64 | BuildRequires: rpm-devel |
---|
65 | |
---|
66 | Requires: %{name}-utils = %{version}-%{release} |
---|
67 | Requires: file, libdb-utils |
---|
68 | |
---|
69 | Requires(pre): coreutils shadow-utils /sbin/service |
---|
70 | Requires(post): e2fsprogs perl grep coreutils findutils /sbin/chkconfig |
---|
71 | Requires(postun): shadow-utils grep /sbin/service |
---|
72 | Requires(preun): /sbin/service /sbin/chkconfig |
---|
73 | |
---|
74 | Vendor: Project Vine |
---|
75 | Distribution: Vine Linux |
---|
76 | |
---|
77 | %{?perl_default_filter} |
---|
78 | |
---|
79 | |
---|
80 | %description |
---|
81 | The %{name} package contains the core of the Cyrus IMAP server. |
---|
82 | It is a scaleable enterprise mail system designed for use from |
---|
83 | small to large enterprise environments using standards-based |
---|
84 | internet mail technologies. |
---|
85 | |
---|
86 | A full Cyrus IMAP implementation allows a seamless mail and bulletin |
---|
87 | board environment to be set up across multiple servers. It differs from |
---|
88 | other IMAP server implementations in that it is run on "sealed" |
---|
89 | servers, where users are not normally permitted to log in and have no |
---|
90 | system account on the server. The mailbox database is stored in parts |
---|
91 | of the file system that are private to the Cyrus IMAP server. All user |
---|
92 | access to mail is through software using the IMAP, POP3 or KPOP |
---|
93 | protocols. It also includes support for virtual domains, NNTP, |
---|
94 | mailbox annotations, and much more. The private mailbox database design |
---|
95 | gives the server large advantages in efficiency, scalability and |
---|
96 | administratability. Multiple concurrent read/write connections to the |
---|
97 | same mailbox are permitted. The server supports access control lists on |
---|
98 | mailboxes and storage quotas on mailbox hierarchies. |
---|
99 | |
---|
100 | The Cyrus IMAP server supports the IMAP4rev1 protocol described |
---|
101 | in RFC 3501. IMAP4rev1 has been approved as a proposed standard. |
---|
102 | It supports any authentication mechanism available from the SASL |
---|
103 | library, imaps/pop3s/nntps (IMAP/POP3/NNTP encrypted using SSL and |
---|
104 | TLSv1) can be used for security. The server supports single instance |
---|
105 | store where possible when an email message is addressed to multiple |
---|
106 | recipients, SIEVE provides server side email filtering. |
---|
107 | |
---|
108 | %description -l ja |
---|
109 | Cyrus-IMAP サーバは基本的な技術を用い、小規模から大規模なエンタープライズ用途 |
---|
110 | で利用できるよう設計された、スケーラブルなメールシステムです。 |
---|
111 | |
---|
112 | Cyrus-IMAP の実装は複数のサーバに渡り、シームレスなメールおよび掲示板システムを |
---|
113 | 提供します。他の IMAP サーバと異なり、本サーバは通常はログインが許されない |
---|
114 | ユーザ権限の下で閉じたサーバとして働きます。メールボックスデータベースは |
---|
115 | Cyrus-IMAP システムのプライベートファイルとして保存されます。全てのユーザは |
---|
116 | IMAP, POP3, KPOP プロトコルを通してのみメールにアクセスできます。セキュリティ |
---|
117 | のために TLSv1 と SSL をサポートしています。 |
---|
118 | |
---|
119 | %package murder |
---|
120 | Summary: Cyrus IMAP server murder aggregator system files. |
---|
121 | Group: System Environment/Daemons |
---|
122 | Requires: %{name} = %{version}-%{release} |
---|
123 | |
---|
124 | %description murder |
---|
125 | The %{name}-murder package contains the Cyrus murder aggregator system, |
---|
126 | i.e. IMAP, POP3 and LMTP proxies, and the mupdate mailbox master daemon. |
---|
127 | It allows for cluster setups where there are many backend Cyrus spools |
---|
128 | and frontend proxy servers. |
---|
129 | |
---|
130 | %package nntp |
---|
131 | Summary: Cyrus IMAP server NNTP system files. |
---|
132 | Group: System Environment/Daemons |
---|
133 | Requires: %{name} = %{version}-%{release} |
---|
134 | |
---|
135 | %description nntp |
---|
136 | The %{name}-nntp package contains the Cyrus NNTP server component. |
---|
137 | Cyrus has the ability to export Usenet via IMAP and/or export shared IMAP |
---|
138 | mailboxes via NNTP. This is made possible by a new NNTP daemon which is |
---|
139 | included with Cyrus. |
---|
140 | |
---|
141 | %package devel |
---|
142 | Summary: Cyrus IMAP server development files. |
---|
143 | Summary(ja): Cyrus IMAP サーバーの開発用ファイル |
---|
144 | Group: Development/Libraries |
---|
145 | Requires: %{name} = %{version}-%{release} |
---|
146 | |
---|
147 | %description devel |
---|
148 | The %{name}-devel package contains header files and libraries |
---|
149 | necessary for developing applications which use the imclient library. |
---|
150 | |
---|
151 | %package -n perl-Cyrus |
---|
152 | Summary: Cyrus IMAP server utility Perl modules. |
---|
153 | Group: Development/Libraries |
---|
154 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
155 | |
---|
156 | %description -n perl-Cyrus |
---|
157 | The perl-Cyrus package contains Perl modules necessary to use the |
---|
158 | Cyrus IMAP server administration utilities. |
---|
159 | |
---|
160 | %package utils |
---|
161 | Group: Applications/System |
---|
162 | Summary: Cyrus IMAP server administration utilities. |
---|
163 | Requires: perl-Cyrus = %{version}-%{release} |
---|
164 | Requires(pre): shadow-utils |
---|
165 | Requires(post): grep, coreutils, make, openssl |
---|
166 | Requires(postun): shadow-utils |
---|
167 | |
---|
168 | %description utils |
---|
169 | The %{name}-utils package contains administrative tools for the |
---|
170 | Cyrus IMAP server. It can be installed on systems other than the |
---|
171 | one running the server. |
---|
172 | |
---|
173 | %prep |
---|
174 | %setup -q |
---|
175 | %patch3 -p1 -b .flock |
---|
176 | %patch4 -p1 -b .authid_normalize |
---|
177 | %patch6 -p1 -b .libdb |
---|
178 | %patch8 -p1 -b .debugopt |
---|
179 | |
---|
180 | install -m 644 %{SOURCE11} doc/ |
---|
181 | |
---|
182 | # only to update config.* files |
---|
183 | automake -a -f -c || : |
---|
184 | aclocal -I cmulocal |
---|
185 | autoheader |
---|
186 | autoconf -f |
---|
187 | |
---|
188 | # Modify docs master --> cyrus-master |
---|
189 | %{__perl} -pi -e "s@master\(8\)@cyrus-master(8)@" man/*5 man/*8 lib/imapoptions |
---|
190 | sed -i -e 's|\([^-]\)master|\1cyrus-master|g;s|^master|cyrus-master|g;s|Master|Cyrus-master|g;s|MASTER|CYRUS-MASTER|g' \ |
---|
191 | man/master.8 doc/man.html |
---|
192 | |
---|
193 | # Modify path in perl scripts |
---|
194 | find . -type f -name "*.pl" | xargs %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" |
---|
195 | |
---|
196 | # modify lmtp socket path in .conf files |
---|
197 | %{__perl} -pi -e "s@/var/imap/@%{_var}/lib/imap/@" master/conf/*.conf doc/cyrusv2.mc |
---|
198 | |
---|
199 | # enable idled in .conf files to prevent error messages |
---|
200 | %{__perl} -pi -e "s/# idled/ idled/" master/conf/*.conf |
---|
201 | |
---|
202 | # Fix permissions on perl programs |
---|
203 | find . -type f -name "*.pl" -exec chmod 755 {} \; |
---|
204 | |
---|
205 | |
---|
206 | %build |
---|
207 | %global _hardened_build 1 |
---|
208 | |
---|
209 | CPPFLAGS="%{optflags} -I%{_includedir}/et -I%{_includedir}/krb5 -fno-strict-aliasing -fPIC"; export CPPFLAGS |
---|
210 | CFLAGS="%{optflags} -fno-strict-aliasing -fPIC"; export CFLAGS |
---|
211 | CCDLFLAGS="-rdynamic"; export CCDLFLAGS |
---|
212 | LDFLAGS="-Wl,-z,now -Wl,-z,relro" |
---|
213 | %ifnarch ppc ppc64 |
---|
214 | LDFLAGS="$LDFLAGS -pie"; export LDFLAGS |
---|
215 | %endif |
---|
216 | |
---|
217 | %configure \ |
---|
218 | --enable-netscapehack \ |
---|
219 | --enable-idled \ |
---|
220 | --with-ldap=/usr \ |
---|
221 | --with-snmp \ |
---|
222 | --enable-murder \ |
---|
223 | --enable-replication \ |
---|
224 | --enable-nntp \ |
---|
225 | --with-perl=%{__perl} \ |
---|
226 | --with-cyrus-prefix=%{_cyrexecdir} \ |
---|
227 | --with-service-path=%{_cyrexecdir} \ |
---|
228 | --with-bdb-incdir=%{_includedir}/libdb \ |
---|
229 | --with-extraident="Vine-RPM-%{version}-%{release}" \ |
---|
230 | --with-syslogfacility=MAIL \ |
---|
231 | --with-krbimpl=mit |
---|
232 | # --enable-listext \ |
---|
233 | |
---|
234 | make -C man -f Makefile.dist |
---|
235 | make -C doc -f Makefile.dist |
---|
236 | make LDFLAGS="$LDFLAGS -pie" |
---|
237 | make -C notifyd notifytest |
---|
238 | |
---|
239 | %install |
---|
240 | [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} |
---|
241 | |
---|
242 | # This is needed to install the perl files correctly |
---|
243 | pushd perl/imap |
---|
244 | %{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor |
---|
245 | popd |
---|
246 | pushd perl/sieve/managesieve |
---|
247 | %{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor |
---|
248 | popd |
---|
249 | |
---|
250 | # Do what the regular make install does |
---|
251 | make install DESTDIR=%{buildroot} PREFIX=%{_prefix} mandir=%{_mandir} |
---|
252 | make -C man install DESTDIR=%{buildroot} PREFIX=%{_prefix} mandir=%{_mandir} |
---|
253 | |
---|
254 | install -m 755 imtest/imtest %{buildroot}%{_bindir}/ |
---|
255 | install -m 755 notifyd/notifytest %{buildroot}%{_bindir}/ |
---|
256 | install -m 755 perl/imap/cyradm %{buildroot}%{_bindir}/ |
---|
257 | |
---|
258 | # Install tools |
---|
259 | for tool in tools/* ; do |
---|
260 | test -f ${tool} && install -m 755 ${tool} %{buildroot}%{_cyrexecdir}/ |
---|
261 | done |
---|
262 | |
---|
263 | # Create directories |
---|
264 | %{__install} -d \ |
---|
265 | %{buildroot}%{_sysconfdir}/{rc.d/init.d,logrotate.d,pam.d,sysconfig,cron.daily} \ |
---|
266 | %{buildroot}%{_libdir}/sasl \ |
---|
267 | %{buildroot}%{_var}/spool/imap \ |
---|
268 | %{buildroot}%{_var}/lib/imap/{user,quota,proc,log,msg,socket,db,sieve,sync,md5,rpm,backup,meta} \ |
---|
269 | %{buildroot}%{_var}/lib/imap/ptclient \ |
---|
270 | %{buildroot}%{_datadir}/%{name}/rpm \ |
---|
271 | %{buildroot}%{_sysconfdir}/pki/%{name} \ |
---|
272 | doc/contrib |
---|
273 | |
---|
274 | # Install additional files |
---|
275 | install -m 755 %{SOURCE8} %{buildroot}%{_cyrexecdir}/cvt_cyrusdb_all |
---|
276 | install -m 644 %{SOURCE9} %{buildroot}%{_datadir}/%{name}/rpm/magic |
---|
277 | install -p -m 644 master/conf/prefork.conf %{buildroot}%{_sysconfdir}/cyrus.conf |
---|
278 | install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/imapd.conf |
---|
279 | install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/pop |
---|
280 | install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/imap |
---|
281 | install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/sieve |
---|
282 | install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/mupdate |
---|
283 | install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/lmtp |
---|
284 | install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/nntp |
---|
285 | install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/csync |
---|
286 | install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} |
---|
287 | install -p -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/sysconfig/%{name} |
---|
288 | install -p -m 755 %{SOURCE10} %{buildroot}%{_sysconfdir}/cron.daily/%{name} |
---|
289 | |
---|
290 | %{__install} -m 755 %{SOURCE100} %{buildroot}%{_sysconfdir}/rc.d/init.d/%{name} |
---|
291 | %{__sed} -i -e 's,__LIB__,/usr/lib,g' %{buildroot}%{_sysconfdir}/rc.d/init.d/%{name} |
---|
292 | |
---|
293 | #install -p -D -m 644 %{SOURCE12} %{buildroot}%{_unitdir}/cyrus-imapd.service |
---|
294 | #install -p -D -m 755 %{SOURCE13} %{buildroot}%{_cyrexecdir}/cyr_systemd_helper |
---|
295 | |
---|
296 | %{__install} -m 644 %{SOURCE101} %{buildroot}%{_datadir}/%{name}/rpm/db.cfg |
---|
297 | |
---|
298 | # Cleanup of doc dir |
---|
299 | find doc perl -name CVS -type d -prune -exec rm -rf {} \; |
---|
300 | find doc perl -name .cvsignore -type f -exec rm -f {} \; |
---|
301 | rm -f doc/Makefile.dist* |
---|
302 | rm -f doc/text/htmlstrip.c |
---|
303 | rm -f doc/text/Makefile |
---|
304 | rm -rf doc/man |
---|
305 | |
---|
306 | # fix permissions on perl .so files |
---|
307 | find %{buildroot}%{_libdir}/perl5/ -type f -name "*.so" -exec chmod 755 {} \; |
---|
308 | |
---|
309 | # fix conflicts with uw-imap |
---|
310 | mv %{buildroot}%{_mandir}/man8/imapd.8 %{buildroot}%{_mandir}/man8/imapd.8cyrus |
---|
311 | mv %{buildroot}%{_mandir}/man8/pop3d.8 %{buildroot}%{_mandir}/man8/pop3d.8cyrus |
---|
312 | |
---|
313 | # Install templates |
---|
314 | install -m 755 -d doc/conf |
---|
315 | install -m 644 master/conf/*.conf doc/conf/ |
---|
316 | |
---|
317 | # Generate db config file |
---|
318 | #( grep '^{' lib/imapoptions | grep _db | cut -d'"' -f 2,4 | \ |
---|
319 | # sed -e 's/^ *//' -e 's/-nosync//' -e 's/ *$//' -e 's/"/=/' |
---|
320 | # echo sieve_version=2.2.3 ) | sort > %{buildroot}%{_datadir}/%{name}/rpm/db.cfg |
---|
321 | |
---|
322 | # create the ghost pem file |
---|
323 | touch %{buildroot}%{ssl_pem_file} |
---|
324 | |
---|
325 | # Rename 'master' binary and manpage to avoid crash with postfix |
---|
326 | mv -f %{buildroot}%{_cyrexecdir}/master %{buildroot}%{_cyrexecdir}/cyrus-master |
---|
327 | mv -f %{buildroot}%{_mandir}/man8/master.8 %{buildroot}%{_mandir}/man8/cyrus-master.8 |
---|
328 | |
---|
329 | # Rename 'fetchnews' binary and manpage to avoid clash with leafnode |
---|
330 | mv -f %{buildroot}%{_cyrexecdir}/fetchnews %{buildroot}%{_cyrexecdir}/cyrfetchnews |
---|
331 | mv -f %{buildroot}%{_mandir}/man8/fetchnews.8 %{buildroot}%{_mandir}/man8/cyrfetchnews.8 |
---|
332 | %{__perl} -pi -e 's|fetchnews|cyrfetchnews|g;s|Fetchnews|Cyrfetchnews|g;s/FETCHNEWS/CYRFETCHNEWS/g' \ |
---|
333 | %{buildroot}%{_mandir}/man8/cyrfetchnews.8 |
---|
334 | |
---|
335 | #remove executable bit from docs |
---|
336 | for ddir in doc perl/imap/examples |
---|
337 | do |
---|
338 | find $ddir -type f -exec chmod -x {} \; |
---|
339 | done |
---|
340 | |
---|
341 | # Remove installed but not packaged files |
---|
342 | rm -f %{buildroot}%{_cyrexecdir}/not-mkdep |
---|
343 | rm -f %{buildroot}%{_cyrexecdir}/config2header* |
---|
344 | rm -f %{buildroot}%{_cyrexecdir}/config2man |
---|
345 | rm -f %{buildroot}%{_cyrexecdir}/pop3proxyd |
---|
346 | find %{buildroot} -name "perllocal.pod" -exec rm -f {} \; |
---|
347 | find %{buildroot} -name ".packlist" -exec rm -f {} \; |
---|
348 | rm -f %{buildroot}%{_mandir}/man8/syncnews.8* |
---|
349 | find %{buildroot}%{perl_vendorarch} -name "*.bs" -exec rm -f {} \; |
---|
350 | |
---|
351 | |
---|
352 | %clean |
---|
353 | [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} |
---|
354 | |
---|
355 | %pre |
---|
356 | # Create 'cyrus' user on target host |
---|
357 | getent group saslauth >/dev/null || /usr/sbin/groupadd -g %{gid} -r saslauth |
---|
358 | getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d %{_var}/lib/imap -g %{_cyrusgroup} \ |
---|
359 | -G saslauth -s /sbin/nologin -u %{uid} -r %{_cyrususer} |
---|
360 | |
---|
361 | # Let postun know whether cyrus-imapd was running |
---|
362 | if [ -e /var/lock/subsys/cyrus-imapd ]; then |
---|
363 | /sbin/service %{name} stop >/dev/null 2>&1 || : |
---|
364 | touch /var/lock/subsys/cyrus-imapd |
---|
365 | fi |
---|
366 | |
---|
367 | %post |
---|
368 | /sbin/chkconfig --add %{name} |
---|
369 | |
---|
370 | # Force synchronous updates, usually only on ext2 filesystems |
---|
371 | for i in %{_var}/lib/imap/{user,quota} %{_var}/spool/imap |
---|
372 | do |
---|
373 | if [ "$(find $i -maxdepth 0 -printf %%F)" = "ext2" ]; then |
---|
374 | chattr -R +S $i 2>/dev/null ||: |
---|
375 | fi |
---|
376 | done |
---|
377 | |
---|
378 | if [ ! -f %{ssl_pem_file} ]; then |
---|
379 | pushd %{_sysconfdir}/pki/tls/certs |
---|
380 | umask 077 |
---|
381 | cat << EOF | make %{name}.pem |
---|
382 | -- |
---|
383 | SomeState |
---|
384 | SomeCity |
---|
385 | SomeOrganization |
---|
386 | SomeOrganizationalUnit |
---|
387 | localhost.localdomain |
---|
388 | root@localhost.localdomain |
---|
389 | EOF |
---|
390 | chown root.%{_cyrusgroup} %{name}.pem |
---|
391 | chmod 640 %{name}.pem |
---|
392 | mv %{name}.pem %{ssl_pem_file} |
---|
393 | popd |
---|
394 | fi |
---|
395 | |
---|
396 | # Add service entries if necessary |
---|
397 | if ! %{__grep} -q ^lmtp %{_sysconfdir}/services; then |
---|
398 | echo -e 'lmtp\t\t24/tcp\t\t\t\t# LMTP Mail Delivery over TCP' >> %{_sysconfdir}/services |
---|
399 | echo -e 'lmtp\t\t24/udp\t\t\t\t# LMTP Mail Delivery over TCP' >> %{_sysconfdir}/services |
---|
400 | fi |
---|
401 | if ! %{__grep} -q ^nntps %{_sysconfdir}/services; then |
---|
402 | echo -e 'nntps\t\t563/tcp\t\t\t\t# NNTP over SSL' >> %{_sysconfdir}/services |
---|
403 | echo -e 'nntps\t\t563/udp\t\t\t\t# NNTP over SSL' >> %{_sysconfdir}/services |
---|
404 | fi |
---|
405 | if ! %{__grep} -q ^pop3s %{_sysconfdir}/services; then |
---|
406 | echo -e 'pop3s\t\t995/tcp\t\t\t\t# POP-3 over SSL' >> %{_sysconfdir}/services |
---|
407 | echo -e 'pop3s\t\t995/udp\t\t\t\t# POP-3 over SSL' >> %{_sysconfdir}/services |
---|
408 | fi |
---|
409 | if ! %{__grep} -q ^imaps %{_sysconfdir}/services; then |
---|
410 | echo -e 'imaps\t\t993/tcp\t\t\t\t# IMAP over SSL' >> %{_sysconfdir}/services |
---|
411 | echo -e 'imaps\t\t993/udp\t\t\t\t# IMAP over SSL' >> %{_sysconfdir}/services |
---|
412 | fi |
---|
413 | if ! %{__grep} -q ^sieve %{_sysconfdir}/services; then |
---|
414 | echo -e 'sieve\t\t2000/tcp\t\t\t# Sieve Mail Filter Daemon' >> %{_sysconfdir}/services |
---|
415 | echo -e 'sieve\t\t2000/udp\t\t\t# Sieve Mail Filter Daemon' >> %{_sysconfdir}/services |
---|
416 | fi |
---|
417 | if ! %{__grep} -q ^fud %{_sysconfdir}/services; then |
---|
418 | echo -e 'fud\t\t4201/udp\t\t\t# Cyrus IMAP FUD Daemon' >> %{_sysconfdir}/services |
---|
419 | fi |
---|
420 | |
---|
421 | # "ctl_deliver -E" is deprecated, now is "cyr_expire -E" |
---|
422 | if grep -q "ctl_deliver *-E" %{_sysconfdir}/cyrus.conf ; then |
---|
423 | %{__perl} -pi -e "s/ctl_deliver *-E/cyr_expire -E/" %{_sysconfdir}/cyrus.conf |
---|
424 | fi |
---|
425 | |
---|
426 | %preun |
---|
427 | if [ $1 = 0 ]; then |
---|
428 | /sbin/service %{name} stop >/dev/null 2>&1 || : |
---|
429 | /sbin/chkconfig --del %{name} |
---|
430 | %{__rm} -f %{_vardata}/socket/lmtp 2> /dev/null |
---|
431 | fi |
---|
432 | |
---|
433 | %postun |
---|
434 | if [ $1 = 0 ]; then |
---|
435 | /usr/sbin/userdel %{_cyrususer} 2> /dev/null || : |
---|
436 | if [ "$(%{__grep} ^%{_saslgroup}: %{_sysconfdir}/group | cut -d: -f4-)" = "" ]; then |
---|
437 | /usr/sbin/groupdel %{_saslgroup} 2> /dev/null || : |
---|
438 | fi |
---|
439 | else |
---|
440 | /sbin/service %{name} condrestart >/dev/null 2>&1 || : |
---|
441 | fi |
---|
442 | |
---|
443 | %files |
---|
444 | %defattr(-,root,root,-) |
---|
445 | %doc COPYRIGHT README |
---|
446 | %doc doc/* |
---|
447 | %config(noreplace) %{_sysconfdir}/cyrus.conf |
---|
448 | %config(noreplace) %{_sysconfdir}/imapd.conf |
---|
449 | %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} |
---|
450 | %config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
---|
451 | %config(noreplace) %{_sysconfdir}/pam.d/pop |
---|
452 | %config(noreplace) %{_sysconfdir}/pam.d/imap |
---|
453 | %config(noreplace) %{_sysconfdir}/pam.d/sieve |
---|
454 | %config(noreplace) %{_sysconfdir}/pam.d/lmtp |
---|
455 | %config(noreplace) %{_sysconfdir}/pam.d/csync |
---|
456 | %{_sysconfdir}/cron.daily/%{name} |
---|
457 | %{_sysconfdir}/rc.d/init.d/%{name} |
---|
458 | #{_unitdir}/cyrus-imapd.service |
---|
459 | %dir %{_cyrexecdir} |
---|
460 | #{_cyrexecdir}/cyr_systemd_helper |
---|
461 | %{_cyrexecdir}/arbitron |
---|
462 | %{_cyrexecdir}/arbitronsort.pl |
---|
463 | %{_cyrexecdir}/chk_cyrus |
---|
464 | %{_cyrexecdir}/convert-sieve.pl |
---|
465 | %{_cyrexecdir}/cyr_df |
---|
466 | %{_cyrexecdir}/ctl_cyrusdb |
---|
467 | %{_cyrexecdir}/ctl_deliver |
---|
468 | %{_cyrexecdir}/ctl_mboxlist |
---|
469 | %{_cyrexecdir}/cvt_cyrusdb |
---|
470 | %{_cyrexecdir}/cyr_dbtool |
---|
471 | %{_cyrexecdir}/cyr_expire |
---|
472 | %{_cyrexecdir}/cyr_sequence |
---|
473 | %{_cyrexecdir}/cyr_synclog |
---|
474 | %{_cyrexecdir}/cyr_userseen |
---|
475 | %{_cyrexecdir}/cyrdump |
---|
476 | %{_cyrexecdir}/cyrus-master |
---|
477 | %{_cyrexecdir}/deliver |
---|
478 | %{_cyrexecdir}/dohash |
---|
479 | %{_cyrexecdir}/fud |
---|
480 | %{_cyrexecdir}/imapd |
---|
481 | %{_cyrexecdir}/ipurge |
---|
482 | %{_cyrexecdir}/lmtpd |
---|
483 | %{_cyrexecdir}/masssievec |
---|
484 | %{_cyrexecdir}/mbexamine |
---|
485 | %{_cyrexecdir}/mbpath |
---|
486 | %{_cyrexecdir}/migrate-metadata |
---|
487 | %{_cyrexecdir}/mkimap |
---|
488 | %{_cyrexecdir}/mknewsgroups |
---|
489 | %{_cyrexecdir}/mupdate-loadgen.pl |
---|
490 | %{_cyrexecdir}/notifyd |
---|
491 | %{_cyrexecdir}/pop3d |
---|
492 | %{_cyrexecdir}/quota |
---|
493 | %{_cyrexecdir}/reconstruct |
---|
494 | %{_cyrexecdir}/rehash |
---|
495 | %{_cyrexecdir}/sievec |
---|
496 | %{_cyrexecdir}/sieved |
---|
497 | %{_cyrexecdir}/smmapd |
---|
498 | %{_cyrexecdir}/squatter |
---|
499 | %{_cyrexecdir}/timsieved |
---|
500 | %{_cyrexecdir}/tls_prune |
---|
501 | %{_cyrexecdir}/translatesieve |
---|
502 | %{_cyrexecdir}/undohash |
---|
503 | %{_cyrexecdir}/unexpunge |
---|
504 | %{_cyrexecdir}/upgradesieve |
---|
505 | %{_cyrexecdir}/cvt_cyrusdb_all |
---|
506 | %{_cyrexecdir}/idled |
---|
507 | %{_cyrexecdir}/sync_client |
---|
508 | %{_cyrexecdir}/sync_reset |
---|
509 | %{_cyrexecdir}/sync_server |
---|
510 | %{_cyrexecdir}/ptdump |
---|
511 | %{_cyrexecdir}/ptexpire |
---|
512 | %{_cyrexecdir}/ptloader |
---|
513 | %attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap |
---|
514 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/backup |
---|
515 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/db |
---|
516 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/log |
---|
517 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/meta |
---|
518 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/md5 |
---|
519 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/msg |
---|
520 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/proc |
---|
521 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/ptclient |
---|
522 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/quota |
---|
523 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/rpm |
---|
524 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/sieve |
---|
525 | %attr(0750,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/socket |
---|
526 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/sync |
---|
527 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/user |
---|
528 | %attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/spool/imap |
---|
529 | %dir %{_datadir}/%{name} |
---|
530 | %dir %{_datadir}/%{name}/rpm |
---|
531 | %{_datadir}/%{name}/rpm/* |
---|
532 | %{_mandir}/man5/* |
---|
533 | %{_mandir}/man8/* |
---|
534 | %dir %{_sysconfdir}/pki/%{name} |
---|
535 | %attr(0640,root,%{_cyrusgroup}) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssl_pem_file} |
---|
536 | |
---|
537 | %files murder |
---|
538 | %defattr(-,root,root,-) |
---|
539 | %config(noreplace) %{_sysconfdir}/pam.d/mupdate |
---|
540 | %{_cyrexecdir}/lmtpproxyd |
---|
541 | %{_cyrexecdir}/mupdate |
---|
542 | %{_cyrexecdir}/proxyd |
---|
543 | |
---|
544 | %files nntp |
---|
545 | %defattr(-,root,root,-) |
---|
546 | %config(noreplace) %{_sysconfdir}/pam.d/nntp |
---|
547 | %{_cyrexecdir}/cyrfetchnews |
---|
548 | %{_cyrexecdir}/nntpd |
---|
549 | |
---|
550 | %files devel |
---|
551 | %defattr(0644,root,root,0755) |
---|
552 | %doc COPYRIGHT |
---|
553 | %{_includedir}/cyrus |
---|
554 | %{_libdir}/lib*.a |
---|
555 | %{_mandir}/man3/imclient.3* |
---|
556 | |
---|
557 | %files -n perl-Cyrus |
---|
558 | #-f perl-Cyrus-%{version}-filelist |
---|
559 | %defattr(-,root,root) |
---|
560 | %dir %{perl_vendorarch}/Cyrus |
---|
561 | %dir %{perl_vendorarch}/Cyrus/IMAP |
---|
562 | %{perl_vendorarch}/Cyrus/IMAP/Admin.pm |
---|
563 | %{perl_vendorarch}/Cyrus/IMAP/Shell.pm |
---|
564 | %{perl_vendorarch}/Cyrus/IMAP/IMSP.pm |
---|
565 | %{perl_vendorarch}/Cyrus/IMAP.pm |
---|
566 | %dir %{perl_vendorarch}/Cyrus/SIEVE |
---|
567 | %{perl_vendorarch}/Cyrus/SIEVE/managesieve.pm |
---|
568 | %dir %{perl_vendorarch}/auto |
---|
569 | %dir %{perl_vendorarch}/auto/Cyrus |
---|
570 | %dir %{perl_vendorarch}/auto/Cyrus/IMAP |
---|
571 | %{perl_vendorarch}/auto/Cyrus/IMAP/IMAP.so |
---|
572 | %dir %{perl_vendorarch}/auto/Cyrus/SIEVE |
---|
573 | %dir %{perl_vendorarch}/auto/Cyrus/SIEVE/managesieve |
---|
574 | %{perl_vendorarch}/auto/Cyrus/SIEVE/managesieve/managesieve.so |
---|
575 | %{_mandir}/man3/Cyrus::IMAP::Admin.3pm.gz |
---|
576 | %{_mandir}/man3/Cyrus::IMAP::Shell.3pm.gz |
---|
577 | %{_mandir}/man3/Cyrus::IMAP.3pm.gz |
---|
578 | %{_mandir}/man3/Cyrus::IMAP::IMSP.3pm.gz |
---|
579 | %{_mandir}/man3/Cyrus::SIEVE::managesieve.3pm.gz |
---|
580 | %doc perl/imap/README |
---|
581 | %doc perl/imap/Changes |
---|
582 | %doc perl/imap/examples |
---|
583 | |
---|
584 | %files utils |
---|
585 | %defattr(-,root,root,-) |
---|
586 | %doc COPYRIGHT |
---|
587 | %{_bindir}/* |
---|
588 | %{_mandir}/man1/* |
---|
589 | |
---|
590 | %changelog |
---|
591 | * Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.4.17-1 |
---|
592 | - updated to 2.4.17 |
---|
593 | - spec revamped based on CentOS package (2.4.17-7.el7) |
---|
594 | - updated URL |
---|
595 | - updated Source100 and 101 |
---|
596 | |
---|
597 | * Sat Oct 13 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.13p1-12 |
---|
598 | - fix init script "LIB" dir |
---|
599 | (http://mantis.vinelinux.org/view.php?id=1326) |
---|
600 | - add Vendor/Distri Tags |
---|
601 | - add smp flags into make section |
---|
602 | |
---|
603 | * Thu Mar 22 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.2.13p1-11 |
---|
604 | - update Patch52 (to link with db4-4.8.x) |
---|
605 | |
---|
606 | * Wed Jan 11 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.13p1-10 |
---|
607 | - added Patch104 for CVE-2011-3481 |
---|
608 | |
---|
609 | * Wed Oct 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.13p1-9 |
---|
610 | - added Patch101 for CVE-2011-3208 |
---|
611 | - added Patch102 for CVE-2011-1926 |
---|
612 | - added Patch103 for SA46093 |
---|
613 | - define %%{_cyrexecdir} to %%{_execdir}/lib/cyrus-imapd (for x86_64) |
---|
614 | |
---|
615 | * Tue Mar 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.13p1-8 |
---|
616 | - rebuild with krb5-libs-1.8.2 and openssl-1.0.0d |
---|
617 | |
---|
618 | * Sun Feb 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.13p1-7 |
---|
619 | - rebuild with openssl-1.0.0c |
---|
620 | |
---|
621 | * Tue Sep 7 2010 IWAI, Masaharu <iwai@alib.jp> 2.2.13p1-6 |
---|
622 | - fix libdir path in init script for x86_64 arch: <BTS:VineLinux:918> |
---|
623 | - update sed oneliner in install section |
---|
624 | |
---|
625 | * Sat Apr 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.13p1-5 |
---|
626 | - use Requires(pre,post,postun,preun) instead of Prereq |
---|
627 | |
---|
628 | * Thu Nov 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.13p1-4 |
---|
629 | - added --disable-gssapi for vl4, vl5 |
---|
630 | |
---|
631 | * Sun Oct 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.13p1-3 |
---|
632 | - added Patch100 from Bugzilla |
---|
633 | |
---|
634 | * Sat Sep 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.13p1-2 |
---|
635 | - fixed for <BTS:VineLinux:781> |
---|
636 | updated Source13 to convert db correctly at cyrus-imapd upgrade |
---|
637 | added PreReq: db4-utils, file |
---|
638 | |
---|
639 | * Fri Sep 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.13p1-1 |
---|
640 | - new upstream release, including security fix for CVE-2009-2632 |
---|
641 | - dropped Patch50 merged into upstream |
---|
642 | |
---|
643 | * Sun May 3 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.12-2 |
---|
644 | - run aclocal, autoconf on %%prep section |
---|
645 | |
---|
646 | * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.12-1 |
---|
647 | - applied new versioning policy |
---|
648 | - spec in UTF-8 |
---|
649 | - rebuilt with perl-5.10.0 |
---|
650 | - added Patch52 for compiling with db4-4.6 |
---|
651 | - perl-Cyrus files were installed to vendor_perl dir |
---|
652 | |
---|
653 | * Mon Feb 4 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.12-0vl3 |
---|
654 | - added cyrus-imapd-2.2.12-config.patch (for x86_64) |
---|
655 | |
---|
656 | * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.12-0vl2 |
---|
657 | - rebuilt with new toolchain |
---|
658 | |
---|
659 | * Thu Sep 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.12-0vl1 |
---|
660 | - update to upstream rpm packages. (some fixes are imported from RHEL) |
---|
661 | - drop OLD&NOTMAINTAINED vine package. |
---|
662 | |
---|
663 | * Sat Apr 23 2005 John Dennis <jdennis@redhat.com> - 2.2.12-3.RHEL4.1 |
---|
664 | - bring up to 2.2.12, includes security fix for CAN-2005-0546 |
---|
665 | Note: the upstream delta between is 2.2.10 (prior RHEL-4 version) and |
---|
666 | 2.2.12 is only the application of the security fixes in CAN-2005-0546. |
---|
667 | Thus the 2.2.10 --> 2.2.12 version change is not really a version change |
---|
668 | in the traditional sense, but rather is equivalent to backporting the |
---|
669 | CAN-2005-0546 fixes into 2.2.10. No other aspects of 2.2.10 RHEL-4 spec file |
---|
670 | have changed, patches and build options are identical. Since bringing the |
---|
671 | base tar file up to 2.2.12 from 2.2.10 is equivalent to backporting the |
---|
672 | fixes into 2.2.10 it would be disingenuous and mileading to call this version |
---|
673 | of the rpm 2.2.10 with backported fixes as might be the requirement for RHEL. |
---|
674 | |
---|
675 | * Wed Apr 20 2005 John Dennis <jdennis@redhat.com> - 2.2.10-2.RHEL4.1 |
---|
676 | - patch to allow building with gcc4 which is more strict |
---|
677 | |
---|
678 | * Wed Nov 24 2004 John Dennis <jdennis@redhat.com> 2.2.10-1.RHEL4.1 |
---|
679 | - update to Simon Matter's 2.2.10 RPM, |
---|
680 | fixes bug #139382, |
---|
681 | security advisories: CAN-2004-1011 CAN-2004-1012 CAN-2004-1013 CAN-2004-1015 |
---|
682 | |
---|
683 | * Tue Nov 24 2004 Simon Matter <simon.matter@invoca.ch> |
---|
684 | - updated to 2.2.10 |
---|
685 | |
---|
686 | * Tue Nov 23 2004 Simon Matter <simon.matter@invoca.ch> |
---|
687 | - updated to 2.2.9 |
---|
688 | |
---|
689 | * Fri Nov 19 2004 Simon Matter <simon.matter@invoca.ch> |
---|
690 | - changed scripts to use runuser instead of su if available |
---|
691 | |
---|
692 | * Thu Nov 18 2004 Simon Matter <simon.matter@invoca.ch> |
---|
693 | - changed requirement for file >= 3.35-1 from BuildPrereq to |
---|
694 | Requires, fixes RedHat's bug #124991 |
---|
695 | - added acceptinvalidfrom patch to fix RedHat's bug #137705 |
---|
696 | |
---|
697 | * Mon Oct 4 2004 Dan Walsh <dwalsh@redhat.com> 2.2.6-2.FC3.6 |
---|
698 | - Change cyrus init scripts and cron job to use runuser instead of su |
---|
699 | |
---|
700 | * Fri Aug 6 2004 John Dennis <jdennis@redhat.com> 2.2.6-2.FC3.5 |
---|
701 | - remove obsoletes tag, fixes bugs #127448, #129274 |
---|
702 | |
---|
703 | * Wed Aug 4 2004 John Dennis <jdennis@redhat.com> |
---|
704 | - replace commas in release field with dots, bump build number |
---|
705 | |
---|
706 | * Tue Aug 03 2004 Simon Matter <simon.matter@invoca.ch> |
---|
707 | - fixed symlinks for x86_64, now uses the _libdir macro |
---|
708 | reported by John Dennis, fixes RedHat's bug #128964 |
---|
709 | - removed obsoletes tag, fixes RedHat's bugs #127448, #129274 |
---|
710 | |
---|
711 | * Mon Aug 2 2004 John Dennis <jdennis@redhat.com> 2.2.6-2,FC3,3 |
---|
712 | - fix bug #128964, lib symlinks wrong on x86_64 |
---|
713 | |
---|
714 | * Thu Jul 29 2004 Simon Matter <simon.matter@invoca.ch> |
---|
715 | - updated to 2.2.8 |
---|
716 | |
---|
717 | * Thu Jul 29 2004 Simon Matter <simon.matter@invoca.ch> |
---|
718 | - updated autocreate and autosieve patches |
---|
719 | - made authorization a compile time option |
---|
720 | - added sieve-bc_eval patch |
---|
721 | |
---|
722 | * Tue Jul 27 2004 Simon Matter <simon.matter@invoca.ch> |
---|
723 | - updated to 2.2.7 |
---|
724 | - modified autocreate patch or 2.2.7 |
---|
725 | - removed snmpargs patch which was needed for RedHat 6.2 |
---|
726 | |
---|
727 | * Tue Jul 13 2004 Simon Matter <simon.matter@invoca.ch> |
---|
728 | - added mboxlist / mboxname patches from CVS |
---|
729 | |
---|
730 | * Tue Jul 06 2004 Simon Matter <simon.matter@invoca.ch> |
---|
731 | - updated rmquota+deletemailbox patch |
---|
732 | |
---|
733 | * Sat Jul 3 2004 John Dennis <jdennis@redhat.com> - 2.2.6-2,FC3,1 |
---|
734 | - bring up to date with Simon Matter's latest upstream rpm 2.2.6-2 |
---|
735 | - comment out illegal tags Packager, Vendor, Distribution |
---|
736 | build for FC3 |
---|
737 | |
---|
738 | * Wed Jun 30 2004 Simon Matter <simon.matter@invoca.ch> |
---|
739 | - added quota patches from CVS |
---|
740 | |
---|
741 | * Fri Jun 25 2004 Simon Matter <simon.matter@invoca.ch> |
---|
742 | - updated autocreate patch |
---|
743 | |
---|
744 | * Fri Jun 18 2004 Simon Matter <simon.matter@invoca.ch> |
---|
745 | - updated to 2.2.6 |
---|
746 | |
---|
747 | * Fri Jun 11 2004 Simon Matter <simon.matter@invoca.ch> |
---|
748 | - updated autocreate and autosieve patches |
---|
749 | |
---|
750 | * Tue Jun 01 2004 Simon Matter <simon.matter@invoca.ch> |
---|
751 | - updated autocreate, autosieve and rmquota patches |
---|
752 | - fixed rmquota patch to build on gcc v3.3.x |
---|
753 | - added lmtp_sieve patch |
---|
754 | |
---|
755 | * Sat May 29 2004 Simon Matter <simon.matter@invoca.ch> |
---|
756 | - updated to 2.2.5 |
---|
757 | |
---|
758 | * Fri May 28 2004 Simon Matter <simon.matter@invoca.ch> |
---|
759 | - updated to 2.2.5 pre-release |
---|
760 | |
---|
761 | * Mon May 24 2004 Simon Matter <simon.matter@invoca.ch> |
---|
762 | - added hash patch to fix a sig11 problem |
---|
763 | - added noncritical typo patch |
---|
764 | |
---|
765 | * Fri May 21 2004 Simon Matter <simon.matter@invoca.ch> |
---|
766 | - include OutlookExpress seenstate patch |
---|
767 | - fixed allnumeric patch |
---|
768 | |
---|
769 | * Thu May 20 2004 Simon Matter <simon.matter@invoca.ch> |
---|
770 | - don't enable cyrus-imapd per default |
---|
771 | - rename fetchnews to cyrfetchnews to avoid namespace conflicts with leafnode |
---|
772 | - replace fetchnews with cyrfetchnews in man pages |
---|
773 | - replace master with cyrus-master in man pages |
---|
774 | |
---|
775 | * Tue May 18 2004 Simon Matter <simon.matter@invoca.ch> |
---|
776 | - updated to 2.2.4 |
---|
777 | |
---|
778 | * Fri Apr 30 2004 Simon Matter <simon.matter@invoca.ch> |
---|
779 | - Don't provides: imap |
---|
780 | |
---|
781 | * Wed Mar 17 2004 Simon Matter <simon.matter@invoca.ch> |
---|
782 | - fix init script |
---|
783 | |
---|
784 | * Thu Mar 04 2004 Simon Matter <simon.matter@invoca.ch> |
---|
785 | - strip binaries |
---|
786 | |
---|
787 | * Tue Mar 02 2004 Simon Matter <simon.matter@invoca.ch> |
---|
788 | - add more SELinux fixes |
---|
789 | |
---|
790 | * Wed Feb 25 2004 Simon Matter <simon.matter@invoca.ch> |
---|
791 | - add makedepend to path, thank you Andreas Piesk for reporting it |
---|
792 | |
---|
793 | * Mon Feb 23 2004 Dan Walsh <dwalsh@redhat.com> |
---|
794 | - change su within init script to get input from /dev/null |
---|
795 | this prevents hang when running in SELinux |
---|
796 | - don't use -fpie as default, it breaks different distributions |
---|
797 | |
---|
798 | * Thu Feb 19 2004 Simon Matter <simon.matter@invoca.ch> |
---|
799 | - merged in most changes from Karsten Hopp's RedHat package |
---|
800 | - fixed permissions of files in contrib, thank you |
---|
801 | Edward Rudd for reporting it. |
---|
802 | - modified snmp patch to make it build on RedHat 6.2 again |
---|
803 | |
---|
804 | * Tue Feb 03 2004 Karsten Hopp <karsten@redhat.de> |
---|
805 | - switch to Simon Matter's cyrus-imapd package, which has |
---|
806 | some major improvements over the old Red Hat package. |
---|
807 | - configdirectory moved from /var/imap to /var/lib/imap |
---|
808 | - sasl_pwcheck_method changed to saslauthd |
---|
809 | - needed to delete package/vendor tags for buildsystem. |
---|
810 | - added USEPIE variable for linking with -fpie flag |
---|
811 | - removed rpath from linker arguments |
---|
812 | - removed email header from README.HOWTO-recover-mailboxes |
---|
813 | - added lib64 patch |
---|
814 | - use CFLAGS from specfile in imtest subdir |
---|
815 | - disable -pie on ppc for now |
---|
816 | |
---|
817 | * Tue Feb 03 2004 Simon Matter <simon.matter@invoca.ch> |
---|
818 | - added tls_ca_file: to imapd.conf |
---|
819 | - updated autocreate patch which fixes a small sig11 problem |
---|
820 | |
---|
821 | * Thu Jan 29 2004 Simon Matter <simon.matter@invoca.ch> |
---|
822 | - convert sieve scripts to UTF-8 only if sievec failed before |
---|
823 | - add note to the readme about limiting loggin on busy servers |
---|
824 | - added build time option to chose the syslog facility |
---|
825 | |
---|
826 | * Wed Jan 28 2004 Simon Matter <simon.matter@invoca.ch> |
---|
827 | - sieve scripts are now converted to UTF-8 with cvt_cyrusdb_all |
---|
828 | |
---|
829 | * Tue Jan 27 2004 Simon Matter <simon.matter@invoca.ch> |
---|
830 | - fixed problems with masssievec |
---|
831 | - lots of small fixes in the init scripts |
---|
832 | |
---|
833 | * Fri Jan 23 2004 Simon Matter <simon.matter@invoca.ch> |
---|
834 | - updated auto db converting functionality |
---|
835 | - added auto masssievec functionality |
---|
836 | |
---|
837 | * Thu Jan 22 2004 Simon Matter <simon.matter@invoca.ch> |
---|
838 | - updated autocreate/autosievefolder patches |
---|
839 | |
---|
840 | * Fri Jan 16 2004 Simon Matter <simon.matter@invoca.ch> |
---|
841 | - updated to 2.2.3 |
---|
842 | |
---|
843 | * Wed Jan 14 2004 Simon Matter <simon.matter@invoca.ch> |
---|
844 | - number of mailbox list dumps can now be configured |
---|
845 | |
---|
846 | * Fri Jan 01 2004 Simon Matter <simon.matter@invoca.ch> |
---|
847 | - updated autosievefolder patch |
---|
848 | |
---|
849 | * Thu Dec 18 2003 Simon Matter <simon.matter@invoca.ch> |
---|
850 | - updated autocreate/autosievefolder/rmquota patches |
---|
851 | |
---|
852 | * Tue Oct 28 2003 Simon Matter <simon.matter@invoca.ch> |
---|
853 | - updated to 2.2.2-BETA |
---|
854 | |
---|
855 | * Tue Aug 05 2003 Simon Matter <simon.matter@invoca.ch> |
---|
856 | - add sendmail m4 macro, some people were looking for it |
---|
857 | - just one source for pam default configuration (they were all the same) |
---|
858 | - added /etc/pam.d/lmtp |
---|
859 | - added build support for RedHat Beta severn |
---|
860 | |
---|
861 | * Wed Jul 30 2003 Simon Matter <simon.matter@invoca.ch> |
---|
862 | - updated autocreate patch to 0.8.1 |
---|
863 | - removed creation of spool/config dirs, not needed anymore |
---|
864 | - added cyrus_sharedbackup to contrib |
---|
865 | |
---|
866 | * Fri Jul 18 2003 Simon Matter <simon.matter@invoca.ch> |
---|
867 | - modified for 2.2.1-BETA |
---|
868 | |
---|
869 | * Wed Jul 09 2003 Simon Matter <simon.matter@invoca.ch> |
---|
870 | - modified rpm_set_permissions script |
---|
871 | |
---|
872 | * Mon Jul 07 2003 Simon Matter <simon.matter@invoca.ch> |
---|
873 | - changed permissions on config and spool dirs |
---|
874 | - modified init script |
---|
875 | |
---|
876 | * Thu Jul 03 2003 Simon Matter <simon.matter@invoca.ch> |
---|
877 | - upgraded to 2.1.14 |
---|
878 | - removed now obsolete forcedowncase patch |
---|
879 | - use --with-extraident to add extra version information |
---|
880 | - updated munge8bit patch |
---|
881 | |
---|
882 | * Wed Jun 04 2003 Simon Matter <simon.matter@invoca.ch> |
---|
883 | - added RedHat 2.1ES support to the perlhack detection |
---|
884 | |
---|
885 | * Tue May 20 2003 Simon Matter <simon.matter@invoca.ch> |
---|
886 | - upgraded autocreate patch |
---|
887 | |
---|
888 | * Fri May 09 2003 Simon Matter <simon.matter@invoca.ch> |
---|
889 | - upgraded autocreate patch |
---|
890 | - modified init script |
---|
891 | |
---|
892 | * Mon May 05 2003 Simon Matter <simon.matter@invoca.ch> |
---|
893 | - upgraded to 2.1.13 |
---|
894 | - replaced commands with macros, cleaned up spec file |
---|
895 | |
---|
896 | * Fri May 02 2003 Simon Matter <simon.matter@invoca.ch> |
---|
897 | - added murder subpackage |
---|
898 | - changed exec path to /usr/lib/cyrus-imapd |
---|
899 | |
---|
900 | * Thu May 01 2003 Simon Matter <simon.matter@invoca.ch> |
---|
901 | - included modified munge8bit patch again |
---|
902 | |
---|
903 | * Tue Apr 29 2003 Simon Matter <simon.matter@invoca.ch> |
---|
904 | - added new 8bit header patch |
---|
905 | - upgraded IPv6 patch |
---|
906 | - upgraded autocreate patch to 0.7 |
---|
907 | |
---|
908 | * Mon Apr 28 2003 Simon Matter <simon.matter@invoca.ch> |
---|
909 | - added new autocreate patch |
---|
910 | |
---|
911 | * Mon Mar 31 2003 H-E Sandstrom <hes@mailcore.net> |
---|
912 | - added munge8bit patch |
---|
913 | |
---|
914 | * Mon Mar 24 2003 Simon Matter <simon.matter@invoca.ch> |
---|
915 | - added createonpost fix patch |
---|
916 | |
---|
917 | * Thu Mar 20 2003 Simon Matter <simon.matter@invoca.ch> |
---|
918 | - added functionality to patch the IPv6 patch on the fly if |
---|
919 | autoconf > 2.13, we can now use newer autoconf again. |
---|
920 | |
---|
921 | * Tue Mar 18 2003 Paul Bender <pbender@qualcomm.com> |
---|
922 | - fixed spec file so that autoconf 2.13 will always be used, |
---|
923 | since the IPv6 patch requires autoconf <= 2.13 |
---|
924 | |
---|
925 | * Fri Mar 14 2003 Simon Matter <simon.matter@invoca.ch> |
---|
926 | - fixed problems with new file package |
---|
927 | |
---|
928 | * Thu Mar 13 2003 Simon Matter <simon.matter@invoca.ch> |
---|
929 | - added kerberos include for RedHat Beta phoebe 2 |
---|
930 | - added Henrique's forcedowncase patch |
---|
931 | |
---|
932 | * Mon Mar 03 2003 Simon Matter <simon.matter@invoca.ch> |
---|
933 | - corrected imapd.conf |
---|
934 | |
---|
935 | * Sat Mar 01 2003 Simon Matter <simon.matter@invoca.ch> |
---|
936 | - added note about lmtp socket in sendmail |
---|
937 | - added flock patches |
---|
938 | |
---|
939 | * Fri Feb 07 2003 Simon Matter <simon.matter@invoca.ch> |
---|
940 | - added build time option for fulldirhash |
---|
941 | |
---|
942 | * Wed Feb 05 2003 Simon Matter <simon.matter@invoca.ch> |
---|
943 | - added IPV6 patch to source rpm |
---|
944 | - fixed build on RedHat 6.2 |
---|
945 | |
---|
946 | * Tue Feb 04 2003 Simon Matter <simon.matter@invoca.ch> |
---|
947 | - update to 2.1.12 |
---|
948 | - added logrotate entry for /var/log/auth.log |
---|
949 | - modified init script to use builtin daemon mode |
---|
950 | |
---|
951 | * Fri Jan 10 2003 Simon Matter <simon.matter@invoca.ch> |
---|
952 | - small change in mboxlist backup script |
---|
953 | |
---|
954 | * Fri Jan 10 2003 Simon Matter <simon.matter@invoca.ch> |
---|
955 | - fixed a cosmetic bug in cvt_cyrusdb_all |
---|
956 | - added cron.daily job to backup mailboxes.db |
---|
957 | |
---|
958 | * Mon Jan 06 2003 Simon Matter <simon.matter@invoca.ch> |
---|
959 | - add more entries to /etc/services |
---|
960 | |
---|
961 | * Wed Jan 01 2003 Simon Matter <simon.matter@invoca.ch> |
---|
962 | - include snmpargs patch for build on RedHat 6.2 |
---|
963 | - added build support for RedHat 6.2 |
---|
964 | |
---|
965 | * Mon Dec 30 2002 Simon Matter <simon.matter@invoca.ch> |
---|
966 | - removed autoconf hack, not needed anymore |
---|
967 | - enabled build on RedHat Beta Phoebe |
---|
968 | - added services entry for lmtp |
---|
969 | - cleanup spec file |
---|
970 | |
---|
971 | * Thu Dec 26 2002 Simon Matter <simon.matter@invoca.ch> |
---|
972 | - removed BuildPrereq for e2fsprogs-devel |
---|
973 | |
---|
974 | * Thu Dec 12 2002 Simon Matter <simon.matter@invoca.ch> |
---|
975 | - modified RedHat release detection |
---|
976 | - added BuildPrereq for file |
---|
977 | |
---|
978 | * Thu Dec 05 2002 Simon Matter <simon.matter@invoca.ch> |
---|
979 | - upgraded to cyrus-imapd 2.1.11 |
---|
980 | - upgrade IPV6 patch to 20021205 |
---|
981 | |
---|
982 | * Thu Nov 28 2002 Simon Matter <simon.matter@invoca.ch> |
---|
983 | - Fixed some default attributes |
---|
984 | |
---|
985 | * Thu Nov 28 2002 Troels Arvin <troels@arvin.dk> |
---|
986 | - Explicitly changed files-section to |
---|
987 | - use defattr for simple (root-owned 0644) files |
---|
988 | - explictly set root as user/group owner where |
---|
989 | the user/group ownership was previously indicated |
---|
990 | as "-"; this allows building valid packages without |
---|
991 | having to being root when building |
---|
992 | |
---|
993 | * Mon Nov 25 2002 Simon Matter <simon.matter@invoca.ch> |
---|
994 | - changed default build option for IDLED to off |
---|
995 | - included some useful info in README.* |
---|
996 | |
---|
997 | * Thu Nov 21 2002 Simon Matter <simon.matter@invoca.ch> |
---|
998 | - added build time option for IDLED, thank you Roland Pope |
---|
999 | |
---|
1000 | * Tue Nov 19 2002 Simon Matter <simon.matter@invoca.ch> |
---|
1001 | - fixed spec to really use fdatasync patch |
---|
1002 | - added createonpost patch |
---|
1003 | |
---|
1004 | * Thu Nov 14 2002 Simon Matter <simon.matter@invoca.ch> |
---|
1005 | - upgraded to cyrus-imapd 2.1.10 |
---|
1006 | - build without IPv6 support by default |
---|
1007 | |
---|
1008 | * Tue Nov 12 2002 Simon Matter <simon.matter@invoca.ch> |
---|
1009 | - fixed db detection in .spec |
---|
1010 | |
---|
1011 | * Mon Oct 21 2002 Simon Matter <simon.matter@invoca.ch> |
---|
1012 | - updated cvt_cyrusdb_all script |
---|
1013 | |
---|
1014 | * Fri Oct 18 2002 Simon Matter <simon.matter@invoca.ch> |
---|
1015 | - added fdatasync patch |
---|
1016 | |
---|
1017 | * Thu Oct 03 2002 Simon Matter <simon.matter@invoca.ch> |
---|
1018 | - add RPM version 4.1 compatibility, which means remove installed |
---|
1019 | but not packaged files |
---|
1020 | |
---|
1021 | * Wed Sep 18 2002 Simon Matter <simix@datacomm.ch> |
---|
1022 | - added auto db converting functionality |
---|
1023 | - changed default for MBOXLIST_DB and SEEN_DB to skiplist |
---|
1024 | |
---|
1025 | * Mon Sep 16 2002 Simon Matter <simix@datacomm.ch> |
---|
1026 | - remove creation of cyrus user at build time |
---|
1027 | - added scripts from ftp://kalamazoolinux.org/pub/projects/awilliam/cyrus/ |
---|
1028 | |
---|
1029 | * Mon Sep 02 2002 Simon Matter <simix@datacomm.ch> |
---|
1030 | - upgraded to cyrus-imapd 2.1.9 |
---|
1031 | |
---|
1032 | * Fri Aug 30 2002 Simon Matter <simix@datacomm.ch> |
---|
1033 | - included extra ident string |
---|
1034 | |
---|
1035 | * Thu Aug 29 2002 Simon Matter <simix@datacomm.ch> |
---|
1036 | - modified path in deliver-wrapper, thank you Richard L. Phipps |
---|
1037 | - added RedHat 2.1AS support to the perlhack detection |
---|
1038 | - added build time option to force syncronous updates on ext3 |
---|
1039 | |
---|
1040 | * Wed Aug 28 2002 Simon Matter <simix@datacomm.ch> |
---|
1041 | - added updated IPv6 patch from Hajimu UMEMOTO |
---|
1042 | |
---|
1043 | * Wed Aug 28 2002 Simon Matter <simix@datacomm.ch> |
---|
1044 | - upgraded to cyrus-imapd 2.1.8 |
---|
1045 | |
---|
1046 | * Thu Aug 22 2002 Simon Matter <simix@datacomm.ch> |
---|
1047 | - included IPv6 patch from Hajimu UMEMOTO |
---|
1048 | |
---|
1049 | * Wed Aug 21 2002 Simon Matter <simix@datacomm.ch> |
---|
1050 | - upgraded to cyrus-imapd 2.1.7 because of wrong version info |
---|
1051 | |
---|
1052 | * Wed Aug 21 2002 Simon Matter <simix@datacomm.ch> |
---|
1053 | - upgraded to cyrus-imapd 2.1.6 |
---|
1054 | |
---|
1055 | * Mon Aug 19 2002 Simon Matter <simix@datacomm.ch> |
---|
1056 | - change db version detection, thank you Chris for reporting |
---|
1057 | |
---|
1058 | * Tue Aug 13 2002 Simon Matter <simix@datacomm.ch> |
---|
1059 | - fixed autoconf detection |
---|
1060 | |
---|
1061 | * Mon Aug 12 2002 Simon Matter <simix@datacomm.ch> |
---|
1062 | - included support for different autoconf versions |
---|
1063 | - modified the perl build and install process |
---|
1064 | - made some .spec changes to build on RedHat 7.x and limbo |
---|
1065 | |
---|
1066 | * Fri Aug 09 2002 Simon Matter <simix@datacomm.ch> |
---|
1067 | - included sieve matching patch |
---|
1068 | |
---|
1069 | * Thu Jun 27 2002 Simon Matter <simix@datacomm.ch> |
---|
1070 | - fixed %post script where %F was expanded to file.file |
---|
1071 | |
---|
1072 | * Wed Jun 26 2002 Simon Matter <simix@datacomm.ch> |
---|
1073 | - fixed missing man page |
---|
1074 | |
---|
1075 | * Tue Jun 25 2002 Simon Matter <simix@datacomm.ch> |
---|
1076 | - upgraded to cyrus-imapd 2.1.5 |
---|
1077 | |
---|
1078 | * Mon Jun 24 2002 Simon Matter <simix@datacomm.ch> |
---|
1079 | - added compile time parameters to configure the package based on |
---|
1080 | the idea from Luca Olivetti <luca@olivetti.cjb.net> |
---|
1081 | - make deliver-wrapper a compile time option |
---|
1082 | |
---|
1083 | * Fri May 02 2002 Simon Matter <simix@datacomm.ch> |
---|
1084 | - upgraded to cyrus-imapd 2.1.4 |
---|
1085 | |
---|
1086 | * Mon Apr 22 2002 Simon Matter <simix@datacomm.ch> |
---|
1087 | - small initscript fix |
---|
1088 | |
---|
1089 | * Fri Mar 08 2002 Simon Matter <simix@datacomm.ch> |
---|
1090 | - upgraded to cyrus-imapd 2.1.3 |
---|
1091 | - removed some stuff that was cleaned up in the sources |
---|
1092 | - added compile time options for db backends |
---|
1093 | |
---|
1094 | * Wed Mar 06 2002 Simon Matter <simix@datacomm.ch> |
---|
1095 | - removed requires perl-File-Temp for utils package, it's in the RedHat |
---|
1096 | perl RPM now |
---|
1097 | |
---|
1098 | * Fri Feb 22 2002 Simon Matter <simix@datacomm.ch> |
---|
1099 | - removed deliverdb/db |
---|
1100 | |
---|
1101 | * Wed Feb 20 2002 Simon Matter <simix@datacomm.ch> |
---|
1102 | - upgraded to cyrus-imapd 2.1.2 |
---|
1103 | |
---|
1104 | * Mon Feb 11 2002 Simon Matter <simix@datacomm.ch> |
---|
1105 | - changed sasl_mech_list: PLAIN in /etc/imapd.conf |
---|
1106 | - added sieve to /etc/pam.d |
---|
1107 | |
---|
1108 | * Fri Feb 08 2002 Simon Matter <simix@datacomm.ch> |
---|
1109 | - added requires perl-File-Temp for utils package |
---|
1110 | |
---|
1111 | * Wed Feb 06 2002 Simon Matter <simix@datacomm.ch> |
---|
1112 | - added some %dir flags |
---|
1113 | - removed /usr/lib/sasl/Cyrus.conf |
---|
1114 | - added conf templates |
---|
1115 | - build time option for usage of saslauth group |
---|
1116 | |
---|
1117 | * Tue Feb 05 2002 Simon Matter <simix@datacomm.ch> |
---|
1118 | - upgraded to cyrus-imapd 2.1.1 |
---|
1119 | - dependency of cyrus-sasl >= 2.1.0-1 |
---|
1120 | |
---|
1121 | * Sun Feb 03 2002 Simon Matter <simix@datacomm.ch> |
---|
1122 | - saslauth group is only deleted on uninstall if there is no other |
---|
1123 | member in this group |
---|
1124 | |
---|
1125 | * Sat Feb 02 2002 Simon Matter <simix@datacomm.ch> |
---|
1126 | - changed start/stop level in init file |
---|
1127 | |
---|
1128 | * Tue Jan 29 2002 Simon Matter <simix@datacomm.ch> |
---|
1129 | - dependency of cyrus-sasl >= 1.5.24-22 |
---|
1130 | - dotstuffing patch for sendmail calls made by sieve for outgoing |
---|
1131 | mails |
---|
1132 | - patch for ability to force ipurge to traverse personal folders |
---|
1133 | |
---|
1134 | * Mon Jan 28 2002 Simon Matter <simix@datacomm.ch> |
---|
1135 | - minor spec file changes |
---|
1136 | |
---|
1137 | * Sat Jan 19 2002 Simon Matter <simix@datacomm.ch> |
---|
1138 | - changed default auth to pam |
---|
1139 | - remove several %dir from %files sections |
---|
1140 | - change from /usr/lib/cyrus -> /usr/libexec/cyrus |
---|
1141 | - rename source files to something like cyrus... |
---|
1142 | - added rehash tool |
---|
1143 | - changed to hashed spool |
---|
1144 | |
---|
1145 | * Fri Jan 18 2002 Simon Matter <simix@datacomm.ch> |
---|
1146 | - fixed init script |
---|
1147 | - fixed %post section in spec |
---|
1148 | |
---|
1149 | * Thu Jan 17 2002 Simon Matter <simix@datacomm.ch> |
---|
1150 | - ready for first build |
---|
1151 | |
---|
1152 | * Wed Jan 09 2002 Simon Matter <simix@datacomm.ch> |
---|
1153 | - initial package, with help from other packages out there |
---|