fetchmail-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Summary: A remote mail retrieval and forwarding utility.
  3. Summary(ja): 遠隔メール取得/フォワード用ユーティリティ
  4. Name: fetchmail
  5. Version: 6.3.20
  6. Release: 1%{_dist_release}
  7. Requires: smtpdaemon
  8. License: GPL
  9. Group: Applications/Internet
  10. URL: http://fetchmail.berlios.de/
  11. Source0: http://download.berlios.de/fetchmail/fetchmail-%{version}.tar.bz2
  12. Source1: fetchmailconf.1
  13. Patch1: fetchmail-6.3.5-stripnul.patch
  14. Patch2: fetchmail-6.3.5-nonewline.patch
  15. # Patch3: fetchmail-6.3.5-malformed_spam_crash.patch
  16. # security
  17. # Patch100: fetchmail-6.3.8_CVE-2007-4565.patch
  18. # Patch110: fetchmail-6.3.8_CVE-2008-2711.patch
  19. Buildroot: %{_tmppath}/%{name}-%{version}-root
  20. BuildRequires: openssl-devel
  21. BuildRequires: krb5-devel
  22. BuildRequires: python-devel
  23. BuildRequires: flex, bison
  24. Requires: krb5-libs
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: iwamoto, inagaki
  28. %package -n fetchmailconf
  29. Summary: A GUI utility for configuring your fetchmail preferences.
  30. Summary(ja): fetchmail を設定する為の GUI ユーティリティ
  31. Group: Applications/Internet
  32. Requires: python, tk, tkinter, fetchmail = %{version}-%{release}
  33. %description
  34. Fetchmail is a remote mail retrieval and forwarding utility intended
  35. for use over on-demand TCP/IP links, like SLIP or PPP connections.
  36. Fetchmail supports every remote-mail protocol currently in use on the
  37. Internet (POP2, POP3, RPOP, APOP, KPOP, all IMAPs, ESMTP ETRN) for
  38. retrieval. Then Fetchmail forwards the mail through SMTP, so you can
  39. read it through your favorite mail client.
  40. Install fetchmail if you need to retrieve mail over SLIP or PPP
  41. connections.
  42. %description -l ja
  43. fetchmail は SLIP や PPP といったオンデマンド TCP/IP 接続環境で
  44. 使われることを念頭に置いた遠隔メール取得/フォワードユーティリティです.
  45. fetchmail は,現在インターネット上で使われている様々なプロトコル
  46. (POP2, POP3, RPOP, APOP, KPOP, IMAP, ESMTP, ETRN) に対応しています.
  47. fetchmail はメールのフォワードには SMTP を用います.
  48. ですので,あなたのお好きなメールクライアントでメールを読むことが出来ます.
  49. SLIP や PPP 接続でメールを取得したい場合は fetchmail を
  50. インストールして下さい.
  51. %description -n fetchmailconf
  52. Fetchmailconf is a Tcl/Tk GUI application which edits your
  53. .fetchmailrc file, in order to configure the fetchmail mail retrieval
  54. program. Fetchmail's numerous options may be confusing to new users,
  55. but fetchmailconf may help to clear up the confusion.
  56. Install fetchmailconf if you need help configuring fetchmail. You'll
  57. need to have python and tk installed in order to use fetchmailconf.
  58. %description -n fetchmailconf -l ja
  59. fetchmailconf は fetchmail プログラムを制御する .fetchmailrc ファイルを
  60. 編集する為の Tcl/Tk GUI アプリケーションです.
  61. fetchmail の様々なオプションは慣れないユーザにとっては混乱するばかりですが,
  62. fetchmailconf を使うと混乱すること無く設定が行えます.
  63. fetchmail の設定を簡単に行いたい場合は fetchmailconf をインストール
  64. して下さい.fetchmail を使うには python と tk もインストールされている
  65. 必要があります.
  66. %prep
  67. %setup -q
  68. %patch1 -p1 -b .stripnul
  69. %patch2 -p1 -b .nonewline
  70. # %patch3 -p0 -b .malformed_spam
  71. # %patch100 -p0 -b .CVE-2007-4565
  72. # %patch110 -p1 -b .CVE-2008-2711
  73. %build
  74. %configure \
  75. --enable-NTLM \
  76. --with-ssl \
  77. --with-kerberos5 \
  78. --with-gssapi
  79. %__make %{?_smp_mflags}
  80. %install
  81. rm -rf $RPM_BUILD_ROOT
  82. %makeinstall
  83. rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1*
  84. install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/
  85. %find_lang %name
  86. %clean
  87. rm -rf $RPM_BUILD_ROOT
  88. %files -f %{name}.lang
  89. %defattr(-,root,root)
  90. %doc FEATURES README NEWS NOTES *.html FAQ COPYING INSTALL
  91. %{_bindir}/fetchmail
  92. %{_mandir}/man1/fetchmail.1*
  93. %files -n fetchmailconf
  94. %defattr(-,root,root)
  95. %{_bindir}/fetchmailconf
  96. %{python_sitelib}/fetchmailconf.py*
  97. %{_mandir}/man1/fetchmailconf.1*
  98. %changelog
  99. * Sat Jul 16 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.20-1
  100. - new upstream release with security fix (CVE-2011-1947)
  101. http://www.fetchmail.info/fetchmail-SA-2011-01.txt
  102. * Sun Apr 3 2011 IWAI, Masaharu <iwai@alib.jp> 6.3.19-3vl6
  103. - build with krb5-libs 1.8.2
  104. * Sun Jan 9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.19-2
  105. - rebuilt with openssl 1.0.0c
  106. * Sun Dec 12 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.19-1
  107. - new upstream release with security fix
  108. http://fetchmail.berlios.de/fetchmail-EN-2010-03.txt
  109. - add BRs: flex, bison
  110. * Wed May 12 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.17-3
  111. - rebuild with openssl 0.9.8 (2vl6 was built with openssl 1.0)
  112. * Sun May 9 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.17-2
  113. - change spec filename (-vl added)
  114. * Fri May 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.17-1
  115. - new upstream release with security fix (CVE-2010-1167)
  116. - add BR: python-devel
  117. - fix configure option (--with-hoge)
  118. * Thu Feb 11 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.14-1
  119. - new upstream release with security fix (CVE-2010-0562)
  120. * Sat Nov 28 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.3.13-1
  121. - new upstream release (including security fix CVE-2009-0266)
  122. * Thu Aug 6 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.11-1
  123. - new upstream release
  124. - enable krb5 for Vine 5 and later
  125. - fix configure option (drop old configure options)
  126. - fix changelog typo
  127. * Sat Jul 4 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.10-1
  128. - new upstream release
  129. - fix changelog typo
  130. * Sat Nov 29 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.9-1
  131. - new upstream release with CVE-2007-4565,CVE-2008-2711 fix
  132. - drop old pacthes which are included in new release
  133. * Fri Jun 20 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.8-3
  134. - add patch110 for fix CVE-2008-2711
  135. (if 6.3.9 will be released, patch110 is no needed)
  136. - new versioning policy
  137. * Fri Aug 31 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.8-0vl2
  138. - add patch100 for fix CVE-2007-4565
  139. (if 6.3.9 will be released, patch100 is no needed)
  140. * Mon Apr 16 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.8-0vl1
  141. - new upstream release with fixing CVE-2007-1558
  142. * Tue Mar 30 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.7-0vl1
  143. - new upstream release with fixing up fallout from the CVE-2006-5867
  144. * Wed Dec 06 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.6-0vl1
  145. - new upstream release with security fix (CVE-2006-5867,CVE-2006-5974)
  146. - CVE-2006-5974 is already fixed by patch3
  147. - drop patch3 (is included in new release)
  148. - add Vendor/Distribution Tag
  149. * Wed Dec 06 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.5-0vl1.1
  150. - test package
  151. - add patch1,2 from mandrave
  152. - add patch3 from upstream CVS
  153. * Fri Oct 27 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 6.3.5-0vl1
  154. - new upstream release
  155. * Mon Jun 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 6.3.4-0vl1
  156. - new upstream release
  157. * Thu Dec 22 2005 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  158. - 6.2.5-0vl1.1
  159. - new upstream release
  160. - drop patch1
  161. - change source tarball gz -> bz2
  162. * Sun Aug 07 2005 Shu KONNO <owa@bg.wakwak.com> 6.2.5-0vl1.1
  163. - add fetchmail-patch-6.2.5.2.gz
  164. * Mon Nov 10 2003 IWAI, Masaharu <iwai@alib.jp> 6.2.5-0vl1
  165. - new upstream release
  166. * Tue Aug 26 2003 IWAI, Masaharu <iwai@alib.jp> 6.2.4-0vl1
  167. - new upstream release
  168. * Thu Jul 31 2003 IWAI Masaharu <iwai@alib.jp> 6.2.3-0vl1
  169. - new upstream release
  170. * Wed May 21 2003 IWAI Masaharu <iwai@alib.jp> 6.2.2-0vl2
  171. - revise URL and Source0 URL
  172. * Sun Mar 9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 6.2.2-0vl1
  173. - new upstream release
  174. - this version include security fix patch.
  175. * Wed Nov 13 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 6.2.1-0vl1
  176. - new upstream release
  177. (hopefully fixed several security bugs)
  178. * Sun May 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 5.9.11-0vl1
  179. - new upstream release
  180. * Sun Feb 17 2002 Toru Sagami <sagami@vinelinux.org> 5.9.8-0vl1
  181. - updated to 5.9.8
  182. * Mon Jan 07 2002 Toru Sagami <sagami@vinelinux.org>
  183. - 5.9.6-0vl1
  184. * Mon Dec 10 2001 Toru Sagami <sagami@vinelinux.org>
  185. - 5.9.5-0vl1
  186. * Thu Oct 04 2001 Toru Sagami <sagami@vinelinux.org>
  187. - 5.9.4-0vl1
  188. * Tue Aug 14 2001 <sagami@vinelinux.org>
  189. - 5.9.0-0vl1
  190. * Thu Aug 02 2001 <sagami@vinelinux.org>
  191. - 5.8.15-0vl1
  192. - add tkinter for Requires
  193. * Mon Jul 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  194. - 5.8.11-0vl2
  195. - rebuilt with openssl-0.9.6b
  196. * Mon Jul 09 2001 <sagami@vinelinux.org>
  197. - 5.8.11-0vl1
  198. - built with openssl-0.9.6
  199. * Tue Jun 26 2001 <sagami@vinelinux.org>
  200. - 5.8.10-0vl1
  201. * Mon Jun 25 2001 <sagami@vinelinux.org>
  202. - 5.8.9-0vl1
  203. * Thu Jun 21 2001 <sagami@vinelinux.org>
  204. - 5.8.8-0vl1: updated to 5.8.8
  205. - use %%{find_lang}
  206. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  207. - 5.6.0-2vl1
  208. - based on 5.6.0-2 from Rawhide
  209. - added Japanese summary and description
  210. * Tue Nov 28 2000 Nalin Dahyabhai <nalin@redhat.com>
  211. - enable NLS (#21419)
  212. * Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com>
  213. - update to 5.6.0
  214. - revert "untagged" patch, which went upstream
  215. * Wed Nov 8 2000 Nalin Dahyabhai <nalin@redhat.com>
  216. - patch to handle untagged responses during IMAP-GSS authentication
  217. - update to 5.5.5
  218. * Thu Aug 17 2000 Nalin Dahyabhai <nalin@redhat.com>
  219. - enable SSL support
  220. * Sat Aug 12 2000 Nalin Dahyabhai <nalin@redhat.com>
  221. - update to 5.5.0
  222. - change Copyright: to License: GPL
  223. * Tue Aug 8 2000 Nalin Dahyabhai <nalin@redhat.com>
  224. - back out MDA patch; sendmail started listening by default again
  225. * Thu Aug 3 2000 Nalin Dahyabhai <nalin@redhat.com>
  226. - patch to use procmail as an MDA by default
  227. - patch to not run makedepend
  228. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  229. - automatic rebuild
  230. * Sun Jul 2 2000 Nalin Dahyabhai <nalin@redhat.com>
  231. - update to 5.4.3
  232. * Thu Jun 29 2000 Nalin Dahyabhai <nalin@redhat.com>
  233. - fix a typo in 5.4.2
  234. * Wed Jun 28 2000 Matt Wilson <msw@redhat.com>
  235. - fixed configure arguments to not have a continuation at the end of the last
  236. one
  237. * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
  238. - update to 5.4.2
  239. * Fri Jun 9 2000 Nalin Dahyabhai <nalin@redhat.com>
  240. - update to 5.4.1
  241. - FHS fixes, with mandir override
  242. - change fetchmailconf.1 symlink to an include
  243. * Thu May 25 2000 Nalin Dahyabhai <nalin@redhat.com>
  244. - fix Kerberos configure patch to work correctly for krb5 1.0, too
  245. * Fri May 19 2000 Nalin Dahyabhai <nalin@redhat.com>
  246. - update to 5.4.0
  247. - rework Kerberos dependencies
  248. * Fri Apr 21 2000 Nalin Dahyabhai <nalin@redhat.com>
  249. - update to 5.3.8
  250. * Tue Apr 4 2000 Bill Nottingham <notting@redhat.com>
  251. - eliminate explicit krb5-configs dependency
  252. * Mon Mar 6 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  253. - 5.3.1 - This fixes Bugs #9982 and #9987
  254. * Wed Mar 1 2000 Nalin Dahyabhai <nalin@redhat.com>
  255. - make kerberos support conditional at build-time
  256. * Wed Mar 1 2000 Bill Nottingham <notting@redhat.com>
  257. - integrate kerberos support into main tree
  258. * Fri Feb 25 2000 Nalin Dahyabhai <nalin@redhat.com>
  259. - Add Kerberos and GSS authenticator support
  260. * Fri Feb 25 2000 Cristian Gafton <gafton@redhat.com>
  261. - version 5.3.0 has a correct version of the rfc822 patch
  262. * Fri Feb 25 2000 Jeff Johnson <jbj@redhat.com>
  263. - fix length of rfc822 headers in strcncasecmp().
  264. * Tue Feb 15 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  265. - 5.2.8 (fixes the POP3-UIDL bug)
  266. - Fix up the fetchmailconf man page symlink
  267. * Fri Feb 11 2000 Cristian Gafton <gafton@redhat.com>
  268. - version 5.2.7
  269. - add patch so that fetchmailconf will not output ssl configure statements
  270. is no ssl is configured
  271. * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
  272. - rebuild to fix deps
  273. - man pages are compressed
  274. - enable %clean
  275. * Tue Jan 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  276. - 5.2.3
  277. - fetchmailconf requires fetchmail = %{version}
  278. - fix compilation
  279. * Mon Dec 27 1999 Bernhard Rosenkraenzer <bero@redhat.com>
  280. - 5.2.2
  281. * Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
  282. - got 5.1.0, fixes potential buffer overflow...
  283. * Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
  284. - update to 5.0.4.
  285. * Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
  286. - 5.0.0
  287. * Tue Mar 30 1999 Preston Brown <pbrown@redhat.com>
  288. - subpackage for fetchmailconf
  289. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  290. - auto rebuild in the new build environment (release 2)
  291. * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
  292. - version 4.7.0
  293. - build against glibc 2.1
  294. * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
  295. - correct typo in dangling symlink fix.
  296. * Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com>
  297. - update to 4.5.8
  298. * Wed Jul 22 1998 Jeff Johnson <jbj@redhat.com>
  299. - update to 4.5.3.
  300. * Fri May 08 1998 Cristian Gafton <gafton@redhat.com>
  301. - fixed spelung eror in the decsriptoin
  302. * Thu May 07 1998 Cristian Gafton <gafton@redhat.com>
  303. - new version 4.4.4 fixes a lot of bugs
  304. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  305. - translations modified for de, fr, tr
  306. * Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com>
  307. - upgraded to 4.4.1
  308. - buildroot
  309. * Thu Oct 23 1997 Michael Fulbright <msf@redhat.com>
  310. - Updated to 4.3.2 using SRPM from Eric Raymond
  311. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  312. - built against glibc