---
name: jailaudit
version: 1.4
origin: ports-mgmt/jailaudit
comment: Script to generate portaudit reports for jails
arch: freebsd:9:x86:64
www: https://anonsvn.h3q.com/projects/jailaudit/
maintainer: cryx-ports@h3q.com
prefix: /usr/local
licenselogic: single
flatsize: 6308
desc: |
  This port contains a script to generate portaudit reports for jails
  running on a FreeBSD system.

  Normally portaudit just creates reports for the Host-system or the jail
  it is installed in. With a large number of jails running on a system,
  installing and updating portaudit in every jail is time-consuming and
  error-prone. Jailaudit uses the portaudit installed in the Host-system
  to create a report for every jail.

  The reports are appended to the daily security run and can be sent to a
  specific mail address, which allows the Host-system administrator to
  dispatch portaudit reports to the owners of jails, keeping them informed
  about potential security advisories of their installed ports.

  Jailaudit can be used on FreeBSD 5.1 or larger.

  WWW: https://anonsvn.h3q.com/projects/jailaudit/
deps:
  portaudit: {origin: ports-mgmt/portaudit, version: 0.6.0}
categories: [ports-mgmt]
files:
  /usr/local/bin/jailaudit: 637aa951c2af89da26612f7e3b617e8ab3e8db350fbca7e130e6b96f00790fb1
  /usr/local/etc/jailaudit.conf.sample: 82bcdec924741b73a286a2b9ce9d7215abf55198f97a5b8779877cd667605003
  /usr/local/etc/periodic/security/410.jailaudit: ae0971a564a69d4f9a4f01b38080f8bbce4ae5874cb0cd437e08dd05906da271
directories:
  /usr/local/jailaudit/tmp/: y
  /usr/local/jailaudit/reports/: y
  /usr/local/jailaudit/: y
  /usr/local/etc/periodic/security/: y
  /usr/local/etc/periodic/: y
scripts:
  post-install: |
    mkdir -p /usr/local/jailaudit/reports
    mkdir -p /usr/local/jailaudit/tmp
