CVS log for pkgsrc/mk/bsd.pkg.update.mk
Up to [cvs.NetBSD.org] / pkgsrc / mk
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jan 11 19:30:50 2020 UTC (6 years, 10 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
pkgsrc-2026Q2-base,
pkgsrc-2026Q2,
pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4,
pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2,
pkgsrc-2025Q1-base,
pkgsrc-2025Q1,
pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
HEAD
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +12 -12
lines
mk/bsd.pkg.update.mk: fix indentation
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Feb 14 07:14:23 2014 UTC (12 years, 9 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2
lines
fixes last commit, delete too aggressively :(
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Feb 14 06:47:24 2014 UTC (12 years, 9 months ago) by obache
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2
lines
Prevent to force creation binary package in ${PACKAGES} for the case installing
dependency with USE_DESTDIR=yes unless creating binary packages.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Aug 31 20:17:37 2013 UTC (13 years, 2 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
The pkg_info command is an internal detail and therefore should be
hidden behind the ${RUN} macro, just like all the other commands.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed May 4 09:49:34 2011 UTC (15 years, 6 months ago) by obache
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2
lines
Also set `package-install' to UPDATE_TARGET/DEPENDS_TARGET if current target is
`package-install', to indirect dependency also create binary package with
`make package' or `make package-install'.
should fix PR#44857.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Jul 3 04:24:14 2010 UTC (16 years, 4 months ago) by darcy
Branches: MAIN
CVS tags: pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2
lines
The "-p" option is redundant as it is included in the MKDIR variable.
As discussed with joerg@.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Jun 15 04:14:26 2010 UTC (16 years, 5 months ago) by dholland
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base,
pkgsrc-2010Q2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -1
lines
Apply my fix for PR 35091: do a check-vulnerable step first in "make
update", so if it's going to fail because of a known vulnerability it
does so before uninstalling anything. I've been carrying this patch
for some three years with no ill effects. Ok by agc@.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Feb 25 02:08:33 2010 UTC (16 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -4
lines
If using "make package", default to recursion with package-install.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Feb 19 14:27:36 2010 UTC (16 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -14
lines
Garbage collect support for old pkg_install versions.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat May 16 01:27:30 2009 UTC (17 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1
lines
Don't require pkg_delete or pkg_info -r to list packages in full
topological sort for the make update list. This breaks naturally when
new dependencies are introduced that are also in the list scheduled for
later installation. Reported by David Holland.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Mar 7 19:36:31 2009 UTC (17 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -2
lines
make update might be called without having the package installed, so
check for the presence before trying to extract dependencies.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Mar 5 23:07:15 2009 UTC (17 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +10 -3
lines
Use pkg_info -r if present and fall back to pkg_delete for pkg_install
before 20090225. Intermediate versions get an explicit error.
The building of the recursive dependency was broken as the new
pkg_delete would stop without recursing and the target dependend on that
behavior. Reported by David Holland.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Apr 7 13:31:15 2008 UTC (18 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -2
lines
Prefer package-destdir as default for update with USE_DESTDIR.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Feb 7 21:36:13 2008 UTC (18 years, 9 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base,
pkgsrc-2008Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
Replaced _PKG_SILENT and _PKG_DEBUG with RUN.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Sep 7 16:47:05 2007 UTC (19 years, 2 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +17 -21
lines
Replaced ${_PKG_SILENT}${_PKG_DEBUG} with ${RUN}, since it is shorter.
Removed unnecessary braces around a single pipeline. Also removed the
||true, since awk is very unlikely to fail.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Sep 7 11:14:10 2007 UTC (19 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -1
lines
pkg_info -qR doesn't give the same results as pkg_delete -n.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Sep 7 10:57:35 2007 UTC (19 years, 2 months ago) by obache
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2
lines
Correct typo, really fixes PR 36940.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Sep 7 10:38:44 2007 UTC (19 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2
lines
pkg_info needs at least one package name. Fixes PR 36940.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Sep 6 08:28:01 2007 UTC (19 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -5
lines
One line of code can say as much as ten.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Sep 6 08:24:12 2007 UTC (19 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -11
lines
Why do things in a simple way when there is a complicated alternative?
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 5 12:56:27 2006 UTC (20 years, 1 month ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
jlam-pkgviews-base,
jlam-pkgviews
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -3
lines
Suppress the message that ".DDIR is up-to-date" by introducing a .PHONY
target.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jul 27 21:46:45 2006 UTC (20 years, 3 months ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2006Q3-base,
pkgsrc-2006Q3
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -14
lines
Whenever we invoke a recursive make, we need to ensure that the proper
environment ${PKGSRC_MAKE_ENV} is also passed along. Create a
convenience variable RECURSIVE_MAKE that does exactly this and that
can be used in place of MAKE when invoking make recursively.
Use RECURSIVE_MAKE everywhere in pkgsrc/mk that we invoke make
recursively.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jun 7 10:04:03 2006 UTC (20 years, 5 months ago) by tron
Branches: MAIN
CVS tags: pkgsrc-2006Q2-base,
pkgsrc-2006Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4
lines
1.) Remove all instances of '@${WARNING_MSG} "Warning: ...' which resulted
in error message like 'WARNING: Warning: ...'.
2.) Replace "WARN_MSG" with "WARNING_MSG" which makes the "make package"
target work again for restricted packages like "acroread7".
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jun 5 22:49:44 2006 UTC (20 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -10
lines
Use PHASE_MSG, STEP_MSG, WARNING_MSG, and ERROR_MSG in place of ECHO_MSG
in various places.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jun 5 17:21:54 2006 UTC (20 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +19 -4
lines
Move definitions for UPDATE_TARGET and DEPENDS_TARGET closer to where
they are used. Also, move UPDATE_RUNNING into the install module where
it is used, and make it "private" by prepending with an underscore.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jun 4 08:25:53 2006 UTC (20 years, 5 months ago) by jlam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -1
lines
Move some "update"-only variables from bsd.pkg.mk to bsd.pkg.update.mk.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jun 3 23:11:42 2006 UTC (20 years, 5 months ago) by jlam
Branches: MAIN
First pass at implementing support for package system flavors other
than pkgsrc's current one. This is an important lead-up to any project
that redesigns the pkg_* tools in that it doesn't tie us to past design
(mis)choices. This commit mostly deals with rearranging code, although
there was a considerable amount of rewriting done in cases where I
thought the code was somewhat messy and was difficult to understand.
The design I chose for supporting multiple package system flavors is
that the various depends, install, package, etc. modules would define
default targets and variables that may be overridden in files from
pkgsrc/mk/flavor/${PKG_FLAVOR}. The default targets would do the
sensible thing of doing nothing, and pkgsrc infrastructure would rely
on the appropriate things to be defined in pkgsrc/mk/flavor to do the
real work. The pkgsrc/mk/flavor directory contains subdirectories
corresponding to each package system flavor that we support. Currently,
I only have "pkg" which represents the current pkgsrc-native package
flavor. I've separated out most of the code where we make assumptions
about the package system flavor, mostly either because we directly
use the pkg_* tools, or we make assumptions about the package meta-data
directory, or we directly manipulate the package meta-data files, and
placed it into pkgsrc/mk/flavor/pkg.
There are several new modules that have been refactored out of bsd.pkg.mk
as part of these changes: check, depends, install, package, and update.
Each of these modules has been slimmed down by rewriting them to avoid
some recursive make calls. I've also religiously documented which
targets are "public" and which are "private" so that users won't rely
on reaching into pkgsrc innards to call a private target.
The "depends" module is a complete overhaul of the way that we handle
dependencies. There is now a separate "depends" phase that occurs
before the "extract" phase where dependencies are installed. This
differs from the old way where dependencies were installed just before
extraction occurred. The reduce-depends.mk file is now replaced by
a script that is invoked only once during the depends phase and is
used to generate a cookie file that holds the full set of reduced
dependencies. It is now possible to type "make depends" in a package
directory and all missing dependencies will be installed.
Future work on this project include:
* Resolve the workflow design in anticipation of future work on
staged installations where "package" conceptually happens before
"install".
* Rewrite the buildlink3 framework to not assume the use of the
pkgsrc pkg_* tools.
* Rewrite the pkginstall framework to provide a standard pkg_*
tool to perform the actions, and allowing a purely declarative
file per package to describe what actions need to be taken at
install or deinstall time.
* Implement support for the SVR4 package flavor. This will be
proof that the appropriate abstractions are in place to allow
using a completely different set of package management tools.
CVSweb <webmaster@jp.NetBSD.org>