1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/security/pam_jail/Makefile
Mathieu Arnold 0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00

29 lines
705 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= PAM module dropping users in jails after login
LICENSE= BSD3CLAUSE
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 ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
.include <bsd.port.post.mk>