httping: fix path in SPAM_FILE
This commit is contained in:
parent
0e2295cf3f
commit
328b58be13
@ -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
|
||||
|
12
packages/httping/fix-spam_file-path.patch
Normal file
12
packages/httping/fix-spam_file-path.patch
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user