Commit Graph

2666 Commits

Author SHA1 Message Date
David King
5e97014fea Avoid some deprecated networking functions
rpminspect trips up on some old networking functions in libgtop, which
are mentioned as deprecated in the Linux man pages.

inet_ntoa() only works on IPv4 addresses, whereas the newer inet_ntop()
works on both IPv4 and IPv6 addresses, so use inet_ntop() instead.
Similarly, use getaddrinfo() rather than gethostbyname(), and avoid
inet_addr() entirely.

https://bugzilla.redhat.com/show_bug.cgi?id=2050712
2023-01-09 09:50:10 +00:00
ToMe25
66721198b6 Don't try to read System process procargs 2022-12-01 22:02:07 +01:00
Sabri Ünal
507809b648 Update Turkish translation 2022-09-18 08:01:28 +00:00
Zurab Kargareteli
9159e25804 Update Georgian translation 2022-07-21 15:28:41 +00:00
Zurab Kargareteli
b08c3d8685 Update Georgian translation 2022-07-07 18:12:31 +00:00
Charles Monzat
99803b3959 Update French translation 2022-07-07 17:12:28 +00:00
Changqing Li
3b078fafa5 configure.ac: fix cross compile error
On some distros, such as fedora32, cross compile failed
with following error since host library  is used.
undefined reference to `stat64@GLIBC_2.33'

According doc of ld, set searchdir begins with "=", but not hardcoded
locations.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
2022-03-28 12:46:16 +00:00
James Dominic P. Guana
3d7870c961 Add sysinfo example
Retrieve cpu model via hashtable & number of logical cpu via exposed variable

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
James Dominic P. Guana
f92f6ea029 Add sysinfo example
Retrieve cpu model via hashtable & number of logical cpu via exposed variable

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
James Dominic P. Guana
e89475c0b2 Exposes the processor model
Accessing processor model becomes easier

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
Dr. James Dominic P. Guana
629097436a Exposes the processor model
Accessing processor model becomes easier

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
Dr. James Dominic P. Guana
04bf093412 Add processor model
Add processor model

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
Dr. James Dominic P. Guana
69457ccfa9 Add processor model
Add processor model

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
Dr. James Dominic P. Guana
1e3547406a Add processor model
Add processor model

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
2022-03-28 12:32:26 +00:00
ToMe25
3f4dac881b remove autoconf from deps list since it will be installed anyways 2022-03-28 09:01:52 +00:00
ToMe25
4c686019fa Try replacing texinfo package with texinfo-tex package 2022-03-28 09:01:52 +00:00
ToMe25
854d0c7547 remove needless fedora packages 2022-03-28 09:01:52 +00:00
ToMe25
1352f06f6a Fix tzdata config breaking workflow
Also remove libglib2.0 installation since libgirepository1.0-dev should install that anyways
2022-03-28 09:01:52 +00:00
ToMe25
b381fe4e5c update ubuntu glib2 dependency to install fewer useless packages 2022-03-28 09:01:52 +00:00
Avinash Sonawane
fca7a38be8 Remove obsolete macro AC_HEADER_TIME 2022-03-28 08:16:14 +00:00
Avinash Sonawane
df6393ac0c Pass correct parameter 2022-03-28 07:59:57 +00:00
Avinash Sonawane
7e9fed1513 Use correct format specifiers 2022-03-28 07:59:57 +00:00
Avinash Sonawane
f5ced2028d Declare functions as static to silence clang warnings 2022-03-28 07:59:57 +00:00
Avinash Sonawane
1cb23c7b83 Place parentheses to silence clang warnings 2022-03-28 07:59:57 +00:00
ToMe25
b1b05985b1 Change some openbsd errors to warnings
This allows the gnome-system-monitor to run.
It causes continous log spam and the network monitor doesn't work, but it doesn't crash on startup anymore.
2022-03-28 05:39:15 +00:00
David King
cfe1ef95d4 daemon: Do not attempt chown/chmod with DESTDIR
https://gitlab.gnome.org/GNOME/libgtop/-/issues/48
2022-03-28 05:23:42 +00:00
Josselin Mouette
246ec92cab daemon: Install to libexecdir, not bindir
https://bugzilla.gnome.org/show_bug.cgi?id=602664
https://gitlab.gnome.org/GNOME/libgtop/-/issues/17
2022-03-28 05:23:42 +00:00
James Dominic P. Guana
e68d20f739 Skip loop and rom 2022-03-28 04:55:26 +00:00
James Dominic P. Guana
48ad21d329 Skip loop and rom 2022-03-28 04:55:26 +00:00
Yosef Or Boczko
e48d1a9c38 Update Hebrew translation 2022-02-14 15:00:20 +00:00
Naala Nanba
027c959fa0 Add Abkhazian translation 2022-02-08 21:15:11 +00:00
Andre Klapper
a5b2b6db98 Replace Bugzilla link with link to GitLab 2021-08-24 00:54:06 +02:00
Quentin PAGÈS
6b60695f99 Update Occitan translation 2021-07-04 16:58:25 +00:00
Alexey Rubtsov
c4ff3788b8 Update Russian translation 2021-06-29 11:02:37 +00:00
Pawan Chitrakar
336d2480d3 Update Nepali translation 2021-05-16 09:12:47 +00:00
ToMe25
24555c48d0 Copy stub sysdeps files to other OS impls to reduce compile errors. 2021-04-24 14:58:33 +02:00
Robert Roth
b51925dbd9 Version bump 2021-04-23 12:57:27 +03:00
Robert Roth
b9bbdf4c9f Update last ABI break id 2021-04-23 12:57:13 +03:00
James Dominic P. Guana
d4ac1eda07 Moved new api variables to the bottom of struct. 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
7889113b99 Fix comment 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
dd342f6486 Changed reserved0 to disk 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
3644ac0f80 fix comment 2 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
ae99056bdf Fix comment 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
572b195407 Make ndisk comment clear 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
d8603f7692 restores original spec files 2021-04-23 09:48:11 +00:00
James Dominic P. Guana
b738a0ae09 Revert "Revert "Updated config and added reference""
This reverts commit 2229253e11.
2021-04-23 09:48:11 +00:00
James Dominic P. Guana
2ec1815e6c Revert "Revert "Code clean up and add example""
This reverts commit ea08151ae6.
2021-04-23 09:48:11 +00:00
James Dominic P. Guana
48595809ed Revert "Revert "Handle LVM and RAID""
This reverts commit 30bf8d0418.
2021-04-23 09:48:11 +00:00
James Dominic P. Guana
a067db0569 Revert "Revert "New API to retrieve disk stats in Linux""
This reverts commit 7e214414bf.
2021-04-23 09:48:11 +00:00
ToMe25
68b5269607 Fix msg_limits.c and sem_limits.c error message 2021-04-19 15:40:25 +02:00