dpkg-source(1) dpkg suite dpkg-source(1) (NAME) dpkg-source - (.dsc) (SYNOPSIS) dpkg-source [...] (DESCRIPTION) dpkg-source . . (COMMANDS) -x, --extract filename.dsc [output-directory] (--extract 1.17.14 dpkg). (.dsc) . . source-version . dpkg-source .dsc . - 0777 0666 umask setgid . ( "1.0") debian/source/format . -b, --build directory [format-specific-parameters] (--build 1.17.14 dpkg). ( debian ) . . dpkg-source : --format debian/source/format "1.0". "1.0" debian/source/format . " (SOURCE PACKAGE FORMATS)" . --print-format directory dpkg-source --build directory ( 1.15.5 dpkg) . --before-build directory ( 1.15.8 dpkg). (dpkg-buildpackage debian/rules clean ). (idempotent) . . --after-build directory ( 1.15.8 dpkg). (dpkg-buildpackage ). . --before-build . --commit [directory] ... directory ( 1.16.1 dpkg). . . -?, --help . --format . --version . (OPTIONS) (Generic build options) -ccontrol-file . debian/control . . -lchangelog-file (changelog) . debian/changelog . . -Fchangelog-format changelog . dpkg-parsechangelog(1) . --format=value ( 1.14.17 dpkg). debian/source/format . -Vname=value . deb-substvars(5) . -Tsubstvars-file substvars-file . ( 1.15.6 dpkg). -Dfield=value . -Ufield . -Zcompression, --compression=compression tarball diff (--compression 1.15.5 dpkg). tarball . : gzip bzip2 lzma xz. 2.0 xz 1.0 gzip . xz 1.15.5 dpkg . -zlevel, --compression-level=level (--compression-level 1.15.5 dpkg). -Z . : 1 9 best fast. gzip bzip2 9 xz lzma 6 . -i[regex], --diff-ignore[=regex] (perl regex) diff (--diff-ignore 1.15.6 dpkg). ( find .) ( 3 VCS . -i.* .) -i regex ( --extend-diff-ignore regex ) swap Libtool . regex -i . diff checkout ( CVS/ .cvsignore .svn/) . ( `(^|/)' `($|/)') . --extend-diff-ignore=regex --diff-ignore ( ) ( 1.15.6 dpkg). "|regex" . debian/source/options . -I[file-pattern], --tar-ignore[=file-pattern] tar(1) .orig.tar .tar --exclude (--tar-ignore 1.15.6 dpkg). -ICVS tar .tar.gz CVS . . -I --exclude swap Libtool . : -i -I . -i . -I . . --exclude tar . --help . (Generic extract options) --no-copy tarball ( 1.14.17 dpkg). --no-check ( 1.14.17 dpkg). --no-overwrite-dir ( 1.18.8 dpkg). --no-vendor-certs (vendor). 1.23.0 dpkg. --signer-certs=keyring keyring . . 1.23.0 dpkg. --require-valid-signature OpenPGP ( 1.15.0 dpkg) --signer-certs ( ). --require-strong-checksums ( 1.18.7 dpkg). SHA-256 . --ignore-bad-version ( 1.17.7 dpkg). . (Generic general options) --threads-max=threads (threads) ( 1.21.14 dpkg). -q (quiet) . (SOURCE PACKAGE FORMATS) "3.0 (quilt)" "3.0 (native)" . . : 1.0 (Format: 1.0) .orig.tar.gz .diff.gz .tar.gz ( native ). tarball .orig.tar.gz.asc 1.18.5 dpkg . : (vendors) dpkg . tarball . .orig.tar.gz (patch) .diff.gz . (timestamp) ( ). diff ( debian ) ( ) . tarball . tarball ".orig" .diff.gz directory .orig . ( --build): tar diff . dpkg-source -sX tar package_upstream-version.orig.tar.gz directory.orig . -sa -sp -sk -su -sr tar . -sA -sP -sK -sU -sR . -sk tar package_upstream-version.orig.tar.extension . tar . tarball diff directory.orig . -sp -sk . -su package-upstream-version.orig dpkg-source . -sr -su . -ss tar . dpkg-source diff tar .dsc . - tar . -sn diff . . diff . -sa -sA tar - ( -sn ). tar diff ( -sp) ( -sr) diff ( -sn). -sA dpkg-source ( -sP) -sa . -sa . --abort-on-upstream-changes diff debian ( 1.15.8 dpkg). debian/source/options debian/source/local-options . ( --extract): . -sp ( ) tar . . ( ). -su . -sn . . -sX . . --skip-debianization diff ( 1.15.1 dpkg). : 2.0 (Format: 2.0) 1.13.9 dpkg 1.14.8 dpkg. wig&pen . "3.0 (quilt)" . Wig&pen . "3.0 (quilt)" . debian/patches/ [\w-]+ : . zz_debian-diff-auto . : 3.0 () (Format: 3.0 (native)) 1.14.17 dpkg. 1.0 . ( -I --help ). : dpkg . : 3.0 (quilt) (Format: 3.0 (quilt)) 1.14.17 dpkg. tarball (.orig.tar.ext ext gz bz2 lzma xz ) tarball (.debian.tar.ext) . tarball (.orig-addon.tar.ext). addon - (`a-zA-Z0-9') (`-') . tarball (.orig.tar.ext.asc .orig-addon.tar.ext.asc) 1.17.20 dpkg 1.18.5 dpkg . tarball tarball addon ( ). tarball debian . tarball debian ( --include-binaries ). debian/patches/vendor.series debian/patches/series vendor debian . ( ) . quilt . series debian/rules . . dpkg-source series ( ) -p1 patch . . lintian(1) series lintian <<--profile dpkg>> lintian(1) . ( ). quilt (fuzz) . quilt (refresh) dpkg-source . quilt . .pc/applied-patches . tarball debian (debian-changes-version debian-changes --single-debian-patch) . . diff --single-debian-patch --auto-commit diff . series quilt . diff tarball ( debian/source/include-binaries). debian debian/source/include-binaries . debian tarball . diff ( -i --help ). .pc quilt . : dpkg-source --before-build ( --build) series . ( series .pc/applied-patches ) . --no-preparation . --commit [directory] [patch-name] [patch-file] quilt patch-name . . patch-file . ( sensible-editor $VISUAL $EDITOR vi) . patch-file . . debian/source/include-binaries tarball ( dpkg-source --include-binaries --build ). --allow-version-of-quilt-db=version dpkg-source quilt dpkg-source ( 1.15.5.4 dpkg). quilt 2 dpkg-source . quilt .pc/.version . --include-removal . --include-timestamp . --include-binaries tarball . debian/source/include-binaries : . --no-preparation ( 1.14.18 dpkg). --single-debian-patch debian/patches/debian-changes debian/patches/debian-changes-version ( 1.15.5.4 dpkg). VCS . diff . debian/source/local-options debian/source/local-patch-header VCS . --create-empty-orig tarball tarball ( 1.15.6 dpkg). "" . --no-unapply-patches, --unapply-patches dpkg-source --before-build --after-build (unapply) (--unapply-patches 1.15.8 dpkg --no-unapply-patches 1.16.5 dpkg). . debian/source/local-options . --abort-on-upstream-changes ( 1.15.8 dpkg). quilt . debian/source/options debian/source/local-options . --auto-commit series quilt . --skip-debianization tarball ( 1.15.1 dpkg). --skip-patches ( 1.14.18 dpkg). : 3.0 () (Format: 3.0 (custom)) 1.14.17 dpkg. . . . . . --target-format=value . . .dsc Format "3.0 (custom)". : 3.0 () (Format: 3.0 (git)) 1.14.17 dpkg. . (bundle) .git . .gitshallow (shallow) . bundle . gitshallow .git/shallow . checkout checkout . ( "main" .) remotes/origin/ . . git-bundle(1) bundle . . --git-ref=ref ref bundle . . . ref . git-rev-list(1) . --git-ref=main . --git-ref=--all --git-ref=^private . --git-depth=number . : 3.0 (bzr) (Format: 3.0 (bzr)) 1.14.17 dpkg. . tarball bzr . tarball bzr checkout . . VCS . tarball . (DIAGNOSTICS) debian/source/format debian/source/format . "1.0" : dpkg-source . "1.0" ("3.0 (quilt)" "3.0 (native)") dpkg-source . "1.0" debian/source/format . (diff) "1.0" .diff.gz . debian . "3.0 (quilt)" . file : . ( ) . file diff . . perms file diff . . perms file diff . . (ENVIRONMENT) DPKG_COLORS ( 1.18.5 dpkg). : auto () always never. DPKG_NLS (Native Language Support) ( i18n) ( 1.19.0 dpkg). : 0 1 (). SOURCE_DATE_EPOCH ( /epoch) mtime tar(5) . 1.18.11 dpkg. VISUAL EDITOR "2.0" "3.0 (quilt)" . GIT_DIR GIT_INDEX_FILE GIT_OBJECT_DIRECTORY GIT_ALTERNATE_OBJECT_DIRECTORIES GIT_WORK_TREE "3.0 (git)" . (FILES) debian/source/format ( ). . debian/source/include-binaries ( ) tarball . . `#' . . debian/source/options dpkg-source --build dpkg-source --print-format . --compression --compression-level . . `#' . `--' . `=' . : # let dpkg-source create a debian.tar.bz2 with maximal compression compression = "bzip2" compression-level = 9 # use debian/patches/debian-changes as automatic patch single-debian-patch # ignore changes on config.{sub,guess} extend-diff-ignore = "(^|/)(config.sub|config.guess)$" : format debian/source/format . debian/source/local-options debian/source/options . VCS . debian/source/local-patch-header debian/source/patch-header "2.0" "3.0 (quilt)" . local-patch-header patch-header . debian/patches/vendor.series debian/patches/series ( ) . . vendor debian . series series . `#' . . ( debian/patches/) . quilt `#' ( ) . (SECURITY) (staging) . ( tar(1) patch(1)) . (root) . . (BUGS) . (SEE ALSO) deb-src-control(5), deb-changelog(5), deb-substvars(5), dsc(5). 1.23.7-dirty 2026-03-06 dpkg-source(1)