2009-01-09 02:22:59 +01:00
|
|
|
#
|
2011-03-18 19:51:17 +01:00
|
|
|
# spec file for package busybox-static
|
2009-01-09 02:22:59 +01:00
|
|
|
#
|
2013-08-12 17:07:28 +02:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-01-09 02:22:59 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-03-21 10:33:42 +01:00
|
|
|
|
2009-01-09 02:22:59 +01:00
|
|
|
Name: busybox-static
|
|
|
|
Url: http://www.busybox.net/
|
Accepting request 210745 from home:posophe:branches:Base:System
- Update to version 1.21.1
+ fixes for ntfs detection (big-endian fix)
+ xz decompression of concatenated streams
+ mdev acquired a [ENV=regex;] extension instead of undocumented
subsystem match hack it used to have prior to 1.21.x.
- Changes from 1.21.0
+ udhcpc: gracefully handle packets with CHECKSUM_PARTIAL
+ ifupdown: improve compatibility with Debian
+ get_linux_version_code: don't fail on Linux version strings
like "3.0-foo"
+ build system: fix build failure when only gunzip is selected
+ CONFIG_PID_FILE_PATH: new configuration option for pidfile paths
+ declare strings with ALIGN1, as appropriate
+ nanddump: use the right operator of logic AND
+ nanddump: skip bad blocks when instructed to do so
+ nanddump: invert the meaning of the -o parameter to match upstream
+ mount: fix -o user=foo mishandling, fix unc= generation, add prefixpath=
+ build system: fix build of kconfig on Darwin
+ tar: support -J, --xz explicit compression option
+ simplify copyright/license notice that appears in the binary
+ mdev: tell kernel that we didn't find the firmware
+ lineedit: fix Alt-D when cursor==0
+ lineedit: histfile can get emptied when CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
+ build system: stop .eh_frame generation
+ build system: fix build failure when compressed help is selected, but bz2 compression is not
+ scripts/kconfig/mconf: work on systems w/o SIGWINCH
+ platform.h: disable ALIGNn macros for s390[x]
+ adduser: install to /usr, not /, like all other similar tools
+ ash: fix "read -s" + ^C. Closes 5504
+ ash: fix a bug in >${varexp} handling. Closes 5282
+ ash: implement export -n
+ ash: revert wrong "fix" for an apparent memory leak. Closes 5822
+ awk: fix FS assignment behavior. Closes 5108
+ awk: make -F STR interpret escape sequences. Closes 5126
+ brctl: fix build failure by s/strtotimeval/bb_strtotimeval/ (android has strtotimeval)
+ busybox: tweak help text and copyright year
+ decompress_uncompress: comment out debug printout on corrupted data
+ decompress_uncompress: move 'code' variable into loop - sole user
+ dhcpd: write lease file on exit
+ dpkg: fix creation of .list files (were empty since b768aeb). Closes 5324
+ du: document incompatibility with standard tool
+ examples/mdev_fat.conf: small addition
+ find: if DESKTOP=y, support -wholename (synonym for -path)
+ find: make -mindepth N -xdev correctly stop on mountpoints
+ ftpd: fix MDTM's month value. Closes 5336
+ ftpd: free allocated string on error path
+ getty: fix for NOCTTY killing us with SIGHUP
+ grep: fix grep -Fw not respecting the -w option. Closes 5792
+ ifconfig: do not accept "ifconfig eth0 up 1.2.3.4/17" (ip with mask). Closes 5786
+ libbb: correctness/size tweaks in signal-related helpers
+ lineedit: in !EDITING config, return -1 on fgets error
+ login: increase login name size limit from 32 to 64
+ lpr: don't send 0-byte print jobs (compat)
+ man: fix handling of gzipped manpages
+ mdev: add support for $DEVNAME and /dev/mdev.log debug aid
+ mdev: fix mode of dir1 in =dir1/dir2/file rule
+ mdev: remove undocumented subsystem/devname matching hack
+ mdev: when found, print major,minor into mdev.log
+ modprobe_small: make rmmod to NOT remove dependencies. Closes 5162
+ mount: do not pass "comment=ANYTHING" option to kernel. Closes 5240
+ mount: fix the wrongly stored fs creation time
+ mount: set up RO loop device if mount -o ro. Closes 4784
+ mount: support strictatime option. Closes 5240
+ ntpd: on time step, kill all outstanding replies from other peers
+ sed: fix handling of s/// which has empty matches
+ sed: fix zero chars match/replace
+ sha3: make size/speed optimization decision configurable
+ syslogd: do not segfault on parse error when using default config. Closes 5762
+ telnet: convert CR -> CR LF, not CR -> CR NUL when sending data to server
+ telnet: convert Enter -> CR LF in line mode too
+ tftpd: fix -u USER to work with chroot. Closes 5348
+ top/ps: argv0:"gdm-session-worker [pam/gdm-password]" == comm:"gdm-session-wor"
+ top: do not touch stdin if -b
+ top: fix "last CPU" parsing
+ top: implement scrolling up/down (_very_ useful)
+ udhcp[cd]: fix binding to network aliases. Closes 5432, 5438
+ udhcpc: make -O <numeric_opt> work. Closes 5402
+ udhcpc[6]: show select timeout in log
+ unzip: make options parsing more robust on getopt w/o gnu extensions
+ vi: do not set autoindent by default
+ vi: nuke FEATURE_VI_OPTIMIZE_CURSOR
+ vi: save/restore screen upon invocation
+ volume_id/ext: detect ext4 too
+ wget: correctly handle failure to -c (continue)
+ wget: make -c _not_ truncate the file
+ wget: reorder fread and poll: poll only if fread returns EAGAIN. Closes 5426
+ wget: try reading after poll timeout - stdio may have buffered data. Closes 5426
+ acpid: add missing lid switch definition
+ tar: fix 256-bit encoded number decoding
+ udhcpc[6]: allow discover_retries == 0 (infinite)
+ ash: fix a memory leak
+ sysctl: implement -q
+ powertop: fix error message
+ sha3sum: new applet
+ fbset: respect rgba configuration lines in fb.modes
+ fbsplash: support non-RGB565 pixels in 16-bit mode
+ flashcp: remove unused variable opts
+ mount: add unc option to CIFS mount (needed for Linux 3.4+)
+ nanddump: make dumping read-only partitions work
+ ps: use separate get_uptime() and make it work on non-linux too
+ declare strings with ALIGN1, as appropriate
+ udhcpc6: depend on ipv6
+ include sys/resource.h where needed
+ disable format security warnings
+ build system: use pkg-config to look up selinux libs
+ ifenslave: fix missing close paren
+ sed: allow 'w' cmd to use two address form
+ tar: implement --no-recursion
+ unzip: ignore chmod errors
+ brctl: fix description and usage
+ su: do not change to home dir unless -l
+ ntpd: fix incorrect m_status field in outgoing packets. Closes 5120
+ dmesg: handle multi-char log levels
+ klogd: handle multi-char log levels
+ syslogd: add option to log to Linux kernel printk buffer
+ syslogd: convert dummy functions to statics and get rid of IF_FEATURE_* checks
+ config: do not refer to HTTPS for wget
+ sendmail: use host rather than NIS domain name for HELO
+ mktemp: fix mktemp -u temp.XXXXXX returning garbage when TMPDIR is set
+ blkid: show filesystem when both label and UUID are missing, but type is known
+ volume_id: add exFAT detection
+ ln: support -T and -v
+ sed: support long opts and -iSFX
+ mkdir,rmdir: accept and ignore -v, --verbose
+ mv: accept but ignore -v
+ blkid: add type display for btrfs
+ blkid: add support for nilfs2
+ blkid: add type display for hfsplus
+ volume_id: display hfs[+] 128-bit UUID properly
+ volume_id: uuid_format small code shrink
+ volume_id: add squashfs detection
+ testsuite: some more awk tests related to conditions
+ modinfo: match more standard module fields and fix version field
+ inetd: fix build failure in Android
+ android: fix 'stat', ifdef S_TYPEIS* in coreutiles/stat.c
+ platform.h: Android tweaks: ioprio defines, BB_ADDITIONAL_PATH
+ android: some sensible defconfig changes
+ libbb: add missing_syscalls.c: for now, only Android syscalls
+ fbsplash: fix regression from e4fa7b7
+ adduser: make it accept "adduser USER GROUP" form
+ wget: add dummy --no-cache
+ testsuite: make mkfs.minix test not fail spuriously on big endian
+ refactor correct_password.c to avoid one if
OBS-URL: https://build.opensuse.org/request/show/210745
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=29
2013-12-16 17:53:52 +01:00
|
|
|
Version: 1.21.1
|
Accepting request 113102 from home:oertel:branches:openSUSE:Factory
- busybox-1.19.4-typedef_umode_t.patch:
fix compile as umode_t is only defined with KERNEL and is
used in header linux/linux/ext2_fs.h
- update to 1.19.4
- fix getty, mdev, modinfo and wget
- update to 1.19.3
- fix chpasswd, crond, inetd, syslogd, tail, tftp
- update to 1.19.2
- fix ash/hush, cttyhack, find, grep, less, patch, sed, top,
uncompress
- update to 1.19.0:
- countless fixes in all utility programs, please see
http://www.busybox.net/ for details
- remove obsolete patches previously marked as upstreamed
- busybox-1.19.4-typedef_umode_t.patch:
fix compile as umode_t is only defined with KERNEL and is
used in header linux/linux/ext2_fs.h
- update to 1.19.4
- fix getty, mdev, modinfo and wget
- update to 1.19.3
- fix chpasswd, crond, inetd, syslogd, tail, tftp
- update to 1.19.2
- fix ash/hush, cttyhack, find, grep, less, patch, sed, top,
uncompress
- update to 1.19.0:
- countless fixes in all utility programs, please see
http://www.busybox.net/ for details
OBS-URL: https://build.opensuse.org/request/show/113102
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=18
2012-04-11 20:33:48 +02:00
|
|
|
Release: 0
|
2009-01-09 02:22:59 +01:00
|
|
|
Summary: The Swiss Army Knife of Embedded Linux
|
Accepting request 113102 from home:oertel:branches:openSUSE:Factory
- busybox-1.19.4-typedef_umode_t.patch:
fix compile as umode_t is only defined with KERNEL and is
used in header linux/linux/ext2_fs.h
- update to 1.19.4
- fix getty, mdev, modinfo and wget
- update to 1.19.3
- fix chpasswd, crond, inetd, syslogd, tail, tftp
- update to 1.19.2
- fix ash/hush, cttyhack, find, grep, less, patch, sed, top,
uncompress
- update to 1.19.0:
- countless fixes in all utility programs, please see
http://www.busybox.net/ for details
- remove obsolete patches previously marked as upstreamed
- busybox-1.19.4-typedef_umode_t.patch:
fix compile as umode_t is only defined with KERNEL and is
used in header linux/linux/ext2_fs.h
- update to 1.19.4
- fix getty, mdev, modinfo and wget
- update to 1.19.3
- fix chpasswd, crond, inetd, syslogd, tail, tftp
- update to 1.19.2
- fix ash/hush, cttyhack, find, grep, less, patch, sed, top,
uncompress
- update to 1.19.0:
- countless fixes in all utility programs, please see
http://www.busybox.net/ for details
OBS-URL: https://build.opensuse.org/request/show/113102
OBS-URL: https://build.opensuse.org/package/show/Base:System/busybox?expand=0&rev=18
2012-04-11 20:33:48 +02:00
|
|
|
License: GPL-2.0+
|
2009-01-09 02:22:59 +01:00
|
|
|
Group: System/Base
|
|
|
|
Source: http://busybox.net/downloads/busybox-%{version}.tar.bz2
|
2011-03-18 19:51:17 +01:00
|
|
|
Source1: BusyBox.1
|
2013-08-12 17:07:28 +02:00
|
|
|
Source2: busybox-static.SuSE.config
|
2009-01-09 02:22:59 +01:00
|
|
|
Source3: mkinitrd-setup.sh
|
|
|
|
Source4: mkinitrd-boot.sh
|
2011-03-18 19:51:17 +01:00
|
|
|
# other patches
|
2009-01-09 02:22:59 +01:00
|
|
|
Patch100: busybox.install.patch
|
2011-03-18 19:51:17 +01:00
|
|
|
Patch101: busybox-1.18.3-libarchive.patch
|
2012-07-18 18:11:10 +02:00
|
|
|
Patch103: busybox-resource.patch
|
2009-01-09 02:22:59 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-08-12 17:07:28 +02:00
|
|
|
BuildRequires: glibc-devel-static
|
2009-01-09 02:22:59 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
BusyBox combines tiny versions of many common UNIX utilities into a
|
|
|
|
small single executable. It provides minimalist replacements for most
|
|
|
|
of the utilities usually found in fileutils, shellutils, findutils,
|
|
|
|
textutils, grep, gzip, tar, and more. BusyBox provides a fairly
|
|
|
|
complete POSIX environment for any small or embedded system. The
|
|
|
|
utilities in BusyBox generally have fewer options than their
|
|
|
|
full-featured GNU cousins. The options that are included provide the
|
|
|
|
expected functionality and behave very much like their GNU
|
|
|
|
counterparts.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n busybox-%{version}
|
|
|
|
%patch100 -p1
|
|
|
|
%patch101 -p1
|
2012-07-18 18:11:10 +02:00
|
|
|
%patch103 -p1
|
2011-03-18 19:51:17 +01:00
|
|
|
%{__cp} -a %{S:1} docs/
|
|
|
|
%{__cp} -a %{S:2} .config
|
2009-01-09 02:22:59 +01:00
|
|
|
find -name CVS | xargs rm -rf
|
2011-03-18 19:51:17 +01:00
|
|
|
find -name .cvsignore | xargs rm -rf
|
2009-01-09 02:22:59 +01:00
|
|
|
find -name .svn | xargs rm -rf
|
2011-03-18 19:51:17 +01:00
|
|
|
find -name .gitignore | xargs rm -rf
|
|
|
|
|
|
|
|
%build
|
2009-01-09 02:22:59 +01:00
|
|
|
export VERBOSE=-v
|
|
|
|
export BUILD_VERBOSE=2
|
2011-03-18 19:51:17 +01:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
2011-10-04 10:31:06 +02:00
|
|
|
export CC="%{__cc}"
|
|
|
|
export HOSTCC=gcc
|
2009-01-09 02:22:59 +01:00
|
|
|
make -e oldconfig
|
2013-08-12 17:07:28 +02:00
|
|
|
make -e %{?_smp_mflags}
|
2009-01-09 02:22:59 +01:00
|
|
|
|
|
|
|
%install
|
2012-12-11 13:41:58 +01:00
|
|
|
install -d $RPM_BUILD_ROOT/%{_bindir}
|
|
|
|
install busybox $RPM_BUILD_ROOT/%{_bindir}/busybox-static
|
2009-01-09 02:22:59 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2012-12-11 13:41:58 +01:00
|
|
|
%{_bindir}/busybox-static
|
2009-01-09 02:22:59 +01:00
|
|
|
|
|
|
|
%changelog
|