aboutsummaryrefslogtreecommitdiffstats
path: root/community/bareos/detect-alpine.patch
diff options
context:
space:
mode:
authorSimon Frankenberger <simon@fraho.eu>2019-04-05 16:40:50 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2019-04-06 18:25:49 +0000
commit80e5e28dca7efd4dbdd388ae14c289f8a3fde9ba (patch)
tree55e793cfb45d09d4f960853bc0b45daed71ddb24 /community/bareos/detect-alpine.patch
parentefabab843a8433341c21e99d692a3994dfc89d15 (diff)
downloadaports-80e5e28dca7efd4dbdd388ae14c289f8a3fde9ba.tar.bz2
aports-80e5e28dca7efd4dbdd388ae14c289f8a3fde9ba.tar.xz
community/bareos: Upgrade to 18.2.6
Diffstat (limited to 'community/bareos/detect-alpine.patch')
-rw-r--r--community/bareos/detect-alpine.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/bareos/detect-alpine.patch b/community/bareos/detect-alpine.patch
new file mode 100644
index 0000000000..f46a5570fe
--- /dev/null
+++ b/community/bareos/detect-alpine.patch
@@ -0,0 +1,26 @@
+Patch from fcolista
+
+diff --git a/core/cmake/distname.sh b/core/cmake/distname.sh
+index d52308c..603d249 100755
+--- a/core/cmake/distname.sh
++++ b/core/cmake/distname.sh
+@@ -45,7 +45,7 @@ else
+ DISTNAME=univention
+ ;;
+ *)
+- DISTNAME=""
++ DISTNAME="alpine"
+ ;;
+ esac
+
+@@ -165,6 +165,10 @@ else
+ elif test "$CYGWIN" = yes
+ then
+ DISTNAME=cygwin
++ elif test -f /etc/alpine-release
++ then
++ DISTNAME=alpine
++ DISTVER=`cat /etc/alpine-release`
+ else
+ DISTNAME=unknown
+ DISTVER=unknown