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

Revision 8446, 10.4 KB checked in by iwamoto, 10 years ago (diff)

libXfont: fix CVE-2014-0209,10,11

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