|
|
95db7d5 |
Name: dash
|
|
|
a2a6549 |
Version: 0.5.6
|
|
|
48fb56b |
Release: 5%{?dist}
|
|
|
95db7d5 |
Summary: Small and fast POSIX-compliant shell
|
|
|
95db7d5 |
Group: System Environment/Shells
|
|
|
95db7d5 |
License: BSD
|
|
|
95db7d5 |
URL: http://gondor.apana.org.au/~herbert/dash/
|
|
|
95db7d5 |
Source0: http://gondor.apana.org.au/~herbert/dash/files/dash-%{version}.tar.gz
|
|
|
95db7d5 |
|
|
|
95db7d5 |
%description
|
|
|
95db7d5 |
DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as
|
|
|
95db7d5 |
possible. It does this without sacrificing speed where possible. In fact, it is
|
|
|
95db7d5 |
significantly faster than bash (the GNU Bourne-Again SHell) for most tasks.
|
|
|
95db7d5 |
|
|
|
95db7d5 |
%prep
|
|
|
95db7d5 |
%setup -q
|
|
|
95db7d5 |
|
|
|
95db7d5 |
%build
|
|
|
95db7d5 |
%configure
|
|
|
95db7d5 |
make %{?_smp_mflags}
|
|
|
95db7d5 |
|
|
|
95db7d5 |
%install
|
|
|
5cd4ed8 |
make install DESTDIR=%{buildroot}
|
|
|
5cd4ed8 |
mkdir -p %{buildroot}/bin
|
|
|
5cd4ed8 |
mv %{buildroot}%{_bindir}/dash %{buildroot}/bin/
|
|
|
5cd4ed8 |
rm -rf %{buildroot}%{_bindir}/
|
|
|
5cd4ed8 |
|
|
|
5cd4ed8 |
%post
|
|
|
48fb56b |
grep -qF '^/bin/dash$' /etc/shells || echo '/bin/dash' >> /etc/shells
|
|
|
95db7d5 |
|
|
|
5cd4ed8 |
%postun
|
|
|
5cd4ed8 |
if [ $1 -eq 0 ]; then
|
|
|
48fb56b |
sed -i '/^\/bin\/dash$/d' /etc/shells
|
|
|
5cd4ed8 |
fi
|
|
|
95db7d5 |
|
|
|
95db7d5 |
%files
|
|
|
5cd4ed8 |
%doc INSTALL COPYING ChangeLog
|
|
|
95db7d5 |
/bin/dash
|
|
|
95db7d5 |
%{_datadir}/man/man1/dash.1.gz
|
|
|
95db7d5 |
|
|
|
95db7d5 |
%changelog
|
|
|
48fb56b |
* Mon May 23 2011 Petr Sabata <psabata@redhat.com> - 0.5.6-5
|
|
|
48fb56b |
- Try to add dash to /etc/shells every time, not just on new installs (#706138)
|
|
|
48fb56b |
- Also, make the grep regexps a bit more strict, just to be sure
|
|
|
48fb56b |
|
|
|
5cd4ed8 |
* Thu May 19 2011 Petr Sabata <psabata@redhat.com> - 0.5.6-4
|
|
|
5cd4ed8 |
- Install/remove dash from /etc/shells (#706138)
|
|
|
5cd4ed8 |
- Buildroot and defattr cleanup
|
|
|
5cd4ed8 |
- Add INSTALL, COPYING, ChangeLog to doc
|
|
|
5cd4ed8 |
|
|
|
13fc382 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-3
|
|
|
13fc382 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
13fc382 |
|
|
|
1bf1ca4 |
* Mon Jun 21 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 0.5.6-2
|
|
|
a2a6549 |
- New upstream realease
|
|
|
1bf1ca4 |
- Version bump
|
|
|
a2a6549 |
|
|
|
a488530 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.5.1-3
|
|
|
a488530 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
a488530 |
|
|
|
5f234b1 |
* Sat May 23 2009 Andreas Thienemann <andreas@bawue.net> - 0.5.5.1-2
|
|
|
5f234b1 |
- Added patch from upstream git to not close stdout on err. This improves
|
|
|
5f234b1 |
initramfs use of dash.
|
|
|
5f234b1 |
|
|
|
5f234b1 |
* Mon Apr 13 2009 Warren Togami <wtogami@redhat.com> - 0.5.5.1-1
|
|
|
edc65a4 |
- 0.5.5.1
|
|
|
edc65a4 |
|
|
|
c7a26a8 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-4
|
|
|
c7a26a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
c7a26a8 |
|
|
|
9fc45ab |
* Fri Feb 08 2008 Warren Togami <wtogami@redhat.com> 0.5.4-3
|
|
|
9fc45ab |
- rebuild for gcc-4.3
|
|
|
9fc45ab |
|
|
|
95db7d5 |
* Wed Nov 07 2007 Warren Togami <wtogami@redhat.com> 0.5.4-2
|
|
|
95db7d5 |
- move to /bin/dash
|
|
|
95db7d5 |
- BSD license tag
|
|
|
95db7d5 |
|
|
|
95db7d5 |
* Fri Nov 02 2007 Warren Togami <wtogami@redhat.com> 0.5.4-1
|
|
|
95db7d5 |
- initial package
|
|
|
95db7d5 |
|
|
|
95db7d5 |
|