4.7 KiB
Repackaging Betterbird for Debian/Ubuntu
I maintain this repository, which contains an unofficial repackage of Betterbird for Debian-based systems (Ubuntu, Linux Mint, etc.).
My goal is to provide a transparent, verifiable .deb package built from the official upstream binaries without any modifications to the application code.
Why I created this
Betterbird officially provides .tar.xz archives. While these can be extracted and run manually, a .deb package integrates better with the system (desktop menus, icons, and clean uninstallation). I created this project to bridge that gap.
The Build Process (Repack)
The build-betterbird-deb.sh script does the following:
- Downloads the latest official Betterbird
.tar.xzarchive. - Verifies the download against the official
sha256checksums provided by Betterbird. (The build aborts if the checksum does not match). - Extracts the archive into a standard Debian package structure (
/opt/betterbird). - Adds an official
.desktopfile and icons (pulled directly from the Betterbird repository). - Sets up the
Depends:list by analyzing the ELF binaries usingdpkg-shlibdeps. - Repackages the directory into a
.debfile usingdpkg-deb.
Unmodified Binaries
The application binaries, libraries, and resources inside /opt/betterbird are byte-for-byte identical to the official upstream .tar.xz release. I do not recompile or alter the Betterbird code.
Verification Chain
To ensure you are getting exactly what the Betterbird developers released, I provide a full verification log in out/betterbird_verification.txt.
- Upstream Hash: Checked against the official
sha256-153.txtfrom betterbird.eu. - Tarball Check:
sha256sum -creturnsOKfor the downloaded.tar.xz. - Integrity Check: The unpacked contents of the
.tar.xzare compared byte-for-byte (diff -r) against the extracted contents of my.deb. - No Maintainer Scripts: The package contains no
preinst,postinst,prerm, orpostrmscripts.
Disclaimer
This is NOT an official Betterbird package. I (Gre Weaver) maintain this project under New Life Linux. If you encounter any bugs or issues, please report them to me first at: [email protected]
Újracsomagolási útmutató (Magyar)
Én tartom karban ezt a tárolót, amely a Betterbird nem hivatalos újracsomagolását tartalmazza Debian-alapú rendszerekre (Ubuntu, Linux Mint, stb.).
A célom egy átlátható, ellenőrizhető .deb csomag biztosítása, amely a hivatalos forrásbinárisokból készült, anélkül, hogy az alkalmazás kódját bármilyen módon módosítanám.
Miért hoztam létre?
A Betterbird hivatalosan .tar.xz archívumokat biztosít. Bár ezek kézzel kicsomagolhatók és futtathatók, a .deb csomag jobban integrálódik a rendszerbe (asztali menük, ikonok, tiszta eltávolítás). Ezt a rést áthidalva hoztam létre ezt a projektet.
A csomagolási folyamat
A build-betterbird-deb.sh szkript a következőket teszi:
- Letölti a legfrissebb hivatalos Betterbird
.tar.xzarchívumot. - Ellenőrzi a letöltést a Betterbird által biztosított hivatalos
sha256checksumokkal szemben. (A folyamat leáll, ha a hash nem egyezik). - Kicsomagolja az archívumot egy szabványos Debian csomagszerkezetbe (
/opt/betterbird). - Hozzáadja a hivatalos
.desktopfájlt és az ikonokat. - Beállítja a
Depends:(függőségek) listát az ELF binárisok elemzésével. - Újracsomagolja a könyvtárat egy
.debfájlba.
Módosítatlan binárisok
A /opt/betterbird mappában lévő alkalmazás binárisok, könyvtárak és erőforrások byte-azonosak a hivatalos .tar.xz kiadással. Nem fordítom újra és nem módosítom a Betterbird kódját.
Ellenőrzési lánc
Hogy biztos lehess abban, hogy pontosan azt kapod, amit a Betterbird fejlesztők kiadtak, egy teljes ellenőrzési naplót biztosítok az out/betterbird_verification.txt fájlban.
- Forrás Hash: A betterbird.eu hivatalos
sha256-153.txtfájljához ellenőrizve. - Tarball ellenőrzés: A
sha256sum -cOKeredményt ad a letöltött.tar.xz-re. - Integritás ellenőrzés: A kicsomagolt
.tar.xztartalmát byte-azonosan (diff -r) összehasonlítottam a.debkicsomagolt tartalmával. - Nincsenek telepítőszkriptek: A csomag nem tartalmaz
preinst,postinst,prermvagypostrmszkripteket.
Jogi nyilatkozat
Ez NEM egy hivatalos Betterbird csomag. Én (Gre Weaver) tartom karban a New Life Linux égisze alatt. Ha bármilyen hibát találsz, kérlek, először nekem jelentsd ezen a címen: [email protected]