Ports: Add port for wget

This commit is contained in:
Tim Schumacher 2021-05-27 21:14:33 +02:00 committed by Linus Groh
parent c2b47c0676
commit 040d2479bf
3 changed files with 26 additions and 0 deletions

View file

@ -126,6 +126,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`vim`](vim/) | Vim | 8.2.2772 | https://www.vim.org/ |
| [`vitetris`](vitetris/) | vitetris | 0.59.1 | https://github.com/vicgeralds/vitetris |
| [`vttest`](vttest/) | vttest | 20210210 | https://invisible-island.net/vttest/ |
| [`wget`](wget/) | GNU Wget | 1.21.1 | https://www.gnu.org/software/wget/ |
| [`xz`](xz/) | xz | 5.2.5 | https://tukaani.org/xz/ |
| [`yasm`](yasm/) | Yasm Modular Assembler | 1.3.0 | https://yasm.tortall.net/ |
| [`zlib`](zlib/) | zlib | 1.2.11 | https://www.zlib.net/ |

13
Ports/wget/package.sh Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=wget
version=1.21.1
useconfigure="true"
depends="openssl"
files="https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz wget-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz.sig wget-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg wget-${version}.tar.gz.sig"
configopts="--with-ssl=openssl --disable-ipv6"
export OPENSSL_LIBS="-lssl -lcrypto -ldl"

View file

@ -0,0 +1,12 @@
diff -ur a/build-aux/config.sub b/build-aux/config.sub
--- a/build-aux/config.sub 2021-01-09 10:57:19.000000000 +0100
+++ b/build-aux/config.sub 2021-04-19 14:45:56.132333538 +0200
@@ -1691,7 +1691,7 @@
# Now accept the basic system types.
# The portable systems comes first.
# Each alternative MUST end in a * to match a version number.
- gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
+ gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | serenity* | irix* \
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \