mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
40843b1ccb
apache22 and apache25 had been removed a long time ago however the apache.mk file has never been refactored and is out of sync from the file Mk/bsd.default-versions.mk. These changes refactors the removals of the older versions. In addition: - Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN from SANITY_DEPRECATED to SANITY_UNSUPPORTED - Remove apache versions from ports Makefiles as currently there is only one available version in the tree. However the version checks are still valid and should work flawlessly whenever a new version is added. For example USES=apache:2.2+ are simply replaced with USES=apache. As currently there are no other versions available for test this could not be checked on it's own ground. - Update FOO_USE=APACHE=yes to FOO_USES=apache - Remove trailing whitespaces Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D38113
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
PORTNAME= mod_auth_gssapi
|
|
PORTVERSION= 1.6.5
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= www
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= chris@chrullrich.net
|
|
COMMENT= Apache module for authenticating users with GSSAPI
|
|
WWW= https://github.com/gssapi/mod_auth_gssapi
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= autoreconf apache bison gssapi:mit,flags libtool ssl
|
|
USES+= pkgconfig
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= gssapi
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= KRB5_CONFIG=${KRB5CONFIG}
|
|
CONFIGURE_ARGS+= OPENSSL_CFLAGS=-I${OPENSSLINC}
|
|
CONFIGURE_ARGS+= OPENSSL_LIBS=-lcrypto
|
|
|
|
PLIST_FILES= @sample\ ${APACHEETCDIR}/modules.d/${APMOD_FILE} \
|
|
${APACHEMODDIR}/mod_auth_gssapi.so
|
|
|
|
SUB_FILES= ${APMOD_FILE}
|
|
APMOD_FILE= 240_${PORTNAME}.conf.sample
|
|
PLIST_SUB+= APMOD_FILE=${APMOD_FILE}
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
|
|
${APXS} -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} \
|
|
-i -n ${MODULENAME} ${WRKSRC}/src/${MODULENAME}.la
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
|
|
${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
|
|
|
|
.include <bsd.port.mk>
|