signal processes matching criteria
o Based on current NetBSD's pgrep(1) and pkill(1) with the following
differences:
1) -STABLE version does not support filtering by session
ID since this information is only available in kernel
space. -CURRENT supports this.
2) Added -M and -N flags following ps(1). Therefore, drop
additional privileges (drop_privs) if any of those flags
are defined.
3) kvm access without sgid
o Items (2) and (3) are based on jmallett code sent to me for
inspiration. :) Great thanks to jmallett for that.
Obtained from: NetBSD CVS (original pkill/pgrep code)
overall:
- Make these work with ruby 1.7.
portupgrade(1):
- Get portupgrade -s to work again.
- Synchronize the failure reason guesser with the latest "processlogs"
script.
- Rename -g/--go-on to -k/--keep-going, on the (vague) analogy of
make(1).
possibly be a couple of bugs. Make sure to do your backups as always,
and have fun. :)
overall, pkgdb(3):
- The DEPORIGIN information is fully supported. Most stale
dependencies are automatically fixed based on that.
Hinted by: sobomax
- Disregard a package if it has a file named "+IGNOREME" in the
package directory.
PR: ports/41237
Hinted by: Jerry Murdock <j@jerrymurdock.com>, and some others
pkgdb(1):
- Add a new option -a/auto, used with -F/--fix, which turns on
automatic mode, in which pkgdb(1) only fixes discrepancies that can
be fixed 100% obviously and securely, and leaves the others.
- Make pkgdb(1) less verbose when -v is not specified.
portupgrade(1):
- Time the whole session also.
Requested by: nork
- Fix a bug in shellwords() where it wrongly interprets \ in '...' as
meta-character. This bug or maybe feature was inherited from Perl's
shellwords.pl / Text::ParseWords.
Reported by: Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
- The DEPORIGIN information is fully supported. It fixes DEPORIGIN
when a package is upgraded with a different port using -o/--origin,
and "pkgdb -aF" is automatically called at closing. This makes
portupgrade a tad slower but greatly reduces the "pkgdb -F"
annoyance.
- Fix a race where it rarely failed in updating the pkgdb after
installation and the user had to run "pkgdb -fu".
- Do not redirect stderr to /dev/null when calling portsclean -L. Now
the pkgdb updater's indicator is displayed properly.
- Synchronize the build failure checker with the latest version of
ports/Tools/portbuild/scripts/processlogs.
- Do not bother with +REQUIRED_BY files when they are mechanically
generated from @pkgdep information by pkgdb(1).
pkg_fetch(1):
- Try .tgz first on FreeBSD 4.x and prior. Although .tbz is smaller,
there are few sites that prepare .tbz packages for FreeBSD 4.x.
pkgtools.conf(5)
- Prepare a new constant OS_PKGBRANCH, which is set to a
release/branch name that is suitable for specifying a FTP packages
directory, and make pkg_site_mirror() use it.
PR: ports/43265
Submitted by: Andriy Gapon <avg@icyb.net.ua>
portsclean(1):
- Suggest using libchk(1) to help manually clean out lib/compat/pkg.
- Improve messages. Use the word "shadow" to say that a library hides
another one with the same name.