blob: 3bdaec0e2b7442802485d084570a727220d3640b (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
---
title: Package Repositories
---
SourceHut operates a number of package repositories for sr.ht software. These
repositories, which support various distributions, are available at
[mirror.sr.ht](https://mirror.sr.ht).
<div class="alert alert-success">
If you would like to contribute to the package repositories, we accept
patches at <a href="https://lists.sr.ht/~sircmpwn/sr.ht-packages"
class="alert-link">sr.ht-packages</a>.
</div>
<div class="alert alert-warning">
<p>
<strong>Warning:</strong> SourceHut is still in alpha, and has no stable
releases. As such, we do not recommend packaging SourceHut for your upstream
distribution repositories until we have shipped stable versions of our
software.
</p>
<p>
If you are still interested in packaging it for your distribution, please
reach out to us for help in automating the maintenance of a third-party
distribution which is automatically updated following our (frequent)
upstream rolling releases.
</p>
</div>
# Alpine Linux
**Mirror**: https://mirror.sr.ht/alpine/v3.13/sr.ht
**Signing key**: [alpine@sr.ht.pub](https://mirror.sr.ht/alpine/alpine%40sr.ht.rsa.pub)
**Maintainer**: Drew DeVault <sir@cmpwn.com>
**Source**: https://git.sr.ht/~sircmpwn/sr.ht-apkbuilds
```sh
# Add the following line to /etc/apk/repositories
https://mirror.sr.ht/alpine/v3.13/sr.ht
# Install signing key
wget -q -O /etc/apk/keys/alpine@sr.ht.rsa.pub https://mirror.sr.ht/alpine/alpine@sr.ht.rsa.pub
# Update package index
apk update
```
<div class="alert alert-warning">
<strong>Warning:</strong> SourceHut shadows some upstream packages with
patched versions. The SourceHut mirror must be the <em>first</em> repository
in <code>/etc/apk/repositories</code>.
</div>
<div class="alert alert-warning">
<strong>Warning:</strong> You cannot upgrade to new Alpine releases until we
provide a repository for that Alpine version. Announcements of the build
status of new Alpine releases are provided on the
<a href="https://lists.sr.ht/~sircmpwn/sr.ht-admins" class="alert-link">sr.ht-admins</a> mailing list.
</div>
<div class="alert alert-warning">
<strong>Warning:</strong> The Alpine Linux community package repository must
be enabled.
</div>
# Arch Linux
**Mirror**: https://mirror.sr.ht/archlinux/sr.ht
**Signing key**: `C0AAFC1676BD998617C94C42DC59670F1EB0A189`
**Maintainer**: Eli Schwartz <eschwartz@archlinux.org>
**Source**: https://git.sr.ht/~sircmpwn/sr.ht-pkgbuilds
```sh
# Add the following two lines to /etc/pacman.conf
[sr.ht]
Server = https://mirror.sr.ht/archlinux/sr.ht
# Install signing key
sudo pacman-key --recv-keys C0AAFC1676BD998617C94C42DC59670F1EB0A189
sudo pacman-key --lsign-key C0AAFC1676BD998617C94C42DC59670F1EB0A189
# Update package index
sudo pacman -Syu
```
# Debian
**Mirror**: https://mirror.sr.ht/debian
**Signing key**: [key.asc](https://mirror.sr.ht/debian/key.asc) `6B1296C65B24472674E7B6520585B50AC6A4914D`
**Maintainer**: Denis Laxalde <denis@laxalde.org>
**Source**: https://git.sr.ht/~dlax/sr.ht-debbuilds
```sh
# Add the following line to /etc/apt/sources.list
deb https://mirror.sr.ht/debian sid main
# Install signing key
wget -q https://mirror.sr.ht/debian/key.asc -O - | sudo apt-key --keyring /etc/apt/trusted.gpg.d/debian.sr.ht.gpg add -
# Update package index
sudo apt update
```
|