Oh, because nothing screams "cutting-edge security" like relying on arcane Debian packaging rituals and the mystical art of checksum divination. 🔮🤖 Let's just ignore the fact that half the tech world still struggles with Git basics, and pretend that more bureaucracy is the ultimate silver bullet!🚀🔐
https://optimizedbyotto.com/post/xz-backdoor-debian-git-detection/ #cuttingEdgeSecurity #DebianPackaging #TechStruggles #BureaucracyMyth #GitBasics #HackerNews #ngated
Could the XZ backdoor have been detected with better Git and Debian packaging practices?

The discovery of a backdoor in XZ Utils earlier this year shocked the open source community, raising critical questions about software supply chain security. This post explores whether better Debian packaging practices could have detected this threat, offering a guide to auditing packages and suggesting future improvements.\n

Optimized by Otto
🤡 "Introducing Debcraft: the magical elixir to your Debian packaging woes! Because, apparently, the world needed yet another blog post declaring their latest code as the savior of all open-source projects. 🚀 Who knew package maintenance could be so revolutionary... again?" 📦
https://optimizedbyotto.com/post/debcraft-easy-debian-packaging/ #Debcraft #DebianPackaging #OpenSource #Revolution #BlogPost #PackageMaintenance #HackerNews #ngated
Debcraft – Easiest way to modify and build Debian packages

Debian packaging is notoriously hard. Far too many new contributors give up while trying, and many long-time contributors leave due to burnout from having to do too many thankless maintenance tasks. Some just skip testing their changes properly because it feels like too much toil.\nDebcraft is my attempt to solve this by automating all the boring stuff, and making it easier to learn the correct practices and helping new and old packagers better track changes in both source code and build artifacts.\n

Optimized by Otto
Creating Debian packages from upstream Git

In this post, I demonstrate the optimal workflow for creating new Debian packages in 2025, preserving the upstream Git history. The motivation for this is to lower the barrier for sharing improvements to and from upstream, and to improve software provenance and supply-chain security by making it easy to inspect every change at any level using standard Git tooling.\nKey elements of this workflow include:\nUsing a Git fork/clone of the upstream repository as the starting point for creating Debian packaging repositories. Consistent use of the same git-buildpackage commands, with all package-specific options in gbp.conf. DEP-14 tag and branch names for an optimal Git packaging repository structure. Pristine-tar and upstream signatures for supply-chain security. Use of Files-Excluded in the debian/copyright file to filter out unwanted files in Debian. Patch queues to easily rebase and cherry-pick changes across Debian and upstream branches. Efficient use of Salsa, Debian’s GitLab instance, for both automated feedback from CI systems and human feedback from peer reviews. To make the instructions so concrete that anyone can repeat all the steps themselves on a real package, I demonstrate the steps by packaging the command-line tool Entr. It is written in C, has very few dependencies, and its final Debian source package structure is simple, yet exemplifies all the important parts that go into a complete Debian package:\n

Optimized by Otto

Whether I answer yes or no to the Debian popularity contest survey depends entirely on my mood at the time of installation

#debian #debian11 #bullseye #debianinstaller #debianpackaging

Unlike before, this time I managed to get a real hold of the Debian packaging process. A big big thanks to @praveen & @srud for mentoring me & @kannan. I’ve documented what I learned at https://wiki.debian.org/SimplePackagingTutorial with their help. I should specifically mention Praveen’s passion, experience and above all his patience in mentoring especially someone like me, who generally asks a hell lot of questions while learning, is just super awesome! 🙌❤️ 😊

#Debian #Packaging #DebianPackaging

SimplePackagingTutorial - Debian Wiki