From b3cde0cdc8f1047a1b994ba08cc2d627cd768945 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Tue, 2 Oct 2018 13:00:17 +0200 Subject: [PATCH] Add a bunch of package descriptors for testing --- activemq/pkg | 4 ++++ basic-runtimes/alpine.pkg | 4 ++++ basic-runtimes/java.pkg | 4 ++++ basic-runtimes/libxml.pkg | 4 ++++ basic-runtimes/nodejs.pkg | 4 ++++ basic-runtimes/php.pkg | 4 ++++ basic-runtimes/python2.pkg | 4 ++++ basic-runtimes/python3.pkg | 4 ++++ basic-runtimes/ruby.pkg | 4 ++++ basic-runtimes/tomcat.pkg | 4 ++++ ckan/pkg | 7 +++++++ zz-extra/lxc-pack | 4 ---- 12 files changed, 47 insertions(+), 4 deletions(-) create mode 100644 activemq/pkg create mode 100644 basic-runtimes/alpine.pkg create mode 100644 basic-runtimes/java.pkg create mode 100644 basic-runtimes/libxml.pkg create mode 100644 basic-runtimes/nodejs.pkg create mode 100644 basic-runtimes/php.pkg create mode 100644 basic-runtimes/python2.pkg create mode 100644 basic-runtimes/python3.pkg create mode 100644 basic-runtimes/ruby.pkg create mode 100644 basic-runtimes/tomcat.pkg create mode 100644 ckan/pkg diff --git a/activemq/pkg b/activemq/pkg new file mode 100644 index 0000000..d308e2a --- /dev/null +++ b/activemq/pkg @@ -0,0 +1,4 @@ +pkg: activemq +lxcpath: activemq +version: 0.0.1 +deps: shared-alpine shared-java diff --git a/basic-runtimes/alpine.pkg b/basic-runtimes/alpine.pkg new file mode 100644 index 0000000..3404c3c --- /dev/null +++ b/basic-runtimes/alpine.pkg @@ -0,0 +1,4 @@ +pkg: shared-alpine +lxcpath: shared/alpine +version: 0.0.1 +deps: diff --git a/basic-runtimes/java.pkg b/basic-runtimes/java.pkg new file mode 100644 index 0000000..4322039 --- /dev/null +++ b/basic-runtimes/java.pkg @@ -0,0 +1,4 @@ +pkg: shared-java +lxcpath: shared/java +version: 0.0.1 +deps: shared-alpine diff --git a/basic-runtimes/libxml.pkg b/basic-runtimes/libxml.pkg new file mode 100644 index 0000000..202b9ff --- /dev/null +++ b/basic-runtimes/libxml.pkg @@ -0,0 +1,4 @@ +pkg: shared-libxml +lxcpath: shared/libxml +version: 0.0.1 +deps: shared-alpine diff --git a/basic-runtimes/nodejs.pkg b/basic-runtimes/nodejs.pkg new file mode 100644 index 0000000..5d863e8 --- /dev/null +++ b/basic-runtimes/nodejs.pkg @@ -0,0 +1,4 @@ +pkg: shared-nodejs +lxcpath: shared/nodejs +version: 0.0.1 +deps: shared-alpine diff --git a/basic-runtimes/php.pkg b/basic-runtimes/php.pkg new file mode 100644 index 0000000..d1839a5 --- /dev/null +++ b/basic-runtimes/php.pkg @@ -0,0 +1,4 @@ +pkg: shared-php +lxcpath: shared/php +version: 0.0.1 +deps: shared-alpine diff --git a/basic-runtimes/python2.pkg b/basic-runtimes/python2.pkg new file mode 100644 index 0000000..b588ee4 --- /dev/null +++ b/basic-runtimes/python2.pkg @@ -0,0 +1,4 @@ +pkg: shared-python2 +lxcpath: shared/python2 +version: 0.0.1 +deps: shared-alpine shared-libxml diff --git a/basic-runtimes/python3.pkg b/basic-runtimes/python3.pkg new file mode 100644 index 0000000..1327ccf --- /dev/null +++ b/basic-runtimes/python3.pkg @@ -0,0 +1,4 @@ +pkg: shared-python3 +lxcpath: shared/python3 +version: 0.0.1 +deps: shared-alpine shared-libxml diff --git a/basic-runtimes/ruby.pkg b/basic-runtimes/ruby.pkg new file mode 100644 index 0000000..19c14fc --- /dev/null +++ b/basic-runtimes/ruby.pkg @@ -0,0 +1,4 @@ +pkg: shared-ruby +lxcpath: shared/ruby +version: 0.0.1 +deps: shared-alpine diff --git a/basic-runtimes/tomcat.pkg b/basic-runtimes/tomcat.pkg new file mode 100644 index 0000000..9cc7789 --- /dev/null +++ b/basic-runtimes/tomcat.pkg @@ -0,0 +1,4 @@ +pkg: shared-tomcat +lxcpath: shared/tomcat +version: 0.0.1 +deps: shared-alpine shared-java diff --git a/ckan/pkg b/ckan/pkg new file mode 100644 index 0000000..49e3271 --- /dev/null +++ b/ckan/pkg @@ -0,0 +1,7 @@ +pkg: ckan +title: CKAN +lxcpath: ckan +desc: DatovĂ˝ sklad +host: ckan +version: 0.0.1 +deps: shared-alpine shared-libxml shared-python2 diff --git a/zz-extra/lxc-pack b/zz-extra/lxc-pack index 41bd1ec..0026676 100755 --- a/zz-extra/lxc-pack +++ b/zz-extra/lxc-pack @@ -1,9 +1,5 @@ #!/usr/bin/python3 -# How to create packaging key: -# openssl ecparam -genkey -name secp384r1 -out /root/buildroot/packages.key -# openssl ec -in /root/buildroot/packages.key -pubout -out /root/buildroot/packages.pub - import hashlib import json import os