Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2020 18:46:58 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r535772 - in head/www: . mod_auth_mellon mod_auth_mellon/files
Message-ID:  <202005181846.04IIkwfu011417@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Mon May 18 18:46:58 2020
New Revision: 535772
URL: https://svnweb.freebsd.org/changeset/ports/535772

Log:
  New port: www/mod_auth_mellon:
  
  mod_auth_mellon is an authentication module for Apache. It authenticates
  the user against a SAML 2.0 IdP, and grants access to directories
  depending on attributes received from the IdP.
  
  WWW: https://github.com/latchset/mod_auth_mellon

Added:
  head/www/mod_auth_mellon/
  head/www/mod_auth_mellon/Makefile   (contents, props changed)
  head/www/mod_auth_mellon/distinfo   (contents, props changed)
  head/www/mod_auth_mellon/files/
  head/www/mod_auth_mellon/files/pkg-message.in   (contents, props changed)
  head/www/mod_auth_mellon/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Mon May 18 18:40:41 2020	(r535771)
+++ head/www/Makefile	Mon May 18 18:46:58 2020	(r535772)
@@ -347,6 +347,7 @@
     SUBDIR += mod_auth_cookie_mysql2
     SUBDIR += mod_auth_gssapi
     SUBDIR += mod_auth_kerb2
+    SUBDIR += mod_auth_mellon
     SUBDIR += mod_auth_mysql2
     SUBDIR += mod_auth_mysql_another
     SUBDIR += mod_auth_openid

Added: head/www/mod_auth_mellon/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_auth_mellon/Makefile	Mon May 18 18:46:58 2020	(r535772)
@@ -0,0 +1,42 @@
+# Created by: Ryan Steinmetz <zi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	mod_auth_mellon
+DISTVERSION=	v0_16_0
+CATEGORIES=	www
+PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
+
+MAINTAINER=	zi@FreeBSD.org
+COMMENT=	Apache module with a simple SAML 2.0 service provider
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libcurl.so:ftp/curl \
+    		liblasso.so:security/lasso
+
+USES=		apache:2.2+ autoreconf gettext-runtime gnome libtool pkgconfig ssl
+USE_GNOME=	glib20
+USE_GITHUB=	yes
+GH_ACCOUNT=	latchset
+CPE_VENDOR=	${GH_ACCOUNT}
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV+=	OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" \
+			PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig"
+
+PLIST_FILES=	${APACHEMODDIR}/mod_auth_mellon.so
+SUB_FILES=	pkg-message
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|@APXS2@ -i|@APXS2@ -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} -i|' \
+		${WRKSRC}/Makefile.in
+
+pre-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${PORTNAME}.so
+
+.include <bsd.port.mk>

Added: head/www/mod_auth_mellon/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_auth_mellon/distinfo	Mon May 18 18:46:58 2020	(r535772)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1589823027
+SHA256 (latchset-mod_auth_mellon-v0_16_0_GH0.tar.gz) = d41ad9b910562f76c4eb5d65f874d5e2e493575e8e719d269879aca895f7e55c
+SIZE (latchset-mod_auth_mellon-v0_16_0_GH0.tar.gz) = 916782

Added: head/www/mod_auth_mellon/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_auth_mellon/files/pkg-message.in	Mon May 18 18:46:58 2020	(r535772)
@@ -0,0 +1,13 @@
+[
+{ type: install
+  message: <<EOM
+===========================================================================
+Please add the following to %%PREFIX%%/%%APACHEETCDIR%%/httpd.conf:
+LoadModule auth_mellon_module %%APACHEMODDIR%%/mod_auth_mellon.so
+
+Then create your configuration.  Examples can be found here:
+https://github.com/latchset/mod_auth_mellon
+===========================================================================
+EOM
+}
+]

Added: head/www/mod_auth_mellon/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_auth_mellon/pkg-descr	Mon May 18 18:46:58 2020	(r535772)
@@ -0,0 +1,5 @@
+mod_auth_mellon is an authentication module for Apache. It authenticates
+the user against a SAML 2.0 IdP, and grants access to directories
+depending on attributes received from the IdP.
+
+WWW: https://github.com/latchset/mod_auth_mellon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005181846.04IIkwfu011417>