From owner-svn-ports-all@freebsd.org Mon May 18 18:46:59 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E61402DA95F; Mon, 18 May 2020 18:46:59 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Qp034zHMz4BD7; Mon, 18 May 2020 18:46:59 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A610525E67; Mon, 18 May 2020 18:46:59 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04IIkxcq011423; Mon, 18 May 2020 18:46:59 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04IIkwfu011417; Mon, 18 May 2020 18:46:58 GMT (envelope-from zi@FreeBSD.org) Message-Id: <202005181846.04IIkwfu011417@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Mon, 18 May 2020 18:46:58 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: zi X-SVN-Commit-Paths: in head/www: . mod_auth_mellon mod_auth_mellon/files X-SVN-Commit-Revision: 535772 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2020 18:47:00 -0000 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 +# $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 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: <