From 49c82b4adaa5e773af05aa6fd9172757b3c25d4c Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 20 Nov 2019 12:51:36 -0800 Subject: Add pounce 1.0 --- .gitmodules | 3 +++ pkg/gen.lua | 1 + pkg/pounce/gen.lua | 26 ++++++++++++++++++++++++++ pkg/pounce/src | 1 + pkg/pounce/ver | 1 + sets.lua | 1 + 6 files changed, 33 insertions(+) create mode 100644 pkg/pounce/gen.lua create mode 160000 pkg/pounce/src create mode 100644 pkg/pounce/ver diff --git a/.gitmodules b/.gitmodules index 318cfba3..c1f0279c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -216,6 +216,9 @@ path = pkg/pixman/src url = https://anongit.freedesktop.org/git/pixman.git ignore = all +[submodule "pkg/pounce/src"] + path = pkg/pounce/src + url = https://code.causal.agency/june/pounce.git [submodule "pkg/qbe/src"] path = pkg/qbe/src url = git://c9x.me/qbe.git diff --git a/pkg/gen.lua b/pkg/gen.lua index 613765ec..40f93dc7 100644 --- a/pkg/gen.lua +++ b/pkg/gen.lua @@ -74,6 +74,7 @@ subgen 'pcre' subgen 'perp' subgen 'pigz' subgen 'pixman' +subgen 'pounce' subgen 'python' subgen 'qbe' subgen 'rc' diff --git a/pkg/pounce/gen.lua b/pkg/pounce/gen.lua new file mode 100644 index 00000000..c9ff905e --- /dev/null +++ b/pkg/pounce/gen.lua @@ -0,0 +1,26 @@ +cflags{ + '-std=c11', '-Wall', '-Wextra', '-Wpedantic', + '-D _GNU_SOURCE', + '-I $builddir/pkg/libressl/include', +} + +exe('pounce', { + 'bounce.c', + 'client.c', + 'config.c', + 'local.c', + 'ring.c', + 'server.c', + 'state.c', + '$builddir/pkg/libressl/libtls.a.d', +}) +file('bin/pounce', '755', '$outdir/pounce') +man{'pounce.1'} + +exe('calico', { + 'dispatch.c', +}) +file('bin/calico', '755', '$outdir/calico') +man{'calico.1'} + +fetch 'git' diff --git a/pkg/pounce/src b/pkg/pounce/src new file mode 160000 index 00000000..3051555d --- /dev/null +++ b/pkg/pounce/src @@ -0,0 +1 @@ +Subproject commit 3051555d4e7975bcc05a9fef86b4016637a14832 diff --git a/pkg/pounce/ver b/pkg/pounce/ver new file mode 100644 index 00000000..998d63f0 --- /dev/null +++ b/pkg/pounce/ver @@ -0,0 +1 @@ +1.0-10-g3051555 r0 diff --git a/sets.lua b/sets.lua index 5ef80b4e..0c687423 100644 --- a/sets.lua +++ b/sets.lua @@ -62,6 +62,7 @@ return { 'msmtp', 'nginx', 'nsd', + 'pounce', 'sshfs', 'transmission', }, -- cgit v1.2.3