<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bf55c50e998b23615d6c17f7db39415e8ef3177b">https://github.com/macports/macports-ports/commit/bf55c50e998b23615d6c17f7db39415e8ef3177b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new bf55c50e998 snac: update to 2.27.
</span>bf55c50e998 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bf55c50e998b23615d6c17f7db39415e8ef3177b
</span>Author: グレェ <artkiver@gmail.com>
AuthorDate: Fri Apr 14 17:48:26 2023 +0000
<span style='display:block; white-space:pre;color:#404040;'> snac: update to 2.27.
</span>---
net/snac/Portfile | 22 +++++++++++++---------
net/snac/files/Makefile.patch | 6 +++---
2 files changed, 16 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/snac/Portfile b/net/snac/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d66abefffe0..f3d80fd9dd0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/snac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/snac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,21 +5,25 @@ PortGroup legacysupport 1.1
</span> PortGroup makefile 1.0
name snac
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.26
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
distname ${version}
categories net
license MIT
maintainers {@artkiver gmail.com:artkiver} openmaintainer
description A simple, minimalistic ActivityPub instance
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description snac2 Social Networks Are Crap \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- implemented in C (the original snac was Python). \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- From the README.md: \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description snac Social Networks Are Crap \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ This 2.x release is written in C (unlike the 1.x \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ prototype, which was written in Python). \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Features from the README.md: \
</span> - Lightweight, minimal dependencies \
- Extensive support of ActivityPub operations, e.g. write public notes, follow users, be followed, reply to the notes of others, admire wonderful content (like or boost), write private messages... \
- Simple but effective web interface \
- Multiuser \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ - Mastodon API support, so Mastodon-compatible apps can \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ be used (work in progress) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - Simple but effective web interface \
</span> - Easily-accessed MUTE button to silence morons \
- Tested interoperability with related software \
- No database needed \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,9 +33,9 @@ long_description snac2 Social Networks Are Crap \
</span>
homepage https://codeberg.org/grunfink/snac2/
master_sites ${homepage}archive/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3d831aa0a799a1c99ea0091cfa8aacfce96f6f1a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c5392e38529b072dd485ccaef7f3977c52701a7244d1df8ee56648365d6d27c3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 89141
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 96cbb52822d003da4de6b3423a78f80fc8e1cf5d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 730618fed785a6f44802557d85808a9bc98e501936ce5639e9d03ce399243034 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 97593
</span> depends_lib path:lib/libssl.dylib:openssl \
port:curl
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,7 +46,7 @@ patchfiles Makefile.patch
</span>
platform darwin {
configure.cflags-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -Dst_mtim=st_mtimespec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dst_mtim=st_mtimespec -Dst_ctim=st_ctimespec
</span> }
livecheck.type regex
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/snac/files/Makefile.patch b/net/snac/files/Makefile.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 008668ab33a..00bf7053e67 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/snac/files/Makefile.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/snac/files/Makefile.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.orig 2023-03-08 13:17:33.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile 2023-04-07 01:37:47.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile
</span> @@ -1,31 +1,31 @@
-PREFIX=/usr/local
-PREFIX_MAN=$(PREFIX)/man
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,7 +11,7 @@
</span> all: snac
snac: snac.o main.o data.o http.o httpd.o webfinger.o \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- activitypub.o html.o utils.o format.o upgrade.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ activitypub.o html.o utils.o format.o upgrade.o mastoapi.o
</span> - $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -pthread $(LDFLAGS) -o $@
+ $(CC) $(CFLAGS) $^ $(LDFLAGS) -lcurl -lcrypto -pthread -o $@
</pre><pre style='margin:0'>
</pre>