| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Closes: #1000384
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It turned out that "dh_installdocs 'foo bar'" has historically treated
the argument as a single file rather than two, and packages were
relying on it, since there is really no other way to install such a
file with dh_installdocs. Hence commit d00d7d524f8 broke them.
The situation for dh_installexamples, dh_installman and dh_installinfo
is exactly the same.
That dh_install has behaved differently in this respect is
unfortunate, but can only be fixed in a new compat level.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
|
|
| |
This function does not do anything particularly useful at the moment,
but we hope to make it do that in the future. By including it now,
other tools can migrate to it easier if/when it becomes useful.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous versions of debhelper had "interesting" way of interpreting
arguments where it split them on space. This was mistakenly
"corrected" in 10.6 when debhelper started to use bsd_glob (that does
not split on spaces).
To resolve this, manully split arguments like the original code would
(effectively) have done so packages are unaffected by it.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
|
|
|
|
| |
Use $main::VERSION to determine the version of the tool and embed that
into auto-generated snippets (e.g. via autoscript). This enables
lintian to extract the tool + version and display it on:
https://lintian.debian.org/tags/debhelper-autoscript-in-maintainer-scripts.html
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
|
| |
Set the local variables for Emacs in the central placed intended for
it, rather than in (currently) 95 individual files.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
| |
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
| |
They were not needed in the first place (as "install -d" DTRT).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
|
| |
The order in which the files are copied can affect directory
timestamps when copying subdirectory hierarchies.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
|
|
| |
Commit 71d06996481c6187b016c3b14b7e9faaf8adc432 changed most of the find
-exec invocations in dh_install* programs, but this one remains. Use
xargs instead to prepare for an additional sort command in the pipeline.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
|
| |
This gives faster copying on BTRFS with fallback to regular copy on
all other filesystems.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
| |
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
|
|
|
|
|
|
|
| |
This is determined by the presence of special PROMISE directives within
commands that provide a high-level description of the command.
Note that when dh is passed additional debhelper options, it cannot tell if
these change the behavior of commands, and so it stops skipping any
commands.
|
|
|
|
|
|
|
|
|
| |
As advised in man(1), always use: B<bold text> type exactly as shown.
I<italic text> replace with appropriate argument.
s/debian/Debian/ if needed. s/ / / also.
s/perl/Perl/ s/python/Python/ and s/emacs/Emacs/ too.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
install a directory ending with "/." (slashdot effect?) when exclusion is
enabled. Emulate the behavior of cp in this case. Closes: #253234
* dh_install: Fix #459426 here too.
|
|
|
|
|
|
| |
* Avoid infiinite recursion when told to install a directory ending with
"/." (slashdot effect?). Indeed, arbitrarily complex paths can be used
now, although there's really no point in using them. Closes: #253234
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"XC-Package-Type: udeb" in debian/control. See debhelper(1) for
details.
* Dh_Lib: add and export is_udeb and udeb_filename
* dh_builddeb: name udebs with proper extension
* dh_gencontrol: pass -n and filename to dpkg-gencontrol
* dh_installdocs, dh_makeshlibs, dh_md5sums, dh_installchangelogs,
dh_installexamples, dh_installman, dh_installmanpages: skip udebs
* dh_shlibdeps: skip udebs. This may be temporary.
* dh_installdeb: do not process conffiles, shlibs, preinsts, postrms,
or prerms for udebs. Do not substiture #DEBHELPER# tokens in
postinst scripts for udebs.
* dh_installdebconf: skip config script for udebs, still do templates
|
|
|
|
| |
* Typo, Closes: #183267
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
works.
I had to modify his patch to use cp --parents, since -P spews warnings
now. Also, I made it continue to use cp -a if nothing is excluded,
which is both faster, and means this patch is less likely to break
anything if it turns out to be buggy. Also, stylistic changes.
Closes: #40649
* Implemented -X for dh_installexamples as well.
* dh_clean -X substvars will also work now. Closes: #66890
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modified)to make dh_installwm use new window manager registration method,
update-alternatives. Closes: #52156, #34684 (latter bug is obsolete)
* Fixed $dh{flavor} to be upper-case.
* Deprecated dh_installemavcsen --number; use --priority instead. Also,
the option parser requires the parameter be a number now. And,
dh_installwm now accepts --priority, and window manager packages should
start using it.
* dh_installwm now behaves like a proper debhelper command, and reads
debian/<package>.wm too. This is a small behavior change; filenames
specified on the command line no longer apply to all packages it acts
on. I can't belive this program existed for 2 years with such a glaring
problem; I guess most people don't need ot register 5 wm's in 3
sub-packages. Anyway, it can handle such things now. :-)
* Moved Dh_*.pm to /usr/lib/perl5/Debian/Debhelper. *big* change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the most part, this was a straight-forward substitution,
dh_installmanpages needed a non-obvious change though.
* Closes: #42489, #42587, #41732.
* dh_installdocs: Adds code to postinst and prerm as specified in
http://www.debian.org/Lists-Archives/debian-ctte-9908/msg00038.html,
to make /usr/doc/<package> a compatability symlink to
/usr/share/doc/<package>. Note that currently if something exists in
/usr/doc/<package> when the postinst is run, it will silently not make
the symlink. I'm considering more intellingent handing of this case.
* Note that if you build a package with this version of debhelper, it will
use /usr/share/man, /usr/share/doc, and /usr/share/info. You may need to
modify other files in your package that reference the old locations.
|
|
|