Source-Changes-HG archive

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

[src/trunk]: src Update default pkgsrc database location from /var/db/pkg to ...



details:   https://anonhg.NetBSD.org/src/rev/e9427eac9756
branches:  trunk
changeset: 946585:e9427eac9756
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Dec 02 14:18:13 2020 +0000

description:
Update default pkgsrc database location from /var/db/pkg to /usr/pkg/pkgdb.

diffstat:

 etc/security                   |  4 ++--
 share/man/man5/daily.5         |  6 +++---
 share/man/man5/security.conf.5 |  6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (74 lines):

diff -r fdc904c50b7e -r e9427eac9756 etc/security
--- a/etc/security      Wed Dec 02 14:09:18 2020 +0000
+++ b/etc/security      Wed Dec 02 14:18:13 2020 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: security,v 1.126 2019/12/06 14:43:30 riastradh Exp $
+#      $NetBSD: security,v 1.127 2020/12/02 14:18:13 wiz Exp $
 #      from: @(#)security      8.1 (Berkeley) 6/9/93
 #
 
@@ -991,7 +991,7 @@
        pkgs=$work_dir/pkgs
        migrate_file "$backup_dir/pkgs" "$pkgs"
        pkg_dbdir=$(${pkg_admin} config-var PKG_DBDIR)
-       : ${pkg_dbdir:=/var/db/pkg}
+       : ${pkg_dbdir:=/usr/pkg/pkgdb}
        (       cd $pkg_dbdir
                $pkg_info | sort
                echo ""
diff -r fdc904c50b7e -r e9427eac9756 share/man/man5/daily.5
--- a/share/man/man5/daily.5    Wed Dec 02 14:09:18 2020 +0000
+++ b/share/man/man5/daily.5    Wed Dec 02 14:18:13 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: daily.5,v 1.6 2012/07/30 17:29:00 wiz Exp $
+.\"    $NetBSD: daily.5,v 1.7 2020/12/02 14:18:13 wiz Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd July 30, 2012
+.Dd December 2, 2020
 .Dt DAILY 5
 .Os
 .Sh NAME
@@ -199,7 +199,7 @@
 .Pp
 If defined, points to the location of the packages database.
 Defaults to
-.Pa /var/db/pkg .
+.Pa /usr/pkg/pkgdb .
 .El
 .Sh FILES
 .Bl -tag -width /etc/defaults/daily.conf -compact
diff -r fdc904c50b7e -r e9427eac9756 share/man/man5/security.conf.5
--- a/share/man/man5/security.conf.5    Wed Dec 02 14:09:18 2020 +0000
+++ b/share/man/man5/security.conf.5    Wed Dec 02 14:18:13 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: security.conf.5,v 1.41 2019/12/06 14:43:30 riastradh Exp $
+.\"    $NetBSD: security.conf.5,v 1.42 2020/12/02 14:18:13 wiz Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd April 5, 2012
+.Dd December 2, 2020
 .Dt SECURITY.CONF 5
 .Os
 .Sh NAME
@@ -271,7 +271,7 @@
 .Pp
 If defined, points to the location of the packages database.
 Defaults to
-.Pa /var/db/pkg .
+.Pa /usr/pkg/pkgdb .
 .It Sy backup_uses_rcs
 Use
 .Xr rcs 1



Home | Main Index | Thread Index | Old Index