diff options
author | Kamil Dudka <kdudka@redhat.com> | 2010-10-12 23:37:04 +0200 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2010-10-13 00:04:08 +0200 |
commit | 9936af47e13ef1a34b23bd83329468365dd54b5d (patch) | |
tree | 512c00381bcccd4cb5d629defead449eb9ea4d77 | |
parent | dist-git conversion (diff) | |
download | libssh2-freefilesync-9936af47e13ef1a34b23bd83329468365dd54b5d.tar.gz libssh2-freefilesync-9936af47e13ef1a34b23bd83329468365dd54b5d.tar.bz2 libssh2-freefilesync-9936af47e13ef1a34b23bd83329468365dd54b5d.zip |
update to 1.2.7 (#632916)
- avoid multilib conflict on libssh2-docs
- avoid build failure in mock with SELinux in the enforcing mode
(#558964)
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | libssh2-1.2.7.tar.gz.asc | 7 | ||||
-rw-r--r-- | libssh2.spec | 15 | ||||
-rw-r--r-- | sources | 2 | ||||
-rw-r--r-- | transport_c_7a9d369.patch | 13 |
5 files changed, 23 insertions, 15 deletions
@@ -1 +1,2 @@ libssh2-1.2.4.tar.gz +/libssh2-1.2.7.tar.gz diff --git a/libssh2-1.2.7.tar.gz.asc b/libssh2-1.2.7.tar.gz.asc new file mode 100644 index 0000000..1f761c0 --- /dev/null +++ b/libssh2-1.2.7.tar.gz.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.10 (GNU/Linux) + +iEYEABECAAYFAkxq+yUACgkQeOEcayedXJG20ACeMdXVfOb0uopARLRRxVdZ3y4/ +a5EAn2lxpeDn1L6JMtdYtJQT19hjfL1T +=eefQ +-----END PGP SIGNATURE----- diff --git a/libssh2.spec b/libssh2.spec index 15347de..dd4f16c 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -1,5 +1,5 @@ Name: libssh2 -Version: 1.2.4 +Version: 1.2.7 Release: 1%{?dist} Summary: A library implementing the SSH2 protocol @@ -51,6 +51,11 @@ for i in ChangeLog NEWS ; do mv new $i done +# make it possible to launch OpenSSH server for testing purposes +chcon -t initrc_exec_t tests/ssh2.sh || : +chcon -Rt etc_t tests/etc || : +chcon -t sshd_key_t tests/etc/{host,user} || : + %build %configure --disable-static --enable-shared @@ -68,6 +73,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} + find example/ -type d -name .deps -exec rm -rf {} + find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -exec rm -v {} + +# avoid multilib conflict on libssh2-docs +mv -v example/Makefile example/Makefile.%{_arch} + %check # sshd/loopback test fails under local build, with selinux enforcing %{?_without_sshd_tests:echo "Skipping sshd tests" ; echo "exit 0" > tests/ssh2.sh } @@ -100,6 +108,11 @@ rm -rf %{buildroot} %{_libdir}/pkgconfig/* %changelog +* Tue Oct 12 2010 Kamil Dudka <kdudka@redhat.com> 1.2.7-1 +- update to 1.2.7 (#632916) +- avoid multilib conflict on libssh2-docs +- avoid build failure in mock with SELinux in the enforcing mode (#558964) + * Fri Mar 12 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.2.4-1 - update to 1.2.4 - drop old patch0 @@ -1 +1 @@ -4d65a66d5f232e5bb1d05b311e43d46d libssh2-1.2.4.tar.gz +a5d78344886f1282e4008c09bf568076 libssh2-1.2.7.tar.gz diff --git a/transport_c_7a9d369.patch b/transport_c_7a9d369.patch deleted file mode 100644 index d642991..0000000 --- a/transport_c_7a9d369.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/transport.c b/src/transport.c -index 19efdf2..d9a38ca 100644 ---- a/src/transport.c -+++ b/src/transport.c -@@ -626,7 +626,7 @@ send_existing(LIBSSH2_SESSION * session, unsigned char *data, - - p->osent += rc; /* we sent away this much data */ - -- return PACKET_NONE; -+ return p->osent < data_len ? PACKET_EAGAIN : PACKET_NONE; - } - - /* |