Update to git snapshot to fix CVEs listed below
- CVE-2013-1982
This commit is contained in:
parent
720b8c3a7c
commit
704ab7169f
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ libXext-1.1.2.tar.bz2
|
||||
/libXext-1.2.0.tar.bz2
|
||||
/libXext-1.3.0.tar.bz2
|
||||
/libXext-1.3.1.tar.bz2
|
||||
/libXext-20130524.tar.bz2
|
||||
|
||||
20
libXext.spec
20
libXext.spec
@ -1,12 +1,22 @@
|
||||
%global tarball libXext
|
||||
%global gitdate 20130524
|
||||
%global gitversion dfe6e1f3b
|
||||
|
||||
Summary: X.Org X11 libXext runtime library
|
||||
Name: libXext
|
||||
Version: 1.3.1
|
||||
Release: 4%{?dist}
|
||||
Release: 3%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.x.org
|
||||
|
||||
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
||||
%if 0%{?gitdate}
|
||||
Source0: %{tarball}-%{gitdate}.tar.bz2
|
||||
Source1: make-git-snapshot.sh
|
||||
Source2: commitid
|
||||
%else
|
||||
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
||||
%endif
|
||||
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: xorg-x11-proto-devel >= 7.4-23
|
||||
@ -28,7 +38,7 @@ Requires: %{name} = %{version}-%{release}
|
||||
X.Org X11 libXext development package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
|
||||
|
||||
%build
|
||||
autoreconf -v --install --force
|
||||
@ -82,6 +92,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Fri May 24 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.3.1-3.20130524gitdfe6e1f3b
|
||||
- Update to git snapshot to fix CVEs listed below
|
||||
- CVE-2013-1982
|
||||
|
||||
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.3.1-4
|
||||
- autoreconf for aarch64
|
||||
|
||||
|
||||
17
make-git-snapshot.sh
Executable file
17
make-git-snapshot.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
DIRNAME=libXext-$( date +%Y%m%d )
|
||||
|
||||
rm -rf $DIRNAME
|
||||
git clone git://git.freedesktop.org/git/xorg/lib/libXext $DIRNAME
|
||||
cd $DIRNAME
|
||||
if [ -z "$1" ]; then
|
||||
git log | head -1
|
||||
else
|
||||
git checkout $1
|
||||
fi
|
||||
git log | head -1 | awk '{ print $2 }' > ../commitid
|
||||
git repack -a -d
|
||||
cd ..
|
||||
tar jcf $DIRNAME.tar.bz2 $DIRNAME
|
||||
rm -rf $DIRNAME
|
||||
Loading…
Reference in New Issue
Block a user