Accepting request 211688 from network:synchronization:files

- Remove remove-pedantic-errors.diff, does not apply anymore and is
  not needed anymore. (forwarded request 211685 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/211688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libssh?expand=0&rev=30
This commit is contained in:
Stephan Kulow 2013-12-19 20:38:33 +00:00 committed by Git OBS Bridge
parent 06be2731ab
commit 64a322aa8d
5 changed files with 29 additions and 42 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7215b4ec500c64867ba7c0800b38511e60a6c3df98f7e99b4374b4ccd998c702
size 225528

3
libssh-0.5.90.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d311fa507fee977d35aceb46f52a03f224755822d6016c5db72a2e74cb86faca
size 274036

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Thu Dec 19 13:23:21 CET 2013 - kukuk@suse.de
- Remove remove-pedantic-errors.diff, does not apply anymore and is
not needed anymore.
-------------------------------------------------------------------
Thu Oct 31 21:49:47 UTC 2013 - javier@opensuse.org
- Update to version 0.6.0rc1
* Added new publicy key API.
* Added new userauth API.
* Added gssapi-mic userauth.
* Added new callback based server API.
* Added Elliptic Curve DSA (ECDSA) support (with OpenSSL).
* Added Elliptic Curve Diffie Hellman (ECDH) support.
* Added improved logging system.
* Added SSH-agent forwarding.
* Added key-reexchange.
* Improved documentation.
* Fixed timeout handling.
-------------------------------------------------------------------
Mon Jul 29 08:17:19 UTC 2013 - asn@cryptomilk.org

View File

@ -25,13 +25,12 @@ BuildRequires: gcc-c++
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: xz
Version: 0.5.5
Release: 0
Version: 0.5.90
Release: 0.1.rc1
Summary: SSH library
License: LGPL-2.1+
Group: System/Libraries
Source0: %{name}-%{version}.tar.xz
Patch1: remove-pedantic-errors.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -80,8 +79,7 @@ Group: Development/Languages/C and C++
Documentation for libssh development.
%prep
%setup -q
%patch -P 1 -p1
%setup -q -n %{name}-%{version}
%build
if test ! -e "build"; then
@ -128,6 +126,7 @@ popd build
%{_libdir}/libssh_threads.so
%{_libdir}/pkgconfig/libssh.pc
%{_libdir}/pkgconfig/libssh_threads.pc
%{_libdir}/cmake/libssh*cmake
%files devel-doc
%defattr(-,root,root)

View File

@ -1,34 +0,0 @@
From: Jan Engelhardt <jengelh@medozas.de>
Date: 2012-02-06 00:00:21.707276910 +0100
The header file /usr/include/asm/sigcontext.h uses an unnamed
aggregate (inside struct _fpstate), which is not permitted by ISO
C99. gcc's -pedantic-errors flag causes this to be flagged.
gcc has an exception that system header files are exempt from
pedantic-error reporting, but somehow this fails to work in SLES 11
SP 1 and only SP1, even though
- both SP0 and SP1 have gcc-4.3.4
- the unnamed aggregate is in both SP0 and SP1
Just like -Werror is a common nuisance, rip out -pedantic-errors
occurences as well.
---
cmake/Modules/DefineCompilerFlags.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libssh-0.5.1/cmake/Modules/DefineCompilerFlags.cmake
===================================================================
--- libssh-0.5.1.orig/cmake/Modules/DefineCompilerFlags.cmake
+++ libssh-0.5.1/cmake/Modules/DefineCompilerFlags.cmake
@@ -9,7 +9,7 @@ if (UNIX AND NOT WIN32)
#
if (${CMAKE_C_COMPILER_ID} MATCHES GNU)
# add -Wconversion ?
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic -pedantic-errors")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-format-attribute")