Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
busybox-static.20467
busybox.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File busybox.spec of Package busybox-static.20467
# # spec file for package busybox # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ # Name: busybox Version: 1.26.2 Release: 0 Summary: The Swiss Army Knife of Embedded Linux License: GPL-2.0+ Group: System/Base Url: http://www.busybox.net/ Source: http://busybox.net/downloads/%{name}-%{version}.tar.bz2 Source1: BusyBox.1 Source2: busybox.SuSE.config # replace stime usage https://bugs.gentoo.org/708350 Patch1: fix-stime-usage.patch # other patches Patch100: busybox.install.patch Patch101: %{name}-1.18.3-libarchive.patch Patch103: busybox-resource.patch Patch201: gunzip-fix-from-gzip-1.3.12-for-gzip-file-with-all-zero-length-codes.patch Patch202: gzip-code-shrink-1.patch Patch203: gzip-code-shrink-2.patch Patch204: gunzip-fix-incorrect-decoding-of-fixed-inflate-blocks.patch Patch205: decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch Patch206: udhcpc-check-that-4-byte-options-are-indeed-4-byte-closes-11506.patch Patch207: udhcpc-when-decoding-DHCP_SUBNET-ensure-it-is-4-bytes-long.patch Patch208: wget-add-support-for-S-server-response.patch Patch209: wget-more-thorough-sanitization-of-other-side-s-data.patch Patch210: wget-check-chunk-length-for-overflowing-off_t.patch Patch211: tar-postpone-creation-of-symlinks-with-suspicious-targets.-Closes-8411.patch Patch212: unzip-properly-use-CDF-to-find-compressed-files.-Closes-9536.patch Patch213: unzip-remove-now-pointless-lseek-which-returns-current-position.patch Patch214: unzip-do-not-use-CDF.extra_len-read-local-file-header.-Closes-9536.patch Patch215: unzip-optional-support-for-bzip2-and-lzma.patch Patch216: unzip-match-Defl-display-with-info-zip-cosmetic-code-shuffling.patch Patch217: unzip-support-symlinks.-Closes-10031.patch Patch218: libarchive-do-not-extract-unsafe-symlinks-unless-EXTRACT_UNSAFE_SYMLINKS-1.patch Patch219: unzip-robustify-overwrite-checks.patch Patch220: unzip-implement-j-closes-9126.patch Patch221: tar-unzip-postpone-creation-of-symlinks-with-suspicious-targets.patch Patch222: wget-emit-a-message-that-certificate-verification-is-not-implemented.patch Patch223: wget-implement-TLS-verification-with-ENABLE_FEATURE_WGET_OPENSSL.patch BuildRequires: libtirpc-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 %patch1 -p1 %patch100 -p1 %patch101 -p1 %patch103 -p1 %patch201 -p1 %patch202 -p1 %patch203 -p1 %patch204 -p1 %patch205 -p1 %patch206 -p1 %patch207 -p1 %patch208 -p1 %patch209 -p1 %patch210 -p1 %patch211 -p1 %patch212 -p1 %patch213 -p1 %patch214 -p1 %patch215 -p1 %patch216 -p1 %patch217 -p1 %patch218 -p1 %patch219 -p1 %patch220 -p1 %patch221 -p1 %patch222 -p1 %patch223 -p1 cp -a %{SOURCE1} docs/ cp -a %{SOURCE2} .config find -name CVS | xargs rm -rf find -name .cvsignore | xargs rm -rf find -name .svn | xargs rm -rf find -name .gitignore | xargs rm -rf %build export KCONFIG_NOTIMESTAMP=KCONFIG_NOTIMESTAMP export VERBOSE=-v export BUILD_VERBOSE=2 export CFLAGS="%{optflags} -fno-strict-aliasing -I/usr/include/tirpc" export CC="gcc" export HOSTCC=gcc make %{?_smp_mflags} -e oldconfig make -e %{?_smp_mflags} make -e doc busybox.links %{?_smp_mflags} %install install -d %{buildroot}/%{_bindir} install -d %{buildroot}/%{_datadir}/busybox install busybox.links %{buildroot}%{_datadir}/busybox install applets/install.sh %{buildroot}%{_bindir}/busybox.install install busybox %{buildroot}/%{_bindir} install -d %{buildroot}%{_mandir}/man1 install -m 644 docs/BusyBox.1 %{buildroot}%{_mandir}/man1 %files %defattr(-,root,root) %doc docs/mdev.txt %doc %{_mandir}/man1/BusyBox.1.gz %{_bindir}/busybox %{_bindir}/busybox.install %dir %{_datadir}/busybox %config %{_datadir}/busybox/busybox.links %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor