dovecot-vl.spec 28 KB

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