summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/openrc/metadata.xml5
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild6
2 files changed, 8 insertions, 3 deletions
diff --git a/sys-apps/openrc/metadata.xml b/sys-apps/openrc/metadata.xml
index 2b127ba5ace9..d22c7ce81309 100644
--- a/sys-apps/openrc/metadata.xml
+++ b/sys-apps/openrc/metadata.xml
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>openrc</herd>
+ <herd>openrc</herd>
+ <use>
+ <flag name="newnet">enable the new network stack (experimental)</flag>
+ </use>
</pkgmetadata>
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index 02fdd13d4112..2cba8524266b 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.101 2012/05/16 20:57:59 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.102 2012/07/10 18:01:47 williamh Exp $
EAPI=4
@@ -18,7 +18,8 @@ fi
LICENSE="BSD-2"
SLOT="0"
-IUSE="debug elibc_glibc ncurses pam selinux static-libs unicode kernel_linux kernel_FreeBSD"
+IUSE="debug elibc_glibc ncurses pam newnet selinux static-libs unicode
+ kernel_linux kernel_FreeBSD"
RDEPEND="virtual/init
kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-ubin-9.0_rc sys-process/fuser-bsd ) )
@@ -53,6 +54,7 @@ make_args() {
if ! use static-libs; then
MAKE_ARGS="${MAKE_ARGS} MKSTATICLIBS=no"
fi
+ use newnet || MAKE_ARGS="${MAKE_ARGS} MKNET=oldnet"
}
pkg_setup() {