]> git.pld-linux.org Git - packages/lynx.git/commitdiff
- fix for CVE-2008-4690; rel 4
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Nov 2008 19:25:35 +0000 (19:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lynx.spec -> 1.126

lynx.spec

index 46ab4e320ed44cdda899bb0b839a2f24be554b7f..db9ab4e7c449becbbeb6fe22fd0687769be2d0e4 100644 (file)
--- a/lynx.spec
+++ b/lynx.spec
@@ -8,7 +8,7 @@ Summary(pt_BR.UTF-8):   Navegador web modo texto
 Summary(tr.UTF-8):     Metin ekranda WWW tarayıcı
 Name:          lynx
 Version:       2.8.6rel.5
-Release:       3
+Release:       4
 License:       GPL
 Group:         Applications/Networking
 Source0:       http://lynx.isc.org/current/%{name}%{version}.tar.bz2
@@ -26,10 +26,8 @@ Patch5:              %{name}-config.patch
 Patch6:                %{name}-acfix.patch
 Patch7:                %{name}-gzip_fallback.patch
 Patch8:                %{name}-etc_dir.patch
+Patch9:                %{name}-CVE-2008-4690.patch
 URL:           http://lynx.browser.org/
-# Fix is in RH packages:
-# http://securitytracker.com/alerts/2008/Oct/1021106.html
-#BuildRequires:        security(CVE-2008-4690)
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: bzip2-devel
@@ -97,6 +95,7 @@ formlar ve tablolar için desteği vardır.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 
 %build
 cp /usr/share/automake/config.sub .
@@ -150,6 +149,10 @@ bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%triggerpostun -- %{name} < 2.8.6rel.5-4
+# for CVE-2008-4690
+%{__sed} -i -e '/^#TRUSTED_LYNXCGI:/s,^#,,' %{_sysconfdir}/lynx.cfg
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc CHANGES COPYHEADER PROBLEMS README samples test docs/README*
This page took 0.09336 seconds and 4 git commands to generate.