CVS: cvs.openbsd.org: ports

2024-04-23 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2024/04/23 05:34:33

Modified files:
devel/got  : Makefile distinfo 
devel/got/pkg  : PLIST-main PLIST-server 

Log message:
update to got 0.98

see git repository history for per-change authorship information
- speed up got tag -l by caching timestamps in got_ref_cmp_tags()
- provide a macro for vi(1) path for use by -portable at compile time
- avoid a rename/stat race when gotd installs a new pack and then uses it
- make 'got ref -l' output consistent when packed references exist
- make 'got ref -l' work consistently when a reference argument is given
- add initial support for notifications to gotd(8), via email and http/json
- display process title in syslog when a gotd child process exits
- hide a pointless end-of-file error on imsg pipe in libexec helpers
- plug a memory leak in 'got blame'
- add support for topological sorting to the commit graph
- add log -t option which enables topological sorting of commits
- make 'got rebase' find a merge base with topological sorting if needed
- call unveil(2) earlier during import, commit, histedit, and tag commands
- make 'got status' display interrupted rebase, histedit, and merge operations
- got.1: escape Eq since it's a GNU roff macro, to fix rendering in -portable
- regress: use seq instead of jot, for portability reasons
- get rid of unnecessary "dns inet" pledge promises while fetching via git://
- add http clone/fetch support using a new got-fetch-http helper
- drop git+ssh protocol name from documentation; Git has done the same
- require -R option for staging or unstaging directory contents
- got patch: fix applying on empty files



CVS: cvs.openbsd.org: ports

2024-04-17 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2024/04/17 15:55:32

Modified files:
games/zelda3   : Makefile distinfo 
games/zelda3/patches: patch-zelda3_ini 
games/zelda3/pkg: PLIST 
games/zelda3-data: Makefile distinfo 
Added files:
games/zelda3/patches: patch-src_main_c 
Removed files:
games/zelda3/patches: patch-main_c 

Log message:
Update to games/zelda3 version 0.3.

This version supports game assets of non-US releases but our zelda3-data
port is not yet set up to handle them. Help would be welcome from people
who own the game in supported non-English languages.

While here, strip CR from files which get patched to avoid CRLF in patch-*.

ok bentley@



CVS: cvs.openbsd.org: ports

2024-04-13 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2024/04/13 10:24:46

Modified files:
emulators/citra: Makefile distinfo 
emulators/citra/patches: patch-CMakeLists_txt 
emulators/citra/pkg: PLIST 
Added files:
emulators/citra/patches: 
 
patch-src_common_dynamic_library_dynamic_library_cpp 
Removed files:
emulators/citra/patches: patch-externals_CMakeLists_txt 
 
patch-externals_dynarmic_src_dynarmic_backend_exception_handler_posix_cpp 
emulators/citra/pkg: PFRAG.x86 

Log message:
Update citra to the most recent available snapshot (2104).

ok sthen@



CVS: cvs.openbsd.org: ports

2024-03-11 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2024/03/11 02:22:32

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.97

see git repository history for per-change authorship information
- improve error messages shown upon execv failure
- fix 'gotadmin pack' crash upon Ctrl-C due to invalid imsg_free()
- significantly speed up deltification of large files
- improve error handling in got_privsep_recv_imsg()



CVS: cvs.openbsd.org: ports

2024-02-24 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2024/02/24 05:46:33

Modified files:
games/chiaki   : Makefile 

Log message:
games/chiaki requires devel/py-setuptools at build-time

Fixes ModuleNotFoundError: No module named 'pkg_resources' during build.

hint from landry@, thanks!



CVS: cvs.openbsd.org: ports

2024-02-24 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2024/02/24 01:04:52

Modified files:
games/chiaki   : Makefile distinfo 

Log message:
Update to Chiaki 2.2.0.

Fixes the non-working PS4 controller touchpad button issue.
Pressing T on the keyboard to send a touchpad press event is
longer required.

Tested over qwx(4) against a PS4 on the same wifi network.



CVS: cvs.openbsd.org: ports

2024-02-23 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2024/02/23 22:07:53

Modified files:
games/chiaki   : Makefile 

Log message:
fix 'make update-patches' target in games/chiaki

Set WRKDIST instead of WRKSRC to avoid this error from update-patches:
WRKDIST=/usr/ports/pobj/chiaki-2.1.1/chiaki-v2.1.1-src does not exist

Hint from thfr@, thanks!



CVS: cvs.openbsd.org: ports

2024-02-13 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2024/02/13 13:58:43

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.96

see git repository history for per-change authorship information
- gotwebd: add foldable commit briefs
- gotwebd: fix (again) the styling for the next/prev buttons
- gotwebd: add knob for the number of tags and commits in the summary page
- gotwebd: remove PAGE handling
- gotwebd: retire max_repos setting
- gotwebd: guard against missig folder and file parameter in BLOB and BLAME
- gotwebd: improve copy-paste from BLOB pages
- gotwebd: fix colour of target lines in dark mode CSS
- gotwebd.conf.5: show defaults, improve EXAMPLES
- gotwebd.8: improve EXAMPLES sections
- fix logging during gotwebd shutdown
- plug several memory leaks in tog
- plug object id queue leak when iterating pack index files
- ensure tmp file is closed and fix UB in diff error path
- do not crash when a meta-data file in the .got directory is empty
- make the gotd auth process provide the user's account name for later use
- avoid opening objects in the gotd session process for no reason
- use imsg_get_fd() instead of imsg->fd everywhere
- tolerate remotes without urls in git config file for interop with git-annex
- plug some fd leaks in the fdopen{,dir} error paths
- log -b: handle merge commits unrelated to requested changed path history
- fix use of uninitialized variable in update_blob()
- plug memory leak in got_pack_dump_delta_chain_to_file()
- never write accum_buf on error in got_pack_dump_delta_chain_to_file()



CVS: cvs.openbsd.org: ports

2024-02-13 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2024/02/13 13:58:12

Modified files:
devel/got  : Tag: OPENBSD_7_4 Makefile distinfo 

Log message:
keep the 7.4 branch at got-0.95; got-0.96 only compiles on -current



CVS: cvs.openbsd.org: ports

2024-02-13 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2024/02/13 13:46:37

Modified files:
devel/got  : Tag: OPENBSD_7_4 Makefile distinfo 

Log message:
update to got 0.96

see git repository history for per-change authorship information
- gotwebd: add foldable commit briefs
- gotwebd: fix (again) the styling for the next/prev buttons
- gotwebd: add knob for the number of tags and commits in the summary page
- gotwebd: remove PAGE handling
- gotwebd: retire max_repos setting
- gotwebd: guard against missig folder and file parameter in BLOB and BLAME
- gotwebd: improve copy-paste from BLOB pages
- gotwebd: fix colour of target lines in dark mode CSS
- gotwebd.conf.5: show defaults, improve EXAMPLES
- gotwebd.8: improve EXAMPLES sections
- fix logging during gotwebd shutdown
- plug several memory leaks in tog
- plug object id queue leak when iterating pack index files
- ensure tmp file is closed and fix UB in diff error path
- do not crash when a meta-data file in the .got directory is empty
- make the gotd auth process provide the user's account name for later use
- avoid opening objects in the gotd session process for no reason
- use imsg_get_fd() instead of imsg->fd everywhere
- tolerate remotes without urls in git config file for interop with git-annex
- plug some fd leaks in the fdopen{,dir} error paths
- log -b: handle merge commits unrelated to requested changed path history
- fix use of uninitialized variable in update_blob()
- plug memory leak in got_pack_dump_delta_chain_to_file()
- never write accum_buf on error in got_pack_dump_delta_chain_to_file()



CVS: cvs.openbsd.org: ports

2023-12-29 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/12/29 06:47:27

Modified files:
devel/subversion: Makefile distinfo 
Removed files:
devel/subversion/patches: 
  
patch-subversion_bindings_swig_include_proxy_swg 

Log message:
Update to Subversion 1.14.3

Also remove the BDB-backend test-run from our port's regress target.
The BDB backend has been deprecated for years and has become irrelevant.

ok kn@



CVS: cvs.openbsd.org: ports

2023-12-08 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/12/08 06:03:22

Modified files:
devel/got  : Tag: OPENBSD_7_4 Makefile distinfo 

Log message:
7.4-stable: update to got 0.95

Fixes a regression from the 0.94 update where the 'chroot' option in
gotwebd.conf was broken. Also adds more gotwebd features.



CVS: cvs.openbsd.org: ports

2023-12-08 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/12/08 06:00:22

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.95

see git repository history for per-change authorship information
- plug memory leaks in checkout, update, and status commands
- gotwebd: repair the "chroot" option in /etc/gotwebd.conf; regression from 0.94
- gotwebd: add breadcumbs to navigate paths in tree/blob/commits/blame views
- gotwebd: add a dark mode, enabled based on web-browser preferences
- gotwebd: add History/Blob/Raw-File links to blob and blame views
- gotwebd: adjust blob line numbers for text-mode browsers
- gotwebd: make the blame view work in text-mode browsers
- gotwebd: add a Patch action to serve diffs in plain text
- gotwebd: add Patch and Tree links to the diff view
- gotwebd: display README files in tree views
- gotwebd: display a tree-listing and README files in the summary view
- gotwebd: render less tags in the summary page to make space for other content
- gotwebd: swap order of tags and branch listings on the summary page
- gotwebd: display 'More' link instead of 'prev/next' links in the tag listing



CVS: cvs.openbsd.org: ports

2023-12-06 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/12/06 14:41:22

Modified files:
devel/got  : Tag: OPENBSD_7_4 Makefile distinfo 
Removed files:
devel/got/patches: Tag: OPENBSD_7_4 patch-lib_repository_c 

Log message:
update devel/got to 0.94 in 7.4-stable

In particular, this brings in several important gotwebd fixes.

There are two backwards-incompatible syntax changes in gotwebd.conf:
- gotwebd.conf: drop support for inferring listen addresses via interface names
- gotwebd.conf: use listen * instead of listen "" to listen on any address
This file is entirely optional, and the bug fixes we get are worth the
potential inconvenience during upgrades.



CVS: cvs.openbsd.org: ports

2023-11-29 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/11/29 08:18:14

Modified files:
devel/got  : Makefile distinfo 
Removed files:
devel/got/patches: patch-lib_repository_c 

Log message:
update to got 0.94

see git repository history for per-change authorship information
- in diff error message, say what was being diffed
- gotwebd.css: vertically align briefs age and author
- honor fetch_all_branches configuration again
- tog: switch back to patience diff algorithm by default for pretty diffs
- gotwebd: render all the datetimes in a time tag
- slightly reword 'got merge' documentation to hopefully be more clear
- make 'tog diff' release the work-tree lock earlier
- got patch: handle embedded NULs in lines of patch files with binary data
- simplify usage of the 'mesg' histedit script command
- fix some fd leaks in error paths and avoid some double-close()
- use ibuf_fd_set() instead of reaching into the ibuf struct
- gotwebd: remove dead ipproto handling in host() and host_if()
- allow setting variables in gotd.conf syntax
- fix gotwebd unveil permissions; gotwebd now runs entirely read-only
- reduce gotwebd pledges to the minimum currently required
- gotwebd.conf: drop support for inferring listen addresses via interface names
- gotwebd.conf: use listen * instead of listen "" to listen on any address
- gotwebd: get rid of got_sockaddr.[ch] usage to help -portable
- allow gotd repo read/write processes to max out data-size resource limits
- gotwebd: replace proc.c with much simpler code
- gotwebd: don't chdir to / before spawning the child processes
- remove the quite ineffective gotwebd repository cache to fix stability issues
- fix memory leak on error in got_privsep_recv_painted_commits()
- gotwebd: fix broken signal catching
- detect concurrent changes to the set of pack files while matching object IDs



CVS: cvs.openbsd.org: ports

2023-11-13 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/11/13 04:03:19

Modified files:
www/kcaldav: Tag: OPENBSD_7_4 Makefile distinfo 
www/kcaldav/pkg: Tag: OPENBSD_7_4 PLIST README 
Added files:
www/kcaldav/patches: Tag: OPENBSD_7_4 patch-kcaldav_c 
Removed files:
www/kcaldav/patches: Tag: OPENBSD_7_4 patch-Makefile 

Log message:
7.4-stable: update to kcaldav 0.2.4

Fixes interop issues with Thunderbird lightning.
Logging is now configurable at run-time.

ok landry@



CVS: cvs.openbsd.org: ports

2023-11-13 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/11/13 04:00:32

Modified files:
www/kcaldav: Makefile distinfo 
www/kcaldav/pkg: PLIST README 
Added files:
www/kcaldav/patches: patch-kcaldav_c 
Removed files:
www/kcaldav/patches: patch-Makefile 

Log message:
update to kcaldav 0.2.4

Fixes interop issues with Thunderbird lightning.
Logging is now configurable at run-time.

ok landry@



CVS: cvs.openbsd.org: ports

2023-09-29 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/09/29 06:17:08

Modified files:
shells/nsh : Makefile distinfo 
shells/nsh/pkg : PLIST 

Log message:
update to nsh 1.2

ok sthen, Tom Smyth (MAINTAINER)



CVS: cvs.openbsd.org: ports

2023-09-18 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/09/18 06:50:21

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.93

see git repository history for per-change authorship information
- show out-of-memory errors from zlib inflate() and deflate() calls
- make 'got fetch' and 'got send' release the work tree lock earlier
- tog: add basic regress for log limit and log search
- fix "no git repository found" on locked work trees; regression from 0.91
- gotwebd: CSS improvements, looks much better in text-based browsers
- gotwebd: don't lose track of the current file during commit log pagination
- gotwebd: move buffering from the fastcgi layer to the template layer
- got diff: fix "No newline at end of file" showing up where not expected
- make 'got send' detect connections unexpectedly closed by server
- fix detection of modified files in fresh work trees created with checkout -E
- gotd: fix bogus "gotsh: operation timed out" errors; regression from 0.92



CVS: cvs.openbsd.org: ports

2023-09-05 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/09/05 07:36:20

Modified files:
emulators/mednafen: Makefile 
Added files:
emulators/mednafen/patches: patch-src_snes_src_lib_libco_amd64_c 
patch-src_snes_src_lib_libco_settings_h 

Log message:
Port a recent bug fix from emulators/higan to emulators/mednafen.
This fixes a segmentation fault in the snes core on startup.

This fix is amd64-only. Similar fixes may be needed in other
arch-specific files in mednafen's snes/src/lib/libco directory.

Original higan fix by mlarkin@ and bentley@

ok mlarkin@



CVS: cvs.openbsd.org: ports

2023-09-02 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/09/02 02:45:34

Modified files:
sysutils/firmware/iwx: Makefile distinfo 

Log message:
update iwx firmware to 2023-06-29

These should be safe drop-in updates. Let us know if anything breaks.

prelimenary testing by gsoares and myself on AX200/AX201
ok sthen



CVS: cvs.openbsd.org: ports

2023-08-29 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/08/29 07:35:54

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.92

- allow modified files to be deleted during merges if content exists in repo
- disallow overlapping repo and work tree in 'got checkout'
- speed up opening of the work tree's file-index
- speed up deltification by resizing block hash tables less often
- add support for commit keywords to 'got log -x'
- fix 'got log -dPp' diffstat duplication bug
- improve out-of-date reporting accuracy in 'got branch -l' output
- document that the log -d option implies log -P
- prevent file-index corruption via deletion of missing locally-added files
- prevent a double-free in got_worktree_commit
- fix regression from 0.76: 'got diff' output matches /usr/bin/diff -p again
- gotsh: do not set POLLOUT flag if there is no data to send, for portability
- gotd: stop logging "unexpected end of file" when client decides to disconnect
- make gotd flush pending messages before disconnecting the client upon success
- gotwebd: fix bogus modification times displayed when show_repo_age is off
- tog: show work tree base commit marker in the log view
- tog: fix an infinite loop that could be triggered via log view search
- plug a memory leak in tog's blame view
- tog regress: prevent crash in ncurses when Ctrl-C is used to cancel test runs
- tog regress: fix occasional failures due to commit timestamp mismatch
- regress: nix 'set -A' kshism from tests for portability



CVS: cvs.openbsd.org: ports

2023-07-19 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/07/19 08:18:14

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.91

see git repository history for per-change authorship information
- use _POSIX_HOST_NAME_MAX from  for portability
- add merge -M option which tells 'got merge' not to fast-forward a reference
- make gitwrapper ignore "permission denied" errors for repository paths
- add cvg(1), a CVS-like Git client; still WIP and not installed by default yet
- add initial implementation of 'gotadmin dump' which creates Git bundle files
- add initial implementation of 'gotadmin load' which loads Git bundle files
- gotadmin cleanup: consider object reachability while cleaning packfiles
- gotadmin cleanup: don't delete pack files that are too young
- prevent useless EEXIST errors filling up the global custom error array
- abort histedit if the user quits the editor without saving the script
- fix double-free in tog blame view error path
- add support for keywords as  arguments to got and tog



CVS: cvs.openbsd.org: ports

2023-06-23 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/06/23 09:01:50

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.90

see git repository history for per-change authorship information
- fix segfault in 'got diff' when a root commit is passed to -c
- make 'got status' error out as intended when invoked in a repository
- make 'got tree /' succeed in a work tree
- make 'got add *' more forgiving about versioned paths on the command line
- make 'got merge' forward branches if there are no changes to merge
- prevent 'got merge' from creating commits on branches outside "refs/heads/"
- got, tog: show reference names that begin with the prefix "HEAD" as intended
- gotd: unveil repositories read-only in session process while serving fetches
- gotd: avoid a "failed to push some refs" error from no-op 'git push'
- gotd: avoid re-writing existing ref files when a ref-update is a no-op
- gotd: show relevant commit hashes in error message if incoming pushes collide
- gotd: wait asynchronously for child process termination
- gotwebd: avoid the slowness of needlessly traversing full commit history
- gotwebd.conf: disallow 1 for max_commits_display and report range errors
- gotwebd.conf: disallow yes/no for booleans to avoid accidental "on" vs. "no"
- gotwebd: avoid "gotweb_render_index: repo.git: unexpected end of file" error
- gotwebd: simplify the matching of requests against servers in gotwebd.conf
- ignore files with invalid reference names while reading references from disk
- teach 'gotadmin cleanup' to remove redundant pack files
- grab gc.pid.lock file during cleanup operation to block 'git gc' from running



CVS: cvs.openbsd.org: ports

2023-06-22 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/06/22 06:01:41

Modified files:
sysutils/firmware/iwm: Makefile distinfo 

Log message:
Update iwm(4) firmware images to release 2023-03-30 (affects 9k devices only).

test + ok sthen@



CVS: cvs.openbsd.org: ports

2023-06-22 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/06/22 06:00:18

Modified files:
sysutils/firmware/iwx: Makefile distinfo 

Log message:
Update iwx(4) -77 firmware images to release 2023-03-30.

Tested:
ax200: jmc, stsp
ax210: kevlo, mlarkin, lraab
ax211: kn

ok sthen@



CVS: cvs.openbsd.org: ports

2023-06-05 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/06/05 05:21:11

Modified files:
devel/got  : Makefile distinfo 
Removed files:
devel/got/patches: patch-gotd_gotd_c 

Log message:
update to got 0.89

see git repository history for per-change authorship information
- gotd: return early after disconnect on auth event error instead of crashing
- make 'got patch' display statistics about files with conflicts and rejects
- make 'got diff' not treat \r\n line endings as special
- fix test failures in test_blame_lines_shifted_skip on certain times of day
- show reference labels next to commit messages in tog log view
- some gotwebd refactoring related to handling of file descriptors
- gotwebd: lower log priority of unexpected disconnections
- gotwebd: avoid needless double fseek()
- fix the size of gotwebd's tempfiles array; exposed by errors from ftruncate()
- simplify ancestry checks in checkout, update, rebase, and merge commands
- make gitwrapper not fail if programs it wants to run do not exist on disk
- stop showing backup references in the tog log and diff views
- consistently use ten Xs in mkstemp(3) templates
- only delete empty directories which appear in arguments to 'got rm'
- simplify parsing of host names and IP addresses in gotwebd's parse.y
- make 'got merge' refuse to run if a merge is in progress
- make 'got merge -c' fail even if new changes only affect unrelated paths



CVS: cvs.openbsd.org: ports

2023-06-01 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/06/01 01:31:08

Modified files:
net/serf   : Makefile distinfo 
Removed files:
net/serf/patches: patch-SConstruct patch-build_check_py 

Log message:
Update to Serf 1.3.10.

Two backported upstream patches can now go away.

ok sthen@



CVS: cvs.openbsd.org: ports

2023-05-01 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/05/01 07:33:04

Modified files:
devel/got  : Makefile 
Added files:
devel/got/patches: patch-gotd_gotd_c 

Log message:
Pull in a gotd segfault fix committed upstream by Mark Jamsek.

gotd: return early after disconnect on auth event error
This fixes a segv reported by Mikhail.



CVS: cvs.openbsd.org: ports

2023-04-29 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/04/29 06:30:07

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.88

- tog: always use alternate charset for vertical/horizontal line
- several tog regression test suite improvements
- run the tog tests as part of the default regress set
- tog: resize log view if toggling fullscreen from child view
- when finding changed paths iterate tree entries in on-disk order for speed
- cache fulltext data in delta cache to improve speed with long delta chains
- gotwebd: fix logic error in gotweb_render_index



CVS: cvs.openbsd.org: ports

2023-04-20 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/04/20 08:51:46

Modified files:
devel/git  : Makefile 
devel/git/pkg  : PLIST-main 

Log message:
make devel/git,-main depend on gitwrapper provided by devel/got

gitwrapper resolves path namespace conflicts when both gotd and git
are installed. The commands git-upload-pack and git-receive-pack are
redirected either to stock Git tooling in /usr/local/libexec/git/
or to gotsh(1) if the repository is listed in /etc/gotd.conf.

ok sthen@



CVS: cvs.openbsd.org: ports

2023-04-20 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/04/20 08:51:10

Modified files:
devel/got  : Makefile distinfo 
Added files:
devel/got/pkg  : DESCR-gitwrapper PLIST-gitwrapper 

Log message:
update to got-0.87

see git repository history for per-change authorship information
- add gitwrapper(1)
- tog: resume blame and diff search from the first line
- fix crash in got log due to NULL-deref in got_object_blob_close
- add support for protecting references against 'got send -f' to gotd
- fix spurious empty packfile error from gotd when rewinding a branch
- tog: implement automated test harness
- update the base commit ID of unmodified files if the blob ID matches
- fix rebase/histedit -a leaving some files on the temporary branch
- make 'got revert' and 'got rm' work on non-existent directories
- got: flush stdout before printing the error in main()
- when aborting rebase/histedit/merge, unlink files added by merged changes
- fix 'got commit' using a bad parent commit ID when worktree is out-of-date
- allow no-op merge commits to be created
- fix sending merge commits
- show how to fetch a pull request in got.1 pull request example section

ok sthen@



CVS: cvs.openbsd.org: ports

2023-03-14 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/03/14 08:22:56

Modified files:
games/zelda3   : Makefile distinfo 
games/zelda3-data: Makefile distinfo 
Removed files:
games/zelda3/patches: patch-types_h 

Log message:
update games/zelda3 to new upstream tag "0.2-beta"

Compared to our previous snapshot this fixes known gameplay glitches and bugs.



CVS: cvs.openbsd.org: ports

2023-03-12 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/03/12 09:09:38

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.86

see git repository history for per-change authorship information
- fix race condition on NFS where log-message file's modify time may change
- fix gotd sending too large pack files in some cases
- support histedit fold operations which delete a file and then add it again
- make diffing files which changed into dirs and vice-versa possible
- handle files changing into directories during 'got update'
- add quoting to repository path sent to server for git-shell compatibility
- gotwebd: handle short reads and timeouts
- gotwebd: provide gotweb_render_page() entrypoint for all pages
- gotwebd: reply with non-200 HTTP status code on error



CVS: cvs.openbsd.org: ports

2023-03-08 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/03/08 15:20:25

Modified files:
sysutils/firmware/iwm: Makefile distinfo 
sysutils/firmware/iwx: Makefile distinfo 

Log message:
Update firmware for iwm(4) 9k and all iwx(4) devices to new images
published in the iwlwifi linux-firmware Git repository on March 6.

The -67 iwx images we were using are no longer part of the latest iwlwifi
linux-firmware snapshots. Keep them for now by fetching the distfile we
have been using separately and extracing the old images from it.

with help from and ok kn@ sthen@

Tested:
9260: stsp
9560: gnezdo
ax200: stsp
ax201: stsp
ax210: ian, stsp



CVS: cvs.openbsd.org: ports

2023-03-07 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/03/07 11:57:25

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.85

see git repository history for per-change authorship information
- gotwebd: add missing colon in diff view (patch by Josiah Frentsos)
- more preparation for eventual sha256 object ID support
- add test coverage for more tree conflict cases during merges
- fall back to vi(1) instead of ed(1) if neither EDITOR nor VISUAL are set
- in got.1, clarify what users are expected to do during 'histedit -e'
- gotd requires a config file; don't fail silently when it cannot be read
- regress: replace unportable ln -h option with rm && ln
- regress: make cmdline tests POSIX /bin/sh compatible
- gotd: remove more (all?) double process names in log
- don't pass -d to yacc during the build (patch by Josiah Frentsos)
- regress: override locale settings to force the "C" locale
- regress: replace "sed -i" with ed(1) for portable in-place editing
- fix gotd sometimes reading reused deltas from wrong pack file



CVS: cvs.openbsd.org: ports

2023-02-22 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/02/22 15:33:32

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.84

too many changes to list all here; see git repository history for more;
and see git repository history for per-change authorship information
- add 'got histedit -d' flag to drop all commits
- show worktree UUID in backout/cherrypick -l output
- several changes in preparation for eventual SHA256 object ID support
- make 'got rebase' work when the to-be-rebased branch has no parent commit
- fix bad line-wrapping in tog ref and tree views
- add horizontal scrolling support to tog ref and tree views
- create .pack and .idx files with filemode 0444, like Git does
- make 'got fetch' fetch the work tree's current branch as an implicit fallback
- improve 'got fetch' behaviour when work tree's branch is not on server
- gotwebd: fix briefs/tags navigation overlap
- drop double process name from some gotd logs
- tog: fix high CPU usage issue after starting search (reported by Mikhail)
- fix gotd exiting with abnormal error during client connection teardown
- fix gotd segfault in libevent while disconnecting clients
- tweak 'got commit' log-message validation: now checks timestamp and size > 0
- gotwebd: abort blame if the client disconnects midway through
- make 'got fetch -b branch' only fetch the named branch
- got/tog/gotadmin: call pledge(2) earlier where possible
- no longer error out if redundant "got commit -A $GOT_AUTHOR" option is used
- add 'gotadmin pack' -D flag to force generation of ref-deltas in pack files
- make 'got fetch' update cached HEAD symref if it has changed in remote repo
- add commit/histedit/merge/rebase -C option to commit unresolved conflicts
- make 'got status' check for merge conflict markers on newly added lines only
- fix read/write out of bounds in gitconfig file parser (reported by James Cook)
- fix "got fetch" hanging if remote repo is out-of-date (reported by James Cook)
- ignore patterns with trailing "/" now match directories (suggested by Lucas)
- make 'got merge' honour author setting in gitconfig (reported by James Cook)
- sync default values shown in gotwebd.conf(5) EXAMPLES section
- fix parsing of indented comments in gitconfig file (reported by James Cook)
- fix tog diff between arbitrary commits; regression from 0.80



CVS: cvs.openbsd.org: ports

2023-01-30 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/01/30 02:21:44

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.83

- fix usage display error in got merge command (patch by Mikhail)
- fix missing commits in pack files created with packed object enumeration
- avoid traversing enumerated commits more than once in got-read-pack
- fix ulimit-related test failures on sparc64 (tracey)
- got commit editor now shows log messages from backout and cherrypick (jamsek)
- new cherrypick/backout -l option to show recorded log messages (jamsek)
- new cherrypick/backout -X option to discard recorded log messages (jamsek)
- gotd: implement the delete-refs capability (op)
- fix histedit -m on a commit which only changes filemode bits
- gotsh.1: show how to set up anonymous public read-only repository access



CVS: cvs.openbsd.org: ports

2023-01-23 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/01/23 02:50:13

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.82

- fix comparison in tree object parser always evaluating to false (jamsek)
- add missing bounds-check in gitproto ref-line tokenizer
- gotd.8 and gotwebd.8 man page improvements (patch by Josiah Frentsos)
- make gotd session process accept just one flush packet at a time
- sort ENVIRONMENT entries in got.1 and tog.1 (op)
- only forward implicit flush packets from gotsh if they are expected
- return GOT_ERR_EOF from pkt.c if a read attempt indicates EOF
- treat read errors from client socket in gotsh as fatal errors
- gotwebd: refactor gotweb_render_content_type/_file (op)
- gotwebd: turn gotweb_get_time_str into gotweb_render_age (op)
- gotwebd: don't list references per-commit in got_get_repo_commits (op)
- gotwebd: avoid history traversal in briefs/commits, kill "prev" button (op)
- gotd: disconnect on client EOF error to avoid stale connections (op)
- gotsh: validate with parse_command before connecting (op)
- add a test for ssh connections to gotsh without a repo path argument (op)
- gotsh: avoid a temporary buffer for the socket path (op)
- gotsh: move apply_unveil right after the first pledge (op)
- fix tog refreshing the screen more often than intended (jamsek)
- tog: show action report on user-toggleable event (patch by Mikhail, jamsek)
- don't print empty line when exiting tog (jamsek)
- got: don't leak pathlist in commit and revert commands (jamsek)
- gotd: fix wrong PIDs for parent and child processes shown in logs



CVS: cvs.openbsd.org: ports

2023-01-18 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/01/18 16:07:23

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.81

- gotd: print configuration errors without -d (op)
- gotd: move nrepos check to parse_config (op)
- gotd: move socket path check to parse.y and error from the main process (op)
- fix an issue where multiple ref-updates are rejected by gotd
- fix an issue where gotd fails to accept multiple have-lines from clients
- regress: replace typeset with printf for shell portability (naddy)
- fix spurious "gotsh: unexpected flush packet" error when client is up-to-date
- gotd: fix "bad packfile with zero objects" error while creating branches
- document the gotd -n option



CVS: cvs.openbsd.org: ports

2023-01-17 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/01/17 09:01:28

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 

Log message:
Add a quirks entry to handle gotweb removal.
ok kn@ op@



CVS: cvs.openbsd.org: ports

2023-01-17 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/01/17 08:59:42

Modified files:
devel/got  : Makefile distinfo 
devel/got/pkg  : gotwebd.rc 
Added files:
devel/got/pkg  : DESCR-server PLIST-server gotd.rc 
Removed files:
devel/got/pkg  : DESCR-web PLIST-web 

Log message:
update to got 0.80

There are some port-specific changes:
- gotd is now packaged for wider testing
- gotweb has been removed and is superseded by gotwebd
- set rc_reload=NO in gotwebd.rc
- fix wantlib

See https://gameoftrees.org/releases/CHANGES for lots of changelog.

ok kn@ op@



CVS: cvs.openbsd.org: ports

2023-01-17 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2023/01/17 08:52:14

Modified files:
infrastructure/db: user.list 

Log message:
reserve a UID/GID for _gotd
helpful hints from landry, tweak + ok kn



CVS: cvs.openbsd.org: ports

2022-12-22 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/12/22 07:57:22

Modified files:
sysutils/firmware/iwx: Makefile distinfo 
sysutils/firmware/iwx/pkg: PLIST 

Log message:
Add new -77 iwx(4) firmware images and remove unused -63 images.

Driver-side changes will be required for making use of the new firmware
images. The existing images we currently use do not change, and no
change in behaviour is expected for now.

The .pnvm files do change. They are still being parsed the same way
in Linux, which implies that these new files should just work.
I have verified that my AX210 device is still happy with new pnvm.

ok sthen@



CVS: cvs.openbsd.org: ports

2022-11-22 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/22 05:52:41

Modified files:
games  : Makefile 

Log message:
+= zelda3-rom



CVS: cvs.openbsd.org: ports

2022-11-22 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/22 05:48:05

Modified files:
games/zelda3-data: Makefile distinfo 
games/zelda3-data/pkg: DESCR 

Log message:
make zelda3-data fetch the ROM image via the new zelda3-rom port

based on an initial patch by espie@
ok sthen@



CVS: cvs.openbsd.org: ports

2022-11-22 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/22 05:40:59

Log message:
split zelda3-data ROM file fetching into a separate zelda3-rom port

based on an intial patch by espie@
ok sthen@

Status:

Vendor Tag: stsp
Release Tags:   stsp_20221122

N ports/games/zelda3-rom/Makefile
N ports/games/zelda3-rom/distinfo
N ports/games/zelda3-rom/pkg/DESCR
N ports/games/zelda3-rom/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2022-11-12 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/12 07:58:32

Modified files:
games  : Makefile 

Log message:
+= zelda3-data and zelda3-sprites

sthen@ points out that such ports should be linked regardless of their
non-packaging status



CVS: cvs.openbsd.org: ports

2022-11-12 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/12 03:03:45

Modified files:
games  : Makefile 

Log message:
+= zelda3

Not adding zelda3-data and zelda3-sprites because they cannot be packaged.



CVS: cvs.openbsd.org: ports

2022-11-12 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/12 03:01:08

Log message:
import games/zelda3-sprites

This port can be used to install additional sprites for games/zelda3.

ok op@

Status:

Vendor Tag: stsp
Release Tags:   stsp_20221112

N ports/games/zelda3-sprites/Makefile
N ports/games/zelda3-sprites/distinfo
N ports/games/zelda3-sprites/pkg/PLIST
N ports/games/zelda3-sprites/pkg/DESCR

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2022-11-12 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/12 03:00:17

Log message:
import games/zelda3-data

This port can be used to install assets required to run games/zelda3.

ok op@

Status:

Vendor Tag: stsp
Release Tags:   stsp_20221112

N ports/games/zelda3-data/Makefile
N ports/games/zelda3-data/distinfo
N ports/games/zelda3-data/pkg/DESCR
N ports/games/zelda3-data/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2022-11-12 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/12 02:58:29

Log message:
import games/zelda3

This is a reverse-engineered clone of Zelda 3 - A Link to the Past.
It's around 70-80kLOC of C code, and reimplements all parts of the
original game. The game is playable from start to end.

ok op@

Status:

Vendor Tag: stsp
Release Tags:   stsp_20221112

N ports/games/zelda3/Makefile
N ports/games/zelda3/distinfo
N ports/games/zelda3/patches/patch-main_c
N ports/games/zelda3/patches/patch-types_h
N ports/games/zelda3/patches/patch-zelda3_ini
N ports/games/zelda3/pkg/DESCR
N ports/games/zelda3/pkg/PLIST
N ports/games/zelda3/pkg/README

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2022-11-08 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/08 13:55:44

Modified files:
devel/got  : Makefile distinfo 
Removed files:
devel/got/patches: patch-lib_diff_main_c 

Log message:
update to got 0.79

- repair build on OpenBSD/sparc64 (patch by Ted Bullock)
- fix crash in gotd if client gets disconnected on error (reported by Mikhail)
- fix crash in got-send-pack when server does not announce any capabilities
- make gotd work as intended on an empty repository
- prevent freeing of bogus pointers in got_inflate_end() and got_deflate_end()
- reduce delta cache size to avoid running out of memory on large pack files
- add missing free of delta buffers in several error paths
- make 'got clone -b' work for repositories which lack a valid HEAD reference
- use sub-second precision when checking for objects/pack/ modification
- fix capabilities announced by gotsh when no references exist in repository



CVS: cvs.openbsd.org: ports

2022-11-07 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/07 14:45:15

Modified files:
devel/sdl2 : Makefile 
devel/sdl2/patches: patch-src_joystick_SDL_gamecontrollerdb_h 

Log message:
Add a patch from SDL upstream to support a SNES/NES-mini controller
USB adapter I use.

ok thfr@



CVS: cvs.openbsd.org: ports

2022-11-03 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/03 15:57:18

Modified files:
devel/got  : Makefile 
Added files:
devel/got/patches: patch-lib_diff_main_c 

Log message:
remove C99-ism that broke the build on sparc64; patch from Ted Bullock



CVS: cvs.openbsd.org: ports

2022-11-03 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/03 15:53:28

ports/devel/got/patches

Update of /cvs/ports/devel/got/patches
In directory cvs.openbsd.org:/cvs.d/hack/stsp/got/patches

Log Message:
Directory /cvs/ports/devel/got/patches added to the repository



CVS: cvs.openbsd.org: ports

2022-11-03 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/11/03 08:11:06

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.78 (powered by lots of miod cheese)

- gotsh.1: Use Sx for referencing EXAMPLES (patch by Josiah Frentsos)
- change got_pack_parse_offset_delta tslen argument to size_t (op)
- fix regression test failures with Git 2.30.5 / 2.38.1 or later installed
- fix gotd(8) usage() string (patch by Josiah Frentsos)
- regress/rebase.sh: remove accidentally included absolute path to "got" (naddy)
- fix off_t type mismatches in printf format string arguments (naddy, op)
- fix spelling of "FastCGI" (patch by Josiah Frentsos)
- add missing `goto done;' on error path of read_raw_delta_data() (op)
- add bounds check when reading a delta offset from a packed object (op)
- check size before calling mmap(2) (op)
- sort getopt() option lists and switch statements (patch by Josiah Frentsos)
- make got.conf(5) warn about remotes configured in locally-shared repositories
- add missing check for errors from got_gotconfig_read() in open_worktree()
- plug a memory leak on error in got_gotconfig_read()
- convert pack filesize variables to off_t for large packs on 32-bit arch (op)
- remove sendfd pledge promise from gotd repo_read and repo_write processes
- add gotctl(8); initially supported commands are 'info' and 'stop'
- respect umask when creating or changing files and directories (op)
- fix typo which caused a double-free in gotd repo_write_shutdown()
- got-fetch-pack: fix wrong memmove length leading to dubious checksum failures
- avoid incomplete writes of pack file data in gotsh and got-send-pack
- add a test suite for gotd(8); check basic clone and send functionality
- require space between commit author name and email, for Git compatibility
- gotwebd: avoid 500 error code if erroring out in plaintext mode (landry)
- gotwebd: add respect_exportok flag, defaulting to off (landry)
- respect open files resource limit when sizing pack cache; regression from 0.71
- provide a diff of changes in a temp file while editing a commit log message
- fix memory and file descriptor leak for raw objects (regression from 0.77)
- remove casts which made older gcc versions unhappy
- fix free of wrong address on error in gotweb's parse.y



CVS: cvs.openbsd.org: ports

2022-10-24 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/10/24 05:48:13

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.77

- disallow integrating into references outside refs/heads/ (jrick)
- gotwebd.conf: add syntax for defining macros and document them (op)
- simplify the way 'got patch' opens a tempfile when reading from stdin
- lots of refactoring to allow gotd(8) code to run without libexec helpers
- more refactoring to allow gotd(8) to stream packfile data on network sockets
- add missing error checking around some unlink(2) syscalls
- don't crash if delta cache is missing while combining deltas; for dev builds
- allow got_object_parse_tree() to reuse entries buffer allocations for speed
- show a more useful error if the size of a packed object won't fit in 64 bits
- switch integers used for counting objects while indexing packs to unsigned
- refresh cached list of pack index paths while searching a packed object
- introduce gotd(8) and gotsh(1); WIP and not yet provided in binary packages
- close parent's end of imsg pipe before waiting for a child process to exit
- fix detection of SIGTERM in tog; this signal was accidentally being ignored
- avoid printing harmless errors that can occur when tog exits due to Ctrl-C



CVS: cvs.openbsd.org: ports

2022-09-23 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/09/23 08:51:28

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.76

- gotwebd documentation fixes
- tog: extend log view author highlight colour to full field width (jamsek)
- tog: make headline highlight extend the full view width (jamsek)
- make got_commit_graph_iter_next use caller-provided storage for the id (op)
- tog: add new log view limit feature to filter commits (patch by Mikhail + op)
- tog: respect current cursor position during log search (patch by Mikhail)
- tog: implement runtime help accessible via H,F1 keymaps (jamsek)
- add gotadmin init -b  to specify repo head ref (jamsek)
- ensure got patch respects x-bit perms for new files (jamsek)
- gotwebd: drop needless NULL check (op)
- show file mode for new added files in work tree diffs (jamsek)
- fix wrong function prototypes shown in diff hunk headers (thj@freebsd, jamsek)



CVS: cvs.openbsd.org: ports

2022-09-21 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/09/21 07:48:23

Modified files:
devel/got  : Makefile 

Log message:
enable gotwebd debug package; thanks to espie@ for fixing build-debug-info



CVS: cvs.openbsd.org: ports

2022-09-08 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/09/08 02:44:11

Modified files:
devel/got  : Makefile distinfo 
Added files:
devel/got/pkg  : DESCR-webd PLIST-webd gotwebd.rc 

Log message:
update to got 0.75

ok tracey@

too many changes to list all here; see git repository history for more
- unlink temporary files created during ssh signature verification
- add gotwebd, a fast-cgi server and successor of gotweb (tracey)
- lots of release-preparation work on gotwebd (naddy, op, tracey, stsp)
- cast argument of type rlim_t to unsigned long long to match the %llu (naddy)
- tog: add key to toggle author/committer in log view (op)
- make our email address parsing closer to Git's parsing rules (op)
- got commit: add -A flag to specify the author of a patch (op)
- tog: alias J and K to > and < keybindings for diff view (patch by Mikhail)
- fix 'got cat' printing commit author instead of committer (op)
- tog: add 'L' key to blame view; opens log view for the annotated line (jamsek)
- don't chug along if repo format version is unsupported (florian)
- fix dead stores to variables, found with LLVM's scan-build (florian)
- fix unitialized error return (florian)
- make sure got_repo_pack_fds_close() frees a malloc'ed pointer (florian)
- prevent memory leak when asprintf fails (florian)
- prevent use-after-free of packed_refs_path in error path (florian)
- got_repo_pack_fds_close: don't close(0) (patch by Lucas)
- reset committer's name+email during rebase and histedit
- tog: fix unintentional move of cursor after closing child views (jamsek)
- tog: uppercase all the key maps which open new views (jamsek)
- make 'got histedit' fetch author info from Git configuration as a fallback
- fix 'got patch -R' when using diff3 merge (op)
- add GOT_IGNORE_GITCONFIG env var to force ignoring of Git config files
- fix off_t type mismatches (naddy)
- got patch: error if patchfile isn't a regular file (op)
- make 'got patch' apply pledge(2) earlier (op)
- got/tog diff: fix accounting for line-endings in files containing CRLF (op)
- got patch: add -c flag to apply at a specified commit (op)
- fix two missing error checks in tog (found by florian with scan-build)
- remove pointless repo_close + leaked error (found by florian with scan-build)
- tog: add n{G,g} key map to jump to line n like less(1) (jamsek)
- diff: re-alloc arrays in larger chunks for up to 3x more performance (jamsek)
- fix whitespace-related issues when 'got patch' is matching a hunk (op)
- tog: add keymaps to jump to next/prev file/hunk in the diff view (jamsek)
- fix 'got tag' not tagging the work tree's current branch by default
- tog log: don't block while loading commits after 'G' key was pressed (jamsek)
- man pages: group options in accordance to style(9) (patch by Josiah Frentsos)
- man pages: Replace 'Ar sign' with 'Cm sign' (patch by Josiah Frentsos)
- don't add trailing \0 to signed tag objects; fixes interop with Github (jrick)
- use Xo/Xc in the man pages (patch by Josiah Frentsos)
- fix diffing two blobs by object ID with 'got diff' (jamsek)
- refresh pack-index path list if mtime of the objects/pack directory changed
- diff3: switch diff output mode from "edscript" to "plain" (patch by Tom Jones)
- use the faster plain-diff headers-only mode for diff3
- do not segfault while verifying "lightweight" tags (jrick)
- don't search through ignored paths and files on commit (sdk)
- plug a lot of memory leaks (op)
- forbid rebase of references outside the "refs/heads/" namespace
- fflush(stdout) after asking questions; improves got-portable behaviour (op)
- fix bug where 'got branch -lt' produced duplicate listings of a branch
- tog: ensure stdin is a tty to guard against 'tog < /dev/null' etc. (jamsek)



CVS: cvs.openbsd.org: ports

2022-07-25 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/07/25 02:23:26

Modified files:
sysutils/xdelta: Makefile 
Added files:
sysutils/xdelta/patches: patch-xdelta3_configure_ac 

Log message:
Enable LZMA as a secondary compression algorithm in sysutils/xdelta.

liblzma could already have been picked up as a hidden dependency.
Make this dependency explicit and enable the feature.

Get rid of a commented CONFIGURE_STYLE while here, by Kurt's request.

ok kmos@



CVS: cvs.openbsd.org: ports

2022-07-14 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/07/14 05:05:26

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.74

- cast printf argument of type time_t to long long to match the %lld (naddy)
- add missing revoked_signers grammar to got.conf(5) (jrick)
- move 'got init' command to 'gotadmin init'
- regress test SSH key revocations (jrick)
- long overdue update of AUTHORS lists in man pages
- add signer_id option to got.conf(5) (jrick)
- delta_cache.c needs to include ; unbreaks -portable build on ubuntu
- regress: use bs=1M for dd, not bs=1m; fixes -portable test failure on ubuntu
- fix buf_alloca error handling (op)
- some privsep.c refactoring and cleanup (op)
- tog: implement global 'S' key map to switch split mode (jamsek)
- tog: implement +/- keymaps to resize the focussed split (jamsek)
- make 'tog log' error out in shallow Git repositories instead of hanging
- tog: enable moving to prev/next blame line in diff view (jamsek)
- improve documentation of the histedit 'mesg' command
- histedit script: allow mesg command only after pick or edit commands (op)
- for linux, fix usage of pipe(2) during SSH signing and verification (jrick)



CVS: cvs.openbsd.org: ports

2022-07-04 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/07/04 07:36:49

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.73

- got patch: use diff3 to merge changes if possible (op)
- tog: alias C-b/C-f to scroll page back/forward with b/f (jamsek)
- tog: make SPACE page down in all views (naddy)
- tog: allow prefixing movement keys with count modifier (jamsek)
- always show commit or tree IDs in diff header, in order to help 'got patch'
- build non-release builds with -Wwrite-strings (op)
- got patch: handle git-style diffs for the 3-way merge too (op)
- implement support for commit coloring in got-read-pack for speed
- move got_opentemp out of open_blob and blame.c for future gotwebd (tracey)
- move got_opentemp out of diff.c and diffreg.c for future gotwebd
- tog: refactor log cursor movement in preparation for horizontal split (jamsek)
- tog: implement support for horizontal splitscreens (jamsek)
- switch 'tog diff' and 'tog blame' to Myers diff by default for speed
- make the diff algorithm used by 'tog diff' and 'tog blame' configurable
- make the patch parser look for the next "diff" header for robustness (op)
- got patch: don't loose the x bit when merging with diff3 (op)
- got patch: handle mangled whitespace (op)
- fix "imsg_add TREE_ENTRY: Result too large" error on i386 (semarie, op)
- create and verify tags signed by SSH keys (jrick)
- tog: add C-g/backspace key map to abort compound commands (jamsek)
- rename got.conf(5) fetch-all-branches to fetch_all_branches for consistency
- rename got.conf(5) mirror-references to mirror_references for consistency
- use pipe() which is a more portable syscall than pipe2() (jrick)
- got patch: check for specific chars instead of using isspace(3) (op)



CVS: cvs.openbsd.org: ports

2022-06-18 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/06/18 11:10:42

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.72

- fix "bad offset in pack file" error due to uninitialized variable (op)
- initialize all variables used for sending privsep messages to zero (op)
- tog: reset search state after Ctrl-L to fix a use-after-free (op)
- fix unexpected imsg error after incomplete enumeration in got-read-pack
- tog: heed selection cursor position while searching (patch by Mikhail)



CVS: cvs.openbsd.org: ports

2022-06-17 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/06/17 07:03:04

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.71

- got patch: fail when reading empty hunks (op)
- got patch: switch from fseek() to fseeko(), use unary minus (naddy)
- got patch: avoid open/sync/close of the fileindex over and over again (op)
- make got_privsep_recv_tree() reject trees with less than zero entries
- plug memory leak in an error path of got_privsep_recv_tree()
- prevent an out-of-bounds access in got_privsep_recv_tree()
- parse tree entries into an array instead of a pathlist for speed
- batch up tree entries in imsg instead of sending one imsg per tree entry
- imsg_add() frees its msg argument on error; avoid double-free in error paths
- avoid malloc/free for duplicate check in got_pathlists_insert()
- plug a small memleak on error in got_pack_create()
- fix paths stored in pack meta data, improving file deltification
- store a path hash instead of a verbatim path in pack meta data
- reduce the amount of memory used for caching deltas during deltification
- shrink struct got_pack_meta a bit by removing the have_reused_delta flag
- use random seeds for murmurhash2 (op)
- fix bug in findwixt() which caused pack files with missing parent commits
- avoid looping over deltas twice in dump_delta_chain_to_{file,mem}()
- open tempfiles needed for delta application upfront, for future gotwebd
- reduce GOT_PACK_CACHE_SIZE to 32 to accomodate for previous tempfile change
- tog: override SIGTERM and SIGINT handlers to avoid ncurses cleanup() handler
- move creation of tempfiles outside of lib/diff.c
- tests: don't pass $ret to test_done on failure when it's known to be zero (op)
- tests: set `ret' in a few places where it was forgotten (op)
- convert delta cache to a hash table
- implicitly unstage changes when staging the reverse of a staged diff (op)
- implement object enumeration support in got-read-pack for speed
- add one-line output mode to got log with -s flag (patch by Evan Silberman)
- rename the former got log -s (search) flag to got log -S
- make it possible to match committed patches with got log -p -S pattern
- tog: add key bindings for half-page scroll (patch by Mikhail, Mark Jamsek)
- make got log -S match author name and commit ID, like tog search does (op)
- got patch: ensure new and old paths are NUL-terminated (op)
- got patch: guard against invalid (negative) line offsets (op)
- got patch: use ints for line offsets instead of longs (op)
- remove redundant datalen checks before calling recv_imsg_error (op)
- use strndup instead of malloc+memcpy in privsep.c (op)
- do stricter validation of data received from libexec helpers (op)
- move got_opentempfd() out of got_repo_open(), for future gotwebd (tracey)
- fix D_GOTWWW default path; gotweb can now run without a config file again
- add horizontal scrolling to tog diff, blame, and log views (Mark Jamsek)
- show last-modified date in the "tog ref" view if 'm' is pressed (Mark Jamsek)
- make tog horizontal scrolling work with unicode (with op@)



CVS: cvs.openbsd.org: ports

2022-05-12 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/05/12 16:38:54

Modified files:
sysutils/firmware/iwx: Makefile 
sysutils/firmware/iwx/pkg: PLIST 

Log message:
Add another firmware file for an AX211 device: so-a0-hr-b0
Tested by Guilherme M. Schroeder, with a patch to iwx(4) that makes it work.
ok sthen@



CVS: cvs.openbsd.org: ports

2022-05-10 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/05/10 05:48:53

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.70

- avoid subtraction of values larger than int in qsort(3) comparison callbacks
- make 'got patch' handle git-style rename diffs
- store deltas in compressed form while packing, both in memory and cache file
- avoid O(N) loops over object ID lists while packing
- run the search for deltas to reuse in got-read-pack directly, for speed
- hook send.sh cmdline tests into 'make regress', this was overlooked earlier
- fix regression from 0.69 where packing tags fails if zero commits are packed
- map delta cache file into memory if possible while writing a pack file



CVS: cvs.openbsd.org: ports

2022-05-09 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/05/09 02:50:55

Modified files:
sysutils/firmware/iwx: Makefile distinfo 
sysutils/firmware/iwx/pkg: PLIST 

Log message:
Add intel wireless firmware for AX210 devices.
ok sthen@



CVS: cvs.openbsd.org: ports

2022-04-24 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/04/24 07:29:32

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.69

- plug a memory leak in got_fetch_pack() (patch by Mikhail)
- plug a memory leak in list_refs() (op)
- link libexec helpers against _p libraries when building with 'make PROFILE=1'
- regress: use test(1) -eq and -ne to compare integers, reduce quoting (naddy)
- got patch: add -p option to strip path components (op)
- stop relying on commit cache for good performance of got_object_id_by_path()
- leave work tree in usable state after 'got rebase' fails path-prefix checks
- make gotadmin pack -x option work with tag arguments
- make 'got cat' not search for a work tree if the -r option is used
- make 'got tag' unlock work tree earlier to allow other parallel commands
- add a -q (quiet) option to 'gotadmin pack'
- sort references by date for packing to process newer commits first
- fix double-free in an error case of cmd_checkout()
- make sure callers of got_object_idset_add() free data (tb)
- speed up initial stage of packing by adding a "skip" commit color
- regress: redirect jot(1) output instead of looping over it (op)
- reimplement object-ID set data structure on top of a hash table
- inline struct got_object_id in struct got_object_qid for speed
- got patch: resolve paths from the current working directory (op)
- got patch: add -R option to reverse a patch (op)



CVS: cvs.openbsd.org: ports

2022-04-22 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/04/22 02:37:37

Modified files:
devel/subversion: Tag: OPENBSD_7_1 Makefile distinfo 

Log message:
For 7.1-stable: Update to Subversion 1.14.2.

Regular bug fix release with two server-side security fixes:
CVE-2021-28544: authz protected copyfrom paths regression (r1899227)
CVE-2022-24070: use-after-free in mod_dav_svn (issue #4880)

ok sthen@



CVS: cvs.openbsd.org: ports

2022-04-12 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/04/12 15:08:06

Modified files:
devel/subversion: Makefile distinfo 

Log message:
Update to Subversion 1.14.2.

Regular bug fix release with two server-side security fixes:
CVE-2021-28544: authz protected copyfrom paths regression (r1899227)
CVE-2022-24070: use-after-free in mod_dav_svn (issue #4880)

ok sthen@



CVS: cvs.openbsd.org: ports

2022-03-22 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/03/22 08:00:18

Modified files:
devel/got  : Makefile distinfo 
devel/got/pkg  : PLIST-main 

Log message:
update to got 0.68

- explicitly include  for be32toh() (naddy)
- apply time-based rate-limiting to send-/fetch-/index-pack progress output
- make the URI parser tolerate trailing slashes at the end of the input URI
- add 'got patch' command for applying unified diffs (op)
- handle reference arguments which look like short object IDs (with naddy)
- make got log, diff, blame, tree, and cat unlock the work tree earlier
- fix 'got status' with an obstructed file given as argument (found by op)
- cache a list of known pack index files when the repository is opened
- print additional progress information while packing
- const-ify data tables which contain only constants (naddy)
- fix gotweb build failure with -Werror due to write-only variable warnings
- move got_errors[] table into a single compilation unit, error.c (naddy)
- explicitly include  for close(2) (naddy)
- fix potential NULL deref in error path of got_object_idset_remove()
- man pages: fix missing commas between subordinate and main clauses (naddy)
- fix a bug where 'gotadmin pack' packed too many objects unless -a was used
- gotweb: fix free() on uninitialized variable upon error during blame



CVS: cvs.openbsd.org: ports

2022-02-18 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/02/18 12:59:08

Modified files:
devel/got  : Makefile distinfo 

Log message:
Update to got 0.67

- compress delta data from delta_cache directly into pack file
- show rebase and histedit backups in tog ref view
- gotweb: unbreak index page when pack files are missing (tracey)
- make 'got rm' behave like rm(1) for paths found missing on disk
- make 'got rm' report an "unexpected status" error for unversioned files
- fix double-free and double-close issues in error paths of got_packidx_open()
- fix 'got status' showing unversioned directories on NFS (found by Ted Bullock)
- fix loose object file header parser for zero-length headers
- improve 'got add' error message if file does not exist (found by Timo Myyrä)
- improve error message due to malformed `author' in got.conf (omar)
- fix infinite loop triggered by pack files >= 4GB in size (found by semarie)
- set zlib output buffer length properly after resizing the output buffer
- improve error reporting for invalid numbers given on command line (omar)
- fix 'got diff' on files which match an ignore pattern (found by omar)
- reduce minimum deltification chunk size to 32 (suggested by ori)
- use murmurhash instead of sha1 for deltification blocks (suggested by ori)
- shrink the width of formatted output fields to their expected size (naddy)
- reuse existing deltas when creating pack files
- fix fd leak in got_fetch_pack (omar)
- fix imsg_clear calls after imsg_flush failures (omar)
- display GMT offset in 'got cat' command (jrick)
- const-ify command and option tables (naddy)



CVS: cvs.openbsd.org: ports

2022-01-21 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/01/21 06:42:56

Modified files:
x11/gnome/mutter: Makefile 
Removed files:
x11/gnome/mutter/patches: patch-cogl_cogl_cogl-bitmap_c 

Log message:
Remove a local patch from mutter which changes a memcpy into memmove.

I can no longer trigger the segfault which prompted aja to add this
patch to our port. It is unclear what caused the original issue.
We should not carry a local patch which differs from upstream code
with no observable benefit. If the problem resurfaces we will be
able to debug it further.

ok ajacoutot@



CVS: cvs.openbsd.org: ports

2022-01-11 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/01/11 08:44:48

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.66

- only open raw objects if necessary while writing out pack file data
- map raw object files into memory while packing if possible
- encode short deltas in memory instead of writing them to a temporary file
- add missing checks for reads beyond the mapped memory area of a pack file
- fix file corruption regression in 'got checkout' from 0.65 (reported by naddy)



CVS: cvs.openbsd.org: ports

2022-01-06 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/01/06 15:09:06

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.65

- fix 32-bit size_t multiplication overflow in meyrs diff code
- ignore the return value of closefrom(2) (patch by Anna a.k.a. CyberTailor)
- sort paths in got log -Pp and tog's diff view the same way as in the diff
- fix NULL dereference in 'got clone' if server sends an empty pack file
- tog: make searches start from the current position in all views
- tog: clear search highlighting when reloading view (naddy)
- set close-on-exec flag on files opened by main process (suggested by millert)
- use 'gotadmin pack' when running tests with GOT_TEST_PACK=1, not 'git repack'
- fix bogus "object not found" errors when specified object ID begins with 00
- avoid creation of new temporary files whenever a packed object is read
- use time-based rate-limiting for gotadmin progress output
- print status output even when 'gotadmin cleanup' finds no objects to remove
- tog: fix a scrolling problem when diffing binary files



CVS: cvs.openbsd.org: ports

2022-01-04 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2022/01/04 03:44:17

Modified files:
x11/gnome/eog  : Makefile 
Added files:
x11/gnome/eog/patches: patch-src_eog-image_c 

Log message:
Fix a double-free in the exit path of eog.

No more eog.core file on disk after viewing an image and closing eog \o/

ok ajacoutot@



CVS: cvs.openbsd.org: ports

2021-12-03 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/12/03 05:50:50

Modified files:
sysutils/firmware/iwm: Makefile distinfo 

Log message:
Update iwm(4) 9260 and 9560 firmware to a newer release.

Apparently, new firmware images fix security issues, see:
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00509.html

Intel did not publish new images for chips older than 9k, at least not in
the linux-firmware Git repository. If anyone knows details about such
decisions and is willing to share them, I would be happy to learn more.

ok sthen@



CVS: cvs.openbsd.org: ports

2021-11-25 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/11/25 08:02:50

Modified files:
sysutils/firmware/iwx: Makefile distinfo 
sysutils/firmware/iwx/pkg: PLIST 

Log message:
Update our iwx(4) firmware package.

Remove -48 firmware images which are no longer used by the driver.

Add -67 firmware images which allegedly contain security fixes. We should
be able to use these soon. The driver has been patched to work with -67
images but has not yet been switched over (pending more testing).

Add newest available firmware images for any AX201 devices which are not
yet matched by the driver but will hopefully be supported eventually.

ok sthen@

committed over AX201 running fw ver 67.8f59b80b.0



CVS: cvs.openbsd.org: ports

2021-11-23 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/11/23 08:44:24

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.64

- try only 3 delta base candidates instead of 10 to speed up packing
- use up to 128 delta chain elements again; creates smaller packs at same speed
- remove unused variables to fix LLVM 13 warnings (naddy)
- make 'got rebase' switch the work tree if no commits need rebasing (jrick)
- fix man page HTML rendering for command aliases (kn)
- let gotadmin find the repository automatically if invoked in a work tree
- preserve binary files during updates and merges instead of leaving them empty
- allow sorting references by timestamp in tog ref view
- add got ref -t option to sort listed references by modification time
- add got branch -t option to sort listed branches by modification time
- regress: make test operands POSIX compliant (thomas_adam)



CVS: cvs.openbsd.org: ports

2021-10-17 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/10/17 11:51:44

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.63

- fix 'got send -T' regression if tag already exists on server (found by Omar)
- fix another regression where a 3-way merge would segfault (naddy)
- tog: add Ctrl-n/Ctrl-p for scrolling one line down/up (patch by Omar Polo)
- always initialize output parameter "n" of get_line() in diff3.c
- set oldo.to in diff3.c's duplicate() even if the file contains no newlines



CVS: cvs.openbsd.org: ports

2021-10-16 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/10/16 04:41:14

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.62

- man pages: document command aliases in tmux(1) style, add tags (kn)
- ignore unversioned files while aborting rebase, histedit, merge or operations
- let 'got fetch' send all references to the server to avoid redundant downloads
- plug memory leaks in got-fetch-pack and got-send-pack
- provide lib/Makefile to enable tags file generation (kn)
- add support for multiple path arguments to 'got diff'
- fix merging of lines inserted at the top of a file (reported by Omar Polo)
- display the requested object type in "object not found" error messages
- implement 'got diff -c' for diffing commits with optional filtering by path
- speed up 'got histedit -l' and 'got rebase -l'
- fix merging of files which contain a dot on a line by itself
- sort and de-duplicate work tree path command line arguments (suggested by kn)
- fix pack index cache element rotation; keep often used entries near the front
- use a bloom filter to avoid pointless pack index searches
- do not skip ignored directories in 'got status' if they contain tracked files
- FreeBSD's ed(1) does not accept "0i"; use the equivalent "1i" instead (naddy)
- speed up pack file creation a little by caching raw objects
- limit delta chain length in newly created pack files to 32 deltas
- while packing, store encoded deltas in temporary files instead of in memory
- sync with OpenBSD parse.y (naddy)
- make 'gotadmin indexpack' unveil the repository read/write, not read-only
- plug memory leak in an error path of read_packed_object()



CVS: cvs.openbsd.org: ports

2021-10-03 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/10/03 15:33:39

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.61

- fix list of 'got status' options in the got.1 man page
- tog: use sched_yield(2) for better portability (patch by Quentin Rameau)
- fix histedit_no_op test which was failing randomly (patch by Lucas)
- fix 'got send' with tree objects which contain symlinks (reported by Omar)
- tog: show parent commit IDs of merge commits in the diff view
- add a 'got merge' command for creating merge commits
- fix 'got update' of an added + obstructed file
- mark some function parameters 'const', as they should be (patch by Omar Polo)
- add 'static' qualifier to local functions in got-read-pack (again Omar Polo)
- fix some integers that had a slightly wrong type (again by Omar Polo)
- match printf specifiers and (cast) types for portability (naddy)
- don't change bad symlinks into regular files during merges
- handle errno variations upon open(2) failure with O_NOFOLLOW for portability
- garbage-collect unused "dist" target from subdirectory Makefiles (naddy)
- match the unsigned char type used by the zlib interface (naddy)
- fix unsigned/signed char mismatch in parse.y (naddy)
- fix 'got fetch' downloading too many objects in some cases
- interrupt 'got rebase' upon missing/unversioned/not-deleted files
- interrupt 'got histedit' upon missing/unversioned/not-deleted files
- pull in a type fix from the OpenBSD parse.y template (naddy)
- explicitly set the default branch name after 'git init' in regress tests
- add histedit -e option which runs the 'edit' script command for every commit
- skip ignored directories during 'got status' disk crawl



CVS: cvs.openbsd.org: ports

2021-09-15 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/09/15 04:03:55

Modified files:
devel/got  : Makefile distinfo 

Log message:
Update to got 0.60

- fix another instance of 'got send' sending branches the server already has
- make 'got send' regression tests run 'git fsck' on all involved repositories
- shell code fixes in regress tests for portability (naddy)



CVS: cvs.openbsd.org: ports

2021-09-14 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/09/14 11:42:08

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.59

- fix copy-pasto in got.conf man page
- add -q quiet mode to checkout and update (tracey)
- make 'got send' send commits which are referenced only by tags (found by Omar)
- add -S option to 'got status' for suppressing certain status codes (tracey)
- make 'got checkout' display the checked out reference and commit ID
- make 'got update' display the worktree's branch name upon success



CVS: cvs.openbsd.org: ports

2021-09-11 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/09/11 07:54:40

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.58

- tog: support navigating to first/last line of tree and ref views (naddy)
- tog: jump directly to first log item instead of traversing the list (naddy)
- tog: when jumping to bottom of the log view, go from tail backwards (naddy)
- make "got branch -d" print reference name and value (naddy)
- move code duplicated by got-send-pack and got-fetch-pack to common files
- assert against accidentally overflowing argv[] in got_dial_ssh() (naddy)
- make 'gotadmin info' display separate send/fetch URLs if they differ
- fix a null-pointer deref in 'got fetch -d' (reported by Omar Polo)



CVS: cvs.openbsd.org: ports

2021-09-03 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/09/03 05:16:39

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.57

- remove superfluous strdup(3) from parse.y files (Martin Vahlensieck)
- adapt regress tests which handle UTC dates (naddy)
- make 'got send' actually heed branch {} options in got.conf(5) as intended
- disable ignore lists during status walks used by rebase and histedit
- tog: add support for navigating to first/last line of blame view (naddy)
- fix bogus error when 'got cherrypick' merged changes into locally added file
- remove ancestry checks to make 'got cherrypick' and 'got backout' run faster
- limit checks for merge conflicts to files affected by the merge to be faster
- fix 'got send' adding too many objects to the pack file in some cases



CVS: cvs.openbsd.org: ports

2021-08-30 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/08/30 14:34:24

Modified files:
devel/got  : Makefile distinfo 
devel/got/pkg  : PLIST-main 

Log message:
Update to got 0.56

- prevent a race where 'gotadmin cleanup' deletes concurrently created objects
- plug a small memory leak in tog's show_diff_view() function
- fix a use-after-free in get_changed_paths() in got and tog
- use less memory allocations when formatting log messages
- make got_deltify() rellocate the deltas array less often
- plug a memory leak in an error path of got_deltify()
- fix miscalculation of the final pack file size reported by got_pack_create()
- fix the error message shown when the server sends a bad ref line
- prevent NULL deref in got-fetch-pack if server does not announce capabilities
- add a missing bounds-check in got-fetch-pack when parsing server response
- fix, again, use of POSIX [ s1 = s2 ] syntax instead of [ s1 == s2 ] (naddy)
- add 'got send' for sending changes to remote repositories (with naddy, tracey)
- allow deletion of refs/remotes/ branches with got branch -d
- add missing "return 1" to failure handling in the regress scripts (naddy)
- make realloc_ids() malloc-like and do not overallocate (naddy)
- fix seek to incorrect offset in the delta base when creating deltas
- use gmtime_r(3) to display timestamps in UTC as intended (found by naddy)
- add keys for navigating to first/last item of tog log and diff views (jasper)



CVS: cvs.openbsd.org: ports

2021-08-30 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/08/30 06:56:05

Modified files:
net/dhcpcd : Makefile 
Added files:
net/dhcpcd/patches: patch-src_route_c 

Log message:
Fix dhcpcd RB tree route lookup in case overlapping prefixes
with different netmasks exist.
See https://github.com/NetworkConfiguration/dhcpcd/pull/52

ok sthen@



CVS: cvs.openbsd.org: ports

2021-07-26 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/07/26 03:50:09

Modified files:
devel/got  : Makefile distinfo 

Log message:
Update to got 0.55

- display recovery steps in the lonely pack index error message
- fix double-free that ocurred upon exit from 'tog tree'; found by naddy
- don't scan pack index offsets for large values if pack file is < 2GB
- new -X option for removing backups created by got rebase and got histedit
- add 'got fetch -X' option for deleting references created by 'got fetch'
- make 'got ref -d' print reference name and value like the new -X options do



CVS: cvs.openbsd.org: ports

2021-07-08 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/07/08 12:26:36

Modified files:
devel/got  : Makefile distinfo 

Log message:
update got 0.54

- fix imsg header includes in pack_create.c
- explicitly include endian.h for be32toh() in repository_admin.c (naddy)
- switch from SIMPLEQ to equivalent STAILQ macros (naddy)
- fix logic error in gotweb navigation for commits, briefs, and tags (tracey)
- fix bugs where files skipped by 'got update' could not be updated again
- fix out-of-bounds access in 'gotadmin pack'
- fix unintended redundant recallocarray() calls done by 'gotadmin pack'
- cache object type in memory to speed up packing of objects referenced by tags
- fix, again, use of POSIX [ s1 = s2 ] syntax instead of [ s1 == s2 ] (naddy)
- new 'gotadmin cleanup' command for removing unreferenced loose objects
- handle pack index files which lack a corresponding pack file
- make 'got add' always require the -I option in order to add ignored files
- write lines instead of just one character at a time in diff_output_lines()
- verify object ID checksums while loose objects are being accessed



CVS: cvs.openbsd.org: ports

2021-06-22 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/06/22 14:40:50

Modified files:
devel/got  : Makefile distinfo 
devel/got/pkg  : PLIST-main 

Log message:
Update to got 0.53

- do not update symlinks which are already up-to-date
- add a gotadmin utility with info, pack, indexpack, and listpack commands
- fix 3-way merge of files which lack a final \n
- make double-quotes appear in rendered got.1 man page as intended (Nam Nguyen)
- gotweb: render error page instead of returning error 500 (tracey)
- avoid an error in tog(1) while the terminal window is being resized
- plug a memory leak in got_ref_list_free()
- catch invalid reference names passed to 'got ref -l'
- fix a memory leak in dial_git() (naddy)
- fix unrelated changes being merged by got cherrypick/backout/rebase/histedit
- go back to Patience diff for merging during cherrypick/backout/histedit/rebase
- fix file descriptor leak in got_repo_close() (tracey)
- fix hang in commit regress test if $VISUAL is set in the environment (tracey)
- use socketpair(2) instead of pipe(2) for better portability to Linux
- make it possible to profile gotweb and document how profiling works
- fix memory and fd leaks in got_pack_stop_privsep_child() (tracey)
- fix bogus 'permission denied' error when a file at work tree root is removed
- port packfile creation code over from git9
- new -I option for 'got status' to show files which match an ignore pattern



CVS: cvs.openbsd.org: ports

2021-06-05 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/06/05 07:29:55

Modified files:
misc/ttyrec: Makefile 
misc/ttyrec/pkg: DESCR 

Log message:
Mention the graphics/seq2gif companion tool in DESCR of misc/ttyrec.
Suggested by sthen@



CVS: cvs.openbsd.org: ports

2021-06-05 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/06/05 07:24:01

Modified files:
graphics   : Makefile 

Log message:
+= seq2gif



CVS: cvs.openbsd.org: ports

2021-06-05 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/06/05 07:22:11

Log message:
Import graphics/seq2gif.

seq2gif converts a sequences record file generated by ttyrec into a
GIF animation without taking screenshots, using built-in terminal
emulation based on yaft (Yet Another Framebuffer Terminal).

With input from tracey, cwen, semarie, phessler, and sthen.

Because upstream has not released a new version since 2014 we are using
the current development snapshot and label our package as "pre-release".

ok sthen@ tracey@

Status:

Vendor Tag: stsp
Release Tags:   stsp_20210605

N ports/graphics/seq2gif/Makefile
N ports/graphics/seq2gif/distinfo
N ports/graphics/seq2gif/pkg/PLIST
N ports/graphics/seq2gif/pkg/DESCR

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2021-05-19 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/05/19 05:52:01

Modified files:
sysutils/firmware/iwm: Makefile distinfo 
sysutils/firmware/iwm/pkg: PLIST 
sysutils/firmware/iwx: Makefile distinfo 
sysutils/firmware/iwx/pkg: PLIST 

Log message:
Add the latest Intel wifi firmware images which probably contain fixes
for fragattacks since they were released just after the embargo ended.

Driver changes to make use of these images are being worked on.

ok sthen@



CVS: cvs.openbsd.org: ports

2021-05-02 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/05/02 13:30:59

Modified files:
net/nagios/nagios: Makefile 
net/nagios/nagios/patches: patch-base_Makefile_in 

Log message:
Make nagios start up out of the box again after 'pkg_add nagios'.

Executables were installed mode 774 owned by root:bin. We need to use
mode 775 (o+x), otherwise nagios which runs as user _nagios complains:
Error: failed to access() /usr/local/bin/nagios: Permission denied
Error: Spawning workers will be impossible. Aborting.

Solution discussed and found together with sthen and tb.
ok sthen@ tb@



CVS: cvs.openbsd.org: ports

2021-04-05 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/04/05 05:58:36

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.52

- fix error checking in dial_ssh()
- increase pack index cache size from 16 to 64 to improve performance
- fix off-by-one in got_repo_cache_pack() causing the wrong pack to be evicted
- cap pack file cache size at 1/8 of the current open file desciptor limit
- when reading a pack index byte-swap fields at compile-time where possible
- diff: reduce duplicate code (kn)
- fix "mandoc -T lint" WARNINGS and ERRORS, add missing word (kn)
- fix open file descriptor leak in error path of read_object_header_privsep()



CVS: cvs.openbsd.org: ports

2021-03-31 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/03/31 14:41:37

Modified files:
games  : Makefile 

Log message:
+= chiaki



  1   2   3   4   5   6   >