X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fsane-backends%2F0003-remove-cups-and-systemd-support.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fsane-backends%2F0003-remove-cups-and-systemd-support.patch;h=e9a637ee5d5b32549a071bcfd92b61ef6ae77c67;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/sane-backends/0003-remove-cups-and-systemd-support.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/sane-backends/0003-remove-cups-and-systemd-support.patch new file mode 100644 index 0000000..e9a637e --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/sane-backends/0003-remove-cups-and-systemd-support.patch @@ -0,0 +1,56 @@ +These tests use absolute directories and host leakage is granted +when cups and systemd are around. In fact there's no way these could work +in any predictable manner. + +CUPS support was in fact disabled upstream since it's not required +in commit efb04936b8ad3bf313c289a522ae5832e22c1b7e + +And for systemd we never handled it properly anyway. + +Signed-off-by: Gustavo Zacarias + +diff -Nura sane-backends-1.0.24.orig/configure sane-backends-1.0.24/configure +--- sane-backends-1.0.24.orig/configure 2015-05-01 09:51:19.479785064 -0300 ++++ sane-backends-1.0.24/configure 2015-05-01 10:08:49.834447226 -0300 +@@ -9649,33 +9649,6 @@ + + fi + +-$as_echo "checking for cups" +-if test -e /usr/include/cups/cups.h ; then +- +-$as_echo "#define HAVE_CUPS 1" >>confdefs.h +- +- with_cups="yes" +- LIBS="-lcups $LIBS" +-else +- $as_echo "cups.h not found, you may want to install a cups development package" +- $as_echo "in order to autodetect network scanners in kodakaio." +- with_cups="no" +-fi +- +-$as_echo_n "Checking for systemd..." +-if test -e /usr/include/systemd/sd-daemon.h ; then +- +-$as_echo "#define HAVE_SYSTEMD 1" >>confdefs.h +- +- with_systemd="yes" +- SYSTEMD_LIBS=" -lsystemd-daemon" +- +- $as_echo "yes" +-else +- with_systemd="no" +- $as_echo "no" +-fi +- + + # Check whether --enable-libusb_1_0 was given. + if test "${enable_libusb_1_0+set}" = set; then : +@@ -21180,7 +21153,6 @@ + echo "IPv6 support: `eval eval echo ${ipv6}`" + echo "Avahi support: `eval eval echo ${enable_avahi}`" + echo "SNMP support: `eval eval echo ${with_snmp}`" +-echo "CUPS support: `eval eval echo ${with_cups}`" + echo "-> The following backends will be built:" + for backend in ${BACKENDS} ; do + echo $ECHO_N "${backend} "