1
0

200-nohostdnspython.patch 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. diff -Naur mailman-2.1.18-1/configure mailman-2.1.18-1_patched/configure
  2. --- mailman-2.1.18-1/configure 2014-10-26 12:00:38.090360119 +0300
  3. +++ mailman-2.1.18-1_patched/configure 2014-10-26 12:00:21.323016430 +0300
  4. @@ -2236,35 +2236,35 @@
  5. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version" >&5
  6. $as_echo "$version" >&6; }
  7. -# See if dnspython is installed.
  8. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dnspython" >&5
  9. -$as_echo_n "checking dnspython... " >&6; }
  10. -
  11. -cat > conftest.py <<EOF
  12. -try:
  13. - import dns.resolver
  14. - res = 'ok'
  15. -except ImportError:
  16. - res = 'no'
  17. -fp = open("conftest.out", "w")
  18. -fp.write("%s\n" % res)
  19. -fp.close()
  20. -EOF
  21. -
  22. -$PYTHON conftest.py
  23. -havednspython=`cat conftest.out`
  24. -rm -f conftest.out conftest.py
  25. -if test "$havednspython" = "no"
  26. -then
  27. - as_fn_error $? "
  28. -
  29. -***** dnspython not found. It is required for the new
  30. -***** dmarc_moderation_action featurer. Get it from
  31. -***** <http://www.dnspython.org/> or
  32. -***** <https://pypi.python.org/pypi/dnspython/>" "$LINENO" 5
  33. -fi
  34. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $havednspython" >&5
  35. -$as_echo "$havednspython" >&6; }
  36. +## See if dnspython is installed.
  37. +#{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dnspython" >&5
  38. +#$as_echo_n "checking dnspython... " >&6; }
  39. +#
  40. +#cat > conftest.py <<EOF
  41. +#try:
  42. +# import dns.resolver
  43. +# res = 'ok'
  44. +#except ImportError:
  45. +# res = 'no'
  46. +#fp = open("conftest.out", "w")
  47. +#fp.write("%s\n" % res)
  48. +#fp.close()
  49. +#EOF
  50. +#
  51. +#$PYTHON conftest.py
  52. +#havednspython=`cat conftest.out`
  53. +#rm -f conftest.out conftest.py
  54. +#if test "$havednspython" = "no"
  55. +#then
  56. +# as_fn_error $? "
  57. +#
  58. +#***** dnspython not found. It is required for the new
  59. +#***** dmarc_moderation_action featurer. Get it from
  60. +#***** <http://www.dnspython.org/> or
  61. +#***** <https://pypi.python.org/pypi/dnspython/>" "$LINENO" 5
  62. +#fi
  63. +#{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $havednspython" >&5
  64. +#$as_echo "$havednspython" >&6; }
  65. # Check the email package version.
  66. { $as_echo "$as_me:${as_lineno-$LINENO}: checking Python's email package" >&5