1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

Add the varnish vmod-digest port

Reviewed by:	feld
Approved by:	mat
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D6379
This commit is contained in:
Allan Jude 2016-10-13 00:36:39 +00:00
parent adfc8cae0e
commit 50058664d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423898
5 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# $FreeBSD$
PORTNAME= libvmod-digest
DISTVERSIONPREFIX=${PORTNAME}-
DISTVERSION= 1.0.1
CATEGORIES= www
PKGNAMEPREFIX= varnish-
MAINTAINER= allanjude@FreeBSD.org
COMMENT= Varnish Module (vmod) for computing message digests and HMAC
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
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
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/varnish
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USE_GITHUB= yes
GH_ACCOUNT= varnish
.include <bsd.port.mk>

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,4 @@
lib/varnish/vmods/libvmod_digest.so
man/man3/vmod_digest.3.gz
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README.rst