Ticket #26293: Portfile.withLaunchdChmodBPF.diff
File Portfile.withLaunchdChmodBPF.diff, 1.4 KB (added by ghosthound, 13 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile 7 9072 2011-06-01 05:07:20Z ricci@macports.org $1 # $Id: Portfile 78069 2011-04-22 08:11:59Z ryandesign@macports.org $ 2 2 3 3 PortSystem 1.0 4 4 name wireshark … … 64 64 eval xinstall -m 644 [glob ${worksrcpath}/epan/dissectors/*.h] ${destroot}${prefix}/include/wireshark/epan/dissectors/ 65 65 eval xinstall -m 644 [glob ${worksrcpath}/epan/ftypes/*.h] ${destroot}${prefix}/include/wireshark/epan/ftypes/ 66 66 eval xinstall -m 644 [glob ${worksrcpath}/wiretap/*.h] ${destroot}${prefix}/include/wireshark/wiretap/ 67 ## chmod bpf LaunchDaemons item: 68 xinstall -d ${destroot}${prefix}/Library/LaunchDaemons/ 69 xinstall -m 644 ${filespath}/org.macports.wireshark-chmodbpf.plist ${destroot}${prefix}/Library/LaunchDaemons/ 70 xinstall -d ${destroot}/Library/LaunchDaemons/ 71 ln -s ${prefix}/Library/LaunchDaemons/org.macports.wireshark-chmodbpf.plist ${destroot}/Library/LaunchDaemons/ 72 } 73 74 variant no_chmodbpf description {do not install a startup script that modifies /dev/bpf*} { 75 pre-destroot-delete xinstall -d ${destroot}${prefix}/Library/LaunchDaemons/ 76 pre-destroot-delete xinstall -m 644 -W ${filespath}/org.macports.wireshark-chmodbpf.plist ${destroot}${prefix}/Library/LaunchDaemons/ 67 77 } 68 78 69 79 variant adns description {use adns library for async. dns resolution instead of the default c-ares library} {