Skip to content

Commit

Permalink
Move ping6 from inetutils to instead use system
Browse files Browse the repository at this point in the history
The ping6 binary needs setuid, so use the working system version
instead of installing a broken version for non-root users.

Closes termux/termux-app#74
  • Loading branch information
fornwall authored and agnostic-apollo committed Apr 1, 2016
1 parent c2794f5 commit fd3ad22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/termux-tools/build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
TERMUX_PKG_HOMEPAGE=http://termux.com/
TERMUX_PKG_DESCRIPTION="Some tools for Termux"
TERMUX_PKG_VERSION=0.22
TERMUX_PKG_VERSION=0.23

termux_step_make_install () {
$CXX $CFLAGS $LDFLAGS -std=c++14 -Wall -Wextra -pedantic -Werror $TERMUX_PKG_BUILDER_DIR/*.cpp -o $TERMUX_PREFIX/bin/termux-elf-cleaner

# Remove LD_LIBRARY_PATH from environment to avoid conflicting
# with system libraries that am may link against.
for tool in am dalvikvm df getprop logcat ping pm; do
for tool in am dalvikvm df getprop logcat ping ping6 pm; do
WRAPPER_FILE=$TERMUX_PREFIX/bin/$tool
echo '#!/bin/sh' > $WRAPPER_FILE
if [ $tool = am -o $tool = pm ]; then
Expand Down

0 comments on commit fd3ad22

Please sign in to comment.