File: snapcraft.yaml

package info (click to toggle)
2ping 4.5-1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 492 kB
  • sloc: python: 3,304; makefile: 44; sh: 4
file content (40 lines) | stat: -rw-r--r-- 832 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: 2ping
version: git
summary: 2ping bi-directional ping utility
description: |
  2ping is a bi-directional ping utility. It uses 3-way pings (akin to
  TCP SYN, SYN/ACK, ACK) and after-the-fact state comparison between a
  2ping listener and a 2ping client to determine which direction packet
  loss occurs.
base: core18
confinement: strict
grade: stable
architectures:
  - build-on: amd64
  - build-on: arm64
  - build-on: armhf
  - build-on: ppc64el
  - build-on: s390x

parts:
  2ping:
    plugin: python
    source: .
    python-packages:
      - distro
      - dnspython
      - netifaces
      - pycryptodomex

apps:
  2ping:
    command: bin/2ping
    plugs:
      - network
      - network-bind
  2ping-listener:
    command: bin/2ping --listen --quiet
    daemon: simple
    plugs:
      - network
      - network-bind