[521] | 1 | Summary: Statically linked binary providing simplified versions of system commands |
---|
| 2 | Name: busybox |
---|
[7156] | 3 | Version: 1.20.2 |
---|
[3963] | 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | License: GPLv2 |
---|
| 6 | Group: System Environment/Shells |
---|
| 7 | Source: http://www.busybox.net/downloads/%{name}-%{version}.tar.bz2 |
---|
[3963] | 8 | Source10: busybox-static.config |
---|
| 9 | Source11: busybox-anaconda.config |
---|
[7156] | 10 | Patch1: busybox-1.15.1-uname.patch |
---|
[521] | 11 | Patch12: busybox-1.2.2-ls.patch |
---|
| 12 | Patch16: busybox-1.10.1-hwclock.patch |
---|
| 13 | URL: http://www.busybox.net |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[3963] | 15 | BuildRequires: uClibc-devel |
---|
[521] | 16 | |
---|
[3963] | 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | Packager: daisuke |
---|
| 20 | |
---|
[521] | 21 | %description |
---|
| 22 | Busybox is a single binary which includes versions of a large number |
---|
| 23 | of system commands, including a shell. This package can be very |
---|
| 24 | useful for recovering from certain types of system failures, |
---|
| 25 | particularly those involving broken shared libraries. |
---|
| 26 | |
---|
| 27 | %package anaconda |
---|
| 28 | Group: System Environment/Shells |
---|
| 29 | Summary: Version of busybox configured for use with anaconda |
---|
| 30 | |
---|
| 31 | %description anaconda |
---|
| 32 | Busybox is a single binary which includes versions of a large number |
---|
| 33 | of system commands, including a shell. The version contained in this |
---|
| 34 | package is designed for use with the Red Hat installation program, |
---|
| 35 | anaconda. The busybox package provides a binary better suited to |
---|
| 36 | normal use. |
---|
| 37 | |
---|
[3963] | 38 | |
---|
[521] | 39 | %prep |
---|
[3963] | 40 | %setup -q |
---|
[7156] | 41 | %patch1 -b .uname -p1 |
---|
[521] | 42 | %patch12 -b .ls -p1 |
---|
| 43 | %patch16 -b .ia64 -p1 |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %build |
---|
[3963] | 47 | # create static busybox |
---|
[521] | 48 | arch=`uname -m | sed -e 's/i.86/i386/' -e 's/ppc/powerpc/' -e 's/ppc64//' -e 's/powerpc64//'` |
---|
[3963] | 49 | cp %{SOURCE10} .config |
---|
| 50 | yes "" | make oldconfig |
---|
[521] | 51 | # gcc needs to be convinced to use neither system headers, nor libs, |
---|
| 52 | # nor startfiles (i.e. crtXXX.o files) |
---|
| 53 | if test "$arch"; then \ |
---|
| 54 | mv .config .config1 && \ |
---|
| 55 | grep -v ^CONFIG_SELINUX .config1 >.config && \ |
---|
| 56 | yes "" | make oldconfig && \ |
---|
| 57 | cat .config && \ |
---|
| 58 | make V=1 \ |
---|
[3963] | 59 | EXTRA_CFLAGS="-isystem %{_includedir}/uClibc" \ |
---|
| 60 | CFLAGS_busybox="-static -nostartfiles -L%{_libdir}/uClibc %{_libdir}/uClibc/crt1.o %{_libdir}/uClibc/crti.o %{_libdir}/uClibc/crtn.o"; \ |
---|
[521] | 61 | else \ |
---|
| 62 | cat .config && \ |
---|
| 63 | make V=1 CC="gcc $RPM_OPT_FLAGS"; \ |
---|
| 64 | fi |
---|
[3963] | 65 | cp busybox busybox.static |
---|
| 66 | cp docs/busybox.1 docs/busybox.static.1 |
---|
| 67 | |
---|
[521] | 68 | # create busybox optimized for anaconda |
---|
| 69 | make clean |
---|
[3963] | 70 | # |
---|
| 71 | cp %{SOURCE11} .config |
---|
| 72 | yes "" | make oldconfig |
---|
[521] | 73 | make CONFIG_DEBUG=y CC="gcc $RPM_OPT_FLAGS" |
---|
| 74 | cp busybox busybox.anaconda |
---|
[3963] | 75 | cp docs/busybox.1 docs/busybox.anaconda.1 |
---|
[521] | 76 | |
---|
| 77 | %install |
---|
| 78 | rm -rf $RPM_BUILD_ROOT |
---|
| 79 | mkdir -p $RPM_BUILD_ROOT/sbin |
---|
[3963] | 80 | install -m 755 busybox.static $RPM_BUILD_ROOT/sbin/busybox |
---|
[521] | 81 | install -m 755 busybox.anaconda $RPM_BUILD_ROOT/sbin/busybox.anaconda |
---|
[3963] | 82 | mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 |
---|
| 83 | install -m 644 docs/busybox.static.1 $RPM_BUILD_ROOT/%{_mandir}/man1/busybox.1 |
---|
| 84 | install -m 644 docs/busybox.anaconda.1 $RPM_BUILD_ROOT/%{_mandir}/man1/busybox.anaconda.1 |
---|
[521] | 85 | |
---|
| 86 | %clean |
---|
| 87 | rm -rf $RPM_BUILD_ROOT |
---|
| 88 | |
---|
| 89 | %files |
---|
| 90 | %defattr(-,root,root,-) |
---|
[3963] | 91 | %doc LICENSE README |
---|
[521] | 92 | /sbin/busybox |
---|
[3963] | 93 | %{_mandir}/man1/busybox.1.gz |
---|
[521] | 94 | |
---|
| 95 | %files anaconda |
---|
| 96 | %defattr(-,root,root,-) |
---|
[3963] | 97 | %doc LICENSE README |
---|
[521] | 98 | /sbin/busybox.anaconda |
---|
[3963] | 99 | %{_mandir}/man1/busybox.anaconda.1.gz |
---|
[521] | 100 | |
---|
| 101 | %changelog |
---|
[7156] | 102 | * Mon Nov 26 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.20.2-1 |
---|
| 103 | - update to 1.20.2 |
---|
| 104 | - Patch1: change uname -p behavior to coreutils's uname |
---|
| 105 | - small config changes |
---|
| 106 | |
---|
[3963] | 107 | * Mon May 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.18.4-1 |
---|
| 108 | - update to 1.18.4 |
---|
| 109 | - build with system uClibc |
---|
| 110 | |
---|
[521] | 111 | * Fri May 08 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.13.4-2 |
---|
| 112 | - add Patch20 to fix build failure on ppc |
---|
| 113 | http://lists.uclibc.org/pipermail/uclibc-cvs/2009-January/025891.html |
---|
| 114 | |
---|
| 115 | * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.13.4-1 |
---|
| 116 | - new upstream release |
---|
| 117 | - use uClibc for static build instead of glibc |
---|
| 118 | |
---|
| 119 | * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-1vl5 |
---|
| 120 | - applied new versioning policy |
---|
| 121 | |
---|
| 122 | * Tue Aug 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1 |
---|
| 123 | - initial build for Vine Linux based on FC-devel |
---|
| 124 | |
---|
| 125 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.2.0-1.1 |
---|
| 126 | - rebuild |
---|
| 127 | |
---|
| 128 | * Tue Jul 4 2006 Ivana Varekova <varekova@redhat.com> - 1:1.2.0-1 |
---|
| 129 | - update to 1.2.0 |
---|
| 130 | |
---|
| 131 | * Thu Jun 8 2006 Jeremy Katz <katzj@redhat.com> - 1:1.1.3-2 |
---|
| 132 | - fix so that busybox.anaconda has sh |
---|
| 133 | |
---|
| 134 | * Wed May 31 2006 Ivana Varekova <varekova@redhat.com> - 1:1.1.3-1 |
---|
| 135 | - update to 1.1.3 |
---|
| 136 | |
---|
| 137 | * Mon May 29 2006 Ivana Varekova <varekova@redhat.com> - 1:1.1.2-3 |
---|
| 138 | - fix Makefile typo (#193354) |
---|
| 139 | |
---|
| 140 | * Fri May 5 2006 Ivana Varekova <varekova@redhat.com> - 1:1.1.2-1 |
---|
| 141 | - update to 1.1.2 |
---|
| 142 | |
---|
| 143 | * Thu May 4 2006 Ivana Varekova <varekova@redhat.com> - 1:1.1.1-2 |
---|
| 144 | - add -Z option to id command, rename ps command -Z option (#190534) |
---|
| 145 | |
---|
| 146 | * Wed May 03 2006 Ivana Varekova <varekova@redhat.com> - 1:1.1.1-1 |
---|
| 147 | - update to 1.1.1 |
---|
| 148 | - fix CVE-2006-1058 - BusyBox passwd command |
---|
| 149 | fails to generate password with salt (#187386) |
---|
| 150 | - add -minimal-toc option |
---|
| 151 | - add RPM_OPT_FLAGS |
---|
| 152 | - remove asm/page.h used sysconf command to get PAGE_SIZE |
---|
| 153 | - add overfl patch to aviod Buffer warning |
---|
| 154 | |
---|
| 155 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:1.01-2.2.1 |
---|
| 156 | - bump again for double-long bug on ppc(64) |
---|
| 157 | |
---|
| 158 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:1.01-2.2 |
---|
| 159 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 160 | |
---|
| 161 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 162 | - rebuilt |
---|
| 163 | |
---|
| 164 | * Thu Oct 13 2005 Daniel Walsh <dwalsh@redhat.com> - 1.01-2 |
---|
| 165 | - Add sepol for linking load_policy |
---|
| 166 | |
---|
| 167 | * Thu Sep 1 2005 Ivana Varekova <varekova@redhat.com> - 1.01-1 |
---|
| 168 | - update to 1.01 |
---|
| 169 | |
---|
| 170 | * Tue May 11 2005 Ivana Varekova <varekova@redhat.com> - 1.00-5 |
---|
| 171 | - add debug files to debug_package |
---|
| 172 | |
---|
| 173 | * Mon Mar 7 2005 Ivana Varekova <varekova@redhat.com> - 1.00-4 |
---|
| 174 | - rebuilt |
---|
| 175 | |
---|
| 176 | * Wed Jan 26 2005 Ivana Varekova <varekova@redhat.com> - 1.00-3 |
---|
| 177 | - update to 1.00 - fix bug #145681 |
---|
| 178 | - rebuild |
---|
| 179 | |
---|
| 180 | * Thu Jan 13 2005 Jeremy Katz <katzj@redhat.com> - 1.00.rc1-6 |
---|
| 181 | - enable ash as the shell in busybox-anaconda |
---|
| 182 | |
---|
| 183 | * Sat Oct 2 2004 Bill Nottingham <notting@redhat.com> - 1.00.rc1-5 |
---|
| 184 | - fix segfault in SELinux patch (#134404, #134406) |
---|
| 185 | |
---|
| 186 | * Fri Sep 17 2004 Phil Knirsch <pknirsch@redhat.com> - 1.00.rc1-4 |
---|
| 187 | - Fixed double free in freecon() call (#132809) |
---|
| 188 | |
---|
| 189 | * Fri Sep 10 2004 Daniel Walsh <dwalsh@redhat.com> - 1.00.rc1-3 |
---|
| 190 | - Add CONFIG_STATIC=y for static builds |
---|
| 191 | |
---|
| 192 | * Wed Aug 25 2004 Jeremy Katz <katzj@redhat.com> - 1.00.rc1-2 |
---|
| 193 | - rebuild |
---|
| 194 | |
---|
| 195 | * Fri Jun 25 2004 Dan Walsh <dwalsh@redhat.com> 1.00-pre10.1 |
---|
| 196 | - Add BuildRequires libselinux-devel |
---|
| 197 | - Update to latest from upstream |
---|
| 198 | |
---|
| 199 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 200 | - rebuilt |
---|
| 201 | |
---|
| 202 | * Tue May 11 2004 Karsten Hopp <karsten@redhat.de> 1.00.pre8-4 |
---|
| 203 | - add mknod to busybox-anaconda |
---|
| 204 | |
---|
| 205 | * Wed Apr 21 2004 Karsten Hopp <karsten@redhat.de> 1.00.pre8-3 |
---|
| 206 | - fix LS_COLOR in anaconda patch |
---|
| 207 | |
---|
| 208 | * Tue Mar 23 2004 Jeremy Katz <katzj@redhat.com> 1.00.pre8-2 |
---|
| 209 | - add awk to busybox-anaconda |
---|
| 210 | |
---|
| 211 | * Sat Mar 20 2004 Dan Walsh <dwalsh@redhat.com> 1.00-pre8.1 |
---|
| 212 | - Update with latest patch. |
---|
| 213 | - Turn off LS_COLOR in static patch |
---|
| 214 | |
---|
| 215 | * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 216 | - rebuilt |
---|
| 217 | |
---|
| 218 | * Tue Jan 27 2004 Dan Walsh <dwalsh@redhat.com> 1.00-pre5.2 |
---|
| 219 | - Fix is_selinux_enabled calls |
---|
| 220 | |
---|
| 221 | * Mon Dec 29 2003 Dan Walsh <dwalsh@redhat.com> 1.00-pre5.1 |
---|
| 222 | -Latest update |
---|
| 223 | |
---|
| 224 | * Wed Nov 26 2003 Dan Walsh <dwalsh@redhat.com> 1.00-pre3.2 |
---|
| 225 | - Add insmod |
---|
| 226 | |
---|
| 227 | * Mon Sep 15 2003 Dan Walsh <dwalsh@redhat.com> 1.00-pre3.1 |
---|
| 228 | - Upgrade to pre3 |
---|
| 229 | |
---|
| 230 | * Thu Sep 11 2003 Dan Walsh <dwalsh@redhat.com> 1.00.2 |
---|
| 231 | - Upgrade selinux support |
---|
| 232 | |
---|
| 233 | * Wed Jul 23 2003 Dan Walsh <dwalsh@redhat.com> 1.00.1 |
---|
| 234 | - Upgrade to 1.00 package |
---|
| 235 | |
---|
| 236 | * Wed Jul 16 2003 Elliot Lee <sopwith@redhat.com> 0.60.5-10 |
---|
| 237 | - Rebuild |
---|
| 238 | |
---|
| 239 | * Mon Jul 14 2003 Jeremy Katz <katzj@redhat.com> 0.60.5-9 |
---|
| 240 | - rebuild |
---|
| 241 | |
---|
| 242 | * Mon Jul 14 2003 Jeremy Katz <katzj@redhat.com> 0.60.5-8 |
---|
| 243 | - add dmesg to busybox-anaconda |
---|
| 244 | |
---|
| 245 | * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
---|
| 246 | - rebuilt |
---|
| 247 | |
---|
| 248 | * Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
---|
| 249 | - rebuilt |
---|
| 250 | |
---|
| 251 | * Mon Jan 13 2003 Jeremy Katz <katzj@redhat.com> 0.60.5-5 |
---|
| 252 | - lost nolock for anaconda mount when rediffing, it returns (#81764) |
---|
| 253 | |
---|
| 254 | * Mon Jan 6 2003 Dan Walsh <dwalsh@redhat.com> 0.60.5-4 |
---|
| 255 | - Upstream developers wanted to eliminate the use of floats |
---|
| 256 | |
---|
| 257 | * Thu Jan 3 2003 Dan Walsh <dwalsh@redhat.com> 0.60.5-3 |
---|
| 258 | - Fix free to work on large memory machines. |
---|
| 259 | |
---|
| 260 | * Sat Dec 28 2002 Jeremy Katz <katzj@redhat.com> 0.60.5-2 |
---|
| 261 | - update Config.h for anaconda build to include more useful utils |
---|
| 262 | |
---|
| 263 | * Thu Dec 19 2002 Dan Walsh <dwalsh@redhat.com> 0.60.5-1 |
---|
| 264 | - update latest release |
---|
| 265 | |
---|
| 266 | * Thu Dec 19 2002 Dan Walsh <dwalsh@redhat.com> 0.60.2-8 |
---|
| 267 | - incorporate hammer changes |
---|
| 268 | |
---|
| 269 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 270 | - automated rebuild |
---|
| 271 | |
---|
| 272 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
| 273 | - automated rebuild |
---|
| 274 | |
---|
| 275 | * Mon May 06 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 276 | - fix compilation on mainframe |
---|
| 277 | |
---|
| 278 | * Tue Apr 2 2002 Jeremy Katz <katzj@redhat.com> |
---|
| 279 | - fix static busybox (#60701) |
---|
| 280 | |
---|
| 281 | * Thu Feb 28 2002 Jeremy Katz <katzj@redhat.com> |
---|
| 282 | - don't include mknod in busybox.anaconda so we get collage mknod |
---|
| 283 | |
---|
| 284 | * Fri Feb 22 2002 Jeremy Katz <katzj@redhat.com> |
---|
| 285 | - rebuild in new environment |
---|
| 286 | |
---|
| 287 | * Wed Jan 30 2002 Jeremy Katz <katzj@redhat.com> |
---|
| 288 | - update to 0.60.2 |
---|
| 289 | - include more pieces for the anaconda version so that collage can go away |
---|
| 290 | - make the mount in busybox.anaconda default to -onolock |
---|
| 291 | |
---|
| 292 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
| 293 | `- automated rebuild |
---|
| 294 | |
---|
| 295 | * Mon Jul 9 2001 Tim Powers <timp@redhat.com> |
---|
| 296 | - don't obsolete sash |
---|
| 297 | - fix URL and spelling in desc. to satisfy rpmlint |
---|
| 298 | |
---|
| 299 | * Thu Jul 05 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 300 | - add missing defattr for anaconda subpackage |
---|
| 301 | |
---|
| 302 | * Thu Jun 28 2001 Erik Troan <ewt@redhat.com> |
---|
| 303 | - initial build for Red Hat |
---|