summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-03-08 15:25:47 +0000
committernia <nia@pkgsrc.org>2021-03-08 15:25:47 +0000
commit0b4274c6a0d6dc75523790b59ddc186591f9a85f (patch)
tree03c8a53aa8e17aaa2822817b51ccb4ea95dcd4e7 /pkgtools/pkg_install
parent7831717517ddaf3148565edd68130b2854bd2a50 (diff)
downloadpkgsrc-0b4274c6a0d6dc75523790b59ddc186591f9a85f.tar.gz
pkg_install-20210308
- update pkg_add's examples in its man page for 2021 compliance.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/Makefile3
-rw-r--r--pkgtools/pkg_install/files/add/pkg_add.134
-rw-r--r--pkgtools/pkg_install/files/lib/version.h4
3 files changed, 21 insertions, 20 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index fbfaf6cba87..9a9df69ed18 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -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
diff --git a/pkgtools/pkg_install/files/add/pkg_add.1 b/pkgtools/pkg_install/files/add/pkg_add.1
index dbfef60e9a3..0fe1c91250e 100644
--- a/pkgtools/pkg_install/files/add/pkg_add.1
+++ b/pkgtools/pkg_install/files/add/pkg_add.1
@@ -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 ftp or web site.
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 available.
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 ,
diff --git a/pkgtools/pkg_install/files/lib/version.h b/pkgtools/pkg_install/files/lib/version.h
index 94ca3817212..80f91888546 100644
--- a/pkgtools/pkg_install/files/lib/version.h
+++ b/pkgtools/pkg_install/files/lib/version.h
@@ -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_ */