mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 23:00:30 -04:00
- thanks danfe@ for the upstreamed patch enabling this - portlint petting and tidy Makefile alignment - teach pkg-message how to run a simple server Approved by: jrm (mentor) Obtained from: danfe Differential Revision: https://reviews.freebsd.org/D19429
12 lines
406 B
Text
12 lines
406 B
Text
To run a server, copy any files you wish to share into /var/db/libswift,
|
|
ensure that it is read and writable by the appropriate user, and
|
|
start the libswift daemon:
|
|
|
|
# service libswift onestart
|
|
|
|
To retrieve a file, use:
|
|
|
|
$ libswift --tracker 127.0.0.1:7777 --hash ....
|
|
|
|
To view the root hashes, use `grep root *.mbinmap` in the share dir once
|
|
hashing is complete. For large files this may take some time.
|