mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 11:56:31 +02:00
0a56d83d3d
This adds [snap](https://snapcraft.io) packaging to the project. See the link for more information on snaps. Snap packages install on all Linux distributions. On Ubuntu, snap confinement with apparmor and seccomp provide an additional layer of security. This snap sets up monerod as a systemd service, which should start immediately on install. To access the wallet CLI, simply run `monero` (/snap/bin/monero). I think it's a really quick & easy way to get started with monero. I've made some opinionated decisions in the packaging just to kick this off, but I'm happy to iterate on this stuff.
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
name: monero
|
|
version: 0 # TODO: change this to release version in CI builds
|
|
summary: "Monero: the secure, private, untraceable cryptocurrency https://getmonero.org"
|
|
description: |
|
|
Monero is a private, secure, untraceable, decentralised digital currency.
|
|
You are your bank, you control your funds, and nobody can trace your transfers
|
|
unless you allow them to do so.
|
|
grade: devel
|
|
confinement: strict
|
|
|
|
apps:
|
|
d:
|
|
daemon: forking
|
|
command: daemon.bash
|
|
plugs:
|
|
- network
|
|
- network-bind
|
|
|
|
log:
|
|
command: log.bash
|
|
|
|
monero:
|
|
command: wallet.bash
|
|
plugs:
|
|
- network
|
|
|
|
parts:
|
|
wrapper:
|
|
plugin: dump
|
|
source: .
|
|
stage-packages:
|
|
- rlwrap
|
|
organize:
|
|
contrib/snap/daemon.bash: daemon.bash
|
|
contrib/snap/log.bash: log.bash
|
|
contrib/snap/wallet.bash: wallet.bash
|
|
snap:
|
|
- daemon.bash
|
|
- log.bash
|
|
- wallet.bash
|
|
- usr/bin/rlwrap
|
|
|
|
cmake-build:
|
|
plugin: cmake
|
|
source: .
|
|
build-packages:
|
|
- gcc
|
|
- cmake
|
|
- pkg-config
|
|
- libunbound-dev
|
|
- libevent-dev
|
|
- libboost-all-dev
|
|
- libdb-dev
|
|
- libunwind-dev
|
|
- libminiupnpc-dev
|
|
- libldns-dev
|
|
- libexpat1-dev
|
|
- bison
|
|
- doxygen
|
|
- graphviz
|
|
snap:
|
|
- bin
|