Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 03:27:30 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424803 - in head/www: . varnish-libvmod-awsrest varnish-libvmod-awsrest/files
Message-ID:  <201610280327.u9S3RUhg016919@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Oct 28 03:27:30 2016
New Revision: 424803
URL: https://svnweb.freebsd.org/changeset/ports/424803

Log:
  Add varnish-libvmod-awsrest.

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

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Fri Oct 28 02:26:08 2016	(r424802)
+++ head/www/Makefile	Fri Oct 28 03:27:30 2016	(r424803)
@@ -2269,6 +2269,7 @@
     SUBDIR += uwsgitop
     SUBDIR += uzbl
     SUBDIR += validator
+    SUBDIR += varnish-libvmod-awsrest
     SUBDIR += varnish-libvmod-digest
     SUBDIR += varnish-libvmod-maxminddb
     SUBDIR += varnish-modules

Added: head/www/varnish-libvmod-awsrest/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-awsrest/Makefile	Fri Oct 28 03:27:30 2016	(r424803)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	libvmod-awsrest
+DISTVERSIONPREFIX=${PORTNAME}-
+DISTVERSION=	0.4
+CATEGORIES=	www
+PKGNAMEPREFIX=	varnish-
+
+MAINTAINER=	vanilla@FreeBSD.org
+COMMENT=	Varnish Module (vmod) for generating headers for AWS REST API
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	rst2man:textproc/py-docutils
+LIB_DEPENDS=	libmhash.so:security/mhash
+
+USES=		autoreconf gmake libtool pkgconfig python:2,build varnish
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--disable-static
+INSTALL_TARGET=	install-strip
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	xcir
+GH_TAGNAME=	v${DISTVERSION}-varnish40
+
+.include <bsd.port.mk>

Added: head/www/varnish-libvmod-awsrest/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-awsrest/distinfo	Fri Oct 28 03:27:30 2016	(r424803)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1477523902
+SHA256 (xcir-libvmod-awsrest-libvmod-awsrest-0.4-v0.4-varnish40_GH0.tar.gz) = d5804479765c8e8be81d87fc48f736ab84aa9c7893b616ad30c2856a279006d7
+SIZE (xcir-libvmod-awsrest-libvmod-awsrest-0.4-v0.4-varnish40_GH0.tar.gz) = 9658

Added: head/www/varnish-libvmod-awsrest/files/patch-Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-awsrest/files/patch-Makefile.am	Fri Oct 28 03:27:30 2016	(r424803)
@@ -0,0 +1,8 @@
+--- Makefile.am.orig	2015-07-04 13:33:43 UTC
++++ Makefile.am
+@@ -1,4 +1,4 @@
+-ACLOCAL_AMFLAGS = -I m4 -I ${LIBVARNISHAPI_DATAROOTDIR}/aclocal
++ACLOCAL_AMFLAGS = -I m4
+ 
+ SUBDIRS = src
+ 

Added: head/www/varnish-libvmod-awsrest/files/patch-src_vmod__awsrest.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-awsrest/files/patch-src_vmod__awsrest.c	Fri Oct 28 03:27:30 2016	(r424803)
@@ -0,0 +1,13 @@
+--- src/vmod_awsrest.c.orig	2016-10-26 23:24:27 UTC
++++ src/vmod_awsrest.c
+@@ -116,8 +116,8 @@ void vmod_v4_generic(const struct vrt_ct
+ 	
+ 	////////////////
+ 	//get data
+-	char *method;
+-	char *requrl;
++	const char *method;
++	const char *requrl;
+ 	struct http *hp;
+ 	struct gethdr_s gs;
+ 	

Added: head/www/varnish-libvmod-awsrest/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-awsrest/pkg-descr	Fri Oct 28 03:27:30 2016	(r424803)
@@ -0,0 +1,3 @@
+Varnish Module (vmod) for generating Authorization header for AWS REST API.
+
+WWW: https://github.com/xcir/libvmod-awsrest

Added: head/www/varnish-libvmod-awsrest/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/varnish-libvmod-awsrest/pkg-plist	Fri Oct 28 03:27:30 2016	(r424803)
@@ -0,0 +1,4 @@
+lib/varnish/vmods/libvmod_awsrest.so
+man/man3/vmod_awsrest.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?201610280327.u9S3RUhg016919>