Make shells(5) list it and enable "chsh -s git-shell user";
"chsh -s /usr/local/bin/git-shell user" already works but is more typing
and inconsistent with other shells.
version mismatch error reported by Laurie Tratt). While there, fix-up the
path to wish in git-gui--askpass, and move a Tcl file that crept into
-main over to -x11. ok kn@
"These releases fix various security flaws, which allowed an attacker
to overwrite arbitrary paths, remotely execute code, and/or overwrite
files in the .git/ directory etc. See the release notes attached for
the list for their descriptions and CVE identifiers."
https://lwn.net/ml/git/xmqqr21cqcn9.fsf@gitster-ct.c.googlers.com/
Since hw.smt was introduced git may use more threads than there are cpus
actually available on the system. Fix this using
sysconf(_SC_NPROCESSORS_ONLN).
Fix memory amount detection in git gc: HW_PHYSMEM64 has been needed for
years to handle hosts with more than 2GB of ram. Leave the HW_PHYSMEM
code path alone for other BSD systems, but fix it so that the detected
amount of memory isn't random stack garbage.
ok sthen@ kn@ (maintainer)
Lots of fixes and improvements, new git-switch(1) and git-restore(1):
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.23.0.txt
`WANTLIB += charset' comes through `git fast-export/import' now "handl[ing]
commits with log messages in encoding other than UTF-8 better".
Add myself as second maintainer while here.
OK benoit
UID switching was controlled via git-dameon's --user option in $daemon_flags.
This is problematic in case $gitdaemon_flags is unwittingly set to some value
which omits the --user option: git-daemon would then run as root.
The fix implemented here sets $daemon_user to _gitdaemon by default,
and leaves $daemon_flags empty by default. This ensures that git-daemon
runs as user _gitdaemon regardless of the value of $gitdaemon_flags.
Anyone using git-daemon should check their system. If gitdaemon is
currently running as root, set gitdaemon_user=_gitdaemon in rc.conf.local
and restart the service.
ok kn@
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new) devel/gettext,-textstyle
Drop obsolete patches:
- patch-Makefile: obsoleted by changing into t/ within do-test
- patch-perl_Makefile_PL: removed upstream
- patch-t_t0000-basic_sh, patch-t_t9200-git-cvsexportcommit_sh: succeed
- patch-t_test-lib_sh: "70ec6bd63 Stop using sum(1)" (14.08.2017)
While here, use Python 3 and replace `cd && make' with `make -C'.
OK benoit danj
The `git` subcommand `cvsserver` is a Perl script which makes excessive
use of the backtick operator to invoke `git`. Unfortunately user input
is used within some of those invocations.
http://seclists.org/oss-sec/2017/q3/att-534/git_cvsserver.txt
ok benoit@ (maintainer), "Fix should go in" sthen@