Commit Graph

405 Commits

Author SHA1 Message Date
Boian Bonev
df220edbc5
bump version to 3.2.14 2023-08-11 23:16:10 +00:00
Boian Bonev
7d2123ead5
Bump udev version to 251 2023-08-11 22:08:27 +00:00
Boian Bonev
ee12a0afd7
Prepare a release of 3.2.12 2023-05-16 14:17:36 +00:00
Boian Bonev
6836c0e9a2
Rework dmi_memory_id from systemd 2022-10-04 17:38:38 +03:00
Boian Bonev
ba2cff9c54
Prepare a pre-release of 3.2.12-pre3 2022-06-14 02:44:42 +03:00
Boian Bonev
da0ca7eb21
Avoid warning on 32bit
On 32bit arches where time_t is defined as long int and where
sizeof(long)==sizeof(int), PRI_TIME is PRIu32 which is "u" and gcc warns about
ignoring the long part of the integer type. There is no problem besides the
warning.

Upcast time_t to 64bit and get rid of PRI_TIME and configure checks

udevadm-monitor.c: In function ‘print_device’:
udevadm-monitor.c:49:16: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=]
   49 |         printf("%-6s[%"PRI_TIME".%06ld] %-8s %s (%s)\n",
      |                ^~~~~~~~
   50 |                source,
   51 |                ts.tv_sec, ts.tv_nsec/1000,
      |                ~~~~~~~~~
      |                  |
      |                  __time_t {aka long int}
In file included from ../../src/shared/macro.h:26,
                 from udev.h:26,
                 from udevadm-monitor.c:35:
/usr/include/inttypes.h:104:19: note: format string is defined here
  104 | # define PRIu32  "u"
2022-06-11 17:43:28 +03:00
Boian Bonev
2c969a36db
Revert "Avoid warning on 32bit"
This reverts commit b1de2b70bc.
2022-06-11 17:42:31 +03:00
Boian Bonev
b1de2b70bc
Avoid warning on 32bit
On 32bit arches where time_t is defined as long int and where
sizeof(long)==sizeof(int), PRI_TIME is PRIu32 which is "u" and gcc warns about
ignoring the long part of the integer type. There is no problem besides the
warning.

Use "lu" in the above conditions and PRIu32 in all other 32bit time_t cases.

udevadm-monitor.c: In function ‘print_device’:
udevadm-monitor.c:49:16: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘__time_t’ {aka ‘long int’} [-Wformat=]
   49 |         printf("%-6s[%"PRI_TIME".%06ld] %-8s %s (%s)\n",
      |                ^~~~~~~~
   50 |                source,
   51 |                ts.tv_sec, ts.tv_nsec/1000,
      |                ~~~~~~~~~
      |                  |
      |                  __time_t {aka long int}
In file included from ../../src/shared/macro.h:26,
                 from udev.h:26,
                 from udevadm-monitor.c:35:
/usr/include/inttypes.h:104:19: note: format string is defined here
  104 | # define PRIu32  "u"
2022-06-10 04:03:00 +03:00
Boian Bonev
dd6b068a56
Prepare a pre-release of 3.2.12-pre2 2022-06-10 02:09:47 +03:00
Boian Bonev
8bf47b7dfb
Prepare a pre-release of 3.2.12-pre1 2022-06-06 16:14:03 +03:00
Alex Kiernan
ccbe41e3b8 build: Remove dead g-i-r configuration
g-i-r support was removed in 2015 as part of removal of Gobject libudev
support, but the autoconf support wasn't removed but is dead.

Fixes: 252150e181 ("src/gudev: remove Gobject libudev support.")
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
2022-05-20 18:19:15 +01:00
Boian Bonev
acbbfa8a94
Prefer usage of mallinfo2 over mallinfo 2021-12-14 21:56:06 +02:00
Boian Bonev
f8cf40cbc5
Prepare a release of 3.2.11 2021-12-14 21:43:36 +02:00
Boian Bonev
639074e15b
Prepare a pre-release of 3.2.11-pre2 2021-12-02 03:45:02 +02:00
Boian Bonev
1b10140b9f
Prepare a pre-release of 3.2.11-pre1 2021-11-05 05:04:31 +02:00
Boian Bonev
af4be561f7
Use AC_PROG_CC instead of obsoleted AC_PROG_CC_C99 2021-10-10 01:53:23 +03:00
Anthony G. Basile
be7068512c configure.ac: bump to version 3.2.10, version 243
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2021-02-09 14:12:04 -05:00
Issam E. Maghni
fa0ea89c14
configure: test -a|o is not POSIX
Fixes `test: too many arguments` when building Linux-PAM using sbase.
This is due to a non-POSIX syntax test ... -a ... and test ... -o ....

> The XSI extensions specifying the -a and -o binary primaries and the
> '(' and ')' operators have been marked obsolescent.

See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2020-12-22 09:58:51 -05:00
Marius Bakke
941d20bce3
rules/64-btrfs.rules: Expand @bindir@ to the absolute directory name.
This fixes #182 by ensuring @bindir@ is fully expanded at installation
time.  See "Installation Directory Variables" in the GNU Autoconf
manual, in particular the note about AC_CONFIG_FILES.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2020-04-10 09:26:02 -04:00
Anthony G. Basile
2ab887ec67 configure.ac: bump to version 3.2.9, version 243
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2019-10-26 16:18:03 -04:00
Anthony G. Basile
d69f3f2834 configure.ac: bump to version 3.2.8
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2019-05-20 08:27:38 -04:00
Anthony G. Basile
253ed1fcc4
configure.ac: update to version 228, issue #173
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2019-05-19 08:32:01 -04:00
Anthony G. Basile
34b2037d37 Drop unused <langinfo.h>, resolves issue 167
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2019-01-09 06:21:06 -05:00
Anthony G. Basile
4758e346a1 configure.ac: bump to version 3.2.7
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2018-10-26 09:42:39 -04:00
Anthony G. Basile
96c5552c52 rules/64-btrfs.rules: substitue @bindir@
See https://bugs.gentoo.org/666892

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2018-09-23 21:03:33 -04:00
Anthony G. Basile
0c35b136c0 configure.ac: bump to version 3.2.6
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2018-09-18 06:26:00 -04:00
Anthony G. Basile
8154c679d0 configure.ac: bump to version 3.2.5
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2017-11-21 16:46:37 -05:00
Mickaël Tansorier
ab8b62f1c1 configure.ac: fix typo on blkid 2017-10-06 17:30:41 +02:00
Anthony G. Basile
7b07373ca8 configure.ac: bump to version 3.2.4
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2017-09-05 18:06:23 -04:00
Anthony G. Basile
1aa224d074 configure.ac: bump to version 3.2.3
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2017-09-03 14:09:56 -04:00
Anthony G. Basile
6b5db4f21e configure.ac: bump to version 3.2.2 2017-04-19 17:09:29 -04:00
Yann E. MORIN
18565392cf configure.ac: add option to disable building programs
In some cases (e.g. trimmed-down chroot or containers), libudev is the
only thing needed, with udevd and assorted programs totally useless
(e.g. because /dev is bind-mounted from the real one and managed
out-side the chroot/container).

Add an option to ./configure to enable/disable building the programs;
this option defaults to "enable", so that it is backward compatible with
existing build procedure, and because it by default makes sense to have
udevd et al.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2017-01-01 18:19:58 -05:00
Ioan-Adrian Ratiu
2edc3cf879 configure.ac: add option to disable mtd_probe
FTL is not necessarily present on all kernels so it's useful to
have an option to disable this.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
2016-12-21 16:30:44 +02:00
Anthony G. Basile
823db6f44c configure.ac bump 3.2.1
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2016-12-11 11:50:20 -05:00
Anthony G. Basile
ec9a5d6547 configure.ac: bump 3.2 = upstream 220
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2016-06-01 14:33:43 -04:00
Anthony G. Basile
0fe32c8006 src/shared/util.c: add fallback for ppoll(), issue #129.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2016-03-21 10:58:31 -04:00
Anthony G. Basile
1e521c3cf1 configure.ac: fix some white space
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2016-03-21 09:51:40 -04:00
Anthony G. Basile
4b6c99d7e5 configure.ac: use automake 1.11 2016-02-28 17:31:02 -05:00
Anthony G. Basile
754c98e8df configure.ac: we don't need xsltproc, but making doc's does 2016-02-28 14:45:12 -05:00
Anthony G. Basile
ff28cff516 configure.ac: bump 3.1.5 = upstream 220 2015-10-13 02:00:05 -04:00
Ian Stakenvicius
305f0eef4d Forward-ported network rule-generator code from eudev-1.10 2015-09-25 12:38:07 -04:00
Romain Naour
0e2be0c217 build-sys: check for strndupa
strndupa is a GNU extension, therefore it's not available
for all libc libraries (musl).

This patch is based on the one proposed by Emil Renner Berthing for
systemd [1].

[1] http://lists.freedesktop.org/archives/systemd-devel/2014-September/023190.html

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
2015-07-31 14:57:27 +02:00
Romain Naour
24ccb6ebc5 build-sys: check for mallinfo
mallinfo is not specified by POSIX or the C standards, therefore
it's not available for all libc libraries (musl).

Add the ability to disable mallinfo statistics.

Fixes:
selinux-util.c: In function ‘mac_selinux_init’:
selinux-util.c:70:25: error: storage size of ‘before_mallinfo’ isn’t known
         struct mallinfo before_mallinfo, after_mallinfo;

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
2015-07-31 14:49:20 +02:00
Anthony G. Basile
252150e181 src/gudev: remove Gobject libudev support.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-07-20 08:42:01 -04:00
Anthony G. Basile
1b6370e74b docs: remove gtk-docs.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-07-20 08:33:47 -04:00
Bastien Nocera
e172381913 It's moved to the iio-sensor-proxy D-Bus service.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-07-20 07:45:23 -04:00
Anthony G. Basile
c9ed0f0dc6 configure.ac: bump 3.1.2 = upstream 220
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-06-19 12:33:33 -04:00
Anthony G. Basile
3c49a3776a configure.ac: bump 3.1.1 = upstream 220
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-06-05 10:35:38 -04:00
Anthony G. Basile
ebb37f6a47 configure.ac: add --enable-hwdb option. Address issue #111.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-05-30 08:50:28 -04:00
Anthony G. Basile
53997d40dd configure.ac: slightly better organize xsltproc stuff
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-05-30 08:36:16 -04:00