patches/honk.diff

103 lines
3.3 KiB
Diff

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/honk/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile 6 Nov 2021 10:11:05 -0000 1.17
+++ Makefile 13 Feb 2022 17:47:25 -0000
@@ -2,9 +2,8 @@
COMMENT = federated status conveyance
-DISTNAME = honk-0.9.6
+DISTNAME = honk-0.9.7
CATEGORIES = www
-REVISION = 0
HOMEPAGE = https://humungus.tedunangst.com/r/honk
@@ -31,10 +30,14 @@ DOCDIR ?= ${PREFIX}/share/doc/honk
EXAMPLESDIR = ${PREFIX}/share/examples/honk
post-build:
-.for toy in autobonker gettoken saytheday sprayandpray youvegothonks
+.for toy in autobonker saytheday sprayandpray youvegothonks
${MODGO_CMD} build ${MODGO_FLAGS} -o ${MODGO_WORKSPACE}/bin/${toy} \
${MODGO_WORKSPACE}/src/${ALL_TARGET}/toys/${toy}.go
.endfor
+.for toy2 in gettoken wonkawonk
+ ${MODGO_CMD} build ${MODGO_FLAGS} -o ${MODGO_WORKSPACE}/bin/${toy2} \
+ ${MODGO_WORKSPACE}/src/${ALL_TARGET}/toys/{${toy2}.go,fetch.go}
+.endfor
post-install:
.for p in 1 3 5 7 8
@@ -45,7 +48,7 @@ post-install:
${INSTALL_DATA_DIR} ${DOCDIR}/toys
${INSTALL_DATA} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/toys/README \
${DOCDIR}/toys
- ${INSTALL_DATA} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/{README,docs/*} \
+ ${INSTALL_DATA} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/{LICENSE,README,docs/*} \
${DOCDIR}/
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/views
${INSTALL_DATA} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/views/* \
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/honk/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo 6 Apr 2021 14:35:14 -0000 1.10
+++ distinfo 13 Feb 2022 17:47:25 -0000
@@ -1,2 +1,2 @@
-SHA256 (honk-0.9.6.tgz) = qwMbuVknAefRPG5CroJzcSOoUXeuqWDrBT5aQ1Rn50c=
-SIZE (honk-0.9.6.tgz) = 518014
+SHA256 (honk-0.9.7.tgz) = t6EM5E98qvlnq6Y6vd21MvPBrWpkmo4qXdgNEUAeF7M=
+SIZE (honk-0.9.7.tgz) = 522993
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/honk/pkg/PLIST,v
retrieving revision 1.7
diff -u -p -r1.7 PLIST
--- pkg/PLIST 16 Jan 2021 23:42:57 -0000 1.7
+++ pkg/PLIST 13 Feb 2022 17:47:25 -0000
@@ -7,6 +7,7 @@
@bin bin/honk
@bin bin/saytheday
@bin bin/sprayandpray
+@bin bin/wonkawonk
@bin bin/youvegothonks
@man man/man1/hfcs.1
@man man/man1/honk.1
@@ -28,6 +29,7 @@
@owner
@group
share/doc/honk/
+share/doc/honk/LICENSE
share/doc/honk/README
share/doc/honk/activitypub.7.html
@sample ${VARBASE}/honk/docs/activitypub.7.html
@@ -98,5 +100,7 @@ share/examples/honk/views/pleroma.css
@sample ${VARBASE}/honk/views/pleroma.css
share/examples/honk/views/style.css
@sample ${VARBASE}/honk/views/style.css
+share/examples/honk/views/wonk.js
+@sample ${VARBASE}/honk/views/wonk.js
share/examples/honk/views/xzone.html
@sample ${VARBASE}/honk/views/xzone.html
Index: pkg/honk.rc
===================================================================
RCS file: /cvs/ports/www/honk/pkg/honk.rc,v
retrieving revision 1.6
diff -u -p -r1.6 honk.rc
--- pkg/honk.rc 6 Nov 2021 10:11:05 -0000 1.6
+++ pkg/honk.rc 13 Feb 2022 17:47:25 -0000
@@ -9,7 +9,7 @@ daemon_user="_honk"
. /etc/rc.d/rc.subr
-pexp="/usr/local/bin/honk .*"
+pexp="${TRUEPREFIX}/bin/honk .*"
rc_bg=YES
rc_reload=NO