pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/pkgformat/pkg



Module Name:    pkgsrc
Committed By:   gdt
Date:           Thu Dec 24 01:31:19 UTC 2020

Modified Files:
        pkgsrc/mk/pkgformat/pkg: pkgformat-vars.mk

Log Message:
pkgformat-vars.mk: Revert requirement for new PKGTOOLS

As part of the pkgdb migration (NetBSD only), PGKTOOLS_REQD was set to
a recent value (20200828).  However, that results in a cyclic
dependency of pkg_install on cwrappers on pkg_install.  Once people
set PKG_DBDIR in pkg_install.conf and mk.conf to match their setup,
there is no need -- because of the migration -- to force newer tools.

Testing on TNF's pkgbuild machine indicates this revert works well,
and I received two positive comments and none against.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk
diff -u pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk:1.11 pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk:1.12
--- pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk:1.11      Fri Dec 18 17:14:58 2020
+++ pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk   Thu Dec 24 01:31:19 2020
@@ -1,4 +1,4 @@
-# $NetBSD: pkgformat-vars.mk,v 1.11 2020/12/18 17:14:58 maya Exp $
+# $NetBSD: pkgformat-vars.mk,v 1.12 2020/12/24 01:31:19 gdt Exp $
 #
 # This Makefile fragment is included indirectly by bsd.prefs.mk and
 # defines some variables which must be defined earlier than where
@@ -32,7 +32,11 @@ PKG_INFO_CMD?=               ${PKG_TOOLS_BIN}/pkg_inf
 LINKFARM_CMD?=         ${PKG_TOOLS_BIN}/linkfarm
 
 # Latest versions of tools required for correct pkgsrc operation.
-PKGTOOLS_REQD=         20200828
+.if !empty(USE_PKG_ADMIN_DIGEST:M[Yy][Ee][Ss])
+PKGTOOLS_REQD=         20191008
+.else
+PKGTOOLS_REQD=         20100914
+.endif
 # Latest version of pkg_install required to extract packages
 PKGTOOLS_VERSION_REQD= 20091115
 



Home | Main Index | Thread Index | Old Index