aboutsummaryrefslogtreecommitdiff
path: root/security/pam_jail/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-05-10 05:53:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-05-10 05:53:48 +0000
commitd9237e6775335ea445966d9c08af525ce2790aff (patch)
treeca53601c54ab0fbfc307899c9c4af9835fe8e00e /security/pam_jail/Makefile
parent007c9a3696e0153222e4e6dcdfe4d8e83c8a7231 (diff)
downloadports-d9237e6775335ea445966d9c08af525ce2790aff.tar.gz
ports-d9237e6775335ea445966d9c08af525ce2790aff.zip
Notes
Diffstat (limited to 'security/pam_jail/Makefile')
-rw-r--r--security/pam_jail/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/security/pam_jail/Makefile b/security/pam_jail/Makefile
new file mode 100644
index 000000000000..4c8435d93e24
--- /dev/null
+++ b/security/pam_jail/Makefile
@@ -0,0 +1,35 @@
+# 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} < 700000
+BROKEN= jail version not supported
+.endif
+
+.include <bsd.port.post.mk>