innernet-debian/README.md

79 lines
2.4 KiB
Markdown
Raw Normal View History

2021-09-11 11:31:31 +00:00
# Unofficial Innernet APT Repository
2023-07-30 12:31:14 +00:00
[![Update Repository](https://github.com/tommie/innernet-debian/actions/workflows/main.yml/badge.svg?event=schedule)](https://github.com/tommie/innernet-debian/actions/workflows/main.yml)
This is a Ubuntu/Debian APT repository containing `.deb` files from https://github.com/tonarino/innernet/releases.
2023-05-12 14:46:32 +00:00
The updates are fully reproducible through GitHub Actions.
2021-09-11 11:31:31 +00:00
For more information, see https://github.com/tonarino/innernet.
## Installation
### Adding the Repository
```sh
2023-05-12 14:46:32 +00:00
codename=$(lsb_release --codename --short)
curl -sS https://tommie.github.io/innernet-debian/repository.asc | sudo tee /etc/apt/keyrings/github-tommie-innernet.asc >/dev/null
cat >/etc/apt/sources.list.d/innernet.list <<EOF
2023-05-12 14:46:32 +00:00
deb [signed-by=/etc/apt/keyrings/github-tommie-innernet.asc] https://tommie.github.io/innernet-debian/debian $codename contrib
2021-09-11 11:31:31 +00:00
EOF
apt update
2021-09-11 11:31:31 +00:00
```
### Installing the Server
2023-05-12 14:46:32 +00:00
This is installed on the coordination server machine.
It needs to be accessible from all peers.
2021-09-11 11:31:31 +00:00
```shell
$ sudo apt install innernet-server
2021-09-11 11:31:31 +00:00
```
### Installing the Peer Client
This is installed on all peers.
```shell
$ sudo apt install innernet
2021-09-11 11:31:31 +00:00
```
2023-07-30 13:35:46 +00:00
## Compatibility
We build for
* Ubuntu 22.04 (**jammy**)
* Ubuntu 20.04 (**focal**)
2023-07-30 13:35:46 +00:00
on
* **amd64**, x86_64
* **armhf**, armv7 (cross-build)
* **arm64**, aarch64 (cross-build)
Additionally:
* Debian 12 (**bookworm**) is served by `jammy`.
There is a symlink in place to allow `bookworm`, which will cause APT to warn that the codenames missmatch.
In the end, either name works.
2023-07-30 13:35:46 +00:00
* Debian 11 (**bullseye**) is served by `focal`.
There is a symlink in place to allow `bullseye`, which will cause APT to warn that the codenames missmatch.
In the end, either name works.
The authoritative source of supported distributions and architectures is [`conf/distributions`](https://github.com/tommie/innernet-debian/blob/main/debian/conf/distributions).
## Maintenance
### Adding a Distribution
When Ubuntu/Debian releases a new version, we need to
1. Add the new distribution in `debian/conf/distributions`.
1. Update `.github/workflows/main.yml` in
* `check-repo-release` to find existing package versions,
* `build-deb` matrix to build on the new version.
2021-09-11 11:31:31 +00:00
## License
2023-05-12 14:46:32 +00:00
The repository maintenance code itself is under the MIT License.
See also [LICENSE in tonarino/innernet](https://github.com/tonarino/innernet/blob/main/LICENSE).