238 Commits

Author SHA1 Message Date
kn
5bc76416a2 Update to git 2.32.0
Lots of fixes and improvements:

https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.32.0.txt

OK gnezdo
2021-06-10 22:38:00 +00:00
benoit
4053216234 Update to git-2.31.1. 2021-03-28 08:18:28 +00:00
kn
c7083c65a6 Update to git 2.31.0
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
2021-03-16 19:06:52 +00:00
kn
40f5bf2eea Security update to git 2.30.2
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.30.2.txt
(pure merge commit, 2.17.6 has the actual fix)
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.17.6.txt

* CVE-2021-21300:
On case-insensitive file systems with support for symbolic links,
if Git is configured globally to apply delay-capable clean/smudge
filters (such as Git LFS), Git could be fooled into running
remote code during a clone.
2021-03-09 22:21:22 +00:00
jcs
29d6a53c4b correct name on _gitdaemon passwd entry, it's not an acronym
ok kn
2021-03-08 21:19:44 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
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.
2021-02-23 19:39:08 +00:00
kn
c942b29da6 Update to git 2.30.1
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.30.1.txt

This release is primarily to merge fixes accumulated on the 'master'
front to prepare for 2.31 release that are still relevant to 2.30.x
maintenance track.
2021-02-09 10:25:29 +00:00
kn
29342c3207 Update to git 2.30.0
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.30.0.txt
2020-12-29 20:23:05 +00:00
benoit
da8e6c10d6 Update to git 2.29.2. 2020-10-30 08:34:35 +00:00
kn
cac461c669 Update to git 2.29.1
This is to fix the build procedure change in 2.28 [...]
when the non-default SKIP_DASHED_BUILT_INS installation
option is in effect.

Noop for us.
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.29.1.txt
2020-10-24 14:52:15 +00:00
kn
fa2b4c8cf5 Update to git 2.29.0
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.
2020-10-19 19:51:01 +00:00
kn
c3ae526e11 Update to git 2.28.0
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.28.0.txt
2020-07-27 21:10:52 +00:00
kn
9d72391332 Update to git 2.27.0
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.27.0.txt
2020-06-03 09:28:53 +00:00
kn
991dadf679 Properly register git-shell(1) with @shell
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.
2020-04-24 23:22:38 +00:00
kn
f49ad423f4 Update to git 2.26.2
This release is to address a security issue: CVE-2020-11008
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.17.5.txt
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.26.2.txt
2020-04-21 12:39:47 +00:00
kn
a246c96fa0 Update git to 2.26.1, add CVE quirk
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.26.1.txt
This release is to address the security issue: CVE-2020-5260
2020-04-14 22:57:50 +00:00
kn
1a4ed1c962 Provide debug package for -main 2020-04-03 01:17:28 +00:00
benoit
64ac09c7f9 Update to git-2.26.0. 2020-03-24 07:54:45 +00:00
benoit
52d0f5bc4c Update to git-2.25.2. 2020-03-18 08:09:18 +00:00
benoit
3dd925f95f Update to git-2.25.1. 2020-02-17 13:00:31 +00:00
abieber
20504bb1b1 Install the git perl libs into locations perl looks at. Also stop shipping the
FromCPAN stuff as its functionality is covered by the RUN_DEPS.

This fixes tools like git-credential-netrc and git-mw.

OK and tweaks from sthen@
2020-01-27 23:49:12 +00:00
sthen
4d031e5a72 devel/git fixes: set MODTK_VERSION=8.6 (git-gui requires this version -
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@
2020-01-19 18:27:50 +00:00
kn
145cde9ff6 Update to git 2.25.0
OK benoit
2020-01-14 21:33:49 +00:00
sthen
c5cface078 update to git-2.24.1, 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/
2019-12-11 20:06:57 +00:00
jca
07dfa8d441 Fetch amount of available mem using sysconf instead of a sysctl maze
ok kn@ benoit@ (maintainers)
2019-11-18 13:28:23 +00:00
kn
f59de0f1db Update to git 2.24.0
OK benoit
2019-11-11 10:12:32 +00:00
jca
4c38ff9324 Zap nghttp2 as a direct dep
nghttp2 is in WANTLIB because of curl, the git code doesn't call nghttp2
directly.  ok sthen@ kn@ (maintainer)
2019-11-03 15:27:44 +00:00
jca
c9ddaa3090 Better cpu and memory tracking
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)
2019-11-03 15:25:22 +00:00
ajacoutot
37d578eb30 We've had strcasestr() and memmem() for a while now.
from Miod
2019-11-03 11:50:23 +00:00
kn
8c5d11deb6 Update COMMENT and DESCR
Taken from https://git-scm.com

OK benoit
2019-10-25 08:03:51 +00:00
kn
31a819f791 Update to git 2.23.0
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
2019-08-26 23:35:24 +00:00
jca
c6c5c7ea6b Remove rsync from RUN_DEPENDS, rsync support was removed in git-2.8.0
from jan Stary, ok benoit@ (maintainer)
2019-08-15 16:24:46 +00:00
stsp
89b375f628 Fix gitdaemon rc.d(8) script's mechanism for setting the daemon's UID.
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@
2019-07-16 09:56:55 +00:00
kn
c9d9f92ab2 Update git to 2.22.0
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.22.0.txt

Fixes, polishing, rewrites under the hood, nothing breaking.

OK benoit
2019-06-26 15:07:57 +00:00
naddy
ebf751b927 Update gettext to 0.20.1.
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
2019-05-20 22:15:00 +00:00
kn
92012b01af Update to git-2.21.0
OK benoit
2019-02-26 09:10:34 +00:00
kn
da73d0973a Ship with git-subtree(1)
Diff from Caspar Schutijser <caspar at schutijser dot com>, thanks!

OK benoit
2019-01-26 11:48:18 +00:00
kn
9839cae1b3 Update to git-2.20.1
OK benoit
2018-12-16 13:53:22 +00:00
kn
8dfafdf6a5 Update to git-2.19.2
Sort RDEPs while here.

OK benoit
2018-11-25 12:41:35 +00:00
kn
53d4fc688c Update to git-2.19.1
Fixes CVE-2018-17456: https://marc.info/?l=git&m=153875888916397

OK benoit
2018-10-05 21:54:41 +00:00
kn
c829475e88 Update to git-2.19
OK benoit (maintainer, had the same diff)
2018-09-13 05:59:22 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
kn
08d5d82eae Update to git-2.18.0
OK benoit danj
2018-07-06 20:15:42 +00:00
kn
e9a58eab09 Update to git-2.7.1
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
2018-06-14 17:43:47 +00:00
sthen
7c729e2e71 security update to git-2.16.4: CVE-2018-11235, CVE-2018-11233
ok kn@ benoit@
2018-06-04 10:47:29 +00:00
espie
13522be37e git is not that well related to python, don't do accidental version injection 2018-05-15 15:15:58 +00:00
kn
2df20c74c7 Fix false positive for MODPY_VERSION substitution.
OK sthen
2018-03-06 22:20:53 +00:00
benoit
7dcdc9b221 Update to git-2.16.2. 2018-03-04 10:31:58 +00:00
benoit
4a09561dbe Update to git-2.16.0. 2018-01-20 09:24:57 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00