Ticket #47741: patch-dbus-1.10.6.diff

File patch-dbus-1.10.6.diff, 2.8 KB (added by dbevans (David B. Evans), 9 years ago)

Pat to update dbus to 1.10.6 disabling EXTERNAL authentication by default

  • Portfile

     
    66
    77name            dbus
    88conflicts       dbus-devel
    9 # version 1.8.18 introduces security hardening of the session bus
    10 # this currently breaks many GNOME 3 apps
    11 # hold off on updating until this is resolved (#47741)
    12 version         1.8.16
     9version         1.10.6
    1310maintainers     mcalhoun openmaintainer
    1411categories      devel
    1512platforms       darwin
     
    2219homepage        http://www.freedesktop.org/Software/dbus
    2320master_sites    http://dbus.freedesktop.org/releases/dbus
    2421
    25 checksums           rmd160  c333f4e5808fc4c5b6a5d77f06bd473971411e60 \
    26                     sha256  7f795268efd343ff0498786acb35097564390d40b1b6158daf1b4f742b522b07
     22checksums       rmd160  afaac55b06050bd4b80f7557fe69029dc3a820b0 \
     23                sha256  b5fefa08a77edd76cd64d872db949eebc02cf6f3f8be82e4bbc641742af5d35f
    2724
    2825# See r59386
    2926# See r68276
  • files/patch-configure.diff

     
    1 --- configure.orig      2015-02-04 09:49:03.000000000 -0700
    2 +++ configure   2016-01-30 19:46:48.000000000 -0700
    3 @@ -18761,7 +18761,7 @@
     1--- configure.orig      2015-12-01 10:19:30.000000000 -0800
     2+++ configure   2016-02-03 14:26:27.000000000 -0800
     3@@ -16755,6 +16755,7 @@
     4 dbus_win=no
     5 dbus_cygwin=no
     6 dbus_unix=no
     7+dbus_darwin=no
     8 case "${host}" in
     9     *-mingw32ce*)
     10         dbus_win=yes
     11@@ -16767,6 +16768,10 @@
     12         dbus_cygwin=yes
     13         dbus_unix=yes
     14         ;;
     15+    *darwin*)
     16+        dbus_darwin=yes
     17+        dbus_unix=yes
     18+       ;;
     19     *)
     20         dbus_unix=yes
     21        ;;
     22@@ -16903,7 +16908,7 @@
     23 
     24 # For best security, assume that all non-Windows platforms can do
     25 # credentials-passing.
     26-if test "$dbus_win" = yes; then :
     27+if test "$dbus_win" = yes || test "$dbus_darwin" = yes ; then :
     28   DBUS_SESSION_CONF_MAYBE_AUTH_EXTERNAL="<!--<auth>EXTERNAL</auth>-->"
     29 else
     30   DBUS_SESSION_CONF_MAYBE_AUTH_EXTERNAL="<auth>EXTERNAL</auth>"
     31@@ -18940,7 +18945,7 @@
    432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll" >&5
    533 $as_echo_n "checking for broken poll... " >&6; }
    634 if test "$cross_compiling" = yes; then :
  • .