Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 14:31:47 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53314: New port: devel/privman
Message-ID:  <E19RACB-000G8x-H5@voodoo.oberon.net>
Resent-Message-ID: <200306141240.h5ECe8mQ031828@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53314
>Category:       ports
>Synopsis:       New port: devel/privman
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 14 05:40:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
New port: devel/privman

Library that makes it easy for programs to use 
privilege separation

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/privman
#	devel/privman/Makefile
#	devel/privman/distinfo
#	devel/privman/pkg-plist
#	devel/privman/pkg-descr
#
echo c - devel/privman
mkdir -p devel/privman > /dev/null 2>&1
echo x - devel/privman/Makefile
sed 's/^X//' >devel/privman/Makefile << 'END-of-devel/privman/Makefile'
X# New ports collection makefile for:  		privman
X# Date created:        				14.06.2003
X# Whom:               				Kirill Ponomarew <ponomarew@oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	privman
XPORTVERSION=	0.9.2
XCATEGORIES=	devel security
XMASTER_SITES=	http://opensource.nailabs.com/privman/downloads/
X
XMAINTAINER=	ponomarew@oberon.net
XCOMMENT=	Library that makes it easy for programs to use privilege separation
X
XGNU_CONFIGURE=	yes
XUSE_LIBTOOL=	yes
XINSTALLS_SHLIB=	yes
XUSE_REINPLACE=	yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e \
X	's|$$(PACKAGE).d|$$(PACKAGE)|g' \
X		${WRKSRC}/etc/Makefile.in
X
XMAN3=	priv_bind.3 priv_custom.3 priv_daemon.3 priv_execve.3 \
X	priv_fopen.3 priv_fork.3 priv_init.3 priv_invoke_cap_fn.3 \
X	priv_invoke_info_fn.3 priv_open.3 priv_pam.3 \
X	priv_pam_acct_mgmt.3 priv_pam_authenticate.3  priv_pam_chauthtok.3 \
X	priv_pam_close_session.3 priv_pam_end.3 priv_pam_fail_delay.3 \
X	priv_pam_get_item.3 priv_pam_getenv.3 priv_pam_open_session.3 \
X	priv_pam_putenv.3 priv_pam_set_item.3 priv_pam_setcred.3 \
X	priv_pam_start.3 priv_pclose.3 priv_popen.3 priv_register_cap_fn.3 \
X	priv_register_info_fn.3 priv_rerunas.3 priv_respawn_as.3 \
X	priv_wait4.3
X
XMAN5=	privman_conf.5
XMAN7=	privman.7
X
X.include <bsd.port.mk>
END-of-devel/privman/Makefile
echo x - devel/privman/distinfo
sed 's/^X//' >devel/privman/distinfo << 'END-of-devel/privman/distinfo'
XMD5 (privman-0.9.2.tar.gz) = ef2564db75b36a42e6c286f5fbb70170
END-of-devel/privman/distinfo
echo x - devel/privman/pkg-plist
sed 's/^X//' >devel/privman/pkg-plist << 'END-of-devel/privman/pkg-plist'
Xetc/privman/check_user
Xetc/privman/microb
Xetc/privman/mycat
Xetc/privman/myecho
Xetc/privman/myexec
Xetc/privman/mypopen
Xetc/privman/myrerun
Xetc/privman/privman.conf
Xinclude/msghdr.h
Xinclude/privman.h
Xlib/libprivman.a
Xlib/libprivman.la
Xlib/libprivman.so
Xlib/libprivman.so.2
X@dirrm etc/privman
END-of-devel/privman/pkg-plist
echo x - devel/privman/pkg-descr
sed 's/^X//' >devel/privman/pkg-descr << 'END-of-devel/privman/pkg-descr'
XPrivman is a library that makes it easy for programs to use
Xprivilege separation, a technique that prevents the leak or
Xmisuse of privilege from applications that must run with some
Xelevated permissions. Applications that use the Privman library
Xsplit into two halves, the half that performs valid privileged
Xoperations, and the half that contains the application's logic.
XThe Privman library simplifies the otherwise complex task of
Xseparating the application, protecting the system from
Xcompromise if an error in the application logic is found. The
Xlibrary uses configuration files to provide fine-grained access
Xcontrol for the privileged operations, limiting exposure in
Xeven of an attack against the application. When the application
Xis compromised, the attacker gains only the privileges of an
Xunprivileged user and the specific privileges granted to the
Xapplication by the application's Privman configuration file.
X
XWWW: http://opensource.nailabs.com/privman
END-of-devel/privman/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19RACB-000G8x-H5>