dot

packages and services management
Log | Files | Refs | README

commit 04ca9a2271f3992444c564205f0531e76d5bbba5
parent 30de74b1b57ceb508e569b816976bdcc4f3fd861
Author: Josuah Demangeon <mail@josuah.net>
Date:   Fri, 23 Nov 2018 01:33:26 +0100

s6/*: replace HOST by BIND for servers, HOST is for clients

Diffstat:
Mbin/grep-r | 2--
Rs6/ffingerd-tcp/x/env/HOST -> s6/ffingerd-tcp/x/env/BIND | 0
Rs6/geomyidae/4/env/IPV -> s6/geomyidae/ipv4/env/IPV | 0
Rs6/geomyidae/6/env/IPV -> s6/geomyidae/ipv6/env/IPV | 0
Rs6/geomyidae/x/env/HOST -> s6/geomyidae/x/env/BIND | 0
Rs6/git-daemon/x/env/HOST -> s6/git-daemon/x/env/BIND | 0
Rs6/httpfile/x/env/HOST -> s6/httpfile/x/env/BIND | 0
Rs6/ntpclient/x/env/HOST -> s6/ntpclient/x/env/BIND | 0
Rs6/qmail-pop3d/x/env/HOST -> s6/qmail-pop3d/x/env/BIND | 0
Rs6/qmail-smtpd/x/env/HOST -> s6/qmail-smtpd/x/env/BIND | 0
Rs6/tapio/server/env/HOST -> s6/tapio/server/env/BIND | 0
Rs6/tinysshd/x/env/HOST -> s6/tinysshd/x/env/BIND | 0
As6/warp-vpn/client/run | 8++++++++
Rs6/ffingerd-tcp/x/env/HOST -> s6/warp-vpn/server/env/BIND | 0
As6/warp-vpn/server/run | 8++++++++
As6/warp-vpn/x/env/DEVTYPE | 1+
As6/warp-vpn/x/env/PORT | 1+
As6/warp-vpn/x/type | 1+
18 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/bin/grep-r b/bin/grep-r @@ -12,6 +12,4 @@ done pattern=$1 shift; -echo "$@" - find "$@" -type f -exec grep $args "$pattern" {} + diff --git a/s6/ffingerd-tcp/x/env/HOST b/s6/ffingerd-tcp/x/env/BIND diff --git a/s6/geomyidae/4/env/IPV b/s6/geomyidae/ipv4/env/IPV diff --git a/s6/geomyidae/6/env/IPV b/s6/geomyidae/ipv6/env/IPV diff --git a/s6/geomyidae/x/env/HOST b/s6/geomyidae/x/env/BIND diff --git a/s6/git-daemon/x/env/HOST b/s6/git-daemon/x/env/BIND diff --git a/s6/httpfile/x/env/HOST b/s6/httpfile/x/env/BIND diff --git a/s6/ntpclient/x/env/HOST b/s6/ntpclient/x/env/BIND diff --git a/s6/qmail-pop3d/x/env/HOST b/s6/qmail-pop3d/x/env/BIND diff --git a/s6/qmail-smtpd/x/env/HOST b/s6/qmail-smtpd/x/env/BIND diff --git a/s6/tapio/server/env/HOST b/s6/tapio/server/env/BIND diff --git a/s6/tinysshd/x/env/HOST b/s6/tinysshd/x/env/BIND diff --git a/s6/warp-vpn/client/run b/s6/warp-vpn/client/run @@ -0,0 +1,8 @@ +#!/usr/bin/env execlineb +fdmove -c 2 1 s6-envdir env multisubstitute { + importas HOST HOST + importas PORT PORT + importas DEVTYPE DEVTYPE +} + +warp-vpn -d -h $HOST -t $DEVTYPE diff --git a/s6/ffingerd-tcp/x/env/HOST b/s6/warp-vpn/server/env/BIND diff --git a/s6/warp-vpn/server/run b/s6/warp-vpn/server/run @@ -0,0 +1,8 @@ +#!/usr/bin/env execlineb +fdmove -c 2 1 s6-envdir env multisubstitute { + importas HOST HOST + importas PORT PORT + importas DEVTYPE DEVTYPE +} + +warp-vpn -d -b $HOST -t $DEVTYPE diff --git a/s6/warp-vpn/x/env/DEVTYPE b/s6/warp-vpn/x/env/DEVTYPE @@ -0,0 +1 @@ +tun diff --git a/s6/warp-vpn/x/env/PORT b/s6/warp-vpn/x/env/PORT @@ -0,0 +1 @@ +12080 diff --git a/s6/warp-vpn/x/type b/s6/warp-vpn/x/type @@ -0,0 +1 @@ +longrun