-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/wget/ | ||
TERMUX_PKG_DESCRIPTION="Commandline tool for retrieving files using HTTP, HTTPS and FTP" | ||
TERMUX_PKG_LICENSE="GPL-3.0" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=1.21.4 | ||
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/wget/wget-${TERMUX_PKG_VERSION}.tar.lz | ||
TERMUX_PKG_SHA256=3683619a5f50edcbccb1720a79006fa37bf9b9a255a8c5b48048bc3c7a874bd9 | ||
TERMUX_PKG_DEPENDS="libidn2-glibc, libuuid-glibc, openssl-glibc, pcre2-glibc, zlib-glibc, libnettle-glibc, libpsl-glibc, libgnutls-glibc" | ||
TERMUX_PKG_CONFFILES="glibc/etc/wgetrc" | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | ||
--disable-rpath | ||
--enable-nls | ||
--with-ssl=gnutls | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff -uNr wget-1.20.1/lib/tmpdir.c wget-1.20.1.mod/lib/tmpdir.c | ||
--- wget-1.20.1/lib/tmpdir.c 2018-12-26 22:08:19.000000000 +0200 | ||
+++ wget-1.20.1.mod/lib/tmpdir.c 2019-03-01 18:27:22.434424043 +0200 | ||
@@ -36,7 +36,7 @@ | ||
# ifdef _P_tmpdir /* native Windows */ | ||
# define P_tmpdir _P_tmpdir | ||
# else | ||
-# define P_tmpdir "/tmp" | ||
+# define P_tmpdir "@TERMUX_PREFIX_CLASSICAL@/tmp" | ||
# endif | ||
#endif | ||
|
||
@@ -130,8 +130,8 @@ | ||
#endif | ||
if (direxists (P_tmpdir)) | ||
dir = P_tmpdir; | ||
- else if (strcmp (P_tmpdir, "/tmp") != 0 && direxists ("/tmp")) | ||
- dir = "/tmp"; | ||
+ else if (strcmp (P_tmpdir, "@TERMUX_PREFIX_CLASSICAL@/tmp") != 0 && direxists ("@TERMUX_PREFIX_CLASSICAL@/tmp")) | ||
+ dir = "@TERMUX_PREFIX_CLASSICAL@/tmp"; | ||
else | ||
{ | ||
__set_errno (ENOENT); |