# ## Easiest way to work with this file, from an updated Ubuntu 16.04 LTS image ## 1. create a non-root user with sudo priv and perform following steps as non-root ## 2. `sudo apt-get update` ## 3. `sudo apt-get install snapcraft python build-essential` ## 4. `snapcraft stage` ## 5. `snapcraft snap` name: i2pd version: 2.17.0 summary: Distributed anonymous networking framework description: | i2pd (I2P Daemon) is a full-featured C++ implementation of I2P client. I2P (Invisible Internet Protocol) is a universal anonymous network layer. All communications over I2P are anonymous and end-to-end encrypted, participants don't reveal their real IP addresses. icon: i2pd-logo.png type: app grade: stable confinement: strict apps: daemon: command: i2pd-wrapper daemon: simple plugs: [network,network-bind] graceful-shutdown: command: kill -2 `cat $SNAP_DATA/datadir/i2pd.pid` reload-tunnels-conf: command: kill -1 `cat $SNAP_DATA/datadir/i2pd.pid` parts: i2pd: source: https://github.com/PurpleI2P/i2pd.git source-type: git source-tag: 2.17.0 plugin: make make-parameters: - USE_AVX=no - USE_AESNI=no build-packages: - build-essential - libboost-date-time-dev - libboost-filesystem-dev - libboost-program-options-dev - libboost-system-dev - libssl-dev - zlib1g-dev artifacts: - i2pd - contrib/certificates - contrib/i2pd.conf organize: i2pd: bin/ contrib/*: . wrapper: plugin: dump source: snap/ stage: [i2pd-wrapper]