summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-12-18 00:33:31 +0000
committerChristian Heim <phreak@gentoo.org>2006-12-18 00:33:31 +0000
commit0377531b608478c889370dfa636ecb7df95651f8 (patch)
treee964032e82b68f0af87f13cea6cf804de91c70ac /net-wireless/ipw3945d
parentDropped old versions. Version bump. Updated bash-completion file and Exuberan... (diff)
downloadhistorical-0377531b608478c889370dfa636ecb7df95651f8.tar.gz
historical-0377531b608478c889370dfa636ecb7df95651f8.tar.bz2
historical-0377531b608478c889370dfa636ecb7df95651f8.zip
Adding a postinst hack, to change the permission/ownership in case the package is already present on the system. Without this hack, the permission/ownership changes to /sbin/ipw3945d and /var/run/ipw3945d wont be merged onto the ROOT filesystem.
Package-Manager: portage-2.1.2_rc3-r6
Diffstat (limited to 'net-wireless/ipw3945d')
-rw-r--r--net-wireless/ipw3945d/ChangeLog8
-rw-r--r--net-wireless/ipw3945d/Manifest22
-rw-r--r--net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild26
3 files changed, 42 insertions, 14 deletions
diff --git a/net-wireless/ipw3945d/ChangeLog b/net-wireless/ipw3945d/ChangeLog
index 7ad87460ed37..4801f2512053 100644
--- a/net-wireless/ipw3945d/ChangeLog
+++ b/net-wireless/ipw3945d/ChangeLog
@@ -1,6 +1,12 @@
# 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.9 2006/12/17 21:46:35 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.10 2006/12/18 00:33:31 phreak Exp $
+
+ 18 Dec 2006; Christian Heim <phreak@gentoo.org> ipw3945d-1.7.22-r4.ebuild:
+ Adding a postinst hack, to change the permission/ownership in case the
+ package is already present on the system. Without this hack, the
+ permission/ownership changes to /sbin/ipw3945d and /var/run/ipw3945d wont be
+ merged onto the ROOT filesystem.
17 Dec 2006; Christian Heim <phreak@gentoo.org> files/ipw3945d-conf.d,
ipw3945d-1.7.22-r4.ebuild:
diff --git a/net-wireless/ipw3945d/Manifest b/net-wireless/ipw3945d/Manifest
index a28e57254292..536bdfd01e37 100644
--- a/net-wireless/ipw3945d/Manifest
+++ b/net-wireless/ipw3945d/Manifest
@@ -27,14 +27,14 @@ EBUILD ipw3945d-1.7.22-r3.ebuild 1229 RMD160 81c175c0a1e148f3e8bfc66a1dee42679fb
MD5 1f674bd98221174879e495f61368425a ipw3945d-1.7.22-r3.ebuild 1229
RMD160 81c175c0a1e148f3e8bfc66a1dee42679fb10dfb ipw3945d-1.7.22-r3.ebuild 1229
SHA256 e9431dae512c92104a51ecdeb1766575a324b3bb9d46ba0d95d6e76dcadd86f0 ipw3945d-1.7.22-r3.ebuild 1229
-EBUILD ipw3945d-1.7.22-r4.ebuild 1389 RMD160 3c9a0aadf2296d070c476983132e3b25cee8007d SHA1 eb0f85ed42ac20cde60f9d8948af49efb37fadfd SHA256 906b599a42908156eb4e383308863cb7203917047ae2c383ad83f143641a307c
-MD5 26594518b951e8e9ff6c7d77cddae694 ipw3945d-1.7.22-r4.ebuild 1389
-RMD160 3c9a0aadf2296d070c476983132e3b25cee8007d ipw3945d-1.7.22-r4.ebuild 1389
-SHA256 906b599a42908156eb4e383308863cb7203917047ae2c383ad83f143641a307c ipw3945d-1.7.22-r4.ebuild 1389
-MISC ChangeLog 2232 RMD160 81726174d687044790f00ce2a373466e64ee53d3 SHA1 4e95dc9fc1d1255983c9d246c02b0eaba1883d7b SHA256 543e5c2f9011b1868a178d0b8315fbf83fdb70972462e993a5ab8c1df51a87a9
-MD5 8bb72408857d8f9c3d8378aff701140f ChangeLog 2232
-RMD160 81726174d687044790f00ce2a373466e64ee53d3 ChangeLog 2232
-SHA256 543e5c2f9011b1868a178d0b8315fbf83fdb70972462e993a5ab8c1df51a87a9 ChangeLog 2232
+EBUILD ipw3945d-1.7.22-r4.ebuild 2118 RMD160 1da79287dd21e9cb1ffae7635d0b8859e7bef680 SHA1 aef2d13f2c7a09521ae63264dbe630b48157511a SHA256 c46bd1a3ae20346619e6a98fcab64babf89c2f8301bc7f16be19614cbd7f0434
+MD5 9d95ea6e82e6f017eaf0af46545b7995 ipw3945d-1.7.22-r4.ebuild 2118
+RMD160 1da79287dd21e9cb1ffae7635d0b8859e7bef680 ipw3945d-1.7.22-r4.ebuild 2118
+SHA256 c46bd1a3ae20346619e6a98fcab64babf89c2f8301bc7f16be19614cbd7f0434 ipw3945d-1.7.22-r4.ebuild 2118
+MISC ChangeLog 2565 RMD160 78aeb646ec0900459eec2ce69c7f89c95e10e2f7 SHA1 bd919b5354f11e5367c7e833443b2b2d5a1b393c SHA256 75473d3e4a70007cb88e77d34dd8ea88ea2c0a4b0e15e7385df302ecf5ff31f5
+MD5 883af7f586c2d865c1b75591e98a080f ChangeLog 2565
+RMD160 78aeb646ec0900459eec2ce69c7f89c95e10e2f7 ChangeLog 2565
+SHA256 75473d3e4a70007cb88e77d34dd8ea88ea2c0a4b0e15e7385df302ecf5ff31f5 ChangeLog 2565
MISC metadata.xml 350 RMD160 5211e204927a69b9a6db516ada2ecb6f999b3733 SHA1 7d738b5835510288a15729917f3cc272535ec550 SHA256 4c12367eb2d4a151bfdfe4c2809f164ae6092fd2448321a800cd1a3a063c085c
MD5 792d2ecc8cee12c92c45b9878fdb2192 metadata.xml 350
RMD160 5211e204927a69b9a6db516ada2ecb6f999b3733 metadata.xml 350
@@ -51,7 +51,7 @@ SHA256 30e8b00331f05d9b8ac248847e70de1a7af8a1ea520bb1fea3faf301607f0345 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFFhbrbyuNVb5qfaOYRAhiWAKDRY5WttkI7S8wDjdaSr8+1oz4iogCeOU12
-HX0eY3sPkMJbaNDK/9srRqU=
-=Tjhf
+iD8DBQFFheH2yuNVb5qfaOYRAhR6AKCN/QSIdtdozo3rqg60u3VxqPlnBwCgrkwY
+kT/iQC7raQN5O+jOmImhMYY=
+=JmJL
-----END PGP SIGNATURE-----
diff --git a/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild b/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild
index 583385f76f33..cae6ca997439 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.2 2006/12/17 21:46:35 phreak Exp $
+# $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 $
inherit eutils
@@ -50,6 +50,28 @@ pkg_postinst() {
if [ -f "${ROOT}/etc/modules.d/${PN}" ] ; then
${ROOT}/sbin/modules-update --force
fi
+
+ echo
+
+ # These nasty live-filesystem fixes are needed, because if the files are
+ # already there, the permissions applied in src_install() won't get
+ # transferred to the live filesystem. Once portage is fixed with regard to
+ # this, these hacks can go away.
+
+ # Fix the permissions of /sbin/ipw3945d
+ ebegin "Fixing permissions of ${ROOT}/sbin/ipw3945d"
+ fperms 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
+ eend $?
+
+ echo
+
einfo "The ipw3945 daemon is now started by udev. The daemon should be"
- einfo "brought up automatically."
+ einfo "brought up automatically once you reboot. Also make sure when you"
+ einfo "update from a previous version, you need to reboot in order to"
+ einfo "replace an existing version of this daemon!"
}