Build Package
doPackage
p
Z
Do not gzip the package file
n
Print the name of the packaged file.
[descfile] [descfile2]
Creates a PEAR package from its description file (usually called
package.xml). If a second packagefile is passed in, then
the packager will check to make sure that one is a package.xml
version 1.0, and the other is a package.xml version 2.0. The
package.xml version 1.0 will be saved as "package.xml" in the archive,
and the other as "package2.xml" in the archive"
Validate Package Consistency
doPackageValidate
pv
Run a "cvs diff" for all files in a package
doCvsDiff
cd
q
Be quiet
Q
Be really quiet
D
Diff against revision of DATE
DATE
R
Diff against tag for package release REL
REL
r
Diff against revision REV
REV
c
Generate context diff
u
Generate unified diff
i
Ignore case, consider upper- and lower-case letters equivalent
b
Ignore changes in amount of white space
B
Ignore changes that insert or delete blank lines
Report only whether the files differ, no details
n
Don't do anything, just pretend
<package.xml>
Compares all the files in a package. Without any options, this
command will compare the current code with the last checked-in code.
Using the -r or -R option you may compare the current code with that
of a specific release.
Set CVS Release Tag
doCvsTag
ct
q
Be quiet
Q
Be really quiet
F
Move (slide) tag if it exists
d
Remove tag
n
Don't do anything, just pretend
<package.xml>
Sets a CVS tag on all files in a package. Use this command after you have
packaged a distribution tarball with the "package" command to tag what
revisions of what files were in that release. If need to fix something
after running cvstag once, but before the tarball is released to the public,
use the "slide" option to move the release tag.
Show package dependencies
doPackageDependencies
pd
List all dependencies the package has.
Sign a package distribution file
doSign
si
<package-file>
Signs a package distribution (.tar or .tgz) file with GnuPG.
Builds an RPM spec file from a PEAR package
doMakeRPM
rpm
t
FILE
Use FILE as RPM spec file template
p
FORMAT
Use FORMAT as format string for RPM package name, %s is replaced
by the PEAR package name, defaults to "PEAR::%s".
<package-file>
Creates an RPM .spec file for wrapping a PEAR package inside an RPM
package. Intended to be used from the SPECS directory, with the PEAR
package tarball in the SOURCES directory:
$ pear makerpm ../SOURCES/Net_Socket-1.0.tgz
Wrote RPM spec file PEAR::Net_Geo-1.0.spec
$ rpm -bb PEAR::Net_Socket-1.0.spec
...
Wrote: /usr/src/redhat/RPMS/i386/PEAR::Net_Socket-1.0-1.i386.rpm
Convert a package.xml 1.0 to package.xml 2.0 format
doConvert
c2
f
do not beautify the filelist.
[descfile] [descfile2]
Converts a package.xml in 1.0 format into a package.xml
in 2.0 format. The new file will be named package2.xml by default,
and package.xml will be used as the old file by default.
This is not the most intelligent conversion, and should only be
used for automated conversion or learning the format.