1 Summary: Small bourne shell from Berkeley
2 Summary(de): Kleine Bourne-Shell von Berkeley
3 Summary(fr): Shell Bourne réduit de Berkeley
4 Summary(pl): Ma³y shell bourne'a
5 Summary(tr): Ufak bir bourne kabuðu
12 Source: ftp://sunsite.unc.edu/pub/Linux/system/shells/ash-linux-%{version}.tar.gz
13 Patch0: ash-make.patch
14 Patch1: ash-mknodes.patch
17 Buildroot: /tmp/%{name}-%{version}-root
18 Conflicts: mkinitrd <= 1.7
21 ash is a bourne shell clone from Berkeley. It supports all of the standard
22 Bourne shell commands and has the advantage of supporting them while
23 remaining considerably smaller than bash.
26 ash ist ein Bourne-Shell-Clone aus Berkeley, der alle Standard-Bourne-Shell-
27 Befehle unterstützt und dennoch erheblich weniger Platz beansprucht als bash.
30 ash est un clone Berkeley du shell Bourne. Il gère toutes les commandes
31 standard du shell Bourne et a l'avantage de les gérer tout en restant
32 considérablement plus petit que bash.
35 Ash jest klonem shell'a Bourne'a z Berkely. Obs³uguje standardowe komendy
36 shell'a Bourne'a i jest mniejszy ni¿ bash.
39 ash, Berkeley'in bir bourne kabuðu kopyasýdýr. Standart bourne kabuðu
40 komutlarýnýn tümünü destekler ve bash kabuðundan daha küçük olma
44 %setup -q -n ash-linux-%{version}
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT/{bin,usr/man/man1}
55 install sh $RPM_BUILD_ROOT/bin/ash
56 install sh.1 $RPM_BUILD_ROOT/usr/man/man1/ash.1
57 echo ".so ash.1" > $RPM_BUILD_ROOT/usr/man/man1/bsh.1
58 ln -sf ash $RPM_BUILD_ROOT/bin/bsh
63 install sh $RPM_BUILD_ROOT/bin/ash.static
65 gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/*
69 echo "/bin/ash\n/bin/bsh" >> /etc/shells
70 cat /etc/shells | sort -u > /etc/shells.new
71 mv /etc/shells.new /etc/shells
75 egrep -v "^/bin/ash|^/bin/bsh" /etc/shells > /etc/shells.new
76 mv /etc/shells.new /etc/shells
81 echo -n "Looking for $n in /etc/shells... "
82 if ! grep "^/bin/${n}\$" /etc/shells > /dev/null; then
84 echo "${n} missing from /etc/shells" >&2
91 rm -rf $RPM_BUILD_ROOT
94 %defattr(644,root,root,755)
95 %attr(755,root,root) /bin/*
99 * Wed Apr 21 1999 Piotr Czerwiñski <pius@pld.org.pl>
102 - added full %defattr description,
103 - recompiled on rpm 3.
105 * Thu Mar 25 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
107 - removed man group from man pages.
109 * Wed Dec 23 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
111 - simplification in %postun and %post,
112 - added gzipping man pages.
114 * Fri Nov 06 1998 Preston Brown <pbrown@redhat.com>
116 - updated to correct path on SunSITE.
118 * Sun Sep 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
120 - added -q %setup parameter,
121 - simplification in %install,
122 - bsh(1) man page is now maked as nroff include to ash(1) instead
123 making sym link to ash.1 (this allow compress man pages in future).
125 * Mon Jun 29 1998 Wojtek Slusarczyk <wojtek@shadow.eu.org>
126 - added pl translation.
128 * Tue May 05 1998 Prospector System <bugs@redhat.com>
129 - translations modified for de, fr, tr
131 * Mon Oct 20 1997 Erik Troan <ewt@redhat.com>
132 - made /bin/ash built shared
134 - uses a buildroot and %attr
136 * Sun Aug 24 1997 Erik Troan <ewt@redhat.com>
137 - built against glibc
140 * Wed Apr 16 1997 Erik Troan <ewt@redhat.com>
141 - fixed preinstall script to >> /etc/shells for bsh.