From fe5e0f6ae7e931aef474af169bce67d57850d4e6 Mon Sep 17 00:00:00 2001 From: Christian Heim Date: Sun, 17 Dec 2006 21:46:35 +0000 Subject: Implementing the changes Jan Kundrat provided, many thanks to him. (Portage version: 2.1.2_rc3-r6) --- net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild') diff --git a/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild b/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild index 0817c7efd690..583385f76f33 100644 --- a/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild +++ b/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild,v 1.1 2006/12/17 19:52:19 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild,v 1.2 2006/12/17 21:46:35 phreak Exp $ inherit eutils @@ -12,6 +12,10 @@ LICENSE="ipw3945" SLOT="0" KEYWORDS="~amd64 ~x86" +# The daemon is binary only, is setXid, dyn linked, +# and using lazy bindings +RESTRICT="stricter" + IUSE="" DEPEND="" @@ -25,6 +29,10 @@ src_install() { use x86 && dosbin x86/ipw3945d use amd64 && dosbin x86_64/ipw3945d + # Give the ipw3945d access to the binary + fowners ipw3945d:root /sbin/ipw3945d + fperms 04450 /sbin/ipw3945d + keepdir /var/run/ipw3945d fowners ipw3945d:root /var/run/ipw3945d @@ -42,10 +50,6 @@ pkg_postinst() { if [ -f "${ROOT}/etc/modules.d/${PN}" ] ; then ${ROOT}/sbin/modules-update --force fi - einfo - einfo "The ipw3945d is now started using an init script. To automatically have" - einfo "it started, you need to add it to the boot run level as shown below:" - einfo - einfo " # rc-update add ${PN} default" - einfo + einfo "The ipw3945 daemon is now started by udev. The daemon should be" + einfo "brought up automatically." } -- cgit v1.2.3-65-gdbad