Update hostname patch
This commit is contained in:
parent
f45ba58e48
commit
e0615f7091
@ -17,3 +17,23 @@ diff -Naur bacula-5.2.2.old/configure bacula-5.2.2/configure
|
|||||||
case "$DISTNAME" in
|
case "$DISTNAME" in
|
||||||
aix)
|
aix)
|
||||||
DISTVER=`uname -r`
|
DISTVER=`uname -r`
|
||||||
|
diff -Naur bacula-5.2.2.old/autoconf/configure.in bacula-5.2.2/autoconf/configure.in
|
||||||
|
--- bacula-5.2.2.old/autoconf/configure.in 2011-12-07 18:19:40.559345035 +0100
|
||||||
|
+++ bacula-5.2.2/autoconf/configure.in 2011-12-12 10:11:02.783978422 +0100
|
||||||
|
@@ -2853,16 +2853,6 @@
|
||||||
|
MACOSX=
|
||||||
|
COMPRESS_MANPAGES=yes
|
||||||
|
|
||||||
|
-hostname=`uname -n | cut -d '.' -f 1`
|
||||||
|
-if test x${hostname} = x ; then
|
||||||
|
- hostname="localhost"
|
||||||
|
-fi
|
||||||
|
-dnl Make sure hostname is resolved
|
||||||
|
-ping -c 1 $hostname 2>/dev/null 1>/dev/null
|
||||||
|
-if test ! $? = 0; then
|
||||||
|
- hostname="localhost"
|
||||||
|
-fi
|
||||||
|
-
|
||||||
|
case "$DISTNAME" in
|
||||||
|
aix)
|
||||||
|
DISTVER=`uname -r`
|
||||||
|
Loading…
Reference in New Issue
Block a user