diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-05-20 09:58:58 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-05-20 10:00:15 +0200 |
commit | 7e8dabe4cb93aacab8f043d01a289f7476a89fd5 (patch) | |
tree | 9a02125132ef07ed7a9c3030b16d6db7dff7e98d /net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild | |
parent | kde-base/kdebindings-meta -> kde-apps/kdebindings-meta (diff) | |
download | gentoo-7e8dabe4cb93aacab8f043d01a289f7476a89fd5.tar.gz gentoo-7e8dabe4cb93aacab8f043d01a289f7476a89fd5.tar.bz2 gentoo-7e8dabe4cb93aacab8f043d01a289f7476a89fd5.zip |
net-analyzer/echoping: Fix building with >net-libs/gnutls-3.3 (bug #546864).
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild')
-rw-r--r-- | net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild b/net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild new file mode 100644 index 000000000000..dc4f5d53219c --- /dev/null +++ b/net-analyzer/echoping/echoping-6.0.2_p434-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="Small program to test performances of remote servers" +HOMEPAGE="http://echoping.sourceforge.net/" +SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="gnutls http icp idn priority smtp ssl tos postgres ldap" +RESTRICT="test" + +RDEPEND="idn? ( net-dns/libidn ) + postgres? ( dev-db/postgresql:* ) + ldap? ( net-nds/openldap ) + ssl? ( + gnutls? ( >=net-libs/gnutls-3.3:= ) + !gnutls? ( >=dev-libs/openssl-0.9.7d:= ) + )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2" + +REQUIRED_USE="gnutls? ( ssl )" + +DOCS=( README AUTHORS ChangeLog DETAILS NEWS TODO ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-6.0.2_p434-fix_implicit_declarations.patch + epatch "${FILESDIR}"/${PN}-6.0.2_p434-gnutls_certificate_type_set_priority.patch + epatch "${FILESDIR}"/${PN}-6.0.2_p434-gnutls_session.patch + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable http) \ + $(use_enable icp) \ + $(use_enable priority) \ + $(use_enable smtp) \ + $(use_enable tos) \ + $(use_with idn libidn) \ + $(usex gnutls $(use_with gnutls) $(use_with ssl)) \ + --config-cache \ + --disable-static \ + --disable-ttcp +} + +src_install() { + default + prune_libtool_files +} |