|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: libssh2
|
|
|
|
Name: libssh2
|
|
|
|
Version: 1.2.2
|
|
|
|
Version: 1.2.2
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: A library implementing the SSH2 protocol
|
|
|
|
Summary: A library implementing the SSH2 protocol
|
|
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
@ -15,6 +15,9 @@ Patch0: libssh2-1.2.2-padding.patch
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# tests
|
|
|
|
|
|
|
|
BuildRequires: openssh-server
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
libssh2 is a library implementing the SSH2 protocol as defined by
|
|
|
|
libssh2 is a library implementing the SSH2 protocol as defined by
|
|
|
|
Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25),
|
|
|
|
Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25),
|
|
|
@ -70,8 +73,9 @@ rm -rf example/simple/.deps
|
|
|
|
find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} +
|
|
|
|
find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} +
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# tests are currently not doing so well under rpmbuild
|
|
|
|
# sshd/loopback test fails under local build, with selinux enforcing
|
|
|
|
#(cd tests && make check)
|
|
|
|
%{?_without_sshd_tests:echo "Skipping sshd tests" ; echo "exit 0" > tests/ssh2.sh }
|
|
|
|
|
|
|
|
(cd tests && make check)
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
@ -100,6 +104,10 @@ rm -rf %{buildroot}
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-4
|
|
|
|
|
|
|
|
- enable tests; conditionalize sshd test, which fails with a funky SElinux
|
|
|
|
|
|
|
|
error when run locally
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-3
|
|
|
|
* Mon Jan 18 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.2-3
|
|
|
|
- patch w/1aba38cd7d2658146675ce1737e5090f879f306; not yet in a GA release
|
|
|
|
- patch w/1aba38cd7d2658146675ce1737e5090f879f306; not yet in a GA release
|
|
|
|
|
|
|
|
|
|
|
|