summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-09-22 15:04:15 +0000
committerJeroen Roovers <jer@gentoo.org>2013-09-22 15:04:15 +0000
commitf3fe1186b696441e50fa9beca50a2c1f29722273 (patch)
treeed96b02e8416222a8f38db72c0194de3f105af7a
parentFix cherokee-admin, bug #482430 (diff)
downloadgentoo-2-f3fe1186b696441e50fa9beca50a2c1f29722273.tar.gz
gentoo-2-f3fe1186b696441e50fa9beca50a2c1f29722273.tar.bz2
gentoo-2-f3fe1186b696441e50fa9beca50a2c1f29722273.zip
Remove static libraries when USE=test (bug #485600 by Nikoli).
(Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key A792A613)
-rw-r--r--net-libs/libssh/ChangeLog5
-rw-r--r--net-libs/libssh/libssh-0.5.5.ebuild4
2 files changed, 7 insertions, 2 deletions
diff --git a/net-libs/libssh/ChangeLog b/net-libs/libssh/ChangeLog
index ec7f7c7a5ebb..693bab70c2db 100644
--- a/net-libs/libssh/ChangeLog
+++ b/net-libs/libssh/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-libs/libssh
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.83 2013/09/18 05:55:56 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.84 2013/09/22 15:04:15 jer Exp $
+
+ 22 Sep 2013; Jeroen Roovers <jer@gentoo.org> libssh-0.5.5.ebuild:
+ Remove static libraries when USE=test (bug #485600 by Nikoli).
18 Sep 2013; Johannes Huber <johu@gentoo.org> -libssh-0.5.4.ebuild:
Remove vulnerable version wrt bug #476622.
diff --git a/net-libs/libssh/libssh-0.5.5.ebuild b/net-libs/libssh/libssh-0.5.5.ebuild
index bb312ddc083d..28bf2a47f868 100644
--- a/net-libs/libssh/libssh-0.5.5.ebuild
+++ b/net-libs/libssh/libssh-0.5.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/libssh-0.5.5.ebuild,v 1.5 2013/09/14 10:37:13 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/libssh-0.5.5.ebuild,v 1.6 2013/09/22 15:04:15 jer Exp $
EAPI=5
@@ -66,6 +66,8 @@ src_install() {
use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
+ use static-libs || rm -f "${D}"/usr/lib64/libssh{,_threads}.a
+
if use examples; then
docinto examples
dodoc examples/*.{c,h,cpp}