From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D78CD13900A for ; Mon, 17 Oct 2016 23:14:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBD67E08D5; Mon, 17 Oct 2016 23:14:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6ACEE08D5 for ; Mon, 17 Oct 2016 23:14:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 166AB340EAA for ; Mon, 17 Oct 2016 23:14:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E3F92FE for ; Mon, 17 Oct 2016 23:14:19 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1476746036.4e3b908add13f4dbff4b5f028f40c9aca17b58c6.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/vde/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/vde/vde-2.3.2-r3.ebuild X-VCS-Directories: net-misc/vde/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 4e3b908add13f4dbff4b5f028f40c9aca17b58c6 X-VCS-Branch: master Date: Mon, 17 Oct 2016 23:14:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5bb9b8ab-0499-40eb-b887-3a24b62fe307 X-Archives-Hash: 77a84fc8aaa43f03371924be8270569f commit: 4e3b908add13f4dbff4b5f028f40c9aca17b58c6 Author: Anthony G. Basile gentoo org> AuthorDate: Mon Oct 17 23:13:56 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Mon Oct 17 23:13:56 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3b908a net-misc/vde: add libressl support Package-Manager: portage-2.2.28 net-misc/vde/vde-2.3.2-r3.ebuild | 71 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/net-misc/vde/vde-2.3.2-r3.ebuild b/net-misc/vde/vde-2.3.2-r3.ebuild new file mode 100644 index 00000000..f3f39f1 --- /dev/null +++ b/net-misc/vde/vde-2.3.2-r3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-single-r1 user + +MY_P="${PN}2-${PV}" + +DESCRIPTION="Virtual distributed ethernet emulator for emulators like qemu, bochs, and uml" +SRC_URI="mirror://sourceforge/vde/${MY_P}.tar.bz2" +HOMEPAGE="http://vde.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +IUSE="pcap python selinux ssl libressl static-libs" + +COMMON_DEPS="pcap? ( net-libs/libpcap ) + python? ( ${PYTHON_DEPS} ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${COMMON_DEPS}" +RDEPEND="${COMMON_DEPS} + selinux? ( sec-policy/selinux-vde )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + # default group already used in kqemu + enewgroup qemu + + python-single-r1_pkg_setup +} + +src_prepare() { + epatch_user +} + +src_configure() { + econf \ + $(use_enable pcap) \ + $(use_enable python) \ + $(use_enable ssl cryptcab) \ + $(use_enable static-libs static) +} + +src_compile() { + emake -j1 +} + +src_install() { + default + prune_libtool_files + + newinitd "${FILESDIR}"/vde.init vde + newconfd "${FILESDIR}"/vde.conf vde +} + +pkg_postinst() { + einfo "To start vde automatically add it to the default runlevel:" + einfo "# rc-update add vde default" + einfo "You need to setup tap0 in /etc/conf.d/net" + einfo "To use it as an user be sure to set a group in /etc/conf.d/vde" + einfo "Users of the group can then run: $ vdeq qemu -sock /var/run/vde.ctl ..other opts" +}