Debian Patches

Status for checkinstall/1.6.2+git20170426.d24a630-4

Patch Description Author Forwarded Bugs Origin Last update
0001-Document-changes-applied-in-the-debian-package.patch [PATCH] Document changes applied in the debian package
Some documentation refers to the location of gettext files and
checkinstallrc, which we modify.
Felipe Sateler <fsateler@gmail.com> no 2010-04-15
0002-Change-default-configuration.patch [PATCH] Change default configuration Felipe Sateler <fsateler@gmail.com> no 2010-04-15
0003-Change-the-textdomaindir-to-match-debian-installatio.patch [PATCH] Change the textdomaindir to match debian installation
===================================================================
Felipe Sateler <fsateler@gmail.com> no 2010-04-15
0004-Load-checkinstallrc-from-etc.patch [PATCH] Load checkinstallrc from /etc Felipe Sateler <fsateler@gmail.com> no 2010-04-15
0007-Drop-cases-for-glibc-2.4.patch [PATCH] Drop cases for glibc < 2.4
Some functions definitions were dependent on the glibc version. Since
2.7 is in stable, drop everything for < 2.4.
Felipe Sateler <fsateler@gmail.com> no 2010-04-15
0008-Set-file-permissions-to-o-g-instead-of-644.patch [PATCH] Set file permissions to o=g instead of 644
When --reset-uids is passed, match world permissions with group
permissions instead of forcing 644 for everything. This is mainly to
protect against build systems that do not take more restrictive umasks
into account.
Reuben Thomas <rrt@sc3d.org> no 2010-05-06
0011-fix-crash-when-sizeof-mode_t-sizeof-int.patch [PATCH] fix crash when sizeof(mode_t) < sizeof(int)
On Debian GNU/kfreebsd mode_t is uint16_t. According to GCC this gets
promoted to an int:

installwatch.c:3835:11: warning: 'short unsigned int' is promoted to 'int' when passed through '...' [enabled by default]
installwatch.c:3835:11: note: (so you should pass 'int' not 'short unsigned int' to 'va_arg')
installwatch.c:3835:11: note: if this code is reached, the program will abort

and according to "man va_arg" this indeed is documented to lead to
random behavior:

"If there is no next argnument, or if type is not compatible with the
type of the actual next argument (as promoted according to the
default argument promotions), random errors will occur.

This patch simply uses int instead of mode_t and fixes Debian bug
702314 (checkinstall aborts with illegal instruction on kFreeBSD).
Timo Juhani Lindfors <timo.lindfors@iki.fi> no 2013-03-05
0012-add-debian-cflags.patch Build with dh CLAGS
This allows proper hardening to be done
Stephen Gelman <ssgelm@debian.org> no 2019-07-09
0013-fix-installcheck-tests.patch Fix installcheck tests
There are a bunch of things that need to be fixed in order to get the installcheck tests working again
Stephen Gelman <ssgelm@debian.org> no 2019-07-09
0014-fix-xstat64.patch checkinstall: Segmentation fault when invoking `checkinstall cmake -P cmake_install.cmake`
in installwatch.c, _xstat64() is missing check for initialization

As a consequence of this, if `__xstat64()` is the first function called from
the library, then no initialization is performed and the program segfaults when
trying to call `true_xstat64()` which is uninitialized

This causes a segmentation fault on Debian Stretch when invoking e.g.:
`checkinstall cmake -P cmake_install.cmake`
Giulio Moro <giuliomoro@yahoo.it> yes 2017-10-14
0015-add-renameat2.patch Add renameat2 to installwatch
installwatch is missing support for the newer renameat2 syscall. This is a
problem because `mv` defaults to using it in newer versions.
Stephen Gelman <ssglem@debian.org> no 2019-09-28
0016-Define-_STAT_VER-_MKNOD_VER-locally-dropped-in-glibc.patch Define _STAT_VER & _MKNOD_VER locally (dropped in glibc 2.33)
In glibc 2.33, they've removed the _STAT_VER and _MKNOD_VER definitions
from public headers. They have no plans to add these back so checkinstall
needs to attempt its own definitions. There is some protection as if they
were wrong and there was a mismatch, we'd get an error at runtime.

Removed in upstream glibc:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=8ed005daf0ab03e142500324a34087ce179ae78e
=?utf-8?q?Lukas_M=C3=A4rdian?= <slyon@ubuntu.com> no 2021-10-14
0017-add-prerequires-to-support-Debian-Pre-Depends.patch [PATCH] add --prerequires to support Debian Pre-Depends King Jin <jinking.this@gmail.com> no 2023-08-25
0018-fix-mkdir-p.patch Fix mkdir -p. From bug report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717778 Geoffrey Hausheer <debianbugs22@pblue.org> no 2022-07-02

All known versions for source package 'checkinstall'

Links