cyrus-imapd-vl.spec 40 KB

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