Age | Commit message (Collapse) | Author | Files | Lines |
|
Switch more URLs, now that these services have had SSL enabled.
|
|
|
|
This fixes a build failure with old g++ compilers not accepting
-Wc++11-compat.
|
|
|
|
|
|
This clarifies the purpose of the file related to the dpkg action to
perform.
|
|
The dpkg implementation was replaced by the GNU texinfo implementation
some time ago, through a wrapper used to ease the transition. Now long
complete, it's time to clean up.
|
|
Do not fix the shlibs conffiles to avoid possible useless prompts.
Fixes CodeLayout::ProhibitTrailingWhitespace.
Warned-by: perlcritic
|
|
There are no packages using absolute paths in the Debian archive anymore.
|
|
|
|
|
|
This simplifies the parsing and checking and avoids having to treat the
format versions as floats, which can cause parse errors depending on the
locale (this only affected the old deb format).
|
|
|
|
The only free()ed members were the last ones.
|
|
Right now this includes memcpy (moved from a simple check) and lchown,
both being used unconditionally in the code.
(The TODO had lstat as a typo for lchown.)
|
|
Found by codespell.
|
|
Using <> to delimit parts of text is necessary when using plain text
output, but not when we have some formatting available around, which
is the case with the man pages, but not with the program output.
|
|
|
|
|
|
Always set DPKG_ADMINDIR from dpkg so that all subprocesses inherit
the variable and there's no possible security risk from a user process
setting the variable to write onto a user controlled area.
As usual, the order in which the admindir value is overridden is the
following: built-in default, environment variable and command line
option.
Closes: #97076
Suggested-by: Brendan O'Dea <bod@debian.org>
|
|
|
|
Remove trailing spaces. Remove blank lines not separating different code
blocks. Remove blank lines at the end of the file.
|
|
|
|
|
|
Reduce repeated code, and localize it where it belongs.
|
|
|
|
|
|
Use next/prev instead of next/back (which would complement forward).
Also move next to the end of member names and seprate it with an
underscore, to simulate it being a sub struct member.
|
|
The few places where the vsnprintf callers are not checking the return
value, are about to ohshit anyway so there's no real damage by not
doing the check, the rest are harmless.
|
|
|
|
Stop supporting self backgrounding, remove DPKG_NO_TSTP environment
variable support, as we always spawn a shell now.
This will allow setting useful environment variables for the user to use
with other tools. And is less confusing, as the action to go back to
dpkg does not depend on how dpkg was run.
Closes: #38334
|
|
|
|
|
|
|
|
Remove done items. Remove items moved to the RoadMap in the wiki, and
add a link to it. Move items around were they better fit. Separate old
TODOs with a straight line.
|
|
|
|
|
|
|
|
Use versions instead of Debian specific releases, although we map minor
versions to Debian releases.
|
|
|
|
In order to properly transition to GNU's install-info, dpkg's install-info
is modified to be a simple wrapper around /usr/bin/install-info. That
wrapper warns when the user explicitely calls /usr/sbin/install-info since
the new install-info is in /usr/bin/.
This wrapper is meant to be removed at some point when all references
to /usr/sbin/install-info have gone (most probably in squeeze+1).
Also remove the manual page since there's nothing to document any more
and add a lintian override until the wrapper is removed.
Reference: http://wiki.debian.org/Transitions/DpkgToGnuInstallInfo
|
|
Move state variables into a new struct and pass that instead of each of
them to the error, warning and field parsing functions. This is cleaner,
and should be “marginally” faster.
|
|
Wrap the curses headers to use and select them through the config.h macros
detected at configure time. This way we can also cleanly detect the path
needed by mkcurkeys.pl w/o duplicating the selection logic.
|
|
* scripts/Makefile.am: Move update-alternatives, dpkg-divert and
dpkg-statoverride to /usr/bin as they can be useful to users since
they have --display or --list options that do not require
administrative rights.
* Makefile.am (EXTRA_DIST): Add debian/dpkg.links
|
|
|
|
|
|
|
|
|
|
|
|
|