1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/mod_maxminddb/Makefile
Jochen Neumeister 68db6e20bf Update to 1.2.0 and take Maintainership
- Fix a bug where uninitialized memory could be accessed when looking up
  a path in a database.
- You may now set MMDB_ADDR to use that IP address rather than the
  remote address when doing the lookup.
- Add new directive MaxMindDBNetworkEnv that allows setting an
  environment variable containing the network associated with an IP
  address.
- Add new directive MaxMindDBSetNotes. When set to On, Apache request
  notes will be set in addition to environment variables.

Approved by:	mmokhi (via private-eMail)
MFH:		2020Q3
Sponsored by:	Netzkommune GmbH
2020-07-23 10:45:58 +00:00

29 lines
612 B
Makefile

# $FreeBSD$
PORTNAME= mod_maxminddb
PORTVERSION= 1.2.0
PORTREVISION= 0
CATEGORIES= www
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= joneum@FreeBSD.org
COMMENT= MaxMind DB Apache Module
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
USES= apache:2.4+ autoreconf compiler:c11 gmake localbase
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= maxmind
post-patch:
@${REINPLACE_CMD} -e 's|%%LIBEXECDEST%%|${STAGEDIR}${PREFIX}/${APACHEMODDIR}|g' ${WRKSRC}/src/Makefile.am
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
.include <bsd.port.mk>