portupgrade(1):
- Check return status of hardly failing commands also.
pkgdb(1):
- Add -Q/--quiet and -QQ for internal use.
portsclean(1):
- Ditto.
overall:
- Reduce /bin/sh process calls by replacing shell redirection to
/dev/null with pkgdb -Q/portsclean -Q/fetch -q. (I know I can do
fork, dup and exec if necessary)
- Eliminate zombies during running. Formerly waitpid's against
terminated processes are delayed until Ruby gets short of resource
and thus runs a GC, but now portupgrade(1), pkgdb(1) and
portsclean(1) explicitly kick a waitpid immediately after each
popen() is done.
PR: ports/38075
Submitted by: Chris J. Mutter <cjm@s2.enemy.org>
Reported by: several others
From submitter:
- Remove the devel/pccts BUILD_DEPENDS, there's no need to depend on it as
cdrdao ships it's own version (but use the pccts-port if it happens to be
installed in order to speed up things).
- Add a knob to build toc2mp3 (a tool encode an audio cd-image to a set of
mp3 files, see Release-1.1.6), makes this port depend on audio/lame.
- Use the FreeBSD INSTALL-macros to install the 4 (5 when building toc2mp3)
files that are not yet installed by them, much faster than going through
the whole makfile-tree.
- Don't install extra documentation when NOPORTDOCS is defined (pkg-plist
was already correct).
- Remove pkg-message, POSIX scheduling is part of the GENERIC kernel since
FreeBSD 4.0-RELEASE and it's options are different for 3-stable, 4-stable
and 5.0-current. Therefore it's ugly to explain for what options to check
on what FreeBSD-version. Don't install README.FreeBSD for the same reason.
- Don't copy a getopt.h to ${WRKSRC}/utils, it's neither required nor gets
picked up.
- Respect PTHREAD_LIBS, respect CC/CFLAGS when compiling Joerg Schiling's
SCSI library (the later is recycled sysutils/cdrtools/files/patch-ad).
- Don't build librscg and rscsi (remote-scsi) of the SCSI library, they
aren't required by cdrdao and the later fails to link anyway because
_somewhere_ in the makefile-tree libcam no longer gets passed forward
in $SCSILIB.
- Fix compilation on 5.0-current.
- Add support for FreeBSD/sparc64.
Submitted by: marius@alchemy.franken.de
overall:
- Allow a regular expression or glob pattern against origins as
pkgname glob pattern. For example, the following commands work as
expected now:
pkg_glob 'lang/*'
portupgrade lang/ruby
pkg_info ':(japanese|chinese|korean)/'
- Use install(1) instead of cp(1) and chmod(1) to install modified
data files such as +CONTENTS.
pkgdb(1):
- Add a new option --autofix, which is a shorthand of --auto --fix
(-aF).
portupgrade(1):
- Allow specifying a directory after -L.
- Auto-fix dependencies before creating a package.
PR: ports/41383
Submitted by: Vivek Khera <khera@kciLink.com>
pkgtools.conf(5):
- Add a new configuration variable ALT_PKGDEP, which defines
alternative dependencies, used by pkgdb -F/-aF. This makes yet
another step forward to eliminate the need for manual pkgdb -F's.
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).