summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_rolling-replace/files
AgeCommit message (Collapse)AuthorFilesLines
2011-03-22Pass MAKE_SET_VARS with environment variables instead of make flags,obache1-8/+8
or it will be passwd down to subsequent make (ex. installation of dependencies) and result in unwanted behaviour.
2010-12-200.23: Pass PKGNAME_REQD to make operations.gdt1-8/+15
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-200.22: Avoid infinite loop in some error cases.gdt1-3/+6
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-04-23Start todo list for pkg_rolling-replace (not installed).gdt1-0/+2
2010-02-11fix inverted testtnn1-2/+2
2010-02-11might as well uniqify the FAILED and SUCCEEDED liststnn1-11/+3
2010-02-11- Clean up the error handling a bittnn1-27/+47
- 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-01Updating pkgtools/pkg_rolling-replace/ from 0.19nb1 to 0.20sno2-59/+25
Improving the variable passing to make by allowing any, not just MAKE_JOBS and USE_DESTDIR.
2010-02-01Sort option descriptions, be more explicit in -D one.wiz1-27/+35
2010-02-01Fixing a typo and bumping revision (if anyone still had updated)sno1-2/+2
2010-02-01Updating pkg_rolling-replace (set new version 0.19):sno2-25/+84
- 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
2009-12-01bump datetnn1-2/+2
2009-11-13Updating pkgtools/pkg_rolling-replace from 0.17 to 0.18sno2-39/+188
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-06-17pkg_rolling-replace-0.17:tnn1-2/+2
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-05-13Sort options in usage.wiz1-2/+2
2009-05-13Sort options. Sort sections. Fix xref.wiz1-32/+31
2008-06-08Add example showing how to mark all packages depdending on X11 forgdt1-1/+8
rebuild, useful for moving to X11_TYPE=modular. From tnn@.
2008-05-22Fix typotnn1-3/+3
2008-05-02Bump version to pkg_rolling-replace-0.16:apb2-12/+41
* 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-03-31Separate 'make clean' from 'make package', so that clean is notgdt1-2/+8
skipped with -r. DISTNAME++. Fixes PR pkg/38283. Reviewed and tested by tnn@.
2008-03-11Add an EXAMPLES section.tnn1-2/+19
2008-02-17Bump version to pkg_rolling-replace-0.14:apb2-9/+28
* 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-01-11Add patch from Brook Milligan to avoid treating warnings aboutgdt1-1/+2
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 ***
2007-12-02pkg_rolling-replace-0.12:tnn1-11/+19
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-08-17Remove leading spaces from PKGNAME, to cope with an old bug.gdt1-2/+2
2007-08-08New sentence, new line; use more markup; fix a typo.wiz1-6/+13
2007-08-08pkg_rolling-replace-0.10:tnn2-34/+71
- 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-07Drop trailing whitespace.wiz1-2/+2
2007-08-06Update to pkg_rolling-replace-0.6:tnn1-14/+22
- 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-03pkg_rolling-replace-0.5:tnn1-2/+2
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-06-29*really* fix previous.tnn1-3/+3
2007-06-29Convert extended RE into basic RE equivalent, making us portable again.tnn1-3/+3
Noted by Mehul N. Sanghvi on pkgsrc-users@
2007-06-05make(1) variable assignments should go after all command line options.tnn1-2/+2
2007-05-23simplify previoustnn1-5/+4
2007-05-23non-current make(1) doesn't support -V.tnn1-2/+4
Provide a target for printing PKGSRCDIR. PKGREVISION++
2007-05-20- Change the way pkg_rolling-replace parses version numbers. Everythingtnn1-9/+9
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-11Prepend ${PREFIX} to default location of mk.conf if we're using bmake.tnn2-9/+9
2007-05-10Bump date of manual page. (avoid wakeup() of wizd)tnn1-2/+2
2007-05-10Get PKGSRCDIR from mk.conf. In turn, Get path of mk.conf from MAKECONFtnn2-10/+21
or default to /etc/mk.conf if unset. Bump PKGREVISON.
2006-12-18SUBST the path to ${MAKE}.gdt1-9/+3
PKGREVISION++.
2006-12-06Use more markup. New sentence, new line. Various minor improvements.wiz1-24/+41
2006-12-05pkg_rolling-replace does 'make replace' on one package at a time,gdt2-0/+493
tsorting the packages being replaced according to their interdependencies, which avoids most duplicate rebuilds.