When using the -u option to find mismatched packages, mark each affected
package with 'mismatch=YES'. Otherwise, consider such packages as
targets to rebuild.
ok gdt@.
Be more tolerant of not finding PKGPATH, and basically attempt to skip
the package rather than treating it as a fatal error. (This was a
stray edit that I've been running with for a while.)
When running pkg_chk, ignore packages marked "missing", which tend to
be the wrong python version.
This is a temporary kludge, but should allow pkg_rr to run on systems
that have changed python versions.
When trying to extract PKGPATH from what is believed to be the PKGNAME
of an installed package, do not abort, but merely error (which is
nonfatal with -k). This is helpful, but not sufficient, when dealing
with pyNN-foo packages where the default version is depended on but
not installed.
In addition to adding in BUILD_DEPENDS, catch up to long-ago
improvements to pkgsrc and also add in TOOL_DEPENDS.
Thanks to Hauke Fath for reporting the issue.
In some cases, if an installed package's source directory did not
exist, pkg_rr could invoke "make clean" at top-level of pkgsrc. Bug
report and fix by Andreas Gustafsson in PR pkg/53157.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:
pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
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.
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@.
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@.
- 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
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.
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.
* 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.
* 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.)
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 ***
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.