Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1255064c19579b0f7fe4b3d27038902f25c5dd1e)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1255064c19579b0f7fe4b3d27038902f25c5dd1e)
  • Date: Sun, 24 Feb 2019 22:08:01 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 4 ++++
accounts | 1 +
groups | 1 +
net/hitch/BUILD | 5 +++++
net/hitch/CONFIGURE | 3 +++
net/hitch/DEPENDS | 4 ++++
net/hitch/DETAILS | 25 +++++++++++++++++++++++++
net/hitch/HISTORY | 3 +++
net/hitch/INSTALL | 12 ++++++++++++
net/hitch/init.d/hitch | 17 +++++++++++++++++
net/hitch/init.d/hitch.conf | 3 +++
11 files changed, 78 insertions(+)

New commits:
commit 1255064c19579b0f7fe4b3d27038902f25c5dd1e
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

hitch: new spell, scalable TLS proxy

commit 2d6d96d2d3fc593d587eba50bf0184a547f4167f
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

accounts, groups: added account data for hitch spell

diff --git a/ChangeLog b/ChangeLog
index a45f600..a63a7ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-02-24 Vlad Glagolev <stealth AT sourcemage.org>
+ * accounts, groups: added account data for hitch spell
+ * net/hitch: new spell, scalable TLS proxy
+
2019-02-24 Treeve Jelbert <treeve AT sourcemage.org>
* smgl/smgl/openrc: added, a modern init system

diff --git a/accounts b/accounts
index 6d9b1fe..77b738b 100755
--- a/accounts
+++ b/accounts
@@ -113,4 +113,5 @@ varnish:208:208
bird:209:209
netdata:210:210
rslsync:211:211
+hitch:213:213
nobody:65534:65534
diff --git a/groups b/groups
index 4680cc1..bc871c1 100755
--- a/groups
+++ b/groups
@@ -140,5 +140,6 @@ bird:209:
netdata:210:
rslsync:211:
kvm:212:
+hitch:213:
users:1000:
nogroup:65534:
diff --git a/net/hitch/BUILD b/net/hitch/BUILD
new file mode 100755
index 0000000..84c5dda
--- /dev/null
+++ b/net/hitch/BUILD
@@ -0,0 +1,5 @@
+OPTS="${HITCH_OPTS} ${OPTS}" &&
+
+create_account hitch &&
+
+default_build
diff --git a/net/hitch/CONFIGURE b/net/hitch/CONFIGURE
new file mode 100755
index 0000000..38175fb
--- /dev/null
+++ b/net/hitch/CONFIGURE
@@ -0,0 +1,3 @@
+config_query_option HITCH_OPTS "Enable TLS session cache?" n \
+ "--enable-sessioncache" \
+ "--disable-sessioncache"
diff --git a/net/hitch/DEPENDS b/net/hitch/DEPENDS
new file mode 100755
index 0000000..0e006de
--- /dev/null
+++ b/net/hitch/DEPENDS
@@ -0,0 +1,4 @@
+depends SSL &&
+depends libev &&
+
+optional_depends docutils "" "" "to generate manual pages"
diff --git a/net/hitch/DETAILS b/net/hitch/DETAILS
new file mode 100755
index 0000000..1bc95ae
--- /dev/null
+++ b/net/hitch/DETAILS
@@ -0,0 +1,25 @@
+ SPELL=hitch
+ VERSION=1.5.0
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://hitch-tls.org/source/${SOURCE}
+
SOURCE_HASH=sha512:17991d9a82635456fcd0cebf0f1b067183bc0a02eaf0d1437ba3369674a2a9880ca8774afde984710123c46b472bdbe3b1bf6770e7475d5d24170a7674a48be5
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://hitch-tls.org/
+ LICENSE[0]=BSD
+ ENTERED=20190224
+ SHORT="scalable TLS proxy"
+cat << EOF
+Hitch is a libev-based high performance SSL/TLS proxy by Varnish Software.
+
+Features:
+- ALPN/NPN for HTTP/2
+- Support for TLS1.2 and TLS1.3 and legacy TLS 1.0/1.1
+- SNI, with and without wildcard certificates
+- Automatic OCSP stapling support
+- PROXY protocol to signal client IP/port to backend
+- Supports UNIX domain socket connections to origin
+- Safe for large installations: performant up to 15000 listening sockets and
+ 500000 certificates
+- Support for seamless run-time configuration reloads of certificates and
+ listen endpoints
+EOF
diff --git a/net/hitch/HISTORY b/net/hitch/HISTORY
new file mode 100644
index 0000000..e118494
--- /dev/null
+++ b/net/hitch/HISTORY
@@ -0,0 +1,3 @@
+2019-02-24 Vlad Glagolev <stealth AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL, CONFIGURE, init.d/hitch{,.conf}:
+ created spell, version 1.5.0
diff --git a/net/hitch/INSTALL b/net/hitch/INSTALL
new file mode 100755
index 0000000..5fd6ef1
--- /dev/null
+++ b/net/hitch/INSTALL
@@ -0,0 +1,12 @@
+default_install &&
+
+install_config_file "${SOURCE_DIRECTORY}/hitch.conf.example" \
+ "${INSTALL_ROOT}/etc/hitch.conf" &&
+
+# OCSP stapling directory
+install -vm 750 -o hitch -g hitch -d "${INSTALL_ROOT}/var/lib/hitch" &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/hitch.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/hitch"
+fi
diff --git a/net/hitch/init.d/hitch b/net/hitch/init.d/hitch
new file mode 100755
index 0000000..95643b9
--- /dev/null
+++ b/net/hitch/init.d/hitch
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+. /etc/sysconfig/hitch
+
+PROGRAM=/usr/sbin/hitch
+PIDFILE=/var/run/hitch.pid
+ARGS="--daemon -u hitch -g hitch -s --config=/etc/hitch.conf
--pidfile=${PIDFILE} ${HITCH_ARGS}"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
+
+stop() {
+ _stop
+
+ rm -f "${PIDFILE}"
+}
diff --git a/net/hitch/init.d/hitch.conf b/net/hitch/init.d/hitch.conf
new file mode 100644
index 0000000..17c1b16
--- /dev/null
+++ b/net/hitch/init.d/hitch.conf
@@ -0,0 +1,3 @@
+# For arguments and description see hitch(8)
+
+HITCH_ARGS=""



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1255064c19579b0f7fe4b3d27038902f25c5dd1e), Vlad Glagolev, 02/24/2019

Archive powered by MHonArc 2.6.24.

Top of Page