aboutsummaryrefslogtreecommitdiff
path: root/security/pam_jail/Makefile
blob: ac2a70b8914f237ae7954a958b9f9c165570cd10 (plain) (blame)
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
# New ports collection makefile for:    pam_jail
# Date created:                         28 March 2010
# Whom:                                 Damien Bobillot
#
# $FreeBSD$
#

PORTNAME=	pam_jail
PORTVERSION=	0.3
CATEGORIES=	security
MASTER_SITES=	http://www.triades.net/downloads/

MAINTAINER=	damien.bobillot_pam_jail@m4x.org
COMMENT=	A PAM module dropping users in jails after login

MAN8=		pam_jail.8
MANCOMPRESSED=	yes
SUB_FILES=	pkg-message
PLIST_FILES=	lib/pam_jail.so lib/pam_jail.so.1

.include <bsd.port.pre.mk>

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/pam_jail.so.1 ${PREFIX}/lib/
	${LN} -sf pam_jail.so.1 ${PREFIX}/lib/pam_jail.so
	${INSTALL_MAN} ${WRKSRC}/pam_jail.8.gz ${PREFIX}/man/man8/

post-install:
	@${CAT} ${PKGMESSAGE}

.if ${OSVERSION} < 800000
BROKEN=		jail version not supported
.endif

.if ${ARCH} == "sparc64"
BROKEN=		Does not compile on sparc64
.endif

.include <bsd.port.post.mk>