git: 84ed51c41205 - stable/14 - pkg.7: Add example for fetching package for different FreeBSD versions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Apr 2025 01:04:59 UTC
The branch stable/14 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=84ed51c412056fd90451017eef240ced759c8025 commit 84ed51c412056fd90451017eef240ced759c8025 Author: Christos Margiolis <christos@FreeBSD.org> AuthorDate: 2025-04-01 13:29:50 +0000 Commit: Christos Margiolis <christos@FreeBSD.org> CommitDate: 2025-04-08 01:04:51 +0000 pkg.7: Add example for fetching package for different FreeBSD versions MFC after: 1 week Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D49580 (cherry picked from commit 8900283fa37f6555055d8af5ffa1a5a2fbe2940e) --- usr.sbin/pkg/pkg.7 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pkg/pkg.7 b/usr.sbin/pkg/pkg.7 index 605653bbd8c6..982fd8ecaeb3 100644 --- a/usr.sbin/pkg/pkg.7 +++ b/usr.sbin/pkg/pkg.7 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 24, 2022 +.Dd March 30, 2025 .Dt PKG 7 .Os .Sh NAME @@ -313,6 +313,11 @@ Check installed packages for checksum mismatches: .Pp Check for missing dependencies: .Dl # pkg check -d -a +.Pp +Fetch a package for a different +.Fx +version, along with all its dependencies: +.Dl # pkg -o ABI=FreeBSD:15:amd64 -o IGNORE_OSVERSION=yes fetch -o destdir -d perl .Sh SEE ALSO .Xr ports 7 , .Xr pkg 8