notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
portmaster Manage your ports without external databases or languages
3.29_2 ports-mgmt on this many watch lists=123 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.29_2Version of this port present on the latest quarterly branch.
Maintainer: se@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2007-02-05 01:09:12
Last Update: 2024-03-06 20:44:44
Commit Hash: 755d190
People watching this port, also watch:: gmake, pcre, libiconv, curl, sudo
License: BSD2CLAUSE
WWW:
https://portmaster.github.io/
Description:
This script uses the existing ports infrastructure to track dependencies, and keep them up to date. It is written in /bin/sh so it has no dependencies. Portmaster has the following features: * Updates and repairs (as needed) entries for dependencies in both +CONTENTS and +REQUIRED_BY files for both the port that is being updated, and any ports that depend on it * Runs make config recursively through all ports before starting build * Downloads distfiles in the background * Recursively checks and upgrades (or installs) all dependencies * User can force upgrades of all dependent ports * Offers the user the opportunity to delete stale distfiles * Supports ports/MOVED and non-default settings of PORTSDIR and PKG_DBDIR * Interactive update mode (prompts for each update) * Option to rebuild port, and ports that depend on it * Options to make packages out of installed, and new ports * Option to clean out stale port dependencies * Options to list installed ports by category, and those with new versions * Packages can be used for installation either exclusively, if available, or only for build dependencies
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (8 items)
Collapse this list.
  1. sbin/portmaster
  2. etc/portmaster.rc.sample
  3. share/man/man8/portmaster.8.gz
  4. etc/bash_completion.d/portmaster.sh
  5. share/zsh/site-functions/_portmaster
  6. /usr/local/share/licenses/portmaster-3.29_2/catalog.mk
  7. /usr/local/share/licenses/portmaster-3.29_2/LICENSE
  8. /usr/local/share/licenses/portmaster-3.29_2/BSD2CLAUSE
Collapse this list.
Dependency lines:
  • portmaster>0:ports-mgmt/portmaster
To install the port:
cd /usr/ports/ports-mgmt/portmaster/ && make install clean
To add the package, run one of these commands:
  • pkg install ports-mgmt/portmaster
  • pkg install portmaster
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: portmaster
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1701339347 SHA256 (freebsd-portmaster-3.29_GH0.tar.gz) = 6fa2250ae6d2d1c0f4604c276c6c5d9dd336315b3399a84c6e705b8c6d1421fd SIZE (freebsd-portmaster-3.29_GH0.tar.gz) = 44717

Packages (timestamps in pop-ups are UTC):
portmaster
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.29_23.29_23.19_273.29_23.29_2-3.19_27-
FreeBSD:13:quarterly3.293.293.263.293.29_23.293.293.29
FreeBSD:14:latest3.29_23.29_23.223.29_23.29_23.26-3.26
FreeBSD:14:quarterly3.293.29_2-3.293.29_23.293.293.29
FreeBSD:15:latest3.29_23.29_2n/a3.29_1n/a3.29_13.29_13.29_1
FreeBSD:15:quarterly--n/a-n/a---
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for portmaster-3.29_2: BASH=on: Install programmable completions for Bash ZSH=on: Install programmable completions for zsh ===> Use 'make config' to modify these settings
Options name:
ports-mgmt_portmaster
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/freebsd/portmaster/tar.gz/3.29?dummy=/
Collapse this list.

Number of commits found: 283 (showing only 83 on this page)

«  1 | 2 | 3 

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.17
08 Feb 2010 06:43:31
Original commit files touched by this commit
dougb search for other commits by this committer
New Features
============
1. Add a --no-term-title option to avoid updating the xterm title bar

Bug Fixes
=========
1. Add code to prevent duplicate entries in the list of things to be
done for the user to confirm after config is done.
2. Add code so that if a user has an +IGNOREME file for a port that
is a dependency and chooses not to update it we will not falsely claim
that it will be udpated in post_config().
3. If we are running on a cons25 terminal let term_printf() return
instead of trying to printf the escapes which won't work and will
annoy users.
4. Fix 2 places where sudo privileges might be needed but the non-sudo
version of the command was called. [1]
5. If a user chose -G don't print the (${dep_of_deps}/${num_of_deps})
in the xterm title since the latter will not be incremented. This has
the pleasant side effect of allowing better indenting of the code.

Submitted by:   N.J. Mann <njm@njm.me.uk> [1] (for pkg_delete)
2.17
24 Jan 2010 06:18:22
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.17
2.16
24 Jan 2010 06:17:48
Original commit files touched by this commit
dougb search for other commits by this committer
Update copyright date

Update for version 2.17

Document the --no-confirm option

Attempt to improve readability by re-sorting and rewording a few
of the paragraphs.
2.16
24 Jan 2010 06:17:16
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.17, add the --no-confirm option
2.16
24 Jan 2010 06:16:33
Original commit files touched by this commit
dougb search for other commits by this committer
Update the copyright date

New Features:
=============
1. When running through the config phase a list of things to be installed
and/or upgraded will be generated. This list will then be presented to
the user for confirmation before proceeding.
2. Add a --no-confirm option to suppress this new feature.
3. When using portmaster in an X terminal window that supports updating
the title you will now see a status update for what port is being
built, and as appropriate what dependency of that port and an (N/M)
counter. Thanks to ehaupt for the push on this, as well as some testing
and sample code.
4. Make the "yes or no" prompts (hopefully) more clear by adding "y/n"
to the text of the message, e.g., "===>>> Do you want to live? y/n [y] "
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.16
31 Dec 2009 03:54:30
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.16
2.15
31 Dec 2009 03:53:59
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.16:
1. Versions of pkg_add in FreeBSD older than 6.4-RELEASE will not have
the proper options available, so warn the user if they try to use
package-related code.[1]

2. Highlight some different features

Reported by:    Miroslav Lachman <000.fbsd@quip.cz>[1]
2.15
31 Dec 2009 03:52:20
Original commit files touched by this commit
dougb search for other commits by this committer
Two minor bug fixes:
====================
1. We only want to set PM_BUILD_ONLY_LIST=pm_bol in the command line
parser if we are the parent port. Otherwise proper build dep detection
will not occur.
2. Versions of pkg_add in FreeBSD older than 6.4-RELEASE will not have
the proper options available, so warn the user if they try to use
package-related code.[1]

Reported by:    Miroslav Lachman <000.fbsd@quip.cz>[1]
2.15
19 Dec 2009 07:27:27
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.15
2.14
19 Dec 2009 07:26:49
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.15:
It's no longer necessary to supply PM_BUILD_ONLY_LIST in an rc file
2.14
19 Dec 2009 07:25:44
Original commit files touched by this commit
dougb search for other commits by this committer
This is svn version r200709

Feature Update
==============
1. Further update the --packages-build and --delete-build-only options
to work with -a:
        a. Create a new function clean_build_only_list() from code that
        was already in dependency_check() and use it both there and at
        the end of the config mode in -a.
        b. Properly initialize the variables related to these two features
        in the same spot as all the other global vars are initialized rather
        than doing it in different locations.

Major Cleanups
==============
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.14
10 Dec 2009 23:46:38
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.14
2.13
10 Dec 2009 23:46:04
Original commit files touched by this commit
dougb search for other commits by this committer
Bug Fixes
=========
1. In the test for -PP being alone on the command line I forgot the
-dash at the beginning of the second test so it was falsely picking
up ports with names like p5-Devel-PPPort.

2. If you are building more than one port on the command line, and you
use --packages-build and/or --delete-build-only, and one of the ports
on the command line would otherwise qualfiy as a build-only dep, it was
falsely being treated as such. Solve this problem by adding all ports
on the command line to the run_dl_g list in multiport().

3. With the new parser if you use -v with --check-port-dbdir it's going
to be $1, not $2.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.13
10 Dec 2009 23:38:02
Original commit files touched by this commit
dougb search for other commits by this committer
1. Show that -v can be used with --check-port-dbdir
2. In the procedure for using portmaster to re-install after a major
version upgrade, list "re-install portmaster" as an actual step. [1]

Submitted by:   Kevin Oberman <oberman@es.net> [1]
2.13
07 Dec 2009 07:15:04
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.13
2.12
07 Dec 2009 07:14:40
Original commit files touched by this commit
dougb search for other commits by this committer
This is svn version r200201

1. Document the new package-related features for version 2.13
2. Remove the requirement that --options be first on the command line
3. Deprecate the -p option
4. Improve the prose in a few sections, mostly removing commas and
simplifying sentences.
5. Small markup tweaks
6. Clearly indicate that +IGNOREME files only work on installed ports
7. Document that -x will work on the origin directory if there is
no installed version.
8. In the example .portmasterrc file the verbose variable needed a value
2.12
07 Dec 2009 07:14:26
Original commit files touched by this commit
dougb search for other commits by this committer
Introducing portmaster with package support!
This is svn version r200206.

New Features
============
1. Support for the following new options:
        a. --packages|-P and --packages-only|-PP
        b. --packages-build
        c. --packages-if-newer
        d. --delete-build-only
        e. --always-fetch
        f. --local-packagedir
In addition to the new code this also involved making some existing
messages more generic, and customizing some others to be aware of
whether packages are in use or not.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.12
15 Sep 2009 08:23:19
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.12

Add OPTIONS to install programmable completion files for Bash and zsh.
The Bash file is mine, the zsh file and installation suggestions are
from the PR. Additional testing for the zsh completions from garga.

PR:             ports/127319
Submitted by:   Shota Iwazaki <iwazaki8@yahoo.co.jp>
2.11
15 Sep 2009 08:20:26
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.12:

1. Document new --list-origins feature
2. Indicate that -x can be used more than once
3. EXAMPLES for both
2.11
15 Sep 2009 08:18:58
Original commit files touched by this commit
dougb search for other commits by this committer
New Features
============
1. The -x option can now be specified more than once.
2. The --list-origins option will list origins from root and leaf ports
for use in rebuilding all ports (for example after a major version upgrade).
This requires moving ports_by_category() up into the --features section

Improvements
============
1. Error checking for -f and -i now fails instead of silently unsetting -i
2. In dependency_check():
a. Switch to $origin instead of $d_port in several places to make the
messages to the user more clear and consistent
b. $origin is also better for check_interactive()
c. Move check_exclude down to after CONFLICTS check, and use $iport
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.11
25 Aug 2009 00:24:13
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.11
2.10
25 Aug 2009 00:23:34
Original commit files touched by this commit
dougb search for other commits by this committer
1. Add a "quick start" note to the top of the man page that directs
users to the EXAMPLES section.
2. Expand the EXAMPLES with some more commonly used features.
3. Minor tweaks to other texts.

This version will go out with portmaster version 2.11 but the changes
are not specific to that version.
2.10
25 Aug 2009 00:21:45
Original commit files touched by this commit
dougb search for other commits by this committer
In the previous update I did s/$globlist/$glob_dirs/ in multiport()
to make the code match the equivalent code in the main command line
parser, but I missed one which meant that if you specified multiple
glob patterns on the command line it no longer matched anything.

"Hey this doesn't work anymore" by: Florian Smeets <flo@smeets.im>
"I will do global searches for even small variable changes" x 1000: me
2.10
21 Aug 2009 04:01:20
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.10
2.9
21 Aug 2009 04:00:41
Original commit files touched by this commit
dougb search for other commits by this committer
Bug Fixes
=========
1. Rework the NO_DEP_UPDATES feature which is an optimization when you
are updating or installing a port whose dependencies are all up to date.
a. Stop using a temporary file for this feature, and instead utilize the
existing IPC_SAVE mechanism
b. Focus the toggling of this flag in update_port() so that it will always
be unset when it needs to be (and not when it doesn't)
[This is the actual bug fix]
c. Add a flag that is global but not exported in dependency_check() so
that the toggle in update_port() will know when (and when not) to fire
2. Set PM_BUILDING when it needs to be set in multiport()

Enhancements
============
1. Use globstrip() in multiport(), change the variable to match the parser,
and add notes in the parser and multiport() to keep the code in synch
(it's _just_ different enough so that a function doesn't make sense atm)
2. Replace globstrip sed kludge with more effcient shell pattern
3. Make the PM_BUILDING values more explicit to aid in debugging
2.9
06 Aug 2009 17:06:41
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.9
2.8
06 Aug 2009 17:06:02
Original commit files touched by this commit
dougb search for other commits by this committer
In multiport() add a check_interactive() for every port in the list
when using the -i option. This is a minor inconvenience for those users
that give a list of specific ports on the command line, but a huge
benefit for users who use a glob pattern that can easily match things
that don't need to be rebuilt.
2.8
29 Jul 2009 23:26:57
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.8
2.7
29 Jul 2009 23:26:15
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.8:
1. Deprecation of -u
2. Improve the wording for -R
3. Add an example of using -af for "in place" update of all ports
2.7
29 Jul 2009 23:24:43
Original commit files touched by this commit
dougb search for other commits by this committer
Feature Updates
===============
1. For the -[rf] and -R options:
a. Do not delete the flag files that indicate a port has been updated
until the -[rf] process is successful.
b. Update the wording in usage() to be more clear about what -R does
c. If a user starts -[rf] without -R, and there are flag files present,
ask if they would like to delete them, or enable -R mode.

2. Add a globstrip() function and use it to clean up inputs to -x
(and in the input parser where the idea originated)

3. Improve the wording of the message in -s mode about what to do if
they choose not to remove a port with an empty +REQUIRED_BY file

4. Tell the user how many fetches we are waiting for in -F

Removed Feature
===============
Remove the -u option. It did very little, and not what users expected.
2.7
05 Feb 2009 23:16:06
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.7
2.6
05 Feb 2009 23:15:21
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.7:

1. Document the --check-port-dbdir

2. Add a paragraph about why it's not possible for portmaster to continue
when there is an error.

3. Update the suggested alias for portmaster -L

4. Update the process of deleting and reinstalling ports to include the
new --check-port-dbdir option, and to check /var/db/pkg
2.6
05 Feb 2009 23:11:23
Original commit files touched by this commit
dougb search for other commits by this committer
New Feature
===========
1. Add --check-port-dbdir to clean stale entries from /var/db/ports [1]
Since the definition of PORT_DBDIR is now used in more than one place,
add it to the initialization routine at the top.

General Improvements
====================
1. Add a 'nonfatal' option to find_moved_port() so that when it's
called in a context where we don't care about a port that has been
deleted (such as distfile listing) it doesn't exit. Add some code to
that function to tell -L that the port has been deleted.

2. Deal with ports that require user interaction to fetch by checking
first whether MASTER_SITES is empty before running 'make checksum'.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.6
28 Jul 2008 21:26:19
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.6
2.5
28 Jul 2008 21:25:48
Original commit files touched by this commit
dougb search for other commits by this committer
Update to reflect the ability to specify multiple glob patterns
added in version 2.6.
2.5
28 Jul 2008 21:24:53
Original commit files touched by this commit
dougb search for other commits by this committer
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 View all of this commit message)
2.5
12 Jun 2008 20:33:33
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.5
2.4
12 Jun 2008 20:33:04
Original commit files touched by this commit
dougb search for other commits by this committer
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.
2.4
12 Jun 2008 20:27:05
Original commit files touched by this commit
dougb search for other commits by this committer
Document the potentially useful variables for rc files
2.4
11 Jun 2008 20:08:16
Original commit files touched by this commit
dougb search for other commits by this committer
Add "rm -rf /usr/local/lib/compat/pkg" to the list of steps to
update your ports tree after a major version upgrade
2.4
11 Jun 2008 19:39:29
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.4
2.3
11 Jun 2008 19:38:54
Original commit files touched by this commit
dougb search for other commits by this committer
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()
2.3
04 Jun 2008 21:18:18
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.3
2.2
04 Jun 2008 21:17:48
Original commit files touched by this commit
dougb search for other commits by this committer
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
2.2
04 Jun 2008 21:17:30
Original commit files touched by this commit
dougb search for other commits by this committer
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 View all of this commit message)
2.2
19 Mar 2008 21:47:36
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.2
2.1
19 Mar 2008 21:47:16
Original commit files touched by this commit
dougb search for other commits by this committer
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
2.1
19 Mar 2008 20:25:02
Original commit files touched by this commit
dougb search for other commits by this committer
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.
2.1
30 Jan 2008 02:59:18
Original commit files touched by this commit
dougb search for other commits by this committer
Update for the 2.1 version
2.0
30 Jan 2008 02:58:38
Original commit files touched by this commit
dougb search for other commits by this committer
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
2.0
30 Jan 2008 01:48:10
Original commit files touched by this commit
dougb search for other commits by this committer
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()
2.0
24 Jan 2008 02:38:29
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 2.0
1.27
24 Jan 2008 02:36:58
Original commit files touched by this commit
dougb search for other commits by this committer
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 View all of this commit message)
1.27
04 Jan 2008 10:30:29
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.27
1.26
04 Jan 2008 10:29:58
Original commit files touched by this commit
dougb search for other commits by this committer
Restore the canonical order of installing run-depends before the parent
1.26
12 Dec 2007 21:51:32
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.26
1.25
12 Dec 2007 21:50:59
Original commit files touched by this commit
dougb search for other commits by this committer
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?
1.25
31 Oct 2007 08:57:40
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.25

Approved by:    portmgr (marcus)
1.24
31 Oct 2007 08:57:04
Original commit files touched by this commit
dougb search for other commits by this committer
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)
1.24
30 Oct 2007 07:26:57
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.24
1.23
30 Oct 2007 07:18:51
Original commit files touched by this commit
dougb search for other commits by this committer
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 View all of this commit message)
1.23
21 Oct 2007 05:33:30
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.23
1.22
21 Oct 2007 05:33:07
Original commit files touched by this commit
dougb search for other commits by this committer
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]
1.22
15 Oct 2007 04:56:04
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.22
1.21
15 Oct 2007 04:55:42
Original commit files touched by this commit
dougb search for other commits by this committer
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
1.21
02 Oct 2007 04:50:34
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.21
1.20
02 Oct 2007 04:49:47
Original commit files touched by this commit
dougb search for other commits by this committer
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>
1.20
27 Aug 2007 22:48:55
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.20
1.19
27 Aug 2007 22:48:24
Original commit files touched by this commit
dougb search for other commits by this committer
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]
1.19
05 Aug 2007 05:04:58
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.19
1.18
05 Aug 2007 05:04:15
Original commit files touched by this commit
dougb search for other commits by this committer
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
1.18
08 Jul 2007 06:37:42
Original commit files touched by this commit
dougb search for other commits by this committer
1. Update for version 1.18
2. I'm told if DISTFILES is empty, the fake do-fetch target is not needed
1.17
08 Jul 2007 06:35:35
Original commit files touched by this commit
dougb search for other commits by this committer
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.
1.17
27 May 2007 08:10:54
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.17
1.16
27 May 2007 08:10:34
Original commit files touched by this commit
dougb search for other commits by this committer
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 View all of this commit message)
1.16
09 Mar 2007 17:22:51
Original commit files touched by this commit
dougb search for other commits by this committer
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>
1.15
08 Mar 2007 23:48:51
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.15
1.14
08 Mar 2007 23:48:22
Original commit files touched by this commit
dougb search for other commits by this committer
Document --show-work option for 1.15
Various small markup fixes and improvements
1.14
08 Mar 2007 23:47:44
Original commit files touched by this commit
dougb search for other commits by this committer
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*
1.14
25 Feb 2007 08:05:22
Original commit files touched by this commit
dougb search for other commits by this committer
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.
1.13
22 Feb 2007 19:05:33
Original commit files touched by this commit
dougb search for other commits by this committer
Update for version 1.13
1.12
22 Feb 2007 19:05:08
Original commit files touched by this commit
dougb search for other commits by this committer
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
1.14
05 Feb 2007 01:08:46
Original commit files touched by this commit
pav search for other commits by this committer
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 View all of this commit message)

Number of commits found: 283 (showing only 83 on this page)

«  1 | 2 | 3