# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 75428 2011-01-25 00:25:36Z ryandesign@macports.org $

PortSystem          1.0

name                tarsnap
version             1.0.28
categories          sysutils
platforms           darwin
maintainers         gmail.com:gunnar.helgason
license             custom
homepage            http://www.tarsnap.com/
master_sites        https://www.tarsnap.com/download/

description \
    Online encrypted backup service (client)

long_description \
    Tarsnap is an online encrypted backup service.  It presents a tar-like\
    command-line interface, but stores data online rather than locally\;\
    using ideas taken from the author's FreeBSD Update and Portsnap\
    utilities, it maximizes performance by recognizing duplicate data and\
    only storing it once, and cryptographically encrypts and signs archives\
    using locally-held keys in order to guarantee that nobody without access\
    to the key file (including the author) can read or modify archives.

checksums           sha1    b5950e9a5d8767fe6e3aacb796d33bb87395754a \
                    rmd160  daf56345961be6abb743688f741b05e587bccc83

distname             ${name}-autoconf-${version}
extract.suffix       .tgz

depends_lib         port:zlib \
                    port:openssl \
                    port:liblzma \
                    port:bzip2

configure.args      --enable-sse2

notes "
If you have never used tarsnap before, you will need to create an account\
with the tarsnap service and deposit money into the account before you\
can start using tarsnap; see

\thttps://www.tarsnap.com/gettingstarted.html

for details.

Once you have a tarsnap account you will need to create a key file using\
the tarsnap-keygen utility before you start storing archives; this key\
file MUST BE KEPT IN A SAFE LOCATION since you will not be able to read\
your backups without it.
"
