svn commit: r449817 - head/www/mod_auth_openidc

Ryan Steinmetz zi at FreeBSD.org
Thu Sep 14 00:37:39 UTC 2017


Author: zi
Date: Thu Sep 14 00:37:38 2017
New Revision: 449817
URL: https://svnweb.freebsd.org/changeset/ports/449817

Log:
  - Add redis support
  - Add CPE information
  - Don't bump PORTREVISION as this is a NOOP
  
  PR:		208127
  Submitted by:	wollman@

Modified:
  head/www/mod_auth_openidc/Makefile

Modified: head/www/mod_auth_openidc/Makefile
==============================================================================
--- head/www/mod_auth_openidc/Makefile	Wed Sep 13 23:45:06 2017	(r449816)
+++ head/www/mod_auth_openidc/Makefile	Thu Sep 14 00:37:38 2017	(r449817)
@@ -18,17 +18,24 @@ LIB_DEPENDS=	libcjose.so:devel/cjose \
 		libjansson.so:devel/jansson \
 		libpcre.so:devel/pcre
 
-USES=		autoreconf:autoconf gmake libtool pkgconfig ssl
+USES=		autoreconf:autoconf cpe gmake libtool pkgconfig ssl
 USE_APACHE=	22+
 USE_GITHUB=	yes
 GH_ACCOUNT=	pingidentity
+CPE_VENDOR=	${GH_ACCOUNT}
 
 PLIST_FILES=	${APACHEMODDIR}/mod_auth_openidc.so
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--without-hiredis
 CONFIGURE_ENV+=	OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" \
 		PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig"
 SUB_FILES=	pkg-message
+
+OPTIONS_DEFINE=		HIREDIS
+HIREDIS_DESC=		Enable using redis to store session data
+HIREDIS_LIB_DEPENDS=	libhiredis.so:databases/hiredis
+HIREDIS_CONFIGURE_WITH=	hiredis
+
+.include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e \


More information about the svn-ports-all mailing list