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
28 lines
492 B
Makefile
28 lines
492 B
Makefile
PORTNAME= mod_defensible
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.5
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= peter@libassi.se
|
|
COMMENT= Apache 2.4 module aiming to block IP listed in DNSBL
|
|
WWW= https://github.com/jd/mod_defensible
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= apache
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jd
|
|
|
|
AP_FAST_BUILD= yes
|
|
AP_GENPLIST= yes
|
|
SHORTMODNAME= defensible
|
|
|
|
SRC_FILE= mod_defensible.c
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's,%%PORTVERSION%%,${PORTVERSION},' \
|
|
${WRKSRC}/mod_defensible.c
|
|
|
|
.include <bsd.port.mk>
|