Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 306033 Details for
Bug 324589
openvswitch new package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc/openvswitch/openvswitch-1.4.0-r2.ebuild
openvswitch-1.4.0.ebuild (text/plain), 2.42 KB, created by
Peter Große
on 2012-03-20 17:39:04 UTC
(
hide
)
Description:
net-misc/openvswitch/openvswitch-1.4.0-r2.ebuild
Filename:
MIME Type:
Creator:
Peter Große
Created:
2012-03-20 17:39:04 UTC
Size:
2.42 KB
patch
obsolete
>EAPI="4" > >PYTHON_DEPEND="monitor? 2" > >inherit linux-mod linux-info python autotools > >SLOT="0" >KEYWORDS="~amd64" >IUSE="debug monitor tcpdump +pyside +ssl" >LICENSE="Apache-2.0" > >DESCRIPTION="" >HOMEPAGE="http://openvswitch.org/" >SRC_URI="http://openvswitch.org/releases/${P}.tar.gz" > >CONFIG_CHECK="~NET_CLS_ACT ~NET_CLS_U32 ~NET_SCH_INGRESS ~NET_ACT_POLICE ~IPV6 ~TUN" > >RDEPEND="ssl? ( dev-libs/openssl ) > monitor? ( > >=dev-lang/python-2.4 > dev-python/twisted-conch > dev-python/simplejson > pyside? ( dev-python/pyside ) > !pyside? ( dev-python/PyQt4 ) > net-zope/zope-interface > ) > tcpdump? ( net-analyzer/tcpdump ) > " >DEPEND="${RDEPEND} > dev-util/pkgconfig" > >src_prepare() { > eautoreconf >} > >pkg_setup() { > if ! linux_chkconfig_present OPENVSWITCH; then > linux-mod_pkg_setup > linux_chkconfig_module BRIDGE || die "CONFIG_BRIDGE must be built as a _module_ !" > fi >} > >src_configure() { > local myconf > > set_arch_to_kernel > use pyside || export ovs_cv_pyuic4="no" > > myconf="--with-rundir=/var/run/openvswitch \ > --with-logdir=/var/log/openvswitch \ > --with-pkidir=/etc/openvswitch/pki \ > $(use_enable ssl) \ > $(use_enable !debug ndebug)" > > if ! linux_chkconfig_present OPENVSWITCH; then > myconf="${myconf} --with-linux=${KERNEL_DIR}" > fi > econf ${myconf} >} > >src_compile() { > default >} > >src_install() { > default > > if ! linux_chkconfig_present OPENVSWITCH; then > MODULE_NAMES="openvswitch_mod(misc:${S}:datapath/linux/) brcompat_mod(misc:${S}:datapath/linux/)" > linux-mod_src_install > fi > > keepdir /var/log/openvswitch > keepdir /etc/openvswitch/pki > rmdir "${D}/usr/share/openvswitch/ovsdbmonitor" > > newconfd "${FILESDIR}"/ovsdb-server_conf ovsdb-server || die "install failed" > newconfd "${FILESDIR}"/ovs-vswitchd_conf ovs-vswitchd || die "install failed" > doinitd "${FILESDIR}"/ovsdb-server || die "install failed" > doinitd "${FILESDIR}"/ovs-vswitchd || die "install failed" > > # compatiblity with upstream module untested > if ! linux_chkconfig_present OPENVSWITCH; then > doinitd "${FILESDIR}"/ovs-brcompatd || die "install failed" > fi >} > >pkg_postinst() { > if linux_chkconfig_present OPENVSWITCH; then > elog "Openvswitch kernel support detected, no extra module was build." > else > elog "No openvswitch kernel support detected, installing build modules." > linux-mod_pkg_postinst > fi > > elog "Please add needed modules to:" > if has_version sys-apps/openrc; then > elog "/etc/conf.d/modules" > else > elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 324589
:
282907
|
283171
|
283173
|
283177
|
283179
|
283181
|
300669
|
300671
|
305983
| 306033 |
306035