diff options
author | Andrew Manison <amanison@anselsystems.com> | 2010-06-19 09:02:05 +0000 |
---|---|---|
committer | Andrew Manison <amanison@anselsystems.com> | 2010-06-19 09:02:05 +0000 |
commit | 85fd77589be2f6c970ca6895afa1520e0a2fda04 (patch) | |
tree | 6b9d172b005b2657e541424da71009dcd2a1f3c4 /main/bacula/configure.in.patch | |
parent | 8fdcdf953f865c691b01d546a0baea1a1143deeb (diff) | |
parent | 253afa4a86bcb0959ca8b7fb269f482058847a9b (diff) | |
download | aports-85fd77589be2f6c970ca6895afa1520e0a2fda04.tar.bz2 aports-85fd77589be2f6c970ca6895afa1520e0a2fda04.tar.xz |
Merge remote branch 'alpine/master'
Conflicts:
main/openssl/APKBUILD
Diffstat (limited to 'main/bacula/configure.in.patch')
-rw-r--r-- | main/bacula/configure.in.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/main/bacula/configure.in.patch b/main/bacula/configure.in.patch new file mode 100644 index 0000000000..cfe2a0b7cf --- /dev/null +++ b/main/bacula/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" |