diff options
33 files changed, 115 insertions, 771 deletions
diff --git a/configure.ac b/configure.ac index 7361434a..ae7eb30b 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -475,30 +475,6 @@ AC_ARG_WITH([ipv6], | |||
| 475 | [AS_HELP_STRING([--with-ipv6], [support IPv6 @<:@default=check@:>@])], | 475 | [AS_HELP_STRING([--with-ipv6], [support IPv6 @<:@default=check@:>@])], |
| 476 | [], [with_ipv6=check]) | 476 | [], [with_ipv6=check]) |
| 477 | 477 | ||
| 478 | dnl Check for AF_INET6 support - unistd.h required for Darwin | ||
| 479 | if test "$with_ipv6" != "no"; then | ||
| 480 | AC_CACHE_CHECK([for IPv6 support], np_cv_sys_ipv6, [ | ||
| 481 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_UNISTD_H | ||
| 482 | #include <unistd.h> | ||
| 483 | #endif | ||
| 484 | #include <netinet/in.h> | ||
| 485 | #include <sys/socket.h>]], [[struct sockaddr_in6 sin6; | ||
| 486 | void *p; | ||
| 487 | |||
| 488 | sin6.sin6_family = AF_INET6; | ||
| 489 | sin6.sin6_port = 587; | ||
| 490 | p = &sin6.sin6_addr;]])],[np_cv_sys_ipv6=yes],[np_cv_sys_ipv6=no]) | ||
| 491 | ]) | ||
| 492 | if test "$np_cv_sys_ipv6" = "no" -a "$with_ipv6" != "check"; then | ||
| 493 | AC_MSG_FAILURE([--with-ipv6 was given, but test for IPv6 support failed]) | ||
| 494 | fi | ||
| 495 | if test "$np_cv_sys_ipv6" = "yes"; then | ||
| 496 | AC_DEFINE(USE_IPV6,1,[Enable IPv6 support]) | ||
| 497 | fi | ||
| 498 | with_ipv6="$np_cv_sys_ipv6" | ||
| 499 | fi | ||
| 500 | |||
| 501 | |||
| 502 | dnl Checks for Kerberos. Must come before openssl checks for Redhat EL 3 | 478 | dnl Checks for Kerberos. Must come before openssl checks for Redhat EL 3 |
| 503 | AC_CHECK_HEADERS(krb5.h,FOUNDINCLUDE=yes,FOUNDINCLUDE=no) | 479 | AC_CHECK_HEADERS(krb5.h,FOUNDINCLUDE=yes,FOUNDINCLUDE=no) |
| 504 | if test "$FOUNDINCLUDE" = "no"; then | 480 | if test "$FOUNDINCLUDE" = "no"; then |
diff --git a/gl/unicase/.deps/.dirstamp b/gl/unicase/.deps/.dirstamp deleted file mode 100644 index e69de29b..00000000 --- a/gl/unicase/.deps/.dirstamp +++ /dev/null | |||
diff --git a/gl/unicase/.deps/libgnu_a-tolower.Po b/gl/unicase/.deps/libgnu_a-tolower.Po deleted file mode 100644 index 1ba6bacb..00000000 --- a/gl/unicase/.deps/libgnu_a-tolower.Po +++ /dev/null | |||
| @@ -1,49 +0,0 @@ | |||
| 1 | unicase/libgnu_a-tolower.o: unicase/tolower.c /usr/include/stdc-predef.h \ | ||
| 2 | ../config.h unicase.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h uninorm.h \ | ||
| 21 | unicase/tolower.h unicase/simple-mapping.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unicase.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | uninorm.h: | ||
| 48 | unicase/tolower.h: | ||
| 49 | unicase/simple-mapping.h: | ||
diff --git a/gl/unictype/.deps/.dirstamp b/gl/unictype/.deps/.dirstamp deleted file mode 100644 index e69de29b..00000000 --- a/gl/unictype/.deps/.dirstamp +++ /dev/null | |||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_alnum.Po b/gl/unictype/.deps/libgnu_a-ctype_alnum.Po deleted file mode 100644 index 429d1968..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_alnum.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_alnum.o: unictype/ctype_alnum.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_alnum.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_alnum.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_alpha.Po b/gl/unictype/.deps/libgnu_a-ctype_alpha.Po deleted file mode 100644 index f2d01713..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_alpha.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_alpha.o: unictype/ctype_alpha.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_alpha.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_alpha.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_blank.Po b/gl/unictype/.deps/libgnu_a-ctype_blank.Po deleted file mode 100644 index 82be4126..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_blank.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_blank.o: unictype/ctype_blank.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_blank.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_blank.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_cntrl.Po b/gl/unictype/.deps/libgnu_a-ctype_cntrl.Po deleted file mode 100644 index dfb2233d..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_cntrl.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_cntrl.o: unictype/ctype_cntrl.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_cntrl.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_cntrl.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_digit.Po b/gl/unictype/.deps/libgnu_a-ctype_digit.Po deleted file mode 100644 index d243fcc1..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_digit.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_digit.o: unictype/ctype_digit.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_digit.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_digit.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_graph.Po b/gl/unictype/.deps/libgnu_a-ctype_graph.Po deleted file mode 100644 index 9850fe6f..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_graph.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_graph.o: unictype/ctype_graph.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_graph.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_graph.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_lower.Po b/gl/unictype/.deps/libgnu_a-ctype_lower.Po deleted file mode 100644 index 6447d3e4..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_lower.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_lower.o: unictype/ctype_lower.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_lower.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_lower.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_print.Po b/gl/unictype/.deps/libgnu_a-ctype_print.Po deleted file mode 100644 index f592e16c..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_print.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_print.o: unictype/ctype_print.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_print.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_print.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_punct.Po b/gl/unictype/.deps/libgnu_a-ctype_punct.Po deleted file mode 100644 index 245e5396..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_punct.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_punct.o: unictype/ctype_punct.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_punct.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_punct.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_space.Po b/gl/unictype/.deps/libgnu_a-ctype_space.Po deleted file mode 100644 index 2b51c518..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_space.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_space.o: unictype/ctype_space.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_space.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_space.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_upper.Po b/gl/unictype/.deps/libgnu_a-ctype_upper.Po deleted file mode 100644 index 3395834f..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_upper.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_upper.o: unictype/ctype_upper.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_upper.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_upper.h: | ||
diff --git a/gl/unictype/.deps/libgnu_a-ctype_xdigit.Po b/gl/unictype/.deps/libgnu_a-ctype_xdigit.Po deleted file mode 100644 index 3c05b331..00000000 --- a/gl/unictype/.deps/libgnu_a-ctype_xdigit.Po +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | unictype/libgnu_a-ctype_xdigit.o: unictype/ctype_xdigit.c \ | ||
| 2 | /usr/include/stdc-predef.h ../config.h unictype.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h stddef.h \ | ||
| 20 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h unictype/bitmap.h \ | ||
| 21 | unictype/ctype_xdigit.h | ||
| 22 | /usr/include/stdc-predef.h: | ||
| 23 | ../config.h: | ||
| 24 | unictype.h: | ||
| 25 | unitypes.h: | ||
| 26 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 27 | /usr/include/stdint.h: | ||
| 28 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 29 | /usr/include/features.h: | ||
| 30 | /usr/include/features-time64.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 32 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 33 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 44 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdbool.h: | ||
| 45 | stddef.h: | ||
| 46 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 47 | unictype/bitmap.h: | ||
| 48 | unictype/ctype_xdigit.h: | ||
diff --git a/gl/uniwidth/.deps/.dirstamp b/gl/uniwidth/.deps/.dirstamp deleted file mode 100644 index e69de29b..00000000 --- a/gl/uniwidth/.deps/.dirstamp +++ /dev/null | |||
diff --git a/gl/uniwidth/.deps/libgnu_a-width.Po b/gl/uniwidth/.deps/libgnu_a-width.Po deleted file mode 100644 index f3f0e3fd..00000000 --- a/gl/uniwidth/.deps/libgnu_a-width.Po +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 1 | uniwidth/libgnu_a-width.o: uniwidth/width.c /usr/include/stdc-predef.h \ | ||
| 2 | ../config.h uniwidth.h unitypes.h \ | ||
| 3 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h /usr/include/stdint.h \ | ||
| 4 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h \ | ||
| 5 | /usr/include/features.h /usr/include/features-time64.h \ | ||
| 6 | /usr/include/x86_64-linux-gnu/bits/wordsize.h \ | ||
| 7 | /usr/include/x86_64-linux-gnu/bits/timesize.h \ | ||
| 8 | /usr/include/x86_64-linux-gnu/sys/cdefs.h \ | ||
| 9 | /usr/include/x86_64-linux-gnu/bits/long-double.h \ | ||
| 10 | /usr/include/x86_64-linux-gnu/gnu/stubs.h \ | ||
| 11 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ | ||
| 12 | /usr/include/x86_64-linux-gnu/bits/types.h \ | ||
| 13 | /usr/include/x86_64-linux-gnu/bits/typesizes.h \ | ||
| 14 | /usr/include/x86_64-linux-gnu/bits/time64.h \ | ||
| 15 | /usr/include/x86_64-linux-gnu/bits/wchar.h \ | ||
| 16 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h \ | ||
| 17 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \ | ||
| 18 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h stddef.h \ | ||
| 19 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h localcharset.h \ | ||
| 20 | uniwidth/cjk.h streq.h string.h /usr/include/string.h \ | ||
| 21 | /usr/include/x86_64-linux-gnu/bits/types/locale_t.h \ | ||
| 22 | /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h strings.h \ | ||
| 23 | /usr/include/strings.h uniwidth/width0.h uniwidth/width2.h \ | ||
| 24 | unictype/bitmap.h | ||
| 25 | /usr/include/stdc-predef.h: | ||
| 26 | ../config.h: | ||
| 27 | uniwidth.h: | ||
| 28 | unitypes.h: | ||
| 29 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stdint.h: | ||
| 30 | /usr/include/stdint.h: | ||
| 31 | /usr/include/x86_64-linux-gnu/bits/libc-header-start.h: | ||
| 32 | /usr/include/features.h: | ||
| 33 | /usr/include/features-time64.h: | ||
| 34 | /usr/include/x86_64-linux-gnu/bits/wordsize.h: | ||
| 35 | /usr/include/x86_64-linux-gnu/bits/timesize.h: | ||
| 36 | /usr/include/x86_64-linux-gnu/sys/cdefs.h: | ||
| 37 | /usr/include/x86_64-linux-gnu/bits/long-double.h: | ||
| 38 | /usr/include/x86_64-linux-gnu/gnu/stubs.h: | ||
| 39 | /usr/include/x86_64-linux-gnu/gnu/stubs-64.h: | ||
| 40 | /usr/include/x86_64-linux-gnu/bits/types.h: | ||
| 41 | /usr/include/x86_64-linux-gnu/bits/typesizes.h: | ||
| 42 | /usr/include/x86_64-linux-gnu/bits/time64.h: | ||
| 43 | /usr/include/x86_64-linux-gnu/bits/wchar.h: | ||
| 44 | /usr/include/x86_64-linux-gnu/bits/stdint-intn.h: | ||
| 45 | /usr/include/x86_64-linux-gnu/bits/stdint-uintn.h: | ||
| 46 | /usr/include/x86_64-linux-gnu/bits/stdint-least.h: | ||
| 47 | stddef.h: | ||
| 48 | /usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h: | ||
| 49 | localcharset.h: | ||
| 50 | uniwidth/cjk.h: | ||
| 51 | streq.h: | ||
| 52 | string.h: | ||
| 53 | /usr/include/string.h: | ||
| 54 | /usr/include/x86_64-linux-gnu/bits/types/locale_t.h: | ||
| 55 | /usr/include/x86_64-linux-gnu/bits/types/__locale_t.h: | ||
| 56 | strings.h: | ||
| 57 | /usr/include/strings.h: | ||
| 58 | uniwidth/width0.h: | ||
| 59 | uniwidth/width2.h: | ||
| 60 | unictype/bitmap.h: | ||
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index 58d8a545..1390a03e 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
| @@ -277,15 +277,6 @@ typedef struct { | |||
| 277 | check_icmp_config config; | 277 | check_icmp_config config; |
| 278 | } check_icmp_config_wrapper; | 278 | } check_icmp_config_wrapper; |
| 279 | check_icmp_config_wrapper process_arguments(int argc, char **argv) { | 279 | check_icmp_config_wrapper process_arguments(int argc, char **argv) { |
| 280 | /* get calling name the old-fashioned way for portability instead | ||
| 281 | * of relying on the glibc-ism __progname */ | ||
| 282 | char *ptr = strrchr(argv[0], '/'); | ||
| 283 | if (ptr) { | ||
| 284 | progname = &ptr[1]; | ||
| 285 | } else { | ||
| 286 | progname = argv[0]; | ||
| 287 | } | ||
| 288 | |||
| 289 | check_icmp_config_wrapper result = { | 280 | check_icmp_config_wrapper result = { |
| 290 | .errorcode = OK, | 281 | .errorcode = OK, |
| 291 | .config = check_icmp_config_init(), | 282 | .config = check_icmp_config_init(), |
| @@ -821,6 +812,15 @@ void parse_address(const struct sockaddr_storage *addr, char *dst, socklen_t siz | |||
| 821 | } | 812 | } |
| 822 | 813 | ||
| 823 | int main(int argc, char **argv) { | 814 | int main(int argc, char **argv) { |
| 815 | #ifdef __OpenBSD__ | ||
| 816 | /* - rpath is required to read --extra-opts (given up later) | ||
| 817 | * - inet is required for sockets | ||
| 818 | * - dns is required for name lookups (given up later) | ||
| 819 | * - id is required for temporary privilege drops in configparsing and for | ||
| 820 | * permanent privilege dropping after opening the socket (given up later) */ | ||
| 821 | pledge("stdio rpath inet dns id", NULL); | ||
| 822 | #endif // __OpenBSD__ | ||
| 823 | |||
| 824 | setlocale(LC_ALL, ""); | 824 | setlocale(LC_ALL, ""); |
| 825 | bindtextdomain(PACKAGE, LOCALEDIR); | 825 | bindtextdomain(PACKAGE, LOCALEDIR); |
| 826 | textdomain(PACKAGE); | 826 | textdomain(PACKAGE); |
| @@ -828,6 +828,14 @@ int main(int argc, char **argv) { | |||
| 828 | /* POSIXLY_CORRECT might break things, so unset it (the portable way) */ | 828 | /* POSIXLY_CORRECT might break things, so unset it (the portable way) */ |
| 829 | environ = NULL; | 829 | environ = NULL; |
| 830 | 830 | ||
| 831 | /* determine program- and service-name quickly */ | ||
| 832 | progname = strrchr(argv[0], '/'); | ||
| 833 | if (progname != NULL) { | ||
| 834 | progname++; | ||
| 835 | } else { | ||
| 836 | progname = argv[0]; | ||
| 837 | } | ||
| 838 | |||
| 831 | /* Parse extra opts if any */ | 839 | /* Parse extra opts if any */ |
| 832 | argv = np_extra_opts(&argc, argv, progname); | 840 | argv = np_extra_opts(&argc, argv, progname); |
| 833 | 841 | ||
| @@ -837,6 +845,10 @@ int main(int argc, char **argv) { | |||
| 837 | crash("failed to parse config"); | 845 | crash("failed to parse config"); |
| 838 | } | 846 | } |
| 839 | 847 | ||
| 848 | #ifdef __OpenBSD__ | ||
| 849 | pledge("stdio inet dns id", NULL); | ||
| 850 | #endif // __OpenBSD__ | ||
| 851 | |||
| 840 | const check_icmp_config config = tmp_config.config; | 852 | const check_icmp_config config = tmp_config.config; |
| 841 | 853 | ||
| 842 | if (config.output_format_is_set) { | 854 | if (config.output_format_is_set) { |
| @@ -899,6 +911,10 @@ int main(int argc, char **argv) { | |||
| 899 | return 1; | 911 | return 1; |
| 900 | } | 912 | } |
| 901 | 913 | ||
| 914 | #ifdef __OpenBSD__ | ||
| 915 | pledge("stdio inet", NULL); | ||
| 916 | #endif // __OpenBSD__ | ||
| 917 | |||
| 902 | if (sockset.socket4) { | 918 | if (sockset.socket4) { |
| 903 | int result = setsockopt(sockset.socket4, SOL_IP, IP_TTL, &config.ttl, sizeof(config.ttl)); | 919 | int result = setsockopt(sockset.socket4, SOL_IP, IP_TTL, &config.ttl, sizeof(config.ttl)); |
| 904 | if (debug) { | 920 | if (debug) { |
| @@ -1470,10 +1486,13 @@ static recvfrom_wto_wrapper recvfrom_wto(const check_icmp_socket_set sockset, vo | |||
| 1470 | }; | 1486 | }; |
| 1471 | 1487 | ||
| 1472 | ssize_t ret; | 1488 | ssize_t ret; |
| 1473 | if (FD_ISSET(sockset.socket4, &read_fds)) { | 1489 | |
| 1490 | // Test explicitly whether sockets are in use | ||
| 1491 | // this is necessary at least on OpenBSD where FD_ISSET will segfault otherwise | ||
| 1492 | if ((sockset.socket4 != -1) && FD_ISSET(sockset.socket4, &read_fds)) { | ||
| 1474 | ret = recvmsg(sockset.socket4, &hdr, 0); | 1493 | ret = recvmsg(sockset.socket4, &hdr, 0); |
| 1475 | result.recv_proto = AF_INET; | 1494 | result.recv_proto = AF_INET; |
| 1476 | } else if (FD_ISSET(sockset.socket6, &read_fds)) { | 1495 | } else if ((sockset.socket6 != -1) && FD_ISSET(sockset.socket6, &read_fds)) { |
| 1477 | ret = recvmsg(sockset.socket6, &hdr, 0); | 1496 | ret = recvmsg(sockset.socket6, &hdr, 0); |
| 1478 | result.recv_proto = AF_INET6; | 1497 | result.recv_proto = AF_INET6; |
| 1479 | } else { | 1498 | } else { |
diff --git a/plugins/check_curl.c b/plugins/check_curl.c index 1dec8a2a..95e45282 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c | |||
| @@ -120,6 +120,14 @@ mp_state_enum np_net_ssl_check_certificate(X509 *certificate, int days_till_exp_ | |||
| 120 | #endif /* defined(HAVE_SSL) && defined(USE_OPENSSL) */ | 120 | #endif /* defined(HAVE_SSL) && defined(USE_OPENSSL) */ |
| 121 | 121 | ||
| 122 | int main(int argc, char **argv) { | 122 | int main(int argc, char **argv) { |
| 123 | #ifdef __OpenBSD__ | ||
| 124 | /* - rpath is required to read --extra-opts, CA and/or client certs | ||
| 125 | * - wpath is required to write --cookie-jar (possibly given up later) | ||
| 126 | * - inet is required for sockets | ||
| 127 | * - dns is required for name lookups */ | ||
| 128 | pledge("stdio rpath wpath inet dns", NULL); | ||
| 129 | #endif // __OpenBSD__ | ||
| 130 | |||
| 123 | setlocale(LC_ALL, ""); | 131 | setlocale(LC_ALL, ""); |
| 124 | bindtextdomain(PACKAGE, LOCALEDIR); | 132 | bindtextdomain(PACKAGE, LOCALEDIR); |
| 125 | textdomain(PACKAGE); | 133 | textdomain(PACKAGE); |
| @@ -135,6 +143,15 @@ int main(int argc, char **argv) { | |||
| 135 | 143 | ||
| 136 | const check_curl_config config = tmp_config.config; | 144 | const check_curl_config config = tmp_config.config; |
| 137 | 145 | ||
| 146 | #ifdef __OpenBSD__ | ||
| 147 | if (!config.curl_config.cookie_jar_file) { | ||
| 148 | if (verbose >= 2) { | ||
| 149 | printf(_("* No \"--cookie-jar\" is used, giving up \"wpath\" pledge(2)\n")); | ||
| 150 | } | ||
| 151 | pledge("stdio rpath inet dns", NULL); | ||
| 152 | } | ||
| 153 | #endif // __OpenBSD__ | ||
| 154 | |||
| 138 | if (config.output_format_is_set) { | 155 | if (config.output_format_is_set) { |
| 139 | mp_set_format(config.output_format); | 156 | mp_set_format(config.output_format); |
| 140 | } | 157 | } |
| @@ -1248,7 +1265,7 @@ check_curl_config_wrapper process_arguments(int argc, char **argv) { | |||
| 1248 | result.config.curl_config.sin_family = AF_INET; | 1265 | result.config.curl_config.sin_family = AF_INET; |
| 1249 | break; | 1266 | break; |
| 1250 | case '6': | 1267 | case '6': |
| 1251 | #if defined(USE_IPV6) && defined(LIBCURL_FEATURE_IPV6) | 1268 | #if defined(LIBCURL_FEATURE_IPV6) |
| 1252 | result.config.curl_config.sin_family = AF_INET6; | 1269 | result.config.curl_config.sin_family = AF_INET6; |
| 1253 | #else | 1270 | #else |
| 1254 | usage4(_("IPv6 support not available")); | 1271 | usage4(_("IPv6 support not available")); |
diff --git a/plugins/check_curl.d/check_curl_helpers.c b/plugins/check_curl.d/check_curl_helpers.c index 5af00973..ad31b847 100644 --- a/plugins/check_curl.d/check_curl_helpers.c +++ b/plugins/check_curl.d/check_curl_helpers.c | |||
| @@ -488,7 +488,7 @@ check_curl_configure_curl(const check_curl_static_curl_config config, | |||
| 488 | curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4), | 488 | curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4), |
| 489 | "CURLOPT_IPRESOLVE(CURL_IPRESOLVE_V4)"); | 489 | "CURLOPT_IPRESOLVE(CURL_IPRESOLVE_V4)"); |
| 490 | } | 490 | } |
| 491 | #if defined(USE_IPV6) && defined(LIBCURL_FEATURE_IPV6) | 491 | #if defined(LIBCURL_FEATURE_IPV6) |
| 492 | else if (config.sin_family == AF_INET6) { | 492 | else if (config.sin_family == AF_INET6) { |
| 493 | handle_curl_option_return_code( | 493 | handle_curl_option_return_code( |
| 494 | curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6), | 494 | curl_easy_setopt(result.curl_state.curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6), |
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index d42b5486..e1a2baff 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
| @@ -1262,6 +1262,10 @@ mp_subcheck evaluate_filesystem(measurement_unit measurement_unit, bool display_ | |||
| 1262 | double free_inode_percentage = | 1262 | double free_inode_percentage = |
| 1263 | calculate_percent(measurement_unit.inodes_free, measurement_unit.inodes_total); | 1263 | calculate_percent(measurement_unit.inodes_free, measurement_unit.inodes_total); |
| 1264 | 1264 | ||
| 1265 | mp_perfdata inode_percentage_pd = perfdata_init(); | ||
| 1266 | inode_percentage_pd = mp_set_pd_value(inode_percentage_pd, free_inode_percentage); | ||
| 1267 | inode_percentage_pd = mp_pd_set_thresholds(inode_percentage_pd, measurement_unit.freeinodes_percent_thresholds); | ||
| 1268 | |||
| 1265 | if (verbose > 0) { | 1269 | if (verbose > 0) { |
| 1266 | printf("free inode percentage computed: %g\n", free_inode_percentage); | 1270 | printf("free inode percentage computed: %g\n", free_inode_percentage); |
| 1267 | } | 1271 | } |
| @@ -1293,7 +1297,7 @@ mp_subcheck evaluate_filesystem(measurement_unit measurement_unit, bool display_ | |||
| 1293 | inodes_pd = mp_pd_set_thresholds(inodes_pd, absolut_inode_thresholds); | 1297 | inodes_pd = mp_pd_set_thresholds(inodes_pd, absolut_inode_thresholds); |
| 1294 | 1298 | ||
| 1295 | freeindodes_percent_sc = | 1299 | freeindodes_percent_sc = |
| 1296 | mp_set_subcheck_state(freeindodes_percent_sc, mp_get_pd_status(inodes_pd)); | 1300 | mp_set_subcheck_state(freeindodes_percent_sc, mp_get_pd_status(inode_percentage_pd)); |
| 1297 | if (display_inodes_perfdata) { | 1301 | if (display_inodes_perfdata) { |
| 1298 | mp_add_perfdata_to_subcheck(&freeindodes_percent_sc, inodes_pd); | 1302 | mp_add_perfdata_to_subcheck(&freeindodes_percent_sc, inodes_pd); |
| 1299 | } | 1303 | } |
diff --git a/plugins/check_http.c b/plugins/check_http.c index d2f080c7..71f94b91 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
| @@ -544,11 +544,7 @@ bool process_arguments(int argc, char **argv) { | |||
| 544 | address_family = AF_INET; | 544 | address_family = AF_INET; |
| 545 | break; | 545 | break; |
| 546 | case '6': | 546 | case '6': |
| 547 | #ifdef USE_IPV6 | ||
| 548 | address_family = AF_INET6; | 547 | address_family = AF_INET6; |
| 549 | #else | ||
| 550 | usage4(_("IPv6 support not available")); | ||
| 551 | #endif | ||
| 552 | break; | 548 | break; |
| 553 | case 'v': /* verbose */ | 549 | case 'v': /* verbose */ |
| 554 | verbose = true; | 550 | verbose = true; |
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 1b2e2826..333dae41 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c | |||
| @@ -462,11 +462,7 @@ check_ldap_config_wrapper process_arguments(int argc, char **argv) { | |||
| 462 | } | 462 | } |
| 463 | break; | 463 | break; |
| 464 | case '6': | 464 | case '6': |
| 465 | #ifdef USE_IPV6 | ||
| 466 | address_family = AF_INET6; | 465 | address_family = AF_INET6; |
| 467 | #else | ||
| 468 | usage(_("IPv6 support not available\n")); | ||
| 469 | #endif | ||
| 470 | break; | 466 | break; |
| 471 | case output_format_index: { | 467 | case output_format_index: { |
| 472 | parsed_output_format parser = mp_parse_output_format(optarg); | 468 | parsed_output_format parser = mp_parse_output_format(optarg); |
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index 26f74286..06737a27 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c | |||
| @@ -640,11 +640,7 @@ check_ntp_peer_config_wrapper process_arguments(int argc, char **argv) { | |||
| 640 | address_family = AF_INET; | 640 | address_family = AF_INET; |
| 641 | break; | 641 | break; |
| 642 | case '6': | 642 | case '6': |
| 643 | #ifdef USE_IPV6 | ||
| 644 | address_family = AF_INET6; | 643 | address_family = AF_INET6; |
| 645 | #else | ||
| 646 | usage4(_("IPv6 support not available")); | ||
| 647 | #endif | ||
| 648 | break; | 644 | break; |
| 649 | case '?': | 645 | case '?': |
| 650 | /* print short usage statement if args not parsable */ | 646 | /* print short usage statement if args not parsable */ |
diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index 9e0beb9c..5955d22e 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c | |||
| @@ -640,11 +640,7 @@ static check_ntp_time_config_wrapper process_arguments(int argc, char **argv) { | |||
| 640 | address_family = AF_INET; | 640 | address_family = AF_INET; |
| 641 | break; | 641 | break; |
| 642 | case '6': | 642 | case '6': |
| 643 | #ifdef USE_IPV6 | ||
| 644 | address_family = AF_INET6; | 643 | address_family = AF_INET6; |
| 645 | #else | ||
| 646 | usage4(_("IPv6 support not available")); | ||
| 647 | #endif | ||
| 648 | break; | 644 | break; |
| 649 | case '?': | 645 | case '?': |
| 650 | /* print short usage statement if args not parsable */ | 646 | /* print short usage statement if args not parsable */ |
| @@ -661,6 +657,14 @@ static check_ntp_time_config_wrapper process_arguments(int argc, char **argv) { | |||
| 661 | } | 657 | } |
| 662 | 658 | ||
| 663 | int main(int argc, char *argv[]) { | 659 | int main(int argc, char *argv[]) { |
| 660 | #ifdef __OpenBSD__ | ||
| 661 | /* - rpath is required to read --extra-opts (given up later) | ||
| 662 | * - inet is required for sockets | ||
| 663 | * - unix is required for Unix domain sockets | ||
| 664 | * - dns is required for name lookups */ | ||
| 665 | pledge("stdio rpath inet unix dns", NULL); | ||
| 666 | #endif // __OpenBSD__ | ||
| 667 | |||
| 664 | setlocale(LC_ALL, ""); | 668 | setlocale(LC_ALL, ""); |
| 665 | bindtextdomain(PACKAGE, LOCALEDIR); | 669 | bindtextdomain(PACKAGE, LOCALEDIR); |
| 666 | textdomain(PACKAGE); | 670 | textdomain(PACKAGE); |
| @@ -674,6 +678,10 @@ int main(int argc, char *argv[]) { | |||
| 674 | usage4(_("Could not parse arguments")); | 678 | usage4(_("Could not parse arguments")); |
| 675 | } | 679 | } |
| 676 | 680 | ||
| 681 | #ifdef __OpenBSD__ | ||
| 682 | pledge("stdio inet unix dns", NULL); | ||
| 683 | #endif // __OpenBSD__ | ||
| 684 | |||
| 677 | const check_ntp_time_config config = tmp_config.config; | 685 | const check_ntp_time_config config = tmp_config.config; |
| 678 | 686 | ||
| 679 | if (config.output_format_is_set) { | 687 | if (config.output_format_is_set) { |
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 61feb958..e1ee0f5c 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
| @@ -246,11 +246,7 @@ check_ping_config_wrapper process_arguments(int argc, char **argv) { | |||
| 246 | address_family = AF_INET; | 246 | address_family = AF_INET; |
| 247 | break; | 247 | break; |
| 248 | case '6': /* IPv6 only */ | 248 | case '6': /* IPv6 only */ |
| 249 | #ifdef USE_IPV6 | ||
| 250 | address_family = AF_INET6; | 249 | address_family = AF_INET6; |
| 251 | #else | ||
| 252 | usage(_("IPv6 support not available\n")); | ||
| 253 | #endif | ||
| 254 | break; | 250 | break; |
| 255 | case 'H': /* hostname */ { | 251 | case 'H': /* hostname */ { |
| 256 | char *ptr = optarg; | 252 | char *ptr = optarg; |
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index e8c35f58..701af7b0 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
| @@ -100,6 +100,14 @@ static int my_close(int /*socket_descriptor*/); | |||
| 100 | static int verbose = 0; | 100 | static int verbose = 0; |
| 101 | 101 | ||
| 102 | int main(int argc, char **argv) { | 102 | int main(int argc, char **argv) { |
| 103 | #ifdef __OpenBSD__ | ||
| 104 | /* - rpath is required to read --extra-opts (given up later) | ||
| 105 | * - inet is required for sockets | ||
| 106 | * - unix is required for Unix domain sockets | ||
| 107 | * - dns is required for name lookups */ | ||
| 108 | pledge("stdio rpath inet unix dns", NULL); | ||
| 109 | #endif // __OpenBSD__ | ||
| 110 | |||
| 103 | setlocale(LC_ALL, ""); | 111 | setlocale(LC_ALL, ""); |
| 104 | bindtextdomain(PACKAGE, LOCALEDIR); | 112 | bindtextdomain(PACKAGE, LOCALEDIR); |
| 105 | textdomain(PACKAGE); | 113 | textdomain(PACKAGE); |
| @@ -113,6 +121,10 @@ int main(int argc, char **argv) { | |||
| 113 | usage4(_("Could not parse arguments")); | 121 | usage4(_("Could not parse arguments")); |
| 114 | } | 122 | } |
| 115 | 123 | ||
| 124 | #ifdef __OpenBSD__ | ||
| 125 | pledge("stdio inet unix dns", NULL); | ||
| 126 | #endif // __OpenBSD__ | ||
| 127 | |||
| 116 | const check_smtp_config config = tmp_config.config; | 128 | const check_smtp_config config = tmp_config.config; |
| 117 | 129 | ||
| 118 | if (config.output_format_is_set) { | 130 | if (config.output_format_is_set) { |
| @@ -807,11 +819,7 @@ check_smtp_config_wrapper process_arguments(int argc, char **argv) { | |||
| 807 | address_family = AF_INET; | 819 | address_family = AF_INET; |
| 808 | break; | 820 | break; |
| 809 | case '6': | 821 | case '6': |
| 810 | #ifdef USE_IPV6 | ||
| 811 | address_family = AF_INET6; | 822 | address_family = AF_INET6; |
| 812 | #else | ||
| 813 | usage4(_("IPv6 support not available")); | ||
| 814 | #endif | ||
| 815 | break; | 823 | break; |
| 816 | case 'V': /* version */ | 824 | case 'V': /* version */ |
| 817 | print_revision(progname, NP_VERSION); | 825 | print_revision(progname, NP_VERSION); |
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index f6c8d551..911f6787 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
| @@ -61,6 +61,14 @@ static int ssh_connect(mp_check *overall, char *haddr, int hport, char *remote_v | |||
| 61 | char *remote_protocol); | 61 | char *remote_protocol); |
| 62 | 62 | ||
| 63 | int main(int argc, char **argv) { | 63 | int main(int argc, char **argv) { |
| 64 | #ifdef __OpenBSD__ | ||
| 65 | /* - rpath is required to read --extra-opts (given up later) | ||
| 66 | * - inet is required for sockets | ||
| 67 | * - unix is required for Unix domain sockets | ||
| 68 | * - dns is required for name lookups */ | ||
| 69 | pledge("stdio rpath inet unix dns", NULL); | ||
| 70 | #endif // __OpenBSD__ | ||
| 71 | |||
| 64 | setlocale(LC_ALL, ""); | 72 | setlocale(LC_ALL, ""); |
| 65 | bindtextdomain(PACKAGE, LOCALEDIR); | 73 | bindtextdomain(PACKAGE, LOCALEDIR); |
| 66 | textdomain(PACKAGE); | 74 | textdomain(PACKAGE); |
| @@ -74,6 +82,10 @@ int main(int argc, char **argv) { | |||
| 74 | usage4(_("Could not parse arguments")); | 82 | usage4(_("Could not parse arguments")); |
| 75 | } | 83 | } |
| 76 | 84 | ||
| 85 | #ifdef __OpenBSD__ | ||
| 86 | pledge("stdio inet unix dns", NULL); | ||
| 87 | #endif // __OpenBSD__ | ||
| 88 | |||
| 77 | check_ssh_config config = tmp_config.config; | 89 | check_ssh_config config = tmp_config.config; |
| 78 | 90 | ||
| 79 | mp_check overall = mp_check_init(); | 91 | mp_check overall = mp_check_init(); |
| @@ -161,11 +173,7 @@ process_arguments_wrapper process_arguments(int argc, char **argv) { | |||
| 161 | address_family = AF_INET; | 173 | address_family = AF_INET; |
| 162 | break; | 174 | break; |
| 163 | case '6': | 175 | case '6': |
| 164 | #ifdef USE_IPV6 | ||
| 165 | address_family = AF_INET6; | 176 | address_family = AF_INET6; |
| 166 | #else | ||
| 167 | usage4(_("IPv6 support not available")); | ||
| 168 | #endif | ||
| 169 | break; | 177 | break; |
| 170 | case 'r': /* remote version */ | 178 | case 'r': /* remote version */ |
| 171 | result.config.remote_version = optarg; | 179 | result.config.remote_version = optarg; |
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 09806373..49a8c4c1 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
| @@ -89,6 +89,14 @@ const int DEFAULT_NNTPS_PORT = 563; | |||
| 89 | const int DEFAULT_CLAMD_PORT = 3310; | 89 | const int DEFAULT_CLAMD_PORT = 3310; |
| 90 | 90 | ||
| 91 | int main(int argc, char **argv) { | 91 | int main(int argc, char **argv) { |
| 92 | #ifdef __OpenBSD__ | ||
| 93 | /* - rpath is required to read --extra-opts (given up later) | ||
| 94 | * - inet is required for sockets | ||
| 95 | * - unix is required for Unix domain sockets | ||
| 96 | * - dns is required for name lookups */ | ||
| 97 | pledge("stdio rpath inet unix dns", NULL); | ||
| 98 | #endif // __OpenBSD__ | ||
| 99 | |||
| 92 | setlocale(LC_ALL, ""); | 100 | setlocale(LC_ALL, ""); |
| 93 | bindtextdomain(PACKAGE, LOCALEDIR); | 101 | bindtextdomain(PACKAGE, LOCALEDIR); |
| 94 | textdomain(PACKAGE); | 102 | textdomain(PACKAGE); |
| @@ -216,6 +224,10 @@ int main(int argc, char **argv) { | |||
| 216 | usage4(_("Could not parse arguments")); | 224 | usage4(_("Could not parse arguments")); |
| 217 | } | 225 | } |
| 218 | 226 | ||
| 227 | #ifdef __OpenBSD__ | ||
| 228 | pledge("stdio inet unix dns", NULL); | ||
| 229 | #endif // __OpenBSD__ | ||
| 230 | |||
| 219 | config = paw.config; | 231 | config = paw.config; |
| 220 | 232 | ||
| 221 | if (verbosity > 0) { | 233 | if (verbosity > 0) { |
| @@ -571,11 +583,7 @@ static check_tcp_config_wrapper process_arguments(int argc, char **argv, check_t | |||
| 571 | address_family = AF_INET; | 583 | address_family = AF_INET; |
| 572 | break; | 584 | break; |
| 573 | case '6': // Apparently unused TODO | 585 | case '6': // Apparently unused TODO |
| 574 | #ifdef USE_IPV6 | ||
| 575 | address_family = AF_INET6; | 586 | address_family = AF_INET6; |
| 576 | #else | ||
| 577 | usage4(_("IPv6 support not available")); | ||
| 578 | #endif | ||
| 579 | break; | 587 | break; |
| 580 | case 'H': /* hostname */ | 588 | case 'H': /* hostname */ |
| 581 | config.host_specified = true; | 589 | config.host_specified = true; |
diff --git a/plugins/netutils.c b/plugins/netutils.c index b4c6ff0a..f9933ebd 100644 --- a/plugins/netutils.c +++ b/plugins/netutils.c | |||
| @@ -38,11 +38,7 @@ mp_state_enum socket_timeout_state = STATE_CRITICAL; | |||
| 38 | mp_state_enum econn_refuse_state = STATE_CRITICAL; | 38 | mp_state_enum econn_refuse_state = STATE_CRITICAL; |
| 39 | bool was_refused = false; | 39 | bool was_refused = false; |
| 40 | 40 | ||
| 41 | #if USE_IPV6 | ||
| 42 | int address_family = AF_UNSPEC; | 41 | int address_family = AF_UNSPEC; |
| 43 | #else | ||
| 44 | int address_family = AF_INET; | ||
| 45 | #endif | ||
| 46 | 42 | ||
| 47 | /* handles socket timeouts */ | 43 | /* handles socket timeouts */ |
| 48 | void socket_timeout_alarm_handler(int sig) { | 44 | void socket_timeout_alarm_handler(int sig) { |
| @@ -348,7 +344,6 @@ void host_or_die(const char *str) { | |||
| 348 | } | 344 | } |
| 349 | 345 | ||
| 350 | bool is_addr(const char *address) { | 346 | bool is_addr(const char *address) { |
| 351 | #ifdef USE_IPV6 | ||
| 352 | if (address_family == AF_INET && is_inet_addr(address)) { | 347 | if (address_family == AF_INET && is_inet_addr(address)) { |
| 353 | return true; | 348 | return true; |
| 354 | } | 349 | } |
| @@ -356,11 +351,6 @@ bool is_addr(const char *address) { | |||
| 356 | if (address_family == AF_INET6 && is_inet6_addr(address)) { | 351 | if (address_family == AF_INET6 && is_inet6_addr(address)) { |
| 357 | return true; | 352 | return true; |
| 358 | } | 353 | } |
| 359 | #else | ||
| 360 | if (is_inet_addr(address)) { | ||
| 361 | return true; | ||
| 362 | } | ||
| 363 | #endif | ||
| 364 | 354 | ||
| 365 | return false; | 355 | return false; |
| 366 | } | 356 | } |
diff --git a/plugins/netutils.h b/plugins/netutils.h index dbd22398..f3d046c3 100644 --- a/plugins/netutils.h +++ b/plugins/netutils.h | |||
| @@ -78,12 +78,8 @@ bool dns_lookup(const char *, struct sockaddr_storage *, int); | |||
| 78 | void host_or_die(const char *str); | 78 | void host_or_die(const char *str); |
| 79 | #define resolve_host_or_addr(addr, family) dns_lookup(addr, NULL, family) | 79 | #define resolve_host_or_addr(addr, family) dns_lookup(addr, NULL, family) |
| 80 | #define is_inet_addr(addr) resolve_host_or_addr(addr, AF_INET) | 80 | #define is_inet_addr(addr) resolve_host_or_addr(addr, AF_INET) |
| 81 | #ifdef USE_IPV6 | ||
| 82 | # define is_inet6_addr(addr) resolve_host_or_addr(addr, AF_INET6) | 81 | # define is_inet6_addr(addr) resolve_host_or_addr(addr, AF_INET6) |
| 83 | # define is_hostname(addr) resolve_host_or_addr(addr, address_family) | 82 | # define is_hostname(addr) resolve_host_or_addr(addr, address_family) |
| 84 | #else | ||
| 85 | # define is_hostname(addr) resolve_host_or_addr(addr, AF_INET) | ||
| 86 | #endif | ||
| 87 | 83 | ||
| 88 | extern unsigned int socket_timeout; | 84 | extern unsigned int socket_timeout; |
| 89 | extern mp_state_enum socket_timeout_state; | 85 | extern mp_state_enum socket_timeout_state; |
diff --git a/plugins/t/check_disk.t b/plugins/t/check_disk.t index 0f62fb2b..72a83ea4 100644 --- a/plugins/t/check_disk.t +++ b/plugins/t/check_disk.t | |||
| @@ -80,14 +80,25 @@ if($free_percent_on_mp1 == $avg_free_percent || $free_percent_on_mp2 == $avg_fre | |||
| 80 | die "One mountpoints has average space free - cannot do rest of test"; | 80 | die "One mountpoints has average space free - cannot do rest of test"; |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | my $free_inodes_on_mp1 = $result->{'mp_test_result'}->{'checks'}->[1]->{'checks'}[2]->{'perfdata'}->[0]->{'value'}->{'value'}; | 83 | my $used_inodes_on_mp1 = $result->{'mp_test_result'}->{'checks'}->[1]->{'checks'}[2]->{'perfdata'}->[0]->{'value'}->{'value'}; |
| 84 | my $total_inodes_on_mp1 = $result->{'mp_test_result'}->{'checks'}->[1]->{'checks'}[2]->{'perfdata'}->[0]->{'max'}->{'value'}; | 84 | my $total_inodes_on_mp1 = $result->{'mp_test_result'}->{'checks'}->[1]->{'checks'}[2]->{'perfdata'}->[0]->{'max'}->{'value'}; |
| 85 | |||
| 86 | my $free_inodes_on_mp1 = $total_inodes_on_mp1 - $used_inodes_on_mp1; | ||
| 85 | my $free_inode_percentage_on_mp1 = $free_inodes_on_mp1 / ($total_inodes_on_mp1 / 100); | 87 | my $free_inode_percentage_on_mp1 = $free_inodes_on_mp1 / ($total_inodes_on_mp1 / 100); |
| 86 | 88 | ||
| 87 | my $free_inodes_on_mp2 = $result->{'mp_test_result'}->{'checks'}->[0]->{'checks'}[2]->{'perfdata'}->[0]->{'value'}->{'value'}; | 89 | # print("free inodes on mp1: " . $free_inodes_on_mp1 . "\n"); |
| 90 | # print("total inodes on mp1: " . $total_inodes_on_mp1 . "\n"); | ||
| 91 | # print("free inode percentage on mp1: " . $free_inode_percentage_on_mp1 . "\n"); | ||
| 92 | |||
| 93 | my $used_inodes_on_mp2 = $result->{'mp_test_result'}->{'checks'}->[0]->{'checks'}[2]->{'perfdata'}->[0]->{'value'}->{'value'}; | ||
| 88 | my $total_inodes_on_mp2 = $result->{'mp_test_result'}->{'checks'}->[0]->{'checks'}[2]->{'perfdata'}->[0]->{'max'}->{'value'}; | 94 | my $total_inodes_on_mp2 = $result->{'mp_test_result'}->{'checks'}->[0]->{'checks'}[2]->{'perfdata'}->[0]->{'max'}->{'value'}; |
| 95 | my $free_inodes_on_mp2 = $total_inodes_on_mp2 - $used_inodes_on_mp2; | ||
| 89 | my $free_inode_percentage_on_mp2 = $free_inodes_on_mp2 / ($total_inodes_on_mp2 / 100); | 96 | my $free_inode_percentage_on_mp2 = $free_inodes_on_mp2 / ($total_inodes_on_mp2 / 100); |
| 90 | 97 | ||
| 98 | # print("free inodes on mp2: " . $free_inodes_on_mp2 . "\n"); | ||
| 99 | # print("total inodes on mp2: " . $total_inodes_on_mp2 . "\n"); | ||
| 100 | # print("free inode percentage on mp2: " . $free_inode_percentage_on_mp2 . "\n"); | ||
| 101 | |||
| 91 | my $avg_inode_free_percentage = ceil(($free_inode_percentage_on_mp1 + $free_inode_percentage_on_mp2)/2); | 102 | my $avg_inode_free_percentage = ceil(($free_inode_percentage_on_mp1 + $free_inode_percentage_on_mp2)/2); |
| 92 | my ($more_inode_free, $less_inode_free); | 103 | my ($more_inode_free, $less_inode_free); |
| 93 | if ($free_inode_percentage_on_mp1 > $free_inode_percentage_on_mp2) { | 104 | if ($free_inode_percentage_on_mp1 > $free_inode_percentage_on_mp2) { |
