Accepting request 106720 from home:elvigia:branches:devel:libraries:c_c++

- Update to version 20110802, fix use after free triggerable
  with sftp autocompletion and MALLOC_PERTURB set.

OBS-URL: https://build.opensuse.org/request/show/106720
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libedit?expand=0&rev=45
This commit is contained in:
Cristian Rodríguez
2012-02-23 19:01:31 +00:00
committed by Git OBS Bridge
parent 0bfc3455b3
commit 1aea2acc31
6 changed files with 33 additions and 52 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package libedit
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,29 @@
#
Name: libedit
Version: 3.0.snap20100424
Release: 9
Version: 3.0.snap20110802
Release: 0
%define pkg_name libedit
%define pkg_version 20100424-3.0
%define pkg_version 20110802-3.0
#
License: BSD-3-Clause
Group: Development/Libraries/C and C++
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ ncurses-devel pkgconfig
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
#
URL: http://www.thrysoee.dk/editline/
Url: http://www.thrysoee.dk/editline/
# http://www.thrysoee.dk/editline/%{pkg_name}-%{pkg_version}.tar.gz
Source: %{pkg_name}-%{pkg_version}.tar.bz2
Source: %{pkg_name}-%{pkg_version}.tar.gz
Source1: README.SuSE
Source2: baselibs.conf
Patch1: libedit-downgrade_autoconf.patch
Patch2: libedit-20100424-3.0-ncurses.patch
#
Summary: Command Line Editing and History Library
License: BSD-3-Clause
Group: Development/Libraries/C and C++
%description
libedit is a command line editing and history library. It is designed
@@ -49,10 +49,10 @@ at a terminal prompt.
%define soname 0
%package -n %{library_name}
Group: Development/Libraries/C and C++
Provides: %{pkg_name} = %{version}-%{release}
Obsoletes: %{pkg_name} < %{version}
Summary: Command Line Editing and History Library
Group: Development/Libraries/C and C++
%description -n %{library_name}
libedit is a command line editing and history library. It is designed
@@ -60,11 +60,11 @@ to be used by interactive programs that allow the user to type commands
at a terminal prompt.
%package -n libedit-devel
Group: Development/Libraries/C and C++
Requires: %{library_name} = %{version}
Provides: %{library_name}-devel = %{version}-%{release}
Requires: glibc-devel
Summary: Development files for libedit
Group: Development/Libraries/C and C++
%description -n libedit-devel
libedit is a command line editing and history library. It is designed
@@ -76,7 +76,6 @@ This package holds the development files for libedit.
%prep
%setup -n %{pkg_name}-%{pkg_version}
%{__cp} %{S:1} .
%patch1
%patch2
%build