[fontawesome-fonts] Initial import #1026376
by Petr Vobornik
commit 55008874f36b9d4863d3f37caf7d515ba5dbf602
Author: Petr Vobornik <pvoborni(a)redhat.com>
Date: Thu Jan 9 14:29:10 2014 +0100
Initial import #1026376
.gitignore | 1 +
README-Trademarks.txt | 74 +++++++++++++++++++++++++++++++++++++
fontawesome-fonts-fontconfig.conf | 16 ++++++++
fontawesome-fonts.spec | 69 ++++++++++++++++++++++++++++++++++
sources | 1 +
5 files changed, 161 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d932471 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/font-awesome-4.0.3.zip
diff --git a/README-Trademarks.txt b/README-Trademarks.txt
new file mode 100644
index 0000000..87ae00f
--- /dev/null
+++ b/README-Trademarks.txt
@@ -0,0 +1,74 @@
+Brand icons may be subject to trademark and brand guidelines of their
+respective owners. Always check before deploying other companies’ branding.
+
+Brand Icons:
+fa-adn
+fa-android
+fa-apple
+fa-bitbucket
+fa-bitbucket-square
+fa-bitcoin (alias)
+fa-btc
+fa-css3
+fa-dribbble
+fa-dropbox
+fa-facebook
+fa-facebook-square
+fa-flickr
+fa-foursquare
+fa-github
+fa-github-alt
+fa-github-square
+fa-gittip
+fa-google-plus
+fa-google-plus-square
+fa-html5
+fa-instagram
+fa-linkedin
+fa-linkedin-square
+fa-linux
+fa-maxcdn
+fa-pagelines
+fa-pinterest
+fa-pinterest-square
+fa-renren
+fa-skype
+fa-stack-exchange
+fa-stack-overflow
+fa-trello
+fa-tumblr
+fa-tumblr-square
+fa-twitter
+fa-twitter-square
+fa-vimeo-square
+fa-vk
+fa-weibo
+fa-windows
+fa-xing
+fa-xing-square
+fa-youtube
+fa-youtube-play
+fa-youtube-square
+
+Brand Guidelines (incomplete list):
+Android: http://developer.android.com/distribute/googleplay/promote/brand.html
+Apple: http://www.apple.com/legal/intellectual-property/guidelinesfor3rdparties....
+Dribble: http://dribbble.com/branding
+Dropbox: https://www.dropbox.com/branding
+Facebook: https://www.facebookbrand.com/
+Foursquare: https://foursquare.com/legal/trademark https://foursquare.com/about/logos
+GitHub: https://github.com/logos
+Gittip: https://www.gittip.com/about/terms/
+Google Plus: https://developers.google.com/+/branding-guidelines
+HTML5: http://www.w3.org/html/logo/
+Instagram: http://help.instagram.com/304689166306603/
+LinkedIn: http://developer.linkedin.com/documents/branding-guidelines
+Pinterest: http://business.pinterest.com/brand-guidelines/
+Skype: http://www.skype.com/en/legal/brand-guidelines/
+Stack Exchange, Stack Overflow: http://stackexchange.com/legal/trademark-guidance
+Tumblr: http://www.tumblr.com/docs/en/trademark_guidelines
+Twitter: https://about.twitter.com/press/brand-assets
+Vimeo: http://vimeo.com/about/brand_guidelines
+Windows: http://www.microsoft.com/en-us/legal/intellectualproperty/Trademarks/Usag...
+Xing: https://dev.xing.com/docs/policies
+YouTube: http://www.youtube.com/yt/brand/
diff --git a/fontawesome-fonts-fontconfig.conf b/fontawesome-fonts-fontconfig.conf
new file mode 100644
index 0000000..1394b88
--- /dev/null
+++ b/fontawesome-fonts-fontconfig.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>FontAwesome</family>
+ <prefer>
+ <family>fantasy</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>fantasy</family>
+ <default>
+ <family>FontAwesome</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/fontawesome-fonts.spec b/fontawesome-fonts.spec
new file mode 100644
index 0000000..bc05c07
--- /dev/null
+++ b/fontawesome-fonts.spec
@@ -0,0 +1,69 @@
+%global fontname fontawesome
+%global fontconf 60-%{fontname}.conf
+
+Name: %{fontname}-fonts
+Version: 4.0.3
+Release: 1%{?dist}
+Summary: Iconic font set
+License: OFL
+URL: http://fontawesome.io/
+Source0: http://fontawesome.io/assets/font-awesome-4.0.3.zip
+Source1: %{name}-fontconfig.conf
+Source2: README-Trademarks.txt
+BuildArch: noarch
+BuildRequires: fontpackages-devel
+BuildRequires: ttembed
+Requires: fontpackages-filesystem
+
+
+%description
+Font Awesome gives you scalable vector icons that can instantly be
+customized — size, color, drop shadow, and anything that can be done with the
+power of CSS.
+
+%package web
+License: MIT
+Requires: %{fontname}-fonts = %{version}-%{release}
+Summary: Web files for fontawesome
+
+%description web
+Web files for fontawesome.
+
+%prep
+%setup -q -n font-awesome-%{version}
+cp -p %SOURCE2 .
+
+%build
+ttembed fonts/*.ttf fonts/*.otf
+
+%install
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p fonts/*.ttf fonts/*.otf %{buildroot}%{_fontdir}
+
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+ %{buildroot}%{_fontconfig_confdir}
+
+install -m 0644 -p %{SOURCE1} \
+ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+
+ln -s %{_fontconfig_templatedir}/%{fontconf} \
+ %{buildroot}%{_fontconfig_confdir}/%{fontconf}
+
+mkdir -p %{buildroot}%{_datadir}/font-awesome-%{version}/
+cp -a css less scss %{buildroot}%{_datadir}/font-awesome-%{version}/
+
+%_font_pkg -f %{fontconf} *.ttf *.otf
+
+%doc README-Trademarks.txt
+
+%files web
+%{_datadir}/font-awesome-%{version}/
+
+%changelog
+* Thu Jan 02 2014 Petr Vobornik <pvoborni(a)redhat.com> - 4.0.3-1
+- embeddable flag set to installable by ttembed
+- web package license updated to MIT
+- README-Trademarks.txt added
+
+* Mon Nov 04 2013 Ryan Lerch <ryanlerch(a)fedoraproject.org> - 4.0.3-0
+- initial package based off spot's package
diff --git a/sources b/sources
index e69de29..3f57b70 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cb976fa86491f59558d6169b25bcc111 font-awesome-4.0.3.zip
10 years, 5 months
[libXfont/f19] Fix CVE-2013-6462, potential stack overflow
by Peter Hutterer
commit 92f16f153af36a83e8aa48b1850c9124f6373fe0
Author: Peter Hutterer <peter.hutterer(a)who-t.net>
Date: Wed Jan 8 10:45:42 2014 +1000
Fix CVE-2013-6462, potential stack overflow
...62-unlimited-sscanf-overflows-stack-buffe.patch | 33 ++++++++++++++++++++
libXfont.spec | 7 +++-
2 files changed, 39 insertions(+), 1 deletions(-)
---
diff --git a/0001-CVE-2013-6462-unlimited-sscanf-overflows-stack-buffe.patch b/0001-CVE-2013-6462-unlimited-sscanf-overflows-stack-buffe.patch
new file mode 100644
index 0000000..5460fc2
--- /dev/null
+++ b/0001-CVE-2013-6462-unlimited-sscanf-overflows-stack-buffe.patch
@@ -0,0 +1,33 @@
+From 4d024ac10f964f6bd372ae0dd14f02772a6e5f63 Mon Sep 17 00:00:00 2001
+From: Alan Coopersmith <alan.coopersmith(a)oracle.com>
+Date: Mon, 23 Dec 2013 18:34:02 -0800
+Subject: [PATCH] CVE-2013-6462: unlimited sscanf overflows stack buffer in
+ bdfReadCharacters()
+
+Fixes cppcheck warning:
+ [lib/libXfont/src/bitmap/bdfread.c:341]: (warning)
+ scanf without field width limits can crash with huge input data.
+
+Signed-off-by: Alan Coopersmith <alan.coopersmith(a)oracle.com>
+Reviewed-by: Matthieu Herrb <matthieu(a)herrb.eu>
+Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu(a)apple.com>
+---
+ src/bitmap/bdfread.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/bitmap/bdfread.c b/src/bitmap/bdfread.c
+index e2770dc..e11c5d2 100644
+--- a/src/bitmap/bdfread.c
++++ b/src/bitmap/bdfread.c
+@@ -338,7 +338,7 @@ bdfReadCharacters(FontFilePtr file, FontPtr pFont, bdfFileState *pState,
+ char charName[100];
+ int ignore;
+
+- if (sscanf((char *) line, "STARTCHAR %s", charName) != 1) {
++ if (sscanf((char *) line, "STARTCHAR %99s", charName) != 1) {
+ bdfError("bad character name in BDF file\n");
+ goto BAILOUT; /* bottom of function, free and return error */
+ }
+--
+1.8.4.2
+
diff --git a/libXfont.spec b/libXfont.spec
index afe7ca6..ebeb066 100644
--- a/libXfont.spec
+++ b/libXfont.spec
@@ -1,13 +1,14 @@
Summary: X.Org X11 libXfont runtime library
Name: libXfont
Version: 1.4.5
-Release: 4%{?dist}
+Release: 5%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
+Patch01: 0001-CVE-2013-6462-unlimited-sscanf-overflows-stack-buffe.patch
BuildRequires: autoconf automake libtool
BuildRequires: pkgconfig(fontsproto)
@@ -30,6 +31,7 @@ X.Org X11 libXfont development package
%prep
%setup -q
+%patch01 -p1
%build
autoreconf -v --install --force
@@ -80,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/xfont.pc
%changelog
+* Wed Jan 08 2014 Peter Hutterer <peter.hutterer(a)redhat.com> 1.4.5-5
+- Fix CVE-2013-6462, potential stack overflow
+
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer(a)redhat.com> - 1.4.5-4
- autoreconf for aarch64
10 years, 5 months
[libXfont] libXfont 1.4.7 (CVE-2013-6462)
by Peter Hutterer
commit 6863970123738d49306eff94ade933cd3f733d9e
Author: Peter Hutterer <peter.hutterer(a)who-t.net>
Date: Wed Jan 8 07:29:09 2014 +1000
libXfont 1.4.7 (CVE-2013-6462)
.gitignore | 1 +
libXfont.spec | 7 +++++--
sources | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2ab5ce7..52261fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ libXfont-1.4.2.tar.bz2
/libXfont-1.4.4.tar.bz2
/libXfont-1.4.5.tar.bz2
/libXfont-1.4.6.tar.bz2
+/libXfont-1.4.7.tar.bz2
diff --git a/libXfont.spec b/libXfont.spec
index 7f87cbc..0d46d9c 100644
--- a/libXfont.spec
+++ b/libXfont.spec
@@ -1,7 +1,7 @@
Summary: X.Org X11 libXfont runtime library
Name: libXfont
-Version: 1.4.6
-Release: 2%{?dist}
+Version: 1.4.7
+Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.x.org
@@ -80,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/xfont.pc
%changelog
+* Wed Jan 08 2014 Peter Hutterer <peter.hutterer(a)redhat.com> 1.4.7-1
+- libXfont 1.4.7 (CVE-2013-6462)
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.4.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 0aa0bb9..5248c04 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-351a9b7348d165029bda52c9fdcb5c7a libXfont-1.4.6.tar.bz2
+b21ee5739d5d2e5028b302fbf9fe630b libXfont-1.4.7.tar.bz2
10 years, 5 months