aboutsummaryrefslogtreecommitdiffstats
path: root/packages.md
blob: c22032ed80c97c53069b03ddcb15106501f71c61 (plain) (blame)
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
41
42
43
44
45
46
47
48
49
50
---
title: Package mirrors
---

sr.ht operates a number of automatically-updated package repositories where you
can find packages for sr.ht software in various distributions at
[mirror.sr.ht](https://mirror.sr.ht).

# Package Repositories

## Alpine Linux

This is the recommended distribution of SourceHut, and the one we use for the
hosted instance upstream. This must be the first line in `/etc/apk/repositories`
— we shadow some upstream packages with patched versions.

**Mirror URL**: `https://mirror.sr.ht/alpine/v3.11/sr.ht`

**Signing Key**: [alpine@sr.ht.pub](https://mirror.sr.ht/alpine/alpine%40sr.ht.rsa.pub)

## Arch Linux

**Mirror URL**: `https://mirror.sr.ht/archlinux/sr.ht`

```
[sr.ht]
Server = https://mirror.sr.ht/archlinux/sr.ht
```

**Signing Key**: `C0AAFC1676BD998617C94C42DC59670F1EB0A189`

```
$ pacman-key --recv-keys C0AAFC1676BD998617C94C42DC59670F1EB0A189
$ pacman-key --lsign-key C0AAFC1676BD998617C94C42DC59670F1EB0A189
```

## Debian

**Mirror URL**: `https://mirror.sr.ht/debian`

```
deb https://mirror.sr.ht/debian sid main
```

**Signing Key**: [key.asc](https://mirror.sr.ht/debian/key.asc) `6B1296C65B24472674E7B6520585B50AC6A4914D`


```
wget -q https://mirror.sr.ht/debian/key.asc  -O - | sudo apt-key --keyring /etc/apt/trusted.gpg.d/debian.sr.ht.gpg add -
```