---
name: op
version: 1.32
origin: security/op
comment: Controlled privilege escalation tool
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: ehaupt@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 82683
desc: |
  The op tool provides a flexible means for system administrators to grant access
  to certain root operations without having to give them full superuser
  privileges. Different sets of users may access different operations, and the
  security-related aspects of each operation can be carefully controlled.
categories: [security]
files:
  /usr/local/bin/op: 07c6b01c74bbb36426a5570431380cfb50c4ffc19263dc8d1448037da4f9c377
  /usr/local/etc/op.conf.sample: e5cf06723f4a713bc52e915d7886a977a39bc142affcebbdcb0b067ae0a467d3
  /usr/local/man/man1/op.1.gz: e8b131197cc5a4de7bfb95fac42fb7a3e577ea51dee103e9f019b9a76f0c902e
directories:
  /usr/local/etc/op.d/: y
scripts:
  post-install: |
    [ -f /usr/local/etc/op.conf ] || cp /usr/local/etc/op.conf.sample /usr/local/etc/op.conf
  pre-deinstall: |
    if cmp -s /usr/local/etc/op.conf /usr/local/etc/op.conf.sample; then rm -f /usr/local/etc/op.conf; fi
