NetBSD.se

CVS log for pkgsrc/pkgtools/pkg_rolling-replace/Makefile

[BACK] Up to [NetBSD + pkgsrc-wip] / pkgsrc / pkgtools / pkg_rolling-replace

Request diff between arbitrary revisions - Display revisions graphically


Keyword substitution: kv
Default branch: MAIN


Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Apr 30 13:59:38 2012 UTC (3 weeks, 2 days ago) by gdt
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 22 04:04:58 2011 UTC (14 months ago) by obache
Branches: 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
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 20 15:39:09 2010 UTC (17 months ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 20 15:24:24 2010 UTC (17 months ago) by gdt
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 11 12:07:33 2010 UTC (2 years, 3 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -3 lines
- 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 - view: text, markup, annotated - select for diffs
Mon Feb 1 19:06:42 2010 UTC (2 years, 3 months ago) by sno
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 1 10:28:45 2010 UTC (2 years, 3 months ago) by sno
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1 lines
Fixing a typo and bumping revision (if anyone still had updated)

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Feb 1 09:33:21 2010 UTC (2 years, 3 months ago) by sno
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 13 19:40:55 2009 UTC (2 years, 6 months ago) by sno
Branches: MAIN
CVS tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 17 08:12:18 2009 UTC (2 years, 11 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 9 00:48:13 2009 UTC (3 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -2 lines
Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Feb 10 00:16:01 2009 UTC (3 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -3 lines
DESTDIR support

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jun 22 12:49:53 2008 UTC (3 years, 11 months ago) by gdt
Branches: 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
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -22 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 8 17:29:01 2008 UTC (3 years, 11 months ago) by gdt
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Fri May 2 19:04:03 2008 UTC (4 years ago) by apb
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +11 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 31 11:41:09 2008 UTC (4 years, 1 month ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 17 10:47:47 2008 UTC (4 years, 3 months ago) by apb
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 11 13:29:37 2008 UTC (4 years, 4 months ago) by gdt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 2 02:11:05 2007 UTC (4 years, 5 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 17 01:19:45 2007 UTC (4 years, 9 months ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Remove leading spaces from PKGNAME, to cope with an old bug.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 8 11:28:04 2007 UTC (4 years, 9 months ago) by tnn
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 6 15:07:56 2007 UTC (4 years, 9 months ago) by tnn
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -7 lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 3 00:55:08 2007 UTC (4 years, 9 months ago) by tnn
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 29 18:18:37 2007 UTC (4 years, 10 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -2 lines
Use REPLACE_SH to get a sane shell on borked platforms.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jun 29 17:00:44 2007 UTC (4 years, 10 months ago) by tnn
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Convert extended RE into basic RE equivalent, making us portable again.
Noted by Mehul N. Sanghvi on pkgsrc-users@

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed May 23 18:11:05 2007 UTC (5 years ago) by tnn
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
non-current make(1) doesn't support -V.
Provide a target for printing PKGSRCDIR. PKGREVISION++

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun May 20 13:35:55 2007 UTC (5 years ago) by tnn
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
- 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 - view: text, markup, annotated - select for diffs
Fri May 11 16:48:55 2007 UTC (5 years ago) by tnn
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -2 lines
Prepend ${PREFIX} to default location of mk.conf if we're using bmake.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu May 10 02:55:31 2007 UTC (5 years ago) by tnn
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 7 09:14:08 2007 UTC (5 years, 4 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 18 12:36:17 2006 UTC (5 years, 5 months ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -2 lines
SUBST the path to ${MAKE}.
PKGREVISION++.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Dec 6 00:54:25 2006 UTC (5 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -3 lines
Ugh, wrap long lines.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Dec 5 18:23:52 2006 UTC (5 years, 5 months ago) by gdt
Branches: TNF
CVS tags: pkgsrc-base
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 5 18:23:52 2006 UTC (5 years, 5 months ago) by gdt
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

NetBSD-CVSweb <admin[at]NetBSD[dot]se>