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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
firstboot-pkg-upgrade Update the system using pkg when it first boots
1.1 sysutilsnew! on this many watch lists=0 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.1Version of this port present on the latest quarterly branch.
Maintainer: ziaee@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-05-08 15:36:05
Last Update: 2026-05-09 23:59:16
Commit Hash: 922cd95
License: BSD2CLAUSE
Description:
Run 'pkg upgrade' when the system first boots to check for any software updates, apply 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 - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/firstboot-pkg-upgrade-1.1/catalog.mk
  2. /usr/local/share/licenses/firstboot-pkg-upgrade-1.1/LICENSE
  3. /usr/local/share/licenses/firstboot-pkg-upgrade-1.1/BSD2CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • firstboot_pkg_upgrade
Dependency lines:
  • firstboot-pkg-upgrade>0:sysutils/firstboot-pkg-upgrade
To install the port:
cd /usr/ports/sysutils/firstboot-pkg-upgrade/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/firstboot-pkg-upgrade
  • pkg install firstboot-pkg-upgrade
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: firstboot-pkg-upgrade
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-pkg-upgrade
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest----1.0---
FreeBSD:14:quarterly-1.0--1.0---
FreeBSD:15:latest-1.0n/a-n/an/a--
FreeBSD:15:quarterly-1.0n/a-n/an/a--
FreeBSD:16:latest-1.0n/a-n/an/a--
This port has no dependencies.
There are no ports dependent upon this port

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

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.1
09 May 2026 23:59:16
commit hash: 922cd9536954fc7eada1ec90b4ca5837d3990878commit hash: 922cd9536954fc7eada1ec90b4ca5837d3990878commit hash: 922cd9536954fc7eada1ec90b4ca5837d3990878commit hash: 922cd9536954fc7eada1ec90b4ca5837d3990878 files touched by this commit
Colin Percival (cperciva) search for other commits by this committer
sysutils/firstboot-pkg-upgrade: Fix script typo

With hat:	re
1.0
08 May 2026 15:35:12
commit hash: 89d217ad06ead7f1138121ca2aa30099bba23165commit hash: 89d217ad06ead7f1138121ca2aa30099bba23165commit hash: 89d217ad06ead7f1138121ca2aa30099bba23165commit hash: 89d217ad06ead7f1138121ca2aa30099bba23165 files touched by this commit
Alexander Ziaee (ziaee) search for other commits by this committer
sysutils/firstboot-pkg-upgrade: New port

Introduce an rc.d service to upgrade all packages on first boot,
ensuring cloud images are deployed with no known vulnerabilities. By
default, it will patch everything from all enabled repos, and record
this in syslog. It accepts an optional additional line that specifies
a list of space-separated specific repos to limit the upgrade to.

Note specifying bogus repos results in the upgrade aborting,
it will log This and will not try to not run again.

MFH:			2026Q2
Sponsored by:		Amazon
Sponsored by:		Google Cloud
Sponsored by:		OVHcloud
Reviewed by:		bapt, cperciva
Discussed with:		bapt, cperciva, delphij, lwhsu
Differential Revision: https://reviews.freebsd.org/D56381

Number of commits found: 2