diff options
| author | Ryan Steinmetz <zi@FreeBSD.org> | 2022-04-11 19:41:47 +0000 |
|---|---|---|
| committer | Ryan Steinmetz <zi@FreeBSD.org> | 2022-04-11 19:42:55 +0000 |
| commit | 3d71785ff5fa0154179cc41f85a414f74d01cc3b (patch) | |
| tree | 052c244fd1566f7bf9f393520f6d1f67d537f50f | |
| parent | 9a6a38031327d06c070f2004b593d0e2274cc30b (diff) | |
www/varnish-libvmod-geoip2: new port:
Varnish Module (vmod) for accessing MaxMind GeoIP2 DB files.
It supports opening multiple databases at the same time.
WWW: https://github.com/fgsch/libvmod-geoip2
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/varnish-libvmod-geoip2/Makefile | 32 | ||||
| -rw-r--r-- | www/varnish-libvmod-geoip2/distinfo | 3 | ||||
| -rw-r--r-- | www/varnish-libvmod-geoip2/pkg-descr | 4 | ||||
| -rw-r--r-- | www/varnish-libvmod-geoip2/pkg-plist | 3 |
5 files changed, 43 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index f99a8d0130f9..5ec0f36d3780 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2306,6 +2306,7 @@ SUBDIR += varnish-ip2proxy SUBDIR += varnish-libvmod-digest SUBDIR += varnish-libvmod-dynamic + SUBDIR += varnish-libvmod-geoip2 SUBDIR += varnish-libvmod-maxminddb SUBDIR += varnish-libvmod-querystring SUBDIR += varnish-libvmod-redis diff --git a/www/varnish-libvmod-geoip2/Makefile b/www/varnish-libvmod-geoip2/Makefile new file mode 100644 index 000000000000..0e75e0e1ced6 --- /dev/null +++ b/www/varnish-libvmod-geoip2/Makefile @@ -0,0 +1,32 @@ +PORTNAME= libvmod-geoip2 +PORTVERSION= 20210423 +CATEGORIES= www +PKGNAMEPREFIX= varnish- + +MAINTAINER= zi@FreeBSD.org +COMMENT= Varnish Module (vmod) to query MaxMind GeoIP2 DB files + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} +LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb + +USES= autoreconf:build gmake libtool pkgconfig \ + python:3.7+,build varnish:7 +USE_GITHUB= yes +GH_ACCOUNT= fgsch +GH_PROJECT= libvmod-geoip2 +GH_TAGNAME= 68a7f45 +USE_LDCONFIG= ${PREFIX}/lib/varnish/vmods + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-static + +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= DOCS + +pre-configure: + (cd ${WRKSRC} && ${SH} ./autogen.sh) + +.include <bsd.port.mk> diff --git a/www/varnish-libvmod-geoip2/distinfo b/www/varnish-libvmod-geoip2/distinfo new file mode 100644 index 000000000000..bf74ed0c76ae --- /dev/null +++ b/www/varnish-libvmod-geoip2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1649705084 +SHA256 (fgsch-libvmod-geoip2-20210423-68a7f45_GH0.tar.gz) = 97d04759ca3966be19a91705bd616b44206a1b1bbbf5c2770b5cc766e8f79808 +SIZE (fgsch-libvmod-geoip2-20210423-68a7f45_GH0.tar.gz) = 9631 diff --git a/www/varnish-libvmod-geoip2/pkg-descr b/www/varnish-libvmod-geoip2/pkg-descr new file mode 100644 index 000000000000..8f42545cb84d --- /dev/null +++ b/www/varnish-libvmod-geoip2/pkg-descr @@ -0,0 +1,4 @@ +Varnish Module (vmod) for accessing MaxMind GeoIP2 DB files. +It supports opening multiple databases at the same time. + +WWW: https://github.com/fgsch/libvmod-geoip2 diff --git a/www/varnish-libvmod-geoip2/pkg-plist b/www/varnish-libvmod-geoip2/pkg-plist new file mode 100644 index 000000000000..3582cb8e2820 --- /dev/null +++ b/www/varnish-libvmod-geoip2/pkg-plist @@ -0,0 +1,3 @@ +lib/varnish/vmods/libvmod_geoip2.so +man/man3/vmod_geoip2.3.gz +%%PORTDOCS%%%%DOCSDIR%%/LICENSE |
