From 82f56cf95cbd9c3ec81bb5480e37cc7ca13b2145 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 14 May 2020 17:07:23 +0200 Subject: [PATCH] debchange, debuild, dget, quilt: add pages (#4022) --- pages/common/quilt.md | 28 ++++++++++++++++++++++++++++ pages/linux/debchange.md | 16 ++++++++++++++++ pages/linux/debuild.md | 16 ++++++++++++++++ pages/linux/dget.md | 16 ++++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 pages/common/quilt.md create mode 100644 pages/linux/debchange.md create mode 100644 pages/linux/debuild.md create mode 100644 pages/linux/dget.md diff --git a/pages/common/quilt.md b/pages/common/quilt.md new file mode 100644 index 0000000000..81c434c82b --- /dev/null +++ b/pages/common/quilt.md @@ -0,0 +1,28 @@ +# quilt + +> Tool to manage a series of patches. +> More information: . + +- Import an existing patch from a file: + +`quilt import {{path/to/filename.patch}}` + +- Create a new patch: + +`quilt new {{filename.patch}}` + +- Add a file to the current patch: + +`quilt add {{path/to/file}}` + +- After editing the file, refresh the current patch with the changes: + +`quilt refresh` + +- Apply all the patches in the series file: + +`quilt push -a` + +- Remove all applied patches: + +`quilt pop -a` diff --git a/pages/linux/debchange.md b/pages/linux/debchange.md new file mode 100644 index 0000000000..4d087052cf --- /dev/null +++ b/pages/linux/debchange.md @@ -0,0 +1,16 @@ +# debchange + +> Tool for maintenance of the debian/changelog file in a Debian source package. +> More information: . + +- Add a new version for a non-maintainer upload to the changelog: + +`debchange --nmu` + +- Add a changelog entry to the current version: + +`debchange --append` + +- Add a changelog entry to close the bug with specified ID: + +`debchange --closes {{bug_id}}` diff --git a/pages/linux/debuild.md b/pages/linux/debuild.md new file mode 100644 index 0000000000..cd3824506b --- /dev/null +++ b/pages/linux/debuild.md @@ -0,0 +1,16 @@ +# debuild + +> Tool to build a Debian package from source. +> More information: . + +- Build the package in the current directory: + +`debuild` + +- Build a binary package only: + +`debuild -b` + +- Do not run lintian after building the package: + +`debuild --no-lintian` diff --git a/pages/linux/dget.md b/pages/linux/dget.md new file mode 100644 index 0000000000..d996705f15 --- /dev/null +++ b/pages/linux/dget.md @@ -0,0 +1,16 @@ +# dget + +> Download Debian packages. +> More information: . + +- Download a binary package: + +`dget {{package_name}}` + +- Download and extract a package source from its .dsc file: + +`dget {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}` + +- Download a package source tarball from its .dsc file but don't extract it: + +`dget -d {{http://deb.debian.org/debian/pool/main/h/haskell-tldr/haskell-tldr_0.4.0-2.dsc}}`