source: projects/specs/branches/6/p/pcre/pcre-vl.spec @ 10126

Revision 10126, 5.7 KB checked in by iwamoto, 8 years ago (diff)

pcre: fix CVE-2015-2327, 8382, 8385, 8387, 8390, 8393, 8394 and CVE-2015-5073 (CVE-2015-8388)

Line 
1Name: pcre
2Summary: Perl-compatible regular expression library
3Summary(ja): Perl 互換の正規表現ライブラリ
4Version: 8.12
5Release: 2%{?_dist_release}
6
7License: BSD
8Group: System Environment/Libraries
9URL: http://www.pcre.org/
10
11Source:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
12
13# security
14Patch100: pcre-8.12_CVE-2015-2327_8382_8385_8387_8390_8393_8394.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: zlib-devel
18BuildRequires: bzip2-devel
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23Packager: inagaki
24
25%description
26Perl-compatible regular expression library.
27PCRE has its own native API, but a set of "wrapper" functions that are based on
28the POSIX API are also supplied in the library libpcreposix. Note that this
29just provides a POSIX calling interface to PCRE: the regular expressions
30themselves still follow Perl syntax and semantics. The header file
31for the POSIX-style functions is called pcreposix.h.
32
33%package devel
34Summary: Development files for %{name}
35Summary(ja): %{name} の開発用ファイル
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38
39%description devel
40Development files (Headers, libraries for static linking, etc) for %{name}.
41
42%prep
43%setup -q
44%patch100 -p1 -b .CVE-2015-2327_8382_8385_8387_8390_8393_8394
45
46%build
47%configure --includedir=%{_includedir}/%{name} \
48    --disable-static \
49    --enable-utf8 \
50    --enable-unicode-properties \
51    --enable-pcregrep-libz \
52    --enable-pcregrep-libbz2
53
54make %{?_smp_mflags}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58make install DESTDIR=$RPM_BUILD_ROOT
59
60rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
61rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
62
63%check
64make check
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post -p /sbin/ldconfig
70
71%postun -p /sbin/ldconfig
72
73
74%files
75%defattr(-,root,root)
76%doc AUTHORS COPYING ChangeLog LICENCE NEWS README
77%{_bindir}/pcregrep
78%{_libdir}/*.so.*
79%{_mandir}/man1/pcregrep.*
80
81%files devel
82%defattr(-,root,root)
83%doc doc/html/*
84%{_bindir}/pcre-config
85%{_bindir}/pcretest
86%{_includedir}/*
87%{_libdir}/*.so
88#{_libdir}/*.la
89%{_libdir}/pkgconfig/*.pc
90%{_mandir}/man1/pcre-config.*
91%{_mandir}/man1/pcretest.*
92%{_mandir}/man3/*
93
94%changelog
95* Fri Apr  8 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 8.12-2
96- add patch100 for fix CVE-2015-2327,8382,8385,8387,8390,8393,8394
97  patch1000 inculde CVE-2015-5073(CVE-2015-8388) fix
98  This patch is based from 8.12-4ubuntu0.2, thanks.
99- use smp_mflags in make section
100
101* Tue Mar 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.12-1
102- new upstream release
103
104* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 8.10-2
105- rebuilt with rpm-4.8.1 for pkg-config
106
107* Thu Aug 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.10-1
108- new upstream release
109
110* Mon May 10 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 8.02-1
111- new upstream release with security fix
112
113* Sat Feb  6 2010 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 8.01-1
114- new upstream release
115
116* Sat Jan 16 2010 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 8.00-1
117- new upstream release
118
119* Tue Jul 07 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 7.9-2
120- add --enable-unicode-properties to configure option
121
122* Wed Jun 10 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.9-1
123- new upstream release
124- added BR: zlib-devel, bzip2-devel
125- removed static libraries from devel package
126- added Packager tag
127
128* Sat Jan 24 2009 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.8-1vl5
129- new upstream release
130- spec in UTF-8
131
132* Sun Jul  6 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 7.7-1vl5
133- new upstream release
134
135* Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.6-1vl5
136- use macro for Release
137
138* Fri May 09 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 7.6-1vl5
139- apply new virsioning policy.
140- remove *.la
141
142* Thu Feb  7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.6-0vl1
143- new upstream release
144
145* Wed Nov  7 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 7.4-0vl1
146- new upstream release
147
148* Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 7.2-0vl1
149- new upstream release
150
151* Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 6.6-0vl2
152- rebuild with new environment/toolchain
153
154* Wed Feb 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.6-0vl1
155- new upstream release
156
157* Mon Sep  5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.3-0vl2
158- added --enable-utf8 option
159
160* Sun Sep  4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.3-0vl1
161- new upstream release
162
163* Thu Jan 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0-0vl1
164- new upstream release
165- added Japanese summary
166
167* Sun Apr 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5-0vl1
168- new upstream release
169
170* Mon Oct 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4-0vl1
171- new upstream release
172
173* Mon May  5 2003 Tomoya TAKA <taka@vinelinux.org> 4.1-0vl3
174- skip 'make check' on alpha
175
176* Fri Mar 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1-0vl2
177- change install section
178- change files section
179
180* Fri Mar 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1-0vl1
181- update to 4.1
182- add %{_bindir}/pcretest
183- add %doc AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS README
184
185* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.9-0vl2
186- rebuild with new toolchains
187
188* Sat Mar 16 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.9-0vl1
189- Update to 3.9
190
191* Wed Dec 26 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.7-0vl1
192- Update to 3.7
193
194* Sun Oct 14 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.5-0vl1
195- Update to 3.5
196
197* Wed Oct 10 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.4-2vl1
198- Build for VineSeed
199
200* Thu May 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.4-2
201- Move libpcre to /lib, grep uses it these days (#41104)
202
203* Wed Apr 18 2001 Bernhard Rosenkraenzer <bero@redhat.com>
204- Move this to a separate package, used to be in kdesupport, but it's
205  generally useful...
Note: See TracBrowser for help on using the repository browser.