Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2016 00:29:36 +0000 (UTC)
From:      Allan Jude <allanjude@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415292 - in head/www: . varnish-libvmod-maxminddb varnish-libvmod-maxminddb/files
Message-ID:  <201605160029.u4G0Tahw048545@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: allanjude (src,doc committer)
Date: Mon May 16 00:29:36 2016
New Revision: 415292
URL: https://svnweb.freebsd.org/changeset/ports/415292

Log:
  add www/varnish-libvmod-maxminddb
  
  Varnish Module (vmod) for accessing maxminddb geoip data
  
  Approved by:	feld
  Sponsored by:	ScaleEngine Inc.
  Differential Revision:	https://reviews.freebsd.org/D6380

Added:
  head/www/varnish-libvmod-maxminddb/
  head/www/varnish-libvmod-maxminddb/Makefile   (contents, props changed)
  head/www/varnish-libvmod-maxminddb/distinfo   (contents, props changed)
  head/www/varnish-libvmod-maxminddb/files/
  head/www/varnish-libvmod-maxminddb/files/patch-Makefile.am   (contents, props changed)
  head/www/varnish-libvmod-maxminddb/pkg-descr   (contents, props changed)
  head/www/varnish-libvmod-maxminddb/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Mon May 16 00:29:25 2016	(r415291)
+++ head/www/Makefile	Mon May 16 00:29:36 2016	(r415292)
@@ -2254,6 +2254,7 @@
     SUBDIR += uzbl
     SUBDIR += validator
     SUBDIR += varnish-libvmod-header
+    SUBDIR += varnish-libvmod-maxminddb
     SUBDIR += varnish-libvmod-saintmode
     SUBDIR += varnish-nagios
     SUBDIR += varnish4

Added: head/www/varnish-libvmod-maxminddb/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-maxminddb/Makefile	Mon May 16 00:29:36 2016	(r415292)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME=	libvmod-maxminddb
+DISTVERSION=	1.0.0
+CATEGORIES=	www
+PKGNAMEPREFIX=	varnish-
+
+MAINTAINER=	ports@FreeBSD.org
+COMMENT=	Varnish Module (vmod) for accessing maxminddb geoip data
+
+LICENSE=	BSD2CLAUSE
+
+BUILD_DEPENDS=	varnish4>=4.1.0:www/varnish4 \
+		rst2man:textproc/py-docutils
+
+LIB_DEPENDS=	libmaxminddb.so:net/libmaxminddb
+
+RUN_DEPENDS=	varnish4>=4.1.0:www/varnish4
+
+USES=		autoreconf gmake libtool pkgconfig python:2,build
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-static
+CFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
+CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
+LDFLAGS+=	-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	simonvik
+GH_PROJECT=	libvmod_maxminddb
+GH_TAGNAME=	4ae6a7f
+
+.include <bsd.port.mk>

Added: head/www/varnish-libvmod-maxminddb/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-maxminddb/distinfo	Mon May 16 00:29:36 2016	(r415292)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1463350841
+SHA256 (simonvik-libvmod_maxminddb-1.0.0-4ae6a7f_GH0.tar.gz) = d6aab1a15ebcc6136a975250d223223413603b53dbf1c02652dfa5edd83f3d8a
+SIZE (simonvik-libvmod_maxminddb-1.0.0-4ae6a7f_GH0.tar.gz) = 3927

Added: head/www/varnish-libvmod-maxminddb/files/patch-Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-maxminddb/files/patch-Makefile.am	Mon May 16 00:29:36 2016	(r415292)
@@ -0,0 +1,16 @@
+--- Makefile.am.orig	2016-05-15 22:29:56 UTC
++++ Makefile.am
+@@ -2,11 +2,11 @@ ACLOCAL_AMFLAGS = -I m4
+ 
+ SUBDIRS = src
+ 
+-dist_man_MANS = vmod_geoip.3
++dist_man_MANS = vmod_maxminddb.3
+ MAINTAINERCLEANFILES = $(dist_man_MANS)
+ doc_DATA = README.rst LICENSE
+ 
+-vmod_geoip.3: README.rst
++vmod_maxminddb.3: README.rst
+ if HAVE_RST2MAN
+ 	${RST2MAN} README.rst $@
+ else

Added: head/www/varnish-libvmod-maxminddb/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-maxminddb/pkg-descr	Mon May 16 00:29:36 2016	(r415292)
@@ -0,0 +1,3 @@
+Varnish Module (vmod) for accessing maxminddb geoip data
+
+WWW: https://github.com/simonvik/libvmod_maxminddb

Added: head/www/varnish-libvmod-maxminddb/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-maxminddb/pkg-plist	Mon May 16 00:29:36 2016	(r415292)
@@ -0,0 +1,4 @@
+lib/varnish/vmods/libvmod_maxminddb.so
+man/man3/vmod_maxminddb.3.gz
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README.rst



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605160029.u4G0Tahw048545>