From 81c63b0eed39432878f78727f60a1e7499645199 Mon Sep 17 00:00:00 2001 From: Yves-Alexis Perez Date: Fri, 11 Jul 2014 07:23:31 +0200 Subject: Imported Upstream version 5.2.0 --- testing/scripts/recipes/014_swid_generator.mk | 16 ++++++++++++++++ testing/scripts/recipes/015_strongTNC.mk | 22 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 testing/scripts/recipes/014_swid_generator.mk create mode 100644 testing/scripts/recipes/015_strongTNC.mk (limited to 'testing/scripts/recipes') diff --git a/testing/scripts/recipes/014_swid_generator.mk b/testing/scripts/recipes/014_swid_generator.mk new file mode 100644 index 000000000..589146906 --- /dev/null +++ b/testing/scripts/recipes/014_swid_generator.mk @@ -0,0 +1,16 @@ +#!/usr/bin/make + +PKG = swidGenerator +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 $(ZIP) + +install: $(PKG)-master + cd $(PKG)-master && python setup.py install diff --git a/testing/scripts/recipes/015_strongTNC.mk b/testing/scripts/recipes/015_strongTNC.mk new file mode 100644 index 000000000..cc4a94a0b --- /dev/null +++ b/testing/scripts/recipes/015_strongTNC.mk @@ -0,0 +1,22 @@ +#!/usr/bin/make + +PKG = strongTNC +ZIP = $(PKG)-master.zip +SRC = https://github.com/strongswan/$(PKG)/archive/master.zip +DEPS = $(PKG)-deps + +all: install + +$(ZIP): + wget --ca-directory=/usr/share/ca-certificates/mozilla/ $(SRC) -O $(ZIP) + +$(PKG)-master: $(ZIP) + unzip -u $(ZIP) + +$(DEPS): $(PKG)-master + mkdir -p $(DEPS) + pip install --download $(DEPS) -r $(PKG)-master/requirements.txt + +install: $(DEPS) + pip install --no-index --find-links=file://`pwd`/$(DEPS) -r $(PKG)-master/requirements.txt + cp -r $(PKG)-master /var/www/tnc && chgrp -R www-data /var/www/tnc && chmod g+w /var/www/tnc /var/www/tnc/django.db -- cgit v1.2.3