History log of /freebsd-current/release/Makefile.inc1
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# e5c6913a 17-Mar-2021 Glen Barber <gjb@FreeBSD.org>

release: sync 'git count' logic with newvers.sh

Sync determining the git count with newvers.sh by adding the
--first-parent argument. This ensures uname(1) reflects the
file name for snapshots.

Reported by: Mark Millard
MFC after: 3 days
Sponsored by: Rubicon Communications, LLC ("Netgate")


# 0be274d3 02-Mar-2021 Glen Barber <gjb@FreeBSD.org>

Adjust where UNAME_r is defined for ports builds

In followup to 80ab50e1de19ca125f05a13937c796d48c4edd4a,
export UNAME_r in Makefile.inc1 instead of Makefile.vm.

MFC after: 3 days
MFC with: 80ab50e1de19
Sponsored by: Rubicon Communications, LLC ("Netgate")


# d3df64ad 16-Dec-2020 Glen Barber <gjb@FreeBSD.org>

Append the branch commit count to _SNAP_SUFFIX for development
snapshot builds.

Sponsored by: Rubicon Communications, LLC (netgate.com)


# 9fb61eb1 29-Aug-2020 Glen Barber <gjb@FreeBSD.org>

Indentation fixes. No functional changes.

Sponsored by: Rubicon Communications, LLC (netgate.com)


# 52a8a2de 29-Aug-2020 Glen Barber <gjb@FreeBSD.org>

Avoid the build from falling over if devel/git is not installed
on the system. Set a null branch/hash in this case, to avoid
undefined GITREV/GITBRANCH variables from falling over in other
areas.

Reported by: many
Sponsored by: Rubicon Communications, LLC (netgate.com)


# 233a5529 27-Aug-2020 Glen Barber <gjb@FreeBSD.org>

Add a new line to force a commit to verify if lwhsu did indeed
fix the jenkins build by adding git to the dependency list.

Sponsored by: Rubicon Communications, LLC (netgate.com)


# 6e7be14e 27-Aug-2020 Glen Barber <gjb@FreeBSD.org>

Adjust the logic to locating GIT_CMD.
Use 'git -C' instead of cd(1). [1]

Suggested by: garga [1]
Sponsored by: Rubicon Communications, LLC (netgate.com)


# 2b65ed03 25-Aug-2020 Glen Barber <gjb@FreeBSD.org>

Fix the current working directory when setting GITREV and
GITBRANCH.

Sponsored by: Rubicon Communications, LLC (netgate.com)


# 86e5b137 12-Aug-2020 Glen Barber <gjb@FreeBSD.org>

release: update to use git instead of svn:

Makefile.* (cloudware):
- Consistify setting the BUILDDATE for snapshots.

release.conf.sample/release.sh:
- Run 'git clone' in 'quiet' mode.

Makefile.inc1:
- Set BUILDDATE and export the variable.

Sponsored by: Rubicon Communications, LLC (netgate.com)


# 29b282f3 16-Jul-2020 Glen Barber <gjb@FreeBSD.org>

Makefile.inc1:
- New file. Adds logic to search for the git binary, as well
as determining the branch and revision, used in various
places.

Makefile:
- Remove searching for the svn{,lite} binary.

Makefile.ec2:
- Reduce duplicated code, removing searching for the svn{,lite}
binary, in addition to EC2_SVN{BRANCH,REV}.
- Rename EC2_SVN* with GIT* for consistency.

Makefile.mirrors:
- Remove the SRCBRANCH declaration, replaced with the exported
GITBRANCH variable.
- Update _SNAP_SUFFIX from SVNREVISION to GITREV, and remove
the leading 'r' from it, since it will break git hashes.
- Remove yet another instance of duplicated code to search for
the svn{,version}lite binary.

Sponsored by: Rubicon Communications, LLC (netgate.com)