notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
firstboot-freebsd-update Update the system using freebsd-update when it first boots
1.4 sysutils on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.4Version of this port present on the latest quarterly branch.
Maintainer: cperciva@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-10-20 22:03:52
Last Update: 2024-01-30 21:26:23
Commit Hash: 39126a2
People watching this port, also watch:: indexinfo, xorg-fonts-truetype, libXdamage, libevent, mesa-libs
License: not specified in port
Description:
Run 'freebsd-update fetch' when the system first boots; and if updates are downloaded, install them and request a reboot. Obviously, this port is not useful after a system is already running; it is intended to be included as part of the installation or disk image building process.
cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • firstboot-freebsd-update>0:sysutils/firstboot-freebsd-update
To install the port:
cd /usr/ports/sysutils/firstboot-freebsd-update/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/firstboot-freebsd-update
  • pkg install firstboot-freebsd-update
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: firstboot-freebsd-update
Flavors: there is no flavor information for this port.
distinfo:
There is no distinfo for this port.

Packages (timestamps in pop-ups are UTC):
firstboot-freebsd-update
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.41.41.21.41.4-1.2-
FreeBSD:13:quarterly1.41.41.31.41.41.31.31.3
FreeBSD:14:latest1.41.41.31.41.41.3-1.3
FreeBSD:14:quarterly1.41.4-1.41.41.31.31.3
FreeBSD:15:latest1.41.4n/a1.4n/a1.41.41.4
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
sysutils_firstboot-freebsd-update
FreshPorts was unable to extract/find any pkg message
Master Sites:
  1. There is no master site for this port.

Number of commits found: 11

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.4
30 Jan 2024 21:26:23
commit hash: 39126a2d9768e46e0fe8795c815721d122adadadcommit hash: 39126a2d9768e46e0fe8795c815721d122adadadcommit hash: 39126a2d9768e46e0fe8795c815721d122adadadcommit hash: 39126a2d9768e46e0fe8795c815721d122adadad files touched by this commit
Colin Percival (cperciva) search for other commits by this committer
sysutils/firstboot-freebsd-update: HTTP_TIMEOUT=5

If a system with firstboot_freebsd_update_enable="YES" boots without
access to the FreeBSD Update mirrors (e.g. an EC2 instance which has
an EC2 security group settings which block outbound HTTP) the boot
will hang until it times out.  The default timeout of 120 seconds is
suboptimal.

Run freebsd-update with a timeout of 5 seconds, and bump the package
version to 1.4 to reflect this change.

Reported by:	mgrooms@shrew.net
PR:		276720
Sponsored by:	https://www.patreon.com/cperciva
1.3
24 Jun 2021 20:37:34
commit hash: 7d65d24dfd8ea4f2fdc8a81981327c76b1a9279bcommit hash: 7d65d24dfd8ea4f2fdc8a81981327c76b1a9279bcommit hash: 7d65d24dfd8ea4f2fdc8a81981327c76b1a9279bcommit hash: 7d65d24dfd8ea4f2fdc8a81981327c76b1a9279b files touched by this commit
Colin Percival (cperciva) search for other commits by this committer
sysutils/firstboot-freebsd-update: Add --not-running-from-cron

On systems without a working console, running freebsd-update fetch
from an rc script triggers the "should not be run non-interactively"
error.  Solve this by telling freebsd-update to skip that check.

Reported by:	Mike Bristow
1.2
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.2
09 Jan 2017 09:54:20
Revision:430932Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
- Add NO_ARCH

Approved by:	portmgr blanket
1.2
01 Apr 2015 19:15:55
Revision:382940Original commit files touched by this commit
jgh search for other commits by this committer
- minor cleanup
  - options in favor of using pre
  - extract_only to drop fetch target
  - no_install to drop install target

PR:		199097
Submitted by:	jgh
Approved by:	cperciva (maintainer)
1.2
31 Mar 2015 01:26:19
Revision:382788Original commit files touched by this commit
cperciva search for other commits by this committer
Teach the firstboot-freebsd-update script to disable itself if it is run
on something other than *-BETA*, *-RC*, or *-RELEASE*.  There won't be
any bits available to download, and if we don't disable it then the first
boot will be slowed down due to freebsd-update trying all of the available
mirrors.
1.1
07 Dec 2013 10:50:23
Revision:335824Original commit files touched by this commit
gjb search for other commits by this committer
To prevent fallout of lowering __FreeBSD_version in releng/10.0 branch,
adjust OSVERSION evaluation in ports that specifically use '100050N'.

Approved by:	affected maintainers (implicit)
Sponsored by:	The FreeBSD Foundation
1.1
28 Oct 2013 00:06:49
Revision:331815Original commit files touched by this commit
cperciva search for other commits by this committer
Set ${firstboot_freebsd_update_enable} to NO by default.

Bump version to 1.1 for the change.
1.0
22 Oct 2013 16:19:34
Revision:331293Original commit files touched by this commit
cperciva search for other commits by this committer
Update for new __FreeBSD_version values with rc.d firstboot support.
1.0
20 Oct 2013 22:03:29
Revision:331066Original commit files touched by this commit
swills search for other commits by this committer
Run 'freebsd-update fetch' when the system first boots; and if updates are
downloaded, install them and request a reboot.

Obviously, this port is not useful after a system is already running; it is
intended to be included as part of the installation or disk image building
process.

PR:		ports/183130
Submitted by:	cperciva@FreeBSD.org

Number of commits found: 11