Update to v0.7.0
- codename Father Mother Maiden Crone Honker Bonker Zonker

Changelog:
+++ Auto fetching and inlining of hoots.
++ A new xzone to view and import data not otherwise visible.
++ Preview before honking.
++ Some extra commands for better database retention management.
++ A changelog.
+ Default robots.txt.
+ Misc UI touchups.
+ Read only support for qonks.
+ About page.
+ More reliable (retries) meta messages such as follow requests.
+ Better thread support for missing context.
+ Upgrade image library for cleaner screenshots.
+ Not all summaries need labels.
+ Add max-width for video tag.

On 6/14/19, Aaron Bieber <aa...@bolddaemon.com> wrote:
> On Wed, 12 Jun 2019 at 22:53:45 -0400, Horia Racoviceanu wrote:
>> - bump REVISION
>> - change PERMIT_PACKAGE_CDROM to PERMIT_PACKAGE
>> - change user _honk home directory mode, no longer group writable
>> - update README, add icon and favicon
>
> Tests fine here! OK abieber@ if anyone wants to commit.
>
> --
> PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9
> ADCE
>
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/honk/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile    4 Jun 2019 02:41:49 -0000       1.6
+++ Makefile    17 Jun 2019 22:12:20 -0000
@@ -2,13 +2,13 @@
 
 COMMENT =              federated status updater
 
-DISTNAME =             honk-0.6.0
+DISTNAME =             honk-0.7.0
 CATEGORIES =           www
 
 HOMEPAGE =             https://humungus.tedunangst.com/r/honk
 
 # ISC
-PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE =       Yes
 
 WANTLIB +=             c pthread sqlite3
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/honk/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo    4 Jun 2019 02:41:49 -0000       1.4
+++ distinfo    17 Jun 2019 22:12:20 -0000
@@ -1,2 +1,2 @@
-SHA256 (honk-0.6.0.tgz) = OjBaohbkm8Y/i1RawsOG/qF7dQluuKIGxvnApf+gwGE=
-SIZE (honk-0.6.0.tgz) = 166970
+SHA256 (honk-0.7.0.tgz) = O9DLHXEGo6Ws+In7u1tdHwj690tyejst50oDiNSmfoU=
+SIZE (honk-0.7.0.tgz) = 178891
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/honk/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   4 Jun 2019 02:41:50 -0000       1.3
+++ pkg/PLIST   17 Jun 2019 22:12:20 -0000
@@ -5,24 +5,23 @@
 @bin bin/honk
 share/doc/honk/
 share/doc/honk/README
+share/doc/honk/changelog.txt
 share/doc/honk/manual.txt
 share/doc/honk/ping.txt
 share/doc/honk/security.txt
 share/doc/honk/spec.txt
 share/doc/pkg-readmes/${PKGSTEM}
-@mode 770
+@mode 750
 @owner _honk
 @group _honk
 @sample ${VARBASE}/honk/
-@mode 750
 @sample ${VARBASE}/honk/views/
-@mode
-@owner
-@group
 share/examples/honk/
 share/examples/honk/schema.sql
 @sample ${VARBASE}/honk/schema.sql
 share/examples/honk/views/
+share/examples/honk/views/about.html
+@sample ${VARBASE}/honk/views/about.html
 share/examples/honk/views/account.html
 @sample ${VARBASE}/honk/views/account.html
 share/examples/honk/views/combos.html
@@ -41,5 +40,7 @@ share/examples/honk/views/login.html
 @sample ${VARBASE}/honk/views/login.html
 share/examples/honk/views/style.css
 @sample ${VARBASE}/honk/views/style.css
+share/examples/honk/views/xzone.html
+@sample ${VARBASE}/honk/views/xzone.html
 share/examples/honk/views/zonkers.html
 @sample ${VARBASE}/honk/views/zonkers.html
Index: pkg/README
===================================================================
RCS file: /cvs/ports/www/honk/pkg/README,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 README
--- pkg/README  30 Apr 2019 07:58:17 -0000      1.1.1.1
+++ pkg/README  17 Jun 2019 22:12:20 -0000
@@ -15,11 +15,18 @@ acme-client(1)
 # acme-client.conf(5)
 domain honk.example.com {
   domain key "/etc/ssl/private/honk.example.com.key"
-  domain certificate "/etc/ssl/honk.example.com.crt"
   domain full chain certificate "/etc/ssl/honk.example.com.fullchain.pem"
   sign with letsencrypt
 }
 
+Icon and favicon
+----------------
+
+honk# mkdir /var/www/htdocs/honk
+honk# ftp -o /var/www/htdocs/honk/icon.png https://honk.tedunangst.com/icon.png
+honk# ftp -o /var/www/htdocs/honk/favicon.ico \
+  https://honk.tedunangst.com/favicon.ico
+
 httpd(8)
 --------
 
@@ -30,6 +37,9 @@ server "honk.example.com" {
     root "/acme"
     request strip 2
   }
+  location "/*icon.*" {
+    root "/htdocs/honk"
+  }
   location "*" {
     block return 302 "https://honk.example.com$REQUEST_URI";
   }
@@ -37,7 +47,7 @@ server "honk.example.com" {
 
 honk# rcctl enable httpd
 honk# rcctl start httpd
-honk# acme-client -ADv honk.example.com
+honk# acme-client -v honk.example.com
 
 relayd(8)
 ---------
@@ -55,6 +65,8 @@ http protocol https {
     value "$SERVER_ADDR:$SERVER_PORT"
   match request header set "Connection" value "close"
 
+  match request path "/*icon.*" forward to <honk>
+
   tcp { sack, backlog 128 }
 }
 
@@ -63,6 +75,7 @@ relay wwwtls {
   protocol https
 
   forward to <honk> port $honk_port check tcp
+  forward to <honk> port http check http "/icon.png" code 200
 }
 
 relay wwwtls6 {
@@ -70,6 +83,7 @@ relay wwwtls6 {
   protocol https
 
   forward to <honk6> port $honk_port check tcp
+  forward to <honk> port http check http "/icon.png" code 200
 }
 
 honk# cd /etc/ssl
@@ -82,7 +96,6 @@ honk# ln -s honk.example.com.key 2001:0d
 honk# rcctl enable relayd
 honk# rcctl start relayd
 
-
 pf(4)
 -----
 
@@ -96,11 +109,12 @@ Usage
 
 Please see /usr/local/share/doc/honk
 
-honk# cd /var/honk && honk init
+honk# doas -su _honk
+honk$ umask 077; cd /var/honk && honk init
 listenaddr: localhost:31337
 servername: honk.example.com
-honk# touch /var/honk/savedinbox.json
-honk# chmod 660 honk.db savedinbox.json
+honk$ touch /var/honk/savedinbox.json
+honk$ exit
 
 honk# rcctl enable honk
 honk# rcctl start honk

Reply via email to