Commit graph

47 commits

Author SHA1 Message Date
wiz
fe0d9a87aa Remove more references to python-2.6. 2015-04-14 11:40:31 +00:00
abs
60f166cc87 Update to pkg_rolling-replace-0.24.2
Add -B - to pass -B to pkg_chk when determining which packages to update
2015-02-12 08:22:16 +00:00
wiz
79434c2ac7 Update for python25 removal. 2012-10-03 22:14:00 +00:00
gdt
7d59f91b4d 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.
2012-04-30 13:59:38 +00:00
gdt
d07cfa08b4 Add note about use of unsafe_depends_loose, from discussion with
obache@.

Note that there is an issue with unsafe_depends not getting set when
options change.
2012-01-25 15:20:35 +00:00
obache
44736878b8 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.
2011-03-22 04:04:58 +00:00
gdt
fd0c4fecfb 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@.
2010-12-20 15:39:09 +00:00
gdt
a4866d94d3 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@.
2010-12-20 15:24:24 +00:00
gdt
238a61c28c Start todo list for pkg_rolling-replace (not installed). 2010-04-23 17:11:12 +00:00
tnn
abc7c42575 fix inverted test 2010-02-11 12:54:27 +00:00
tnn
f49194b52b might as well uniqify the FAILED and SUCCEEDED lists 2010-02-11 12:17:23 +00:00
tnn
c000c3ae33 - 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.
2010-02-11 12:07:33 +00:00
sno
4225841e3c 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.
2010-02-01 19:06:42 +00:00
wiz
0073cb0571 Sort option descriptions, be more explicit in -D one. 2010-02-01 12:25:07 +00:00
sno
578fadf392 Fixing a typo and bumping revision (if anyone still had updated) 2010-02-01 10:28:45 +00:00
sno
89efac344b 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
2010-02-01 09:33:21 +00:00
tnn
7160745e3b bump date 2009-12-01 14:26:08 +00:00
sno
b2c8aad6ff 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.
2009-11-13 19:40:55 +00:00
tnn
e3ebd56cf2 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.
2009-06-17 08:12:18 +00:00
wiz
29fd77355e Sort options in usage. 2009-05-13 10:47:35 +00:00
wiz
b5abe92626 Sort options. Sort sections. Fix xref. 2009-05-13 10:47:02 +00:00
gdt
b1df4d999d Add example showing how to mark all packages depdending on X11 for
rebuild, useful for moving to X11_TYPE=modular.  From tnn@.
2008-06-08 17:29:01 +00:00
tnn
54d5395f8f Fix typo 2008-05-22 13:48:36 +00:00
apb
590058d9b8 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.
2008-05-02 19:04:03 +00:00
gdt
205b55abd1 Separate 'make clean' from 'make package', so that clean is not
skipped with -r.  DISTNAME++.  Fixes PR pkg/38283.

Reviewed and tested by tnn@.
2008-03-31 11:41:09 +00:00
tnn
bcc3a75940 Add an EXAMPLES section. 2008-03-11 01:53:05 +00:00
apb
7a43c660cf 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.)
2008-02-17 10:47:47 +00:00
gdt
1dfd5850bd 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 ***
2008-01-11 13:29:37 +00:00
tnn
2e9b188782 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.
2007-12-02 02:11:05 +00:00
gdt
785779a3cc Remove leading spaces from PKGNAME, to cope with an old bug. 2007-08-17 01:19:45 +00:00
wiz
a367b31fdf New sentence, new line; use more markup; fix a typo. 2007-08-08 22:00:40 +00:00
tnn
f32a62ac9e 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.
2007-08-08 11:28:04 +00:00
wiz
892e6014df Drop trailing whitespace. 2007-08-07 20:46:43 +00:00
tnn
ad86fdd1e5 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.
2007-08-06 15:07:56 +00:00
tnn
e04e9eecc3 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.
2007-08-03 00:55:08 +00:00
tnn
1812dfe155 *really* fix previous. 2007-06-29 17:16:24 +00:00
tnn
c752744b57 Convert extended RE into basic RE equivalent, making us portable again.
Noted by Mehul N. Sanghvi on pkgsrc-users@
2007-06-29 17:00:44 +00:00
tnn
7987ab0850 make(1) variable assignments should go after all command line options. 2007-06-05 08:22:32 +00:00
tnn
b328843d3e simplify previous 2007-05-23 18:59:46 +00:00
tnn
78d44d2c11 non-current make(1) doesn't support -V.
Provide a target for printing PKGSRCDIR. PKGREVISION++
2007-05-23 18:11:05 +00:00
tnn
69796d3406 - 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.
2007-05-20 13:35:55 +00:00
tnn
0005c45200 Prepend ${PREFIX} to default location of mk.conf if we're using bmake. 2007-05-11 16:48:55 +00:00
tnn
e4112cf67c Bump date of manual page. (avoid wakeup() of wizd) 2007-05-10 03:02:20 +00:00
tnn
4b071d966b Get PKGSRCDIR from mk.conf. In turn, Get path of mk.conf from MAKECONF
or default to /etc/mk.conf if unset. Bump PKGREVISON.
2007-05-10 02:55:31 +00:00
gdt
90a87f430d SUBST the path to ${MAKE}.
PKGREVISION++.
2006-12-18 12:36:17 +00:00
wiz
2a0fd3355d Use more markup. New sentence, new line. Various minor improvements. 2006-12-06 10:41:29 +00:00
gdt
d2d7243e5b 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.
2006-12-05 18:23:52 +00:00