Disabling the build/run dependency (--with-python=no) also disables it for
tests, i.e. the configure check is saved and the test suite does not
recheck for python.
Since we won't add a dependency on python, the module is of no use any
longer and we'll let the tests needing it just skip as before.
The 2.33.0 update removing the multimail hook obsoleted lang/python usage;
a few tests probe for python but fail detection and get skipped gracefully.
No PLIST/signature change, so no REVISION bump.
`make test' in WRKSRC calls the right target in the t/ subdir and passing
HOME is not required anymore (if so, just add it to TEST_ENV instead).
git's test can run in parallel but our do-test both ignored -j/MAKE_JOBS
and didn't make use of git's parallel features.
Now `make MAKE_JOBS=4 test' will run them in parallel without any other
changes; output is interleaved but that is expected. Use git's prove(1)
based test run to get cleaner and shorter output:
`make MAKE_JOBS=4 GIT_TEST_TARGET=prove'.
Testing updates and local patches is now easier and faster.
See ${WRKSRC}/t/README for details.
Backward incompatible and other important changes
* The "pack-redundant" command, which has been left stale with almost
unusable performance issues, now warns loudly when it gets used, as
we no longer want to recommend its use (instead just "repack -d"
instead).
* The development community has adopted Contributor Covenant v2.0 to
update from v1.4 that we have been using.
* The support for deprecated PCRE1 library has been dropped.
* Fixes for CVE-2021-21300 in Git 2.30.2 (and earlier) is included.
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.31.0.txt
OK benoit
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.
This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.
Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.29.0.txt
Among other changes:
* "git maintenance", a "git gc"'s big brother, has been introduced to
take care of more repository maintenance tasks, not limited to the
object database cleaning.
* The final leg of SHA-256 transition plus doc updates. Note that
there is no interoperability between SHA-1 and SHA-256
repositories yet.
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