diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2010-06-08 14:45:04 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2010-06-08 14:45:04 +0000 |
commit | ad5a02324292519891ef495f66889a1878a1275a (patch) | |
tree | 4427baf357535c21c1567f3a8327191718b83808 /main/bacula-client/configure.in.patch | |
parent | e78cd26eef84709827ac616b1f06b1f2ff44f83b (diff) | |
download | aports-ad5a02324292519891ef495f66889a1878a1275a.tar.bz2 aports-ad5a02324292519891ef495f66889a1878a1275a.tar.xz |
main/bacula: moved from testing
Diffstat (limited to 'main/bacula-client/configure.in.patch')
-rw-r--r-- | main/bacula-client/configure.in.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/main/bacula-client/configure.in.patch b/main/bacula-client/configure.in.patch new file mode 100644 index 0000000000..cfe2a0b7cf --- /dev/null +++ b/main/bacula-client/configure.in.patch @@ -0,0 +1,23 @@ +--- bacula-3.0.3-orig/autoconf/configure.in Sun Oct 18 09:10:16 2009 ++++ bacula-3.0.3/autoconf/configure.in Wed Dec 2 14:13:44 2009 +@@ -2576,6 +2576,20 @@ + fi + TAPEDRIVE="/dev/nrmt0" + ;; ++alpine) ++ dnl Make sure hostname is resolved ++ ping -c 1 $hostname 2>&1 1>/dev/null ++ if test ! $? = 0; then ++ hostname="localhost" ++ fi ++ if `test -f /etc/alpine-release && grep -q alpine /etc/alpine-release`; then ++ DISTNAME="alpine" ++ fi ++ DISTVER=`cat /etc/alpine-release` ++ TAPEDRIVE="/dev/nst0" ++ PSCMD="ps -e -o pid,comm" ++ largefile_support="yes" ++ ;; + bsdi) + DISTVER=`uname -a |awk '{print $3}'` + TAPEDRIVE="/dev/nrmt0" |