Git is a free and open source distributed version control system designed to
handle everything from small to very large projects with speed and efficiency.
===> The following configuration options are available for git-2.56.0:
CONTRIB=on: Install contributed scripts
CURL=on: Install curl support (provides HTTPS transport)
DOCS=on: Build and/or install documentation
GITWEB=on: Install gitweb
ICONV=on: Encoding conversion support via iconv
NLS=on: Native Language Support
PCRE2=on: Use Perl Compatible Regular Expressions (v2)
PERL=on: Perl scripting language support
SEND_EMAIL=on: Enable the git-send-email(1) script
SUBTREE=on: Install git-subtree
===> Use 'make config' to modify these settings
Reason:
devel/git port was split into multiple sub-ports that depend on devel/git
and install additional files:
- devel/git-cvs - CVS related scripts and man pages
- devel/git-gui - GUI related scripts and man pages
- devel/git-p4 - Perforce related scripts and man pages
- devel/git-svn - Subversion related scripts and man pages
Due to these changes, CVS, GUI, PERFORCE, and SUBVERSION options
as well as gui and svn flavors were removed from the port.
devel/git: Handle libsysinfo properly
git 2.50.0 was failing to build when libsysinfo was installed and, to
workaround this issue, an option LIBSYSINFO was added to the port and a
small change made on configure.ac to make it possible to disable this
knob.
After some discussion with git developers they prpoposed a different
approach to just ignore libsysinfo if it's installed because git should
never use it on FreeBSD. It should use BSD_SYSCTL option instead.
This change removes the LIBSYSINFO option and properly change
configure.ac to ignore LIBSYSINFO when HAVE_BSD_SYSCTL is set. This way
git will build exactly the same when libsysinfo is or not installed.
Obtained
from: https://lore.kernel.org/git/[email protected]/T/#ma65c83afdc1918ffdb18c9cae9ead29db4738b0f
Sponsored by: Rubicon Communications, LLC ("Netgate")
devel/git: Fix build if devel/libsysinfo is installed
Add option SYSINFO - default off.
While here fix warning:
Warning: www/p5-CGI was in Perl CORE. Check with `corelist CGI 0`
and `corelist -a CGI` if it should be conditionally added depending
on PERL_LEVEL
PR: 287680
Approved by: garga (maintainer)
devel/git: Rename HTMLDOCS option into canonical DOCS option
Let users globally decide whether they want to have these docs in their ports.
This change has also discovered a bug where parts of the documentation where
not installed at all.
Approved by: otis (mentor), garga (maintainer)
Differential Revision: https://reviews.freebsd.org/D50776
devel/git: Update to 2.43.1
Import a patch applied on git main branch after 2.43.1 was released to
fix build without CURL.
Sponsored by: Rubicon Communications, LLC ("Netgate")
devel/git: Update to 2.4.0
Changelog at
https://github.com/git/git/blob/master/Documentation/RelNotes/2.4.0.txt.
This update fixes a long-standing problem with git rebase of some
(but not all) merges from the vendor branch, resulting in subsequently
rebased files being placed into the root of the repo tree.
PR: 270222
Submitted by: cy
Reported by: cy
Approved by: garga
devel/git: remove no longer needed third party patches
- This reverts 57d9640f3c3669d318865222a743652a6952ba2d
PR: 267792, 263867
Approved by: garga (maintainer)
Revert "devel/git: Make PCRE2 dependency mandatory"
As pointed out by jbeich, old PCRE support was already removed and git
can be built without any PCRE support.
This reverts commit 0b7192bd7c4f8e4c05e0a9cefcae347606ebadd1.
Pointy-hat to: garga
devel/git: Make PCRE2 dependency mandatory
According to project website, pcre 8.45 was the latest version of old
pcre, which is now deprecated, and it must be replaced by pcre2.
Remove OPTION and change port to depend of pcre2.
PR: 267185
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/git: Fix 'git maintenance start'
Add a patch from upstream to fix 'git maintenance start'. Here follow
upstream commit message:
While cron is specified by POSIX, there are a wide variety of
implementations in use. On FreeBSD, the cron implementation requires a
file name argument: if the user wants to edit standard input, they must
specify "-". However, this notation is not specified by POSIX, allowing
the possibility that making such a change may break other, less common
implementations.
Since POSIX tells us that cron must accept a file name argument, let's
solve this problem by specifying a temporary file instead. This will
ensure that we work with the vast majority of implementations.
Note that because delete_tempfile closes the file for us, we should not
call fclose here on the handle, since doing so will introduce a double
free.
PR: 260746
Reported by: Mark Waite <[email protected]>
Obtained
from: https://lore.kernel.org/git/[email protected]/T/#me47087c1f9034c82da8eae83db18cc6114c2c1e5
Sponsored by: Rubicon Communications, LLC ("Netgate")
devel/git: Split into subpackages
Removed CVS, GUI, PERFORCE and SUBVERSION options and also gui and svn
FLAVORS, and create 4 new subports:
devel/git-cvs
devel/git-gui
devel/git-p4
devel/git-svn
All these packages depend of devel/git and install only additional files
and manpages. This work is based on initial patch submitted by grembo@i
at review D30238.
PR: 251090
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D32369
devel/git: Fix contrib installation
In some cases installation is aborted when try to copy test.netrc.gpg,
which is an empty file. This file is not actually needed so the fix
here is to stop trying to install it
PR: 255885
Sponsored by: Rubicon Communications, LLC ("Netgate")
devel/git: Disable SVN and create flavor
Ports tree moved to git. Disable SVN option by default on main port to
reduce dependencies and create a new flavor "svn" that looks exactly how
main port was before this change
PR: 254719
Reported by: grembo
Sponsored by: Rubicon Communications, LLC ("Netgate")
devel/git: Update to 2.31.0 and other fixes
- Update to 2.31.0
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.31.0.txt
- Removed PCRE option since support for pcre 1.x was dropped
- Sort OPTIONS_DEFINE and OPTIONS_DEFAULT
- Move installation of bash completion to common post-install target and
always copy it to final destination to deduplicate code
PR: 254170
Submitted by: Yasuhiro Kimura <[email protected]>
Sponsored by: Rubicon Communications, LLC ("Netgate")
devel/git: Add a "tiny" flavor that depends only on curl
This provides a minimal functioning git that depends only on
curl (and expat, which comes along for the ride).
PR: 251689
Approved by: maintainer (garga)
devel/git: Fix options for flavors
Only change OPTIONS_FILE when flavor is not empty or default. It fixes a
problem saving options on poudriere for default flavor
Reported by: madpilot
devel/git: Update to 2.29.2 and small tweaks
- Update to 2.29.2 [1]
- Simplify logic to define COMMENT for each flavor
- Inspired in www/py-autobahn, save OPTIONS on a different file for each flavor
PR: 250472 [1]
Submitted by: Yasuhiro KIMURA <[email protected]> [1]
Sponsored by: Rubicon Communications, LLC (Netgate)
devel/git: Update to 2.28.0 and build with svn lts
- Update to 2.28.0 [1]
- Change dependency to p5-subversion-lts if WITH_SUBVERSION_VER=LTS
is set [2]
PR: 248308 [1]
Submitted by: Yasuhiro KIMURA <[email protected]> [1]
des [2]
Sponsored by: Rubicon Communications, LLC (Netgate)
devel/git: Use rubygem-asciidoctor to build docs
asciidoctor and python2 are deprecated and upstream is moving to
asciidoctor gem as default tool to build documentation
PR: 245657
Submitted by: Bjorn Neergaard <[email protected]>
Sponsored by: Rubicon Communications, LLC (Netgate)
devel/git: helpful description for CURL option
Turning off CURL OPTIONS knob has somewhat unexpected consequences, ie.
disables HTTPS transport, thus no Github access.
This is not evident from the default option description. The tiny patch
adds non standard knob description specifically mentioning HTTPS
unavailability, when it gets turned off.
While here, sort *_DESC variables alphabetically.
PR: 242682
Submitted by: Piotr Smyrak <[email protected]>
Sponsored by: Rubicon Communications, LLC (Netgate)