| Commit History - (may be incomplete: see CVSWeb link above for full details) |
| Date | By | Description |
28 Jul 2008 22:26:19
2.6
|
dougb  |
Update for version 2.6 |
28 Jul 2008 22:25:48
2.5
|
dougb  |
Update to reflect the ability to specify multiple glob patterns
added in version 2.6. |
28 Jul 2008 22:24:53
2.5
|
dougb  |
New Features
============
1. You can now specify multiple globs for directories in /var/db/pkg on the
command line (along with full names of directories/paths from /usr/ports
and/or /var/db/pkg, as before)
2. When calling check_interactive or update_port from check_for_updates
tell the user what updated version is available. [1]
Bug Fixes
=========
1. Don't set show_list to "all" for -a unless there is somthing to show
2. Add K (don't postclean) to getopts [2]
Other Improvements
================== (Only the first 15 lines of the commit message are shown above ) |
12 Jun 2008 21:33:33
2.5
|
dougb  |
Update for version 2.5 |
12 Jun 2008 21:33:04
2.4
|
dougb  |
Bug Fixes
=========
1. Fix -a mode by moving the update of CONFIG_SEEN_LIST to after the port
has been checked for available updates. The old way worked as a side
effect to one of the things I fixed in version 2.4. This is probably
how it should have been done all along, but since the old way worked
I was hesitant to change it.
2. Now that we are using a different format for the INSTALLED_LIST,
fix the bit that always displays the list if we are using -a. |
12 Jun 2008 21:27:05
2.4
|
dougb  |
Document the potentially useful variables for rc files |
11 Jun 2008 21:08:16
2.4
|
dougb  |
Add "rm -rf /usr/local/lib/compat/pkg" to the list of steps to
update your ports tree after a major version upgrade |
11 Jun 2008 20:39:29
2.4
|
dougb  |
Update for version 2.4 |
11 Jun 2008 20:38:54
2.3
|
dougb  |
Minor New Feature
=================
Print a list of ports that will be worked on when doing multiple
ports, either from a glob or listed on the command line.
Bug Fixes
=========
1. When working multiple ports, if a port that is specified on the
command line is reached as a dependency for another port that is on
the command line (either specifically or from a glob) that port
should be rebuilt the first time through, even if it is up to date.
2. By the same token, only rebuild that dependent port once if it
was not up to date. Implement these features by keeping lists of
what needs to be, and has been built specific to the multiport
context.
3. In multiport() declare local variables to be local
4. When reading a glob pattern from the command line do not run
the multiport feature if there is only one match, just pass it on.
Minor Enhancements
==================
1. Save the list of work done using \t and \n and print with echo -e
2. Now that we are properly updating CONFIG_SEEN_LIST at the end of
the config run remove the old update to that list from
dependency_check() |
04 Jun 2008 22:18:18
2.3
|
dougb  |
Update for version 2.3 |
04 Jun 2008 22:17:48
2.2
|
dougb  |
Update for version 2.3:
1. A glob pattern on the command line now updates all ports that match
2. Clarify that we rebuild the port(s) on the command line by default
3. Document -K option
4. Note the move of /etc/portmaster.rc -> /usr/local/etc/portmaster.rc
5. Document that you need to look in the script to find values to place
in the *rc files. TODO: List potentially useful variables
5. Fix the Xr for sudo |
04 Jun 2008 22:17:30
2.2
|
dougb  |
New Features
===========
1. By popular demand, change the command line behavior of 'portmaster blah*'
to update all ports in /var/db/pkg which match the glob.
2. Add the -K flag to avoid cleaning the work directory after the build.[1]
Bug Fixes
=========
1. Instead of /etc/portmaster.rc we should be reading
/usr/local/etc/portmaster.rc.[2] Begin introducing support for that.
2. If using the -n option, don't try to fetch the distfiles.[3]
3. When I added the optimization to only run 'make -V CONFLICTS' if
it existed in the Makefile I neglected to unset the value of $conflicts
in the script between ports.[4]
4. I ran into a port which set VERBOSE to a value that it needed to use (Only the first 15 lines of the commit message are shown above ) |
19 Mar 2008 21:47:36
2.2
|
dougb  |
Update for version 2.2 |
19 Mar 2008 21:47:16
2.1
|
dougb  |
New Implementation
==================
The previous code tried to handle moved ports in much the same way
as it handled replacing a port with the -o option, but this would
sometimes create problems if we are deep in a dependency graph.
So rather than re-implement only a portion of the -o code, use the
whole thing instead.
We accomplish this by either exec'ing ourselves with the proper -o
options if we are in the dependency tree, or by asking the user to
restart with the proper -o options if they specified the moved port
on the command line. The latter is necessary to avoid having to
duplicate all the "initialize the parent process" code. This allows
me to simplify the code in a few places since -o is now the only
special case.
Bug Fixes
=========
1. Don't try to derive $portdir from $upg_port if using -o
2. Don't try to build a port with an +IGNOREME file if we are doing
the dependent ports in -r mode
Minor tweak: Add some whitespace after a warning message |
19 Mar 2008 20:25:02
2.1
|
dougb  |
In the example about using portmaster to do a complete re-install of
your ports, I had:
pkg_delete *
which works for me because of a local bash completion, but doesn't
work for most users. So, correct that to be:
pkg_delete '*'
instead. |
30 Jan 2008 02:59:18
2.1
|
dougb  |
Update for the 2.1 version |
30 Jan 2008 02:58:38
2.0
|
dougb  |
1. Add explanatory text about some issues that have caused confusion:
a. If you specify a glob pattern in /var/db/pkg, there will always
be a prompt, even with the -u flag.
b. Try to discourage people from using -u, it doesn't seem to do what
people expect it to do.
c. You cannot upgrade sudo with PM_SU_CMD if sudo is your PM_SU_CMD
2. s/Dq/Qq/
3. Add .Ev tags to environment variables |
30 Jan 2008 01:48:10
2.0
|
dougb  |
Cosmetic fix for the code: Only expand the $FreeBSD tag once
Bug fix: If using the combination -aiG, don't run the interactive mode
test in the build phase, use the one that's already in check_for_updates() |
24 Jan 2008 02:38:29
2.0
|
dougb  |
Update for version 2.0 |
24 Jan 2008 02:36:58
1.27
|
dougb  |
The code for this 2.0 version has been totally reorganized, and
in several cases totally rewritten. I am also glad to say that
all of the advertised features now work as advertised. :)
The most exciting new feature is the completely new dependency
updater. I finally took the time to write the line-oriented version
of update_contents() that I wanted to write in the first place, so
no more sed, and no more warnings sent to $PAGER. This version relies
entirely on exact matches to DEPORIGIN to do its work, so it's 100%
reliable.
So what else is new? A lot of micro-optimizations have been done to
eliminate duplicated work, avoid using external commands when not
necessary, etc. There are also some not-so-micro optimizations, which
means that this version is noticably faster. (Only the first 15 lines of the commit message are shown above ) |
04 Jan 2008 10:30:29
1.27
|
dougb  |
Update for version 1.27 |
04 Jan 2008 10:29:58
1.26
|
dougb  |
Restore the canonical order of installing run-depends before the parent |
12 Dec 2007 21:51:32
1.26
|
dougb  |
Update for version 1.26 |
12 Dec 2007 21:50:59
1.25
|
dougb  |
New Features
===========+
1. If an +IGNOREME file is present for a package that has a new
version, let the user know.
2. Use printf to display BROKEN/FORBIDDEN/IGNORE messages so that
multi-line messages with embedded newlines will display properly.
Typo Fix
========
Fix two typos in the "it's interactive" message
... on the same line
... in two consecutive words. A new personal record.
I did run through the rest of the script with aspell and didn't
notice anything else, but who knows? |
31 Oct 2007 08:57:40
1.25
|
dougb  |
Update for version 1.25
Approved by: portmgr (marcus) |
31 Oct 2007 08:57:04
1.24
|
dougb  |
Small bug fixes
===============
1. In delete_all_distfiles(), $distdir already contains a trailing slash
2. Only print the "no new versions" message for -L, not -l
Big bug fix
===========
1. cd back to the port directory before trying to run 'make install'
pointy_hat_supply++
Approved by: portmgr (marcus) |
30 Oct 2007 07:26:57
1.24
|
dougb  |
Update for version 1.24 |
30 Oct 2007 07:18:51
1.23
|
dougb  |
These changes are the result of some regression testing, plus a top
to bottom read through prompted by a user reporting bug #1 below.
Fortunately I only found that one additional instance of forgetting
to virtualize a value we derive from bsd.port.mk, but I did find and
fix a few more things as well.
Bug Fixes
=========
1. Virtualize an occurrence of $distdir instead of using $pd/distfiles
2. Make all variables in read_distinfos() local
3. When specifying multiple ports on the command line, the test for
PARENT_PID to start read_distinfos() would always fail, so start it
in the initial PARENT_PID block instead. This also implies pulling the
DI_FILES creation up into that same block.
(Only the first 15 lines of the commit message are shown above ) |
21 Oct 2007 06:33:30
1.23
|
dougb  |
Update for version 1.23 |
21 Oct 2007 06:33:07
1.22
|
dougb  |
Two small bug fixes
===================
1. When I changed how the MOVED file was treated in version 1.19
I accidentally typed a literal /usr/ports/. Change that to the
variable for PORTSDIR as it should be. [1]
2. When using the --show-work feature and the port has no dependencies,
exit immediately instead of recursing.
Submitted by: Jason C. Wells <jcw@highperformance.net> [1] |
15 Oct 2007 05:56:04
1.22
|
dougb  |
Update for version 1.22 |
15 Oct 2007 05:55:42
1.21
|
dougb  |
Bug Fixes
=========
1. For all values derived from bsd.port.mk, assert that they are not empty.
This helps prevent problems when running 'find $value ...'
2. Don't try to append to the master list of distfiles if we're using -D
Refinements for /var/db/ports/$name/distfiles
=============================================
1. Only create a distfiles file if the port has distfiles
2. Delete the distfiles list and try to delete PORT_DBDIR when we pkg_delete.
(The latter will fail if there is an options file present.)
3. Define the distfiles list even if we are using -D |
02 Oct 2007 05:50:34
1.21
|
dougb  |
Update for version 1.21 |
02 Oct 2007 05:49:47
1.20
|
dougb  |
New Features
============
1. Switch to saving distfile info in /var/db/ports/$name/distfiles
ala PR http://www.freebsd.org/cgi/query-pr.cgi?pr=106483
2. Keep track of distfiles we've already examined so we won't have to
do them again (or print the "keeping" message for -v more than once).
This has more benefit the more distfiles a port has.
3. Add all distfiles for the new port to DI_FILES after install.
This only makes a difference in a few cases, but it's easy to do.
Bug Fixes
=========
1. Make sure that $distdir always has a trailing slash in case it
is a symlink. [1]
2. In delete_stale(), test whether or not a file is in the _current_
distfile list to make sure that it is not auto_deleted by mistake. [1]
3. When building DI_FILES, only use lines starting with MD5 to avoid
adding every file > 1 time.
4. Only run read_distinfos() when we really need it.
[1] Inspired by ...
PR: ports/116298
Submitted by: NIIMI Satoshi <sa2c@sa2c.net> |
27 Aug 2007 23:48:55
1.20
|
dougb  |
Update for version 1.20 |
27 Aug 2007 23:48:24
1.19
|
dougb  |
Improvement
===========
1. Before calling pkg_create for the installed version of the port,
cd into the PKGREPOSITORY directory. This not only simplifies the code,
it helps handle the problems of ports trees mounted read-only. [1]
2. Factor out initialization of the $pkgrep directory into a function.
Bug fixes
=========
1. Before calling 'find ${pkgrep}/ ... -delete' assert that $pkgrep is
not empty.
2. Make sure that $pkgrep is initialized everywhere it's needed.
Suggested by: Hans Lambermont <hans@lambermont.dyndns.org> [1] |
05 Aug 2007 06:04:58
1.19
|
dougb  |
Update for version 1.19 |
05 Aug 2007 06:04:15
1.18
|
dougb  |
1. Change to 'make -f/usr/share/mk/bsd.port.mk' in several places due to
the DESTDIR changes today.
2. Export pd, pdb, and distdir to avoid having to look them up each time
3. Streamline find_moved() by grepping for lines, and then recursing
4. Further streamline by using variable stripping instead of cut |
08 Jul 2007 07:37:42
1.18
|
dougb  |
1. Update for version 1.18
2. I'm told if DISTFILES is empty, the fake do-fetch target is not needed |
08 Jul 2007 07:35:35
1.17
|
dougb  |
Bug Fixes
=========
1. If we are doing --show-work, don't launch background processes
that are only useful for real builds.
2. Fix a rather obscure bug that can only happen:
IFF you are doing an install of a new port, and
IFF you have a dependency "early" in the list with an +IGNOREME file, and
IFF you have one or more dependencies "late" in the list that are not
installed. The bug is a false positive on the +IGNOREME for the uninstalled
ports. The solution is to reset the "port to test for +IGNOREME file"
variable each time through the loop. This will usually be a noop, but it
costs almost nothing in any case. |
27 May 2007 09:10:54
1.17
|
dougb  |
Update for version 1.17 |
27 May 2007 09:10:34
1.16
|
dougb  |
New Features
============
1. Keep a temporary flag that indicates a port has already been upgraded
during a -r or -f update, and add a -R (retry) option to let the user
skip those ports on subsequent attempts if the first update is interrupted.
2. Change the default behavior to use 'make config-conditional' to
take advantage of the recent enhancements to the OPTIONS functionality.
3. Add a new --force-config flag to use the old behavior of doing
'make config' for every port.
4. Don't delete backup packages until the original (parent) portmaster
process has finished successfully. That way if an update fails, the user
can back out the whole thing.
5. Add -w option to save old shared libraries from an installed port.
6. Add -x option to avoid building ports that match the glob pattern.
7. Split tracking of build and run depends to before and after the (Only the first 15 lines of the commit message are shown above ) |
09 Mar 2007 17:22:51
1.16
|
dougb  |
Fix a test in find_and_delete_distfiles() introduced in the last
commit that I forgot to merge from my devel version.
PR: ports/110125
Submitted by: Simon Phoenix<phoenix.lists@gmail.com> |
08 Mar 2007 23:48:51
1.15
|
dougb  |
Update for version 1.15 |
08 Mar 2007 23:48:22
1.14
|
dougb  |
Document --show-work option for 1.15
Various small markup fixes and improvements |
08 Mar 2007 23:47:44
1.14
|
dougb  |
New Features
============
1. --show-work option which will recurse through all-depends-list
and show what dependencies are, and are not installed.
2. Dramatically reduce false positives for per-port distfile cleaning
by creating a list of valid distfiles for all ports. Use this new
method for the --clean-distfiles* options as well.
Bug Fix
=======
Honor DISTDIR if set for --clean-distfiles* |
25 Feb 2007 08:05:22
1.14
|
dougb  |
Minor Bugfix
============
If a user were to specify /var/db/pkg/foo-1.2/ on the command line,
the old code already failed, but by telling people that it's ok to
do that now, I exposed one more place this needed to be fixed. Take
the opportunity to fix this in a more thorough way. |
22 Feb 2007 19:05:33
1.13
|
dougb  |
Update for version 1.13 |
22 Feb 2007 19:05:08
1.12
|
dougb  |
New Feature
===========
--clean-distfiles[-all] options to check /usr/ports/distfiles for
stale stuff, and either offer to delete them or delete them all
without prompting.
Bug Fix
=======
Fix brain-o that broke the -o option.
Usability Improvements
======================
1. If a port skeleton is missing, but the pkg db has an +IGNOREME
file, skip the update check, but issue a warning for it.
2. If there is no +IGNOREME file, and no version information is
present, fail with a helpful error message.
3. Clean up any trailing / character on directory names input
at the command line.
4. Allow user to specify just category/portname on the command
line without -p.
5. Work around a missing +REQUIRED_BY file for a -r port.
Minor cleanup
=============
Make case consistent for all usage() items |
05 Feb 2007 01:08:46
1.14
|
pav  |
Populate a new ports-mgmt category. List of moved ports:
devel/portcheckout -> ports-mgmt/portcheckout
devel/portlint -> ports-mgmt/portlint
devel/portmk -> ports-mgmt/portmk
devel/porttools -> ports-mgmt/porttools
misc/instant-tinderbox -> ports-mgmt/instant-tinderbox
misc/porteasy -> ports-mgmt/porteasy
misc/portell -> ports-mgmt/portell
misc/portless -> ports-mgmt/portless
misc/tinderbox -> ports-mgmt/tinderbox
security/jailaudit -> ports-mgmt/jailaudit
security/portaudit -> ports-mgmt/portaudit
security/portaudit-db -> ports-mgmt/portaudit-db
security/vulnerability-test-port -> ports-mgmt/vulnerability-test-port (Only the first 15 lines of the commit message are shown above ) |