public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/dev-zero:master commit in: net-misc/openvswitch/
@ 2011-10-12 13:25 Tiziano Müller
  0 siblings, 0 replies; 4+ messages in thread
From: Tiziano Müller @ 2011-10-12 13:25 UTC (permalink / raw
  To: gentoo-commits

commit:     e4db3f4725fd92a31ef47dadbf76727d29e4287a
Author:     Tiziano Müller <tm <AT> dev-zero <DOT> ch>
AuthorDate: Wed Oct 12 13:23:14 2011 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 13:23:14 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=e4db3f47

added ebuild for openvswitch based on the one from Florian Manschwetus on bug #324589.

---
 net-misc/openvswitch/Manifest                 |    2 +
 net-misc/openvswitch/openvswitch-1.2.2.ebuild |   63 +++++++++++++++++++++++++
 2 files changed, 65 insertions(+), 0 deletions(-)

diff --git a/net-misc/openvswitch/Manifest b/net-misc/openvswitch/Manifest
new file mode 100644
index 0000000..444068f
--- /dev/null
+++ b/net-misc/openvswitch/Manifest
@@ -0,0 +1,2 @@
+EBUILD openvswitch-1.2.2.ebuild 1581 RMD160 0f7f5bfecffe73f88e0274524d44862ce5771d89 SHA1 14f0d83d61ab69088824aaa62cdb8a804c740ddf SHA256 fe87f591168217bc502e13775a1a7d1c5a95beb5c6cf28b9d83ded3e23ba2843
+DIST openvswitch-1.2.2.tar.gz 1770982 RMD160 17520687284af86600678155da9338567313ad11 SHA1 3b5cc7ba09ceba49e04088c30f029a23c38dac0b SHA256 aae1e206e2661bee4aa56a0286407f6275878eb8ee0f31b849b188f30639a8b4

diff --git a/net-misc/openvswitch/openvswitch-1.2.2.ebuild b/net-misc/openvswitch/openvswitch-1.2.2.ebuild
new file mode 100644
index 0000000..f407627
--- /dev/null
+++ b/net-misc/openvswitch/openvswitch-1.2.2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+PYTHON_DEPEND="monitor? 2"
+
+inherit linux-mod linux-info python
+
+DESCRIPTION="Production quality, multilayer virtual switch."
+HOMEPAGE="http://openvswitch.org"
+SRC_URI="http://openvswitch.org/releases/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug +modules monitor +pyside +ssl"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+	monitor? ( dev-python/twisted
+		dev-python/twisted-conch
+		pyside? ( dev-python/pyside )
+		!pyside? ( dev-python/PyQt4 )
+		net-zope/zope-interface )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig"
+
+CONFIG_CHECK="~NET_CLS_ACT ~NET_CLS_U32 ~NET_SCH_INGRESS ~NET_ACT_POLICE ~IPV6 ~TUN"
+
+pkg_setup() {
+	linux-mod_pkg_setup
+	linux_chkconfig_module BRIDGE || die "CONFIG_BRIDGE must be built as a _module_ !"
+}
+
+src_configure() {
+	set_arch_to_kernel
+	use monitor || export ovs_cv_python="no"
+	use pyside || export ovs_cv_pyuic4="no"
+	econf \
+		--with-rundir=/var/run/openvswitch \
+		--with-logdir=/var/log/openvswitch \
+		--with-pkidir=/etc/openvswitch/pki \
+		$(use_with modules linux "${KERNEL_DIR}") \
+		$(use_enable ssl) \
+		$(use_enable !debug ndebug)
+}
+
+src_compile() {
+	default
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "emake install failed"
+
+	MODULE_NAMES="openvswitch_mod(misc:${S}:datapath/linux/) brcompat_mod(misc:${S}:datapath/linux/)"
+	linux-mod_src_install
+
+	keepdir /var/log/openvswitch
+	keepdir /etc/openvswitch/pki
+	rm -rf "${D}/var/run"
+	rmdir "${D}/usr/share/openvswitch/ovsdbmonitor"
+}



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] dev/dev-zero:master commit in: net-misc/openvswitch/
@ 2012-03-30  9:51 Tiziano Müller
  0 siblings, 0 replies; 4+ messages in thread
From: Tiziano Müller @ 2012-03-30  9:51 UTC (permalink / raw
  To: gentoo-commits

commit:     ef5e053470f394912901fd9cdbd3091297c4de40
Author:     Tiziano Müller <tm <AT> dev-zero <DOT> ch>
AuthorDate: Fri Mar 30 09:51:02 2012 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Fri Mar 30 09:51:02 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=ef5e0534

Version bump. Properly support building without kernel modules.

---
 net-misc/openvswitch/Manifest                      |    6 ++++--
 ...witch-1.3.0.ebuild => openvswitch-1.4.0.ebuild} |   11 ++++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/net-misc/openvswitch/Manifest b/net-misc/openvswitch/Manifest
index 66cb29e..9db3a33 100644
--- a/net-misc/openvswitch/Manifest
+++ b/net-misc/openvswitch/Manifest
@@ -1,6 +1,8 @@
+AUX 143af30e2d940ad78412a287de1f3ac15ab4a1aa.patch 2566 RMD160 b90b6ab018bcf1e6c405f2593aee74c0537f679c SHA1 0c2f632b5f56b611c7f06a6d50634ba37e946dc9 SHA256 e142caf4147c87173ed949bc4b459b82c52a66e2d5cdc1d8de021c0cfb3e3acb
+AUX 444cacf4a7017a2b78418b7d12cd2f0a1e0dbb85.patch 932 RMD160 32d4fba648fd3378740fe944222535586d67b2e9 SHA1 3313d9c368edaeec213fa62bd3628630adce69c0 SHA256 eea8952bd75060c1de2f983bd3dea4dfc23115a1adcd6f70796874414826dc2a
 AUX ovs-vswitchd 330 RMD160 040d0fcf7b51e63f4c1973ab264bd90e84078259 SHA1 8689b15e326331ab18f0772564ba632d80f08d06 SHA256 75461996cf826aa25006846f43389b80a856886fd51d32e79cd5228bd9838f94
 AUX ovs-vswitchd_conf 46 RMD160 15cce306f455664482bc11c2a59178a2de3f80b6 SHA1 1bacc1e033989e0fce45cf7aa29abb3c01c9d6ee SHA256 f640caf22b3fbd19de1e1c6c04d54c6661b2e058c148e9829eb00929114c1031
 AUX ovsdb-server 2275 RMD160 7d5baf9ec4ac8ad058d74c7685085acb72c33c16 SHA1 569f957ffb019118556d611231ae90806fbbcc9f SHA256 c41ec12c0fe5faa64eba0d4bef30df1324e4da340d37bd6656cccf032608bfee
 AUX ovsdb-server_conf 468 RMD160 f083d534fb59658fa792b5dc146d59aea278295a SHA1 0a8eae49895eb8b62ee4b6f41d4167d11ced4638 SHA256 771e8607f6c60f0c1e4eacc87cd68e5464564d49c244b8c11677a5ded994501b
-DIST openvswitch-1.3.0.tar.gz 1895802 RMD160 ca79c4ced7771a49614595ce9765d396e6ba154d SHA1 9e42a66386851272eb247460d3cedd5ec92473a7 SHA256 d9194a176051961546c1ddde15fe563321d679cf5baddfbeafd3d88cefe0cb3c
-EBUILD openvswitch-1.3.0.ebuild 1713 RMD160 a03d5f0126114ed436cfeb9167866a2c3f925227 SHA1 deae1a49adede59e74c7bd375beaee118c04d8c1 SHA256 5bf8706632669d37b616d6b217dde7d2b7aa76d3b715028ca3536fda18510c89
+DIST openvswitch-1.4.0.tar.gz 1972471 RMD160 4545931f11703d6cabcd9bda8bc6f7e44adfc8b1 SHA1 1650f13e97c5245e50dcd146ed589093fb410813 SHA256 27c71e4536d992f46f806179bd9947acc742a12996f977c6cfa6c549a6a9c25a
+EBUILD openvswitch-1.4.0.ebuild 1768 RMD160 93a72a6ca1ec595b091ee0fa284356248f319813 SHA1 b4b27f9c83cf48e3f7bd9d09fb926199743aad9b SHA256 0681d993d10d9e2fe57a3d889d9f527022535bf538155eefe4080cef70391b70

diff --git a/net-misc/openvswitch/openvswitch-1.3.0.ebuild b/net-misc/openvswitch/openvswitch-1.4.0.ebuild
similarity index 88%
rename from net-misc/openvswitch/openvswitch-1.3.0.ebuild
rename to net-misc/openvswitch/openvswitch-1.4.0.ebuild
index b32a44d..05fe302 100644
--- a/net-misc/openvswitch/openvswitch-1.3.0.ebuild
+++ b/net-misc/openvswitch/openvswitch-1.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -6,7 +6,7 @@ EAPI=4
 
 PYTHON_DEPEND="monitor? 2"
 
-inherit linux-mod linux-info python
+inherit eutils linux-mod linux-info python
 
 DESCRIPTION="Production quality, multilayer virtual switch."
 HOMEPAGE="http://openvswitch.org"
@@ -37,11 +37,12 @@ src_configure() {
 	set_arch_to_kernel
 	use monitor || export ovs_cv_python="no"
 	use pyside || export ovs_cv_pyuic4="no"
-	econf \
+	local modconf
+	use modules && modconf="--with-linux=${KERNEL_DIR}"
+	econf ${modconf} \
 		--with-rundir=/var/run/openvswitch \
 		--with-logdir=/var/log/openvswitch \
 		--with-pkidir=/etc/openvswitch/pki \
-		$(use_with modules linux "${KERNEL_DIR}") \
 		$(use_enable ssl) \
 		$(use_enable !debug ndebug)
 }
@@ -54,7 +55,7 @@ src_install() {
 	default
 
 	MODULE_NAMES="openvswitch_mod(misc:${S}:datapath/linux/) brcompat_mod(misc:${S}:datapath/linux/)"
-	linux-mod_src_install
+	use modules && linux-mod_src_install
 
 	keepdir /var/log/openvswitch
 	keepdir /etc/openvswitch/pki



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] dev/dev-zero:master commit in: net-misc/openvswitch/
@ 2012-05-16 14:57 Tiziano Müller
  0 siblings, 0 replies; 4+ messages in thread
From: Tiziano Müller @ 2012-05-16 14:57 UTC (permalink / raw
  To: gentoo-commits

commit:     dd11a42b1b40612facc27296d08beed7775be29f
Author:     Tiziano Müller <tm <AT> dev-zero <DOT> ch>
AuthorDate: Wed May 16 14:52:41 2012 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Wed May 16 14:55:40 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=dd11a42b

Version bump. Do not build kernelmodules for now (compilation is fixed in HEAD but no time for backport).

---
 net-misc/openvswitch/Manifest                      |    6 +--
 ...witch-1.4.0.ebuild => openvswitch-1.4.1.ebuild} |   36 ++++++++++++++------
 2 files changed, 27 insertions(+), 15 deletions(-)

diff --git a/net-misc/openvswitch/Manifest b/net-misc/openvswitch/Manifest
index 9db3a33..47072e5 100644
--- a/net-misc/openvswitch/Manifest
+++ b/net-misc/openvswitch/Manifest
@@ -1,8 +1,6 @@
-AUX 143af30e2d940ad78412a287de1f3ac15ab4a1aa.patch 2566 RMD160 b90b6ab018bcf1e6c405f2593aee74c0537f679c SHA1 0c2f632b5f56b611c7f06a6d50634ba37e946dc9 SHA256 e142caf4147c87173ed949bc4b459b82c52a66e2d5cdc1d8de021c0cfb3e3acb
-AUX 444cacf4a7017a2b78418b7d12cd2f0a1e0dbb85.patch 932 RMD160 32d4fba648fd3378740fe944222535586d67b2e9 SHA1 3313d9c368edaeec213fa62bd3628630adce69c0 SHA256 eea8952bd75060c1de2f983bd3dea4dfc23115a1adcd6f70796874414826dc2a
 AUX ovs-vswitchd 330 RMD160 040d0fcf7b51e63f4c1973ab264bd90e84078259 SHA1 8689b15e326331ab18f0772564ba632d80f08d06 SHA256 75461996cf826aa25006846f43389b80a856886fd51d32e79cd5228bd9838f94
 AUX ovs-vswitchd_conf 46 RMD160 15cce306f455664482bc11c2a59178a2de3f80b6 SHA1 1bacc1e033989e0fce45cf7aa29abb3c01c9d6ee SHA256 f640caf22b3fbd19de1e1c6c04d54c6661b2e058c148e9829eb00929114c1031
 AUX ovsdb-server 2275 RMD160 7d5baf9ec4ac8ad058d74c7685085acb72c33c16 SHA1 569f957ffb019118556d611231ae90806fbbcc9f SHA256 c41ec12c0fe5faa64eba0d4bef30df1324e4da340d37bd6656cccf032608bfee
 AUX ovsdb-server_conf 468 RMD160 f083d534fb59658fa792b5dc146d59aea278295a SHA1 0a8eae49895eb8b62ee4b6f41d4167d11ced4638 SHA256 771e8607f6c60f0c1e4eacc87cd68e5464564d49c244b8c11677a5ded994501b
-DIST openvswitch-1.4.0.tar.gz 1972471 RMD160 4545931f11703d6cabcd9bda8bc6f7e44adfc8b1 SHA1 1650f13e97c5245e50dcd146ed589093fb410813 SHA256 27c71e4536d992f46f806179bd9947acc742a12996f977c6cfa6c549a6a9c25a
-EBUILD openvswitch-1.4.0.ebuild 1768 RMD160 93a72a6ca1ec595b091ee0fa284356248f319813 SHA1 b4b27f9c83cf48e3f7bd9d09fb926199743aad9b SHA256 0681d993d10d9e2fe57a3d889d9f527022535bf538155eefe4080cef70391b70
+DIST openvswitch-1.4.1.tar.gz 1977107 RMD160 e8166aa05b0407581048df63831efb3ed9158c3c SHA1 a3fb5ede8ed58006c7c8375678dc2f7641145abc SHA256 6d62b1417161c4533f9253b46961a094cd14453b3761d0366501c4695a75e1cb
+EBUILD openvswitch-1.4.1.ebuild 2030 RMD160 9db23ded6096c06b09498339f5e8391c64c58dad SHA1 432755d4c3585c4d344552accebbb30f3c30b86c SHA256 d3cbf539521c41024c19a3ed50c7b6fa146461ae828685ba948576988830935b

diff --git a/net-misc/openvswitch/openvswitch-1.4.0.ebuild b/net-misc/openvswitch/openvswitch-1.4.1.ebuild
similarity index 63%
rename from net-misc/openvswitch/openvswitch-1.4.0.ebuild
rename to net-misc/openvswitch/openvswitch-1.4.1.ebuild
index 05fe302..feac794 100644
--- a/net-misc/openvswitch/openvswitch-1.4.0.ebuild
+++ b/net-misc/openvswitch/openvswitch-1.4.1.ebuild
@@ -6,7 +6,7 @@ EAPI=4
 
 PYTHON_DEPEND="monitor? 2"
 
-inherit eutils linux-mod linux-info python
+inherit eutils linux-info python
 
 DESCRIPTION="Production quality, multilayer virtual switch."
 HOMEPAGE="http://openvswitch.org"
@@ -15,7 +15,7 @@ SRC_URI="http://openvswitch.org/releases/${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="debug +modules monitor +pyside +ssl"
+IUSE="debug monitor +pyside +ssl"
 
 RDEPEND="ssl? ( dev-libs/openssl )
 	monitor? ( dev-python/twisted
@@ -24,13 +24,13 @@ RDEPEND="ssl? ( dev-libs/openssl )
 		!pyside? ( dev-python/PyQt4 )
 		net-zope/zope-interface )"
 DEPEND="${RDEPEND}
-	dev-util/pkgconfig"
+	virtual/pkgconfig"
 
-CONFIG_CHECK="~NET_CLS_ACT ~NET_CLS_U32 ~NET_SCH_INGRESS ~NET_ACT_POLICE ~IPV6 ~TUN"
+CONFIG_CHECK="~NET_CLS_ACT ~NET_CLS_U32 ~NET_SCH_INGRESS ~NET_ACT_POLICE ~IPV6 ~TUN ~OPENVSWITCH"
 
 pkg_setup() {
-	linux-mod_pkg_setup
-	linux_chkconfig_module BRIDGE || die "CONFIG_BRIDGE must be built as a _module_ !"
+	linux-info_pkg_setup
+	python_pkg_setup
 }
 
 src_configure() {
@@ -38,7 +38,6 @@ src_configure() {
 	use monitor || export ovs_cv_python="no"
 	use pyside || export ovs_cv_pyuic4="no"
 	local modconf
-	use modules && modconf="--with-linux=${KERNEL_DIR}"
 	econf ${modconf} \
 		--with-rundir=/var/run/openvswitch \
 		--with-logdir=/var/log/openvswitch \
@@ -49,21 +48,36 @@ src_configure() {
 
 src_compile() {
 	default
+
+	python_convert_shebangs 2 \
+		utilities/ovs-{pcap,tcpundump,test,vlan-test} \
+		utilities/bugtool/ovs-bugtool \
+		ovsdb/ovsdbmonitor/ovsdbmonitor
 }
 
 src_install() {
 	default
 
-	MODULE_NAMES="openvswitch_mod(misc:${S}:datapath/linux/) brcompat_mod(misc:${S}:datapath/linux/)"
-	use modules && linux-mod_src_install
-
 	keepdir /var/log/openvswitch
 	keepdir /etc/openvswitch/pki
 	rm -rf "${D}/var/run"
-	rmdir "${D}/usr/share/openvswitch/ovsdbmonitor"
+	use monitor || rmdir "${D}/usr/share/openvswitch/ovsdbmonitor"
 
 	newconfd "${FILESDIR}/ovsdb-server_conf" ovsdb-server
 	newconfd "${FILESDIR}/ovs-vswitchd_conf" ovs-vswitchd
 	doinitd "${FILESDIR}/ovsdb-server"
 	doinitd "${FILESDIR}/ovs-vswitchd"
+
+	insinto /etc/logrotate.d
+	newins rhel/etc_logrotate.d_openvswitch openvswitch
+}
+
+pkg_postinst() {
+	use monitor && python_mod_optimize /usr/share/openvswitch/ovsdbmonitor
+	python_mod_optimize /usr/share/openvswitch/python
+}
+
+pkg_postrm() {
+	use monitor && python_mod_cleanup /usr/share/openvswitch/ovsdbmonitor
+	python_mod_cleanup /usr/share/openvswitch/python
 }



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] dev/dev-zero:master commit in: net-misc/openvswitch/
@ 2012-06-14  7:43 Tiziano Müller
  0 siblings, 0 replies; 4+ messages in thread
From: Tiziano Müller @ 2012-06-14  7:43 UTC (permalink / raw
  To: gentoo-commits

commit:     d1c886fd0a40dafed32208d9b19717cf20dce09a
Author:     Tiziano Müller <tm <AT> dev-zero <DOT> ch>
AuthorDate: Wed Jun 13 16:15:39 2012 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Wed Jun 13 16:15:39 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=d1c886fd

Version bump, don't do shebang conversion with USE=-monitor (thanks to Oliver Roeschke).

---
 net-misc/openvswitch/Manifest                      |    5 +++--
 net-misc/openvswitch/metadata.xml                  |   11 +++++++++++
 ...witch-1.4.1.ebuild => openvswitch-1.5.0.ebuild} |    6 ++++--
 3 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/net-misc/openvswitch/Manifest b/net-misc/openvswitch/Manifest
index 47072e5..2b8888f 100644
--- a/net-misc/openvswitch/Manifest
+++ b/net-misc/openvswitch/Manifest
@@ -2,5 +2,6 @@ AUX ovs-vswitchd 330 RMD160 040d0fcf7b51e63f4c1973ab264bd90e84078259 SHA1 8689b1
 AUX ovs-vswitchd_conf 46 RMD160 15cce306f455664482bc11c2a59178a2de3f80b6 SHA1 1bacc1e033989e0fce45cf7aa29abb3c01c9d6ee SHA256 f640caf22b3fbd19de1e1c6c04d54c6661b2e058c148e9829eb00929114c1031
 AUX ovsdb-server 2275 RMD160 7d5baf9ec4ac8ad058d74c7685085acb72c33c16 SHA1 569f957ffb019118556d611231ae90806fbbcc9f SHA256 c41ec12c0fe5faa64eba0d4bef30df1324e4da340d37bd6656cccf032608bfee
 AUX ovsdb-server_conf 468 RMD160 f083d534fb59658fa792b5dc146d59aea278295a SHA1 0a8eae49895eb8b62ee4b6f41d4167d11ced4638 SHA256 771e8607f6c60f0c1e4eacc87cd68e5464564d49c244b8c11677a5ded994501b
-DIST openvswitch-1.4.1.tar.gz 1977107 RMD160 e8166aa05b0407581048df63831efb3ed9158c3c SHA1 a3fb5ede8ed58006c7c8375678dc2f7641145abc SHA256 6d62b1417161c4533f9253b46961a094cd14453b3761d0366501c4695a75e1cb
-EBUILD openvswitch-1.4.1.ebuild 2030 RMD160 9db23ded6096c06b09498339f5e8391c64c58dad SHA1 432755d4c3585c4d344552accebbb30f3c30b86c SHA256 d3cbf539521c41024c19a3ed50c7b6fa146461ae828685ba948576988830935b
+DIST openvswitch-1.5.0.tar.gz 2010837 RMD160 ecd6fd3a4f6ca1bf054d8a2db1f3e42af0e48d8b SHA1 ef33e8251a12d61005df0069ca56d809e37c325a SHA256 c5ae2a4dff14cf14e537ab4974f9af76c9d6747f300360199505734112d29da6
+EBUILD openvswitch-1.5.0.ebuild 2045 RMD160 34a475f7a92dc77dd7a4009b6cee89f404deb9eb SHA1 d2af62435ada58a03c4496d8d2505509e98d91ab SHA256 82e4fa4ad0a5f488c9c5296110acd129278de9b4d1c86f825bb812b2e6b351f8
+MISC metadata.xml 454 RMD160 7911aea2f12df62a47b1931697008ccaee119bda SHA1 d601e28ae711abada28ecd964e0091b8cb28bcf0 SHA256 48c2c3b029c4879a5c201880a362b7546d5fed897e54e138c7a3f8f341840f6a

diff --git a/net-misc/openvswitch/metadata.xml b/net-misc/openvswitch/metadata.xml
new file mode 100644
index 0000000..00f3d3d
--- /dev/null
+++ b/net-misc/openvswitch/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>dev-zero@gentoo.org</email>
+</maintainer>
+<use>
+	<flag name='monitor'>Build the Python and GUI dependent monitor applications</flag>
+	<flag name='pyside'>Use <pkg>dev-python/pyside</pkg> instead of <pkg>dev-python/PyQt4</pkg> for Python/Qt-bindings when building with USE=monitor.</flag>
+</use>
+</pkgmetadata>

diff --git a/net-misc/openvswitch/openvswitch-1.4.1.ebuild b/net-misc/openvswitch/openvswitch-1.5.0.ebuild
similarity index 93%
rename from net-misc/openvswitch/openvswitch-1.4.1.ebuild
rename to net-misc/openvswitch/openvswitch-1.5.0.ebuild
index feac794..6876e46 100644
--- a/net-misc/openvswitch/openvswitch-1.4.1.ebuild
+++ b/net-misc/openvswitch/openvswitch-1.5.0.ebuild
@@ -22,7 +22,8 @@ RDEPEND="ssl? ( dev-libs/openssl )
 		dev-python/twisted-conch
 		pyside? ( dev-python/pyside )
 		!pyside? ( dev-python/PyQt4 )
-		net-zope/zope-interface )"
+		net-zope/zope-interface )
+	debug? ( dev-lang/perl )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
@@ -49,7 +50,7 @@ src_configure() {
 src_compile() {
 	default
 
-	python_convert_shebangs 2 \
+	use monitor && python_convert_shebangs 2 \
 		utilities/ovs-{pcap,tcpundump,test,vlan-test} \
 		utilities/bugtool/ovs-bugtool \
 		ovsdb/ovsdbmonitor/ovsdbmonitor
@@ -62,6 +63,7 @@ src_install() {
 	keepdir /etc/openvswitch/pki
 	rm -rf "${D}/var/run"
 	use monitor || rmdir "${D}/usr/share/openvswitch/ovsdbmonitor"
+	use debug || rm "${D}/usr/bin/ovs-parse-leaks"
 
 	newconfd "${FILESDIR}/ovsdb-server_conf" ovsdb-server
 	newconfd "${FILESDIR}/ovs-vswitchd_conf" ovs-vswitchd



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-14  7:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 13:25 [gentoo-commits] dev/dev-zero:master commit in: net-misc/openvswitch/ Tiziano Müller
  -- strict thread matches above, loose matches on Subject: below --
2012-03-30  9:51 Tiziano Müller
2012-05-16 14:57 Tiziano Müller
2012-06-14  7:43 Tiziano Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox