pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import wip/hitch.



Module Name:	pkgsrc-wip
Committed By:	Filip Hajny <filip%joyent.com@localhost>
Pushed By:	fhajny
Date:		Fri Apr 1 09:46:59 2016 +0000
Changeset:	9d995d7e3fac5f04123f421a270a266c8ecc59d5

Modified Files:
	Makefile
Added Files:
	hitch/DESCR
	hitch/Makefile
	hitch/PLIST
	hitch/distinfo
	hitch/patches/patch-src_hitch.c

Log Message:
Import wip/hitch.

Hitch is a libev-based high performance SSL/TLS proxy by Varnish
Software.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9d995d7e3fac5f04123f421a270a266c8ecc59d5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                        |  1 +
 hitch/DESCR                     |  2 ++
 hitch/Makefile                  | 24 ++++++++++++++++++++++++
 hitch/PLIST                     |  6 ++++++
 hitch/distinfo                  |  7 +++++++
 hitch/patches/patch-src_hitch.c | 17 +++++++++++++++++
 6 files changed, 57 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 3f4562d..75c6047 100644
--- a/Makefile
+++ b/Makefile
@@ -1076,6 +1076,7 @@ SUBDIR+=	hgsubversion
 SUBDIR+=	higan
 SUBDIR+=	higgsbounds
 SUBDIR+=	hijra
+SUBDIR+=	hitch
 SUBDIR+=	hlint
 SUBDIR+=	homebank
 SUBDIR+=	hoogle
diff --git a/hitch/DESCR b/hitch/DESCR
new file mode 100644
index 0000000..9188766
--- /dev/null
+++ b/hitch/DESCR
@@ -0,0 +1,2 @@
+Hitch is a libev-based high performance SSL/TLS proxy by Varnish
+Software.
diff --git a/hitch/Makefile b/hitch/Makefile
new file mode 100644
index 0000000..077f53c
--- /dev/null
+++ b/hitch/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	hitch-1.1.1
+CATEGORIES=	security
+MASTER_SITES=	https://hitch-tls.org/source/
+
+MAINTAINER=	filip%joyent.com@localhost
+HOMEPAGE=	https://hitch-tls.org/
+COMMENT=	Scalable TLS proxy
+LICENSE=	2-clause-bsd
+
+BUILD_DEPENDS+=	${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+
+GNU_CONFIGURE=	yes
+
+CPPFLAGS.SunOS+=	-D__EXTENSIONS__
+LIBS.SunOS+=		-lsocket
+
+PYTHON_FOR_BUILD_ONLY=	yes
+.include "../../lang/python/pyversion.mk"
+
+.include "../../devel/libev/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/hitch/PLIST b/hitch/PLIST
new file mode 100644
index 0000000..abeeb51
--- /dev/null
+++ b/hitch/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+man/man8/hitch.8
+sbin/hitch
+share/doc/hitch/CHANGES.rst
+share/doc/hitch/README.md
+share/doc/hitch/hitch.conf.ex
diff --git a/hitch/distinfo b/hitch/distinfo
new file mode 100644
index 0000000..bd73128
--- /dev/null
+++ b/hitch/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (hitch-1.1.1.tar.gz) = c0bc8602b684cb5538e2fcdd503cbc52adadad37
+RMD160 (hitch-1.1.1.tar.gz) = 2a2e4568e8af13c4554c30efd9582a778704dc07
+SHA512 (hitch-1.1.1.tar.gz) = ca63af94eadaacfcacbb4c3cb821ac45e01236fcaf49524eb8650ce883a40bb3b9eacea453aca21f1bb98f1896ec6157872c2f188a120b541f99d38c8cd4538c
+Size (hitch-1.1.1.tar.gz) = 178534 bytes
+SHA1 (patch-src_hitch.c) = f16c5010a704291fd1c986b73bb987fd92148616
diff --git a/hitch/patches/patch-src_hitch.c b/hitch/patches/patch-src_hitch.c
new file mode 100644
index 0000000..9a7eec9
--- /dev/null
+++ b/hitch/patches/patch-src_hitch.c
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Need sys/filio on SunOS for FIONBIO.
+
+--- src/hitch.c.orig	2016-01-26 14:58:56.000000000 +0000
++++ src/hitch.c
+@@ -77,6 +77,10 @@
+ #include <sys/prctl.h>
+ #endif
+ 
++#ifdef __sun
++#include <sys/filio.h>
++#endif
++
+ #include "uthash.h"
+ #include "ringbuffer.h"
+ #include "miniobj.h"


Home | Main Index | Thread Index | Old Index