diff options
author | Joan Touzet <joant@atypical.net> | 2017-04-29 19:52:26 -0400 |
---|---|---|
committer | Joan Touzet <joant@atypical.net> | 2017-04-29 19:52:26 -0400 |
commit | 8e83c42c1c438ca16e551077904624d027ca5760 (patch) | |
tree | 2ce1f71f6aec0cf5fb8426eefa1bff851b7c7a86 | |
parent | c40b232157e275056c5c949d90e0ae185345c6f3 (diff) | |
download | couchdb-8e83c42c1c438ca16e551077904624d027ca5760.tar.gz |
snap --> couchdb-pkg repo
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | rel/snap.ini | 10 | ||||
-rwxr-xr-x | rel/snap_run | 9 | ||||
-rw-r--r-- | rel/snapcraft.yaml | 47 |
4 files changed, 0 insertions, 71 deletions
@@ -203,11 +203,6 @@ introspect: @$(REBAR) -r update-deps @./introspect -.PHONY: snap -# target: snap - Build Snap package -snap: - @snapcraft snap - ################################################################################ # Distributing ################################################################################ diff --git a/rel/snap.ini b/rel/snap.ini deleted file mode 100644 index 3170cb193..000000000 --- a/rel/snap.ini +++ /dev/null @@ -1,10 +0,0 @@ -; Snap-specific Configuration Settings - -[couchdb] -database_dir = /var/snap/couchdb/common/data -view_index_dir = /var/snap/couchdb/common/data - -[log] -writer = file -file = /var/snap/couchdb/current/couchdb.log -;level = info diff --git a/rel/snap_run b/rel/snap_run deleted file mode 100755 index 59e447a18..000000000 --- a/rel/snap_run +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -export HOME= -export ERL_FLAGS="-couch_ini ${SNAP}/couchdb/etc/default.ini ${SNAP}/couchdb/etc/snap.ini ${SNAP_DATA}/local.ini" -if [ ! -e ${SNAP_DATA}/local.ini ]; then - touch ${SNAP_DATA}/local.ini -fi - -exec ${SNAP}/couchdb/bin/couchdb diff --git a/rel/snapcraft.yaml b/rel/snapcraft.yaml deleted file mode 100644 index 106880700..000000000 --- a/rel/snapcraft.yaml +++ /dev/null @@ -1,47 +0,0 @@ -name: couchdb -version: 2.0.0 -summary: Document based database -description: CouchDB is a database that completely embraces the web. Store your data with JSON documents. Access your documents and query your indexes with your web browser, via HTTP. Index, combine, and transform your documents with JavaScript. -confinement: strict -grade: stable - -apps: - couchdb: - daemon: simple - command: snap_run - plugs: [network-bind, browser-support, mount-observe] - run: - command: snap_run - plugs: [network-bind, browser-support, mount-observe] -parts: - couchdb: - plugin: dump - source: . - organize: - snap.ini: couchdb/etc/snap.ini - snap_run: bin/snap_run - stage: - - couchdb - - bin - snap: - - couchdb - - bin - erlang: - plugin: nil - stage-packages: - - erlang-base-hipe - - erlang-crypto - - erlang-eunit - - erlang-inets - - erlang-os-mon - - erlang-public-key - - erlang-ssl - - erlang-syntax-tools - - erlang-tools - - erlang-xmerl - - libc6 - - libcurl3 - - libgcc1 - - libicu55 - - libmozjs185-1.0 - - libstdc++6 |