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@