---
name: safecat
version: 1.13
origin: sysutils/safecat
comment: Safely write data to maildir directory
arch: freebsd:9:x86:64
www: http://www.jeenyus.net/linux/software/safecat.html
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [BSD]
flatsize: 29848
desc: |
  From the safecat README:

    safecat is an implementation of D. J. Bernstein's maildir algorithm.
    It can be used to write mail messages to a qmail-style maildir, or to
    write data to a "spool" directory reliably. There are no lockfiles with
    safecat, and nothing is left to chance. If safecat returns a successful
    exit status, then you can be (practically) 100%25 sure your data is
    safely committed to disk. Further, if data is written to a directory
    using safecat (or other implementations of the maildir algorithm),
    then every file in that directory is guaranteed to be complete. If
    safecat fails to write all of the data, there will be no file at all
    in the destination directory.

    Of course, you know that such a thing cannot be: between UNIX and
    the different hardware options available, a 100%25 guarantee is not
    possible. However, safecat takes every precaution possible in writing
    your data.

  Author: Len Budney <lbudney@pobox.com>
  WWW: http://www.jeenyus.net/linux/software/safecat.html
categories: [sysutils, mail]
files:
  /usr/local/bin/maildir: 0f6d2a0cfd598d2547e36347f307e243610f9cbd9d3d2d633922c14a78381d90
  /usr/local/bin/safecat: 865197069a4bcfd1c5a0b9a80c23ad118a71566940772ed50a8dfaf583ef35fe
  /usr/local/man/man1/maildir.1.gz: f4d1b2012ab872f6c8cea144265f925f72d8ec08d26c2487908b67b37eac26bf
  /usr/local/man/man1/safecat.1.gz: ab565addb0a49e1173f80303b109e03f7d9e8a5c37e06f950e5245014127bfa0
  /usr/local/share/licenses/safecat-1.13/BSD: 7e8214deaa467375aa1e1c0c30f882d16eea9fbea4845eea1503b62f4a57cb85
  /usr/local/share/licenses/safecat-1.13/LICENSE: d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f7379923b336209fd77b
  /usr/local/share/licenses/safecat-1.13/catalog.mk: cb82c8fb712bff48afa8fc01a65ab8f7700153064b7b88ae1cfbb1d7319b56ad
directories:
  /usr/local/share/licenses/safecat-1.13/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
