procmail-vl.spec 4.8 KB

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