]> pd.if.org Git - zpackage/blob - doc/zpm-packagehash.8
47601981aa1515beb45e80f25013dfedcda23fd9
[zpackage] / doc / zpm-packagehash.8
1 .TH zpm-packagehash 8 2019-02-14 "ZPM 0.3"
2 .SH NAME
3 zpm-packagehash \- run packagehash
4 .SH SYNOPSIS
5                         case 'f': dbfile = optarg; break;
6                         case 's': set = 1; break;
7                         case 'S': clear = 1; break;
8                         case 'c': check = 1; break;
9                         case 'q': quiet = 1; break;
10                         case 'e': showcurrent = 1; break;
11 .B zpm packagehash
12 [
13 .BI -f " pkgfile"
14 ]
15 [
16 .B -sScqe
17 ]
18 .RI [ package ] 
19 .SH DESCRIPTION
20 \fBzpm-packagehash\fR
21 calculates, prints, or sets the hash of a package.  The package must
22 be specified as a complete package triple.
23 .SH OPTIONS
24 .TP
25 \-f
26 specify the package file to find packages in
27 .TP
28 \-s
29 set the hash after calculating it
30 .TP
31 \-S
32 clear the package hash
33 .TP
34 \-c
35 check the package hash against one given as an additional argument
36 .TP
37 \-q
38 Don't output anything to stdout.
39 .TP
40 \-e
41 Show the current package hash, rather than the calculated one.
42 .SH EXAMPLES
43 .TP
44 zpm packagehash -s -f foo-1.0-1.zpm foo-1.0-1
45 Calculate and set the package hash for the foo-1.0-1 package.
46 .SH EXIT STATUS
47 0 on success non zero on failure
48 .SH FILES
49 /var/lib/zpm/local.db
50 .SH ENVIRONMENT
51 ZPMDB
52 .SH AUTHOR
53 Nathan Wagner
54 .SH SEE ALSO
55 .BR zpm (8)