source: projects/specs/branches/6/lib/libX/libXfont/libXfont-vl.spec @ 9513

Revision 9513, 10.7 KB checked in by iwamoto, 9 years ago (diff)

libXfont: CVE-2015-1802,3,4

Line 
1Summary: X.Org X11 libXfont runtime library
2Summary(ja): X.Org X11 libXfont ランタイムライブラリ
3Name: libXfont
4Version: 1.4.4
5Release: 5%{?_dist_release}
6License: MIT/X11
7Group: System Environment/Libraries
8URL: http://www.x.org
9
10Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
11
12Patch100: libXfont_CVE-2013-6462.patch
13Patch111: libXfont-1.4.4_CVE-2014-0209_10_11_patchset01.patch
14Patch112: libXfont-1.4.4_CVE-2014-0209_10_11_patchset02.patch
15Patch113: libXfont-1.4.4_CVE-2014-0209_10_11_patchset03.patch
16Patch114: libXfont-1.4.4_CVE-2014-0209_10_11_patchset04.patch
17Patch115: libXfont-1.4.4_CVE-2014-0209_10_11_patchset05.patch
18Patch116: libXfont-1.4.4_CVE-2014-0209_10_11_patchset06.patch
19Patch117: libXfont-1.4.4_CVE-2014-0209_10_11_patchset07.patch
20Patch118: libXfont-1.4.4_CVE-2014-0209_10_11_patchset08.patch
21Patch119: libXfont-1.4.4_CVE-2014-0209_10_11_patchset09.patch
22Patch120: libXfont-1.4.4_CVE-2014-0209_10_11_patchset10.patch
23Patch121: libXfont-1.4.4_CVE-2014-0209_10_11_patchset11.patch
24Patch122: libXfont-1.4.4_CVE-2014-0209_10_11_patchset12.patch
25Patch130: libXfont-1.4.4_CVE-2015-1802.patch
26Patch131: libXfont-1.4.4_CVE-2015-1803.patch
27Patch132: libXfont-1.4.x-CVE-2015-1804.patch
28
29BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
30BuildRequires: pkgconfig
31BuildRequires: xorg-x11-util-macros
32BuildRequires: xorg-x11-proto-devel
33BuildRequires: xorg-x11-xtrans-devel
34BuildRequires: libfontenc-devel
35BuildRequires: freetype2-devel
36Obsoletes: XFree86-libs, XOrg-libs
37
38Vendor: Project Vine
39Distribution: Vine Linux
40
41%description
42X.Org X11 libXfont runtime library
43
44%package devel
45Summary: X.Org X11 libXfont development package
46Summary(ja): X.Org X11 libXfont 開発パッケージ
47Group: Development/Libraries
48Requires(pre): xorg-x11-filesystem
49Requires: %{name} = %{version}-%{release}
50Requires: libfontenc-devel
51Requires: xorg-x11-proto-devel
52Obsoletes: XFree86-devel, XOrg-devel
53
54%description devel
55X.Org X11 libXfont development package
56
57%prep
58%setup -q
59#%patch0 -p1 -b .hidden
60
61# security patches
62%patch100 -p1 -b .CVE-2013-6462
63%patch111 -p1 -b .CVE-2014-0209_10_11_patchset01
64%patch112 -p1 -b .CVE-2014-0209_10_11_patchset02
65%patch113 -p1 -b .CVE-2014-0209_10_11_patchset03
66%patch114 -p1 -b .CVE-2014-0209_10_11_patchset04
67%patch115 -p0 -b .CVE-2014-0209_10_11_patchset05
68%patch116 -p0 -b .CVE-2014-0209_10_11_patchset06
69%patch117 -p1 -b .CVE-2014-0209_10_11_patchset07
70%patch118 -p1 -b .CVE-2014-0209_10_11_patchset08
71%patch119 -p1 -b .CVE-2014-0209_10_11_patchset09
72%patch120 -p0 -b .CVE-2014-0209_10_11_patchset10
73%patch122 -p1 -b .CVE-2014-0209_10_11_patchset12
74%patch121 -p1 -b .CVE-2014-0209_10_11_patchset11
75%patch130 -p1 -b .CVE-2015-1802
76%patch131 -p1 -b .CVE-2015-1803
77%patch132 -p1 -b .CVE-2015-1804
78
79%build
80%configure --disable-static
81make
82
83%install
84rm -rf $RPM_BUILD_ROOT
85
86make install DESTDIR=$RPM_BUILD_ROOT
87
88# We intentionally don't ship *.la files
89rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%post -p /sbin/ldconfig
95%postun -p /sbin/ldconfig
96
97%files
98%defattr(-,root,root,-)
99# FIXME:  Missing README/INSTALL - should file bug upstream.
100#%doc AUTHORS COPYING README INSTALL ChangeLog NEWS
101%doc AUTHORS COPYING ChangeLog
102%{_libdir}/libXfont.so.1
103%{_libdir}/libXfont.so.1.4.*
104
105%files devel
106%defattr(-,root,root,-)
107%dir %{_includedir}/X11
108%dir %{_includedir}/X11/fonts
109%{_includedir}/X11/fonts/bdfint.h
110%{_includedir}/X11/fonts/bitmap.h
111%{_includedir}/X11/fonts/bufio.h
112%{_includedir}/X11/fonts/fntfil.h
113%{_includedir}/X11/fonts/fntfilio.h
114%{_includedir}/X11/fonts/fntfilst.h
115%{_includedir}/X11/fonts/fontconf.h
116%{_includedir}/X11/fonts/fontencc.h
117%{_includedir}/X11/fonts/fontmisc.h
118%{_includedir}/X11/fonts/fontshow.h
119%{_includedir}/X11/fonts/fontutil.h
120%{_includedir}/X11/fonts/fontxlfd.h
121%{_includedir}/X11/fonts/pcf.h
122%{_includedir}/X11/fonts/ft.h
123%{_includedir}/X11/fonts/ftfuncs.h
124%{_libdir}/libXfont.so
125%{_libdir}/pkgconfig/xfont.pc
126
127%changelog
128* Wed Apr 15 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.4-5
129- add patch130,131,132 for fix CVE-2015-1802,1803,1804
130
131* Fri May 16 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.4-4
132- add patch111 - 122 for fix CVE-2014-0209,0210,0211
133
134* Wed Jan  8 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.4-3
135- add patch100 for fix CVE-2013-6462 (BDF Font BOF)
136
137* Tue Sep  6 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.4.4-2
138- add Vendor/Distri Tags
139
140* Thu Aug 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.4-1
141- new upstream release
142  (including security fix for CVE-2011-2895)
143
144* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1
145- new upstream release
146
147* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.2-2
148- rebuild with rpm-4.8.1 for pkg-config file
149
150* Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-1
151- new upstream release
152
153* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-1
154- new upstream release
155
156* Sun Dec 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.4-1
157- new upstream release
158
159* Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.3-1
160- new upstream release
161
162* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.1-1
163- new versioning policy
164
165* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.1-0vl1
166- initial build for Vine Linux
167
168* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.3.1-1
169- libXfont 1.3.1
170
171* Mon Sep 17 2007 Adam Jackson <ajax@redhat.com> 1.2.9-4
172- Rebuild for abstract socket support.
173
174* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.2.9-3
175- Rebuild for PPC toolchain bug
176
177* Tue Jun 26 2007 Kristian H淡gsberg <krh@redhat.com> - 1.2.9-2
178- Put in stop-gap patch to fix comparing links with no attributes.
179
180* Fri Jun 22 2007 Kristian H淡gsberg <krh@redhat.com> - 1.2.9-1
181- Pull 1.2.9 down to get the catalogue feature.
182
183* Fri Apr 06 2007 Adam Jackson <ajax@redhat.com> 1.2.8-1
184- libXfont 1.2.8.
185
186* Wed Jan 17 2007 Kristian H淡gsberg <krh@redhat.com> 1.2.6-2
187- Add built-in-scalable.patch to prevent crash when trying to scale
188  built-in bitmap fonts.
189
190* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.2.6-1
191- Update to 1.2.6
192
193* Fri Dec 1 2006 Adam Jackson <ajax@redhat.com> 1.2.5-1
194- Update to 1.2.5 from upstream.  Drops CID font support.
195
196* Sat Nov 25 2006 Adam Jackson <ajax@redhat.com> 1.2.3-4.fc7
197- Revert the namespace whatsit until xfs is sorted out.
198
199* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.2.3-3.fc7
200- libXdmcp-1.0.2-namespace-pollution.patch: One more collision avoider.
201
202* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.2.3-2.fc7
203- libXfont-1.2.3-namespace-pollution.patch: Hide some symbols from the dynamic
204  linker to avoid colliding with other libs.
205
206* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.2.3-1.fc6
207- Update to 1.2.3
208
209* Tue Sep 12 2006 Adam Jackson <ajackson@redhat.com> 1.2.2-1.fc6
210- Update to 1.2.2, misc security fixes
211
212* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.2.0-1.1.fc6
213- rebuild
214
215* Mon Jul 10 2006 Mike A. Harris <mharris@redhat.com> 1.2.0-1.fc6
216- Update to 1.2.0
217
218* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.1.0-3
219- Remove package ownership of mandir/libdir/etc.
220
221* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.1.0-2
222- Added "Requires: libfontenc-devel" for (#185778)
223
224* Sat Apr 01 2006 Adam Jackson <ajackson@redhat.com> 1.1.0-1
225- Update to 1.1.0 for crash fix and new headers
226
227* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
228- bump again for double-long bug on ppc(64)
229
230* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
231- rebuilt for new gcc4.1 snapshot and glibc changes
232
233* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
234- Bumped and rebuilt
235
236* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
237- Updated libXfont to version 1.0.0 from X11R7 RC4
238
239* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
240- Updated libXfont to version 0.99.3 from X11R7 RC3
241- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
242  that /usr/lib/X11 and /usr/include/X11 pre-exist.
243- Removed 'x' suffix from manpage directories to match RC3 upstream.
244- Removed libXfont-0.99.2-fontdir-attrib-fix-bug-172997.patch, which is now
245  integrated upstream.
246
247* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
248- rebuilt
249
250* Mon Nov 14 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
251- Added libXfont-0.99.2-fontdir-attrib-fix-bug-172997.patch to remove
252  conditionalization of FONTDIRATTRIB from sources instead of tweaking
253  CFLAGS for bug (#172997, fdo#5047).
254
255* Mon Nov 14 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
256- Added "-DFONTDIRATTRIB" to CFLAGS, to work around bug (#172997, fdo#5047)
257
258* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
259- Updated libXfont to version 0.99.2 from X11R7 RC2
260- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
261- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
262
263* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
264- Updated libXfont to version 0.99.1 from X11R7 RC1
265- Remove libfontcache* from file manifests, as it is static linked into Xfont
266
267* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-5
268- Renamed package to remove xorg-x11 from the name due to unanimous decision
269  between developers.
270- Use Fedora Extras style BuildRoot tag.
271- Disable static library creation by default.
272- Add missing defattr to devel subpackage
273- Add missing documentation files to doc macro
274- Fix BuildRequires to use new libX* style package names
275
276* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4
277- Added xorg-x11-proto-devel dependency to 'devel' subpackage, because the
278  libXfont headers use some of the protocol headers, but the autotooling of
279  libXfont doesn't autodetect this yet.  Discovered when bdftopcf failed to
280  compile while trying to package xorg-x11-font-utils, even though libXfont
281  headers were installed.
282
283* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
284- Changed all virtual BuildRequires to the "xorg-x11-" prefixed non-virtual
285  package names, as we want xorg-x11 libs to explicitly build against
286  X.Org supplied libs, rather than "any implementation", which is what the
287  virtual provides is intended for.
288- Added freetype-devel build dependency
289
290* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
291- Renamed package to prepend "xorg-x11" to the name for consistency with
292  the rest of the X11R7 packages.
293- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
294  subpackage to ensure the devel package matches the installed shared libs.
295- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
296  allow applications to use implementation agnostic dependencies.
297- Added post/postun scripts which call ldconfig.
298- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
299  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
300
301* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
302- Initial build.
Note: See TracBrowser for help on using the repository browser.