source: projects/specs/trunk/c/cyrus-imapd/cyrus-imapd-vl.spec @ 521

Revision 521, 44.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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