svn commit: r220533 - user/dougb/portmaster/files
Doug Barton
dougb at FreeBSD.org
Mon Apr 11 03:12:11 UTC 2011
Author: dougb
Date: Mon Apr 11 03:12:10 2011
New Revision: 220533
URL: http://svn.freebsd.org/changeset/base/220533
Log:
Update supporting files for new features:
* --update-if-newer
* --check-depends can take --index|--index-only
* portmaster.rc file located with the script
Modified:
user/dougb/portmaster/files/bash-completions
user/dougb/portmaster/files/portmaster.8
user/dougb/portmaster/files/zsh-completions
Modified: user/dougb/portmaster/files/bash-completions
==============================================================================
--- user/dougb/portmaster/files/bash-completions Mon Apr 11 01:43:59 2011 (r220532)
+++ user/dougb/portmaster/files/bash-completions Mon Apr 11 03:12:10 2011 (r220533)
@@ -13,6 +13,7 @@ _portmaster () {
--packages-build --packages-if-newer --delete-build-only \
--always-fetch --delete-packages \
--local-packagedir= --packages-local \
+ --update-if-newer \
--no-confirm --no-term-title --no-index-fetch \
--index --index-first --index-only \
--clean-distfiles --clean-packages \
Modified: user/dougb/portmaster/files/portmaster.8
==============================================================================
--- user/dougb/portmaster/files/portmaster.8 Mon Apr 11 01:43:59 2011 (r220532)
+++ user/dougb/portmaster/files/portmaster.8 Mon Apr 11 03:12:10 2011 (r220533)
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 16, 2011
+.Dd April 10, 2011
.Dt PORTMASTER 8
.Os
.Sh NAME
@@ -61,6 +61,7 @@ This is a change from pre-version-2.3 be
.Pp
.Nm
.Op Common Flags
+.Op Fl -update-if-newer
.Ar Multiple full names or paths from /usr/ports or /var/db/pkg,
and/or multiple globs from /var/db/pkg
.Nm
@@ -109,6 +110,7 @@ and/or multiple globs from /var/db/pkg
.Fl -clean-packages
.Nm
.Op Fl n|y
+.Op Fl -index|-index-only
.Op Fl v
.Fl -check-depends
.Nm
@@ -391,6 +393,9 @@ requirements.
.It Fl -delete-build-only
delete ports that are build-only dependencies after a successful run,
only if installed this run
+.It Fl -update-if-newer
+(only for multiple ports listed on the command line)
+do not rebuild/reinstall if the installed version is up to date
.It Fl P|--packages
use packages, but build port if not available
.It Fl PP|--packages-only
@@ -656,6 +661,11 @@ These files will be read by the parent
.Nm
process, and all variables
in them will be exported.
+If a
+.Pa portmaster.rc
+file is placed in the same directory as the
+.Nm
+script itself, it will be read as described above.
.Pp
.It Pa /var/db/pkg/*/+IGNOREME
If this file exists for a port that is already installed,
Modified: user/dougb/portmaster/files/zsh-completions
==============================================================================
--- user/dougb/portmaster/files/zsh-completions Mon Apr 11 01:43:59 2011 (r220532)
+++ user/dougb/portmaster/files/zsh-completions Mon Apr 11 03:12:10 2011 (r220533)
@@ -31,6 +31,7 @@ _arguments -A "-*" : \
"--index-first[use the INDEX for status, but double-check with the port]" \
"--index-only[do not try to use /usr/ports]" \
"--delete-build-only[delete ports that are build-only dependencies after a successful run]" \
+ "--update-if-newer[(only for multiple ports) do not rebuild if installed version is up to date]" \
{-P,--packages}"[use packages, but build port if not available]" \
{-PP,--packages-only}"[fail if no package is available]" \
"--packages-build[use packages for all build dependencies]" \
More information about the svn-src-user
mailing list