1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-09-13 19:27:57 +00:00

Ports: Add ssmtp port

This commit is contained in:
Fabian Dellwing 2023-04-25 19:59:27 +02:00 committed by Jelle Raaijmakers
parent 1951f7874d
commit 8f34478e75
7 changed files with 184 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# Patches for ssmtp on SerenityOS
## `0001-Remove-_GNU_SOURCE-as-we-are-not-GNU.-With-it-we-seg.patch`
Remove `_GNU_SOURCE` as we are not GNU. With it we segfault after calling `basename()`.
## `0002-We-dont-have-u_int32_t-but-do-have-uint32_t-so-we-ty.patch`
We dont have `u_int32_t` but do have `uint32_t`, so we typedef to build successfull.
## `0003-Hardcode-paths-to-two-files-that-will-be-compiled-in.patch`
Hardcode paths to two files that will be compiled inside the binary. Otherwise it gets compiled with the hosts build path prepended.
## `0004-Use-generic-default-configuration.patch`
Use generic default configuration
Make the installation fully non-interactive and create a sane
default ssmtp.conf