From 89f53faa04947cfdc2d6febe0f7e2e74b1088b0b Mon Sep 17 00:00:00 2001 From: Christian Heim Date: Thu, 11 Jan 2007 18:37:24 +0000 Subject: [PATCH] Fixing src_install (was munging with stuff outside , which came from the change fowners/fperms -> chown/chmod), adjusting pkg_postinst. Package-Manager: portage-2.1.2_rc4-r6 --- net-wireless/ipw3945d/ChangeLog | 6 ++++- net-wireless/ipw3945d/Manifest | 22 +++++++++---------- .../ipw3945d/ipw3945d-1.7.22-r4.ebuild | 13 ++++++----- 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/net-wireless/ipw3945d/ChangeLog b/net-wireless/ipw3945d/ChangeLog index b3523cbb307d..8bd26a04bfb7 100644 --- a/net-wireless/ipw3945d/ChangeLog +++ b/net-wireless/ipw3945d/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/ipw3945d # 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 $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.13 2007/01/11 18:37:24 phreak Exp $ + + 11 Jan 2007; Christian Heim ipw3945d-1.7.22-r4.ebuild: + Fixing src_install (was munging with stuff outside , which came from the + change fowners/fperms -> chown/chmod), adjusting pkg_postinst. 08 Jan 2007; Christian Heim -ipw3945d-1.7.22-r3.ebuild, ipw3945d-1.7.22-r4.ebuild: diff --git a/net-wireless/ipw3945d/Manifest b/net-wireless/ipw3945d/Manifest index acb6d73570c5..f24a3052b662 100644 --- a/net-wireless/ipw3945d/Manifest +++ b/net-wireless/ipw3945d/Manifest @@ -23,14 +23,14 @@ EBUILD ipw3945d-1.7.18.ebuild 944 RMD160 1c045ed1e26007dfb26156593ce79a934ba0da6 MD5 de7e5237ca6dc6332c4a49526ea8a856 ipw3945d-1.7.18.ebuild 944 RMD160 1c045ed1e26007dfb26156593ce79a934ba0da61 ipw3945d-1.7.18.ebuild 944 SHA256 4bfc0eed9604fcbe7c9488fbadb16c57df582747e86aab135995c9b05712e6cf ipw3945d-1.7.18.ebuild 944 -EBUILD ipw3945d-1.7.22-r4.ebuild 2163 RMD160 4b57e6ee917ce97168fd2d4a0b9085c1d314fe41 SHA1 5dbf6a6e894c0248a75e7bbe418b58c2f69bc47b SHA256 4a4e78016d3f7b7d322acbc8e7d24fa7022ac7be6aa6f6fed5dc20ca21943711 -MD5 fbb31e141ed9cb5e0ddfed5ebd9efa1a ipw3945d-1.7.22-r4.ebuild 2163 -RMD160 4b57e6ee917ce97168fd2d4a0b9085c1d314fe41 ipw3945d-1.7.22-r4.ebuild 2163 -SHA256 4a4e78016d3f7b7d322acbc8e7d24fa7022ac7be6aa6f6fed5dc20ca21943711 ipw3945d-1.7.22-r4.ebuild 2163 -MISC ChangeLog 2980 RMD160 be6e89fcfd03ecff65f358c42aa027a0fd8a87f6 SHA1 88fcfcd267dfdc0a7efdf8d29637782b66621d39 SHA256 b49fcb127f069226b633dc620945e1e0752ac5daf31b79f8e392cce92b33e89e -MD5 19733ef0b07520cf15c94146cee1b0c3 ChangeLog 2980 -RMD160 be6e89fcfd03ecff65f358c42aa027a0fd8a87f6 ChangeLog 2980 -SHA256 b49fcb127f069226b633dc620945e1e0752ac5daf31b79f8e392cce92b33e89e ChangeLog 2980 +EBUILD ipw3945d-1.7.22-r4.ebuild 2225 RMD160 9d6af297c42855283577d6a1d0df77a7b77aef52 SHA1 111c45a7a855ba95fc7261ff467f2b20e56f25ed SHA256 9bdbbeb643a8a588d83e28f93d377d7f538cb7789e81767314429dd39138a5ac +MD5 0eeb5d6eaa2749deb490f74daf10767b ipw3945d-1.7.22-r4.ebuild 2225 +RMD160 9d6af297c42855283577d6a1d0df77a7b77aef52 ipw3945d-1.7.22-r4.ebuild 2225 +SHA256 9bdbbeb643a8a588d83e28f93d377d7f538cb7789e81767314429dd39138a5ac ipw3945d-1.7.22-r4.ebuild 2225 +MISC ChangeLog 3198 RMD160 ca0b9360f824a42f0d541218101d7d72e34a6205 SHA1 be62e336ec1cb83728c30a60de887d9c720b347d SHA256 ba4a4d2dd62f097e84e1c0d807d81e4ed7b789a4aa70a7dd416b0b6d7812ab4a +MD5 e5b35751a342f8f1c80555ea4746cc05 ChangeLog 3198 +RMD160 ca0b9360f824a42f0d541218101d7d72e34a6205 ChangeLog 3198 +SHA256 ba4a4d2dd62f097e84e1c0d807d81e4ed7b789a4aa70a7dd416b0b6d7812ab4a ChangeLog 3198 MISC metadata.xml 350 RMD160 5211e204927a69b9a6db516ada2ecb6f999b3733 SHA1 7d738b5835510288a15729917f3cc272535ec550 SHA256 4c12367eb2d4a151bfdfe4c2809f164ae6092fd2448321a800cd1a3a063c085c MD5 792d2ecc8cee12c92c45b9878fdb2192 metadata.xml 350 RMD160 5211e204927a69b9a6db516ada2ecb6f999b3733 metadata.xml 350 @@ -44,7 +44,7 @@ SHA256 30e8b00331f05d9b8ac248847e70de1a7af8a1ea520bb1fea3faf301607f0345 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFoqeEyuNVb5qfaOYRAsmIAKCQW1Wj99Bk+BhjFZq7I0OTZuT7MACgvt1I -hlCZ/atEv2qrDzCs9cD/C2E= -=BE3L +iD8DBQFFpoN2yuNVb5qfaOYRApqxAJ9MSw5lbbrjeuNsrlS/M/HVdBeAsQCfYDn+ +/Ig3nWVX1m4YCRhNDtFUyzE= +=K2v6 -----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 311b2ccc176b..70b1c3f5bda7 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-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.4 2007/01/08 20:57:15 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ipw3945d-1.7.22-r4.ebuild,v 1.5 2007/01/11 18:37:24 phreak Exp $ inherit eutils @@ -30,11 +30,11 @@ src_install() { use amd64 && dosbin x86_64/ipw3945d # Give the ipw3945d access to the binary - chown ipw3945d:root /sbin/ipw3945d - chmod 04450 /sbin/ipw3945d + chown ipw3945d:root "${D}/sbin/ipw3945d" + chmod 04450 "${D}/sbin/ipw3945d" keepdir /var/run/ipw3945d - chown ipw3945d:root /var/run/ipw3945d + chown ipw3945d:root "${D}/var/run/ipw3945d" newconfd "${FILESDIR}/${PN}-conf.d" ${PN} newinitd "${FILESDIR}/${PN}-init.d" ${PN} @@ -62,12 +62,13 @@ pkg_postinst() { # Fix the permissions of /sbin/ipw3945d ebegin "Fixing permissions of ${ROOT}sbin/ipw3945d" - chmod 04450 "${ROOT}"sbin/ipw3945d + chmod 04450 "${ROOT}sbin/ipw3945d" + chown ipw3945d:root "${ROOT}sbin/ipw3945d" eend $? # Fixing ownership of /var/run/ipw3945d ebegin "Fixing ownership of ${ROOT}var/run/ipw3945d" - chown ipw3945d:root "${ROOT}"var/run/ipw3945d + chown ipw3945d:root "${ROOT}var/run/ipw3945d" eend $? echo -- 2.26.2