This pleases make update-plist:

 * sort stuff in sysd
 * don't use @dir; actually create the dir (and then sort, again ;-)

bumping REVISION because it's cheap; this could probably just use
REVISION-webd or even go without it, using the big hammer to err on the
safer/simple side.

ok?

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/devel/got/Makefile,v
diff -u -p -r1.129 Makefile
--- Makefile    23 Apr 2025 15:43:26 -0000      1.129
+++ Makefile    23 Apr 2025 18:11:00 -0000
@@ -5,6 +5,7 @@ COMMENT-gitwrapper =    invoke an appropria
 COMMENT-sysd =         game of trees system management daemon
 
 V =                    0.111
+REVISION =             0
 DISTNAME =             got-${V}
 PKGNAME-server =       gotd-${V}
 PKGNAME-webd =         gotwebd-${V}
@@ -51,5 +52,6 @@ FAKE_FLAGS =          MANDIR=${PREFIX}/man/man C
 post-install:
        @ln -s gitwrapper ${PREFIX}/bin/git-upload-pack
        @ln -s gitwrapper ${PREFIX}/bin/git-receive-pack
+       mkdir -p ${DESTDIR}/var/www/got/public
 
 .include <bsd.port.mk>
Index: pkg/PLIST-sysd
===================================================================
RCS file: /home/cvs/ports/devel/got/pkg/PLIST-sysd,v
diff -u -p -r1.1 PLIST-sysd
--- pkg/PLIST-sysd      23 Apr 2025 15:43:26 -0000      1.1
+++ pkg/PLIST-sysd      23 Apr 2025 18:11:38 -0000
@@ -14,7 +14,7 @@
 @bin libexec/gotsys-userkeys
 @bin libexec/gotsys-write-conf
 @man man/man5/gotsysd.conf.5
-@bin sbin/gotsysctl
-@bin sbin/gotsysd
 @man man/man8/gotsysctl.8
 @man man/man8/gotsysd.8
+@bin sbin/gotsysctl
+@bin sbin/gotsysd
Index: pkg/PLIST-webd
===================================================================
RCS file: /home/cvs/ports/devel/got/pkg/PLIST-webd,v
diff -u -p -r1.2 PLIST-webd
--- pkg/PLIST-webd      23 Apr 2025 15:43:26 -0000      1.2
+++ pkg/PLIST-webd      23 Apr 2025 18:11:38 -0000
@@ -1,6 +1,14 @@
 @newgroup _gotwebd:593
 @newuser _gotwebd:593:_gotwebd::Game of Trees Web 
Daemon:/nonexistent:/sbin/nologin
 @rcscript ${RCDIR}/gotwebd
+@mode 750
+@owner _gotwebd
+@group _gotwebd
+got/
+got/public/
+@mode
+@owner
+@group
 htdocs/gotwebd/
 htdocs/gotwebd/android-chrome-192x192.png
 htdocs/gotwebd/android-chrome-384x384.png
@@ -15,13 +23,6 @@ htdocs/gotwebd/gotweb.css
 htdocs/gotwebd/mstile-150x150.png
 htdocs/gotwebd/safari-pinned-tab.svg
 htdocs/gotwebd/site.webmanifest
-@mode 750
-@owner _gotwebd
-@group _gotwebd
-@dir got/public
-@mode
-@group
-@owner
 @cwd ${LOCALBASE}
 @man man/man5/gotwebd.conf.5
 @man man/man8/gotwebd.8

Reply via email to