From ad8cfeb506f336c34256f865bb518d404a8db67d Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 24 Sep 2009 15:08:31 +0000 Subject: [PATCH] - fix buffer overflow in textbox when reflowing (#523955, CVE-2009-2905) - use full textbox width when reflowing and allow minimal width 1 - fix writing lines longer than width in textbox - don't use va_list in newtvwindow more than once (#523696) - bind \E[Z to back-tab in built-in keymap (#468046) - terminate string after reading file in whiptail - add newtRadioSetCurrent function (Thomas Jarosch) - add pkgconfig support (Thomas Jarosch) - add Malay, Malayalam, Assamese, Gujarati, Bengali India, Kannada, Telugu translations - include tutorial in txt format - include debian patches - fix crash in textbox SetText when topLines != 0 - don't link modules with libraries already linked with libnewt - add Asturian and Marathi translations --- .cvsignore | 2 +- newt.spec | 26 +++++++++++++++++++++++--- sources | 2 +- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index bfa05cd..9bfe686 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -newt-0.52.10.tar.gz +newt-0.52.11.tar.gz diff --git a/newt.spec b/newt.spec index 1cc2be1..237627b 100644 --- a/newt.spec +++ b/newt.spec @@ -1,13 +1,14 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Summary: A library for text mode user interfaces Name: newt -Version: 0.52.10 -Release: 4%{?dist} +Version: 0.52.11 +Release: 1%{?dist} License: LGPLv2 Group: System Environment/Libraries URL: https://fedorahosted.org/newt/ Source: https://fedorahosted.org/releases/n/e/newt/newt-%{version}.tar.gz BuildRequires: popt-devel python-devel slang-devel +BuildRequires: docbook-utils Provides: snack = %{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -63,6 +64,7 @@ providing a python API for creating text mode ionterfaces. %configure --without-tcl make %{?_smp_mflags} all chmod 0644 peanuts.py popcorn.py +docbook2txt tutorial.sgml %install rm -rf $RPM_BUILD_ROOT @@ -86,9 +88,10 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr (-,root,root) -%doc tutorial.sgml +%doc tutorial.* %{_includedir}/newt.h %{_libdir}/libnewt.so +%{_libdir}/pkgconfig/libnewt.pc %files static %defattr(-,root,root) @@ -101,6 +104,23 @@ rm -rf $RPM_BUILD_ROOT %{python_sitearch}/*.py* %changelog +* Thu Sep 24 2009 Miroslav Lichvar - 0.52.11-1 +- fix buffer overflow in textbox when reflowing (#523955, CVE-2009-2905) +- use full textbox width when reflowing and allow minimal width 1 +- fix writing lines longer than width in textbox +- don't use va_list in newtvwindow more than once (#523696) +- bind \E[Z to back-tab in built-in keymap (#468046) +- terminate string after reading file in whiptail +- add newtRadioSetCurrent function (Thomas Jarosch) +- add pkgconfig support (Thomas Jarosch) +- add Malay, Malayalam, Assamese, Gujarati, Bengali India, Kannada, Telugu + translations +- include tutorial in txt format +- include debian patches + - fix crash in textbox SetText when topLines != 0 + - don't link modules with libraries already linked with libnewt + - add Asturian and Marathi translations + * Sat Jul 25 2009 Fedora Release Engineering - 0.52.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index ca968c7..d5e3080 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bcbcc87ec19ba37d34f819209afa2e15 newt-0.52.10.tar.gz +4b9a0685ecd180c42d2c4a5806e3fc52 newt-0.52.11.tar.gz