summaryrefslogtreecommitdiffstats
path: root/devel/privman/Makefile
blob: 14d1538e7b6548703dab04d680390820d8efd6df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:  		privman
# Date created:        				14.06.2003
# Whom:               				Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=	privman
PORTVERSION=	0.9.2
PORTREVISION=	1
CATEGORIES=	devel security
MASTER_SITES=	http://opensource.nailabs.com/privman/downloads/

MAINTAINER=	ponomarew@oberon.net
COMMENT=	Library that makes it easy for programs to use privilege separation

FORBIDDEN=	"tempnam() can cause race condition, should be fixed by the author soon"

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
INSTALLS_SHLIB=	yes
USE_REINPLACE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

post-patch:
	@${REINPLACE_CMD} -e \
	's|$$(PACKAGE).d|$$(PACKAGE)|g' \
		${WRKSRC}/etc/Makefile.in

MAN3=	priv_bind.3 priv_custom.3 priv_daemon.3 priv_execve.3 \
	priv_fopen.3 priv_fork.3 priv_init.3 priv_invoke_cap_fn.3 \
	priv_invoke_info_fn.3 priv_open.3 priv_pam.3 \
	priv_pam_acct_mgmt.3 priv_pam_authenticate.3  priv_pam_chauthtok.3 \
	priv_pam_close_session.3 priv_pam_end.3 priv_pam_fail_delay.3 \
	priv_pam_get_item.3 priv_pam_getenv.3 priv_pam_open_session.3 \
	priv_pam_putenv.3 priv_pam_set_item.3 priv_pam_setcred.3 \
	priv_pam_start.3 priv_pclose.3 priv_popen.3 priv_register_cap_fn.3 \
	priv_register_info_fn.3 priv_rerunas.3 priv_respawn_as.3 \
	priv_wait4.3

MAN5=	privman_conf.5
MAN7=	privman.7

.include <bsd.port.mk>
OpenPOWER on IntegriCloud