Test SWID REST API ins tnc/tnccs-20-pdp scenarios
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user