Commit Graph

258 Commits

Author SHA1 Message Date
ajacoutot f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00
kmos 409a9d9cd2 base-gcc disagrees on how many arguments to the deprecated attribute should
have.

Switch to ports-gcc for base-gcc arches. Fixes build on sparc64
2022-10-21 17:25:02 +00:00
benoit 1aae5f4d20 Update to git-2.38.1. 2022-10-19 07:34:00 +00:00
kn d344bcdcee Update to git 2.38.0
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.38.0.txt
2022-10-04 19:32:54 +00:00
kn ae2356823e Update to git 2.37.3
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.37.3.txt
2022-08-31 09:09:44 +00:00
benoit bf87d7be10 Update to git-2.37.2. 2022-08-11 18:46:32 +00:00
kn a6961048f1 Update to git 2.37.1 2022-07-13 10:59:22 +00:00
kn f3a45e0089 Update to git 2.37.0
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.37.0.txt
2022-06-30 15:27:20 +00:00
kn 3916d28ffa Update to git 2.36.1 2022-05-18 23:22:12 +00:00
kn 1438aff6d8 Update to git 2.36.o
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.36.0.txt
2022-04-20 23:26:20 +00:00
kn 502e8ca012 Security update to git 2.35.2
"""
* CVE-2022-24765:
On multi-user machines, Git users might find themselves
unexpectedly in a Git worktree, e.g. when another user created a
repository in `C:\.git`, in a mounted network drive or in a
scratch space. Merely having a Git-aware prompt that runs `git
status` (or `git diff`) and navigating to a directory which is
supposedly not a Git worktree, or opening such a directory in an
editor or IDE such as VS Code or Atom, will potentially run
commands defined by that other user.
"""
2022-04-14 00:01:23 +00:00
naddy 85229c97e7 drop RCS Ids 2022-03-11 18:49:30 +00:00
kn e7411f37c1 Remove RCSIDs from ports I maintain 2022-03-10 12:03:30 +00:00
benoit fc91d07832 Update to git-2.35.1. 2022-01-29 08:36:48 +00:00
kn d32810ea69 Update to git 2.35.0
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.35.0.txt
2022-01-25 06:44:56 +00:00
kn f5895f0573 Update to git 2.34.1
Mostly 2.34.0 regression fixes.
2021-11-25 21:04:58 +00:00
espie 208c0b1f40 default for PKGNAME-sub where it makes sense, no pkgnames change 2021-11-22 15:00:41 +00:00
kn 2bb31a8bd0 Update to git 2.34.0
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.34.0.txt
Lots of changes, including the ability to sign commits with SSH keys.
2021-11-16 16:21:15 +00:00
kn 38380c51c8 Move zh_cn.msg from main to x11 package
Noticed by sthen with "pkg_check -F".
2021-11-15 19:52:38 +00:00
kn aec96d08b2 Zap lang/python module usage
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.
2021-10-30 00:13:02 +00:00
kn 4dfffe9849 Enable 2GB clone test, add comments on tests 2021-10-30 00:04:42 +00:00
kn 72f1ad8de9 Python is not used during build- or run-time
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.
2021-10-29 22:05:11 +00:00
kn 6bf6a764a0 Update to git 2.33.1 2021-10-13 06:10:20 +00:00
kn 107041a4e4 Replace custom do-test with proper ports framework handling
`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.
2021-08-28 11:17:22 +00:00
kn 3b31a66f3d Remove obsolete gtar patch for testsuite, works fine with base tar(1) now
Not sure when, but upstream's test suite got rid of whatever GNU option
was used.
2021-08-28 11:06:24 +00:00
kn 6cb4e4381b Update to git 2.33.0
The multimail hook has been removed.

https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.33.0.txt
2021-08-28 11:02:23 +00:00
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