| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
| linux:create_debian_package [2024/07/27 18:31] – [Environnements vierges] add how to create chroot for backports phsw | linux:create_debian_package [2025/10/25 20:41] (Version actuelle) – [Créer un paquet Debian] add link phsw |
|---|
| * [[https://anarc.at/software/debian-development/]] | * [[https://anarc.at/software/debian-development/]] |
| * [[https://blog.liw.fi/posts/2023/debian-reasons/|Why is Debian the way it is?]] | * [[https://blog.liw.fi/posts/2023/debian-reasons/|Why is Debian the way it is?]] |
| | * [[https://www.linuxembedded.fr/2024/04/introduction-au-paquetage-pour-debian|Introduction au 📦 paquetage pour Debian]] |
| | * [[https://optimizedbyotto.com/post/debian-maintainer-habits/|10 habits to help becoming a Debian maintainer]] |
| | |
| | * [[https://diziet.dreamwidth.org/10559.html|Debian’s approach to Rust - Dependency handling]] |
| | * [[https://samueloph.dev/personal_website_files/slides/samueloph_slides_2024_07_fixing_cves_on_debian.pdf|Fixing CVEs on Debian: Everything you probably know already]] |
| | * [[https://samueloph.dev/personal_website_files/slides/samueloph_slides_2024_08_the_secret_sauce_of_debian.pdf|The secret sauce of Debian]] |
| | * [[https://wiki.debian.org/BuildProfileSpec]] |
| |
| |
| * ''devscripts'' | * ''devscripts'' |
| * ''dh-make'' | * ''dh-make'' |
| |
| * Mainteneur Debian : ne peut uploader que ses paquets sans RFS | |
| * Développeur Debian : peut uploader n'importe quel paquet | |
| |
| |
| * [[https://people.debian.org/~debalance/packaging-with-git.html]] | * [[https://people.debian.org/~debalance/packaging-with-git.html]] |
| * https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/index.html | * https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/index.html |
| | * [[https://optimizedbyotto.com/post/debian-packaging-from-git/|Creating Debian packages from upstream Git]] |
| | * [[https://optimizedbyotto.com/post/debian-source-package-git/|Debian source packages in git explained]] |
| |
| |
| * https://wiki.debian.org/DebianDak | * https://wiki.debian.org/DebianDak |
| |
| Construire le paquet en le signant : | Construire le paquet en le signant (le paquet ne sera pas signé si la distribution ciblée est ''UNRELEASED'') : |
| <code bash> | <code bash> |
| debuild | debuild |
| * [[https://github.com/ezhukov/testvm]] | * [[https://github.com/ezhukov/testvm]] |
| |
| ''build-rdeps'' liste les dépendances inverses d'un paquet binaire. | ''build-rdeps'' liste les dépendances inverses d'un paquet binaire, on peut donc lister toutes les dépendances inverses d'un paquet source avec : |
| | <code bash> |
| | build-rdeps --distribution unstable --only-main $(grep Package debian/control | cut -d ' ' -f 2) |
| | </code> |
| | |
| | Ensuite pour reconstruire un paquet en incluant un paquet ''.deb'' construit localement : |
| | <code bash> |
| | sbuild --extra-package=/abolute/path/package_amd64.deb --extra-package=/absolute/path/package-dev_amd64.deb otherpackage |
| | </code> |
| | |
| | |
| | ==== Cross-build ==== |
| | |
| | * [[https://subdivi.de/~helmut/mdct24-cross.pdf]] |
| | * [[https://wiki.debian.org/CrossCompiling]] |
| | * [[https://wiki.debian.org/CrossBuildPackagingGuidelines]] |
| | * https://wiki.debian.org/CategoryMultiarch |
| | * [[https://wiki.debian.org/umlaeute/Packaging4CrossCompiling]] |
| | |
| | |
| | ==== Devenir un DM ou DD ==== |
| | |
| | * Mainteneur Debian : ne peut uploader que ses paquets sans RFS |
| | * Développeur Debian : peut uploader n'importe quel paquet |
| | |
| | * [[https://www.debian.org/doc/manuals/developers-reference/new-maintainer.fr.html|Référence des développeurs : Candidater pour devenir membre du projet]] |
| | * [[https://www.debian.org/devel/join/newmaint|Le coin des nouveaux membres Debian]] |
| | * [[https://wiki.debian.org/DebianMaintainer|DebianMaintainer]] |