1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/security/kc24/pkg-message
2019-08-14 12:16:12 +00:00

47 lines
885 B
Plaintext

[
{ type: install
message: <<EOM
IMPORTANT:
kc v2.4 has introduced a new database file format that is incompatible
with the older one (<2.4).
Dump all your data to files before upgrading to version 2.4 and re-import:
1) Dump the old database with the old version of kc:
$ kc -k ~/.kc/default.kcd
Password:
<example_chain% > dump kcdump
Dump OK
<example_chain% > quit
$ ls kcdump.xml
kcdump.xml
2) Make a backup, just in case
$ mv ~/.kc/default.kcd ~/.kc/default.kcd-backup
3) Upgrade kc to version 2.4
4) Create a new, empty database file and import the dump
$ kc
Creating '~/.kc/default.kcd'
Using '~/.kc/default.kcd' database.
New password (empty to cancel):
New password again (empty to cancel):
<default% > importxml -k kcdump.xml
Import OK
<example_chain% > write
Save OK
<example_chain% > quit
5) Test if the import is ok
6) Remove the dump
rm -P kcdump.xml
EOM
}
]