Age | Commit message (Collapse) | Author | Files | Lines |
|
Due to the performance degradation on ext4 file systems, as a
workaround on Linux, we use sync() which is synchronous, before
rename() to make sure it's truly atomic.
Closes: #578635
|
|
Check for compiler support from preprocessor macros and selectively
enable specific __attribute__ specifications. We avoid exposing the
configure variable HAVE_C_ATTRIBUTE, which was never defined for the
installed headers. Remove the now unused DPKG_C_ATTRIBUTE autoconf
macro.
|
|
This affects only dselect ncurses support for now.
Based-on-patch-by: Yuri Vasilevski <yvasilev@gentoo.org>
|
|
|
|
|
|
|
|
|
|
Use PKG_PROG_PKG_CONFIG to detect and allow overriding the pkg-config
binary to use, for example in case of cross-compilation.
Suggested-by: Tollef Fog Heen <tfheen@err.no>
|
|
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Guillem Jover <guillem@debian.org>
|
|
Use the po4a command found when doing the availability checks.
Reported-by: Felipe Contreras <felipe.contreras@gmail.com>
|
|
This avoids possible future collisions and makes it easier to see
what's coming from dpkg and what each file is for.
|
|
Place first <config.h> and <compat.h>, then all <sys/*.h> sorted by
complexity, followed by the rest of the system headers, then <dpkg/*.h>
and finally the local "*.h" ones.
Move <dpkg/i18n.h> inclusion into libdpkg inclusion block, as the
<gettext.h> compatibility header already takes care of including
<locale.h> before <libintl.h> on environments were its probamatic.
Removed duplicated inclusions.
|
|
Use AS_TR_SH for shell variables and AS_TR_CPP for variables used in
headers or Makefiles.
|
|
The macro was checking for the dpkg_cv_define variable, which implied
always doing an AC_DEFINE to 0.
As a consequence now start-stop-deaemon will use TIOCNOTTY when
available.
|
|
|
|
Taken from autoconf.
|
|
We need the new semantics that allow passing NULL and 0 size to retrieve
the full size of the formatted string. Add a new DPKG_FUNC_C99_SNPRINTF
macro and remove the simple compat checks for snprintf and vsnprintf.
|
|
It's more portable that way. Remove now unneeded check for working
assignment.
|
|
|
|
This extension is not going to be used in the code base anyway.
|
|
|
|
Do not use -Werror for now (at leasat until ncurses is fixed). And add
-Wextra -Wno-unused-parameter -Wno-missing-field-initializers.
|
|
|
|
|
|
Use one back slash instead of two, otherwise perl was replacing it
with the $( (aka $GID).
Broken due to commit 02f1f8a50af58b9d1f61dd9258cf1d26fe2f0d21.
|
|
Use single quotes for strings, angle brackets for headers, and $()
for command subsitution. This should pacify syntax highlighters.
|
|
Used to check if something is declared in a header.
|
|
|
|
|
|
Using AC_CANONICAL_TARGET is needed when wanting to support building
cross-compiling software. But there's too many assumptions in dpkg that
the host system in dpkg-dev is going to match the build system.
|
|
|
|
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.
|
|
* m4/libs.m4 (DPKG_LIB_CURSES): Use libncursesw if available.
* debian/control: Change build-dependency from libncurses5-dev
to libncursesw5-dev.
|
|
|
|
Fix portability issues with ancient shells on HP-UX. Closes: #24514
|
|
|
|
Replace the default prefix (vendorprefixexp) with $(prefix)
in vendorlibexp.
Detected by distcheck
|
|
module.
|
|
With daemons (i.e. except when --background is used), the session is
closed too early.
#376165 and #406942 will be tagged wontfix.
Thanks to Guillem Jover for noticing.
|
|
|
|
|
|
|
|
autoreconf failure due to the new m4 1.4.7.
|
|
architecture, instead of duplicating the logic in the m4 files.
|
|
|
|
These were actually commited accidently by importing from the source
package and not an arch checkout
|
|
Add a Build-Dependency on pkg-config, thighten libselinux1-dev to
at least version 1.28-4 which provides a .pc file, and remove
libsepol1-dev as libselinux1-dev is Depending on it.
|
|
transitive library. The proper fix should come with a pkg-config file.
Based on a patch by Bart Martens <bart.martens@advalvas.be>.
|
|
The "On like Donkey Kong" Release.
* Only open the log file when we first need to write to it, this avoids
the need to suppress errors when not root which fakeroot defeated anyway.
* Stop dpkg-source clobbering an existing .orig directory during unpacking.
Closes: #21236.
* Allow an alternate output directory to be specified to dpkg-source by
giving a second argument to -x. Closes: #246802, #282323.
* Added .arch-inventory to default diff ignore regexp. Closes: #304297.
SELinux support (Manoj Srivastava):
* On SELinux-enabled systems, try to set the security context when the
package is unpacked. Closes: #193653, #249496, #307139.
* Added build-dependancy on libselinux1-dev.
Improvements to dpkg-source (Brendan O'Dea):
* Support unpacking of "Wig And Pen" (Format 2.0) source packages.
* Multiple pristine upstream tarballs allowed.
* Native and upstream tarballs may be bzip2-compressed instead of gzip,
as may the debian diff or tarball.
* Unsupported format error fixed to output the unsupported format
rather than the supported one. Closes: #156317.
-- Scott James Remnant <scott@netsplit.com> Sun, 12 Jun 2005 15:52:43 +0100
|
|
The "Or the Wabbit gets it" Release
* Add -L option to dpkg-architecture to list architecture strings
we can accept.
-- Scott James Remnant <scott@netsplit.com> Tue, 29 Mar 2005 13:31:15 +0100
|