Summary: | net-misc/vde-2.3.2 version bump including Python support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Torsten Kurbad <torsten> |
Component: | New packages | Assignee: | Sven Vermeulen (RETIRED) <swift> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jmbsvicetto, mlspamcb, proxy-maint |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 409869 | ||
Attachments: | vde-2.3.2.ebuild |
Description
Torsten Kurbad
2012-03-27 13:06:32 UTC
Created attachment 306847 [details]
vde-2.3.2.ebuild
Comment on attachment 306847 [details]
vde-2.3.2.ebuild
--- vde-2.3.1.ebuild 2011-10-24 13:31:07.000000000 +0200
+++ - 2012-03-27 19:05:20.898356584 +0200
@@ -4,7 +4,10 @@
EAPI=4
-inherit eutils
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit eutils python
MY_P="${PN}2-${PV}"
S="${WORKDIR}/${MY_P}"
@@ -16,7 +19,7 @@
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="pcap ssl static-libs"
+IUSE="pcap python ssl static-libs"
RDEPEND="pcap? ( net-libs/libpcap )
ssl? ( dev-libs/openssl )"
@@ -25,10 +28,15 @@
src_configure() {
econf \
$(use_enable pcap) \
+ $(use_enable python) \
$(use_enable ssl cryptcab) \
$(use_enable static-libs static)
}
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
src_install() {
default
use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
@@ -40,6 +48,7 @@
pkg_postinst() {
# default group already used in kqemu
enewgroup qemu
+
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"
I added in the user eclass as enewgroup is used. Other than that it seems to run fine here, although I only use basic functionality in vde_switch currently so I can't consider this a thorough investigation ;) Committed to the tree. Thanks! |