fetchmail-vl.spec 15 KB

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