mirror of
https://oauth2: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@github.com/m1ngsama/TNT.git
synced 2026-06-26 05:34:39 +08:00
1.3 KiB
1.3 KiB
Debian and Ubuntu Packaging
Ubuntu distribution should start with a Launchpad PPA. Direct inclusion in Debian or Ubuntu archives is a separate, slower process and should wait until the project has a stable release cadence.
Draft metadata
The debian/ directory in this folder is a packaging draft. To assemble it
against a clean source tree:
make debian-source-package
For PPA uploads, build a source package on Debian/Ubuntu:
scripts/package_debian_source.sh --build
Recommended path
-
Keep the upstream project installable with:
make DESTDIR="$pkgdir" PREFIX=/usr install -
Review Debian packaging metadata from a release tarball:
debian/controldebian/rulesdebian/changelogdebian/copyrightdebian/source/format
-
Build locally with
debuildordpkg-buildpackage. -
Upload the signed source package to a Launchpad PPA.
-
Only after repeated stable releases, consider Debian mentors or Ubuntu archive sponsorship.
Package shape
- Binary package name:
tnt-chat - Installed commands:
/usr/bin/tnt,/usr/bin/tntctl - Runtime dependency:
libssh - Optional systemd unit:
/usr/lib/systemd/system/tnt.service - System user: package maintainer scripts create
tnt:tnt; the systemd unit owns/var/lib/tntthroughStateDirectory=tnt