1 |
grobian 09/09/04 20:11:26 |
2 |
|
3 |
Modified: darwin-miscutils-6-r1.ebuild ChangeLog |
4 |
darwin-miscutils-5-r1.ebuild |
5 |
darwin-miscutils-4-r1.ebuild |
6 |
Added: darwin-miscutils-7.ebuild |
7 |
Log: |
8 |
Bump to Snow Lepard versions, drop installation of 'su', as it isn't of much use without setuid. Closes bug #283519 |
9 |
(Portage version: 2.2.00.14183-prefix/cvs/Darwin powerpc) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 sys-apps/darwin-miscutils/darwin-miscutils-6-r1.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-6-r1.ebuild?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-6-r1.ebuild?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-6-r1.ebuild?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: darwin-miscutils-6-r1.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-6-r1.ebuild,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- darwin-miscutils-6-r1.ebuild 24 Jun 2009 09:24:37 -0000 1.1 |
25 |
+++ darwin-miscutils-6-r1.ebuild 4 Sep 2009 20:11:25 -0000 1.2 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2009 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-6-r1.ebuild,v 1.1 2009/06/24 09:24:37 grobian Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-6-r1.ebuild,v 1.2 2009/09/04 20:11:25 grobian Exp $ |
31 |
|
32 |
inherit toolchain-funcs eutils |
33 |
|
34 |
@@ -8,7 +8,7 @@ |
35 |
SHELL_VER=118 |
36 |
DEV_VER=49 |
37 |
|
38 |
-DESCRIPTION="Miscellaneous commands used on Darwin/Mac OS X systems" |
39 |
+DESCRIPTION="Miscellaneous commands used on Darwin/Mac OS X systems, Leopard" |
40 |
HOMEPAGE="http://www.opensource.apple.com/" |
41 |
SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/misc_cmds-${MISC_VER}.tar.gz |
42 |
http://www.opensource.apple.com/darwinsource/tarballs/other/shell_cmds-${SHELL_VER}.tar.gz |
43 |
|
44 |
|
45 |
|
46 |
1.3 sys-apps/darwin-miscutils/ChangeLog |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/ChangeLog?rev=1.3&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/ChangeLog?rev=1.3&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/ChangeLog?r1=1.2&r2=1.3 |
51 |
|
52 |
Index: ChangeLog |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/ChangeLog,v |
55 |
retrieving revision 1.2 |
56 |
retrieving revision 1.3 |
57 |
diff -u -r1.2 -r1.3 |
58 |
--- ChangeLog 24 Jun 2009 09:24:37 -0000 1.2 |
59 |
+++ ChangeLog 4 Sep 2009 20:11:25 -0000 1.3 |
60 |
@@ -1,6 +1,14 @@ |
61 |
# ChangeLog for sys-apps/darwin-miscutils |
62 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
63 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/ChangeLog,v 1.2 2009/06/24 09:24:37 grobian Exp $ |
64 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/ChangeLog,v 1.3 2009/09/04 20:11:25 grobian Exp $ |
65 |
+ |
66 |
+*darwin-miscutils-7 (04 Sep 2009) |
67 |
+ |
68 |
+ 04 Sep 2009; Fabian Groffen <grobian@g.o> |
69 |
+ darwin-miscutils-4-r1.ebuild, darwin-miscutils-5-r1.ebuild, |
70 |
+ darwin-miscutils-6-r1.ebuild, +darwin-miscutils-7.ebuild: |
71 |
+ Bump to Snow Lepard versions, drop installation of 'su', as it isn't of |
72 |
+ much use without setuid. Closes bug #283519 |
73 |
|
74 |
*darwin-miscutils-6-r1 (24 Jun 2009) |
75 |
|
76 |
|
77 |
|
78 |
|
79 |
1.2 sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild |
80 |
|
81 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild?rev=1.2&view=markup |
82 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild?rev=1.2&content-type=text/plain |
83 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild?r1=1.1&r2=1.2 |
84 |
|
85 |
Index: darwin-miscutils-5-r1.ebuild |
86 |
=================================================================== |
87 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild,v |
88 |
retrieving revision 1.1 |
89 |
retrieving revision 1.2 |
90 |
diff -u -r1.1 -r1.2 |
91 |
--- darwin-miscutils-5-r1.ebuild 21 Jun 2009 13:31:36 -0000 1.1 |
92 |
+++ darwin-miscutils-5-r1.ebuild 4 Sep 2009 20:11:25 -0000 1.2 |
93 |
@@ -1,6 +1,6 @@ |
94 |
# Copyright 1999-2009 Gentoo Foundation |
95 |
# Distributed under the terms of the GNU General Public License v2 |
96 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild,v 1.1 2009/06/21 13:31:36 grobian Exp $ |
97 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-5-r1.ebuild,v 1.2 2009/09/04 20:11:25 grobian Exp $ |
98 |
|
99 |
inherit toolchain-funcs eutils |
100 |
|
101 |
@@ -8,7 +8,7 @@ |
102 |
SHELL_VER=118 |
103 |
DEV_VER=48 |
104 |
|
105 |
-DESCRIPTION="Miscellaneous commands used on Darwin/Mac OS X systems" |
106 |
+DESCRIPTION="Miscellaneous commands used on Darwin/Mac OS X systems, Leopard" |
107 |
HOMEPAGE="http://www.opensource.apple.com/" |
108 |
SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/misc_cmds-${MISC_VER}.tar.gz |
109 |
http://www.opensource.apple.com/darwinsource/tarballs/other/shell_cmds-${SHELL_VER}.tar.gz |
110 |
|
111 |
|
112 |
|
113 |
1.2 sys-apps/darwin-miscutils/darwin-miscutils-4-r1.ebuild |
114 |
|
115 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-4-r1.ebuild?rev=1.2&view=markup |
116 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-4-r1.ebuild?rev=1.2&content-type=text/plain |
117 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-4-r1.ebuild?r1=1.1&r2=1.2 |
118 |
|
119 |
Index: darwin-miscutils-4-r1.ebuild |
120 |
=================================================================== |
121 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-4-r1.ebuild,v |
122 |
retrieving revision 1.1 |
123 |
retrieving revision 1.2 |
124 |
diff -u -r1.1 -r1.2 |
125 |
--- darwin-miscutils-4-r1.ebuild 21 Jun 2009 13:31:36 -0000 1.1 |
126 |
+++ darwin-miscutils-4-r1.ebuild 4 Sep 2009 20:11:25 -0000 1.2 |
127 |
@@ -1,6 +1,6 @@ |
128 |
# Copyright 1999-2009 Gentoo Foundation |
129 |
# Distributed under the terms of the GNU General Public License v2 |
130 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-4-r1.ebuild,v 1.1 2009/06/21 13:31:36 grobian Exp $ |
131 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-4-r1.ebuild,v 1.2 2009/09/04 20:11:25 grobian Exp $ |
132 |
|
133 |
inherit toolchain-funcs |
134 |
|
135 |
@@ -8,7 +8,7 @@ |
136 |
SHELL_VER=81 |
137 |
DEV_VER=39 |
138 |
|
139 |
-DESCRIPTION="Miscellaneous commands used on Darwin/Mac OS X systems" |
140 |
+DESCRIPTION="Miscellaneous commands used on Darwin/Mac OS X systems, Tiger" |
141 |
HOMEPAGE="http://www.opensource.apple.com/" |
142 |
SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/misc_cmds-${MISC_VER}.tar.gz |
143 |
http://www.opensource.apple.com/darwinsource/tarballs/other/shell_cmds-${SHELL_VER}.tar.gz |
144 |
|
145 |
|
146 |
|
147 |
1.1 sys-apps/darwin-miscutils/darwin-miscutils-7.ebuild |
148 |
|
149 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-7.ebuild?rev=1.1&view=markup |
150 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-7.ebuild?rev=1.1&content-type=text/plain |
151 |
|
152 |
Index: darwin-miscutils-7.ebuild |
153 |
=================================================================== |
154 |
# Copyright 1999-2009 Gentoo Foundation |
155 |
# Distributed under the terms of the GNU General Public License v2 |
156 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/darwin-miscutils/darwin-miscutils-7.ebuild,v 1.1 2009/09/04 20:11:25 grobian Exp $ |
157 |
|
158 |
inherit toolchain-funcs eutils |
159 |
|
160 |
MISC_VER=27 |
161 |
SHELL_VER=149 |
162 |
DEV_VER=52.1 |
163 |
|
164 |
DESCRIPTION="Miscellaneous commands used on Darwin/Mac OS X systems, Snow Leopard" |
165 |
HOMEPAGE="http://www.opensource.apple.com/" |
166 |
SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/misc_cmds-${MISC_VER}.tar.gz |
167 |
http://www.opensource.apple.com/darwinsource/tarballs/other/shell_cmds-${SHELL_VER}.tar.gz |
168 |
http://www.opensource.apple.com/darwinsource/tarballs/other/developer_cmds-${DEV_VER}.tar.gz" |
169 |
|
170 |
LICENSE="BSD" |
171 |
SLOT="0" |
172 |
KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" |
173 |
IUSE="" |
174 |
|
175 |
S=${WORKDIR} |
176 |
|
177 |
src_compile() { |
178 |
local flags=( |
179 |
${CFLAGS} |
180 |
-I. |
181 |
-D__FBSDID=__RCSID |
182 |
-Wsystem-headers |
183 |
${LDFLAGS} |
184 |
) |
185 |
|
186 |
local TS=${S}/misc_cmds-${MISC_VER} |
187 |
# tsort is provided by coreutils |
188 |
for t in leave units calendar; do |
189 |
cd "${TS}/${t}" |
190 |
echo "in ${TS}/${t}:" |
191 |
echo "$(tc-getCC) ${flags[@]} -o ${t}" *.c |
192 |
$(tc-getCC) ${flags[@]} -o ${t} *.c || die "failed to compile $t" |
193 |
done |
194 |
# compile cal separately |
195 |
cd "${TS}/ncal" |
196 |
echo "in ${TS}/ncal:" |
197 |
echo "$(tc-getCC) ${flags[@]} -c calendar.c" |
198 |
$(tc-getCC) ${flags[@]} -c calendar.c || die "failed to compile cal" |
199 |
echo "$(tc-getCC) ${flags[@]} -c easter.c" |
200 |
$(tc-getCC) ${flags[@]} -c easter.c || die "failed to compile cal" |
201 |
echo "$(tc-getCC) ${flags[@]} -c ncal.c" |
202 |
$(tc-getCC) ${flags[@]} -c ncal.c || die "failed to compile cal" |
203 |
echo "$(tc-getCC) ${flags[@]} -o cal calendar.o easter.o ncal.o" |
204 |
$(tc-getCC) ${flags[@]} -o cal calendar.o easter.o ncal.o || die "failed to compile cal" |
205 |
|
206 |
TS=${S}/shell_cmds-${SHELL_VER} |
207 |
# only pick those tools not provided by coreutils, findutils |
208 |
for t in \ |
209 |
alias apply getopt hostname jot kill \ |
210 |
lastcomm renice shlock time whereis; |
211 |
do |
212 |
echo "in ${TS}/${t}:" |
213 |
echo "$(tc-getCC) ${flags[@]} -o ${t} ${t}.c" |
214 |
cd "${TS}/${t}" |
215 |
$(tc-getCC) ${flags[@]} -o ${t} ${t}.c || die "failed to compile $t" |
216 |
done |
217 |
# script and killall need additonal flags |
218 |
for t in \ |
219 |
killall script |
220 |
do |
221 |
echo "in ${TS}/${t}:" |
222 |
echo "$(tc-getCC) ${flags[@]} -o ${t} ${t}.c" |
223 |
cd "${TS}/${t}" |
224 |
$(tc-getCC) ${flags[@]} -o ${t} ${t}.c || die "failed to compile $t" |
225 |
done |
226 |
cd "${TS}/w" |
227 |
sed -i -e '/#include <libutil.h>/d' w.c || die |
228 |
echo "in ${TS}/w:" |
229 |
echo "$(tc-getCC) ${flags[@]} -DHAVE_UTMPX=1 -lresolv -o w w.c pr_time.c proc_compare.c" |
230 |
$(tc-getCC) ${flags[@]} -DHAVE_UTMPX=1 -lresolv -o w w.c pr_time.c proc_compare.c \ |
231 |
|| die "failed to compile w" |
232 |
|
233 |
TS=${S}/developer_cmds-${DEV_VER} |
234 |
# only pick those tools that do not conflict (no ctags and indent) |
235 |
# do not install lorder, mkdep and vgrind as they are a non-prefix-aware |
236 |
# shell scripts |
237 |
# don't install rpcgen, as it is heavily related to the OS it runs |
238 |
# on (and this is the Leopard version) |
239 |
for t in asa error hexdump unifdef what ; do |
240 |
echo "in ${TS}/${t}:" |
241 |
cd "${TS}/${t}" |
242 |
echo "$(tc-getCC) ${flags[@]} -o ${t}" *.c |
243 |
$(tc-getCC) ${flags[@]} -o ${t} *.c || die "failed to compile $t" |
244 |
done |
245 |
} |
246 |
|
247 |
src_install() { |
248 |
[[ -z ${ED} ]] && local ED=${D} |
249 |
|
250 |
mkdir -p "${ED}"/bin |
251 |
mkdir -p "${ED}"/usr/bin |
252 |
|
253 |
local TS=${S}/misc_cmds-${MISC_VER} |
254 |
for t in leave units calendar ; do |
255 |
cp "${TS}/${t}/${t}" "${ED}"/usr/bin/ |
256 |
doman "${TS}/${t}/${t}.1" |
257 |
done |
258 |
# copy cal separately |
259 |
cp "${TS}/ncal/cal" "${ED}"/usr/bin/ |
260 |
dosym /usr/bin/cal /usr/bin/ncal |
261 |
doman "${TS}/ncal/ncal.1" |
262 |
dosym /usr/share/man/man1/ncal.1 /usr/share/man/man1/cal.1 |
263 |
|
264 |
TS=${S}/shell_cmds-${SHELL_VER} |
265 |
for t in \ |
266 |
alias apply getopt jot killall lastcomm \ |
267 |
renice script shlock su time w whereis; |
268 |
do |
269 |
cp "${TS}/${t}/${t}" "${ED}"/usr/bin/ |
270 |
[[ -f "${TS}/${t}/${t}.1" ]] && doman "${TS}/${t}/${t}.1" |
271 |
[[ -f "${TS}/${t}/${t}.8" ]] && doman "${TS}/${t}/${t}.8" |
272 |
done |
273 |
cp "${TS}/w/w" "${ED}"/usr/bin/uptime |
274 |
doman "${TS}/w/uptime.1" |
275 |
for t in hostname kill; do |
276 |
cp "${TS}/${t}/${t}" "${ED}"/bin/ |
277 |
doman "${TS}/${t}/${t}.1" |
278 |
done |
279 |
|
280 |
TS=${S}/developer_cmds-${DEV_VER} |
281 |
for t in asa error hexdump unifdef what ; do |
282 |
cp "${TS}/${t}/${t}" "${ED}"/usr/bin/ |
283 |
doman "${TS}/${t}/${t}.1" |
284 |
done |
285 |
} |