Blame
Date:
Mon Mar 6 21:47:44 2017 UTC
Message:
Take care of removed /etc/pkg.conf (thuban patch)
01
2016-10-19
dev1
SNAPS
02
2016-10-19
dev1
Frédéric Galusik
03
2016-10-19
dev1
%%mtime(%m/%d/%Y)
04
2016-10-19
dev1
05
2016-10-19
dev1
%!target: man
06
2016-10-19
dev1
%!encoding: utf-8
07
2016-10-19
dev1
%!outfile: snaps.1
08
2016-10-19
dev1
09
2016-10-19
dev1
10
2016-10-19
dev1
= NOM =[nom]
11
2016-10-19
dev1
12
2016-10-19
dev1
SNAPS - An OpenBSD admin utility to upgrade to last -current base snapshot.
13
2016-10-19
dev1
14
2016-10-19
dev1
15
2016-10-19
dev1
= SYNOPSIS =[synopsis]
16
2016-10-19
dev1
17
2016-10-19
dev1
**snaps** [//options//]
18
2016-10-19
dev1
19
2016-10-19
dev1
20
2016-10-19
dev1
= DESCRIPTION =[description]
21
2016-10-19
dev1
22
2016-10-19
dev1
**snaps** will help you to download the needed **bsd.rd**, check it and move it to
23
2016-10-19
dev1
the right place before rebooting. A backup of your last bsd.rd is made. All
24
2016-10-19
dev1
steps are verbose. It can be run with only the base system. Nevertheless if you
25
2016-10-19
dev1
install //curl// from packages, it will check your //$MIRROR// build date of
26
2016-10-19
dev1
base and packages. You will be able to decide if you want to do the update right now
27
2016-10-19
dev1
or wait for the synchronicity of the two directories.
28
2016-10-19
dev1
29
2016-10-19
dev1
30
2016-10-19
dev1
= GENERAL OPTIONS =[general-options]
31
2016-10-19
dev1
32
2016-10-19
dev1
: **-h**
33
2016-10-19
dev1
Print help and exit. It also print the content of the
34
2016-10-19
dev1
//$MIRROR// variable based upon ///etc/pkg.conf// for a quick look.
35
2016-10-19
dev1
36
2016-10-19
dev1
: **-g**
37
2016-10-19
dev1
Fetch and check (SHA256 and signify) bsd.rd from //$MIRROR// (no need
38
2016-10-19
dev1
to be root for that one).
39
2016-10-19
dev1
40
2016-10-19
dev1
: **-G**
41
2016-10-19
dev1
Fetch, check bsd.rd from //$MIRROR// then, move it to the right place,
42
2016-10-19
dev1
backup your last bsd.rd, print some reminders and reboot.
43
2016-10-19
dev1
44
2016-10-19
dev1
: **-p**
45
2016-10-19
dev1
Update your //-current// port tree.
46
2016-10-19
dev1
47
2016-10-19
dev1
: **-l**
48
2016-10-19
dev1
List date and download places of the 3 last //-G// from
49
2016-10-19
dev1
/var/log/snaps.log.
50
2016-10-19
dev1
51
2016-10-19
dev1
: **-u**
52
2016-10-19
dev1
Upgrade snaps to the last release.
53
2016-10-19
dev1
54
2016-10-19
dev1
55
2016-10-19
dev1
= COMMAND LINE USAGE =[command-line-usage]
56
2016-10-19
dev1
57
2016-10-19
dev1
Here are some usage examples:
58
2016-10-19
dev1
59
2016-10-19
dev1
: **MIRROR=http://another/openbsd/mirror doas snaps -G**
60
2016-10-19
dev1
Bypass your ///etc/pkg.conf// file and manually setup the //$MIRROR//
61
2016-10-19
dev1
variable. Note that you just have to indicate the root of the //$MIRROR//.
62
2016-10-19
dev1
This one have to follow the OpenBSD directory layout. Moreover, in order to play
63
2016-10-19
dev1
with //MIRROR//, **doas** have to be setup with the //keepenv// option.
64
2016-10-19
dev1
65
2016-10-19
dev1
66
2016-10-19
dev1
= WEBSITE =[website]
67
2016-10-19
dev1
68
2016-10-19
dev1
https://framagit.org/fredg/snaps
69
2016-10-19
dev1
70
2016-10-19
dev1
71
2016-10-19
dev1
= AUTHOR =[author]
72
2016-10-19
dev1
73
2016-10-19
dev1
Frédéric Galusik
74
2016-10-19
dev1
75
2016-10-19
dev1
76
2016-10-19
dev1
= SEE ALSO =[see-also]
77
2016-10-19
dev1
78
2016-10-19
dev1
**sysmerge**(8), **pkg_add**(1)
Frédéric Galusik