diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2013-12-20 14:13:44 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2013-12-20 14:13:44 +0000 |
commit | 33be547ce09f2b23488b93024be12c44ac4c5d7c (patch) | |
tree | c6adc132b50d4b50d9349e1f257317b6ac51602f /net-libs/libssh | |
parent | Version bump. (diff) | |
download | gentoo-2-33be547ce09f2b23488b93024be12c44ac4c5d7c.tar.gz gentoo-2-33be547ce09f2b23488b93024be12c44ac4c5d7c.tar.bz2 gentoo-2-33be547ce09f2b23488b93024be12c44ac4c5d7c.zip |
Version bump with kind permission from johu
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'net-libs/libssh')
-rw-r--r-- | net-libs/libssh/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/libssh/libssh-0.6.0_rc3.ebuild | 79 |
2 files changed, 85 insertions, 1 deletions
diff --git a/net-libs/libssh/ChangeLog b/net-libs/libssh/ChangeLog index b0fad0a9495b..d420328d5ebd 100644 --- a/net-libs/libssh/ChangeLog +++ b/net-libs/libssh/ChangeLog @@ -1,6 +1,11 @@ # 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.91 2013/12/06 12:26:30 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.92 2013/12/20 14:13:44 polynomial-c Exp $ + +*libssh-0.6.0_rc3 (20 Dec 2013) + + 20 Dec 2013; Lars Wendler <polynomial-c@gentoo.org> +libssh-0.6.0_rc3.ebuild: + Version bump with kind permission from johu. *libssh-0.6.0_rc2 (06 Dec 2013) diff --git a/net-libs/libssh/libssh-0.6.0_rc3.ebuild b/net-libs/libssh/libssh-0.6.0_rc3.ebuild new file mode 100644 index 000000000000..0e80bda15912 --- /dev/null +++ b/net-libs/libssh/libssh-0.6.0_rc3.ebuild @@ -0,0 +1,79 @@ +# 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.6.0_rc3.ebuild,v 1.1 2013/12/20 14:13:44 polynomial-c Exp $ + +EAPI=5 + +MY_P=${PN}-${PV/_rc/rc} +inherit eutils cmake-utils multilib + +DESCRIPTION="Access a working SSH implementation by means of a library" +HOMEPAGE="http://www.libssh.org/" +SRC_URI="https://red.libssh.org/attachments/download/68/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~arm ~hppa ~x86 ~amd64-linux ~x86-linux" +SLOT="0/4" # subslot = soname major version +IUSE="debug doc examples gcrypt pcap +sftp ssh1 server static-libs test zlib" +# Maintainer: check IUSE-defaults at DefineOptions.cmake + +RDEPEND=" + zlib? ( >=sys-libs/zlib-1.2 ) + !gcrypt? ( >=dev-libs/openssl-0.9.8 ) + gcrypt? ( >=dev-libs/libgcrypt-1.4 ) +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + test? ( dev-util/cmocka ) +" + +DOCS=( AUTHORS README ChangeLog ) + +S=${WORKDIR}/${MY_P} + +PATCHES=( "${FILESDIR}/${PN}-0.5.0-tests.patch" ) + +src_prepare() { + # just install the examples do not compile them + sed -i \ + -e '/add_subdirectory(examples)/s/^/#DONOTWANT/' \ + CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_with debug DEBUG_CALLTRACE) + $(cmake-utils_use_with debug DEBUG_CRYPTO) + $(cmake-utils_use_with gcrypt) + $(cmake-utils_use_with pcap) + $(cmake-utils_use_with server) + $(cmake-utils_use_with sftp) + $(cmake-utils_use_with ssh1) + $(cmake-utils_use_with static-libs STATIC_LIB) + $(cmake-utils_use_with test STATIC_LIB) + $(cmake-utils_use_with test TESTING) + $(cmake-utils_use_with zlib) + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + use doc && cmake-utils_src_compile doc +} + +src_install() { + cmake-utils_src_install + + use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/* + + use static-libs || rm -f "${D}"/usr/$(get_libdir)/libssh{,_threads}.a + + if use examples; then + docinto examples + dodoc examples/*.{c,h,cpp} + fi +} |