mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
1cbb04d36f
PR: ports/182477 Submitted by: maintainer
33 lines
770 B
Makefile
33 lines
770 B
Makefile
# Created by: Damien Bobillot
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pam_jail
|
|
PORTVERSION= 0.4
|
|
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
|
|
|
|
LICENSE= BSD
|
|
|
|
SUB_FILES= pkg-message
|
|
PLIST_FILES= lib/pam_jail.so lib/pam_jail.so.1 man/man8/pam_jail.8.gz
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pam_jail.so.1 ${STAGEDIR}${PREFIX}/lib/
|
|
${LN} -sf pam_jail.so.1 ${STAGEDIR}${PREFIX}/lib/pam_jail.so
|
|
${INSTALL_MAN} ${WRKSRC}/pam_jail.8 ${STAGEDIR}${PREFIX}/man/man8/
|
|
|
|
.if ${OSVERSION} < 800000
|
|
BROKEN= jail version not supported
|
|
.endif
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= Does not compile on sparc64
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|