summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-01-08 20:57:15 +0000
committerChristian Heim <phreak@gentoo.org>2007-01-08 20:57:15 +0000
commit28fb6bfa161343947630841e61915ed1ef4cde06 (patch)
treea471a58bb036883af794d8394487201fcdb04e8f
parentFixing #160158 and removing unneeded files. (diff)
downloadgentoo-2-28fb6bfa161343947630841e61915ed1ef4cde06.tar.gz
gentoo-2-28fb6bfa161343947630841e61915ed1ef4cde06.tar.bz2
gentoo-2-28fb6bfa161343947630841e61915ed1ef4cde06.zip
Removing the old revision, using chmod / chown directly (sue me, fowners / fperms won't work on files outside of ${D}).
(Portage version: 2.1.2_rc4-r6)
-rw-r--r--net-wireless/ipw3945d/ChangeLog9
-rw-r--r--net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild22
2 files changed, 19 insertions, 12 deletions
diff --git a/net-wireless/ipw3945d/ChangeLog b/net-wireless/ipw3945d/ChangeLog
index 587b9184a4eb..b3523cbb307d 100644
--- a/net-wireless/ipw3945d/ChangeLog
+++ b/net-wireless/ipw3945d/ChangeLog
@@ -1,6 +1,11 @@
# 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.11 2006/12/22 10:11:26 phreak Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.12 2007/01/08 20:57:15 phreak Exp $
+
+ 08 Jan 2007; Christian Heim <phreak@gentoo.org>
+ -ipw3945d-1.7.22-r3.ebuild, ipw3945d-1.7.22-r4.ebuild:
+ Removing the old revision, using chmod / chown directly (sue me, fowners /
+ fperms won't work on files outside of ${D}).
22 Dec 2006; Christian Heim <phreak@gentoo.org> files/ipw3945d-init.d:
Fixing a bug within the init-script, using 'exit 1' isn't allowed (thanks to
diff --git a/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild b/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild
index cae6ca997439..311b2ccc176b 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
+# Copyright 1999-2007 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.3 2006/12/18 00:33:31 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild,v 1.4 2007/01/08 20:57:15 phreak Exp $
inherit eutils
@@ -30,11 +30,11 @@ src_install() {
use amd64 && dosbin x86_64/ipw3945d
# Give the ipw3945d access to the binary
- fowners ipw3945d:root /sbin/ipw3945d
- fperms 04450 /sbin/ipw3945d
+ chown ipw3945d:root /sbin/ipw3945d
+ chmod 04450 /sbin/ipw3945d
keepdir /var/run/ipw3945d
- fowners ipw3945d:root /var/run/ipw3945d
+ chown ipw3945d:root /var/run/ipw3945d
newconfd "${FILESDIR}/${PN}-conf.d" ${PN}
newinitd "${FILESDIR}/${PN}-init.d" ${PN}
@@ -48,7 +48,9 @@ src_install() {
pkg_postinst() {
# Update the modules.d cache
if [ -f "${ROOT}/etc/modules.d/${PN}" ] ; then
- ${ROOT}/sbin/modules-update --force
+ ebegin "Executing /sbin/modules-update"
+ "${ROOT}"sbin/modules-update --force
+ eend $?
fi
echo
@@ -59,13 +61,13 @@ pkg_postinst() {
# this, these hacks can go away.
# Fix the permissions of /sbin/ipw3945d
- ebegin "Fixing permissions of ${ROOT}/sbin/ipw3945d"
- fperms 04450 ${ROOT}/sbin/ipw3945d
+ ebegin "Fixing permissions of ${ROOT}sbin/ipw3945d"
+ chmod 04450 "${ROOT}"sbin/ipw3945d
eend $?
# Fixing ownership of /var/run/ipw3945d
- ebegin "Fixing ownership of ${ROOT}/var/run/ipw3945d"
- fowners ipw3945d:root ${ROOT}/var/run/ipw3945d
+ ebegin "Fixing ownership of ${ROOT}var/run/ipw3945d"
+ chown ipw3945d:root "${ROOT}"var/run/ipw3945d
eend $?
echo