You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
Updates to help and port(1) man page
git-svn-id: https://svn.macports.org/repository/macports/trunk/base@18786 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: ChangeLog,v 1.39 2006/07/28 18:30:11 jberry Exp $
|
||||
# $Id: ChangeLog,v 1.40 2006/07/28 19:58:17 jberry Exp $
|
||||
#
|
||||
# This is a log of major user-visible changes in each release
|
||||
#
|
||||
@@ -14,18 +14,23 @@ Release 1.3.1 (unreleased):
|
||||
can really deal with patch files even if the main fetch method is CVS or
|
||||
SVN. (pguyot)
|
||||
|
||||
- Added a new test case for the previous bug. (pguyot)
|
||||
|
||||
- Added ruby gems support for ruby group. (rcavanaugh & pguyot)
|
||||
|
||||
- Trace now forbids creation of directories outside the sandbox. (pguyot)
|
||||
|
||||
- Fixed a bug, introduced in 1.3, that prevented -f selfupdate from forcing
|
||||
a build of the fetched sources. (jberry)
|
||||
|
||||
- Fixed a bug, introduced in 1.3, that prevented -u uninstall from working.
|
||||
(jberry)
|
||||
|
||||
- Added a new test case for the previous bug. (pguyot)
|
||||
|
||||
- Added ruby gems support for ruby group. (rcavanaugh & pguyot)
|
||||
|
||||
- Trace now forbids creation of directories outside the sandbox. (pguyot)
|
||||
|
||||
- Additions to man page for port(1):
|
||||
* new port options -F, -i, -x, -p
|
||||
* mention interactive and batch modes
|
||||
* document extensions to info command.
|
||||
|
||||
Release 1.3 (27-Jul-2006):
|
||||
|
||||
- Fixed a bug where only the first word of configuration settings (in
|
||||
|
||||
+2
-12
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: TODO.txt,v 1.7 2006/07/25 16:19:39 jberry Exp $
|
||||
# $Id: TODO.txt,v 1.8 2006/07/28 19:58:18 jberry Exp $
|
||||
#
|
||||
# DarwinPorts TODO List
|
||||
#
|
||||
@@ -7,19 +7,9 @@
|
||||
# revisions.
|
||||
#
|
||||
|
||||
Version 1.2:
|
||||
Outstanding ToDos:
|
||||
|
||||
(these may make it into 1.2)
|
||||
- Enhance port(1) man page with stuff that didn't make it into the 1.2 release (Juan, James & Joe)
|
||||
- Add to portfile(7) manpage docs for the new startupitem keys. (idem)
|
||||
(James added some suggested text to bug #4905)
|
||||
- Add to ports.conf(5) manpage docs on new startupitem_type option. (idem)
|
||||
(James added some suggested text to bug #4905)
|
||||
- Maybe: cvs/svn fetch w/ patches: http://bugzilla.opendarwin.org/show_bug.cgi?id=5269 (yeled?)
|
||||
|
||||
Version 1.3:
|
||||
|
||||
- Add new global options -p, -x, -F, -i to port(1) man page.
|
||||
- Document interactive/batch mode in port(1) man page.
|
||||
- Document extended info command in port(1) man page.
|
||||
- Check whether stuff listed above for 1.2 got documented.
|
||||
+29
-2
@@ -36,8 +36,9 @@
|
||||
.Ar ports
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl vdqfonRusbckt
|
||||
.Op Fl vdqfonRusbckixpt
|
||||
.Op Fl D Ar portdir
|
||||
.Op Fl F Ar cmdfile
|
||||
.Ar action
|
||||
.Op Ar actionflags
|
||||
.Op Oo Ar portname | pseudo-portname | port-url Oc Oo Ar @version Oc Oo +/-variant ... Oc ... Oo option=value ... Oc
|
||||
@@ -53,7 +54,7 @@ or
|
||||
.Ar portname
|
||||
is specified, the current working directory is assumed; if no
|
||||
.Ar action
|
||||
is specified, the usage is displayed.
|
||||
is specified, the port command enters interactive mode in which commands are read via stdin. Batch files of commands may be specified via batch files .
|
||||
Port
|
||||
.Ar options
|
||||
are passed as key=value pairs and take precedence over individual port options and system-wide settings.
|
||||
@@ -219,8 +220,19 @@ keep mode (don't autoclean after install)
|
||||
.It Fl D
|
||||
specify
|
||||
.Ar portdir
|
||||
.It Fl F
|
||||
Read and process the
|
||||
.Ar file
|
||||
of commands specified by the argument. If the argument is '-', then read commands from stdin. If the option is given multiple times, then multiple files will be read.
|
||||
.It Fl i
|
||||
Read commands from stdin. Short for -F -
|
||||
.It Fl x
|
||||
In batch and interactive mode, exit on the first error encountered. Otherwise, errors during batch execution are simply reported.
|
||||
.It Fl p
|
||||
Despite any errors encountered, proceed to process multiple ports and commands.
|
||||
.It Fl t
|
||||
enable trace mode debug facilities on platforms that support it (MacOS X). This feature is two-folded. It consists in automatically detecting and reporting undeclared dependencies based on what files the port reads or what programs the port executes. In verbose mode, it will also report unused dependencies for each stage of the port installation. It also consists in forbidding and reporting file creation and file writes outside allowed directories (temporary directories and ${worksrcpath}).
|
||||
|
||||
.El
|
||||
.Sh USER TARGETS
|
||||
Targets most commonly used by regular DarwinPorts users are:
|
||||
@@ -232,6 +244,21 @@ Search for an available port whose name matches a regular expression. For exampl
|
||||
.Ss info
|
||||
Displays all the meta-information available for
|
||||
.Ar portname .
|
||||
Specific meta-information may be requested through an option such as
|
||||
.Fl --maintainer
|
||||
or
|
||||
.Fl --category
|
||||
(recognized field names are those from the portindex). If the global option
|
||||
.Fl -q
|
||||
is in effect, the meta-info fields will not be labeled; if the option
|
||||
.Fl --line
|
||||
is provided, all such data will be consolodated into a single line per port, suitable for processing in a pipe of commands.
|
||||
For example:
|
||||
.Pp
|
||||
.Dl "port info vim"
|
||||
.Dl "port info --category --name apache*"
|
||||
.Dl "port -q info --category --name --version category:java"
|
||||
.Dl "port info --line --category --name all"
|
||||
.Ss variants
|
||||
Lists the build variants available for
|
||||
.Ar portname .
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@
|
||||
#\
|
||||
exec @TCLSH@ "$0" "$@"
|
||||
# port.tcl
|
||||
# $Id: port.tcl,v 1.161 2006/07/28 18:15:32 jberry Exp $
|
||||
# $Id: port.tcl,v 1.162 2006/07/28 19:58:18 jberry Exp $
|
||||
#
|
||||
# Copyright (c) 2002-2006 DarwinPorts organization
|
||||
# Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org>
|
||||
@@ -124,7 +124,7 @@ proc ui_channels {priority} {
|
||||
# Standard procedures
|
||||
proc print_usage {args} {
|
||||
global cmdname
|
||||
set syntax { [-bcdfFiknopqRstuxv] [-D portdir] [-F cmdfile] action [privopts] [actionflags]
|
||||
set syntax { [-bcdfiknopqRstuvx] [-D portdir] [-F cmdfile] action [privopts] [actionflags]
|
||||
[[portname|pseudo-portname|port-url] [@version] [+-variant]... [option=value]...]...
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ proc print_help {args} {
|
||||
global cmdname
|
||||
global action_array
|
||||
|
||||
set syntax { [-bcdfFiknopqRstuxv] [-D portdir] [-F cmdfile] action [privopts] [actionflags]
|
||||
set syntax { [-bcdfiknopqRstuvx] [-D portdir] [-F cmdfile] action [privopts] [actionflags]
|
||||
[[portname|pseudo-portname|port-url] [@version] [+-variant]... [option=value]...]...
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user