Thursday, June 27, 2019

Re: [UPDATE] www/honk

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 27 Jun 2019 21:48:48 -0000
@@ -2,13 +2,13 @@

COMMENT = federated status updater

-DISTNAME = honk-0.6.0
+DISTNAME = honk-0.7.3
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 27 Jun 2019 21:48:48 -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.3.tgz) = qLsq2tNqmcv6YuqbPuZQrMP2ORgnraSzpoGnLh0INqg=
+SIZE (honk-0.7.3.tgz) = 179922
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 27 Jun 2019 21:48:48 -0000
@@ -5,28 +5,31 @@
@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/emus/
+@sample ${VARBASE}/honk/memes/
@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
@sample ${VARBASE}/honk/views/combos.html
+share/examples/honk/views/funzone.html
+@sample ${VARBASE}/honk/views/funzone.html
share/examples/honk/views/header.html
@sample ${VARBASE}/honk/views/header.html
share/examples/honk/views/honk.html
@@ -41,5 +44,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 27 Jun 2019 21:48:48 -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,14 +37,17 @@ server "honk.example.com" {
root "/acme"
request strip 2
}
+ location "/*icon.*" {
+ root "/htdocs/honk"
+ }
location "*" {
- block return 302 "https://honk.example.com$REQUEST_URI"
+ block return 302 "https://$HTTP_HOST$REQUEST_URI"
}
}

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
Update to v0.7.3

Changelog:
-- 0.7.3
+ Better fedicompat so bonks are visible to pleroma followers.
-- 0.7.2
+ Add the funzone. Minor other UI tweaks.

On 6/21/19, Horia Racoviceanu <horia@racoviceanu.com> wrote:
> Update to v0.7.1
>
> Changelog:
> + Fix bug preventing unfollow from working.
>
> On 6/18/19, Horia Racoviceanu <horia@racoviceanu.com> wrote:
>> - add memes directory
>>
>> On 6/18/19, Horia Racoviceanu <horia@racoviceanu.com> wrote:
>>> - add emus directory
>>>
>>> On 6/17/19, Horia Racoviceanu <horia@racoviceanu.com> wrote:
>>>> 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 <aaron@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
>>>>>
>>>>
>>>
>>
>

No comments:

Post a Comment