diff options
author | Joan Touzet <wohali@users.noreply.github.com> | 2017-04-17 15:15:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-17 15:15:44 -0400 |
commit | 7547e7fbcfb2ac8e3cfe3de98c225a8208fb1af7 (patch) | |
tree | 8e47057cea9404fb8947edc66532e078d9718e52 | |
parent | cb823dd48a3bada25c230705db3b6f0a2500afbe (diff) | |
parent | 8af1faf48b50d3575b45538e4f47c25ffff88bd4 (diff) | |
download | couchdb-7547e7fbcfb2ac8e3cfe3de98c225a8208fb1af7.tar.gz |
Merge pull request #473 from mhall119/snap-from-source
Move snap files to couchdb-pkg repo
-rw-r--r-- | snapcfg/snap.ini | 10 | ||||
-rwxr-xr-x | snapcfg/snap_run | 9 | ||||
-rw-r--r-- | snapcraft.yaml | 81 |
3 files changed, 0 insertions, 100 deletions
diff --git a/snapcfg/snap.ini b/snapcfg/snap.ini deleted file mode 100644 index 3170cb193..000000000 --- a/snapcfg/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/snapcfg/snap_run b/snapcfg/snap_run deleted file mode 100755 index e4b1ce58c..000000000 --- a/snapcfg/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/snapcraft.yaml b/snapcraft.yaml deleted file mode 100644 index 585fd2cba..000000000 --- a/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: ./snapcfg/ - 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 - |