summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-11-20 12:51:36 -0800
committerMichael Forney <mforney@mforney.org>2019-11-25 20:41:40 -0800
commit49c82b4adaa5e773af05aa6fd9172757b3c25d4c (patch)
tree111d4232e3c2cc195d577f8a7a43dc8c1777ebaf
parent4b4af15f94153bc9a4fc9e546715c57ab9738671 (diff)
Add pounce 1.0
-rw-r--r--.gitmodules3
-rw-r--r--pkg/gen.lua1
-rw-r--r--pkg/pounce/gen.lua26
m---------pkg/pounce/src0
-rw-r--r--pkg/pounce/ver1
-rw-r--r--sets.lua1
6 files changed, 32 insertions, 0 deletions
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
+Subproject 3051555d4e7975bcc05a9fef86b4016637a1483
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',
},