summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2013-09-22 18:01:42 +0000
committerWilliam Hubbs <williamh@gentoo.org>2013-09-22 18:01:42 +0000
commitd6c342b69120d6bf87818d933a1e6187cce06fc4 (patch)
tree492f689e147d2b9db0c3659926f214039591a43e
parentDrop dependency on broken and deprecated heckle. (diff)
downloadgentoo-2-d6c342b69120d6bf87818d933a1e6187cce06fc4.tar.gz
gentoo-2-d6c342b69120d6bf87818d933a1e6187cce06fc4.tar.bz2
gentoo-2-d6c342b69120d6bf87818d933a1e6187cce06fc4.zip
add support for --rundir on Linux.
(Portage version: 2.2.1/cvs/Linux i686, signed Manifest commit with key 0x30C46538)
-rw-r--r--net-misc/dhcpcd/ChangeLog5
-rw-r--r--net-misc/dhcpcd/dhcpcd-9999.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog
index efe91dbc8ac2..97a86db86d59 100644
--- a/net-misc/dhcpcd/ChangeLog
+++ b/net-misc/dhcpcd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/dhcpcd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.374 2013/09/20 16:52:49 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.375 2013/09/22 18:01:42 williamh Exp $
+
+ 22 Sep 2013; William Hubbs <williamh@gentoo.org> dhcpcd-9999.ebuild:
+ add support for --rundir on Linux.
*dhcpcd-6.1.0 (20 Sep 2013)
diff --git a/net-misc/dhcpcd/dhcpcd-9999.ebuild b/net-misc/dhcpcd/dhcpcd-9999.ebuild
index 677248e57544..04aba068036e 100644
--- a/net-misc/dhcpcd/dhcpcd-9999.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-9999.ebuild,v 1.8 2013/09/16 22:28:24 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-9999.ebuild,v 1.9 2013/09/22 18:01:42 williamh Exp $
EAPI=5
@@ -22,7 +22,7 @@ DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client"
HOMEPAGE="http://roy.marples.name/projects/dhcpcd/"
LICENSE="BSD-2"
SLOT="0"
-IUSE="elibc_glibc ipv6 +udev"
+IUSE="elibc_glibc ipv6 kernel_linux +udev"
COMMON_DEPEND="udev? ( virtual/udev )"
DEPEND="${COMMON_DEPEND}"
@@ -35,15 +35,17 @@ src_prepare()
src_configure()
{
- local dev hooks
+ local dev hooks rundir
use udev || dev="--without-dev --without-udev"
hooks="--with-hook=ntp.conf"
use elibc_glibc && hooks="${hooks} --with-hook=yp.conf"
+ use kernel_linux && rundir="--rundir=/run"
econf \
--prefix="${EPREFIX}" \
--libexecdir="${EPREFIX}/lib/dhcpcd" \
--dbdir="${EPREFIX}/var/lib/dhcpcd" \
--localstatedir="${EPREFIX}/var" \
+ ${rundir} \
$(use_enable ipv6) \
${dev} \
${hooks}