aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2017-09-14 08:37:38 +0800
committerzi <zi@FreeBSD.org>2017-09-14 08:37:38 +0800
commitc35469a7e373cfb6cafbdc907ce5511c4646cd8f (patch)
tree4dd5a8acf472aaa87ee7e5d6843bceb1f5f607ae /www
parent17d89719f09a9cefafdb3eae6efea07f5eb20e60 (diff)
downloadfreebsd-ports-gnome-c35469a7e373cfb6cafbdc907ce5511c4646cd8f.tar.gz
freebsd-ports-gnome-c35469a7e373cfb6cafbdc907ce5511c4646cd8f.tar.zst
freebsd-ports-gnome-c35469a7e373cfb6cafbdc907ce5511c4646cd8f.zip
- Add redis support
- Add CPE information - Don't bump PORTREVISION as this is a NOOP PR: 208127 Submitted by: wollman@
Diffstat (limited to 'www')
-rw-r--r--www/mod_auth_openidc/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/mod_auth_openidc/Makefile b/www/mod_auth_openidc/Makefile
index 294eafb0a12b..c48997c00723 100644
--- a/www/mod_auth_openidc/Makefile
+++ b/www/mod_auth_openidc/Makefile
@@ -18,18 +18,25 @@ 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 \
's|@APXS2@ @APXS2_OPTS@ -i|@APXS2@ @APXS2_OPTS@ -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} -i|' \