Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libssh: ChangeLog libssh-9999.ebuild libssh-0.4.6.ebuild
Date: Mon, 22 Nov 2010 21:36:46
Message-Id: 20101122213641.841D220051@flycatcher.gentoo.org
1 scarabeus 10/11/22 21:36:41
2
3 Modified: ChangeLog
4 Added: libssh-9999.ebuild libssh-0.4.6.ebuild
5 Log:
6 Add new version and live ebuild.
7
8 (Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.36 net-libs/libssh/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 3 Sep 2010 19:29:07 -0000 1.35
24 +++ ChangeLog 22 Nov 2010 21:36:41 -0000 1.36
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-libs/libssh
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.35 2010/09/03 19:29:07 josejx Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.36 2010/11/22 21:36:41 scarabeus Exp $
30 +
31 +*libssh-9999 (22 Nov 2010)
32 +*libssh-0.4.6 (22 Nov 2010)
33 +
34 + 22 Nov 2010; Tomáš Chvátal <scarabeus@g.o> +libssh-0.4.6.ebuild,
35 + +libssh-9999.ebuild:
36 + Add new version and live ebuild.
37
38 03 Sep 2010; Joseph Jezak <josejx@g.o> libssh-0.4.1.ebuild:
39 Marked ppc64 stable for bug #322791.
40
41
42
43 1.1 net-libs/libssh/libssh-9999.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/libssh-9999.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/libssh-9999.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libssh-9999.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/libssh-9999.ebuild,v 1.1 2010/11/22 21:36:41 scarabeus Exp $
53
54 EAPI=3
55
56 inherit eutils cmake-utils git
57
58 DESCRIPTION="Access a working SSH implementation by means of a library"
59 HOMEPAGE="http://www.libssh.org/"
60 EGIT_REPO_URI="git://git.libssh.org/projects/libssh/libssh.git"
61
62 LICENSE="LGPL-2.1"
63 KEYWORDS=""
64 SLOT="0"
65 IUSE="debug gcrypt examples +sftp ssh1 server static-libs zlib"
66
67 DEPEND="
68 zlib? ( >=sys-libs/zlib-1.2 )
69 !gcrypt? ( >=dev-libs/openssl-0.9.8 )
70 gcrypt? ( >=dev-libs/libgcrypt-1.4 )
71 "
72 RDEPEND="${DEPEND}"
73
74 DOCS=(AUTHORS README ChangeLog)
75
76 src_prepare() {
77 sed -i '/add_subdirectory(examples)/s/^/#DONOTWANT/' CMakeLists.txt
78 }
79
80 src_configure() {
81 mycmakeargs=(
82 $(cmake-utils_use_with debug DEBUG_CALLTRACE)
83 $(cmake-utils_use_with debug DEBUG_CRYPTO)
84 $(cmake-utils_use_with gcrypt)
85 $(cmake-utils_use_with zlib LIBZ)
86 $(cmake-utils_use_with sftp)
87 $(cmake-utils_use_with ssh1)
88 $(cmake-utils_use_with server)
89 $(cmake-utils_use_with static-libs STATIC_LIB)
90 )
91
92 cmake-utils_src_configure
93 }
94
95 src_install() {
96 cmake-utils_src_install
97
98 if use examples; then
99 insinto "${EROOT}"usr/share/doc/"${PF}"/examples
100 doins examples/*.c
101 fi
102 }
103
104
105
106 1.1 net-libs/libssh/libssh-0.4.6.ebuild
107
108 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/libssh-0.4.6.ebuild?rev=1.1&view=markup
109 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/libssh-0.4.6.ebuild?rev=1.1&content-type=text/plain
110
111 Index: libssh-0.4.6.ebuild
112 ===================================================================
113 # Copyright 1999-2010 Gentoo Foundation
114 # Distributed under the terms of the GNU General Public License v2
115 # $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/libssh-0.4.6.ebuild,v 1.1 2010/11/22 21:36:41 scarabeus Exp $
116
117 # Maintainer: check IUSE-defaults at DefineOptions.cmake
118
119 EAPI=3
120
121 inherit cmake-utils
122
123 DESCRIPTION="Access a working SSH implementation by means of a library"
124 HOMEPAGE="http://www.libssh.org/"
125 SRC_URI="http://www.${PN}.org/files/${P}.tar.gz"
126
127 LICENSE="LGPL-2.1"
128 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
129 SLOT="0"
130 IUSE="debug gcrypt examples +sftp ssh1 server static-libs zlib"
131
132 DEPEND="
133 zlib? ( >=sys-libs/zlib-1.2 )
134 !gcrypt? ( >=dev-libs/openssl-0.9.8 )
135 gcrypt? ( >=dev-libs/libgcrypt-1.4 )
136 "
137 RDEPEND="${DEPEND}"
138
139 DOCS="AUTHORS README ChangeLog"
140
141 src_prepare() {
142 sed -i '/add_subdirectory(examples)/s/^/#DONOTWANT/' CMakeLists.txt
143 }
144
145 src_configure() {
146 mycmakeargs=(
147 $(cmake-utils_use_with debug DEBUG_CALLTRACE)
148 $(cmake-utils_use_with debug DEBUG_CRYPTO)
149 $(cmake-utils_use_with gcrypt)
150 $(cmake-utils_use_with zlib LIBZ)
151 $(cmake-utils_use_with sftp)
152 $(cmake-utils_use_with ssh1)
153 $(cmake-utils_use_with server)
154 $(cmake-utils_use_with static-libs STATIC_LIB)
155 )
156
157 cmake-utils_src_configure
158 }
159
160 src_install() {
161 cmake-utils_src_install
162
163 if use examples; then
164 insinto "${EROOT}"usr/share/doc/"${PF}"/examples
165 doins examples/*.c
166 fi
167 }