source: projects/specs/branches/6/p/procmail/procmail-vl.spec @ 8942

Revision 8942, 4.6 KB checked in by iwamoto, 10 years ago (diff)

procmail: fix CVE-2014-3618

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