Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 89ea1d746f69258fb5346d1a2ea96604 > files > 4

mille-xterm-busybox-1.1.2-4mdv2008.1.src.rpm

Summary:	Multi-call binary combining many common Unix tools into one executable
Name:		mille-xterm-busybox
Version:	1.1.2
Release:	%mkrel 4
License:	GPL
Group:		Shells
URL:		http://www.busybox.net/
Source0:	http://www.busybox.net/downloads/busybox-%{version}.tar.bz2
Source1:	http://www.busybox.net/downloads/busybox-%{version}.tar.bz2.sign
Source2:	busybox-%{version}.config
Patch0:		udhcp-altport.diff
Patch1:		udhcp-rootpath.diff
BuildRequires:	gcc >= 3.3.1-2mdk
BuildRequires:	uClibc-static-devel >= 0.9.26-5mdk
Conflicts:	busybox
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
BusyBox combines tiny versions of many common UNIX utilities into a single
small executable. It provides minimalist replacements for most of the utilities
you usually find in GNU coreutils, shellutils, etc. The utilities in BusyBox
generally have fewer options than their full-featured GNU cousins; however, the
options that are included provide the expected functionality and behave very
much like their GNU counterparts. BusyBox provides a fairly complete POSIX
environment for any small or embedded system.

BusyBox has been written with size-optimization and limited resources in mind.
It is also extremely modular so you can easily include or exclude commands (or
features) at compile time. This makes it easy to customize your embedded
systems. To create a working system, just add /dev, /etc, and a kernel.

%prep

%setup -q -n busybox-%{version}
%patch0 -p1
%patch1 -p1
cp %{SOURCE2} .config
perl -pi -e "s#-march=i386#-march=i586 -mtune=pentiumpro#g" Rules.mak

%build
make oldconfig
make dep
uclibc make

%install
rm -rf %{buildroot}

install -d %{buildroot}/bin
install -d %{buildroot}%{_mandir}/man1/busybox.1

install -m0755 busybox %{buildroot}/bin/busybox
install -m0644 docs/BusyBox.1 %{buildroot}%{_mandir}/man1/busybox.1

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS INSTALL README TODO docs/BusyBox.txt
/bin/busybox
%{_mandir}/man1/busybox.1*




%changelog
* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 1.1.2-4mdv2008.1
+ Revision: 136579
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Thu Aug 23 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.1.2-4mdv2008.0
+ Revision: 70404
- update description
- rebuild

* Mon Apr 23 2007 Oden Eriksson <oeriksson@mandriva.com> 1.1.2-2mdv2008.0
+ Revision: 17231
- fix #30398


* Thu Feb 08 2007 Oden Eriksson <oeriksson@mandriva.com> 1.1.2-1mdv2007.0
+ Revision: 118019
- 1.1.2 (cooker sync)
- rediffed the 2 udhcp patches
- Import mille-xterm-busybox

* Fri Jun 24 2005 Jean-Michel Dault <jmdault@revolutionlinux.com> 1.00-0.pre10.7mdk
- add patch for rootpath dhcp parameter

* Thu Jan 27 2005 Jean-Michel Dault <jmdault@revolutionlinux.com> 1.00-0.pre10.6mdk
- use --serverport instead

* Thu Jan 27 2005 Jean-Michel Dault <jmdault@revolutionlinux.com> 1.00-0.pre10.5mdk
- add --port long option

* Thu Jan 27 2005 Jean-Michel Dault <jmdault@revolutionlinux.com> 1.00-0.pre10.4mdk
- add -P option to doc and usage.h too!

* Thu Jan 27 2005 Jean-Michel Dault <jmdault@revolutionlinux.com> 1.00-0.pre10.3mdk
- add -P option to udhcpc

* Tue Jul 20 2004 Jean-Michel Dault <jmdault@mandrakesoft.com> 1.00-0.pre10.2mdk
- move busybox in /bin

* Fri Jun 25 2004 Jean-Michel Dault <jmdault@mandrakesoft.com> 1.00-0.pre10.1mdk
- new version
- add many apps: wget, nfs mount, etc.