From 48e31ca0f148a645392ea99ece64cf60f147012d Mon Sep 17 00:00:00 2001 From: Disassembler Date: Tue, 2 Oct 2018 14:29:17 +0200 Subject: [PATCH] Add metadata for all packages --- activemq/pkg | 2 +- basic-runtimes/alpine.pkg | 2 +- 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 ++-- build-all.sh | 41 ++++++++++++++++++++++++++++++++++++-- ckan-datapusher/pkg | 4 ++++ ckan/pkg | 2 +- crisiscleanup/pkg | 7 +++++++ cts/pkg | 7 +++++++ frontlinesms/pkg | 7 +++++++ gnuhealth/pkg | 7 +++++++ kanboard/pkg | 7 +++++++ mariadb/pkg | 4 ++++ mifosx/pkg | 7 +++++++ motech/pkg | 7 +++++++ opendatakit-build/pkg | 7 +++++++ opendatakit/pkg | 7 +++++++ openmapkit/pkg | 7 +++++++ pandora/pkg | 7 +++++++ postgres/pkg | 4 ++++ rabbitmq/pkg | 4 ++++ redis/pkg | 4 ++++ sahana-demo/pkg | 7 +++++++ sahana/pkg | 7 +++++++ sambro/pkg | 7 +++++++ seeddms/pkg | 7 +++++++ sigmah/pkg | 7 +++++++ solr/pkg | 4 ++++ ushahidi/pkg | 7 +++++++ 35 files changed, 201 insertions(+), 21 deletions(-) create mode 100644 ckan-datapusher/pkg create mode 100644 crisiscleanup/pkg create mode 100644 cts/pkg create mode 100644 frontlinesms/pkg create mode 100644 gnuhealth/pkg create mode 100644 kanboard/pkg create mode 100644 mariadb/pkg create mode 100644 mifosx/pkg create mode 100644 motech/pkg create mode 100644 opendatakit-build/pkg create mode 100644 opendatakit/pkg create mode 100644 openmapkit/pkg create mode 100644 pandora/pkg create mode 100644 postgres/pkg create mode 100644 rabbitmq/pkg create mode 100644 redis/pkg create mode 100644 sahana-demo/pkg create mode 100644 sahana/pkg create mode 100644 sambro/pkg create mode 100644 seeddms/pkg create mode 100644 sigmah/pkg create mode 100644 solr/pkg create mode 100644 ushahidi/pkg diff --git a/activemq/pkg b/activemq/pkg index d308e2a..f75a047 100644 --- a/activemq/pkg +++ b/activemq/pkg @@ -1,4 +1,4 @@ pkg: activemq lxcpath: activemq version: 0.0.1 -deps: shared-alpine shared-java +deps: java diff --git a/basic-runtimes/alpine.pkg b/basic-runtimes/alpine.pkg index 3404c3c..d20edc2 100644 --- a/basic-runtimes/alpine.pkg +++ b/basic-runtimes/alpine.pkg @@ -1,4 +1,4 @@ -pkg: shared-alpine +pkg: alpine lxcpath: shared/alpine version: 0.0.1 deps: diff --git a/basic-runtimes/java.pkg b/basic-runtimes/java.pkg index 4322039..997ed2d 100644 --- a/basic-runtimes/java.pkg +++ b/basic-runtimes/java.pkg @@ -1,4 +1,4 @@ -pkg: shared-java +pkg: java lxcpath: shared/java version: 0.0.1 -deps: shared-alpine +deps: alpine diff --git a/basic-runtimes/libxml.pkg b/basic-runtimes/libxml.pkg index 202b9ff..3db35f3 100644 --- a/basic-runtimes/libxml.pkg +++ b/basic-runtimes/libxml.pkg @@ -1,4 +1,4 @@ -pkg: shared-libxml +pkg: libxml lxcpath: shared/libxml version: 0.0.1 -deps: shared-alpine +deps: alpine diff --git a/basic-runtimes/nodejs.pkg b/basic-runtimes/nodejs.pkg index 5d863e8..3f3b31e 100644 --- a/basic-runtimes/nodejs.pkg +++ b/basic-runtimes/nodejs.pkg @@ -1,4 +1,4 @@ -pkg: shared-nodejs +pkg: nodejs lxcpath: shared/nodejs version: 0.0.1 -deps: shared-alpine +deps: alpine diff --git a/basic-runtimes/php.pkg b/basic-runtimes/php.pkg index d1839a5..44cc008 100644 --- a/basic-runtimes/php.pkg +++ b/basic-runtimes/php.pkg @@ -1,4 +1,4 @@ -pkg: shared-php +pkg: php lxcpath: shared/php version: 0.0.1 -deps: shared-alpine +deps: alpine diff --git a/basic-runtimes/python2.pkg b/basic-runtimes/python2.pkg index b588ee4..9bdd73e 100644 --- a/basic-runtimes/python2.pkg +++ b/basic-runtimes/python2.pkg @@ -1,4 +1,4 @@ -pkg: shared-python2 +pkg: python2 lxcpath: shared/python2 version: 0.0.1 -deps: shared-alpine shared-libxml +deps: libxml diff --git a/basic-runtimes/python3.pkg b/basic-runtimes/python3.pkg index 1327ccf..6a58df0 100644 --- a/basic-runtimes/python3.pkg +++ b/basic-runtimes/python3.pkg @@ -1,4 +1,4 @@ -pkg: shared-python3 +pkg: python3 lxcpath: shared/python3 version: 0.0.1 -deps: shared-alpine shared-libxml +deps: libxml diff --git a/basic-runtimes/ruby.pkg b/basic-runtimes/ruby.pkg index 19c14fc..1a384ae 100644 --- a/basic-runtimes/ruby.pkg +++ b/basic-runtimes/ruby.pkg @@ -1,4 +1,4 @@ -pkg: shared-ruby +pkg: ruby lxcpath: shared/ruby version: 0.0.1 -deps: shared-alpine +deps: alpine diff --git a/basic-runtimes/tomcat.pkg b/basic-runtimes/tomcat.pkg index 9cc7789..6719cd6 100644 --- a/basic-runtimes/tomcat.pkg +++ b/basic-runtimes/tomcat.pkg @@ -1,4 +1,4 @@ -pkg: shared-tomcat +pkg: tomcat lxcpath: shared/tomcat version: 0.0.1 -deps: shared-alpine shared-java +deps: java diff --git a/build-all.sh b/build-all.sh index e69a531..e021ebb 100755 --- a/build-all.sh +++ b/build-all.sh @@ -3,9 +3,10 @@ set -e SOURCE_DIR=$(realpath $(dirname "${0}")) -# Install build scripts -ln -s ${SOURCE_DIR}/zz-extra/lxc-build /usr/bin/lxc-build +# Install build and packaging scripts ln -s ${SOURCE_DIR}/zz-extra/fix-apk /usr/bin/fix-apk +ln -s ${SOURCE_DIR}/zz-extra/lxc-build /usr/bin/lxc-build +ln -s ${SOURCE_DIR}/zz-extra/lxc-pack /usr/bin/lxc-pack # Build basic Alpine LXC image mkdir -p /var/lib/lxc/shared/alpine @@ -49,3 +50,39 @@ lxc-build ${SOURCE_DIR}/seeddms lxc-build ${SOURCE_DIR}/sigmah lxc-build ${SOURCE_DIR}/solr lxc-build ${SOURCE_DIR}/ushahidi + +# Create packages +lxc-pack ${SOURCE_DIR}/basic-runtimes/java.pkg +lxc-pack ${SOURCE_DIR}/basic-runtimes/libxml.pkg +lxc-pack ${SOURCE_DIR}/basic-runtimes/php.pkg +lxc-pack ${SOURCE_DIR}/basic-runtimes/python2.pkg +lxc-pack ${SOURCE_DIR}/basic-runtimes/python3.pkg +lxc-pack ${SOURCE_DIR}/basic-runtimes/nodejs.pkg +lxc-pack ${SOURCE_DIR}/basic-runtimes/ruby.pkg +lxc-pack ${SOURCE_DIR}/basic-runtimes/tomcat.pkg + +lxc-pack ${SOURCE_DIR}/activemq +lxc-pack ${SOURCE_DIR}/ckan +lxc-pack ${SOURCE_DIR}/ckan-datapusher +lxc-pack ${SOURCE_DIR}/crisiscleanup +lxc-pack ${SOURCE_DIR}/cts +lxc-pack ${SOURCE_DIR}/frontlinesms +lxc-pack ${SOURCE_DIR}/gnuhealth +lxc-pack ${SOURCE_DIR}/kanboard +lxc-pack ${SOURCE_DIR}/mariadb +lxc-pack ${SOURCE_DIR}/mifosx +lxc-pack ${SOURCE_DIR}/motech +lxc-pack ${SOURCE_DIR}/opendatakit +lxc-pack ${SOURCE_DIR}/opendatakit-build +lxc-pack ${SOURCE_DIR}/openmapkit +lxc-pack ${SOURCE_DIR}/pandora +lxc-pack ${SOURCE_DIR}/postgres +lxc-pack ${SOURCE_DIR}/rabbitmq +lxc-pack ${SOURCE_DIR}/redis +lxc-pack ${SOURCE_DIR}/sahana +lxc-pack ${SOURCE_DIR}/sahana-demo +lxc-pack ${SOURCE_DIR}/sambro +lxc-pack ${SOURCE_DIR}/seeddms +lxc-pack ${SOURCE_DIR}/sigmah +lxc-pack ${SOURCE_DIR}/solr +lxc-pack ${SOURCE_DIR}/ushahidi diff --git a/ckan-datapusher/pkg b/ckan-datapusher/pkg new file mode 100644 index 0000000..e8a6794 --- /dev/null +++ b/ckan-datapusher/pkg @@ -0,0 +1,4 @@ +pkg: ckan-datapusher +lxcpath: ckan-datapusher +version: 0.0.1 +deps: python2 diff --git a/ckan/pkg b/ckan/pkg index 49e3271..d4cef9c 100644 --- a/ckan/pkg +++ b/ckan/pkg @@ -4,4 +4,4 @@ lxcpath: ckan desc: Datový sklad host: ckan version: 0.0.1 -deps: shared-alpine shared-libxml shared-python2 +deps: python2 ckan-datapusher postgres redis solr diff --git a/crisiscleanup/pkg b/crisiscleanup/pkg new file mode 100644 index 0000000..af37c09 --- /dev/null +++ b/crisiscleanup/pkg @@ -0,0 +1,7 @@ +pkg: crisicleanup +title: Crisis Cleanup +lxcpath: crisiscleanup +desc: Mapování následků katastrof +host: cc +version: 0.0.1 +deps: ruby nodejs libxml postgres diff --git a/cts/pkg b/cts/pkg new file mode 100644 index 0000000..c29f501 --- /dev/null +++ b/cts/pkg @@ -0,0 +1,7 @@ +pkg: cts +title: CTS +lxcpath: cts +desc: Sledovací systém komodit +host: cts +version: 0.0.1 +deps: python2 postgres diff --git a/frontlinesms/pkg b/frontlinesms/pkg new file mode 100644 index 0000000..dc9542a --- /dev/null +++ b/frontlinesms/pkg @@ -0,0 +1,7 @@ +pkg: frontlinesms +title: FrontlineSMS +lxcpath: frontlinesms +desc: Hromadné odesílání zpráv +host: sms +version: 0.0.1 +deps: java diff --git a/gnuhealth/pkg b/gnuhealth/pkg new file mode 100644 index 0000000..b26e761 --- /dev/null +++ b/gnuhealth/pkg @@ -0,0 +1,7 @@ +pkg: gnuhealth +title: GNU Health +lxcpath: gnuhealth +desc: Lékařské záznamy pacientů +host: gh +version: 0.0.1 +deps: python3 nodejs postgres diff --git a/kanboard/pkg b/kanboard/pkg new file mode 100644 index 0000000..84d347d --- /dev/null +++ b/kanboard/pkg @@ -0,0 +1,7 @@ +pkg: kanboard +title: KanBoard +lxcpath: kanboard +desc: Kanban řízení projektů +host: kb +version: 0.0.1 +deps: php postgres diff --git a/mariadb/pkg b/mariadb/pkg new file mode 100644 index 0000000..88fbf4a --- /dev/null +++ b/mariadb/pkg @@ -0,0 +1,4 @@ +pkg: mariadb +lxcpath: mariadb +version: 0.0.1 +deps: alpine diff --git a/mifosx/pkg b/mifosx/pkg new file mode 100644 index 0000000..8f6f64c --- /dev/null +++ b/mifosx/pkg @@ -0,0 +1,7 @@ +pkg: mifosx +title: Mifos X +lxcpath: mifosx +desc: Mikrofinancování rozvojových projektů +host: mifosx +version: 0.0.1 +deps: tomcat mariadb diff --git a/motech/pkg b/motech/pkg new file mode 100644 index 0000000..4786283 --- /dev/null +++ b/motech/pkg @@ -0,0 +1,7 @@ +pkg: motech +title: Motech +lxcpath: motech +desc: Automatizace komunikace +host: motech +version: 0.0.1 +deps: tomcat activemq postgres diff --git a/opendatakit-build/pkg b/opendatakit-build/pkg new file mode 100644 index 0000000..6d3da6c --- /dev/null +++ b/opendatakit-build/pkg @@ -0,0 +1,7 @@ +pkg: opendatakit-build +title: OpenDataKit Build +lxcpath: opendatakit-build +desc: Sběr formulářových dat - Aplikace pro návrh formulářů +host: odkbuild +version: 0.0.1 +deps: ruby nodejs postgres diff --git a/opendatakit/pkg b/opendatakit/pkg new file mode 100644 index 0000000..54a1909 --- /dev/null +++ b/opendatakit/pkg @@ -0,0 +1,7 @@ +pkg: opendatakit +title: OpenDataKit +lxcpath: opendatakit +desc: Sběr formulářových dat +host: odk +version: 0.0.1 +deps: tomcat postgres diff --git a/openmapkit/pkg b/openmapkit/pkg new file mode 100644 index 0000000..5ad12e3 --- /dev/null +++ b/openmapkit/pkg @@ -0,0 +1,7 @@ +pkg: openmapkit +title: OpenMapKit +lxcpath: openmapkit +desc: Sběr mapových dat +host: omk +version: 0.0.1 +deps: java python2 nodejs postgres diff --git a/pandora/pkg b/pandora/pkg new file mode 100644 index 0000000..c070659 --- /dev/null +++ b/pandora/pkg @@ -0,0 +1,7 @@ +pkg: pandora +title: Pan.do/ra +lxcpath: pandora +desc: Archiv medií +host: pandora +version: 0.0.1 +deps: python3 postgres rabbitmq diff --git a/postgres/pkg b/postgres/pkg new file mode 100644 index 0000000..9327bd1 --- /dev/null +++ b/postgres/pkg @@ -0,0 +1,4 @@ +pkg: postgres +lxcpath: postgres +version: 0.0.1 +deps: alpine diff --git a/rabbitmq/pkg b/rabbitmq/pkg new file mode 100644 index 0000000..efc7b2c --- /dev/null +++ b/rabbitmq/pkg @@ -0,0 +1,4 @@ +pkg: rabbitmq +lxcpath: rabbitmq +version: 0.0.1 +deps: alpine diff --git a/redis/pkg b/redis/pkg new file mode 100644 index 0000000..b1cc047 --- /dev/null +++ b/redis/pkg @@ -0,0 +1,4 @@ +pkg: redis +lxcpath: redis +version: 0.0.1 +deps: alpine diff --git a/sahana-demo/pkg b/sahana-demo/pkg new file mode 100644 index 0000000..77ba103 --- /dev/null +++ b/sahana-demo/pkg @@ -0,0 +1,7 @@ +pkg: sahana-demo +title: Sahana Eden - Demo +lxcpath: sahana-demo +desc: Řízení humanítární činnosti - Ukázková instance +host: sahana-demo +version: 0.0.1 +deps: python2 sahana postgres diff --git a/sahana/pkg b/sahana/pkg new file mode 100644 index 0000000..cf13079 --- /dev/null +++ b/sahana/pkg @@ -0,0 +1,7 @@ +pkg: sahana +title: Sahana Eden +lxcpath: sahana +desc: Řízení humanítární činnosti +host: sahana +version: 0.0.1 +deps: python2 postgres diff --git a/sambro/pkg b/sambro/pkg new file mode 100644 index 0000000..52bc8d1 --- /dev/null +++ b/sambro/pkg @@ -0,0 +1,7 @@ +pkg: sambro +title: Sahana Eden - SAMBRO +lxcpath: sambro +desc: Centrum hlášení a výstrah +host: sambro +version: 0.0.1 +deps: python2 sahana postgres diff --git a/seeddms/pkg b/seeddms/pkg new file mode 100644 index 0000000..da50d1a --- /dev/null +++ b/seeddms/pkg @@ -0,0 +1,7 @@ +pkg: seeddms +title: SeedDMS +lxcpath: seeddms +desc: Archiv dokumentace +host: dms +version: 0.0.1 +deps: php python3 postgres diff --git a/sigmah/pkg b/sigmah/pkg new file mode 100644 index 0000000..97545aa --- /dev/null +++ b/sigmah/pkg @@ -0,0 +1,7 @@ +pkg: sigmah +title: Sigmah +lxcpath: sigmah +desc: Finanční řízení sbírek +host: sigmah +version: 0.0.1 +deps: tomcat postgres diff --git a/solr/pkg b/solr/pkg new file mode 100644 index 0000000..5f10fda --- /dev/null +++ b/solr/pkg @@ -0,0 +1,4 @@ +pkg: solr +lxcpath: solr +version: 0.0.1 +deps: alpine diff --git a/ushahidi/pkg b/ushahidi/pkg new file mode 100644 index 0000000..7ac6a46 --- /dev/null +++ b/ushahidi/pkg @@ -0,0 +1,7 @@ +pkg: ushahidi +title: Ushahidi +lxcpath: ushahidi +desc: Skupinová reakce na události +host: ush +version: 0.0.1 +deps: php mariadb