Received: by mail.netbsd.org (Postfix, from userid 605) id 4B1A784D96; Mon, 8 Mar 2021 15:25:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 84FFB84D27 for ; Mon, 8 Mar 2021 15:25:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id zqkRMa7BXPgt for ; Mon, 8 Mar 2021 15:25:47 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id D7DE384CBC for ; Mon, 8 Mar 2021 15:25:47 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D1076FA95; Mon, 8 Mar 2021 15:25:47 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1615217147229300" MIME-Version: 1.0 Date: Mon, 8 Mar 2021 15:25:47 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/pkgtools/pkg_install To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20210308152547.D1076FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1615217147229300 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Mon Mar 8 15:25:47 UTC 2021 Modified Files: pkgsrc/pkgtools/pkg_install: Makefile pkgsrc/pkgtools/pkg_install/files/add: pkg_add.1 pkgsrc/pkgtools/pkg_install/files/lib: version.h Log Message: pkg_install-20210308 - update pkg_add's examples in its man page for 2021 compliance. To generate a diff of this commit: cvs rdiff -u -r1.233 -r1.234 pkgsrc/pkgtools/pkg_install/Makefile cvs rdiff -u -r1.48 -r1.49 pkgsrc/pkgtools/pkg_install/files/add/pkg_add.1 cvs rdiff -u -r1.185 -r1.186 pkgsrc/pkgtools/pkg_install/files/lib/version.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1615217147229300 Content-Disposition: inline Content-Length: 3871 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/pkgtools/pkg_install/Makefile diff -u pkgsrc/pkgtools/pkg_install/Makefile:1.233 pkgsrc/pkgtools/pkg_install/Makefile:1.234 --- pkgsrc/pkgtools/pkg_install/Makefile:1.233 Sat Mar 6 04:41:53 2021 +++ pkgsrc/pkgtools/pkg_install/Makefile Mon Mar 8 15:25:47 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.233 2021/03/06 04:41:53 ryoon Exp $ +# $NetBSD: Makefile,v 1.234 2021/03/08 15:25:47 nia Exp $ # Notes to package maintainers: # @@ -7,7 +7,6 @@ # change in the pkg_* tools that pkgsrc relies on for proper operation. PKGNAME= pkg_install-${VERSION} -PKGREVISION= 1 CATEGORIES= pkgtools MAINTAINER= agc@NetBSD.org Index: pkgsrc/pkgtools/pkg_install/files/add/pkg_add.1 diff -u pkgsrc/pkgtools/pkg_install/files/add/pkg_add.1:1.48 pkgsrc/pkgtools/pkg_install/files/add/pkg_add.1:1.49 --- pkgsrc/pkgtools/pkg_install/files/add/pkg_add.1:1.48 Wed Mar 21 17:32:44 2018 +++ pkgsrc/pkgtools/pkg_install/files/add/pkg_add.1 Mon Mar 8 15:25:47 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: pkg_add.1,v 1.48 2018/03/21 17:32:44 sevan Exp $ +.\" $NetBSD: pkg_add.1,v 1.49 2021/03/08 15:25:47 nia Exp $ .\" .\" FreeBSD install - a package for the installation and maintenance .\" of non-core utilities. @@ -17,7 +17,7 @@ .\" .\" @(#)pkg_add.1 .\" -.Dd March 21, 2018 +.Dd March 8, 2021 .Dt PKG_ADD 1 .Os .Sh NAME @@ -189,7 +189,7 @@ URL pointing at a file available on an f Thus you may extract files directly from their anonymous ftp or WWW locations (e.g., .Nm -ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/3.1_2007Q2/shells/bash-3.2.9.tgz +http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/9.0/All/bash-5.0.18.tgz or .Nm http://www.example.org/packages/screen-4.0.tbz). @@ -376,7 +376,20 @@ In all cases, .Nm will try to install binary packages listed in dependencies list. .Pp -You can specify a compiled binary package explicitly on the command line. +You can grab a compiled binary package from remote location by specifying +a URL: +.Bd -literal +# pkg_add http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/9.0/All/firefox-84.0.tgz +.Ed +.Pp +The base URL can also be provided by the configuration variable, +.Dv PKG_PATH : +.Bd -literal +# export PKG_PATH=http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/9.0/All +# pkg_add firefox +.Ed +.Pp +You can also specify a compiled binary package by filesystem path: .Bd -literal # pkg_add /usr/pkgsrc/packages/All/tcsh-6.14.00.tgz .Ed @@ -387,21 +400,10 @@ will install the latest version availabl With .Fl v , .Nm -emits more messages to terminal. +emits more messages to terminal: .Bd -literal # pkg_add -v /usr/pkgsrc/packages/All/unzip .Ed -.Pp -You can grab a compiled binary package from remote location by specifying -a URL. -The base URL can also be provided by the configuration variable, -.Dv PKG_PATH . -.Bd -literal -# pkg_add -v ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/3.1_2007Q2/All/firefox-2.0.0.4.tgz - -# export PKG_PATH=ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/3.1_2007Q2/All -# pkg_add -v firefox -.Ed .Sh SEE ALSO .Xr pkg_admin 1 , .Xr pkg_create 1 , Index: pkgsrc/pkgtools/pkg_install/files/lib/version.h diff -u pkgsrc/pkgtools/pkg_install/files/lib/version.h:1.185 pkgsrc/pkgtools/pkg_install/files/lib/version.h:1.186 --- pkgsrc/pkgtools/pkg_install/files/lib/version.h:1.185 Fri Dec 18 17:10:54 2020 +++ pkgsrc/pkgtools/pkg_install/files/lib/version.h Mon Mar 8 15:25:47 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: version.h,v 1.185 2020/12/18 17:10:54 maya Exp $ */ +/* $NetBSD: version.h,v 1.186 2021/03/08 15:25:47 nia Exp $ */ /* * Copyright (c) 2001 Thomas Klausner. All rights reserved. @@ -27,6 +27,6 @@ #ifndef _INST_LIB_VERSION_H_ #define _INST_LIB_VERSION_H_ -#define PKGTOOLS_VERSION 20201218 +#define PKGTOOLS_VERSION 20210308 #endif /* _INST_LIB_VERSION_H_ */ --_----------=_1615217147229300--