-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathmpkg.1
More file actions
51 lines (50 loc) · 1.41 KB
/
Copy pathmpkg.1
File metadata and controls
51 lines (50 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.TH mpkg 1
'''
.SH NAME
\fBmpkg\fR \- system package manager for packages in PAC format
'''
.SH SYNOPSIS
\fBmpkg\fR \fBdeploy\fR [\fIgroup\fB:\fR]\fIname\fR \
\fIpackage.pac\fR
.P
\fBmpkg\fR \fBremove\fR [\fIgroup\fB:\fR]\fIname\fR
.P
\fBmpkg\fR \fBlist\fR [\fIgroup\fB:\fR]\fIname\fR
'''
.SH DESCRIPTION
\fBmpkg\fR is a specialized tool for unpacking PAC archives onto the local
filesystem in a way that can be undone. To achive that, \fBmpkg deploy\fR
saves a list of files about to be unpacked in a pre-defined location,
which both \fBmpkg remove\fR and \fBmpkg list\fR use later.
'''
.SH CONFIGURATION
While deploying, \fBmpkg\fR checks that the package being deployed follows
local policy, in that the files are only deploy to allowed locations.
.P
.ni
# Source directory
from /var/cache/packages
# Installation prefix
into /
# Paths within the package to install or skip
pass bin
pass lib
skip man
# Different package group, packages here would be named opt:name
group opt
from /var/cache/packages/opt
into /opt
# pass everything
.fi
.P
Paths that are neither allowed nor skipped are disallowed.
\fBmpkg\fR will refuse to deploy a package containing disallowed paths.
'''
.SH FILES
.IP "\fB/base/etc/packages\fR" 4
Configuration file.
.IP "\fB/var/base/mpkg/\fR[\fIgroup\fB/\fR]\fIname\fB.list\fR" 4
Saved file list for [\fIgroup\fB:\fR]\fIname\fR.
'''
.SH SEE ALSO
\fBmpac\fR(1).