]> git.pld-linux.org Git - packages/ash.git/blob - ash-debian.patch
- dropped pre-cvs changelog
[packages/ash.git] / ash-debian.patch
1 diff -urN netbsd-sh/debian/README.debian ash-0.3.7.orig/debian/README.debian
2 --- netbsd-sh/debian/README.debian      Thu Jan  1 01:00:00 1970
3 +++ ash-0.3.7.orig/debian/README.debian Mon Apr 23 22:16:46 2001
4 @@ -0,0 +1,14 @@
5 +ash for DEBIAN
6 +----------------------
7 +
8 +This is a very simple port of ash taken from NetBSD-current on 1997/06/18.  The
9 +file setmode.c was taken from src/libc/gen and is needed since the Linux libc
10 +does provide getmode(3) or setmode(3).  History editing is disabled to avoid
11 +code bloat.  This also means that building the package is possible without the
12 +BSD libedit.
13 +
14 +This port is preriodically revised to keep up to date with NetBSD's current
15 +release.
16 +
17 +Herbert Xu <herbert@debian.org>
18 +$Id$
19 diff -urN netbsd-sh/debian/ash-medium.README.Debian ash-0.3.7.orig/debian/ash-medium.README.Debian
20 --- netbsd-sh/debian/ash-medium.README.Debian   Thu Jan  1 01:00:00 1970
21 +++ ash-0.3.7.orig/debian/ash-medium.README.Debian      Mon Apr 23 22:16:46 2001
22 @@ -0,0 +1,14 @@
23 +ash for DEBIAN
24 +----------------------
25 +
26 +This is a very simple port of ash taken from NetBSD-current on 1997/06/18.  The
27 +file setmode.c was taken from src/libc/gen and is needed since the Linux libc
28 +does provide getmode(3) or setmode(3).  History editing is disabled to avoid
29 +code bloat.  This also means that building the package is possible without the
30 +BSD libedit.
31 +
32 +This port is preriodically revised to keep up to date with NetBSD's current
33 +release.
34 +
35 +Herbert Xu <herbert@debian.org>
36 +$Id$
37 diff -urN netbsd-sh/debian/ash-medium.dirs ash-0.3.7.orig/debian/ash-medium.dirs
38 --- netbsd-sh/debian/ash-medium.dirs    Thu Jan  1 01:00:00 1970
39 +++ ash-0.3.7.orig/debian/ash-medium.dirs       Mon Apr 23 22:16:46 2001
40 @@ -0,0 +1,2 @@
41 +usr/bin
42 +usr/share/man/man1
43 diff -urN netbsd-sh/debian/ash-udeb.dirs ash-0.3.7.orig/debian/ash-udeb.dirs
44 --- netbsd-sh/debian/ash-udeb.dirs      Thu Jan  1 01:00:00 1970
45 +++ ash-0.3.7.orig/debian/ash-udeb.dirs Mon Apr 23 22:16:46 2001
46 @@ -0,0 +1 @@
47 +bin
48 diff -urN netbsd-sh/debian/bsdyacc ash-0.3.7.orig/debian/bsdyacc
49 --- netbsd-sh/debian/bsdyacc    Thu Jan  1 01:00:00 1970
50 +++ ash-0.3.7.orig/debian/bsdyacc       Mon Apr 23 22:16:46 2001
51 @@ -0,0 +1,20 @@
52 +#!/bin/sh -e
53 +
54 +if echo "$@" | grep -q -- -o; then
55 +       OUTPUT=$(echo "$@" |
56 +                sed 's/.*-o[[:blank:]]\+\([^[:blank:]]\+\)\.c.*/\1/')
57 +       OPTIONS=$(echo "$@" |
58 +                sed 's/\(.*\)-o[[:blank:]]\+[^[:blank:]]\+\(.*\)/\1\2/')
59 +       NEW=1
60 +else
61 +       OUTPUT=$(echo "$@" |
62 +                sed -e 's/.*[[:blank:]]\+\([^[:blank:]]\+\)\.y.*/\1/')
63 +       OPTIONS="$@"
64 +       NEW=0
65 +fi
66 +
67 +byacc $OPTIONS
68 +if [ $NEW = 1 ]; then
69 +       mv y.tab.c $OUTPUT.c
70 +fi
71 +mv y.tab.h $OUTPUT.h
72 diff -urN netbsd-sh/debian/changelog ash-0.3.7.orig/debian/changelog
73 --- netbsd-sh/debian/changelog  Thu Jan  1 01:00:00 1970
74 +++ ash-0.3.7.orig/debian/changelog     Mon Apr 23 22:16:46 2001
75 @@ -0,0 +1,429 @@
76 +ash (0.3.7-14) unstable; urgency=low
77 +
78 +  * Removed predependency from udeb (closes: #81995).
79 +  * Added /bin/sh symlink to udeb (closes: #81967).
80 +
81 + -- Herbert Xu <herbert@debian.org>  Sat, 13 Jan 2001 15:23:21 +1100
82 +
83 +ash (0.3.7-13) unstable; urgency=low
84 +
85 +  * Renamed the udeb to ash-udeb.
86 +
87 + -- Herbert Xu <herbert@debian.org>  Wed, 20 Dec 2000 19:32:34 +1100
88 +
89 +ash (0.3.7-12) unstable; urgency=low
90 +
91 +  * Added support for udebs (Randolph Chung, closes: #79237).
92 +
93 + -- Herbert Xu <herbert@debian.org>  Sat, 16 Dec 2000 13:53:28 +1100
94 +
95 +ash (0.3.7-11) unstable; urgency=low
96 +
97 +  * Preserve the previous exit status upon entering a function
98 +    (closes: #78374).
99 +
100 + -- Herbert Xu <herbert@debian.org>  Sun,  3 Dec 2000 13:34:27 +1100
101 +
102 +ash (0.3.7-10) unstable; urgency=low
103 +
104 +  * Merged changes for GNU from Igor Khavkine.
105 +  * Minimise the number of sigactions.
106 +
107 + -- Herbert Xu <herbert@debian.org>  Fri,  3 Nov 2000 20:31:52 +1100
108 +
109 +ash (0.3.7-9) unstable; urgency=low
110 +
111 +  * Predepend on the libraries.
112 +  * Always save fd 2 when it is redirected (closes: #75302).
113 +
114 + -- Herbert Xu <herbert@debian.org>  Sun, 22 Oct 2000 08:40:40 +1100
115 +
116 +ash (0.3.7-8) unstable; urgency=high
117 +
118 +  * More redirection fixes (closes: #73613).
119 +
120 + -- Herbert Xu <herbert@debian.org>  Thu,  5 Oct 2000 18:22:17 +1100
121 +
122 +ash (0.3.7-7) unstable; urgency=high
123 +
124 +  * Added missing break in redirection code (closes: #72956).
125 +
126 + -- Herbert Xu <herbert@debian.org>  Tue,  3 Oct 2000 07:58:04 +1100
127 +
128 +ash (0.3.7-6) unstable; urgency=low
129 +
130 +  * command -[vV] no longer displays an error message on stdout.
131 +  * Redirecting to /proc/self/fd/* now works (closes: #72852).
132 +
133 + -- Herbert Xu <herbert@debian.org>  Sun,  1 Oct 2000 12:56:39 +1100
134 +
135 +ash (0.3.7-5) unstable; urgency=low
136 +
137 +  * Implemented set -a.
138 +
139 + -- Herbert Xu <herbert@debian.org>  Sat, 30 Sep 2000 16:00:33 +1100
140 +
141 +ash (0.3.7-4) unstable; urgency=low
142 +
143 +  * Added build-time dependency on debhelper (closes: #69920).
144 +  * Extended maximum length of arithmetic expansions to match 32-bit integers.
145 +
146 + -- Herbert Xu <herbert@debian.org>  Wed, 20 Sep 2000 14:28:16 +1100
147 +
148 +ash (0.3.7-3) unstable; urgency=low
149 +
150 +  * Switch to the old globbing code since glob(3) is hopelessly broken
151 +    (closes: #69455).
152 +
153 + -- Herbert Xu <herbert@debian.org>  Mon, 21 Aug 2000 20:37:15 +1000
154 +
155 +ash (0.3.7-2) unstable; urgency=low
156 +
157 +  * Call glob(3) with GLOB_NOMAGIC (ouch).
158 +
159 + -- Herbert Xu <herbert@debian.org>  Sun,  6 Aug 2000 17:47:08 +1000
160 +
161 +ash (0.3.7-1) unstable; urgency=low
162 +
163 +  * NetBSD-current version as of 20000729.
164 +  * Use fnmatch(3) and glob(3).
165 +  * Fixed the use of backslashes in the pattern in parameter substitutions,
166 +    hopefully for the last time.
167 +  * Applied HETIO patch and built ash.medium (closes: #50788).  Will do ash.big
168 +    when readline is fixed so that it doesn't leak anymore.
169 +
170 + -- Herbert Xu <herbert@debian.org>  Fri,  4 Aug 2000 21:36:44 +1000
171 +
172 +ash (0.3.6-5) unstable; urgency=low
173 +
174 +  * Fixed manpage entry for read with patch from Kevin Ryde (closes: #62500).
175 +  * Fixed a file descriptor leak for pipelines.
176 +
177 + -- Herbert Xu <herbert@debian.org>  Wed, 19 Apr 2000 18:56:20 +1000
178 +
179 +ash (0.3.6-4) unstable; urgency=low
180 +
181 +  * Fixed the case of an empty command with redirections.
182 +
183 + -- Herbert Xu <herbert@debian.org>  Fri,  7 Apr 2000 12:07:18 +1000
184 +
185 +ash (0.3.6-3) unstable; urgency=low
186 +
187 +  * ! is now recognised correctly.
188 +  * Ash is now more strict on the syntax, e.g., a lone ! is no longer accepted
189 +    as an alternative to ! true.
190 +
191 + -- Herbert Xu <herbert@debian.org>  Fri,  7 Apr 2000 10:46:06 +1000
192 +
193 +ash (0.3.6-2) unstable; urgency=low
194 +
195 +  * Fixed a problem with fmtstr() which broke getopts.
196 +
197 + -- Herbert Xu <herbert@debian.org>  Sun,  2 Apr 2000 10:49:26 +1000
198 +
199 +ash (0.3.6-1) unstable; urgency=low
200 +
201 +  * NetBSD-current version as of 20000326.
202 +  * Added a Build-Depends on groff (closes: #61041).
203 +  * Implemented noclobber (closes: #59028).
204 +  * Rewrote output.c to use stream IO.
205 +
206 + -- Herbert Xu <herbert@debian.org>  Sat,  1 Apr 2000 19:24:31 +1000
207 +
208 +ash (0.3.5-10) frozen unstable; urgency=low
209 +
210 +  * Don't stat mail boxes in non-interactive mode (closes: #59213).
211 +  * Added an fflush(stdout) to the times builtin (closes: #59027).
212 +  * Documented the times builtin.
213 +  * Added source depends.
214 +
215 + -- Herbert Xu <herbert@debian.org>  Sat, 18 Mar 2000 18:58:44 +1100
216 +
217 +ash (0.3.5-9) unstable; urgency=low
218 +
219 +  * Double quotes inside paramater substitutions inside double quotes are now
220 +    ignored as in bash (the originial behaviour was POSIX compliant too but
221 +    IMHO this one makes a little bit more sense).
222 +    This one broke mwm (but it was actually mwm's fault).
223 +  * Corrected backslash/CTLESC treatment for patterns in parameter
224 +    substitutions.
225 +
226 + -- Herbert Xu <herbert@debian.org>  Sat,  6 Nov 1999 18:13:19 +1100
227 +
228 +ash (0.3.5-8) unstable; urgency=low
229 +
230 +  * Replaced use of echo -n in manual page with escape codes.
231 +  * Made FHS compliant (closes: #47978).
232 +  * Restored echo's option processing ability.
233 +
234 + -- Herbert Xu <herbert@debian.org>  Fri, 22 Oct 1999 10:20:58 +1000
235 +
236 +ash (0.3.5-7) unstable; urgency=low
237 +
238 +  * echo no longer supports options.
239 +  * Don't quote patterns inside parameter substitutions enclosed by double
240 +    quotes (closes: #47842).
241 +
242 + -- Herbert Xu <herbert@debian.org>  Wed, 20 Oct 1999 20:28:14 +1000
243 +
244 +ash (0.3.5-6) unstable; urgency=low
245 +
246 +  * Use getcwd() instead of /bin/pwd -- Zack Weinberg (closes: #46981).
247 +
248 + -- Herbert Xu <herbert@debian.org>  Sun, 10 Oct 1999 16:31:49 +1000
249 +
250 +ash (0.3.5-5) unstable; urgency=low
251 +
252 +  * Only test for -e on simple commands (fixes #44559).
253 +
254 + -- Herbert Xu <herbert@debian.org>  Wed,  8 Sep 1999 22:18:27 +1000
255 +
256 +ash (0.3.5-4) unstable; urgency=low
257 +
258 +  * Don't wait for stopped children if job control is disabled (fixes #42814).
259 +  * Allow an option '(' in a case statement (fixes #42364).
260 +
261 + -- Herbert Xu <herbert@debian.org>  Thu, 12 Aug 1999 23:30:30 +1000
262 +
263 +ash (0.3.5-3) unstable; urgency=low
264 +
265 +  * OK, the fix to the esoteric problem in 0.3.5-1 actually breaks VSASSIGN
266 +    and VSQUESTION, they should work properly now (fixes #41327).
267 +
268 + -- Herbert Xu <herbert@debian.org>  Thu, 15 Jul 1999 22:47:13 +1000
269 +
270 +ash (0.3.5-2) unstable; urgency=low
271 +
272 +  * PATH search and execution is now correct.
273 +  * hash no longer shows builtins.
274 +  * Added kill builtin.
275 +  * New description from James R. van Zandt reformatted by Josip Rodin.
276 +
277 + -- Herbert Xu <herbert@debian.org>  Mon, 12 Jul 1999 18:51:42 +1000
278 +
279 +ash (0.3.5-1) unstable; urgency=low
280 +
281 +  * New upstream release.
282 +  * Adapted to new pmake (fixes #38737).
283 +  * Fixed behvaiour of backslashes preceding a closing brace for a parameter
284 +    substituion inside double quotes (even bash messes this one up :).
285 +  * Fixed command (fixes #34639).
286 +  * Fixed a pipe bug where stdin may be wrongly closed (fixes #35452).
287 +  * Revamped getopts (fixes #39694).
288 +
289 + -- Herbert Xu <herbert@debian.org>  Sun,  4 Jul 1999 12:19:01 +1000
290 +
291 +ash (0.3.4-7) unstable; urgency=low
292 +
293 +  * Fixed a glibc 2.1 compatitibility problem.
294 +  * Fixed a PWD inconsistency that stuffed up the kernel compilation.
295 +
296 + -- Herbert Xu <herbert@debian.org>  Mon, 17 May 1999 23:14:57 +1000
297 +
298 +ash (0.3.4-6) unstable; urgency=low
299 +
300 +  * Fixed incorrect -e test due to the last bug fix (fixes #26509).
301 +
302 + -- Herbert Xu <herbert@debian.org>  Tue,  8 Sep 1998 10:02:46 +1000
303 +
304 +ash (0.3.4-5) unstable; urgency=low
305 +
306 +  * Use test_eaccess from bash instead of access(2) (fixes #26110).
307 +
308 + -- Herbert Xu <herbert@debian.org>  Wed, 26 Aug 1998 21:22:49 +1000
309 +
310 +ash (0.3.4-4) unstable; urgency=low
311 +
312 +  * Only upload to unstable.
313 +
314 + -- Herbert Xu <herbert@debian.org>  Tue,  5 May 1998 18:01:02 +1000
315 +
316 +ash (0.3.4-3) frozen unstable; urgency=low
317 +
318 +  * Applied sparc patch (fixes #21562).
319 +
320 + -- Herbert Xu <herbert@debian.org>  Fri,  1 May 1998 19:48:13 +1000
321 +
322 +ash (0.3.4-2) frozen unstable; urgency=low
323 +
324 +  * Fixed the incorrect trap fixes (fixes #20363).
325 +
326 + -- Herbert Xu <herbert@debian.org>  Thu, 16 Apr 1998 21:07:10 +1000
327 +
328 +ash (0.3.4-1) unstable; urgency=low
329 +
330 +  * New upstream release.
331 +  * Reverted word splitting change in 0.3.2-1 since the fix was broken and
332 +    major work (the quote removal is done too quickly at the moment) is needed
333 +    to fix it properly.
334 +  * Fixed more trap noncompliance.
335 +
336 + -- Herbert Xu <herbert@debian.org>  Thu, 19 Mar 1998 22:59:12 +1100
337 +
338 +ash (0.3.2-5) unstable; urgency=low
339 +
340 +  * Fixed a bug when doing pattern matching in parameter expansions.
341 +
342 + -- Herbert Xu <herbert@debian.org>  Tue, 10 Mar 1998 21:25:40 +1100
343 +
344 +ash (0.3.2-4) unstable; urgency=low
345 +
346 +  * Allow ] to be quoted in bracket expressions (fixes #17533).
347 +  * Move dh_fixperms to second last spot (fixes #18267).
348 +  * Don't do field splitting in evalfor.
349 +
350 + -- Herbert Xu <herbert@debian.org>  Tue, 17 Feb 1998 13:32:09 +1100
351 +
352 +ash (0.3.2-3) unstable; urgency=low
353 +
354 +  * Fixed stupid core dump.
355 +
356 + -- Herbert Xu <herbert@debian.org>  Wed, 11 Feb 1998 21:33:55 +1100
357 +
358 +ash (0.3.2-2) unstable; urgency=low
359 +
360 +  * Hack for special builtins (fixes #18055).
361 +  * Hack for command.
362 +
363 + -- Herbert Xu <herbert@debian.org>  Wed, 11 Feb 1998 21:19:46 +1100
364 +
365 +ash (0.3.2-1) unstable; urgency=low
366 +
367 +  * NetBSD-current version as of 19980209.
368 +  * Fixed a word splitting problem after parameter expansion thanks to Alexey
369 +    Marinichev.
370 +  * Converted to debhelper (fixes #14612, #15005).
371 +
372 + -- Herbert Xu <herbert@debian.org>  Mon,  9 Feb 1998 16:53:48 +1100
373 +
374 +ash (0.3.1-20) unstable; urgency=low
375 +
376 +  * Fixed -e problem with eval.
377 +
378 + -- Herbert Xu <herbert@debian.org>  Sun,  7 Dec 1997 20:19:00 +1100
379 +
380 +ash (0.3.1-19) unstable; urgency=low
381 +
382 +  * Fixed -e problem with command substitution.
383 +
384 + -- Herbert Xu <herbert@debian.org>  Sun,  7 Dec 1997 19:44:49 +1100
385 +
386 +ash (0.3.1-18) unstable; urgency=low
387 +
388 +  * Do not link with ncurses (#15485).
389 +
390 + -- Herbert Xu <herbert@debian.org>  Sun, 30 Nov 1997 12:00:11 +1100
391 +
392 +ash (0.3.1-17) unstable; urgency=low
393 +
394 +  * Set PATH like bash (#15238).
395 +
396 + -- Herbert Xu <herbert@debian.org>  Wed, 26 Nov 1997 16:17:27 +1100
397 +
398 +ash (0.3.1-16) unstable; urgency=low
399 +
400 +  * Fixed incorrect assignment builtin code.
401 +
402 + -- Herbert Xu <herbert@debian.org>  Mon, 24 Nov 1997 16:19:10 +1100
403 +
404 +ash (0.3.1-15) unstable; urgency=low
405 +
406 +  * hash now returns error codes (needed by the Linux kernel).
407 +
408 + -- Herbert Xu <herbert@debian.org>  Sun, 23 Nov 1997 21:37:08 +1100
409 +
410 +ash (0.3.1-14) unstable; urgency=low
411 +
412 +  * Disabled word-splitting for assignment builtins.
413 +
414 + -- Herbert Xu <herbert@debian.org>  Sun, 23 Nov 1997 12:45:15 +1100
415 +
416 +ash (0.3.1-13) unstable; urgency=low
417 +
418 +  * ! is now recognised even after &&/||.
419 +
420 + -- Herbert Xu <herbert@debian.org>  Fri, 21 Nov 1997 22:09:05 +1100
421 +
422 +ash (0.3.1-12) unstable; urgency=low
423 +
424 +  * More fixes to the handling of SIGINT when forking.
425 +
426 + -- Herbert Xu <herbert@debian.org>  Fri, 14 Nov 1997 15:14:32 +1100
427 +
428 +ash (0.3.1-11) unstable; urgency=low
429 +
430 +  * Ignore SIGINT when forking non-interactively.
431 +
432 + -- Herbert Xu <herbert@debian.org>  Mon,  3 Nov 1997 12:00:02 +1100
433 +
434 +ash (0.3.1-10) unstable; urgency=low
435 +
436 +  * echo now handles options correctly.
437 +  * echo nolonger returns 0 if erorrs occured while writing to stdout.
438 +  * New code from GNU echo merged.
439 +  * Error messages from test now work.
440 +
441 + -- Herbert Xu <herbert@debian.org>  Wed,  8 Oct 1997 21:47:13 +1000
442 +
443 +ash (0.3.1-9) unstable; urgency=low
444 +
445 +  * ! is recognised at pipeline level like bash.
446 +
447 + -- Herbert Xu <herbert@debian.org>  Mon, 15 Sep 1997 23:13:45 +1000
448 +
449 +ash (0.3.1-8) unstable; urgency=medium
450 +
451 +  * Old patch regarding SIGCHLD in again.
452 +
453 + -- Herbert Xu <herbert@debian.org>  Sun, 31 Aug 1997 11:20:27 +1000
454 +
455 +ash (0.3.1-7) unstable; urgency=low
456 +
457 +  * /bin/sh -e is behaving even better now (for loops within conditionals).
458 +
459 + -- Herbert Xu <herbert@debian.org>  Sat, 23 Aug 1997 22:08:19 +1000
460 +
461 +ash (0.3.1-6) unstable; urgency=low
462 +
463 +  * /bin/sh -e is behaving better now.
464 +
465 + -- Herbert Xu <herbert@debian.org>  Sat, 23 Aug 1997 13:16:26 +1000
466 +
467 +ash (0.3.1-5) unstable; urgency=low
468 +
469 +  * hash -v /dir/command doesn't coredump anymore.
470 +  * type /dir/command now works correctly.
471 +
472 + -- Herbert Xu <herbert@debian.org>  Fri,  1 Aug 1997 20:48:19 +1000
473 +
474 +ash (0.3.1-4) unstable; urgency=low
475 +
476 +  * trap now understands symbolic signal names.
477 +
478 + -- Herbert Xu <herbert@debian.org>  Sat, 26 Jul 1997 14:04:46 +1000
479 +
480 +ash (0.3.1-3) unstable; urgency=low
481 +
482 +  * Added the builtin test command.
483 +
484 + -- Herbert Xu <herbert@debian.org>  Sun, 20 Jul 1997 15:00:14 +1000
485 +
486 +ash (0.3.1-2) unstable; urgency=medium
487 +
488 +  * Fixed a coredump involving $*.
489 +
490 + -- Herbert Xu <herbert@debian.org>  Sat, 19 Jul 1997 12:03:02 +1000
491 +
492 +ash (0.3.1-1) unstable; urgency=medium
493 +
494 +  * NetBSD-current version as of 19970715.
495 +  * Fixed a "use after free" bug (#11294).
496 +
497 + -- Herbert Xu <herbert@debian.org>  Fri, 18 Jul 1997 13:48:09 +1000
498 +
499 +ash (0.3-1) unstable; urgency=low
500 +
501 +  * Initial Release.
502 +
503 + -- Herbert Xu <herbert@debian.org>  Thu, 19 Jun 1997 19:29:16 +1000
504 +
505 diff -urN netbsd-sh/debian/control ash-0.3.7.orig/debian/control
506 --- netbsd-sh/debian/control    Thu Jan  1 01:00:00 1970
507 +++ ash-0.3.7.orig/debian/control       Mon Apr 23 22:16:46 2001
508 @@ -0,0 +1,69 @@
509 +Source: ash
510 +Section: shells
511 +Priority: optional
512 +Maintainer: Herbert Xu <herbert@debian.org>
513 +Build-Depends: byacc, debhelper, flex, pmake, groff
514 +Standards-Version: 3.2.1
515 +
516 +Package: ash
517 +Architecture: any
518 +Pre-Depends: ${shlibs:Depends}
519 +Description: NetBSD /bin/sh
520 + "ash" is a POSIX compliant shell that is much smaller than "bash".
521 + We take advantage of that by making it the shell on the installation
522 + root floppy, where space is at a premium.
523 + .
524 + It can be usefully installed as /bin/sh (because it executes scripts
525 + somewhat faster than "bash"), or as the default shell either of root
526 + or of a second user with a userid of 0 (because it depends on fewer
527 + libraries, and is therefore less likely to be affected by an upgrade
528 + problem or a disk failure).  It is also useful for checking that a
529 + script uses only POSIX syntax.
530 + .
531 + "bash" is a better shell for most users, since it has some nice
532 + features absent from "ash", and is a required part of the system.
533 +
534 +Package: ash-medium
535 +Architecture: any
536 +Pre-Depends: ${shlibs:Depends}
537 +Priority: extra
538 +Description: NetBSD /bin/sh with HETIO
539 + This is a slightly bigger version of the standard ash package with a
540 + hack that provides primitive history support.  It may be useful on
541 + boot floppies where space is at a premium, yet users still need the
542 + ability to access previous commands in the same session.  If you're
543 + not a boot floppies maintainer, you should probably go for ash,
544 + ash.big (not yet available), or bash.
545 + .
546 + "ash" is a POSIX compliant shell that is much smaller than "bash".
547 + We take advantage of that by making it the shell on the installation
548 + root floppy, where space is at a premium.
549 + .
550 + It can be usefully installed as /bin/sh (because it executes scripts
551 + somewhat faster than "bash"), or as the default shell either of root
552 + or of a second user with a userid of 0 (because it depends on fewer
553 + libraries, and is therefore less likely to be affected by an upgrade
554 + problem or a disk failure).  It is also useful for checking that a
555 + script uses only POSIX syntax.
556 + .
557 + "bash" is a better shell for most users, since it has some nice
558 + features absent from "ash", and is a required part of the system.
559 +
560 +Package: ash-udeb
561 +Architecture: any
562 +Section: debian-installer
563 +Description: NetBSD /bin/sh for boot floppies
564 + "ash" is a POSIX compliant shell that is much smaller than "bash".
565 + We take advantage of that by making it the shell on the installation
566 + root floppy, where space is at a premium.
567 + .
568 + It can be usefully installed as /bin/sh (because it executes scripts
569 + somewhat faster than "bash"), or as the default shell either of root
570 + or of a second user with a userid of 0 (because it depends on fewer
571 + libraries, and is therefore less likely to be affected by an upgrade
572 + problem or a disk failure).  It is also useful for checking that a
573 + script uses only POSIX syntax.
574 + .
575 + "bash" is a better shell for most users, since it has some nice
576 + features absent from "ash", and is a required part of the system.
577 +
578 diff -urN netbsd-sh/debian/copyright ash-0.3.7.orig/debian/copyright
579 --- netbsd-sh/debian/copyright  Thu Jan  1 01:00:00 1970
580 +++ ash-0.3.7.orig/debian/copyright     Mon Apr 23 22:16:46 2001
581 @@ -0,0 +1,18 @@
582 +This package was debianized by Mark W. Eichin eichin@kitten.gen.ma.us on
583 +Mon, 24 Feb 1997 16:00:16 -0500.
584 +
585 +This package was re-ported from NetBSD and debianized by
586 +Herbert Xu herbert@debian.org on Thu, 19 Jun 1997 19:29:16 +1000.
587 +
588 +It was downloaded from ftp.netbsd.org.
589 +
590 +Copyright:
591 +
592 +Copyright (c) 1991, 1993
593 +       The Regents of the University of California.  All rights reserved.
594 +
595 +This code is derived from software contributed to Berkeley by Kenneth Almquist.
596 +
597 +Please refer to /usr/share/common-licenses/BSD for details.
598 +
599 +$Id$
600 diff -urN netbsd-sh/debian/dirs ash-0.3.7.orig/debian/dirs
601 --- netbsd-sh/debian/dirs       Thu Jan  1 01:00:00 1970
602 +++ ash-0.3.7.orig/debian/dirs  Mon Apr 23 22:16:46 2001
603 @@ -0,0 +1,2 @@
604 +bin
605 +usr/share/man/man1
606 diff -urN netbsd-sh/debian/rules ash-0.3.7.orig/debian/rules
607 --- netbsd-sh/debian/rules      Thu Jan  1 01:00:00 1970
608 +++ ash-0.3.7.orig/debian/rules Mon Apr 23 22:16:46 2001
609 @@ -0,0 +1,92 @@
610 +#!/usr/bin/make -f
611 +# $Id$
612 +
613 +# Uncomment this to turn on verbose mode.
614 +#export DH_VERBOSE=1
615 +CDEF = -g -O2 -Wall -DBSD=1 -DSMALL -D_GNU_SOURCE \
616 +       -DGLOB_BROKEN \
617 +       -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= -D_DIAGASSERT\(x\)=
618 +CDEFSM = -Os -fomit-frame-pointer -Wall -DBSD=1 -DSMALL -D_GNU_SOURCE \
619 +       -DGLOB_BROKEN \
620 +       -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= -D_DIAGASSERT\(x\)=
621 +
622 +sh.hetio:
623 +       chmod u+x debian/bsdyacc
624 +       rm -f *.o
625 +       pmake CFLAGS='$(CDEF)' HETIO= YACC=`pwd`/debian/bsdyacc
626 +       mv sh sh.hetio
627 +
628 +sh:
629 +       chmod u+x debian/bsdyacc
630 +       rm -f *.o
631 +       pmake CFLAGS='$(CDEF)' YACC=`pwd`/debian/bsdyacc
632 +
633 +sh.udeb:
634 +       chmod u+x debian/bsdyacc
635 +       rm -f *.o
636 +       pmake CFLAGS='$(CDEFSM)' YACC=`pwd`/debian/bsdyacc
637 +       mv sh sh.udeb
638 +
639 +build: build-stamp
640 +build-stamp: sh.hetio sh.udeb sh
641 +       dh_testdir
642 +
643 +       touch build-stamp
644 +
645 +clean:
646 +       dh_testdir
647 +       dh_testroot
648 +       rm -f build-stamp
649 +
650 +       pmake clean HETIO=
651 +       rm -f sh.cat1 mksignames signames.h sh.hetio sh.udeb
652 +
653 +       dh_clean
654 +
655 +# Build architecture-independent files here.
656 +binary-indep: build
657 +# We have nothing to do by default.
658 +
659 +# Build architecture-dependent files here.
660 +binary-arch: build
661 +#      dh_testversion
662 +       dh_testdir
663 +       dh_testroot
664 +       dh_clean -k
665 +       dh_installdirs
666 +
667 +       install sh debian/tmp/bin/ash
668 +       install -m 644 sh.1 debian/tmp/usr/share/man/man1/ash.1
669 +       install sh.hetio debian/ash-medium/usr/bin/ash.medium
670 +       install -m 644 sh.1 debian/ash-medium/usr/share/man/man1/ash.medium.1
671 +       install sh.udeb debian/ash-udeb/bin/ash
672 +       ln -s ash debian/ash-udeb/bin/sh
673 +
674 +       dh_installdocs -Nash-udeb
675 +       dh_installexamples
676 +       dh_installmenu
677 +#      dh_installinit
678 +       dh_installcron
679 +#      dh_installmanpages
680 +#      dh_undocumented
681 +       dh_installchangelogs -Nash-udeb
682 +       dh_strip
683 +       dh_compress
684 +       dh_fixperms
685 +       dh_suidregister
686 +       dh_installdeb -Nash-udeb
687 +       dh_shlibdeps
688 +       dh_gencontrol
689 +#      dh_makeshlibs
690 +       dh_md5sums
691 +       dh_builddeb
692 +       for i in ../ash-udeb_*.deb; do mv $$i $${i%deb}udeb; done
693 +       sed '/^[^ ]*\.udeb/d; s/^\(ash-udeb_[^ ]*\.\)deb/\1udeb/' \
694 +               debian/files > debian/files.new
695 +       mv debian/files.new debian/files
696 +
697 +source diff:                                                                  
698 +       @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
699 +
700 +binary: binary-indep binary-arch
701 +.PHONY: build clean binary-indep binary-arch binary
702
This page took 0.092699 seconds and 3 git commands to generate.