Up to [cvs.netbsd.org] / pkgsrc / pkgtools / pkg_rolling-replace
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 30 13:59:38 2012 UTC (3 weeks, 4 days ago) by gdt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (colored)
Use " for PKGNAME_REQUIRED, so that ${pkg} is expanded.
Resolves at least some issues with finding the right pyNN-foo, when
replacing packages that don't match PYTHON_VERSION_DEFAULT.
(This was a stray change in my tree not committed for a while, but
it's been working ok.)
Now 0.24.1.
Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 22 04:04:58 2011 UTC (14 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1
Changes since 1.31: +3 -3
lines
Diff to previous 1.31 (colored)
Pass MAKE_SET_VARS with environment variables instead of make flags, or it will be passwd down to subsequent make (ex. installation of dependencies) and result in unwanted behaviour.
Revision 1.31 / (download) - annotate - [select for diffs], Mon Dec 20 15:39:09 2010 UTC (17 months ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base,
pkgsrc-2010Q4
Changes since 1.30: +2 -2
lines
Diff to previous 1.30 (colored)
0.23: Pass PKGNAME_REQD to make operations.
Set PKGNAME_REQD to give underlying make processes a chance to set
options derived from the package name. For example, the appropriate
version of Python can be derived from the package name (so, when
building py25-foo, use python-2.5, not python-2.6). Specifically,
MAKE_SET_VARS='PKGNAME_REQD=${pkg}-*'
From Alan Barret via pkgsrc-users@.
Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 20 15:24:24 2010 UTC (17 months ago) by gdt
Branch: MAIN
Changes since 1.29: +2 -2
lines
Diff to previous 1.29 (colored)
0.22: Avoid infinite loop in some error cases. Sometimes, the set of packages to be replaced ($REPLACE_TODO) does not have any members which are installed (and hence in $TSORTED). This caused the loop over $TSORTED to not find any packages to replace. The check for not having found one was missing, resulting in the last package in TSORTED being replaced. Because $REPLACE_TODO is still non-empty, this repeats. This patch adds an abort when no packages in $TSORTED are in $REPLACE_TODO. Analysis and patch from Ian D. Leroux on pkgsrc-users@.
Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 11 12:07:33 2010 UTC (2 years, 3 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1
Changes since 1.28: +2 -3
lines
Diff to previous 1.28 (colored)
- Clean up the error handling a bit - Bomb if we couldn't extract the PKGPATH from an installed package. XXX the pkg_rr main loop has grown too large and should be split into functions.
Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 1 19:06:42 2010 UTC (2 years, 3 months ago) by sno
Branch: MAIN
Changes since 1.27: +3 -3
lines
Diff to previous 1.27 (colored)
Updating pkgtools/pkg_rolling-replace/ from 0.19nb1 to 0.20 Improving the variable passing to make by allowing any, not just MAKE_JOBS and USE_DESTDIR.
Revision 1.27 / (download) - annotate - [select for diffs], Mon Feb 1 10:28:45 2010 UTC (2 years, 3 months ago) by sno
Branch: MAIN
Changes since 1.26: +2 -1
lines
Diff to previous 1.26 (colored)
Fixing a typo and bumping revision (if anyone still had updated)
Revision 1.26 / (download) - annotate - [select for diffs], Mon Feb 1 09:33:21 2010 UTC (2 years, 3 months ago) by sno
Branch: MAIN
Changes since 1.25: +2 -2
lines
Diff to previous 1.25 (colored)
Updating pkg_rolling-replace (set new version 0.19): - Add option '-D' to tune "USE_DESTDIR=" and set this defaultly to 'NO' - Add option '-j' to tune "MAKE_JOBS=" (Default: unset) - Fix an issue with packages with missing origin
Revision 1.25 / (download) - annotate - [select for diffs], Fri Nov 13 19:40:55 2009 UTC (2 years, 6 months ago) by sno
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base,
pkgsrc-2009Q4
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored)
Updating pkgtools/pkg_rolling-replace from 0.17 to 0.18 Changes: Added 3 new features: 1) Fetch only 2) Keep going after error (skip package) 3) Log output of make steps Modified verbosity to report what's failed and what succeeds.
Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 17 08:12:18 2009 UTC (2 years, 11 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2
Changes since 1.23: +2 -3
lines
Diff to previous 1.23 (colored)
pkg_rolling-replace-0.17: Use "pkg_info -Q" to extract PKGPATH from installed packages instead of "pkg_info -B" coupled with awk magic. The previous regexp didn't account for packages that have PREV_PKGPATH set, and blew up while replacing for example mail/sylpheed and multimedia/ffmpeg.
Revision 1.23 / (download) - annotate - [select for diffs], Thu Apr 9 00:48:13 2009 UTC (3 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.22: +1 -2
lines
Diff to previous 1.22 (colored)
Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.
Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 10 00:16:01 2009 UTC (3 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base,
pkgsrc-2009Q1
Changes since 1.21: +4 -3
lines
Diff to previous 1.21 (colored)
DESTDIR support
Revision 1.21 / (download) - annotate - [select for diffs], Sun Jun 22 12:49:53 2008 UTC (3 years, 11 months ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
cwrapper-base,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Changes since 1.20: +4 -22
lines
Diff to previous 1.20 (colored)
Drop check for 'make replace => unsafe_depends" support being present in pkgsrc. It's been 1.75 years, and the benefit of the check is now outweighed by the cruftiness.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Jun 8 17:29:01 2008 UTC (3 years, 11 months ago) by gdt
Branch: MAIN
Changes since 1.19: +2 -1
lines
Diff to previous 1.19 (colored)
Add example showing how to mark all packages depdending on X11 for rebuild, useful for moving to X11_TYPE=modular. From tnn@.
Revision 1.19 / (download) - annotate - [select for diffs], Fri May 2 19:04:03 2008 UTC (4 years ago) by apb
Branch: MAIN
Changes since 1.18: +11 -4
lines
Diff to previous 1.18 (colored)
Bump version to pkg_rolling-replace-0.16: * Look for $MAKECONF in @MAKECONF@, @PREFIX@/etc/mk.conf, and /etc/mk.conf, in that order. * Look for $PKGSRCDIR in the Makefile referred to by $MAKECONF, ".", "..", "../..", and "/usr/pkgsrc", in that order. Proposed in tech-pkg; OK Greg Troxel.
Revision 1.18 / (download) - annotate - [select for diffs], Mon Mar 31 11:41:09 2008 UTC (4 years, 1 month ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base,
pkgsrc-2008Q1
Changes since 1.17: +2 -2
lines
Diff to previous 1.17 (colored)
Separate 'make clean' from 'make package', so that clean is not skipped with -r. DISTNAME++. Fixes PR pkg/38283. Reviewed and tested by tnn@.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 17 10:47:47 2008 UTC (4 years, 3 months ago) by apb
Branch: MAIN
Changes since 1.16: +2 -2
lines
Diff to previous 1.16 (colored)
Bump version to pkg_rolling-replace-0.14: * Clarify that the -x option takes package base names, not full package names. * Clarify that the -x option excluded packages only from the outdated check, not from being rebuilt for any any other reason. * Add a -X option that excludes a package from being rebuilt for any reason. (I have had this as a private patch for a long time, and never run pkg_rolling-replace without "-X openoffice2", because openoffice requires so much time and disk space to build.)
Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 11 13:29:37 2008 UTC (4 years, 4 months ago) by gdt
Branch: MAIN
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored)
Add patch from Brook Milligan to avoid treating warnings about
non-deletable packages as dependencies. Bump version to 0.14.
Example problematic output (perhaps should also be fixed in
pkg_install):
Information for pkg_install-20070810:
*** PACKAGE MAY NOT BE DELETED ***
Built using:
checkperms-1.7
*** PACKAGE MAY NOT BE DELETED ***
Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 2 02:11:05 2007 UTC (4 years, 5 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base,
pkgsrc-2007Q4
Changes since 1.14: +3 -3
lines
Diff to previous 1.14 (colored)
pkg_rolling-replace-0.12: Replace the nested shell loops in depgraph_installed() with some awk that only needs to invoke pkg_info once. This gives a ~20x speedup. Previously, if many packages were installed, depgraph generation took a considerable amount of time; in the order of 30 seconds even on moderately fast hardware.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 17 01:19:45 2007 UTC (4 years, 9 months ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base,
pkgsrc-2007Q3
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (colored)
Remove leading spaces from PKGNAME, to cope with an old bug.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 8 11:28:04 2007 UTC (4 years, 9 months ago) by tnn
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
pkg_rolling-replace-0.10: - Abort if any of rebuild, unsafe_depends, unsafe_depends_strict are still set after "make replace". - Following changes in pkgsrc, does not replace by default if the dependencies' ABI is still compatible. - Add option -s that retains the old behaviour of always replacing. - Add option -r for "replace only", this supresses creation of binary pkgs. - The -n option has not been fully updated for these changes. - versions 0.[7-9] were skipped to avoid any ambiguity from the 0.04 -> 0.5 transition.
Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 6 15:07:56 2007 UTC (4 years, 9 months ago) by tnn
Branch: MAIN
Changes since 1.11: +9 -7
lines
Diff to previous 1.11 (colored)
Update to pkg_rolling-replace-0.6:
- Explicitly unset 'unsafe_depends' and 'rebuild' tags after replacing.
Needed after changes in pkgsrc/mk/flavor/pkg/replace.mk, fixes PR 36738.
- Introduce ${PKG_ADMIN}, ${PKG_INFO}, ${PKG_CHK} variables instead of
calling the tools directly by name.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 3 00:55:08 2007 UTC (4 years, 9 months ago) by tnn
Branch: MAIN
Changes since 1.10: +2 -3
lines
Diff to previous 1.10 (colored)
pkg_rolling-replace-0.5: Redirecting output to /dev/stderr is not portable and will create a regular file "stderr" if the device does not exist. Instead use the portable 1>&2 redirection syntax. PKGREVISION was at nb9; get rid of it and bump minor version number.
Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 29 18:18:37 2007 UTC (4 years, 10 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base,
pkgsrc-2007Q2
Changes since 1.9: +4 -2
lines
Diff to previous 1.9 (colored)
Use REPLACE_SH to get a sane shell on borked platforms.
Revision 1.9 / (download) - annotate - [select for diffs], Fri Jun 29 17:00:44 2007 UTC (4 years, 10 months ago) by tnn
Branch: MAIN
Changes since 1.8: +2 -2
lines
Diff to previous 1.8 (colored)
Convert extended RE into basic RE equivalent, making us portable again. Noted by Mehul N. Sanghvi on pkgsrc-users@
Revision 1.8 / (download) - annotate - [select for diffs], Wed May 23 18:11:05 2007 UTC (5 years ago) by tnn
Branch: MAIN
Changes since 1.7: +2 -2
lines
Diff to previous 1.7 (colored)
non-current make(1) doesn't support -V. Provide a target for printing PKGSRCDIR. PKGREVISION++
Revision 1.7 / (download) - annotate - [select for diffs], Sun May 20 13:35:55 2007 UTC (5 years ago) by tnn
Branch: MAIN
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
- Change the way pkg_rolling-replace parses version numbers. Everything
after the last hyphen is the version, not everything after the first
occurence of '-[0-9]'. This allows pkg_rolling-replace users to upgrade
packages such as font-bitstream-100dpi.
- Use INSTALL_MAN, not INSTALL_SCRIPT. Manpages are not executable.
- Bump PKGREVISION.
Revision 1.6 / (download) - annotate - [select for diffs], Fri May 11 16:48:55 2007 UTC (5 years ago) by tnn
Branch: MAIN
Changes since 1.5: +8 -2
lines
Diff to previous 1.5 (colored)
Prepend ${PREFIX} to default location of mk.conf if we're using bmake.
Revision 1.5 / (download) - annotate - [select for diffs], Thu May 10 02:55:31 2007 UTC (5 years ago) by tnn
Branch: MAIN
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
Get PKGSRCDIR from mk.conf. In turn, Get path of mk.conf from MAKECONF or default to /etc/mk.conf if unset. Bump PKGREVISON.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 7 09:14:08 2007 UTC (5 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base,
pkgsrc-2007Q1
Changes since 1.3: +2 -2
lines
Diff to previous 1.3 (colored)
Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.
Fixes PR 35265, although I did not use the patch provided therein.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 18 12:36:17 2006 UTC (5 years, 5 months ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base,
pkgsrc-2006Q4
Changes since 1.2: +8 -2
lines
Diff to previous 1.2 (colored)
SUBST the path to ${MAKE}.
PKGREVISION++.
Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 6 00:54:25 2006 UTC (5 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.1: +5 -3
lines
Diff to previous 1.1 (colored)
Ugh, wrap long lines.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Dec 5 18:23:52 2006 UTC (5 years, 5 months ago) by gdt
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
pkg_rolling-replace does 'make replace' on one package at a time, tsorting the packages being replaced according to their interdependencies, which avoids most duplicate rebuilds.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 5 18:23:52 2006 UTC (5 years, 5 months ago) by gdt
Branch: MAIN
Initial revision