Upgrade to v1.0.0
- Install the honk.8 man page only (suggested by tedu@)
- Update the package MESSAGE and README

changelog

### 1.0.0 Happy Honker

+ A great big honk composition text box.

+ More reliable search.

+ Secret tags.

+ Mentions link locally.

+ ::: spoiler markdown

+ Fix the bonk and zonk crash.

+ New threaded display order.

+ Improved search.

+ Tuned up superdeliverator.

+ Import from instagram.

+ Improve handling of some Page and Link objects.

+ Other federation fixes.

+ Search can now load external posts.

+ Some hypercard opengraph markup for previews.

Announcement:
https://honk.tedunangst.com/u/tedu/h/B8GfH6xzq81S5Qvv44
https://flak.tedunangst.com/post/honk-10
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/honk/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile    8 Apr 2023 16:56:52 -0000       1.22
+++ Makefile    10 Aug 2023 18:51:26 -0000
@@ -1,6 +1,6 @@
 COMMENT =              federated status conveyance
 
-DISTNAME =             honk-0.9.91
+DISTNAME =             honk-1.0.0
 CATEGORIES =           www
 
 HOMEPAGE =             https://humungus.tedunangst.com/r/honk
@@ -37,9 +37,9 @@ post-build:
 .endfor
 
 post-install:
+       ${INSTALL_MAN} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/docs/honk.8 \
+               ${PREFIX}/man/man8
 .for p in 1 3 5 7 8
-       ${INSTALL_MAN} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/docs/*.${p} \
-               ${PREFIX}/man/man${p}
        rm ${MODGO_WORKSPACE}/src/${ALL_TARGET}/docs/*.${p}
 .endfor
        ${INSTALL_DATA_DIR} ${DOCDIR}/toys
@@ -47,6 +47,9 @@ post-install:
                ${DOCDIR}/toys
        ${INSTALL_DATA} 
${MODGO_WORKSPACE}/src/${ALL_TARGET}/{LICENSE,README,docs/*} \
                ${DOCDIR}/
+       ${INSTALL_DATA_DIR} ${EXAMPLESDIR}/memes
+       ${INSTALL_DATA} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/memes/* \
+               ${EXAMPLESDIR}/memes/
        ${INSTALL_DATA_DIR} ${EXAMPLESDIR}/views
        ${INSTALL_DATA} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/views/* \
                ${EXAMPLESDIR}/views/
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/honk/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo    8 Apr 2023 16:56:52 -0000       1.13
+++ distinfo    10 Aug 2023 18:51:26 -0000
@@ -1,2 +1,2 @@
-SHA256 (honk-0.9.91.tgz) = +NFWTTMVdngWsC8/EIN2xJC/5C4naaAekk/YoA17wFk=
-SIZE (honk-0.9.91.tgz) = 516396
+SHA256 (honk-1.0.0.tgz) = +0W9HncN+51dRE9bWJU4cAfYOc5bxNAqPe4xY+4UFg0=
+SIZE (honk-1.0.0.tgz) = 626391
Index: pkg/MESSAGE
===================================================================
RCS file: /cvs/ports/www/honk/pkg/MESSAGE,v
retrieving revision 1.2
diff -u -p -r1.2 MESSAGE
--- pkg/MESSAGE 8 Apr 2023 16:56:52 -0000       1.2
+++ pkg/MESSAGE 10 Aug 2023 18:51:26 -0000
@@ -1 +1 @@
-The database has changed since version 0.9.8. See the pkg-readme.
+The database has changed since version 0.9.91. See the pkg-readme.
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/honk/pkg/PLIST,v
retrieving revision 1.12
diff -u -p -r1.12 PLIST
--- pkg/PLIST   8 Apr 2023 16:56:52 -0000       1.12
+++ pkg/PLIST   10 Aug 2023 18:51:26 -0000
@@ -7,13 +7,6 @@
 @bin bin/saytheday
 @bin bin/sprayandpray
 @bin bin/youvegothonks
-@man man/man1/hfcs.1
-@man man/man1/honk.1
-@man man/man1/intro.1
-@man man/man3/honk.3
-@man man/man3/vim.3
-@man man/man5/honk.5
-@man man/man7/activitypub.7
 @man man/man8/honk.8
 @mode 750
 @owner _honk
@@ -59,6 +52,9 @@ share/doc/honk/vim.3.html
 @sample ${LOCALSTATEDIR}/honk/docs/vim.3.html
 share/doc/pkg-readmes/${PKGSTEM}
 share/examples/honk/
+share/examples/honk/memes/
+share/examples/honk/memes/twowires.jpg
+@sample ${LOCALSTATEDIR}/honk/memes/twowires.jpg
 share/examples/honk/schema.sql
 @sample ${LOCALSTATEDIR}/honk/schema.sql
 share/examples/honk/views/
@@ -94,14 +90,14 @@ share/examples/honk/views/icon.png
 @sample ${LOCALSTATEDIR}/honk/views/icon.png
 share/examples/honk/views/login.html
 @sample ${LOCALSTATEDIR}/honk/views/login.html
+share/examples/honk/views/mastodon.css
+@sample ${LOCALSTATEDIR}/honk/views/mastodon.css
 share/examples/honk/views/misc.js
 @sample ${LOCALSTATEDIR}/honk/views/misc.js
 share/examples/honk/views/msg.html
 @sample ${LOCALSTATEDIR}/honk/views/msg.html
 share/examples/honk/views/onts.html
 @sample ${LOCALSTATEDIR}/honk/views/onts.html
-share/examples/honk/views/pleroma.css
-@sample ${LOCALSTATEDIR}/honk/views/pleroma.css
 share/examples/honk/views/style.css
 @sample ${LOCALSTATEDIR}/honk/views/style.css
 share/examples/honk/views/xzone.html
Index: pkg/README
===================================================================
RCS file: /cvs/ports/www/honk/pkg/README,v
retrieving revision 1.7
diff -u -p -r1.7 README
--- pkg/README  8 Apr 2023 16:56:52 -0000       1.7
+++ pkg/README  10 Aug 2023 18:51:26 -0000
@@ -36,7 +36,7 @@ Site CSS may be overridden by creating a
 ${LOCALSTATEDIR}/honk directory. Site JS may similarly be included by creating
 views/local.js. A restart is required after changes.
 
-e.g. add this snippet to open all links in honks in new tabs.
+e.g. add the following snippet to open all links in honks in new tabs
 
 function adjusttargets() {
         var els = document.querySelectorAll("p.content a")
@@ -60,10 +60,13 @@ honk# crontab -eu _honk
 MAILTO=root
 @daily ${LOCALBASE}/bin/honk cleanup
 
+Over time, blob.db can grow larger than strictly necessary. Run VACUUM to 
shrink
+honk$ sqlite3 blob.db vacuum
+
 Database Upgrade
 ================
 
-If you are upgrading from a version before 0.9.8, you will need to upgrade
+If you are upgrading from a version before 0.9.91, you will need to upgrade
 the database format:
 
 Stop the old honk process.
@@ -71,7 +74,9 @@ honk# rcctl stop honk
 
 Perform the upgrade with the upgrade command.
 honk# doas -su _honk
-honk$ umask 077; cd ${LOCALSTATEDIR}/honk && honk upgrade && exit
+honk$ umask 077; cd ${LOCALSTATEDIR}/honk && cp honk.db backup.db
+honk$ honk upgrade && honk cleanup
+honk$ exit
 
 Restart.
 honk# rcctl start honk

Reply via email to