pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/got
Module Name: pkgsrc
Committed By: vins
Date: Fri Apr 17 19:14:28 UTC 2026
Modified Files:
pkgsrc/devel/got: Makefile PLIST distinfo
Added Files:
pkgsrc/devel/got/patches: patch-tog_tog.c
Log Message:
devel/got: update to 0.124
# upstream changes (since 0.120)
* got 0.124; 2026-04-13
- make the chroot path directive in gotwebd.conf actually work
- fix a segfault in tog while using the & search feature
- plug a tree object leak in the gotd repo_write process
- fix gotd wrongly complaining about a missing gotsys.conf in pack files
- expand tabs in log messages displayed by tog diff to prevent misalignment
- prevent non-root users from blocking gotctl reload requests
- plug a memory leak in got-read-commit
- allow UTF-8 in gotsys.conf site owner names and repository descriptions
- reject non-UTF-8-encoded reference names in gotsys.conf
- make gotwebd display logged-in usernames in case of group-membership auth
* got 0.123; 2026-02-25
- make gotsys-write-conf configure clone-urls for all accessible repositories
- ensure visitors see the repository index page after logging into gotwebd
- make 'gotadmin cleanup' run even if HEAD points at a non-existent branch
- gotsys.conf.5 and got.1 wording and markup fixes
- replace obsolete tmppath pledge in got-notify-http with wpath+cpath & unveil
- avoid a malloc/free dance per parsed tree entry in got-read-pack
- stop using the pack delta-cache in got-read-pack, cache-less is faster here
- fix double-free in error path of the 'gotadmin pack' commit coloring phase
- store first-level object_idset hash table entries inline to avoid malloc/free
- avoid doing asprintf/free per tree entry in got_pack_load_tree_entries()
- avoid a per tree-entry memcpy() in got-read-pack enumerate_tree()
- avoid deltifying packed delta-base objects to speed up pack file generation
- cache fewer but larger deltas in delta-cache to speed up got-index-pack
* got 0.122; 2026-02-10
- fix gotd/gotsys-check trying to parse gotsys.conf from a non-zero file offset
- fix setting of a custom HEAD reference during repository creation by gotsysd
- tweak gotwebd's Content-Security-Policy (CSP) to allow javascript in websites
- fix CSP-violating URL-paths to gotwebd static assets in generated HTML
- document gotwebd's Content-Security-Policy in gotwebd.conf.5
- fix gotwebd serving websites from a branch other than HEAD
- add a per-repository clone_url option to gotwebd.conf
- make gotsys-write-conf set the clone_url option in gotwebd.conf
- make 'tog diff' indent log messages above patches for safety
- gotweb can now show SSH host key fingerprints for clone URLs and login hints
- make gotsys-write-conf add ssh host key fingerprints to /etc/gotwebd.conf
- only display the "Clone URL:" label if there is a clone URL to display
- fix overflow CSS for gotwebd clone URL
- scope gotwebd authentication cookies to gotweb URL root path instead of "/"
- make gotwebd display the authenticated user name while logged in
- provide a link which can be used to log out when logged into gotwebd
* got 0.121; 2026-01-31
- plug fulltext delta cache memory leaks; found by otto malloc
- make gotwebd serve its own static files if not they are not served by httpd
- avoid deleting local HEAD and "refs/got/" refs during 'got fetch -d'
- hint at PASSWDSKIP for security(8) in gotsh.1
- fix bogus 'got histedit' error when deleting files which do not exist on disk
- standardize -h option exit status code across all commands
- gotwebd: stop reading from client once request has been parsed; fixes hangs
- gotwebd: add support for serving static web sites from Git repositories
- gotwebd: fix login links when gotwebd is not served at the root URL location
- gotwebd: add support for custom mime types, like in httpd.conf
- gotwebd: allow for displaying non-default SSH port numbers in login hints
- gotwebd: prepend 64 bits of randomness to login token data
- gotwebd: stop gracefully when a TERM signal is received
- remove undocumented support for macros from gotsys.conf parse.y
- make it possible to set repository descriptions in gotwebd.conf
- add gotwebctl, a utility which can be used to control gotwebd
- fix gotsys.conf syntax check for empty hmac secrets
- allow gotsysd to configure and restart gotwebd
- remove gotsys-sshdconfig; gotsysd no longer modifies /etc/ssh/sshd_config
- improve syntax error handling in gotsysd.conf, gotwebd.conf, and gotd.conf
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/got/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/got/PLIST
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/got/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/devel/got/patches/patch-tog_tog.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/got/Makefile
diff -u pkgsrc/devel/got/Makefile:1.27 pkgsrc/devel/got/Makefile:1.28
--- pkgsrc/devel/got/Makefile:1.27 Sat Oct 11 18:37:20 2025
+++ pkgsrc/devel/got/Makefile Fri Apr 17 19:14:28 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2025/10/11 18:37:20 vins Exp $
+# $NetBSD: Makefile,v 1.28 2026/04/17 19:14:28 vins Exp $
-DISTNAME= got-portable-0.120
+DISTNAME= got-portable-0.124
PKGNAME= ${DISTNAME:S/-portable//}
CATEGORIES= devel
MASTER_SITES= https://gameoftrees.org/releases/portable/
@@ -20,6 +20,8 @@ USE_TOOLS+= pkg-config yacc ksh:test per
USE_CURSES= halfdelay resize_term wgetnstr wide
FAKE_NCURSES= yes
+CPPFLAGS+= -DOPENSSL_API_COMPAT=0x10100000 # HMAC_CTX_new()
+
PKG_GROUPS= _gotd
PKG_USERS= _gotd:_gotd
PKG_GECOS._gotd= Game of Trees Daemon
Index: pkgsrc/devel/got/PLIST
diff -u pkgsrc/devel/got/PLIST:1.4 pkgsrc/devel/got/PLIST:1.5
--- pkgsrc/devel/got/PLIST:1.4 Sun Dec 1 16:21:32 2024
+++ pkgsrc/devel/got/PLIST Fri Apr 17 19:14:28 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2024/12/01 16:21:32 vins Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/04/17 19:14:28 vins Exp $
bin/gitwrapper
bin/got
bin/gotadmin
@@ -32,11 +32,14 @@ man/man5/got.conf.5
man/man5/gotd-secrets.conf.5
man/man5/gotd.conf.5
man/man5/gotwebd.conf.5
+man/man7/got-portable.7
man/man8/gotctl.8
man/man8/gotd.8
+man/man8/gotwebctl.8
man/man8/gotwebd.8
sbin/cvg
sbin/gotd
+sbin/gotwebctl
sbin/gotwebd
share/doc/got/CHANGELOG
share/doc/got/README
Index: pkgsrc/devel/got/distinfo
diff -u pkgsrc/devel/got/distinfo:1.20 pkgsrc/devel/got/distinfo:1.21
--- pkgsrc/devel/got/distinfo:1.20 Sat Oct 11 18:37:20 2025
+++ pkgsrc/devel/got/distinfo Fri Apr 17 19:14:28 2026
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.20 2025/10/11 18:37:20 vins Exp $
+$NetBSD: distinfo,v 1.21 2026/04/17 19:14:28 vins Exp $
-BLAKE2s (got-portable-0.120.tar.gz) = 7d5ad9737ef69b71c0df00831ac3d3f7b6857160207b7b6c65d23365a70182e4
-SHA512 (got-portable-0.120.tar.gz) = 15ef4db91921195fd514b7c23f2563c0dbd9f6f54124a70fc013a1a553c587b5c279b3bd924297af2adc6441d6cdadefa7dbf3ca15b5db57cc20bbe51342299f
-Size (got-portable-0.120.tar.gz) = 1679016 bytes
+BLAKE2s (got-portable-0.124.tar.gz) = 2e0601e7d07065454256919695ca1c9f81e502696de974320ebc06d5ac04ce22
+SHA512 (got-portable-0.124.tar.gz) = 2363d570dd1fcae0c2b1235341249d6efa05a8c3fb14c706d113405d0a937eb5d1efdb9e1aacfeccab9132886dd084d430d9d9577d8ed5a538a8833dbc5dae8c
+Size (got-portable-0.124.tar.gz) = 1735728 bytes
SHA1 (patch-gotd_log.h) = f978464fe9a16d3b51051aed0611e73308251dfe
+SHA1 (patch-tog_tog.c) = 78d4c26c92f3958e3be02f60407354ae2752eb8c
Added files:
Index: pkgsrc/devel/got/patches/patch-tog_tog.c
diff -u /dev/null pkgsrc/devel/got/patches/patch-tog_tog.c:1.3
--- /dev/null Fri Apr 17 19:14:28 2026
+++ pkgsrc/devel/got/patches/patch-tog_tog.c Fri Apr 17 19:14:28 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-tog_tog.c,v 1.3 2026/04/17 19:14:28 vins Exp $
+
+The userptr for panels is of type (char*), so add appropriate
+type casts.
+
+--- tog/tog.c.orig 2026-04-17 18:18:57.654265899 +0000
++++ tog/tog.c
+@@ -928,7 +928,7 @@ view_open(int nlines, int ncols, int beg
+ }
+ view->panel = new_panel(view->window);
+ if (view->panel == NULL ||
+- set_panel_userptr(view->panel, view) != OK) {
++ set_panel_userptr(view->panel, (char*)view) != OK) {
+ view_close(view);
+ return NULL;
+ }
+@@ -1049,7 +1049,7 @@ view_border(struct tog_view *view)
+ if (panel == NULL)
+ return;
+
+- view_above = panel_userptr(panel);
++ view_above = (const struct tog_view *)panel_userptr(panel);
+ if (view->mode == TOG_VIEW_SPLIT_HRZN)
+ mvwhline(view->window, view_above->begin_y - 1,
+ view->begin_x, ACS_HLINE, view->ncols);
Home |
Main Index |
Thread Index |
Old Index