Index: www/Makefile =================================================================== --- www/Makefile +++ www/Makefile @@ -2253,6 +2253,7 @@ SUBDIR += uwsgitop SUBDIR += uzbl SUBDIR += validator + SUBDIR += varnish-libvmod-digest SUBDIR += varnish-libvmod-header SUBDIR += varnish-libvmod-saintmode SUBDIR += varnish-nagios Index: www/varnish-libvmod-digest/Makefile =================================================================== --- /dev/null +++ www/varnish-libvmod-digest/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= libvmod-digest +DISTVERSIONPREFIX=libvmod-digest- +DISTVERSION= 1.0.1 +CATEGORIES= www +PKGNAMEPREFIX= varnish- + +MAINTAINER= ports@FreeBSD.org +COMMENT= Varnish Module (vmod) for computing message digests and HMAC + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS= varnish4>=4.1.0:www/varnish4 \ + rst2man:textproc/py-docutils + +LIB_DEPENDS= libmhash.so:security/mhash + +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 -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip + +USE_GITHUB= yes +GH_ACCOUNT= varnish + +.include Index: www/varnish-libvmod-digest/distinfo =================================================================== --- /dev/null +++ www/varnish-libvmod-digest/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1463349468 +SHA256 (varnish-libvmod-digest-libvmod-digest-1.0.1_GH0.tar.gz) = 491c3e54ebca3340464a227732de7f475bc5136c0fdaab587b764dd77db376e2 +SIZE (varnish-libvmod-digest-libvmod-digest-1.0.1_GH0.tar.gz) = 18084 Index: www/varnish-libvmod-digest/files/patch-Makefile.am =================================================================== --- /dev/null +++ www/varnish-libvmod-digest/files/patch-Makefile.am @@ -0,0 +1,8 @@ +--- Makefile.am.orig 2016-05-15 21:25:28 UTC ++++ Makefile.am +@@ -1,4 +1,4 @@ +-ACLOCAL_AMFLAGS = -I m4 -I ${LIBVARNISHAPI_DATAROOTDIR}/aclocal ++ACLOCAL_AMFLAGS = -I m4 + + SUBDIRS = src + Index: www/varnish-libvmod-digest/pkg-descr =================================================================== --- /dev/null +++ www/varnish-libvmod-digest/pkg-descr @@ -0,0 +1,7 @@ +Varnish Module (vmod) for computing HMAC, message digests and working +with base64. + +All HMAC- and hash-functionality is provided by libmhash, while +base64 is implemented locally. + +WWW: https://github.com/varnish/libvmod-digest Index: www/varnish-libvmod-digest/pkg-plist =================================================================== --- /dev/null +++ www/varnish-libvmod-digest/pkg-plist @@ -0,0 +1,4 @@ +lib/varnish/vmods/libvmod_digest.so +man/man3/vmod_digest.3.gz +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/README.rst