Initial import

This commit is contained in:
2022-08-30 15:46:53 -04:00
commit e712bb5dc2
274 changed files with 27716 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
--- a/configure.ac 2013-01-18 13:14:54.492191322 +0100
+++ b/configure.ac 2013-01-18 13:17:17.559551891 +0100
@@ -557,11 +557,13 @@
AC_DEFINE_UNQUOTED(POWEROFF_CMD, "$POWEROFF_CMD", path to the poweroff command)
AC_DEFINE_UNQUOTED(POWEROFF_OPTIONS, "$POWEROFF_OPTIONS", poweroff options)
-AC_PATH_PROGS(XSLTPROC, xsltproc)
-AM_CONDITIONAL(BUILD_DOC, test "x$XSLTPROC" != "x" )
-if test "x$XSLTPROC" = "x"; then
- AC_MSG_WARN([xsltproc not installed, unable to (re-)build manual pages])
-fi
+AC_ARG_ENABLE([doc],
+ AS_HELP_STRING([--enable-doc],[Build documentation]))
+
+AS_IF([test "x$enable_doc" = "xyes"], [
+ AC_PATH_PROGS(XSLTPROC, xsltproc)
+])
+AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"] )
AC_SUBST(XSLTPROC)
AC_PATH_PROGS(POD2MAN, pod2man)
@@ -732,8 +734,6 @@
CFLAGS="$CFLAGS -g"
enable_fatal_warnings=no
else
- CFLAGS="$CFLAGS -ggdb3"
-
# We had to eliminate -Wnested-externs because of libtool changes
# Also remove -Waggregate-return because we use one libnet
# call which returns a struct

View File

@@ -0,0 +1,11 @@
--- a/heartbeat/exportfs 2021-06-02 14:25:12.313235714 -0400
+++ b/heartbeat/exportfs 2021-06-02 14:24:53.373660282 -0400
@@ -245,7 +245,7 @@
}
is_exported() {
local dir=$1
- local spec=$2
+ local spec="${2//[][]/}"
local rc
format_exports | grep -q -x -F "$dir $spec"
rc=$?