pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install pkg_install-20210308
details: https://anonhg.NetBSD.org/pkgsrc/rev/604ef26b1d18
branches: trunk
changeset: 448471:604ef26b1d18
user: nia <nia%pkgsrc.org@localhost>
date: Mon Mar 08 15:25:47 2021 +0000
description:
pkg_install-20210308
- update pkg_add's examples in its man page for 2021 compliance.
diffstat:
pkgtools/pkg_install/Makefile | 3 +-
pkgtools/pkg_install/files/add/pkg_add.1 | 34 ++++++++++++++++---------------
pkgtools/pkg_install/files/lib/version.h | 4 +-
3 files changed, 21 insertions(+), 20 deletions(-)
diffs (106 lines):
diff -r d124bade257d -r 604ef26b1d18 pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile Mon Mar 08 14:34:32 2021 +0000
+++ b/pkgtools/pkg_install/Makefile Mon Mar 08 15:25:47 2021 +0000
@@ -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@localhost
diff -r d124bade257d -r 604ef26b1d18 pkgtools/pkg_install/files/add/pkg_add.1
--- a/pkgtools/pkg_install/files/add/pkg_add.1 Mon Mar 08 14:34:32 2021 +0000
+++ b/pkgtools/pkg_install/files/add/pkg_add.1 Mon Mar 08 15:25:47 2021 +0000
@@ -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 @@
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 @@
.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 @@
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 -r d124bade257d -r 604ef26b1d18 pkgtools/pkg_install/files/lib/version.h
--- a/pkgtools/pkg_install/files/lib/version.h Mon Mar 08 14:34:32 2021 +0000
+++ b/pkgtools/pkg_install/files/lib/version.h Mon Mar 08 15:25:47 2021 +0000
@@ -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_ */
Home |
Main Index |
Thread Index |
Old Index