Gentoo Archives: gentoo-commits

From: "Roy Marples (uberlord)" <uberlord@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/ipw3945d: ChangeLog ipw3945d-1.7.22-r5.ebuild
Date: Thu, 01 Nov 2007 01:59:30
Message-Id: E1InPL6-0003WU-9m@stork.gentoo.org
1 uberlord 07/11/01 01:59:20
2
3 Modified: ChangeLog
4 Added: ipw3945d-1.7.22-r5.ebuild
5 Log:
6 Bump for a fixed init script, #196647
7 (Portage version: 2.1.3.16, RepoMan options: --force)
8
9 Revision Changes Path
10 1.19 net-wireless/ipw3945d/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/ipw3945d/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/ipw3945d/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/ipw3945d/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 3 Jun 2007 05:19:35 -0000 1.18
23 +++ ChangeLog 1 Nov 2007 01:59:19 -0000 1.19
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-wireless/ipw3945d
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.18 2007/06/03 05:19:35 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ChangeLog,v 1.19 2007/11/01 01:59:19 uberlord Exp $
29 +
30 +*ipw3945d-1.7.22-r5 (01 Nov 2007)
31 +
32 + 01 Nov 2007; Roy Marples <uberlord@g.o> files/ipw3945d-init.d,
33 + +ipw3945d-1.7.22-r5.ebuild:
34 + Bump for a fixed init script, #196647
35
36 03 Jun 2007; Doug Goldstein <cardoe@g.o> files/ipw3945d-init.d:
37 s-s-d start was wrong.
38
39
40
41 1.1 net-wireless/ipw3945d/ipw3945d-1.7.22-r5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/ipw3945d/ipw3945d-1.7.22-r5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-wireless/ipw3945d/ipw3945d-1.7.22-r5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ipw3945d-1.7.22-r5.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945d/ipw3945d-1.7.22-r5.ebuild,v 1.1 2007/11/01 01:59:19 uberlord Exp $
51
52 inherit eutils
53
54 DESCRIPTION="Regulatory daemon for the Intel PRO/Wireless 3945ABG miniPCI express adapter"
55 HOMEPAGE="http://www.bughost.org/ipw3945/"
56 SRC_URI="http://www.bughost.org/ipw3945/daemon/${P}.tgz"
57
58 LICENSE="ipw3945"
59 SLOT="0"
60 KEYWORDS="amd64 x86"
61
62 IUSE=""
63 DEPEND=""
64
65 RESTRICT="strip"
66
67 pkg_setup() {
68 # Create a user for the ipw3945d daemon
69 enewuser ipw3945d -1
70 }
71
72 src_install() {
73 into /
74 use x86 && dosbin x86/ipw3945d
75 use amd64 && dosbin x86_64/ipw3945d
76
77 # Give the ipw3945d access to the binary
78 fowners ipw3945d:root /sbin/ipw3945d
79 fperms 04450 /sbin/ipw3945d
80
81 keepdir /var/run/ipw3945d
82 fowners ipw3945d:root /var/run/ipw3945d
83
84 newconfd "${FILESDIR}/${PN}-conf.d" ${PN}
85 newinitd "${FILESDIR}/${PN}-init.d" ${PN}
86
87 insinto /etc/modules.d
88 newins "${FILESDIR}/${P}-modprobe.conf" ${PN}
89
90 dodoc README.${PN}
91 }
92
93 pkg_postinst() {
94 # Update the modules.d cache
95 if [ "${ROOT}" = "/" ] && [ -f "${ROOT}/etc/modules.d/${PN}" ] ; then
96 ebegin "Updating modules.conf"
97 [ -x /sbin/update-modules ] && /sbin/update-modules --force || /sbin/modules-update --force
98 eend $?
99 fi
100
101 echo
102
103 # These nasty live-filesystem fixes are needed, because if the files are
104 # already there, the permissions applied in src_install() won't get
105 # merged to the live filesystem. Once portage is fixed with regard to
106 # this, these hacks can go away.
107
108 # Fix the permissions of /sbin/ipw3945d
109 ebegin "Fixing permissions of ${ROOT}sbin/ipw3945d"
110 chown ipw3945d:root "${ROOT}sbin/ipw3945d"
111 chmod 04450 "${ROOT}sbin/ipw3945d"
112 eend $?
113
114 # Fixing ownership of /var/run/ipw3945d
115 ebegin "Fixing ownership of ${ROOT}var/run/ipw3945d"
116 chown ipw3945d:root "${ROOT}var/run/ipw3945d"
117 eend $?
118
119 echo
120
121 einfo "The ipw3945 daemon is now started by udev. The daemon should be"
122 einfo "brought up automatically once you reboot. Also make sure when you"
123 einfo "update from a previous version, you need to reboot in order to"
124 einfo "replace an existing version of this daemon!"
125 }
126
127
128
129 --
130 gentoo-commits@g.o mailing list