aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2025-01-06Updated Makefile dependencies.default
2024-12-23Merge tag '2.67'shtrophic
Version 2.67 RELEASED.
2024-12-05import landloc.hshtrophic
2024-11-20Makefile: enable static compilation with muslGiacomo Tesio
Assuming a Debian GNU/Linux system with wget, tar, git, make and musl-gcc ``` mkdir build cd build export BUILD_TARGET=$PWD export CC="musl-gcc" echo download and build zlib wget http://zlib.net/current/zlib.tar.gz tar xvf zlib.tar.gz cd zlib-1.3.1/ ./configure --prefix=$BUILD_TARGET --static make make install cd .. echo download and build openssl wget https://github.com/openssl/openssl/releases/download/openssl-3.4.0/openssl-3.4.0.tar.gz tar xvf openssl-3.4.0.tar.gz cd openssl-3.4.0 CC="musl-gcc -fPIE -pie -static -idirafter /usr/include/ -idirafter /usr/include/x86_64-linux-gnu/" ./Configure no-shared no-async --prefix=$BUILD_TARGET --openssldir=$BUILD_TARGET/ssl linux-x86_64 make depend make make install cd .. echo download and build curl wget https://curl.se/download/curl-7.88.1.tar.gz tar xvf curl-7.88.1.tar.gz cd curl-7.88.1 ./configure --disable-shared --enable-static --disable-silent-rules --disable-debug --disable-warnings --disable-werror --disable-curldebug --disable-symbol-hiding --disable-ares --disable-rt --disable-ech --disable-dependency-tracking --disable-libtool-lock --enable-http --disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-mqtt --disable-manual --disable-libcurl-option --disable-ipv6 --disable-openssl-auto-load-config --disable-versioned-symbols --disable-verbose --disable-sspi --disable-crypto-auth --disable-ntlm --disable-ntlm-wb --disable-tls-srp --enable-unix-sockets --disable-cookies --disable-socketpair --disable-http-auth --disable-doh --disable-mime --disable-dateparse --disable-netrc --disable-progress-meter --disable-dnsshuffle --disable-get-easy-options --disable-alt-svc --disable-websockets --without-brotli --without-zstd --without-libpsl --without-libgsasl --without-librtmp --without-winidn --with-openssl=$BUILD_TARGET/ --disable-threaded-resolver --with-zlib=$BUILD_TARGET/ --prefix=$BUILD_TARGET/ make make install cd .. echo download and build snac2 git clone https://codeberg.org/grunfink/snac2.git cd snac2 # assuming this commit in master make CFLAGS="-g -Wall -Wextra -pedantic -static -DWITHOUT_SHM" PREFIX=$BUILD_TARGET LDFLAGS="-L$BUILD_TARGET/lib64 -lcurl -lssl -lcrypto -lz" make install PREFIX=$BUILD_TARGET cd .. echo a statically linked snac is ready at $BUILD_TARGET/bin ```
2024-11-16sandboxing port to linux via landlockshtrophic
2024-11-12Updated dependencies.default
2024-11-07Updated dependencies.default
2024-10-08Added -pedantic compilation flag.default
2024-08-24Updated dependencies.default
2024-08-12Updated dependencies.default
2024-05-27More or less smaller fixes :)Louis Brauer
2024-05-09Updated dependencies.default
2024-03-25Updated dependencies.default
2024-03-15The command-line 'note' also allows attachments.default
2024-03-12Updated dependencies.default
2024-02-15Updated depedencies.default
2024-01-13Rewritten a sentence to be clearer in README.md.default
2024-01-12Don't hardcode the -lrt, as OpenBSD does not have it.default
2024-01-12Added -lrt to the linkage line, as it's needed at least in Ubuntu 20.04.6 LTS.default
2023-11-24Use xs_html in the static greeting page.default
2023-11-20Replaced encode_html_strict() with xs_html_encode().default
2023-11-17Updated dependencies.default
2023-10-17Added FastCGI support.default
2023-10-16mastoapi: Don't exclude posts of type Page or Article.default
2023-10-13Don't allow creating users which user name strings only differ in case.default
2023-09-25Backport from xs.default
2023-09-21Used xs_match() in some places.default
2023-09-21Updated dependencies.default
2023-06-05Replaced usage of random() with xs_rnd_buf().default
2023-06-01Added an 'uninstall' Makefile target.default
2023-05-17Got rid of xs_encdec.h.default
2023-05-08Print the total running time at httpd stop.default
2023-05-04Added -Wextra to C flags.default
2023-05-04Updated dependencies.default
2023-04-25Updated dependencies.default
2023-04-08New file mastoapi.c.default
2023-01-08Updated dependencies.default
2022-12-09Makefile improvementsAnna “CyberTailor”
* Don't overwrite CFLAGS from env * Respect CPPFLAGS and LDFLAGS * Create bindir in "install"
2022-11-23Updated dependencies.default
2022-11-23Moved db_upgrade() to its source file.default
2022-11-08New Makefile variable PREFIX_MAN, to install man pages wherever you want.default
2022-10-28Also use CFLAGS in the linking phase.default
2022-10-22Updated dependencies.default
2022-10-07Moved message formatting to format.c.default
2022-10-04Updated Makefile.default
2022-10-04New function initdb().default
2022-10-03Backport from xs.default
2022-10-02Use the time functions of xs_time.h.default
2022-10-01Implemented the helper thread.default
2022-09-28Got xs_set.h from xs.default