章 1. 前言

如果您在某些方面算得上是有經驗的 Debian 使用者 [1] 的話,您可能遇上過這樣的情況:

如果您想要建立一個 Debian 套件來滿足您的需求,並將您的工作與社群分享,您便是本篇指南的目標讀者,即未來的 Debian 維護者。[2] 歡迎來到 Debian 社群。

Debian 是一個大型的、歷史悠久的志願者組織。因此,它具有許多需要遵守的社會上和技術上的規則和慣例。Debian 也開發出了一長串的打包工具和倉庫維護工具,用來構建一套能夠解決各種技術目標的二進位制套件:

這些目標也許會讓很多新近參與進 Debian 工作中的潛在 Debian 維護者感到迷茫而不知所措。本篇指南嘗試為這些目標提供一個著手點,方便讀者開展工作。它具體描述了以下內容:

The author felt limitations of updating the original New Maintainers' Guide with the dh-make package and decided to create an alternative tool and its matching document to address modern requirements such as multi-arch. The result was the debmake package version: 4.0 in 2013. The current debmake is version: 4.5.0. It comes with this updated Guide for Debian Maintainers in the debmake-doc (version: 1.18-1) package. (In 2016, dh-make was ported from perl to python with updated features.)

Many chores and tips have been integrated into the debmake command allowing this guide to be terse. This guide also offers many packaging examples for you to get started.

[注意]注意

合適地建立並維護 Debian 套件需要佔用許多時間。Debian 維護者在接受這項挑戰時一定要確保 既能精通技術又能勤勉投入精力

某些重要的主題會詳細進行說明。其中某些可能看起來和您沒什麼關係。請保持耐心。某些罕見案例會被跳過。某些主題僅使用外部連結提及。這些都是有意的行文安排,目標是讓這份指南保持簡單而可維護。



[1] You do need to know a little about Unix programming but you certainly don’t need to be a wizard. You can learn about the basic handling of a Debian system from the Debian Reference. It contains some pointers to learn about Unix programming, too.

[2] 如果您對分享 Debian 套件不感興趣,您當然可以在本地環境中將上游的原始碼套件進行編譯並安裝至 /usr/local 來解決問題。