mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
d3a47683ba
Submitted by: pointyhat Feature safe: yes
40 lines
911 B
Makefile
40 lines
911 B
Makefile
# 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>
|