---
name: boxbackup-devel
version: 0.11.r2979
origin: sysutils/boxbackup-devel
comment: Open source, completely automatic on-line backup system for Unix
arch: freebsd:9:x86:64
www: http://www.boxbackup.org/
maintainer: james@netinertia.co.uk
prefix: /usr/local
licenselogic: or
licenses:
- GPLv2
- BSD
flatsize: 5493728
desc: "This is a port of Box Backup, an online backup daemon \n\nThe backup daemon,
  bbackupd, runs on all machines to be backed up. The\nstore server daemon, bbstored
  runs on a central server. Data is sent\nto the store server, which stores all data
  on local filesystems, that\nis, only on local hard drives. Tape or other archive
  media is not\nused.\n\nThe system is designed to be easy to set up and run, and
  cheap to use.\nOnce set up, there should be no need for user or administrative\nintervention,
  apart from usual system maintenance.\n\nWWW: http://www.boxbackup.org/\n"
deps:
  perl: {origin: lang/perl5.14, version: 5.14.4}
categories:
- sysutils
users:
- _bbstored
groups:
- _bbstored
options: {SERVER: on, GNUREADLINE: off, CLIENT: on}
files:
  /usr/local/etc/periodic/monthly/999.boxbackup: 2576764a5e872caee93fc625f0c23321f9e61771ee70c7754a785219a6f98517
  /usr/local/etc/rc.d/bbackupd: 1128b4a7565e0ffaf4b625bd00057b3e5b392d3a45dabdd995d79d60bafb90e9
  /usr/local/etc/rc.d/bbstored: 9ef550c7fc174a7e875589b92d8d27d6027a5950859b1b6cd8bce2d3997f06f5
  /usr/local/man/man5/bbackupd.conf.5.gz: c11ee642c061dd53b60bce4533844045f926a735204a7f0d29e6358ab3f1eb0b
  /usr/local/man/man5/bbstored.conf.5.gz: e0c30ea892c6cee15df2adc3d3883f6f0f392c205a07d555508ad9c8c6871790
  /usr/local/man/man5/raidfile.conf.5.gz: 3c90fedf3edb92b69006bfbae9e9032fd8fb0b603626005bca3448fec883214e
  /usr/local/man/man8/bbackupctl.8.gz: 85a16f644b929b9f0e997b30a774122f5ff172f500c0eae2a13a9fdce3779668
  /usr/local/man/man8/bbackupd-config.8.gz: eb3dc3cd15ed32d61d9d7707c24a36a2aab966c24db27b95ec60b5c0da2ac9e7
  /usr/local/man/man8/bbackupd.8.gz: 76e5542b655465b47f3a803e2e722ca247d344f139af0d124970834086f91cad
  /usr/local/man/man8/bbackupquery.8.gz: 9dbfd283f2c22843302b0de94ab9752bacb48f86dc31a97cdbec2470c18075c5
  /usr/local/man/man8/bbstoreaccounts.8.gz: 3438320aa1fa7605769566cbe60aecbe3c3296699f40d1870132f6b1631541ae
  /usr/local/man/man8/bbstored-certs.8.gz: 1c0376217818f7589241c035ec2032435bea2dbd571ef37e7e5c444431e93919
  /usr/local/man/man8/bbstored-config.8.gz: 95eb5074dc86dbfd944499ef7956b8a3677772fdfca4cc00b2f37f313f9ba038
  /usr/local/man/man8/bbstored.8.gz: 827f7d21cab2a4b96f563c183279c4518f67de48d27ca8429b32e9738f80c249
  /usr/local/man/man8/raidfile-config.8.gz: 0679a99993f996633dc68945233935505dfc767b376236f781c3fc18b76610d6
  /usr/local/sbin/bbackupctl: bf9e1b397fd1eef185d250b4dc55553038ed00a779f38dd1de869286c52811a1
  /usr/local/sbin/bbackupd: 96d43005b031e7ea1bb32fa065786e4c03b37d0bea22653d023fcff08c580d2d
  /usr/local/sbin/bbackupd-config: 92ee94733e64eca07d75730361353af3c0093a0fb348eff46bc755fdb0f92b3d
  /usr/local/sbin/bbackupquery: 143afd91ef988a1607e60ee45aae735f7c7a4244bc092e448c3c3415bddba6df
  /usr/local/sbin/bbstoreaccounts: 9ecd3c076f62d5504487d367665fe162e69050c432a9f8d17d9fd8f9779b4a4b
  /usr/local/sbin/bbstored: fb18008457967382ebf937581b83f5aa1a5bee449115eed9dcda3eddc064d909
  /usr/local/sbin/bbstored-certs: fe63c1a1af51355e728f475a58cf06d8d953cd6bea3c242141fd59a0f80b769a
  /usr/local/sbin/bbstored-config: 87a9c8e95b2ee2c70bf524f1dd4bff5104b6b7465305f6270d26af17feb54669
  /usr/local/sbin/raidfile-config: f598498dc332d277fe9cb6eef663b2d2228e8463665012e863690a72beacbe63
  /usr/local/share/licenses/boxbackup-devel-0.11.r2979/BSD: 85e7a53b5e2d3e350e2d084fed2f94b7f63005f8e1168740e1e84aa9fa5d48ce
  /usr/local/share/licenses/boxbackup-devel-0.11.r2979/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/boxbackup-devel-0.11.r2979/LICENSE: fff7d7c71de85c047ed90fbc413341a95b772020d9fba6670b90abd03d41f7c7
  /usr/local/share/licenses/boxbackup-devel-0.11.r2979/catalog.mk: 4a7a4b330d33d4c9db0361a4b6fee5dc2e661eeba6657b94455081c9f912b6a5
directories:
  /usr/local/share/licenses/boxbackup-devel-0.11.r2979/: n
  /usr/local/share/licenses/: y
  /usr/local/etc/periodic/monthly/: y
  /usr/local/etc/periodic/: y
  /usr/local/etc/box/bbstored/: y
  /usr/local/etc/box/bbackupd/: y
  /usr/local/etc/box/: y
scripts:
  post-install: |
    echo "===> Creating users and/or groups."
    if ! /usr/sbin/pw groupshow _bbstored >/dev/null 2>&1; then  echo "Creating group '_bbstored' with gid '505'.";  /usr/sbin/pw groupadd _bbstored -g 505; else echo "Using existing group '_bbstored'."; fi
    if ! /usr/sbin/pw usershow _bbstored >/dev/null 2>&1; then  echo "Creating user '_bbstored' with uid '505'.";  /usr/sbin/pw useradd _bbstored -u 505 -g 505  -c "Box Backup Store Daemon" -d /nonexistent -s /usr/sbin/nologin;  else echo "Using existing user '_bbstored'."; fi
    mkdir -p -m 0700 /usr/local/etc/box/bbackupd
    mkdir -p -m 0700 /usr/local/etc/box/bbstored
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    if /usr/sbin/pw usershow _bbstored >/dev/null 2>&1; then  echo "==> You should manually remove the \"_bbstored\" user. "; fi
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
message: |2

  To run bbackupd at startup, add bbackupd_enable="YES" to /etc/rc.conf
  Please see http://www.boxbackup.org/client.html for client configuration
  options

  To run bbstored at startup, add bbstored_enable="YES" to /etc/rc.conf
  Please see http://www.boxbackup.org/server.html for server configuration
  options
