dovecot-vl.spec 29 KB

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