Commit graph

856 commits

Author SHA1 Message Date
Brian Gianforcaro
83abc83d3c Ports/stress-ng: Update stress-ng to 0.13.12
This required updating a bunch of patches which had conflicts
in the latest version.

New Patches:
- serenity: Add bogus O_NDELAY just to allow the port to compile
- serenity: Disable nice() stress workload as we do not implement it
- serenity: Disable prctl stressor on serenity
2022-03-18 11:59:35 +00:00
Daniel Lemos
3063aedb0c Ports: Add Lua's package manager LuaRocks
Ports: Add LuaRocks to AvailablePorts.md

Ports: Add ReadMe.md for the patches
2022-03-16 14:14:01 +00:00
Daniel Lemos
a4e5c6201e Ports: Make lua depends and build with readline 2022-03-16 14:12:30 +00:00
Tim Schumacher
4cbf78ce6a Ports: Add a dependency on libiconv to tig 2022-03-16 14:10:59 +00:00
Tim Schumacher
d3f3bb1853 Ports: Add a dependency on libiconv to p7zip 2022-03-16 14:10:59 +00:00
Tim Schumacher
8ffba7e2cf Ports: Add libpng and libjpeg dependencies to imgcat
Those don't seem to be strictly required, but we already have those
ports, might as well add a few more formats to the mix.
2022-03-16 14:10:59 +00:00
Tim Schumacher
aad776048e Ports: Add a dependency on zlib to ntbtls 2022-03-16 14:10:59 +00:00
Tim Schumacher
1cab2e54e1 Ports: Fail if config.{sub,guess} don't replace existing files
This should help with finding misconfigured config.sub and config.guess
settings.
2022-03-16 14:10:59 +00:00
Tim Schumacher
26b4e74f4a Ports: Add a dependency on pcre to citron 2022-03-16 14:10:59 +00:00
Tim Schumacher
46399e3dc0 Ports: Disable SDL support for libmpeg2
We do not have a port of SDL.
2022-03-16 14:10:59 +00:00
Luke Wilde
6f4dde253f Ports: Update OpenSSL to 1.1.1n 2022-03-16 13:01:23 +00:00
Pierce Andjelkovic
1b14840b48 Ports: Allow harfbuzz to be built with cmake 3.18.4
CMake defaults to the current directory if the source or build 
directory is not specified. Harfbuzz builds into an alternate 
directory so it fails. This change specifies the directory prior 
to any additional parameters so the build can succeed with 
cmake 3.18.4.
2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
c24ba8c5ad Ports: Add config_sub_path to flex 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
67de6446a9 Ports: Add config.sub location to diffutils config.sub 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
9b437718fb Ports: Point gnucobol to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
108808bb8f Ports: Point indent to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
a7ba108d1d Ports: Point libarchive to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
7b2e0af13f Ports: Point libexpat to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
37161afbdf Ports: Point libtool to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
901cb247fb Ports: Point nasm to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
52656accb1 Ports: Point yasm to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
756f90d15e Ports: Point freedink to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
dedc534046 Ports: Point libgd to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
39868e833c Ports: Point freeciv to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic
8f531a62eb Ports: Replace gsl download mirror with functional download url 2022-03-15 14:03:07 +00:00
Luke Wilde
47d0d9fd65 Ports: Update curl to 7.82.0 2022-03-13 22:58:21 +01:00
Luke Wilde
47ec3dbf45 Ports: Update zstd to 1.5.2 2022-03-13 22:58:21 +01:00
Brian Gianforcaro
09673e7f13 Ports: Update vim to version 8.2.4554 2022-03-12 17:38:45 -08:00
Brian Gianforcaro
ff16da98b0 Ports: Update less to version 590 2022-03-12 17:38:45 -08:00
Brian Gianforcaro
8627d1a944 Ports: Update git to version 2.35.1 2022-03-12 17:38:45 -08:00
Tobias Christiansen
edcec09aa4 Meta: Update hashes in Port's README
Only 'sha256' or 'sig' are allowed in the 'auth_type' field in order for
the linter to pass. Reflect that into the README and give a description
on what to do to create a hash.
Also expand the examples to include a SHA256 hash.
2022-03-11 21:26:56 +01:00
Tobias Christiansen
9412af1194 Ports: Specify sha256sum for the GNU APL port 2022-03-11 21:05:17 +01:00
Tobias Christiansen
3303feed91 Ports: Add GNU APL
Since the glyphs are being worked on, a APL interpreter seems like a
good way to use them.
2022-03-11 20:14:10 +01:00
Tim Schumacher
1b6a1748f0 Ports: Add ca-certificates as a dependency to curl 2022-03-08 18:21:06 -08:00
Tim Schumacher
813a1f2865 Ports: Add a ca-certificates "port" 2022-03-08 18:21:06 -08:00
Daniel Bertalan
4f89f47acb Ports: Download fresh config.guess if needed
The config.guess file needs to know about the SerenityOS `uname -m`
system name if we want to build ports inside Serenity. Support was only
added in January 2022, so most ports don't have a new enough version
yet.

This commit adds facilities for fetching a fresh config.guess file that
supports SerenityOS, similarly to what we do for config.sub. As its
first user, we make the bash port buildable inside the system.
2022-03-08 23:30:47 +01:00
Daniel Bertalan
aed2e214b6 Ports: Use sed -i for run_replace_in_file on Serenity hosts
We don't have a perl port, so let's use GNU sed's in-place option for
doing substitutions when running inside Serenity.

Note that we can't do this unconditionally, as `sed -i` is not portable
and works differently on BSD systems.
2022-03-08 23:30:47 +01:00
Ali Mohammad Pur
ce9f355b12 Ports: Add a bdwgc (aka libgc) port
For all your ports' garbage collection needs :^)
2022-03-08 22:29:53 +01:00
Jelle Raaijmakers
f8bdb36f4c Ports: Add OpenGL include dir to quake2 build 2022-03-08 15:32:23 +01:00
Daniel Bertalan
6879465725 Ports: Update vttest to version 20220215
We now download a versioned tarball instead of the latest release to
avoid breaking the port build due to a signature mismatch when a new
version is released.
2022-03-02 21:37:26 +01:00
Peter Ross
451fee8fd7 Ports: Upgrade to FFmpeg 5.0 release; enable SDL and networking 2022-03-02 11:40:37 +01:00
Peter Ross
ceb9f43ed5 Ports: Add Bochs x86 PC emulator 2022-02-23 09:59:08 +00:00
Jelle Raaijmakers
e3d5a11d84 Ports: Enable monkey4 engine for ScummVM
This depends on both the `libmpeg2` and `libmad` ports. Since `monkey4`
is currently an experimental engine in ScummVM, we need to explicitly
enable it during configuration.
2022-02-22 23:48:59 +00:00
Jelle Raaijmakers
6a3017625b Ports: Add libmpeg2 2022-02-22 23:48:59 +00:00
Jelle Raaijmakers
5b593783f3 Ports: Add libmad 2022-02-22 23:48:59 +00:00
Daniel Bertalan
0be67ef12c Ports: Use the objcopy built as part of the toolchain
Relying on host tools working correctly is not a good idea, as they may
be outdated (and therefore not support features like RELR relocations)
or may not exist at all (like objcopy on macOS).
2022-02-20 23:07:31 +00:00
Daniel Bertalan
92449e2f1c Ports: Update libjpeg to 9e 2022-02-20 12:42:13 +00:00
Brian Gianforcaro
e56262caed Ports/gdb: Implement wait and mourn_inferior overrides for our target
While troubleshooting why gdb wasn't working when attempting to debug
serenity programs I noticed two things:

 - The contract of serenity's `waitpid(..)` appears to be slightly
   different than the generic ptrace target expects. We need to make
   sure we pass `WSTOPPED`, and it can return different errno values
   that we would want to re-try on.

-  The contract of serenity's `ptrace(..)` implementation appears to
   diverge as well, as we are expected to call `PT_ATTACH` before we
   call `PT_CONTINUE`, otherwise `ptrace(..)` will just error out.

These two patches fix the behavior of wait and mourn_inferior so that
they work as expected on serenity and allow us to attach and then wait
for a process to exit while running under gdb.
2022-02-20 11:49:41 +01:00
Brian Gianforcaro
f01e1d0c17 Ports/gdb: Add descriptions to all gdb patches and remove dead code
Before working on the gdb port some more, I wanted to get these patches
cleaned up to have a good base to build upon.
2022-02-20 11:49:41 +01:00
Tim Schumacher
c8aae1ac52 Ports: Enable OpenSSL support for CMake 2022-02-17 21:25:41 -08:00