pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/pkg_install



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.

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@localhost

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_ */



Home | Main Index | Thread Index | Old Index