Skip to content

Instantly share code, notes, and snippets.

@haxpor
Created November 2, 2021 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haxpor/7b790aa02bd603e1f0e06047ce5aad68 to your computer and use it in GitHub Desktop.
Save haxpor/7b790aa02bd603e1f0e06047ce5aad68 to your computer and use it in GitHub Desktop.
Inspect quilt package (version 0.65-3) for how to create PPA package.
## cat all files after extracting control.tar.xz with the command `find . -type f | xargs -I{} bash -c 'echo {}; cat {}; echo --------------;'`
./control
Package: quilt
Version: 0.65-3
Architecture: all
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Martin Quinson <mquinson@debian.org>
Installed-Size: 785
Depends: bsdmainutils, bzip2, diffstat, gettext, patch, sensible-utils, perl
Recommends: less
Suggests: default-mta | mail-transport-agent, graphviz, procmail
Enhances: cdbs, debhelper
Breaks: debhelper (<< 9.20160114~bpo)
Section: vcs
Priority: optional
Multi-Arch: foreign
Homepage: https://savannah.nongnu.org/projects/quilt
Description: Tool to work with series of patches
Quilt manages a series of patches by keeping track of the changes
each of them makes. They are logically organized as a stack, and you can
apply, un-apply, refresh them easily by traveling into the stack (push/pop).
.
Quilt is good for managing additional patches applied to a package received
as a tarball or maintained in another version control system. The stacked
organization is proven to be efficient for the management of very large patch
sets (more than hundred patches). As matter of fact, it was designed by and
for Linux kernel hackers (Andrew Morton, from the -mm branch, is the
original author), and its main use by the current upstream maintainer is to
manage the (hundreds of) patches against the kernel made for the SUSE
distribution.
.
This package provides seamless integration into Debhelper or CDBS,
allowing maintainers to easily add a quilt-based patch management system in
their packages. The package also provides some basic support for those not
using those tools. See README.Debian for more information.
--------------
./postinst
#!/bin/sh
set -e
# Automatically added by dh_installdeb/11.3.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/quilt 0.65-1\~ -- "$@"
# End automatically added section
--------------
./postrm
#!/bin/sh
set -e
# Automatically added by dh_installdeb/11.3.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/quilt 0.65-1\~ -- "$@"
# End automatically added section
--------------
./preinst
#!/bin/sh
set -e
# Automatically added by dh_installdeb/11.3.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/quilt 0.65-1\~ -- "$@"
# End automatically added section
--------------
./md5sums
e38f735e410ec260adda9100e9ebb144 usr/bin/deb3
748714a6b5ced5736d082d67bc41ebd0 usr/bin/dh_quilt_patch
450ebe566b83aa208b39e1a9eb457d1e usr/bin/dh_quilt_unpatch
83ab89dfd34e5666c79d3ce6146105a0 usr/bin/guards
e2f9e3c7adbcb70461792c3f12c1cd58 usr/bin/quilt
483cd86914faa052842e3f14a53fddfd usr/share/bash-completion/completions/quilt
400ae60b816e9fd1dfd8f7ece68e9968 usr/share/cdbs/1/rules/patchsys-quilt.mk
b78b58ecbf2d545518708e488866000d usr/share/doc-base/quilt
02d2dae85b08ec389ebbaddb5fade743 usr/share/doc/quilt/AUTHORS
eeb117bd07240c6dd13ca19733919c1d usr/share/doc/quilt/README.Debian
ecf56768f93b1f34b8a74e0275415c82 usr/share/doc/quilt/README.MAIL.gz
6ba472b6988dcb27c7de55ad7a81e82b usr/share/doc/quilt/README.gz
db995c4f49171436552c0e167aee3594 usr/share/doc/quilt/README.source
fdfb90c22bcf472731d16d893ea801b7 usr/share/doc/quilt/TODO
8845b1e62096f317f5e201dec5786787 usr/share/doc/quilt/changelog.Debian.gz
39858704185d8d9c35ee1b172b0cd7ee usr/share/doc/quilt/copyright
721acef620bfc5f3b4f1d15d69c4c335 usr/share/doc/quilt/examples/dpatch2quilt.sh
95da61ab633da6e675d2e626cb8c940e usr/share/doc/quilt/quilt.html
d4d5ebab57f782e22e8d5df474f303bb usr/share/doc/quilt/quilt.pdf
fc364fe50f1a1533d3c07a46b2a92043 usr/share/doc/quilt/quilt.txt.gz
a6b39757634a30d5c335a6cc0437c83b usr/share/locale/de/LC_MESSAGES/quilt.mo
824d9209f0cdb997631cea82e916d1d7 usr/share/locale/fr/LC_MESSAGES/quilt.mo
ecdbb8281fb5b901a6af9c03b9478550 usr/share/locale/ja/LC_MESSAGES/quilt.mo
103e3855c3271853e34925097b4586a0 usr/share/locale/ru/LC_MESSAGES/quilt.mo
b653f5e02f7cbec26098b0a0c3156114 usr/share/man/man1/deb3.1.gz
50f1247d4b8d792e47d0b12101180caf usr/share/man/man1/dh_quilt_patch.1.gz
9573f6b5f662f79889922a880771f864 usr/share/man/man1/dh_quilt_unpatch.1.gz
d2a5ad0f45e99668adc5ec817a5a9559 usr/share/man/man1/guards.1.gz
a1d0ad7af52a76d257f5357a6ad5da7d usr/share/man/man1/quilt.1.gz
210e596c56185fb3223bfa05044f4140 usr/share/perl5/Debian/Debhelper/Sequence/quilt.pm
e04ebd7c2e02c881ceadc8d63253830b usr/share/quilt/add
1110733ccb000b662d8f2ffb66032410 usr/share/quilt/annotate
7e34c2a7df1a2d8f9face31dbfb2d678 usr/share/quilt/applied
a884f87468f2d6a6cbf05ba28bbfde9b usr/share/quilt/delete
373d02e2b1a98dd8f37530b5d36cbdce usr/share/quilt/diff
eb26f0534283a592abfb271a67471958 usr/share/quilt/edit
afe8dc1725e39cc04fa12b011beb0750 usr/share/quilt/files
c630052f775f852b9d0696f585425363 usr/share/quilt/fold
0a2f8feb478977f6f85d42b7ffc1e9ba usr/share/quilt/fork
f12eb9054a077f1a100689ae35a339f5 usr/share/quilt/graph
7164d12d3df7bcc2a9aa1ee9fb5680dd usr/share/quilt/grep
33f032054542113a5551531f78873102 usr/share/quilt/header
a8c09f8dd49b9ffac43b9ebee77b7b90 usr/share/quilt/import
e31ebf80483557bdcde498bb078c466a usr/share/quilt/init
1ef8b2d9ae8579a9d714691057fa80ac usr/share/quilt/mail
ad614d96a675a722b3ad08a16c27215d usr/share/quilt/new
769ad679f7eba086a888e44c08eb3739 usr/share/quilt/next
cce5ebb417066c780b7c1bb96eae570d usr/share/quilt/patches
a64682de6ce2ab6f79e4ff6586daccff usr/share/quilt/pop
7195a2584d44cbe274165dbecc1c120f usr/share/quilt/previous
49a48e59e39dbf074cf6404bea700003 usr/share/quilt/push
40b7050d184306db8afa42658eba9b84 usr/share/quilt/quilt.debbuild.mk
8f87439160181565efec7b2e64119ce6 usr/share/quilt/quilt.make
3808fcaa68c16ca29c6c9a27320888c2 usr/share/quilt/refresh
01f82b9925ef19e9192ff82f4bf39419 usr/share/quilt/remove
aa23dced0d06284852189c1207e9660e usr/share/quilt/rename
17299c04f5f785ad80acb4590fe6f4b8 usr/share/quilt/revert
543ff703a66620b6f976296fa33ed8e9 usr/share/quilt/scripts/backup-files
3a3b745f99411a71e79b205796296bd2 usr/share/quilt/scripts/dependency-graph
12f62ef49e76e56f32f767fcb26b66dd usr/share/quilt/scripts/edmail
23aa8e047cf3a9a31f313beff505c6ca usr/share/quilt/scripts/inspect-wrapper
f3b69bc0328bdbf6b5582c6d6f8a7d82 usr/share/quilt/scripts/patchfns
a36c3c9605171e610e3bc9867ea52a78 usr/share/quilt/scripts/remove-trailing-ws
a94045f792a358cf316cd21033d30ce6 usr/share/quilt/scripts/utilfns
3323430708a03c71ea2562c5611334b7 usr/share/quilt/series
effd44c43433dafe0671deff8ac49665 usr/share/quilt/setup
9d004d41621089e23e0d1b86fba78bc2 usr/share/quilt/shell
79f79cc4e1c8b9f371af2c098e42e9ce usr/share/quilt/snapshot
abd199e85668ba90c932b16d3cf9c302 usr/share/quilt/top
e0beb3c7afd2176995255744bceed819 usr/share/quilt/unapplied
9797b03cfc6b6772204c7fcc1fd3ac41 usr/share/quilt/upgrade
--------------
./conffiles
/etc/quilt.quiltrc
--------------
./prerm
#!/bin/sh
set -e
# Automatically added by dh_installdeb/11.3.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/quilt 0.65-1\~ -- "$@"
# End automatically added section
--------------
Files in this archive is the actual layout for the installation to happen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment