summaryrefslogtreecommitdiff
path: root/security/pam-saml/Makefile
diff options
context:
space:
mode:
authormanu <manu>2009-09-13 19:57:13 +0000
committermanu <manu>2009-09-13 19:57:13 +0000
commit905a8977a4109785b77474786ea75533015ce666 (patch)
tree4ee14c132256dbe8ccac5660861a07785f993f23 /security/pam-saml/Makefile
parentd76739b60e289083ec30e19dedb86ce792e317e6 (diff)
downloadpkgsrc-905a8977a4109785b77474786ea75533015ce666.tar.gz
SASL is a method for adding authentication support to connection-based
protocols. To use SASL, a protocol includes a command for identifying and authenticating a user to a server and for optionally negotiating protection of subsequent protocol interactions. If its use is negotiated, a security layer is inserted between the protocol and the connection. PAM provides a way to develop programs that are independent of authentication scheme. These programs need "authentication modules" to be attached to them at run-time in order to work. Which authentication module is to be attached is dependent upon the local system setup and is at the discretion of the local system administrator. This package contains a SASL plugin and a PAM module that perform a crude check on a SAML authentication assertion. The assertion signature and date are verified, and access is granted on behalf ot the user taked for a onfigurable attribute. The only protection against replay attacks is the assertion validity dates checks, this authentication is therefore secure only if the SAML authentication assertion remains secret. The assertion has the same role as a web cookie used for authentication.
Diffstat (limited to 'security/pam-saml/Makefile')
-rw-r--r--security/pam-saml/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/pam-saml/Makefile b/security/pam-saml/Makefile
new file mode 100644
index 00000000000..7661eeddb8c
--- /dev/null
+++ b/security/pam-saml/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/13 19:57:51 manu Exp $
+#
+
+PKGNAME= ${DISTNAME:S/crudesaml-/pam-saml-/}
+COMMENT= Crude SAML assertion validator for bridging WebSSO and PAM
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/security
+ cd ${WRKSRC} && ${SHLIBTOOL} --mode=install \
+ ${INSTALL_PROGRAM} pam_saml.la ${DESTDIR}${PREFIX}/lib/security
+ ${INSTALL_MAN} ${WRKSRC}/pam_saml.5 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+
+.include "../../security/crudesaml/Makefile.common"