Commit Graph
79 Commits
Author SHA1 Message Date
grunfink 7d24c6ff94 Added translatable month names. 2026-02-02 17:51:40 +01:00
grunfink 99375a7b66 New command-line option top_ten. 2026-01-10 21:29:32 +01:00
grunfink 212284c792 xs_http.h: new file. 2025-10-13 13:07:06 +02:00
grunfink c976b9a334 Sending notes from the cmdline allows setting an inReplyTo field. 2025-06-26 10:39:47 +02:00
grunfink e030fe6c50 Use HTTP caching (etag / if-none-match) in RSS downloads. 2025-05-29 18:03:23 +02:00
grunfink c10f6f0e6c Updated dependencies. 2025-05-28 07:59:50 +02:00
grunfink 97ff66116b New file rss.c. 2025-05-28 07:48:47 +02:00
grunfink 64d99af19c xs_webmention.h new file. 2025-05-04 11:05:47 +02:00
shtrophic 398b733b2c Merge remote-tracking branch 'upstream/master' into curl-smtp 2025-03-08 22:29:50 +01:00
default 9cc610f709 Cosmetic cleanup of po files. 2025-02-27 16:45:56 +01:00
shtrophic 7eb2556f26 Merge remote-tracking branch 'upstream/master' into curl-smtp 2025-02-17 20:54:36 +01:00
default e020ca8471 xs_po.h new file. 2025-02-14 10:24:13 +01:00
default 722eb6830b New Makefile target. 2025-02-14 07:04:52 +01:00
shtrophic 1c4c155403 add tests subdirectory with makefile target 2025-01-24 21:00:16 +01:00
default b51085831e Also check for the lowecase URL of the hashtags. 2025-01-08 17:20:53 +01:00
default 3b73cf5b4c Updated Makefile dependencies. 2025-01-06 15:40:24 +01:00
shtrophic a7ca4007f2 Merge tag '2.67'
Version 2.67 RELEASED.
2024-12-23 13:42:45 +01:00
shtrophic e52b4bf39b import landloc.h 2024-12-05 17:24:04 +01:00
Giacomo Tesio b6107c8777 Makefile: enable static compilation with musl
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-20 21:51:43 +01:00
shtrophic 75f6159056 sandboxing port to linux via landlock 2024-11-16 00:54:12 +01:00
default 000db2c1e4 Updated dependencies. 2024-11-12 10:36:07 +01:00
default 34dbddb2b5 Updated dependencies. 2024-11-07 21:57:38 +01:00
default 12373b018e Added -pedantic compilation flag. 2024-10-08 07:45:17 +02:00
default 15095709f7 Updated dependencies. 2024-08-24 18:39:20 +02:00
default e92331b8da Updated dependencies. 2024-08-12 16:10:38 +02:00
Louis Brauer 25ef07b1ec More or less smaller fixes :) 2024-05-27 23:55:51 +02:00
default 7b0e9285af Updated dependencies. 2024-05-09 09:32:43 +02:00
default 7d83679617 Updated dependencies. 2024-03-25 16:17:20 +01:00
default 15ac48280b The command-line 'note' also allows attachments. 2024-03-15 20:26:35 +01:00
default a0377b662d Updated dependencies. 2024-03-12 06:28:06 +01:00
default fcf9f9e331 Updated depedencies. 2024-02-15 19:25:14 +01:00
default 6c556581e0 Rewritten a sentence to be clearer in README.md. 2024-01-13 09:12:16 +01:00
default bb134950de Don't hardcode the -lrt, as OpenBSD does not have it. 2024-01-12 17:52:04 +01:00
default 034a08a8f0 Added -lrt to the linkage line, as it's needed at least in Ubuntu 20.04.6 LTS. 2024-01-12 17:40:26 +01:00
default f4633b9356 Use xs_html in the static greeting page. 2023-11-24 00:05:45 +01:00
default bc5d0d4ed0 Replaced encode_html_strict() with xs_html_encode(). 2023-11-20 18:33:24 +01:00
default 621c65159d Updated dependencies. 2023-11-17 08:52:48 +01:00
default 6cd3e76890 Added FastCGI support. 2023-10-17 20:02:08 +02:00
default b7d0f297c3 mastoapi: Don't exclude posts of type Page or Article. 2023-10-16 20:49:58 +02:00
default 253e7f9eaa Don't allow creating users which user name strings only differ in case. 2023-10-13 06:33:12 +02:00
default c314e995a4 Backport from xs. 2023-09-25 18:25:09 +02:00
default 749dbef349 Used xs_match() in some places. 2023-09-21 21:25:45 +02:00
default f31eb8d9f2 Updated dependencies. 2023-09-21 11:55:59 +02:00
default fafdbbf815 Replaced usage of random() with xs_rnd_buf(). 2023-06-05 18:29:25 +02:00
default a7881f0ab6 Added an 'uninstall' Makefile target. 2023-06-01 17:18:36 +02:00
default 970ad7a540 Got rid of xs_encdec.h. 2023-05-17 10:08:57 +02:00
default 920ff76297 Print the total running time at httpd stop. 2023-05-08 09:34:27 +02:00
default 185aac2387 Added -Wextra to C flags. 2023-05-04 09:28:36 +02:00
default cd19efcae2 Updated dependencies. 2023-05-04 09:17:50 +02:00
default 74e644ab07 Updated dependencies. 2023-04-25 10:12:23 +02:00