summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-12-17 21:46:35 +0000
committerChristian Heim <phreak@gentoo.org>2006-12-17 21:46:35 +0000
commitfe5e0f6ae7e931aef474af169bce67d57850d4e6 (patch)
tree8899ef1d1970062c7c9caa6f0c114ae849e4a4a6 /net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild
parentcleanup and add back more KEYWORDS (diff)
downloadgentoo-2-fe5e0f6ae7e931aef474af169bce67d57850d4e6.tar.gz
gentoo-2-fe5e0f6ae7e931aef474af169bce67d57850d4e6.tar.bz2
gentoo-2-fe5e0f6ae7e931aef474af169bce67d57850d4e6.zip
Implementing the changes Jan Kundrat provided, many thanks to him.
(Portage version: 2.1.2_rc3-r6)
Diffstat (limited to 'net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild')
-rw-r--r--net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild18
1 files changed, 11 insertions, 7 deletions
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."
}