This upgrade is based on submissions from several people over years.
I have been reluctant to upgrade this port primarily because
I was never sure about the shared lib compatibility.
Thanks to those who submitted the patch as well as tested the new version.
overall:
- Perform better checks on pkgname and origin.
- Deprecate the use of PKGREPOSITORY and PKGREPOSITORYSUBDIR. Use
PACKAGES for PKGREPOSITORY and hardcode 'All'.
pkg_deinstall:
- -P/--preserve: Only preserve shared libraries with version numbers.
Keeping *.so files may be harmful because it allows ld to pick them
up and produce new binaries linked with the libraries of removed
packages. It is enough to only preserve *.so.* files to retain
compatibility.
portsclean:
- -P/--pkgclean: Clean dead symlinks as well.
- Fix the manpage: supply missing words.
portupgrade:
- Detect NO_LATEST_LINK and LATEST_LINK and use them to determine the
name of the latest package to fetch.
pkgdb:
- Improve the score computer. Try not to suggest a stupid guess. ;)
pkg_fetch, pkg_glob, pkg_sort, pkgdb, portsdb, portversion:
- Do not show help twice when -h/--help is given.
Reported by: Masami Kobayashi <masami@tncc.jp>
pkgtools.conf:
- Explain how to use EXTRA_CATEGORIES.
automatically added if there is a .bz2 patch in PATCHFILES.
PR: ports/16252 and ports/30862
Seven months have passed since the PR was assigned to: portmgr
BZCAT, BZIP2_CMD, CHGRP, CUT, DC, ECHO_CMD, EGREP, FILE, FIND,
HEAD, ID, IDENT, STRIP_CMD, SU, TAIL, TEST, XARGS
And use shell (ash or ksh) builtins where available for efficiency:
ECHO_CMD, FALSE, TEST, TRUE
Grepping the ports tree, a few dozen ports already have FIND,
STRIP_CMD and XARGS variables on their own and numerous ports use
these commands without using macros. Some ports use FILE as a .for
loop variable, but it doesn't matter anyway.
Obtained from: NetBSD
Remove the definition of ECHO because it is already defined in
/usr/share/mk/sys.mk and leaving the useless definition may mislead
developers. Add the following comment that would help:
# ECHO is defined in /usr/share/mk/sys.mk and its value can either be
# "echo", or "true" if the make flag -s is given. Use ECHO_CMD where
# you mean the echo command.
No response yet from: portmgr
Clued by: Cyrille Lefevre <clefevre@citeweb.net> (on ${ECHO})
does not clobber the existing definitions because of the `?='
assignment.
Grepping the whole ports tree, a few dozen ports already define this
variable on their own and most of them have the same value as this
(${PREFIX}/share/examples/${PORTNAME}).
Approved but not committed by: portmgr
As I didn't see why the full package name is needed there, I changed
it to a simple regexp that matches any later version of the XFree86
3.x port.
No response from: portmgr
of the bit 21 of eflags register. This should fix `sigreturn: eflags ...'
problem in many threaded GNOME apps.
Update is highly recommended to all GNOME users - it improves stability
of Nautilus, Balsa etc greatly.