couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxepal <...@git.apache.org>
Subject [GitHub] couchdb pull request #460: Change snap packaging to build from source
Date Mon, 20 Mar 2017 14:50:07 GMT
Github user kxepal commented on a diff in the pull request:

    https://github.com/apache/couchdb/pull/460#discussion_r106920400
  
    --- Diff: snapcraft.yaml ---
    @@ -0,0 +1,81 @@
    +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
    --- End diff --
    
    Wonder why two nodejs here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message