Add op 1.32, controlled privilege escalation tool

This commit is contained in:
Emanuel Haupt 2008-09-30 14:03:37 +00:00
parent a883eccc84
commit 99207a0b60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221042
5 changed files with 45 additions and 0 deletions

View File

@ -301,6 +301,7 @@
SUBDIR += ocaml-ssl
SUBDIR += oidentd
SUBDIR += oinkmaster
SUBDIR += op
SUBDIR += openbsm
SUBDIR += opencdk
SUBDIR += openct

30
security/op/Makefile Normal file
View File

@ -0,0 +1,30 @@
# New ports collection makefile for: op
# Date created: 30 Sep 2008
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= op
PORTVERSION= 1.32
CATEGORIES= security
MASTER_SITES= http://swapoff.org/files/op/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Controlled privilege escalation tool
GNU_CONFIGURE= yes
MAN1= op.1
post-install:
${MKDIR} ${PREFIX}/etc/op.d
${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf \
${PREFIX}/etc/${PORTNAME}.conf.sample
.if !exists(${PREFIX}/etc/${PORTNAME}.conf)
${INSTALL_DATA} -m 0600 ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc
.endif
.include <bsd.port.mk>

3
security/op/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (op-1.32.tar.gz) = 795b0ffabd305d48288aff46542fe3bf
SHA256 (op-1.32.tar.gz) = 520d330ad7bb038d0719a3ea0304795311de219cf1def8d141097692147d5632
SIZE (op-1.32.tar.gz) = 145682

6
security/op/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
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.
WWW: http://svn.swapoff.org/op/

5
security/op/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
@unexec if cmp -s %D/etc/op.conf %D/etc/op.conf.sample; then rm -f %D/etc/op.conf; fi
etc/op.conf.sample
@exec [ -f %B/op.conf ] || cp %B/%f %B/op.conf
bin/op
@dirrmtry etc/op.d