diff -Nru ceph-14.2.6/debian/changelog ceph-14.2.6/debian/changelog --- ceph-14.2.6/debian/changelog 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/debian/changelog 2020-01-16 14:14:03.000000000 +0000 @@ -1,3 +1,16 @@ +ceph (14.2.6-1+rpi1) bullseye-staging; urgency=medium + + [changes brought forward from 10.2.5-7.2+rpi1 by Peter Michael Green at Sun, 30 Jul 2017 09:48:17 +0000] + * Add Raspbian to lists of "debian-like" distros. + + Hopefully this will fix site-packages vs dist-packages + build failure in Raspbian. + + [changes introduced in 14.2.5-3+rpi1 by Peter Michael Green] + * Remove problematic gitattributes files. + * Disable neon on armhf too. + + -- Peter Michael Green Thu, 16 Jan 2020 14:14:03 +0000 + ceph (14.2.6-1) unstable; urgency=medium [ James Page ] diff -Nru ceph-14.2.6/debian/patches/detect-raspbian.diff ceph-14.2.6/debian/patches/detect-raspbian.diff --- ceph-14.2.6/debian/patches/detect-raspbian.diff 1970-01-01 00:00:00.000000000 +0000 +++ ceph-14.2.6/debian/patches/detect-raspbian.diff 2020-01-16 14:14:03.000000000 +0000 @@ -0,0 +1,34 @@ +Description: Add Raspbian to lists of "debian-like" distros. + Hopefully this will fix site-packages vs dist-packages + build failure in Raspbian. +Author: Peter Michael Green + +--- ceph-14.2.5.orig/install-deps.sh ++++ ceph-14.2.5/install-deps.sh +@@ -268,7 +268,7 @@ else + fi + source /etc/os-release + case "$ID" in +- debian|ubuntu|devuan) ++ debian|ubuntu|devuan|raspbian) + echo "Using apt-get to install dependencies" + $SUDO apt-get install -y devscripts equivs + $SUDO apt-get install -y dpkg-dev +--- ceph-14.2.5.orig/qa/workunits/ceph-helpers-root.sh ++++ ceph-14.2.5/qa/workunits/ceph-helpers-root.sh +@@ -35,7 +35,7 @@ function install() { + + function install_one() { + case $(distro_id) in +- ubuntu|debian|devuan) ++ ubuntu|debian|devuan|raspbian) + sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y "$@" + ;; + centos|fedora|rhel) +--- ceph-14.2.5.orig/qa/workunits/rados/test_envlibrados_for_rocksdb.sh ++++ ceph-14.2.5/qa/workunits/rados/test_envlibrados_for_rocksdb.sh +@@ -21,3 +21,3 @@ CURRENT_PATH=`pwd` + case $(distro_id) in +- ubuntu|debian|devuan) ++ ubuntu|debian|devuan|raspbian) + install git g++ libsnappy-dev zlib1g-dev libbz2-dev libradospp-dev diff -Nru ceph-14.2.6/debian/patches/remove-problematic-gitattributes-files.patch ceph-14.2.6/debian/patches/remove-problematic-gitattributes-files.patch --- ceph-14.2.6/debian/patches/remove-problematic-gitattributes-files.patch 1970-01-01 00:00:00.000000000 +0000 +++ ceph-14.2.6/debian/patches/remove-problematic-gitattributes-files.patch 2020-01-16 14:14:03.000000000 +0000 @@ -0,0 +1,92 @@ +From: Raspbian forward porter +Subject: remove gitattributes files that cause problems for dgit. + +--- ceph-14.2.5.orig/src/civetweb/.gitattributes ++++ /dev/null +@@ -1,33 +0,0 @@ +-# Auto detect text files and perform LF normalization +-* -text +- +-# Custom for Visual Studio +-*.cs diff=csharp +-*.sln merge=union +-*.csproj merge=union +-*.vbproj merge=union +-*.fsproj merge=union +-*.dbproj merge=union +- +-# Standard to msysgit +-*.doc diff=astextplain +-*.DOC diff=astextplain +-*.docx diff=astextplain +-*.DOCX diff=astextplain +-*.dot diff=astextplain +-*.DOT diff=astextplain +-*.pdf diff=astextplain +-*.PDF diff=astextplain +-*.rtf diff=astextplain +-*.RTF diff=astextplain +- +-# Preserver Windows specfic lines endings +-*.cmd text eol=crlf +- +- +-# Settings for github syntax highlighting +-# see https://github.com/github/linguist/blob/master/README.md +-docs/* linguist-documentation +-*.inl linguist-language=C +-*.h linguist-language=C +-include/CivetServer.h linguist-language=C++ +--- ceph-14.2.5.orig/src/rapidjson/.gitattributes ++++ /dev/null +@@ -1,22 +0,0 @@ +-# Set the default behavior, in case people don't have core.autocrlf set. +-* text=auto +- +-# Explicitly declare text files you want to always be normalized and converted +-# to native line endings on checkout. +-*.cpp text +-*.h text +-*.txt text +-*.md text +-*.cmake text +-*.svg text +-*.dot text +-*.yml text +-*.in text +-*.sh text +-*.autopkg text +-Dockerfile text +- +-# Denote all files that are truly binary and should not be modified. +-*.png binary +-*.jpg binary +-*.json binary +\ No newline at end of file +--- ceph-14.2.5.orig/src/zstd/.gitattributes ++++ /dev/null +@@ -1,24 +0,0 @@ +-# Set the default behavior +-* text eol=lf +- +-# Explicitly declare source files +-*.c text eol=lf +-*.h text eol=lf +- +-# Denote files that should not be modified. +-*.odt binary +-*.png binary +- +-# Visual Studio +-*.sln text eol=crlf +-*.vcxproj* text eol=crlf +-*.vcproj* text eol=crlf +-*.suo binary +-*.rc text eol=crlf +- +-# Windows +-*.bat text eol=crlf +-*.cmd text eol=crlf +- +-# .travis.yml merging +-.travis.yml merge=ours diff -Nru ceph-14.2.6/debian/patches/series ceph-14.2.6/debian/patches/series --- ceph-14.2.6/debian/patches/series 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/debian/patches/series 2020-01-16 14:14:03.000000000 +0000 @@ -12,3 +12,5 @@ fix-clang-build.patch debian-armel-armhf-buildflags.patch fix-bash-completion-location +detect-raspbian.diff +remove-problematic-gitattributes-files.patch diff -Nru ceph-14.2.6/debian/rules ceph-14.2.6/debian/rules --- ceph-14.2.6/debian/rules 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/debian/rules 2020-01-16 14:14:03.000000000 +0000 @@ -89,6 +89,9 @@ ifeq ($(DEB_HOST_ARCH),armel) sed 's,^HAVE_ARM_NEON.*,HAVE_ARM_NEON:INTERNAL=0,' -i obj-arm-linux-gnueabi/CMakeCache.txt endif +ifeq ($(DEB_HOST_ARCH),armhf) + sed 's,^HAVE_ARM_NEON.*,HAVE_ARM_NEON:INTERNAL=0,' -i obj-arm-linux-gnueabihf/CMakeCache.txt +endif override_dh_auto_install: dh_auto_install --buildsystem=cmake --destdir=$(DESTDIR) diff -Nru ceph-14.2.6/src/test/debian-jessie/debian/changelog ceph-14.2.6/src/test/debian-jessie/debian/changelog --- ceph-14.2.6/src/test/debian-jessie/debian/changelog 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/src/test/debian-jessie/debian/changelog 2020-01-16 14:14:03.000000000 +0000 @@ -1,3 +1,16 @@ +ceph (14.2.6-1+rpi1) bullseye-staging; urgency=medium + + [changes brought forward from 10.2.5-7.2+rpi1 by Peter Michael Green at Sun, 30 Jul 2017 09:48:17 +0000] + * Add Raspbian to lists of "debian-like" distros. + + Hopefully this will fix site-packages vs dist-packages + build failure in Raspbian. + + [changes introduced in 14.2.5-3+rpi1 by Peter Michael Green] + * Remove problematic gitattributes files. + * Disable neon on armhf too. + + -- Peter Michael Green Thu, 16 Jan 2020 14:14:03 +0000 + ceph (14.2.6-1) unstable; urgency=medium [ James Page ] diff -Nru ceph-14.2.6/src/test/debian-jessie/debian/patches/detect-raspbian.diff ceph-14.2.6/src/test/debian-jessie/debian/patches/detect-raspbian.diff --- ceph-14.2.6/src/test/debian-jessie/debian/patches/detect-raspbian.diff 1970-01-01 00:00:00.000000000 +0000 +++ ceph-14.2.6/src/test/debian-jessie/debian/patches/detect-raspbian.diff 2020-01-16 14:14:03.000000000 +0000 @@ -0,0 +1,34 @@ +Description: Add Raspbian to lists of "debian-like" distros. + Hopefully this will fix site-packages vs dist-packages + build failure in Raspbian. +Author: Peter Michael Green + +--- ceph-14.2.5.orig/install-deps.sh ++++ ceph-14.2.5/install-deps.sh +@@ -268,7 +268,7 @@ else + fi + source /etc/os-release + case "$ID" in +- debian|ubuntu|devuan) ++ debian|ubuntu|devuan|raspbian) + echo "Using apt-get to install dependencies" + $SUDO apt-get install -y devscripts equivs + $SUDO apt-get install -y dpkg-dev +--- ceph-14.2.5.orig/qa/workunits/ceph-helpers-root.sh ++++ ceph-14.2.5/qa/workunits/ceph-helpers-root.sh +@@ -35,7 +35,7 @@ function install() { + + function install_one() { + case $(distro_id) in +- ubuntu|debian|devuan) ++ ubuntu|debian|devuan|raspbian) + sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y "$@" + ;; + centos|fedora|rhel) +--- ceph-14.2.5.orig/qa/workunits/rados/test_envlibrados_for_rocksdb.sh ++++ ceph-14.2.5/qa/workunits/rados/test_envlibrados_for_rocksdb.sh +@@ -21,3 +21,3 @@ CURRENT_PATH=`pwd` + case $(distro_id) in +- ubuntu|debian|devuan) ++ ubuntu|debian|devuan|raspbian) + install git g++ libsnappy-dev zlib1g-dev libbz2-dev libradospp-dev diff -Nru ceph-14.2.6/src/test/debian-jessie/debian/patches/remove-problematic-gitattributes-files.patch ceph-14.2.6/src/test/debian-jessie/debian/patches/remove-problematic-gitattributes-files.patch --- ceph-14.2.6/src/test/debian-jessie/debian/patches/remove-problematic-gitattributes-files.patch 1970-01-01 00:00:00.000000000 +0000 +++ ceph-14.2.6/src/test/debian-jessie/debian/patches/remove-problematic-gitattributes-files.patch 2020-01-16 14:14:03.000000000 +0000 @@ -0,0 +1,92 @@ +From: Raspbian forward porter +Subject: remove gitattributes files that cause problems for dgit. + +--- ceph-14.2.5.orig/src/civetweb/.gitattributes ++++ /dev/null +@@ -1,33 +0,0 @@ +-# Auto detect text files and perform LF normalization +-* -text +- +-# Custom for Visual Studio +-*.cs diff=csharp +-*.sln merge=union +-*.csproj merge=union +-*.vbproj merge=union +-*.fsproj merge=union +-*.dbproj merge=union +- +-# Standard to msysgit +-*.doc diff=astextplain +-*.DOC diff=astextplain +-*.docx diff=astextplain +-*.DOCX diff=astextplain +-*.dot diff=astextplain +-*.DOT diff=astextplain +-*.pdf diff=astextplain +-*.PDF diff=astextplain +-*.rtf diff=astextplain +-*.RTF diff=astextplain +- +-# Preserver Windows specfic lines endings +-*.cmd text eol=crlf +- +- +-# Settings for github syntax highlighting +-# see https://github.com/github/linguist/blob/master/README.md +-docs/* linguist-documentation +-*.inl linguist-language=C +-*.h linguist-language=C +-include/CivetServer.h linguist-language=C++ +--- ceph-14.2.5.orig/src/rapidjson/.gitattributes ++++ /dev/null +@@ -1,22 +0,0 @@ +-# Set the default behavior, in case people don't have core.autocrlf set. +-* text=auto +- +-# Explicitly declare text files you want to always be normalized and converted +-# to native line endings on checkout. +-*.cpp text +-*.h text +-*.txt text +-*.md text +-*.cmake text +-*.svg text +-*.dot text +-*.yml text +-*.in text +-*.sh text +-*.autopkg text +-Dockerfile text +- +-# Denote all files that are truly binary and should not be modified. +-*.png binary +-*.jpg binary +-*.json binary +\ No newline at end of file +--- ceph-14.2.5.orig/src/zstd/.gitattributes ++++ /dev/null +@@ -1,24 +0,0 @@ +-# Set the default behavior +-* text eol=lf +- +-# Explicitly declare source files +-*.c text eol=lf +-*.h text eol=lf +- +-# Denote files that should not be modified. +-*.odt binary +-*.png binary +- +-# Visual Studio +-*.sln text eol=crlf +-*.vcxproj* text eol=crlf +-*.vcproj* text eol=crlf +-*.suo binary +-*.rc text eol=crlf +- +-# Windows +-*.bat text eol=crlf +-*.cmd text eol=crlf +- +-# .travis.yml merging +-.travis.yml merge=ours diff -Nru ceph-14.2.6/src/test/debian-jessie/debian/patches/series ceph-14.2.6/src/test/debian-jessie/debian/patches/series --- ceph-14.2.6/src/test/debian-jessie/debian/patches/series 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/src/test/debian-jessie/debian/patches/series 2020-01-16 14:14:03.000000000 +0000 @@ -12,3 +12,5 @@ fix-clang-build.patch debian-armel-armhf-buildflags.patch fix-bash-completion-location +detect-raspbian.diff +remove-problematic-gitattributes-files.patch diff -Nru ceph-14.2.6/src/test/debian-jessie/debian/rules ceph-14.2.6/src/test/debian-jessie/debian/rules --- ceph-14.2.6/src/test/debian-jessie/debian/rules 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/src/test/debian-jessie/debian/rules 2020-01-16 14:14:03.000000000 +0000 @@ -89,6 +89,9 @@ ifeq ($(DEB_HOST_ARCH),armel) sed 's,^HAVE_ARM_NEON.*,HAVE_ARM_NEON:INTERNAL=0,' -i obj-arm-linux-gnueabi/CMakeCache.txt endif +ifeq ($(DEB_HOST_ARCH),armhf) + sed 's,^HAVE_ARM_NEON.*,HAVE_ARM_NEON:INTERNAL=0,' -i obj-arm-linux-gnueabihf/CMakeCache.txt +endif override_dh_auto_install: dh_auto_install --buildsystem=cmake --destdir=$(DESTDIR) diff -Nru ceph-14.2.6/src/test/ubuntu-16.04/debian/changelog ceph-14.2.6/src/test/ubuntu-16.04/debian/changelog --- ceph-14.2.6/src/test/ubuntu-16.04/debian/changelog 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/src/test/ubuntu-16.04/debian/changelog 2020-01-16 14:14:03.000000000 +0000 @@ -1,3 +1,16 @@ +ceph (14.2.6-1+rpi1) bullseye-staging; urgency=medium + + [changes brought forward from 10.2.5-7.2+rpi1 by Peter Michael Green at Sun, 30 Jul 2017 09:48:17 +0000] + * Add Raspbian to lists of "debian-like" distros. + + Hopefully this will fix site-packages vs dist-packages + build failure in Raspbian. + + [changes introduced in 14.2.5-3+rpi1 by Peter Michael Green] + * Remove problematic gitattributes files. + * Disable neon on armhf too. + + -- Peter Michael Green Thu, 16 Jan 2020 14:14:03 +0000 + ceph (14.2.6-1) unstable; urgency=medium [ James Page ] diff -Nru ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/detect-raspbian.diff ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/detect-raspbian.diff --- ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/detect-raspbian.diff 1970-01-01 00:00:00.000000000 +0000 +++ ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/detect-raspbian.diff 2020-01-16 14:14:03.000000000 +0000 @@ -0,0 +1,34 @@ +Description: Add Raspbian to lists of "debian-like" distros. + Hopefully this will fix site-packages vs dist-packages + build failure in Raspbian. +Author: Peter Michael Green + +--- ceph-14.2.5.orig/install-deps.sh ++++ ceph-14.2.5/install-deps.sh +@@ -268,7 +268,7 @@ else + fi + source /etc/os-release + case "$ID" in +- debian|ubuntu|devuan) ++ debian|ubuntu|devuan|raspbian) + echo "Using apt-get to install dependencies" + $SUDO apt-get install -y devscripts equivs + $SUDO apt-get install -y dpkg-dev +--- ceph-14.2.5.orig/qa/workunits/ceph-helpers-root.sh ++++ ceph-14.2.5/qa/workunits/ceph-helpers-root.sh +@@ -35,7 +35,7 @@ function install() { + + function install_one() { + case $(distro_id) in +- ubuntu|debian|devuan) ++ ubuntu|debian|devuan|raspbian) + sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y "$@" + ;; + centos|fedora|rhel) +--- ceph-14.2.5.orig/qa/workunits/rados/test_envlibrados_for_rocksdb.sh ++++ ceph-14.2.5/qa/workunits/rados/test_envlibrados_for_rocksdb.sh +@@ -21,3 +21,3 @@ CURRENT_PATH=`pwd` + case $(distro_id) in +- ubuntu|debian|devuan) ++ ubuntu|debian|devuan|raspbian) + install git g++ libsnappy-dev zlib1g-dev libbz2-dev libradospp-dev diff -Nru ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/remove-problematic-gitattributes-files.patch ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/remove-problematic-gitattributes-files.patch --- ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/remove-problematic-gitattributes-files.patch 1970-01-01 00:00:00.000000000 +0000 +++ ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/remove-problematic-gitattributes-files.patch 2020-01-16 14:14:03.000000000 +0000 @@ -0,0 +1,92 @@ +From: Raspbian forward porter +Subject: remove gitattributes files that cause problems for dgit. + +--- ceph-14.2.5.orig/src/civetweb/.gitattributes ++++ /dev/null +@@ -1,33 +0,0 @@ +-# Auto detect text files and perform LF normalization +-* -text +- +-# Custom for Visual Studio +-*.cs diff=csharp +-*.sln merge=union +-*.csproj merge=union +-*.vbproj merge=union +-*.fsproj merge=union +-*.dbproj merge=union +- +-# Standard to msysgit +-*.doc diff=astextplain +-*.DOC diff=astextplain +-*.docx diff=astextplain +-*.DOCX diff=astextplain +-*.dot diff=astextplain +-*.DOT diff=astextplain +-*.pdf diff=astextplain +-*.PDF diff=astextplain +-*.rtf diff=astextplain +-*.RTF diff=astextplain +- +-# Preserver Windows specfic lines endings +-*.cmd text eol=crlf +- +- +-# Settings for github syntax highlighting +-# see https://github.com/github/linguist/blob/master/README.md +-docs/* linguist-documentation +-*.inl linguist-language=C +-*.h linguist-language=C +-include/CivetServer.h linguist-language=C++ +--- ceph-14.2.5.orig/src/rapidjson/.gitattributes ++++ /dev/null +@@ -1,22 +0,0 @@ +-# Set the default behavior, in case people don't have core.autocrlf set. +-* text=auto +- +-# Explicitly declare text files you want to always be normalized and converted +-# to native line endings on checkout. +-*.cpp text +-*.h text +-*.txt text +-*.md text +-*.cmake text +-*.svg text +-*.dot text +-*.yml text +-*.in text +-*.sh text +-*.autopkg text +-Dockerfile text +- +-# Denote all files that are truly binary and should not be modified. +-*.png binary +-*.jpg binary +-*.json binary +\ No newline at end of file +--- ceph-14.2.5.orig/src/zstd/.gitattributes ++++ /dev/null +@@ -1,24 +0,0 @@ +-# Set the default behavior +-* text eol=lf +- +-# Explicitly declare source files +-*.c text eol=lf +-*.h text eol=lf +- +-# Denote files that should not be modified. +-*.odt binary +-*.png binary +- +-# Visual Studio +-*.sln text eol=crlf +-*.vcxproj* text eol=crlf +-*.vcproj* text eol=crlf +-*.suo binary +-*.rc text eol=crlf +- +-# Windows +-*.bat text eol=crlf +-*.cmd text eol=crlf +- +-# .travis.yml merging +-.travis.yml merge=ours diff -Nru ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/series ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/series --- ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/series 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/src/test/ubuntu-16.04/debian/patches/series 2020-01-16 14:14:03.000000000 +0000 @@ -12,3 +12,5 @@ fix-clang-build.patch debian-armel-armhf-buildflags.patch fix-bash-completion-location +detect-raspbian.diff +remove-problematic-gitattributes-files.patch diff -Nru ceph-14.2.6/src/test/ubuntu-16.04/debian/rules ceph-14.2.6/src/test/ubuntu-16.04/debian/rules --- ceph-14.2.6/src/test/ubuntu-16.04/debian/rules 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/src/test/ubuntu-16.04/debian/rules 2020-01-16 14:14:03.000000000 +0000 @@ -89,6 +89,9 @@ ifeq ($(DEB_HOST_ARCH),armel) sed 's,^HAVE_ARM_NEON.*,HAVE_ARM_NEON:INTERNAL=0,' -i obj-arm-linux-gnueabi/CMakeCache.txt endif +ifeq ($(DEB_HOST_ARCH),armhf) + sed 's,^HAVE_ARM_NEON.*,HAVE_ARM_NEON:INTERNAL=0,' -i obj-arm-linux-gnueabihf/CMakeCache.txt +endif override_dh_auto_install: dh_auto_install --buildsystem=cmake --destdir=$(DESTDIR) diff -Nru ceph-14.2.6/src/test/ubuntu-18.04/debian/changelog ceph-14.2.6/src/test/ubuntu-18.04/debian/changelog --- ceph-14.2.6/src/test/ubuntu-18.04/debian/changelog 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/src/test/ubuntu-18.04/debian/changelog 2020-01-16 14:14:03.000000000 +0000 @@ -1,3 +1,16 @@ +ceph (14.2.6-1+rpi1) bullseye-staging; urgency=medium + + [changes brought forward from 10.2.5-7.2+rpi1 by Peter Michael Green at Sun, 30 Jul 2017 09:48:17 +0000] + * Add Raspbian to lists of "debian-like" distros. + + Hopefully this will fix site-packages vs dist-packages + build failure in Raspbian. + + [changes introduced in 14.2.5-3+rpi1 by Peter Michael Green] + * Remove problematic gitattributes files. + * Disable neon on armhf too. + + -- Peter Michael Green Thu, 16 Jan 2020 14:14:03 +0000 + ceph (14.2.6-1) unstable; urgency=medium [ James Page ] diff -Nru ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/detect-raspbian.diff ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/detect-raspbian.diff --- ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/detect-raspbian.diff 1970-01-01 00:00:00.000000000 +0000 +++ ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/detect-raspbian.diff 2020-01-16 14:14:03.000000000 +0000 @@ -0,0 +1,34 @@ +Description: Add Raspbian to lists of "debian-like" distros. + Hopefully this will fix site-packages vs dist-packages + build failure in Raspbian. +Author: Peter Michael Green + +--- ceph-14.2.5.orig/install-deps.sh ++++ ceph-14.2.5/install-deps.sh +@@ -268,7 +268,7 @@ else + fi + source /etc/os-release + case "$ID" in +- debian|ubuntu|devuan) ++ debian|ubuntu|devuan|raspbian) + echo "Using apt-get to install dependencies" + $SUDO apt-get install -y devscripts equivs + $SUDO apt-get install -y dpkg-dev +--- ceph-14.2.5.orig/qa/workunits/ceph-helpers-root.sh ++++ ceph-14.2.5/qa/workunits/ceph-helpers-root.sh +@@ -35,7 +35,7 @@ function install() { + + function install_one() { + case $(distro_id) in +- ubuntu|debian|devuan) ++ ubuntu|debian|devuan|raspbian) + sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y "$@" + ;; + centos|fedora|rhel) +--- ceph-14.2.5.orig/qa/workunits/rados/test_envlibrados_for_rocksdb.sh ++++ ceph-14.2.5/qa/workunits/rados/test_envlibrados_for_rocksdb.sh +@@ -21,3 +21,3 @@ CURRENT_PATH=`pwd` + case $(distro_id) in +- ubuntu|debian|devuan) ++ ubuntu|debian|devuan|raspbian) + install git g++ libsnappy-dev zlib1g-dev libbz2-dev libradospp-dev diff -Nru ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/remove-problematic-gitattributes-files.patch ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/remove-problematic-gitattributes-files.patch --- ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/remove-problematic-gitattributes-files.patch 1970-01-01 00:00:00.000000000 +0000 +++ ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/remove-problematic-gitattributes-files.patch 2020-01-16 14:14:03.000000000 +0000 @@ -0,0 +1,92 @@ +From: Raspbian forward porter +Subject: remove gitattributes files that cause problems for dgit. + +--- ceph-14.2.5.orig/src/civetweb/.gitattributes ++++ /dev/null +@@ -1,33 +0,0 @@ +-# Auto detect text files and perform LF normalization +-* -text +- +-# Custom for Visual Studio +-*.cs diff=csharp +-*.sln merge=union +-*.csproj merge=union +-*.vbproj merge=union +-*.fsproj merge=union +-*.dbproj merge=union +- +-# Standard to msysgit +-*.doc diff=astextplain +-*.DOC diff=astextplain +-*.docx diff=astextplain +-*.DOCX diff=astextplain +-*.dot diff=astextplain +-*.DOT diff=astextplain +-*.pdf diff=astextplain +-*.PDF diff=astextplain +-*.rtf diff=astextplain +-*.RTF diff=astextplain +- +-# Preserver Windows specfic lines endings +-*.cmd text eol=crlf +- +- +-# Settings for github syntax highlighting +-# see https://github.com/github/linguist/blob/master/README.md +-docs/* linguist-documentation +-*.inl linguist-language=C +-*.h linguist-language=C +-include/CivetServer.h linguist-language=C++ +--- ceph-14.2.5.orig/src/rapidjson/.gitattributes ++++ /dev/null +@@ -1,22 +0,0 @@ +-# Set the default behavior, in case people don't have core.autocrlf set. +-* text=auto +- +-# Explicitly declare text files you want to always be normalized and converted +-# to native line endings on checkout. +-*.cpp text +-*.h text +-*.txt text +-*.md text +-*.cmake text +-*.svg text +-*.dot text +-*.yml text +-*.in text +-*.sh text +-*.autopkg text +-Dockerfile text +- +-# Denote all files that are truly binary and should not be modified. +-*.png binary +-*.jpg binary +-*.json binary +\ No newline at end of file +--- ceph-14.2.5.orig/src/zstd/.gitattributes ++++ /dev/null +@@ -1,24 +0,0 @@ +-# Set the default behavior +-* text eol=lf +- +-# Explicitly declare source files +-*.c text eol=lf +-*.h text eol=lf +- +-# Denote files that should not be modified. +-*.odt binary +-*.png binary +- +-# Visual Studio +-*.sln text eol=crlf +-*.vcxproj* text eol=crlf +-*.vcproj* text eol=crlf +-*.suo binary +-*.rc text eol=crlf +- +-# Windows +-*.bat text eol=crlf +-*.cmd text eol=crlf +- +-# .travis.yml merging +-.travis.yml merge=ours diff -Nru ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/series ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/series --- ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/series 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/src/test/ubuntu-18.04/debian/patches/series 2020-01-16 14:14:03.000000000 +0000 @@ -12,3 +12,5 @@ fix-clang-build.patch debian-armel-armhf-buildflags.patch fix-bash-completion-location +detect-raspbian.diff +remove-problematic-gitattributes-files.patch diff -Nru ceph-14.2.6/src/test/ubuntu-18.04/debian/rules ceph-14.2.6/src/test/ubuntu-18.04/debian/rules --- ceph-14.2.6/src/test/ubuntu-18.04/debian/rules 2020-01-12 22:13:27.000000000 +0000 +++ ceph-14.2.6/src/test/ubuntu-18.04/debian/rules 2020-01-16 14:14:03.000000000 +0000 @@ -89,6 +89,9 @@ ifeq ($(DEB_HOST_ARCH),armel) sed 's,^HAVE_ARM_NEON.*,HAVE_ARM_NEON:INTERNAL=0,' -i obj-arm-linux-gnueabi/CMakeCache.txt endif +ifeq ($(DEB_HOST_ARCH),armhf) + sed 's,^HAVE_ARM_NEON.*,HAVE_ARM_NEON:INTERNAL=0,' -i obj-arm-linux-gnueabihf/CMakeCache.txt +endif override_dh_auto_install: dh_auto_install --buildsystem=cmake --destdir=$(DESTDIR)