X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/b5ae58076880133baa86e83df44fc7adec786603..b065e7940e0b96bf07de1d23e000e6c09a627a9e:/packages/busybox/build.sh diff --git a/packages/busybox/build.sh b/packages/busybox/build.sh index 0d024857..d2cc0689 100755 --- a/packages/busybox/build.sh +++ b/packages/busybox/build.sh @@ -1,18 +1,16 @@ -TERMUX_PKG_HOMEPAGE=http://www.busybox.net/ +TERMUX_PKG_HOMEPAGE=https://busybox.net/ TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a single small executable" TERMUX_PKG_ESSENTIAL=yes -TERMUX_PKG_VERSION=1.25.1 -TERMUX_PKG_BUILD_REVISION=1 -TERMUX_PKG_SRCURL=https://www.busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2 +TERMUX_PKG_VERSION=1.28.2 +TERMUX_PKG_SHA256=b64a94a60877c96838ee60e75765576ecc8756bf3636485117637604acb84b0d +TERMUX_PKG_SRCURL=https://busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2 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)" -# NOTE: sed on mac does not work for building busybox, install gnu-sed with -# homebrew using the --with-default-names option. - termux_step_pre_configure () { - CFLAGS+=" -llog -DTERMUX_EXPOSE_MEMPCPY=1" # Android system liblog.so for syslog + CFLAGS+=" -llog" # Android system liblog.so for syslog } termux_step_configure () { @@ -32,9 +30,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 - # 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 - ln -f -s busybox ash ln -f -s busybox env # Install busybox man page