* portversion(1) also reads MOVED and trace origin change,
and, when invoked with "-v", displays the new origin.
Example:
% portversion -v screen
screen-4.0.2_2 < needs updating (port has 4.0.2_3) (=> 'sysutils/screen')
* Add "--ignore-moved" to portupgrade(1) and portversion(1).
When invoked with this option, both programs totally ignore MOVED.
If you encounter strange behaviour of these programs, try this out.
* Add IGNORE_MOVED option to pkgtools.conf.
This can be used to selectively ignore MOVED by pkgs.
See pkgtools.conf.sample for details.
* Keep the order of MOVED entries, and do not trace back to old entries.
Previously, when encounters the following entries,
editors/emacs|editors/emacs19|2004-03-20|emacs 19.x moved to a non-default port location
editors/emacs21|editors/emacs|2004-03-20|emacs 21.x moved to default port location
portupgrade traces as "editors/emacs21" -> "editors/emacs" -> "editors/emacs19".
I thought this behavior should not be what we want to, so added this change.
PR: ports/91272
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org> (maintainer)
Thank you for reporting. I also discovered this problem a few hours ago.
The source of this trouble is that the following line exists in MOVED,
lang/php4|lang/php4|2003-05-22|re-separated from www/mod_php4
where "moved from" and "moved to" is the same, but portupgrade
does not check this case and infinite loop occurs.
Fix to this problem will be in the next portupgrade release,
but in the meanwhile, whould you commit the following patch,
please?
PR: ports/91209
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org>
(1) Change the versioning scheme of portupgrade.
portupgrade now becomes 2.0.0!
(2) Add FreshPorts support to portcvsweb(1).
You can view CVS history via FreshPorts instead of CVSweb
by using "portcvsweb -F". See the man page of portcvsweb(1) for details.
(3) If the change of the origin is written in MOVED,
portupgrade reads and chases it.
You no longer need to supply the origin of the new pkg by "-o" option.
Example:
When ftp/wget-devel is moved to ftp/wget, previously you had to run,
% portupgrade -o ftp/wget wget
Now, just run
% portupgrade wget
and portupgrade will do what you want to do.
(4) Try to guess the pkg to be upgraded, when no pkgname is supplied
as a command line argument.
This can be done only when the current directory is under $PORTSDIR.
Example:
Running
% cd /usr/ports/ftp/wget
% portupgrade
will upgrade ftp/wget.
(5) The frequency of INDEX generation on official site is now sufficient,
recommend to run "portsdb -F" (fetch INDEX from official site)
instead of "portsdb -U" (make INDEX by yourself) in portsdb(1). [1]
PR: ports/91164
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org> (maintainer)
Pointed out by: Enrique Matias <cronopios at gmail dot com> [1]
- add switch ('-g') to automatically generate the exclude file from kept or
installed packges
- improve command line processing
- improve recursive cutting of leaves
PR: ports/91021
Submitted by: Stefan Walter <sw@gegenunendlich.de> (maintainer)
if portmanager has been installed for the first time it can't copy
pm-020.conf-SAMPLE to pm-020.conf.
PR: ports/90957
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
here is the tinderbox port which should give you a tinderbox system
to test your ports before submitting it. It's unnmissable for
everybody making ports, and belongs to the range of tools like
portlint and porttools.
make config have their video scrambled. Fixed by adding TERM= back to environment
during make.
PR: ports/90633
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
* Warn on use of .tar.bz2 as an EXTRACT_SUFX [1]
* Throw a fatal error if INFO is defined, and install-info is called
directly [2]
* Throw a warning if install-info is called directly and INFO is not
defined [2]
PR: 89952 [2]
Requested by: Kövesdán Gábor <gabor.kovesdan@t-hosting.hu> [1]
be included if they exist in devel/portmk/Mk; otherwise, the fallback file
from ports/Mk will be used. This will allow us to remove local copies of
files once their changes are merged back into ports/Mk, so that not every
single change in ports/Mk needs to have a tracking commit made back into
devel/portmk/Mk. In theory this should allow us to integrate changes a
little more quickly.
framework is designed so that such things as FreshPorts, portsmon, and
the distfile survey can more easily maintain local changes without having
to re-merge them into their copies of bsd.port.mk all the time.
(1) For years, I have experienced that portupgrade sometimes
runs very slow. After some investigation, I found that
"pkgdb -aF" is invoked from portupgrade or other programs
(such as portversion) without having sufficient privilege
to modify /var/db/pkg/, and that error is not caught by the
caller program, and "pkgdb -aF" is invoked repeatedlly.
So, I fixed the following things:
- When pkgdb internally invoked from other program exits
with error, make the caller program also exit with error.
- Display the error messages of pkgdb that run internally
from other program.
When portupgrade or other programs die with the following error,
** You do not own /var/db/pkg. (use -f to force or run as root)
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
please run "pkgdb -aF" as the user that owns /var/db/pkg (usually root).
(2) Make new tarball that contains the above fix and all
patches in files/. Bump PORTVERSION to 20051204 and change
MASTER_SITES.
PR: ports/89917
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org>
update sysutils/portmanager to 0.3.9_7
1. Fixes portmanager not honoring STOP/START statements
from its own config file, reported by Gerard Seibert
<gerard@seibercom.net>, Thanks!
PR: ports/89913
Submitted by: Michael C. Shultz <ringworm01@gmail.com>
1, Fixes corruption of +CONTENTS files when portmanager is compiled in
BUILD_DEPENDS_ARE_LEAVES mode Bug identified by Jiawei Ye
<leafy7382@gmail.com>
2. Fixes parsing pkgtools.conf when arrays are used, patch
provided by dan@slightlystrange.org, thank you!
PR: ports/89903
Submitted by: Michael C. Shultz <ringworm01 -at- gmail.com> (maintainer)
pkg-orphan is a console utility for managing orphan, i.e.
unreferenced FreeBSD packages. It finds all or selected
orphans and lets the user choose which ones to remove and
which ones to keep. It maintains a keep-list file, so
previously kept packages will be skipped automatically. In
batch mode, all packages, not present in the keep-list are
either deleted or kept in the list.
Since orphan packages are usually much fewer than non-orphan
ones, it can be useful for quickly finding and deleting
unused packages, even on a system with hundreds of them
installed.
Features:
- interactive and batch modes
- maintains a kept package list, to avoid asking for the same package again
- can delete packages recursively, but without deleting shared dependencies or
previously kept packages
- the keep-list file does not contain package versions, so upgrades generally
don't require editing of the file
WWW: http://sourceforge.net/projects/pkg-orphan/
- Victor Semionov
semionov@mail.b
PR: ports/89730
Submitted by: Victor Semionov <semionov@mail.bg>
- Fixes when adding a new port with portmanager, +CONTENTS files being
corrupted.
- Improved logging of conflicting ports
Submitted by: "Michael C. Shultz" <ringworm01@gmail.com> (maintainer)
PR: ports/89716
It creates a whole lot of often used ports, so that after a cvsup
on a tinderbox build system, you can just tinderbuild this port and
all primary dependencies are updated.
If you think a port is missing, let me know!
Author: Edwin Groothuis <edwin@mavetju.org>
- Fixes bug where if run with -f switch when portmanager updates itsself goes into endless loop.
Thanks to Gerard Seibert for helping to track this one down!
PR: 89609
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
- Using ruby script provided by Jan Grant <Jan.Grant@bristol.ac.uk> if portupgrade is installed
portmanager also uses settings from pkgtools.conf in addition to those from its own conf file.
- Wild cards "*" may now be used in pm-020.conf, see man portmanager for details
- Automatic timeouts are re-enabled, stdin problem is solved.
- Fix build on 4.x (0.3.9)
PR: 89533
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)