Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libssh: ChangeLog libssh-0.5.3.ebuild
Date: Sat, 24 Nov 2012 22:51:11
Message-Id: 20121124225059.D1B4720C65@flycatcher.gentoo.org
1 radhermit 12/11/24 22:50:59
2
3 Modified: ChangeLog
4 Added: libssh-0.5.3.ebuild
5 Log:
6 Version bump to fix security issues (bug #444147).
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.65 net-libs/libssh/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/ChangeLog?rev=1.65&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/ChangeLog?rev=1.65&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/ChangeLog?r1=1.64&r2=1.65
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v
20 retrieving revision 1.64
21 retrieving revision 1.65
22 diff -u -r1.64 -r1.65
23 --- ChangeLog 20 Sep 2012 11:49:34 -0000 1.64
24 +++ ChangeLog 24 Nov 2012 22:50:59 -0000 1.65
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/libssh
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.64 2012/09/20 11:49:34 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.65 2012/11/24 22:50:59 radhermit Exp $
30 +
31 +*libssh-0.5.3 (24 Nov 2012)
32 +
33 + 24 Nov 2012; Tim Harder <radhermit@g.o> +libssh-0.5.3.ebuild:
34 + Version bump to fix security issues (bug #444147).
35
36 20 Sep 2012; Tomáš Chvátal <scarabeus@g.o> -libssh-0.5.1.ebuild,
37 libssh-0.5.2.ebuild:
38
39
40
41 1.1 net-libs/libssh/libssh-0.5.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/libssh-0.5.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/libssh-0.5.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libssh-0.5.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/libssh-0.5.3.ebuild,v 1.1 2012/11/24 22:50:59 radhermit Exp $
51
52 EAPI=4
53
54 inherit eutils cmake-utils
55
56 DESCRIPTION="Access a working SSH implementation by means of a library"
57 HOMEPAGE="http://www.libssh.org/"
58 SRC_URI="https://red.libssh.org/attachments/download/38/${P}.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
62 SLOT="0"
63 IUSE="debug doc examples gcrypt pcap +sftp ssh1 server static-libs test zlib"
64 # Maintainer: check IUSE-defaults at DefineOptions.cmake
65
66 RDEPEND="
67 zlib? ( >=sys-libs/zlib-1.2 )
68 !gcrypt? ( >=dev-libs/openssl-0.9.8 )
69 gcrypt? ( >=dev-libs/libgcrypt-1.4 )
70 "
71 DEPEND="${RDEPEND}
72 doc? ( app-doc/doxygen )
73 test? ( dev-util/cmockery )
74 "
75
76 REQUIRED_USE="test? ( static-libs )"
77
78 DOCS=( AUTHORS README ChangeLog )
79
80 src_prepare() {
81 # just install the examples do not compile them
82 sed -i \
83 -e '/add_subdirectory(examples)/s/^/#DONOTWANT/' \
84 CMakeLists.txt || die
85
86 epatch "${FILESDIR}"/${PN}-0.5.0-no-pdf-doc.patch \
87 "${FILESDIR}"/${PN}-0.5.0-tests.patch
88 }
89
90 src_configure() {
91 local mycmakeargs=(
92 $(cmake-utils_use_with debug DEBUG_CALLTRACE)
93 $(cmake-utils_use_with debug DEBUG_CRYPTO)
94 $(cmake-utils_use_with gcrypt)
95 $(cmake-utils_use_with pcap)
96 $(cmake-utils_use_with server)
97 $(cmake-utils_use_with sftp)
98 $(cmake-utils_use_with ssh1)
99 $(cmake-utils_use_with static-libs STATIC_LIB)
100 $(cmake-utils_use_with test TESTING)
101 $(cmake-utils_use_with zlib LIBZ)
102 )
103
104 cmake-utils_src_configure
105 }
106
107 src_compile() {
108 cmake-utils_src_compile
109 use doc && cmake-utils_src_compile doc
110 }
111
112 src_install() {
113 cmake-utils_src_install
114
115 use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
116
117 if use examples; then
118 docinto examples
119 dodoc examples/*.{c,h,cpp}
120 fi
121 }