Readme update
This commit is contained in:
@@ -10,8 +10,8 @@ This repository contains the transparent, reproducible build script used to repa
|
|||||||
|
|
||||||
The `build-betterbird-deb.sh` script:
|
The `build-betterbird-deb.sh` script:
|
||||||
|
|
||||||
1. Downloads the official Betterbird `.tar.xz` release and verifies its `sha256` against the official list. (Aborts if they do not match).
|
1. Downloads the official Betterbird `.tar.xz` release and verifies its `sha256` against the official list. (Stops if they do not match).
|
||||||
2. Extracts it and builds a `.deb` package using `dpkg-shlibdeps` (built on Ubuntu 22.04 for maximum compatibility).
|
2. Extracts it and builds a `.deb` package using `dpkg-shlibdeps` (built on Ubuntu 22.04 for maximum compatibility; compatible with Ubuntu 22.04 through Ubuntu 26.10).
|
||||||
3. Downloads the official `.desktop` file from the Betterbird repository and installs the official icons.
|
3. Downloads the official `.desktop` file from the Betterbird repository and installs the official icons.
|
||||||
4. Verifies that the packaged files are byte-for-byte identical to the upstream tarball.
|
4. Verifies that the packaged files are byte-for-byte identical to the upstream tarball.
|
||||||
5. Generates **separate** checksum files: `sha256-X.official.txt` (verbatim from Betterbird) and `SHA256SUMS` (for the resulting `.deb`), ensuring local and upstream checksums are never mixed up.
|
5. Generates **separate** checksum files: `sha256-X.official.txt` (verbatim from Betterbird) and `SHA256SUMS` (for the resulting `.deb`), ensuring local and upstream checksums are never mixed up.
|
||||||
@@ -27,12 +27,16 @@ You don't have to trust the maintainer; you can verify the package yourself!
|
|||||||
docker run --rm -v "$PWD":/work -w /work ubuntu:22.04 ./build-betterbird-deb.sh
|
docker run --rm -v "$PWD":/work -w /work ubuntu:22.04 ./build-betterbird-deb.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The verification can be done in Docker with any Ubuntu image from Ubuntu 22.04 up to Ubuntu 26.10.
|
||||||
|
|
||||||
3. Compare the SHA256 checksums of the files you just built with the ones provided in the Releases page. If they match, you have mathematically proven that the `.deb` you downloaded is exactly what this script produces from the official source.
|
3. Compare the SHA256 checksums of the files you just built with the ones provided in the Releases page. If they match, you have mathematically proven that the `.deb` you downloaded is exactly what this script produces from the official source.
|
||||||
|
|
||||||
### Download and Install
|
### Download and Install
|
||||||
|
|
||||||
Go to the **Releases** tab on the right to download the latest `.deb` file and the `SHA256SUMS` file.
|
Go to the **Releases** tab on the right to download the latest `.deb` file and the `SHA256SUMS` file.
|
||||||
|
|
||||||
|
**Compatibility:** the package can be installed on Ubuntu 22.04 through Ubuntu 26.10.
|
||||||
|
|
||||||
### Security & GPG Public Key
|
### Security & GPG Public Key
|
||||||
|
|
||||||
To ensure the integrity of the packages and verify that they are built by me (New Life Linux), I provide my public GPG key.
|
To ensure the integrity of the packages and verify that they are built by me (New Life Linux), I provide my public GPG key.
|
||||||
@@ -66,7 +70,7 @@ Ez a tároló tartalmazza azt az átlátható, reprodukálható build scriptet,
|
|||||||
A `build-betterbird-deb.sh` script a következőket teszi:
|
A `build-betterbird-deb.sh` script a következőket teszi:
|
||||||
|
|
||||||
1. Letölti a hivatalos Betterbird `.tar.xz` kiadást, és ellenőrzi annak `sha256` értékét a hivatalos listával szemben. (Ha nem egyeznek, leáll).
|
1. Letölti a hivatalos Betterbird `.tar.xz` kiadást, és ellenőrzi annak `sha256` értékét a hivatalos listával szemben. (Ha nem egyeznek, leáll).
|
||||||
2. Kicsomagolja, és a `dpkg-shlibdeps` segítségével felépít egy `.deb` csomagot (Ubuntu 22.04-en futtatva a maximális kompatibilitás érdekében).
|
2. Kicsomagolja, és a `dpkg-shlibdeps` segítségével felépít egy `.deb` csomagot (Ubuntu 22.04-en futtatva a maximális kompatibilitás érdekében; Ubuntu 22.04-től Ubuntu 26.10-ig kompatibilis).
|
||||||
3. Letölti a hivatalos `.desktop` fájlt a Betterbird tárolójából, és telepíti a hivatalos ikonokat.
|
3. Letölti a hivatalos `.desktop` fájlt a Betterbird tárolójából, és telepíti a hivatalos ikonokat.
|
||||||
4. Ellenőrzi, hogy a csomagolt fájlok bájtra pontosan megegyeznek-e az upstream tarballal.
|
4. Ellenőrzi, hogy a csomagolt fájlok bájtra pontosan megegyeznek-e az upstream tarballal.
|
||||||
5. **Külön** ellenőrzőösszeg-fájlokat generál: `sha256-X.official.txt` (változatlanul a Betterbirdtől) és `SHA256SUMS` (a helyi `.deb`-hez), így a helyi és a hivatalos hash-ek soha nem keverednek össze.
|
5. **Külön** ellenőrzőösszeg-fájlokat generál: `sha256-X.official.txt` (változatlanul a Betterbirdtől) és `SHA256SUMS` (a helyi `.deb`-hez), így a helyi és a hivatalos hash-ek soha nem keverednek össze.
|
||||||
@@ -82,12 +86,16 @@ Nem kell feltétlenül megbíznod a karbantartóban; magad is ellenőrizheted a
|
|||||||
docker run --rm -v "$PWD":/work -w /work ubuntu:22.04 ./build-betterbird-deb.sh
|
docker run --rm -v "$PWD":/work -w /work ubuntu:22.04 ./build-betterbird-deb.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Az ellenőrzést Dockerben bármelyik Ubuntu-képfájllal elvégezheted az Ubuntu 22.04-től az Ubuntu 26.10-ig terjedő tartományban.
|
||||||
|
|
||||||
3. Hasonlítsd össze az általad lefuttatott build során kapott SHA256 ellenőrzőösszegeket a Kiadások (Releases) oldalon megadottakkal. Ha megegyeznek, matematikailag bebizonyítottad, hogy a letöltött `.deb` pontosan az, amit ez a script állít elő a hivatalos forrásból.
|
3. Hasonlítsd össze az általad lefuttatott build során kapott SHA256 ellenőrzőösszegeket a Kiadások (Releases) oldalon megadottakkal. Ha megegyeznek, matematikailag bebizonyítottad, hogy a letöltött `.deb` pontosan az, amit ez a script állít elő a hivatalos forrásból.
|
||||||
|
|
||||||
### Letöltés és telepítés
|
### Letöltés és telepítés
|
||||||
|
|
||||||
A jobb oldali **Releases** (Kiadások) fülön töltsd le a legfrissebb `.deb` fájlt és a `SHA256SUMS` fájlt.
|
A jobb oldali **Releases** (Kiadások) fülön töltsd le a legfrissebb `.deb` fájlt és a `SHA256SUMS` fájlt.
|
||||||
|
|
||||||
|
**Kompatibilitás:** a csomag Ubuntu 22.04-től Ubuntu 26.10-ig telepíthető.
|
||||||
|
|
||||||
### Biztonság és GPG Nyilvános Kulcs
|
### Biztonság és GPG Nyilvános Kulcs
|
||||||
|
|
||||||
A csomagok integritásának biztosítása és az én (New Life Linux) általi hitelesítés érdekében közzéteszem a nyilvános GPG kulcsomat.
|
A csomagok integritásának biztosítása és az én (New Life Linux) általi hitelesítés érdekében közzéteszem a nyilvános GPG kulcsomat.
|
||||||
|
|||||||
Reference in New Issue
Block a user