commit:     93da82777fd5f688dc482e6ca7854e2b2416a6c7
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 14 07:44:07 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Aug 14 07:44:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93da8277

net-libs/libssh: Bump to version 0.8.1. Removed old.

Added compatibility symlink

  libssh_threads.so -> libssh.so

until consumers have been fixed.

Bug: https://bugs.gentoo.org/663362
Bug: https://bugs.gentoo.org/663316
Package-Manager: Portage-2.3.46, Repoman-2.3.10

 net-libs/libssh/Manifest                                     | 2 +-
 net-libs/libssh/{libssh-0.8.0.ebuild => libssh-0.8.1.ebuild} | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/net-libs/libssh/Manifest b/net-libs/libssh/Manifest
index 211ef2cd8c7..dbbf852c278 100644
--- a/net-libs/libssh/Manifest
+++ b/net-libs/libssh/Manifest
@@ -1,3 +1,3 @@
 DIST libssh-0.7.4.tar.xz 351892 BLAKE2B 
5427faa04eac7b57f73909f113d933daf667f8311c30364bbf06d4f01121a58f5b560e0a1d9071655ce9b310fa3f3f801e11e880ca3eacde66efa0f49dc51b2b
 SHA512 
94b8183e5c83e339303c1a160c92ccff6159471ac7d189ab66cf6d606d2e803fd616519f079aef1577c947d3a14e315332b05ea08e44d0ab550edbcb768dbea7
 DIST libssh-0.7.5.tar.xz 351632 BLAKE2B 
b41cccb6215c5b7e66742171d91e1081d3c1bf44455b65a5992093d31b28db7a6375e815303e115e02b2458c734d9c61e4b1528ba905bf8a421ca2bbb7221ce6
 SHA512 
6c7f539899caaedf13d66fa2e0fac1a475ecdfe389131abcbdf908bdebc50a0b9e6b0d43e67e52aea85c32f6aa68e46ca2f50695992f82ded83489f445a8e775
-DIST libssh-0.8.0.tar.xz 409280 BLAKE2B 
ac777167db69a956ecee172995dac0d13781b80f395b79f2aa4b691da9d33c886ecbdfe12f9ee926525cc97f358ddbda4f31be719386ef78cebfc9be51626fe0
 SHA512 
63512871f77a3dee52ace4434844647d5715c08f7803e2ffee3b0aa1effe287452e7601df56f7628608d3d58b6cb48d5c909501457e7a3ead5414b7b260070f4
+DIST libssh-0.8.1.tar.xz 409572 BLAKE2B 
65bf38c5bba803a588ff4a1cc5f774cacc43c500bf0aaa77674f9120eccda26027e446aeb9e61a2418eb81077fdb0aa55d8e014f6d466877a9cd96b665c5e7ce
 SHA512 
6630d0b101dc109116ba7a6cffb00db1bc9b5bc6004c843c5361d3d97c6cf4c323129ebf3bbf25ab2fc1961b74520490d7a16999504849c07b26a25679724b93

diff --git a/net-libs/libssh/libssh-0.8.0.ebuild 
b/net-libs/libssh/libssh-0.8.1.ebuild
similarity index 90%
rename from net-libs/libssh/libssh-0.8.0.ebuild
rename to net-libs/libssh/libssh-0.8.1.ebuild
index f29e2283d91..8aaceace64c 100644
--- a/net-libs/libssh/libssh-0.8.0.ebuild
+++ b/net-libs/libssh/libssh-0.8.1.ebuild
@@ -14,7 +14,7 @@ if [[ "${PV}" == *9999 ]] ; then
        EGIT_REPO_URI="https://git.libssh.org/projects/libssh.git";
 else
        inherit eapi7-ver
-       SRC_URI="https://www.libssh.org/files/$(ver_cut 1-2)/${P}.tar.xz"
+       SRC_URI="https://www.libssh.org/files/$(ver_cut 1-2)/${MY_P}.tar.xz"
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
 fi
 
@@ -97,7 +97,11 @@ multilib_src_install() {
                dodoc -r doc/html/.
        fi
 
-       use static-libs || rm -f "${D}"/usr/$(get_libdir)/libssh{,_threads}.a
+       use static-libs || rm -f "${D}"/usr/$(get_libdir)/libssh.a
+
+       # compatibility symlink until all consumers have been updated
+       # to no longer use libssh_threads.so
+       dosym libssh.so /usr/$(get_libdir)/libssh_threads.so
 }
 
 multilib_src_install_all() {

Reply via email to