New version of portmaster available for testing

Doug Barton dougb at FreeBSD.org
Thu Jun 15 23:43:43 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Howdy,

I've been watching the -ports list regarding the various discussions about
portupgrade features, linux_base migration, etc.; along with the usual round
of feature requests that I receive, and the result of doing what I can to
accommodate is now available for testing. I would appreciate any feedback
regarding this new version. Absent any bugs, this, or something like this
should go into ports this weekend.

I would also like to take this opportunity to point out that the current
version of portmaster already has two of the most requested features that
came up in the recent portupgrade discussion; recursive 'make config' before
starting the build, and downloading distfiles in the background.

New features:
=============
1. Add -b option to make a backup package of the installed port
2. Add -g option to make a package of the new port
3. Add -o option to replace an installed port with a new port from a
different location (e.g., portmaster -o emulators/linux_base-fc4 linux_base)
The second argument can also be specified as the name of the installed port
(e.g., linux_base-8-8.0_15)
4. Add -s option to detect no-longer-needed dependencies, and offer the user
a choice to delete them.

General improvements:
=====================
1. Update usage() to reflect reality, and organize it better
2. Switch to using DEPORIGIN to detect missing dependency tracking, which
provides dramatically fewer false positives, and more useful tools to fix
actual problems
3. Factor out more common code into functions
4. Only pay attention to +REQUIRED_BY files for dependency tracking if they
are > 0 bytes
5. Simplify option parsing
6. Make whitespace more consistent in -a message

Bug fixes:
==========
1. Fix the PATH if a user is using ccache
2. Handle the case where there is no ORIGIN in a +CONTENTS file
3. Ignore errors in the tail of fetchlog, since if the file is gone we'll
exit the loop anyway


You can find the new version at http://dougbarton.us/portmaster


Enjoy,

Doug

- --

    This .signature sanitized for your protection

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEkfCryIakK9Wy8PsRAhcXAJ9tDZcsIwoK/Grk7omVZgbpDjDPAgCg4wAD
+/lcC267GSymspbu0qB06mM=
=TtPz
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list