#51 missing options in pkgtool --help

open
nobody
IPS (7)
5
2012-12-12
2012-05-30
No

Missing the following as documented in the man page
Options controlling the build:
--update
Update packages that are already installed. The
default bevavior is to skip them.

--update-if-newer
Update packages that are already installed only if the
version in the spec file (Version tag) is newer than
the version of the package. The default bevavior is to
skip packages that are already installed.

[just noticed the typos as well: 'bevavior']

pkgtool --version
pkgtool version 1.3.104
INFO: No spec files specified: nothing to do.
dev@devzone:~$ pkgtool --help
pkgtool [options] [command] specs...

Options:

General:

-v|--verbose:
Increase verbosity: the more -v's the more diag messages.

-q|--quiet:
Silent operation.

--halt-on-errors:
Halt on the first build error, do not attempt to continue.

--rcfile=file
Read default configuration from file.
Default: ./.pkgtoolrc, ~/.pkgtoolrc

--norc
Ignore the default rc files.

--dumprc
Print the current configuration in a format suitable
for an rc file, then exit.

--download

Automatically download sources if not found in the local
search paths (requires wget) Specify your proxy servers
using the http_proxy and ftp_proxy environment variables.

--download-to=dir

Save downloaded files in dir. By default, files are
downloaded to /home/dev/packages/SOURCES. Implies --download.

--interactive [EXPERIMENTAL]

Interactive mode: pkgbuild/rpm output is displayed on
the standard output; pkgbuild is executed in interactive
mode which makes it start a subshell if the build fails

--ips

Install IPS packages by default to local repository
http://localhost:80/

--svr4

Install SVr4 packages by default.

--nopkg

Don't install any packages, simply copy the files.
WARNING: This may break your system!

--rmlog

Automatically remove the log file with each build

--dry-run

(Download mode) test if the Source urls in the spec
file(s) point to existing files, but do not download them.

--sourcepkg / --nosourcepkg

Create / do not create a source package.

Directories and search paths:

--specdirs=path, --spec=path:
Specify a colon separated list of directories to search
for spec files in

--tarballdirs=path, --tarballs=path, --tar=path:
Specify a colon separated list of directories to search
for tarballs in

--sourcedirs=path, --src=path:
Specify a colon separated list of directories to search
for additional source files in

--patchdirs=path, --patches=path, --patch=path
Specify a colon separated list of directories to search
for patches (source diffs) in

--topdir=dir
Use dir as the rpm base directory (aka %topdir, where the
SPECS, SOURCES, RPMS, SRPMS, BUILD directories are found).
Default: /home/dev/packages

--logdir=dir, --log=dir:
Write build logs to dir.

Options controlling the build:

--nodeps, --deps:
Ignore/verify dependencies before building a component.
Default: --deps

--autodeps:
Attempt to find spec files for missing dependencies
in spec file search path (see --specdirs) and add them
to the build as needed.

--with foo, --without foo, --with-foo, --without-foo
This option is passed on to rpm/pkgbuild as is. Use it
for enabling/disabling conditional build options.

--target=arch
This option is passed on to rpm/pkgbuild as is.

--pkgformat={filesystem|fs|datastream|ds}
Create Solaris packages in filesystem or datastream format.
This option is ignored when running on Linux.
Default: filesystem

--nightly, --nonightly:
Suffix/Don't suffix the rpm Release with the current date.
Default: --nonightly; See also: --date-format

--date-format=format, --date=format:
Use "date +format" to generate the date suffix for
the nightly builds. Default: %y%m%d

Reporting:

--notify, --nonotify

Send desktop notifications when the build of a spec
file passes or fails. Default: --notify

--mail-errors-to=address

Send the last few lines of the build log to address
if the build fails

--report=file

Write a build report to file (in HTML format)

--prodname=string

The name of the product as appears in the build report

--full-path:
Print the full path to the package when running install-order

Commands:

build-install Build and install the specs listed on the command line.
The build order is determined by the dependencies
defined in the spec files.

build Same as build-install

build-only Build the specs listed on the command line, don't install
them.

prep run the %prep section of the spec files listed on the
command line

spkg create source package(s) only (no build done)

publish-pkgs publish the previously build packages to an IPS repository

build-order Print the build order of the specs listed on the
command line.

install-order Print the rpms in the order they should be installed

install-pkgs install the packages defined by the spec files listed
on the command line from the PKGS directory. No build
is done. Useful to install packages previously built
using the build-only command, or built manually using
pkgbuild.

uninstall-pkgs Uninstall all packages defined in the spec files listed
on the command line. (runs rpm --erase --nodeps on
Linux, pkgrm on Solaris)

download Download the source files from the URLs specified in
the spec files listed on the command line. Source
files found in the local search paths will not be
downloaded. (See --tarballdirs, --sourcedirs,
--download-to)

specs...

List of spec files to build. Either full path names or names of spec
files in the spec directory search path.

Environment variables:

PKGBUILD_IPS_SERVER - specify the URL for the IPS server to publish
packages to. Example: http://myserver:9000/

dev@devzone:~$

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks