~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses: Update from 6.0.20170827 to 6.0.20170902
[termux-packages]
/
packages
/
busybox
/
build.sh
diff --git
a/packages/busybox/build.sh
b/packages/busybox/build.sh
index
169c361
..
d91ca34
100755
(executable)
--- a/
packages/busybox/build.sh
+++ b/
packages/busybox/build.sh
@@
-1,24
+1,20
@@
-TERMUX_PKG_HOMEPAGE=http
://www.
busybox.net/
+TERMUX_PKG_HOMEPAGE=http
s://
busybox.net/
TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a single small executable"
TERMUX_PKG_ESSENTIAL=yes
TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a single small executable"
TERMUX_PKG_ESSENTIAL=yes
-TERMUX_PKG_VERSION=1.24.2
-TERMUX_PKG_BUILD_REVISION=7
-TERMUX_PKG_SRCURL=http://www.busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2
+TERMUX_PKG_VERSION=1.27.1
+TERMUX_PKG_REVISION=2
+TERMUX_PKG_SHA256=c890ac53fb218eb4c6ad9ed3207a896783b142e6d306f292b8d9bec82af5f936
+TERMUX_PKG_SRCURL=https://busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_BUILD_IN_SRC=yes
+TERMUX_PKG_CLANG=no
# We replace env in the old coreutils package:
TERMUX_PKG_CONFLICTS="coreutils (<< 8.25-4)"
# We replace env in the old coreutils package:
TERMUX_PKG_CONFLICTS="coreutils (<< 8.25-4)"
-# NOTE: sed on mac does not work for building busybox, install gnu-sed with
-# homebrew using the --with-default-names option.
-
-CFLAGS+=" -llog -DTERMUX_EXPOSE_MEMPCPY=1" # Android system liblog.so for syslog
+termux_step_pre_configure () {
+ CFLAGS+=" -llog" # Android system liblog.so for syslog
+}
termux_step_configure () {
termux_step_configure () {
- # Bug in gold linker with busybox in android r10e:
- # https://sourceware.org/ml/binutils/2015-02/msg00386.html
- CFLAGS+=" -fuse-ld=bfd"
- LD+=.bfd
-
cp $TERMUX_PKG_BUILDER_DIR/busybox.config .config
echo "CONFIG_SYSROOT=\"$TERMUX_STANDALONE_TOOLCHAIN/sysroot\"" >> .config
echo "CONFIG_PREFIX=\"$TERMUX_PREFIX\"" >> .config
cp $TERMUX_PKG_BUILDER_DIR/busybox.config .config
echo "CONFIG_SYSROOT=\"$TERMUX_STANDALONE_TOOLCHAIN/sysroot\"" >> .config
echo "CONFIG_PREFIX=\"$TERMUX_PREFIX\"" >> .config
@@
-35,9
+31,8
@@
termux_step_post_make_install () {
cd $TERMUX_PREFIX/bin/applets
for f in `cat $TERMUX_PKG_SRCDIR/busybox.links`; do ln -s ../busybox `basename $f`; done
cd $TERMUX_PREFIX/bin/applets
for f in `cat $TERMUX_PKG_SRCDIR/busybox.links`; do ln -s ../busybox `basename $f`; done
-
# The 'ash' and 'env' applets are special in that they
go into $PREFIX/bin:
+
# The 'env' applet is special in that it
go into $PREFIX/bin:
cd $TERMUX_PREFIX/bin
cd $TERMUX_PREFIX/bin
- ln -f -s busybox ash
ln -f -s busybox env
# Install busybox man page
ln -f -s busybox env
# Install busybox man page