From: Leonid Plyushch Date: Thu, 14 Sep 2017 10:32:08 +0000 (+0300) Subject: httping: fix path in SPAM_FILE X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/3abecd4081c55287d9fa7e45781b52f4b28cfdc4?ds=sidebyside httping: fix path in SPAM_FILE --- diff --git a/packages/httping/build.sh b/packages/httping/build.sh index 39b994b1..381fb187 100644 --- a/packages/httping/build.sh +++ b/packages/httping/build.sh @@ -1,6 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://www.vanheusden.com/httping/ TERMUX_PKG_DESCRIPTION="ping-like program for http-requests" TERMUX_PKG_VERSION=2.5 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://www.vanheusden.com/httping/httping-${TERMUX_PKG_VERSION}.tgz TERMUX_PKG_SHA256=3e895a0a6d7bd79de25a255a1376d4da88eb09c34efdd0476ab5a907e75bfaf8 TERMUX_PKG_BUILD_IN_SRC=yes diff --git a/packages/httping/fix-spam_file-path.patch b/packages/httping/fix-spam_file-path.patch new file mode 100644 index 00000000..9c37bc59 --- /dev/null +++ b/packages/httping/fix-spam_file-path.patch @@ -0,0 +1,12 @@ +diff -uNr httping-2.5/gen.h httping-2.5.mod/gen.h +--- httping-2.5/gen.h 2016-09-12 10:45:50.000000000 +0300 ++++ httping-2.5.mod/gen.h 2017-09-14 13:30:46.432863081 +0300 +@@ -12,7 +12,7 @@ + + #define RECV_BUFFER_SIZE (128 * 1024) + +-#define SPAM_FILE "/tmp/httping.dat" ++#define SPAM_FILE "@TERMUX_PREFIX@/tmp/httping.dat" + + #define MAX_SHOW_SUPPRESSION 3 +