New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79191


Ignore:
Timestamp:
06/04/11 13:10:23 (4 years ago)
Author:
pixilla@…
Message:

devel/dbus: Update to version 1.4.10. Remove and recreate patches. Closes ticket #27760.

Location:
trunk/dports/devel/dbus
Files:
2 added
7 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/dbus/Portfile

    r77705 r79191  
    66 
    77name            dbus 
    8 version         1.2.24 
    9 revision        1 
     8version         1.4.10 
    109maintainers     mcalhoun openmaintainer 
    1110categories      devel 
     
    1918master_sites    http://dbus.freedesktop.org/releases/dbus 
    2019 
    21 checksums       md5     565346cecd9cfecf1463540c6086cc2c \ 
    22                 sha1    9593717348ea36ba228b46f165bb67c127c12be8 \ 
    23                 rmd160  2f51def784056bc16fbec2ddc3be22c022a94fb5 
     20checksums           sha1    8a35d253d444d1450a206f717445b371e1d936a1 \ 
     21                    rmd160  7eb3fd372eca42331541eb7465b62c18cd4a2546 
    2422 
    2523# There is a proposal to use launchd with dbus (see https://bugs.freedesktop.org/show_bug.cgi?id=14259). 
    26 patchfiles      0001-make-session-bus-listen-tag-configurable.patch \ 
    27                 0002-add-launchd-implementation.patch \ 
    28                 0003-look-up-DISPLAY-from-launchd-if-not-initialized.patch \ 
    29                 0004-enable-launchd.patch \ 
    30                 0005-dont-dup-closed-stdin.patch \ 
    31                 0006-bus_system-conf-in.patch 
    32 patch.pre_args  -p1 
    33  
    34 if { $macosx_deployment_target != "10.4" } { 
    35     # Allow on-demand loading for Leopard. 
    36     patchfiles-append 10.5-launchd.diff 
    37 } 
     24patchfiles      patch-bus-system.conf.in.diff \ 
     25                patch-dbus-dubs-sysdeps-unix.c.diff 
    3826 
    3927depends_build       \ 
     
    4533 
    4634depends_lib     port:expat 
    47  
    48 use_autoreconf  yes 
    4935 
    5036configure.args  --disable-doxygen-docs \ 
     
    5238                --without-x \ 
    5339                --enable-launchd \ 
    54                 --with-launchd-agent-dir=${prefix}/Library/LaunchAgents 
     40                --with-launchd-agent-dir=${prefix}/Library/LaunchAgents \ 
     41                --with-session-socket-dir=/tmp \ 
     42                --with-test-socket-dir=/tmp 
     43 
     44activate.asroot yes 
    5545 
    5646pre-configure { 
     
    163153    file attributes ${prefix}/var/run/dbus -group ${dbus_group} -owner ${dbus_user} 
    164154    file attributes ${prefix}/libexec/dbus-daemon-launch-helper -group ${dbus_group} 
     155     
     156    # Change the share directory so other ports can install to it without running as root. 
     157    if {[geteuid] == 0 && [getuid] != 0 && ${install.user} != 0} { 
     158        file attributes ${prefix}/share/dbus-1 -owner ${install.user} -group ${install.group} 
     159    } 
    165160     
    166161    if { ![variant_isset no_startupitem] && ![variant_isset no_root] } { 
Note: See TracChangeset for help on using the changeset viewer.