summaryrefslogtreecommitdiff
path: root/libssh2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'libssh2.spec')
-rw-r--r--libssh2.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/libssh2.spec b/libssh2.spec
index c5e5b5d..5c25b39 100644
--- a/libssh2.spec
+++ b/libssh2.spec
@@ -9,7 +9,7 @@
Name: libssh2
Version: 1.4.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A library implementing the SSH2 protocol
Group: System Environment/Libraries
License: BSD
@@ -17,6 +17,7 @@ URL: http://www.libssh2.org/
Source0: http://libssh2.org/download/libssh2-%{version}.tar.gz
Patch0: libssh2-1.4.2-utf8.patch
Patch1: libssh2-1.4.2-fips.patch
+Patch2: libssh2-1.4.2-examples.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: openssl-devel
BuildRequires: zlib-devel
@@ -69,6 +70,9 @@ developing applications that use libssh2.
# Make sure libssh2 works in FIPS mode...
%patch1 -p1
+# examples: use stderr for messages, stdout for data
+%patch2 -p1
+
# Make sshd transition appropriately if building in an SELinux environment
%if !(0%{?fedora} >= 17 || 0%{?rhel} >= 7)
chcon $(/usr/sbin/matchpathcon -n /etc/rc.d/init.d/sshd) tests/ssh2.sh || :
@@ -132,6 +136,9 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/libssh2.pc
%changelog
+* Wed Nov 07 2012 Kamil Dudka <kdudka@redhat.com> 1.4.2-4
+- examples: use stderr for messages, stdout for data (upstream commit b31e35ab)
+
* Wed Sep 26 2012 Kamil Dudka <kdudka@redhat.com> 1.4.2-3
- fix basic functionality of libssh2 in FIPS mode
- skip SELinux-related quirks on recent distros to prevent a test-suite failure
bgstack15