dovecot-vl.spec 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  1. Summary: Dovecot Secure imap server
  2. Summary(ja): Dovecot セキュア IMAP サーバ
  3. Name: dovecot
  4. Version: 1.2.10
  5. Release: 2%{?_dist_release}
  6. License: MIT and LGPLv2 and BSD with advertising
  7. Group: System Environment/Daemons
  8. %define build_postgres 1
  9. %define build_mysql 1
  10. %define build_sqlite 1
  11. %define build_ldap 1
  12. %define build_sieve 1
  13. %define sieve_version 1.1.8
  14. %define sieve_name dovecot-sieve
  15. %define build_drac 1
  16. URL: http://www.dovecot.org/
  17. Source: http://www.dovecot.org/releases/1.1/%{name}-%{version}.tar.gz
  18. Source1: dovecot.init
  19. Source2: dovecot.pam
  20. Source3: maildir-migration.txt
  21. Source4: migrate-folders
  22. Source5: migrate-users
  23. Source6: perfect_maildir.pl
  24. Source7: dovecot-REDHAT-FAQ.txt
  25. Source8: http://dovecot.org/releases/sieve/%{sieve_name}-%{sieve_version}.tar.gz
  26. Source9: dovecot.sysconfig
  27. Source100: http://www.dovecot.org/patches/1.1/drac.c
  28. Source110: README.plugin-drac
  29. Patch1: dovecot-1.2-default-settings.patch
  30. Patch2: dovecot-1.0.beta2-mkcert-permissions.patch
  31. # local filesystem rules
  32. Patch3: dovecot-1.0.rc7-mkcert-paths.patch
  33. Packager: iwamoto
  34. Vendor: Project Vine
  35. Distribution: Vine Linux
  36. Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
  37. BuildRequires: openssl-devel, pam-devel, zlib-devel
  38. BuildRequires: bzip2-devel, libcap-devel
  39. BuildRequires: libtool autoconf automake, gettext-devel
  40. # Package includes an initscript service file,
  41. # needs to require initscripts package
  42. Requires: initscripts
  43. Requires(pre): /usr/sbin/useradd
  44. Requires(post): /sbin/chkconfig, /usr/sbin/useradd, /sbin/chkconfig
  45. Requires(preun): /usr/sbin/userdel, /usr/sbin/groupdel
  46. Requires(preun): /sbin/chkconfig, /sbin/service
  47. Requires(postun): /sbin/service
  48. %if %{build_postgres}
  49. BuildRequires: postgresql-devel
  50. %endif
  51. %if %{build_mysql}
  52. BuildRequires: mysql-devel
  53. %endif
  54. %if %{build_sqlite}
  55. BuildRequires: sqlite3-devel
  56. %endif
  57. %if %{build_ldap}
  58. BuildRequires: openldap-devel
  59. %endif
  60. %if %{build_drac}
  61. BuildRequires: dracd
  62. %endif
  63. %define docdir %{_docdir}/%{name}
  64. %define ssldir %{_sysconfdir}/pki/%{name}
  65. %description
  66. Dovecot is an IMAP server for Linux/UNIX-like systems, written with security
  67. primarily in mind. It also contains a small POP3 server. It supports mail
  68. in either of maildir or mbox formats.
  69. The SQL drivers and authentication plugins are in their subpackages.
  70. %if %{build_sieve}
  71. %package sieve
  72. Requires: %{name} = %{version}-%{release}
  73. Summary: CMU Sieve plugin for dovecot LDA
  74. Group: System Environment/Daemons
  75. License: MIT and LGPLv2+
  76. %description sieve
  77. This package provides the CMU Sieve plugin version %{sieve_version} for dovecot LDA.
  78. %endif
  79. %if %{build_postgres}
  80. %package pgsql
  81. Requires: %{name} = %{version}-%{release}
  82. Summary: Postgres SQL backend for dovecot
  83. Group: System Environment/Daemons
  84. %description pgsql
  85. This package provides the Postgres SQL backend for dovecot-auth etc.
  86. %endif
  87. %if %{build_mysql}
  88. %package mysql
  89. Requires: %{name} = %{version}-%{release}
  90. Summary: MySQL backend for dovecot
  91. Group: System Environment/Daemons
  92. %description mysql
  93. This package provides the MySQL backend for dovecot-auth etc.
  94. %endif
  95. %if %{build_sqlite}
  96. %package sqlite
  97. Requires: %{name} = %{version}-%{release}
  98. Summary: SQLite backend for dovecot
  99. Group: System Environment/Daemons
  100. %description sqlite
  101. This package provides the SQLite backend for dovecot-auth etc.
  102. %endif
  103. %if %{build_ldap}
  104. %package ldap
  105. Requires: %{name} = %{version}-%{release}
  106. Summary: LDAP auth plugin for dovecot
  107. Group: System Environment/Daemons
  108. %description ldap
  109. This package provides the LDAP auth plugin for dovecot-auth etc.
  110. %endif
  111. %if %{build_drac}
  112. %package drac
  113. Summary: Dovecot plugin module for support drac (POP before SMTP)
  114. Group: System Environment/Daemons
  115. Requires: %{name} = %{version}-%{release}
  116. Requires: dracd
  117. Obsoletes: %{name}-plugin-drac < %{version}-%{release}
  118. %description drac
  119. Dovecot plugin module for support drac (POP before SMTP)
  120. %endif
  121. %package devel
  122. Requires: %{name} = %{version}-%{release}
  123. Summary: Development files dor dovecot
  124. Group: Development/Libraries
  125. %description devel
  126. This package provides the development files for dovecot.
  127. %prep
  128. %setup -q
  129. cp %{SOURCE100} .
  130. cp %{SOURCE110} .
  131. %patch1 -p1 -b .default-settings
  132. %patch2 -p1 -b .mkcert-permissions
  133. %patch3 -p1 -b .mkcert-paths
  134. %if %{build_sieve}
  135. %setup -q -D -T -a 8
  136. %endif
  137. %build
  138. rm -f ./configure
  139. autoreconf -i -f
  140. %configure \
  141. INSTALL_DATA="install -c -p -m644" \
  142. --enable-header-install \
  143. --disable-static \
  144. %if %{build_postgres}
  145. --with-pgsql \
  146. %endif
  147. %if %{build_mysql}
  148. --with-mysql \
  149. %endif
  150. %if %{build_sqlite}
  151. --with-sqlite \
  152. %endif
  153. --with-sql=plugin \
  154. --with-sql-drivers \
  155. --with-ssl=openssl \
  156. --with-ssldir=%{ssldir} \
  157. %if %{build_ldap}
  158. --with-ldap=plugin
  159. %endif
  160. make %{?_smp_mflags}
  161. %if %{build_sieve}
  162. pushd %{sieve_name}-%{sieve_version}
  163. rm -f ./configure
  164. autoreconf -i -f
  165. %configure \
  166. INSTALL_DATA="install -c -p -m644" \
  167. --disable-static \
  168. --with-dovecot=../
  169. make %{?_smp_mflags}
  170. popd
  171. %endif
  172. %if %{build_drac}
  173. %{__cc} -Wall -W -shared -fPIC -DHAVE_CONFIG_H \
  174. -I. -I./src/lib \
  175. drac.c -o drac.so -ldrac
  176. %endif
  177. %install
  178. rm -rf $RPM_BUILD_ROOT
  179. make install DESTDIR=$RPM_BUILD_ROOT
  180. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}
  181. install -p -m 755 src/plugins/convert/convert-tool $RPM_BUILD_ROOT%{_libexecdir}/%{name}
  182. mkdir -p $RPM_BUILD_ROOT%{_initrddir}
  183. install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/dovecot
  184. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
  185. install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/dovecot
  186. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
  187. install -p -m 600 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/dovecot
  188. # generate ghost .pem file
  189. mkdir -p $RPM_BUILD_ROOT%{ssldir}/certs
  190. mkdir -p $RPM_BUILD_ROOT%{ssldir}/private
  191. touch $RPM_BUILD_ROOT%{ssldir}/certs/dovecot.pem
  192. chmod 600 $RPM_BUILD_ROOT%{ssldir}/certs/dovecot.pem
  193. touch $RPM_BUILD_ROOT%{ssldir}/private/dovecot.pem
  194. chmod 600 $RPM_BUILD_ROOT%{ssldir}/private/dovecot.pem
  195. mkdir -p $RPM_BUILD_ROOT/var/run/dovecot/login
  196. chmod 755 $RPM_BUILD_ROOT/var/run/dovecot
  197. chmod 700 $RPM_BUILD_ROOT/var/run/dovecot/login
  198. # Install dovecot.conf and dovecot-openssl.cnf
  199. mkdir -p $RPM_BUILD_ROOT%{ssldir}
  200. install -p -m644 dovecot-example.conf $RPM_BUILD_ROOT%{_sysconfdir}/dovecot.conf
  201. rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dovecot-*example.conf # dovecot seems to install this by itself
  202. install -p -m644 doc/dovecot-openssl.cnf $RPM_BUILD_ROOT%{ssldir}/dovecot-openssl.cnf
  203. # Install some of our own documentation
  204. install -p -m644 %{SOURCE7} $RPM_BUILD_ROOT%{docdir}/REDHAT-FAQ.txt
  205. # Install the licensing files into the documentation area
  206. install -p -m644 COPYING* $RPM_BUILD_ROOT%{docdir}
  207. mkdir -p $RPM_BUILD_ROOT%{docdir}/examples/
  208. install -p -m755 doc/mkcert.sh $RPM_BUILD_ROOT%{_libexecdir}/%{name}/mkcert.sh
  209. for f in `cd doc; echo *.conf`; do
  210. install -p -m644 doc/$f $RPM_BUILD_ROOT%{docdir}/examples/$f;
  211. done
  212. install -p -m755 -d $RPM_BUILD_ROOT%{docdir}/UW-to-Dovecot-Migration
  213. for f in %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6}
  214. do
  215. install -p -m644 $f $RPM_BUILD_ROOT%{docdir}/UW-to-Dovecot-Migration
  216. done
  217. mv $RPM_BUILD_ROOT%{docdir} $RPM_BUILD_ROOT%{docdir}-%{version}
  218. mkdir -p $RPM_BUILD_ROOT/var/lib/dovecot
  219. %if %{build_sieve}
  220. # dovecot-sieve
  221. pushd %{sieve_name}-%{sieve_version}
  222. make install DESTDIR=$RPM_BUILD_ROOT
  223. popd
  224. %endif
  225. %if %{build_drac}
  226. install -m 755 drac.so $RPM_BUILD_ROOT/%{_libdir}/dovecot/
  227. ln -s ../drac.so $RPM_BUILD_ROOT/%{_libdir}/dovecot/imap/
  228. ln -s ../drac.so $RPM_BUILD_ROOT/%{_libdir}/dovecot/pop3/
  229. %endif
  230. #remove the libtool archives
  231. find $RPM_BUILD_ROOT%{_libdir}/%{name}/ -name '*.la' | xargs rm -f
  232. #prepare the filelist
  233. (
  234. find ${RPM_BUILD_ROOT}%{_libdir}/%{name} -type d | sed -e "s|^|%dir |";
  235. find ${RPM_BUILD_ROOT}%{_libdir}/%{name} -! -type d | \
  236. grep -v 'dovecot-config\|lib90_cmusieve_plugin\.so\|libdriver_.*\.so\|libauthdb_.*\.so\|libmech_.*\.so\|drac\.so';
  237. ) | sed -e "s|$RPM_BUILD_ROOT||" >libs.filelist
  238. %clean
  239. rm -rf $RPM_BUILD_ROOT
  240. %pre
  241. getent group dovecot >/dev/null || groupadd -r dovecot
  242. getent passwd dovecot >/dev/null || \
  243. useradd -r -g dovecot -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot IMAP server" dovecot
  244. exit 0
  245. %post
  246. /sbin/chkconfig --add %{name}
  247. # generate the ssl certificates
  248. if [ ! -f %{ssldir}/certs/%{name}.pem ]; then
  249. SSLDIR=%{ssldir} OPENSSLCONFIG=%{ssldir}/dovecot-openssl.cnf \
  250. %{_libexecdir}/%{name}/mkcert.sh &> /dev/null
  251. fi
  252. if ! test -f /var/run/dovecot/login/ssl-parameters.dat; then
  253. dovecot --build-ssl-parameters &>/dev/null
  254. fi
  255. exit 0
  256. %preun
  257. if [ $1 = 0 ]; then
  258. /sbin/service %{name} stop > /dev/null 2>&1 || :
  259. /sbin/chkconfig --del %{name} || :
  260. fi
  261. %postun
  262. if [ "$1" -ge "1" ]; then
  263. /sbin/service %{name} condrestart 2>/dev/null || :
  264. fi
  265. %files -f libs.filelist
  266. %defattr(-,root,root,-)
  267. %doc %{docdir}-%{version}
  268. %config(noreplace) %{_sysconfdir}/dovecot.conf
  269. %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/dovecot
  270. %{_initrddir}/dovecot
  271. %config(noreplace) %{_sysconfdir}/pam.d/dovecot
  272. %dir %{ssldir}
  273. %dir %{ssldir}/certs
  274. %dir %{ssldir}/private
  275. %config(noreplace) %{ssldir}/dovecot-openssl.cnf
  276. %attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssldir}/certs/dovecot.pem
  277. %attr(0600,root,root) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssldir}/private/dovecot.pem
  278. %{_libexecdir}/%{name}
  279. %{_sbindir}/dovecot
  280. %{_sbindir}/dovecotpw
  281. %attr(0755,root,dovecot) %dir /var/run/dovecot
  282. %attr(0750,root,dovecot) %dir /var/run/dovecot/login
  283. # %attr(0755,root,dovecot) %{_libexecdir}/%{name}/mkcert.sh
  284. %attr(0750,dovecot,dovecot) %dir /var/lib/dovecot
  285. %if %{build_sieve}
  286. %files sieve
  287. %defattr(-,root,root,-)
  288. %{_libdir}/%{name}/lda/lib90_cmusieve_plugin.so
  289. %endif
  290. %if %{build_mysql}
  291. %files mysql
  292. %defattr(-,root,root,-)
  293. %{_libdir}/%{name}/sql/libdriver_mysql.so
  294. %{_libdir}/%{name}/auth/libdriver_mysql.so
  295. %{_libdir}/%{name}/dict/libdriver_mysql.so
  296. %endif
  297. %if %{build_postgres}
  298. %files pgsql
  299. %defattr(-,root,root,-)
  300. %{_libdir}/%{name}/sql/libdriver_pgsql.so
  301. %{_libdir}/%{name}/auth/libdriver_pgsql.so
  302. %{_libdir}/%{name}/dict/libdriver_pgsql.so
  303. %endif
  304. %if %{build_sqlite}
  305. %files sqlite
  306. %defattr(-,root,root,-)
  307. %{_libdir}/%{name}/sql/libdriver_sqlite.so
  308. %{_libdir}/%{name}/auth/libdriver_sqlite.so
  309. %{_libdir}/%{name}/dict/libdriver_sqlite.so
  310. %endif
  311. %if %{build_ldap}
  312. %files ldap
  313. %defattr(-,root,root,-)
  314. %{_libdir}/%{name}/auth/libauthdb_ldap.so
  315. %endif
  316. %if %{build_drac}
  317. %files drac
  318. %defattr(-,root,root)
  319. %{_libdir}/%{name}/drac.so
  320. %{_libdir}/%{name}/imap/drac.so
  321. %{_libdir}/%{name}/pop3/drac.so
  322. %doc README.plugin-drac
  323. %endif
  324. %files devel
  325. %defattr(-,root,root,-)
  326. %{_includedir}/%{name}
  327. %{_libdir}/%{name}/dovecot-config
  328. %changelog
  329. * Mon Jan 25 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.10-2
  330. - fix drac.so in libs.files
  331. * Mon Jan 25 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.10-1
  332. - new upstream release
  333. * Fri Jan 8 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.9-1
  334. - new upstream release
  335. - update to dovecot sieve 1.1.8
  336. * Thu Sep 17 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.3-2
  337. - update to dovecot sieve 1.1.7 to fix BoF
  338. - add BR: bzip2-devel, libcap-devel
  339. * Mon Aug 10 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.3-1
  340. - new upstream release
  341. * Wed Jul 29 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.2-1
  342. - new upstream release
  343. * Sun Jul 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.1-1
  344. - new upstream release
  345. * Tue Jul 7 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.2.0-1
  346. - new upstream 1.2.x release
  347. - update Patch1 to fit new release
  348. - README.plugin-drac in UTF-8
  349. * Tue Jun 2 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.16-1
  350. - new upstream release
  351. * Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.15-3
  352. - rebuilt with MySQL-5.1.34.
  353. * Tue May 19 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.15-2
  354. - add BuildRequires gettext-devel instead of gettext
  355. * Tue May 19 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.15-1
  356. - new upstream release
  357. - update patch1 to fix new release
  358. * Mon Apr 27 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.14-1
  359. - new upstream release
  360. * Sun Mar 22 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.13-2
  361. - rebuilt with openldap-2.4.11
  362. * Sun Mar 22 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.13-1
  363. - new upstream release
  364. * Sat Feb 07 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.11-1
  365. - new upstream release
  366. * Sun Feb 01 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.10-1
  367. - new upstream release
  368. * Sun Jan 12 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.8-1
  369. - new upstream release
  370. * Sat Nov 01 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.6-1
  371. - new upstream release
  372. * Tue Oct 21 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.4-2
  373. - change BuildRequires sqlite-devel -> sqlite3-devel
  374. * Mon Oct 20 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.1.4-1
  375. - new upstream release
  376. * Fri Sep 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-1
  377. - new upstream release
  378. * Sun Aug 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2-1
  379. - new upstream release
  380. - split ldap plugin to subpackage
  381. - split sql plugins to subpackages
  382. - add -devel subpackage
  383. - update drac module, rename to -drac from -plugin-drac
  384. - add dovecot-sieve
  385. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.13-0vl2
  386. - build for VineSeed (0vl1 is for VinePlus 4.x)
  387. - new upstream release
  388. * Mon Jan 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.10-0vl2
  389. - build for VineSeed (0vl1 is for VinePlus 4.x)
  390. - new upstream release with security fix (CVE-2007-6598)
  391. - turn on daemon stop massage (Already start message is on)
  392. * Sat Dec 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
  393. - new upstream source
  394. * Wed Nov 21 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.7-0vl4
  395. - updated %%install section to support lib64 architecture
  396. * Sun Nov 04 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.7-0vl3
  397. - rebuild for VineSeed (from VinePlus 4.x)
  398. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.5-0vl1
  399. - new upstream release
  400. - rebuilt with postgresql-devel 8.2.5
  401. * Sun Aug 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.3-0vl1
  402. - new upstream release
  403. * Sun May 20 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-0vl1
  404. - new upstream release
  405. * Sat Nov 03 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.7-0vl2
  406. - add Require dracd tag in plugin-drac
  407. * Sat Nov 03 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.7-0vl1
  408. - new upstream release
  409. * Fri Oct 12 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.5-0vl4
  410. - fix drac plugin make method
  411. - change drac.so install method (use sym link)
  412. - add README.plugin-drac
  413. * Fri Oct 12 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.5-0vl3
  414. - add dovecot-openssl.cnf install to doc
  415. - daemon restart message turn on when package is upgraded
  416. * Tue Oct 09 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.5-0vl2
  417. - add drac.so (POP bedore SMTP) support
  418. * Mon Oct 08 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.5-0vl1
  419. - new upstream release
  420. - drop patch500 (it is included in new release)
  421. - move Mysql buildreq tag to "if build_mysql" section
  422. - add Requires: postgresql-libs and Requires: MySQL-shared in "if-endif"
  423. - add Requires: openldap
  424. * Wed Aug 29 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0-0.rc17.0vl2
  425. - add Patch500 to fix directory traversal vulnerability (CVE-2007-2231)
  426. note that version 1.0.rc29 and up have been already fixed in upstream
  427. * Mon Jan 08 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0-0.rc17.0vl1
  428. - new upstream RC release
  429. * Sun Jan 07 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0-0.rc16.0vl1
  430. - new upstream RC release
  431. * Thu Dec 21 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0-0.rc15.0vl2
  432. - add Vendor/Distribution tag
  433. * Sun Dec 10 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0-0.rc15.0vl1
  434. - new upstream RC release
  435. - add BuildRequires: MySQL-shared, MySQL-devel
  436. - update patch100
  437. * Mon Oct 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0.rc7.1vl2
  438. - rebuilt with MySQL 5.0.27
  439. * Mon Aug 28 2006 IWAI, Masaharu <iwai@alib.jp> 1.0-0.rc7.1vl1
  440. - new upstream release
  441. - update default settings patch (Patch100)
  442. - build with openldap-2.3.24
  443. * Tue Aug 1 2006 IWAI, Masaharu <iwai@alib.jp> 1.0-0.rc2.1vl1
  444. - first release for Vine Linux
  445. * Mon Jul 17 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.rc2.1
  446. - reenable inotify and see what happens
  447. * Thu Jul 13 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.rc2
  448. - update to latest upstream release candidate
  449. - disable inotify for now, doesn't build -- this needs fixing though
  450. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.beta8.2.1
  451. - rebuild
  452. * Thu Jun 08 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta8.2
  453. - put back pop3_uidl_format default that got lost
  454. in the beta2->beta7 upgrade (would cause pop3 to not work
  455. at all in many situations)
  456. * Thu May 04 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta8.1
  457. - upgrade to latest upstream beta release (beta8)
  458. - contains a security fix in mbox handling
  459. * Thu May 04 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta7.1
  460. - upgrade to latest upstream beta release
  461. - fixed BR 173048
  462. * Fri Mar 17 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.8
  463. - fix sqlite detection in upstream configure checks, second part
  464. of #182240
  465. * Wed Mar 8 2006 Bill Nottingham <notting@redhat.com> - 1.0-0.beta2.7
  466. - fix scriplet noise some more
  467. * Mon Mar 6 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.beta2.6
  468. - fix scriptlet error (mitr, #184151)
  469. * Mon Feb 27 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.5
  470. - fix #182240 by looking in lib64 for libs first and then lib
  471. - fix comment #1 in #182240 by copying over the example config files
  472. to documentation directory
  473. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.beta2.4.1
  474. - bump again for double-long bug on ppc(64)
  475. * Thu Feb 09 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.4
  476. - enable inotify as it should work now (#179431)
  477. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.beta2.3.1
  478. - rebuilt for new gcc4.1 snapshot and glibc changes
  479. * Thu Feb 02 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.3
  480. - change the compiled-in defaults and adjust the default's configfile
  481. commented-out example settings to match compiled-in defaults,
  482. instead of changing the defaults only in the configfile, as per #179432
  483. - fix #179574 by providing a default uidl_format for pop3
  484. - half-fix #179620 by having plaintext auth enabled by default... this
  485. needs more thinking (which one we really want) and documentation
  486. either way
  487. * Tue Jan 31 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.2
  488. - update URL in description
  489. - call dovecot --build-ssl-parameters in postinst as per #179430
  490. * Mon Jan 30 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2.1
  491. - fix spec to work with BUILD_DIR != SOURCE_DIR
  492. - forward-port and split pam-nocred patch
  493. * Mon Jan 23 2006 Petr Rockai <prockai@redhat.com> - 1.0-0.beta2
  494. - new upstream version, hopefully fixes #173928, #163550
  495. - fix #168866, use install -p to install documentation
  496. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  497. - rebuilt
  498. * Sat Nov 12 2005 Tom Lane <tgl@redhat.com> - 0.99.14-10.fc5
  499. - Rebuild due to mysql update.
  500. * Wed Nov 9 2005 Tomas Mraz <tmraz@redhat.com> - 0.99.14-9.fc5
  501. - rebuilt with new openssl
  502. * Fri Sep 30 2005 Tomas Mraz <tmraz@redhat.com> - 0.99.14-8.fc5
  503. - use include instead of pam_stack in pam config
  504. * Wed Jul 27 2005 John Dennis <jdennis@redhat.com> - 0.99.14-7.fc5
  505. - fix bug #150888, log authenication failures with ip address
  506. * Fri Jul 22 2005 John Dennis <jdennis@redhat.com> - 0.99.14-6.fc5
  507. - fix bug #149673, add dummy PAM_TTY
  508. * Thu Apr 28 2005 John Dennis <jdennis@redhat.com> - 0.99.14-5.fc4
  509. - fix bug #156159 insecure location of restart flag file
  510. * Fri Apr 22 2005 John Dennis <jdennis@redhat.com> - 0.99.14-4.fc4
  511. - openssl moved its certs, CA, etc. from /usr/share/ssl to /etc/pki
  512. * Tue Apr 12 2005 Tom Lane <tgl@redhat.com> 0.99.14-3.fc4
  513. - Rebuild for Postgres 8.0.2 (new libpq major version).
  514. * Mon Mar 7 2005 John Dennis <jdennis@redhat.com> 0.99.14-2.fc4
  515. - bump rev for gcc4 build
  516. * Mon Feb 14 2005 John Dennis <jdennis@redhat.com> - 0.99.14-1.fc4
  517. - fix bug #147874, update to 0.99.14 release
  518. v0.99.14 2005-02-11 Timo Sirainen <tss at iki.fi>
  519. - Message address fields are now parsed differently, fixing some
  520. issues with spaces. Affects only clients which use FETCH ENVELOPE
  521. command.
  522. - Message MIME parser was somewhat broken with missing MIME boundaries
  523. - mbox: Don't allow X-UID headers in mails to override the UIDs we
  524. would otherwise set. Too large values can break some clients and
  525. cause other trouble.
  526. - passwd-file userdb wasn't working
  527. - PAM crashed with 64bit systems
  528. - non-SSL inetd startup wasn't working
  529. - If UID FETCH notices and skips an expunged message, don't return
  530. a NO reply. It's not needed and only makes clients give error
  531. messages.
  532. * Wed Feb 2 2005 John Dennis <jdennis@redhat.com> - 0.99.13-4.devel
  533. - fix bug #146198, clean up temp kerberos tickets
  534. * Mon Jan 17 2005 John Dennis <jdennis@redhat.com> 0.99.13-3.devel
  535. - fix bug #145214, force mbox_locks to fcntl only
  536. - fix bug #145241, remove prereq on postgres and mysql, allow rpm auto
  537. dependency generator to pick up client lib dependency if needed.
  538. * Thu Jan 13 2005 John Dennis <jdennis@redhat.com> 0.99.13-2.devel
  539. - make postgres & mysql conditional build
  540. - remove execute bit on migration example scripts so rpm does not pull
  541. in additional dependences on perl and perl modules that are not present
  542. in dovecot proper.
  543. - add REDHAT-FAQ.txt to doc directory
  544. * Thu Jan 6 2005 John Dennis <jdennis@redhat.com> 0.99.13-1.devel
  545. - bring up to date with latest upstream, 0.99.13, bug #143707
  546. also fix bug #14462, bad dovecot-uid macro name
  547. * Thu Jan 6 2005 John Dennis <jdennis@redhat.com> 0.99.11-10.devel
  548. - fix bug #133618, removed LITERAL+ capability from capability string
  549. * Wed Jan 5 2005 John Dennis <jdennis@redhat.com> 0.99.11-9.devel
  550. - fix bug #134325, stop dovecot during installation
  551. * Wed Jan 5 2005 John Dennis <jdennis@redhat.com> 0.99.11-8.devel
  552. - fix bug #129539, dovecot starts too early,
  553. set chkconfig to 65 35 to match cyrus-imapd
  554. - also delete some old commented out code from SSL certificate creation
  555. * Thu Dec 23 2004 John Dennis <jdennis@redhat.com> 0.99.11-7.devel
  556. - add UW to Dovecot migration documentation and scripts, bug #139954
  557. fix SSL documentation and scripts, add missing documentation, bug #139276
  558. * Thu Nov 15 2004 Warren Togami <wtogami@redhat.com> 0.99.11-2.FC4.1
  559. - rebuild against MySQL4
  560. * Thu Oct 21 2004 John Dennis <jdennis@redhat.com>
  561. - fix bug #136623
  562. Change License field from GPL to LGPL to reflect actual license
  563. * Thu Sep 30 2004 John Dennis <jdennis@redhat.com> 0.99.11-1.FC3.3
  564. - fix bug #124786, listen to ipv6 as well as ipv4
  565. * Wed Sep 8 2004 John Dennis <jdennis@redhat.com> 0.99.11-1.FC3.1
  566. - bring up to latest upstream,
  567. comments from Timo Sirainen <tss at iki.fi> on release v0.99.11 2004-09-04
  568. + 127.* and ::1 IP addresses are treated as secured with
  569. disable_plaintext_auth = yes
  570. + auth_debug setting for extra authentication debugging
  571. + Some documentation and error message updates
  572. + Create PID file in /var/run/dovecot/master.pid
  573. + home setting is now optional in static userdb
  574. + Added mail setting to static userdb
  575. - After APPENDing to selected mailbox Dovecot didn't always notice the
  576. new mail immediately which broke some clients
  577. - THREAD and SORT commands crashed with some mails
  578. - If APPENDed mail ended with CR character, Dovecot aborted the saving
  579. - Output streams sometimes sent data duplicated and lost part of it.
  580. This could have caused various strange problems, but looks like in
  581. practise it rarely caused real problems.
  582. * Wed Aug 4 2004 John Dennis <jdennis@redhat.com>
  583. - change release field separator from comma to dot, bump build number
  584. * Mon Aug 2 2004 John Dennis <jdennis@redhat.com> 0.99.10.9-1,FC3,1
  585. - bring up to date with latest upstream, fixes include:
  586. - LDAP support compiles now with Solaris LDAP library
  587. - IMAP BODY and BODYSTRUCTURE replies were wrong for MIME parts which
  588. didn't contain Content-Type header.
  589. - MySQL and PostgreSQL auth didn't reconnect if connection was lost
  590. to SQL server
  591. - Linking fixes for dovecot-auth with some systems
  592. - Last fix for disconnecting client when downloading mail longer than
  593. 30 seconds actually made it never disconnect client. Now it works
  594. properly: disconnect when client hasn't read _any_ data for 30
  595. seconds.
  596. - MySQL compiling got broken in last release
  597. - More PostgreSQL reconnection fixing
  598. * Mon Jul 26 2004 John Dennis <jdennis@redhat.com> 0.99.10.7-1,FC3,1
  599. - enable postgres and mySQL in build
  600. - fix configure to look for mysql in alternate locations
  601. - nuke configure script in tar file, recreate from configure.in using autoconf
  602. - bring up to latest upstream, which included:
  603. - Added outlook-pop3-no-nuls workaround to fix Outlook hang in mails with NULs.
  604. - Config file lines can now contain quoted strings ("value ")
  605. - If client didn't finish downloading a single mail in 30 seconds,
  606. Dovecot closed the connection. This was supposed to work so that
  607. if client hasn't read data at all in 30 seconds, it's disconnected.
  608. - Maildir: LIST now doesn't skip symlinks
  609. * Wed Jun 30 2004 John Dennis <jdennis@redhat.com>
  610. - bump rev for build
  611. - change rev for FC3 build
  612. * Fri Jun 25 2004 John Dennis <jdennis@redhat.com> - 0.99.10.6-1
  613. - bring up to date with upstream,
  614. recent change log comments from Timo Sirainen were:
  615. SHA1 password support using OpenSSL crypto library
  616. mail_extra_groups setting
  617. maildir_stat_dirs setting
  618. Added NAMESPACE capability and command
  619. Autocreate missing maildirs (instead of crashing)
  620. Fixed occational crash in maildir synchronization
  621. Fixed occational assertion crash in ioloop.c
  622. Fixed FreeBSD compiling issue
  623. Fixed issues with 64bit Solaris binary
  624. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  625. - rebuilt
  626. * Thu May 27 2004 David Woodhouse <dwmw2@redhat.com> 0.99.10.5-1
  627. - Update to 0.99.10.5 to fix maildir segfaults (#123022)
  628. * Fri May 07 2004 Warren Togami <wtogami@redhat.com> 0.99.10.4-4
  629. - default auth config that is actually usable
  630. - Timo Sirainen (author) suggested functionality fixes
  631. maildir, imap-fetch-body-section, customflags-fix
  632. * Mon Feb 23 2004 Tim Waugh <twaugh@redhat.com>
  633. - Use ':' instead of '.' as separator for chown.
  634. * Tue Feb 17 2004 Jeremy Katz <katzj@redhat.com> - 0.99.10.4-3
  635. - restart properly if it dies (#115594)
  636. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  637. - rebuilt
  638. * Mon Nov 24 2003 Jeremy Katz <katzj@redhat.com> 0.99.10.4-1
  639. - update to 0.99.10.4
  640. * Mon Oct 6 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-7
  641. - another patch from upstream to fix returning invalid data on partial
  642. BODY[part] fetches
  643. - patch to avoid confusion of draft/deleted in indexes
  644. * Tue Sep 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-6
  645. - add some patches from upstream (#104288)
  646. * Thu Sep 4 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-5
  647. - fix startup with 2.6 with patch from upstream (#103801)
  648. * Tue Sep 2 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-4
  649. - fix assert in search code (#103383)
  650. * Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.99.10-3
  651. - rebuild
  652. * Thu Jul 17 2003 Bill Nottingham <notting@redhat.com> 0.99.10-2
  653. - don't run by default
  654. * Thu Jun 26 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-1
  655. - 0.99.10
  656. * Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.2
  657. - 0.99.10-rc2 (includes ssl detection fix)
  658. - a few tweaks from fedora
  659. - noreplace the config file
  660. - configure --with-ldap to get LDAP enabled
  661. * Mon Jun 23 2003 Jeremy Katz <katzj@redhat.com> 0.99.10-0.1
  662. - 0.99.10-rc1
  663. - add fix for ssl detection
  664. - add zlib-devel to BuildRequires
  665. - change pam service name to dovecot
  666. - include pam config
  667. * Thu May 8 2003 Jeremy Katz <katzj@redhat.com> 0.99.9.1-1
  668. - update to 0.99.9.1
  669. - add patch from upstream to fix potential bug when fetching with
  670. CR+LF linefeeds
  671. - tweak some things in the initscript and config file noticed by the
  672. fedora folks
  673. * Sun Mar 16 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-2
  674. - fix ssl dir
  675. - own /var/run/dovecot/login with the correct perms
  676. - fix chmod/chown in post
  677. * Fri Mar 14 2003 Jeremy Katz <katzj@redhat.com> 0.99.8.1-1
  678. - update to 0.99.8.1
  679. * Tue Mar 11 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-2
  680. - add a patch to fix quoting problem from CVS
  681. * Mon Mar 10 2003 Jeremy Katz <katzj@redhat.com> 0.99.8-1
  682. - 0.99.8
  683. - add some buildrequires
  684. - fixup to build with openssl 0.9.7
  685. - now includes a pop3 daemon (off by default)
  686. - clean up description and %%preun
  687. - add dovecot user (uid/gid of 97)
  688. - add some buildrequires
  689. - move the ssl cert to %{_datadir}/ssl/certs
  690. - create a dummy ssl cert in %post
  691. - own /var/run/dovecot
  692. - make the config file a source so we get default mbox locks of fcntl
  693. * Sun Dec 1 2002 Seth Vidal <skvidal@phy.duke.edu>
  694. - 0.99.4 and fix startup so it starts imap-master not vsftpd :)
  695. * Tue Nov 26 2002 Seth Vidal <skvidal@phy.duke.edu>
  696. - first build