diff options
author | Michael Hall <mhall119@ubuntu.com> | 2017-04-06 22:11:12 -0400 |
---|---|---|
committer | Michael Hall <mhall119@ubuntu.com> | 2017-04-06 22:11:12 -0400 |
commit | 8af1faf48b50d3575b45538e4f47c25ffff88bd4 (patch) | |
tree | 774fa5732472f60a371a43ebc574b4e1a46bd67d | |
parent | 75cec8654e0f5816511a829b437df0471dca9684 (diff) | |
download | couchdb-8af1faf48b50d3575b45538e4f47c25ffff88bd4.tar.gz |
Remove snap packaging, it lives in https://github.com/apache/couchdb-pkg.git now
-rw-r--r-- | snap/snap.ini | 10 | ||||
-rwxr-xr-x | snap/snap_run | 9 | ||||
-rw-r--r-- | snap/snapcraft.yaml | 81 |
3 files changed, 0 insertions, 100 deletions
diff --git a/snap/snap.ini b/snap/snap.ini deleted file mode 100644 index 3170cb193..000000000 --- a/snap/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/snap/snap_run b/snap/snap_run deleted file mode 100755 index e4b1ce58c..000000000 --- a/snap/snap_run +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -export HOME=$SNAP_DATA -export ERL_FLAGS="-couch_ini ${SNAP}/rel/couchdb/etc/default.ini ${SNAP}/rel/couchdb/etc/snap.ini ${SNAP_DATA}/local.ini" -if [ ! -e ${SNAP_DATA}/local.ini ]; then - touch ${SNAP_DATA}/local.ini -fi - -exec ${SNAP}/rel/couchdb/bin/couchdb diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml deleted file mode 100644 index b1d44361a..000000000 --- a/snap/snapcraft.yaml +++ /dev/null @@ -1,81 +0,0 @@ -name: couchdb -version: 2.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: - server: - daemon: simple - command: rel/couchdb/bin/snap_run - plugs: [network-bind, process-control, mount-observe] - couchdb: - command: rel/couchdb/bin/snap_run - plugs: [network-bind] -parts: - couchdb: - plugin: make - source: . - prepare: | - ./configure --disable-docs - build: | - make release - cp -ra ./rel $SNAPCRAFT_PART_INSTALL - cp -ra ./bin $SNAPCRAFT_PART_INSTALL - build-packages: - - binutils - - libc6-dev - - gcc - - g++ - - make - - erlang-dev - - erlang-base-hipe - - erlang-reltool - - libcurl4-openssl-dev - - libmozjs185-dev - - libnspr4-dev - - libicu-dev - - icu-devtools - # For erlang/rebar processing - - erlang-nox - - erlang-os-mon - - erlang-syntax-tools - # For fauxton - - nodejs-dev - - nodejs-legacy - - npm - stage: - - rel - - bin - prime: - - rel - - bin - - snap-config: - plugin: dump - source: ./snap/ - organize: - snap.ini: rel/couchdb/etc/snap.ini - snap_run: rel/couchdb/bin/snap_run - - 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 - |