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
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')
-rw-r--r--net-wireless/ipw3945d/ChangeLog6
-rw-r--r--net-wireless/ipw3945d/files/ipw3945d-conf.d2
-rw-r--r--net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild18
3 files changed, 17 insertions, 9 deletions
diff --git a/net-wireless/ipw3945d/ChangeLog b/net-wireless/ipw3945d/ChangeLog
index fdd7113053e2..7ad87460ed37 100644
--- a/net-wireless/ipw3945d/ChangeLog
+++ b/net-wireless/ipw3945d/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/ipw3945d
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.8 2006/12/17 19:52:19 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.9 2006/12/17 21:46:35 phreak Exp $
+
+ 17 Dec 2006; Christian Heim <phreak@gentoo.org> files/ipw3945d-conf.d,
+ ipw3945d-1.7.22-r4.ebuild:
+ Implementing the changes Jan Kundrat provided, many thanks to him.
*ipw3945d-1.7.22-r4 (17 Dec 2006)
diff --git a/net-wireless/ipw3945d/files/ipw3945d-conf.d b/net-wireless/ipw3945d/files/ipw3945d-conf.d
index 571d42d65928..03cb1fcc79ce 100644
--- a/net-wireless/ipw3945d/files/ipw3945d-conf.d
+++ b/net-wireless/ipw3945d/files/ipw3945d-conf.d
@@ -2,4 +2,4 @@
# Arguments to be passed to ipw3945d. See 'ipw3945d --help' for more
# information.
-ARGS="--timeout=-1"
+ARGS="--timeout=-1 --quiet"
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."
}