aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/recipes/015_strongTNC.mk
diff options
context:
space:
mode:
Diffstat (limited to 'testing/scripts/recipes/015_strongTNC.mk')
-rw-r--r--testing/scripts/recipes/015_strongTNC.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/scripts/recipes/015_strongTNC.mk b/testing/scripts/recipes/015_strongTNC.mk
new file mode 100644
index 000000000..6746b9145
--- /dev/null
+++ b/testing/scripts/recipes/015_strongTNC.mk
@@ -0,0 +1,17 @@
+#!/usr/bin/make
+
+PKG = strongTNC
+ZIP = $(PKG)-master.zip
+SRC = https://github.com/strongswan/$(PKG)/archive/master.zip
+
+all: install
+
+$(ZIP):
+ wget --ca-directory=/usr/share/ca-certificates/mozilla/ $(SRC) -O $(ZIP)
+
+$(PKG)-master: $(ZIP)
+ unzip -u $(ZIP)
+
+install: $(PKG)-master
+ cd $(PKG)-master && pip install -r requirements.txt
+ cp -r $(PKG)-master /var/www/tnc && chgrp -R www-data /var/www/tnc