Files
BackOne/pkg/snap/snapcraft.yaml
T
dedysutanto c550fe0684 chore: rebrand backone names, add lint gate + agent docs
- CI: build/validate use backone selftest + binary names, add lint.yml
- make-*.mk: emit/install backone binaries, drop zerotier-one paths
- doc/debian/ext.installfiles: backone manpages, service, init, te
- rule-compiler: npm test runs test.js; attic world planet files
- AGENTS.md repository guidelines, tools/lint.sh changed-lines gate
- gitignore: /backone-selftest, *.gcno, *.gcda
2026-09-30 15:08:00 +07:00

87 lines
2.1 KiB
YAML

name: backone
summary: Securely connect any device, anywhere.
description: |
BackOne is a fork of ZeroTier, a software-based managed Ethernet switch for planet Earth. Use it
to connect your desktop clients, servers, phones, NAS, or even individual applications (using
our SDK).
This snap contains the BackOne daemon, a service that provides ZeroTier network connectivity
and makes joining virtual networks as easy as joining IRC or Slack channels.
ZeroTier eliminates the LAN/WAN distinction and makes VPNs, tunnels, proxies, and other kludges
arising from the inflexible nature of physical networks obsolete. Everything is encrypted
end-to-end and traffic takes the most direct (peer to peer) path available.
Install (be sure to use sudo)
sudo snap install backone
Join your network
sudo backone join <nwid>
sudo backone status
adopt-info: one
confinement: strict
grade: stable
base: core18
apps:
one:
# Add -U to prevent attempting to drop privileges since snaps have their
# own containment mechanism. Otherwise, if a user named "backone"
# exists on the system, the setgid or related calls will fail.
command: usr/sbin/backone -U
daemon: simple
plugs:
- network
- network-bind
- network-control
cli:
command: usr/sbin/backone-cli
plugs:
- network
backone:
command: usr/sbin/backone-cli
plugs:
- network
idtool:
command: usr/sbin/backone-idtool
plugs:
- network
layout:
/var/lib/backone:
bind: $SNAP_COMMON
parts:
one:
plugin: make
source: https://git.proit.id/dsutanto/BackOne.git
source-branch: "main"
build-packages:
- build-essential
- libc++-dev
make-parameters:
- ZT_SSO_SUPPORTED=0
filesets:
binaries:
- usr/sbin/backone
- usr/sbin/backone-cli
- usr/sbin/backone-idtool
prime:
- $binaries
override-build: |
snapcraftctl build
# Grab the version string from the newly-compiled binary.
snapcraftctl set-version "$(./backone -v)"
slots:
backone-control:
interface: content
read:
- $SNAP_COMMON