summaryrefslogtreecommitdiff
path: root/Makefile (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-10-13xs_http.h: new file.Gravatar grunfink1-18/+19
2025-06-26Sending notes from the cmdline allows setting an inReplyTo field.Gravatar grunfink1-3/+3
2025-05-29Use HTTP caching (etag / if-none-match) in RSS downloads.Gravatar grunfink1-1/+1
2025-05-28Updated dependencies.Gravatar grunfink1-1/+2
2025-05-28New file rss.c.Gravatar grunfink1-4/+5
2025-05-04xs_webmention.h new file.Gravatar grunfink1-3/+3
2025-02-27Cosmetic cleanup of po files.Gravatar default1-0/+1
2025-02-14xs_po.h new file.Gravatar default1-7/+7
2025-02-14New Makefile target.Gravatar default1-0/+7
2025-01-24add tests subdirectory with makefile targetGravatar shtrophic1-2/+8
2025-01-08Also check for the lowecase URL of the hashtags.Gravatar default1-1/+2
2025-01-06Updated Makefile dependencies.Gravatar default1-6/+4
2024-12-05import landloc.hGravatar shtrophic1-1/+2
2024-11-20Makefile: enable static compilation with muslGravatar Giacomo Tesio1-4/+4
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 landlockGravatar shtrophic1-1/+3
2024-11-12Updated dependencies.Gravatar default1-1/+1
2024-11-07Updated dependencies.Gravatar default1-1/+1
2024-10-08Added -pedantic compilation flag.Gravatar default1-1/+1
2024-08-24Updated dependencies.Gravatar default1-5/+6
2024-08-12Updated dependencies.Gravatar default1-15/+19
2024-05-27More or less smaller fixes :)Gravatar Louis Brauer1-1/+1
2024-05-09Updated dependencies.Gravatar default1-1/+1
2024-03-25Updated dependencies.Gravatar default1-1/+2
2024-03-15The command-line 'note' also allows attachments.Gravatar default1-1/+1
2024-03-12Updated dependencies.Gravatar default1-2/+2
2024-02-15Updated depedencies.Gravatar default1-2/+2
2024-01-13Rewritten a sentence to be clearer in README.md.Gravatar default1-1/+1
2024-01-12Don't hardcode the -lrt, as OpenBSD does not have it.Gravatar default1-1/+1
2024-01-12Added -lrt to the linkage line, as it's needed at least in Ubuntu 20.04.6 LTS.Gravatar default1-1/+1
2023-11-24Use xs_html in the static greeting page.Gravatar default1-2/+2
2023-11-20Replaced encode_html_strict() with xs_html_encode().Gravatar default1-3/+4
2023-11-17Updated dependencies.Gravatar default1-8/+9
2023-10-17Added FastCGI support.Gravatar default1-2/+2
2023-10-16mastoapi: Don't exclude posts of type Page or Article.Gravatar default1-1/+1
2023-10-13Don't allow creating users which user name strings only differ in case.Gravatar default1-1/+1
2023-09-25Backport from xs.Gravatar default1-3/+3
2023-09-21Used xs_match() in some places.Gravatar default1-1/+1
2023-09-21Updated dependencies.Gravatar default1-3/+3
2023-06-05Replaced usage of random() with xs_rnd_buf().Gravatar default1-5/+6
2023-06-01Added an 'uninstall' Makefile target.Gravatar default1-0/+6
2023-05-17Got rid of xs_encdec.h.Gravatar default1-15/+14
2023-05-08Print the total running time at httpd stop.Gravatar default1-1/+1
2023-05-04Added -Wextra to C flags.Gravatar default1-1/+1
2023-05-04Updated dependencies.Gravatar default1-1/+1
2023-04-25Updated dependencies.Gravatar default1-1/+3
2023-04-08New file mastoapi.c.Gravatar default1-1/+1
2023-01-08Updated dependencies.Gravatar default1-3/+4
2022-12-09Makefile improvementsGravatar Anna “CyberTailor”1-3/+4
* Don't overwrite CFLAGS from env * Respect CPPFLAGS and LDFLAGS * Create bindir in "install"
2022-11-23Updated dependencies.Gravatar default1-8/+9
2022-11-23Moved db_upgrade() to its source file.Gravatar default1-1/+2