procmail-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. Summary: The procmail mail processing program.
  2. Summary(ja): procmail メール処理プログラム
  3. Name: procmail
  4. Version: 3.22
  5. Release: 6%{?_dist_release}
  6. License: GPL or artistic
  7. Group: Applications/Internet
  8. Source: ftp://ftp.procmail.org/pub/procmail/procmail-%{version}.tar.gz
  9. URL: http://www.procmail.org
  10. Patch0: procmail-3.22-rhconfig.patch
  11. Patch1: procmail-3.15.1-man.patch
  12. Patch2: procmail_3.22-8.debian.patch
  13. Patch4: procmail-3.22-truncate.patch
  14. Patch5: procmail-3.22-ipv6.patch
  15. Patch6: procmail-3.22-getline.patch
  16. Patch8: procmail-3.22-crash-fix.patch
  17. # patches added by Vine
  18. Patch10: procmail-3.14-OLD_PREFIX.patch
  19. # security fix
  20. Patch100: CVE-2014-3618.patch
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: daisuke, inagaki
  25. %description
  26. The procmail program is MDA (Mail Delivery Agent) for local mail
  27. delivery. In addition to just delivering mail, procmail can be used
  28. for automatic filtering, presorting and other mail handling jobs.
  29. %description -l ja
  30. procmail プログラムはローカルメール配送のためのメール配送エージェント
  31. (MDA) です。procmail は単にメールを配送するだけではなく
  32. 自動フィルタリングやソーティング等の処理も行う事が可能です.
  33. %prep
  34. %setup -q
  35. %patch0 -p1 -b .rhconfig
  36. %patch1 -p1
  37. %patch2 -p1
  38. %patch4 -p1 -b .truncate
  39. %patch5 -p1 -b .ipv6
  40. %patch6 -p1 -b .getline
  41. %patch8 -p1 -b .crash-fix
  42. %patch10 -p1 -b .OLD_PREFIX
  43. # security fix
  44. %patch100 -p1 -b .CVE-2014-3618
  45. find . -type d -exec chmod 755 {} \;
  46. %build
  47. make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
  48. %install
  49. rm -rf ${RPM_BUILD_ROOT}
  50. mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
  51. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,5}
  52. make \
  53. BASENAME=${RPM_BUILD_ROOT}%{_prefix} MANDIR=${RPM_BUILD_ROOT}%{_mandir} \
  54. install
  55. strip ${RPM_BUILD_ROOT}%{_bindir}/* || :
  56. %clean
  57. rm -rf ${RPM_BUILD_ROOT}
  58. %files
  59. %defattr(-,root,root)
  60. %doc Artistic COPYING FAQ FEATURES HISTORY README KNOWN_BUGS examples
  61. %{_bindir}/formail
  62. %attr(2755,root,mail) %{_bindir}/lockfile
  63. %{_bindir}/mailstat
  64. %attr(0755,root,mail) %{_bindir}/procmail
  65. %{_mandir}/man[15]/*
  66. %changelog
  67. * Fri Jul 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.22-6
  68. - dropped a patch: procmail-3.22-large_files.patch.
  69. - imported patches from rawhide.
  70. - procmail-3.22-crash-fix.patch
  71. - procmail-3.22-truncate.patch
  72. * Fri Feb 6 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.22-5
  73. - added patch100 from Vine Linux/6
  74. * Sun Sep 7 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.22-4
  75. - add patch100 for fix CVE-2014-3618 (formail)
  76. * Fri May 16 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 3.22-4
  77. - rebuild on current environment
  78. * Sun Apr 3 2011 IWAI, Masaharu <iwai@alib.jp> 3.22-3
  79. - add two patches from Fedora 3.22-25
  80. - add IPv6 support to comsat notification (Patch5)
  81. - rename getline to avoid conflict with glibc 2.10,11 (Patch6)
  82. - update description
  83. * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.22-2
  84. - spec in UTF-8
  85. * Fri May 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.22-1
  86. - applied new versioning policy
  87. * Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 3.22-0vl4
  88. - rebuild to add gpg sign
  89. - add Patch2,3 from FC
  90. * Sun May 18 2003 IWAI Masaharu <iwai@alib.jp> 3.22-0vl3
  91. - rebuild with new toolchain
  92. - fix typo in %%changelog
  93. * Thu Oct 03 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 3.22-0vl2
  94. - lose setuid/setgid bits.
  95. postfix do not use procmail as local mailer now.
  96. * Tue Oct 2 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 3.22-0vl1
  97. - come back setuid/setgid bits to create lock file.
  98. * Wed Jul 18 2001 <sagami@vinelinux.org>
  99. - 3.20-0vl1
  100. - sync with RedHat 6.2 updates 3.20-0.62; major changes are...
  101. * lose setuid/setgid (root,mail) bits (bugzilla #23257).
  102. * Change to "License: GPL or artistic" from "Copyright: distributable"
  103. * Enable LMTP
  104. * Fix man page (bugzilla #35825)
  105. * Thu Feb 8 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
  106. - 3.14-5vl2
  107. - fixed formail to comply with RFC822 (OLD_PREFIX).
  108. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  109. - 3.14-5vl1
  110. - based on 3.14-5 from Rawhide
  111. - added Japanese summary and description
  112. * Fri Aug 11 2000 Jeff Johnson <jbj@redhat.com>
  113. - add space in delivery rules with '!' (#15947).
  114. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  115. - automatic rebuild
  116. * Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com>
  117. - FHS packaging.
  118. * Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
  119. - compress man pages.
  120. * Fri Jan 14 2000 Jeff Johnson <jbj@redhat.com>
  121. - update to 3.14.
  122. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  123. - fix doc perms.
  124. * Wed Apr 21 1999 Cristian Gafton <gafton@redhat.com>
  125. - turn on GROUP_PER_USER
  126. - add some docs to the package
  127. * Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
  128. - version 3.13
  129. * Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com>
  130. - fixed Group line
  131. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  132. - auto rebuild in the new build environment (release 16)
  133. * Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
  134. - build root
  135. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  136. - translations modified for de, fr, tr
  137. * Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
  138. - built against glibc