1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Add redis support

- Add CPE information
- Don't bump PORTREVISION as this is a NOOP

PR:		208127
Submitted by:	wollman@
This commit is contained in:
Ryan Steinmetz 2017-09-14 00:37:38 +00:00
parent 3e5f0c86ef
commit cbb9f92ccf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449817

View File

@ -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|' \