ports/120002: portmaster won't show port's available version

Yar Tikhiy yar at FreeBSD.org
Sat Jan 26 12:50:02 UTC 2008

>Number:         120002
>Category:       ports
>Synopsis:       portmaster won't show port's available version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 26 12:50:02 UTC 2008
>Originator:     Yar Tikhiy
>Release:        FreeBSD 6.2-RELEASE i386

	portmaster 2.0


	Portmaster provides no info on if the installed port is
	up-to-date or outdated WRT /usr/ports and/or INDEX when
	asking for the user's confirmation.  Therefore the user
	cannot cancel the update if updating to the same version,
	and portmaster will do useless work.


	dg# portmaster portmaster
	===>>> Gathering distinfo list for installed ports
	===>>> Update portmaster-2.0? [n] y

	===>>> Currently installed version: portmaster-2.0
	===>>> Port directory: /usr/ports/ports-mgmt/portmaster
	===>>> Gathering dependency list for ports-mgmt/portmaster from ports
	===>>> No dependencies for ports-mgmt/portmaster
	===>>> Starting build for ports-mgmt/portmaster <<<===

	===>>> The 'make config' check found no dependencies to update

	===>  Cleaning for portmaster-2.0

	===>  Vulnerability check disabled, database not found
	===>  Extracting for portmaster-2.0
	===>  Patching for portmaster-2.0
	===>  Configuring for portmaster-2.0
	===>>> Creating a backup package for old version portmaster-2.0
	===>  Installing for portmaster-2.0
	===>   Generating temporary packing list
	===>  Checking if ports-mgmt/portmaster already installed
	install  -o root -g wheel -m 555 /usr/ports/ports-mgmt/portmaster/work/portmaster.sh /usr/local/sbin/portmaster
	install  -o root -g wheel -m 444 /usr/ports/ports-mgmt/portmaster/files/portmaster.8 /usr/local/man/man8
	===>   Compressing manual pages for portmaster-2.0
	===>   Registering installation for portmaster-2.0
	===>  Cleaning for portmaster-2.0

	===>>> Re-installation of portmaster-2.0 complete


	Printing the available version along with the installed
	version would be enough.  However, a better solution can
	be conditional update, like in -a mode but for the listed
	ports only.

More information about the freebsd-ports-bugs mailing list