procmail-vl.spec 5.5 KB

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