summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-09-06 07:35:03 +0000
committerRoy Marples <uberlord@gentoo.org>2006-09-06 07:35:03 +0000
commit7c036a25bb271fa882d033b7a9dc3102ed691753 (patch)
tree153d9bc7339c62f1b06b44ad5e0e209fff708b4e /net-misc
parentStable x86 and I'm out for the night (diff)
downloadgentoo-2-7c036a25bb271fa882d033b7a9dc3102ed691753.tar.gz
gentoo-2-7c036a25bb271fa882d033b7a9dc3102ed691753.tar.bz2
gentoo-2-7c036a25bb271fa882d033b7a9dc3102ed691753.zip
Just warn about Packet Socket instead of requiring linux sources
(Portage version: 2.1.1_rc1-r4)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dhcp/ChangeLog5
-rw-r--r--net-misc/dhcp/dhcp-3.0.5_rc2.ebuild18
2 files changed, 12 insertions, 11 deletions
diff --git a/net-misc/dhcp/ChangeLog b/net-misc/dhcp/ChangeLog
index 3d6ac08f7085..9871de5a786b 100644
--- a/net-misc/dhcp/ChangeLog
+++ b/net-misc/dhcp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/dhcp
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/ChangeLog,v 1.114 2006/09/05 16:08:29 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/ChangeLog,v 1.115 2006/09/06 07:35:03 uberlord Exp $
+
+ 06 Sep 2006; Roy Marples <uberlord@gentoo.org> dhcp-3.0.5_rc2.ebuild:
+ Just warn about Packet Socket instead of requiring linux sources
05 Sep 2006; Roy Marples <uberlord@gentoo.org> dhcp-3.0.5_rc2.ebuild:
dhcp requires CONFIG_PACKET to work in linux.
diff --git a/net-misc/dhcp/dhcp-3.0.5_rc2.ebuild b/net-misc/dhcp/dhcp-3.0.5_rc2.ebuild
index 02a6f84720eb..50c14fd6c33b 100644
--- a/net-misc/dhcp/dhcp-3.0.5_rc2.ebuild
+++ b/net-misc/dhcp/dhcp-3.0.5_rc2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0.5_rc2.ebuild,v 1.2 2006/09/05 16:08:29 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/dhcp-3.0.5_rc2.ebuild,v 1.3 2006/09/06 07:35:03 uberlord Exp $
-inherit eutils flag-o-matic linux-info multilib toolchain-funcs
+inherit eutils flag-o-matic multilib toolchain-funcs
MY_PV="${PV//_beta/b}"
MY_PV="${MY_PV//_rc/rc}"
@@ -23,14 +23,6 @@ PROVIDE="virtual/dhcpc"
S="${WORKDIR}/${MY_P}"
-pkg_setup() {
- if use kernel_linux ; then
- CONFIG_CHECK="PACKET"
- ERROR_PACKET="${P} requires support for Packet Socket (CONFIG_PACKET)."
- linux-info_pkg_setup
- fi
-}
-
src_unpack() {
unpack ${A}
cd "${S}"
@@ -178,6 +170,12 @@ pkg_preinst() {
}
pkg_postinst() {
+ if use kernel_linux ; then
+ ewarn
+ ewarn "${PN} requires kernel support for Packet Socket (CONFIG_PACKET)."
+ ewarn
+ fi
+
use minimal && return
chown dhcp:dhcp "${ROOT}"/var/{lib,run}/dhcp