Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2014 10:40:59 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365370 - in head/www: . libevhtp
Message-ID:  <201408191040.s7JAexae063540@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Tue Aug 19 10:40:58 2014
New Revision: 365370
URL: http://svnweb.freebsd.org/changeset/ports/365370
QAT: https://qat.redports.org/buildarchive/r365370/

Log:
  Add new port www/libevhtp
  
  PR:		191979
  Submitted by:	JingFeng Yan
  
  Libevhtp was created as a replacement API for Libevent's current HTTP API.
  The reality of libevent's http interface is that it was created as a JIT
  server, meaning the developer never thought of it being used for creating a
  full-fledged HTTP service. The maintainer is under the impression that the
  libevent http API was designed almost as an example of what you can do with
  libevent. It's not Apache in a box, but more and more developers are
  attempting to use it as such.

Added:
  head/www/libevhtp/
  head/www/libevhtp/Makefile   (contents, props changed)
  head/www/libevhtp/distinfo   (contents, props changed)
  head/www/libevhtp/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Tue Aug 19 09:40:43 2014	(r365369)
+++ head/www/Makefile	Tue Aug 19 10:40:58 2014	(r365370)
@@ -381,6 +381,7 @@
     SUBDIR += libapreq2
     SUBDIR += libecap
     SUBDIR += libepc
+    SUBDIR += libevhtp
     SUBDIR += libgtkhtml
     SUBDIR += libhpack
     SUBDIR += libhtp-suricata

Added: head/www/libevhtp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libevhtp/Makefile	Tue Aug 19 10:40:58 2014	(r365370)
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME=	libevhtp
+PORTVERSION=	1.2.9
+CATEGORIES=	www
+
+MAINTAINER=	yan_jingfeng@yahoo.com
+COMMENT=	Flexible replacement for libevent httpd API
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libevent.so:${PORTSDIR}/devel/libevent2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	ellzey
+GH_PROJECT=	libevhtp
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	3886506
+
+USES=		cmake:outsource
+
+CMAKE_ARGS=	-DCMAKE_INCLUDE_PATH:PATH=include/event2 \
+		-DCMAKE_LIBRARY_PATH:PATH=lib/event2
+CMAKE_BUILD_TYPE=	Release
+
+PLIST_FILES=	include/evhtp.h\
+		include/evhtp-config.h \
+		include/evthr.h \
+		include/htparse.h \
+		include/onigposix.h \
+		lib/libevhtp.a
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 900000
+BROKEN=		Does not build on FreeBSD 8.x
+.endif
+
+.include <bsd.port.post.mk>

Added: head/www/libevhtp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libevhtp/distinfo	Tue Aug 19 10:40:58 2014	(r365370)
@@ -0,0 +1,2 @@
+SHA256 (libevhtp-1.2.9.tar.gz) = d980d6eb0d6fd5ee2d1123a997364c82413f6b22bd22ee2347bae2150bd435a4
+SIZE (libevhtp-1.2.9.tar.gz) = 360769

Added: head/www/libevhtp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/libevhtp/pkg-descr	Tue Aug 19 10:40:58 2014	(r365370)
@@ -0,0 +1,9 @@
+Libevhtp was created as a replacement API for Libevent's current HTTP API.
+The reality of libevent's http interface is that it was created as a JIT
+server, meaning the developer never thought of it being used for creating a
+full-fledged HTTP service. The maintainer is under the impression that the
+libevent http API was designed almost as an example of what you can do with
+libevent. It's not Apache in a box, but more and more developers are
+attempting to use it as such.
+
+WWW: https://github.com/ellzey/libevhtp



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