macOS: More ChmodBPF signing updates.
Run osx-extras.sh before building the ChmodBPF installer package. Change-Id: Iec3f88da86e48b5aac385369c7e68f23babc4c34 Reviewed-on: https://code.wireshark.org/review/35491 Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
b044c5f1de
commit
fd6cf89f21
|
@ -2770,6 +2770,7 @@ if(ENABLE_APPLICATION_BUNDLE)
|
|||
# a signed ChmodBPF script.
|
||||
set (install_chmodbpf_component_pkg "${CMAKE_BINARY_DIR}/install.ChmodBPF.pkg")
|
||||
add_custom_command(OUTPUT "${install_chmodbpf_component_pkg}"
|
||||
COMMAND "${CMAKE_SOURCE_DIR}/packaging/macosx/osx-extras.sh"
|
||||
COMMAND pkgbuild
|
||||
--identifier org.wireshark.ChmodBPF.pkg
|
||||
--version 1.1
|
||||
|
|
|
@ -79,7 +79,7 @@ if [ -n "$CODE_SIGN_IDENTITY" ] ; then
|
|||
# Code Signing Guide, "Testing Conformance with Command Line Tools"
|
||||
codesign --verify --strict --verbose=2 "$chmodbpf" || exit 1
|
||||
else
|
||||
echo "Code signing not performed (no identity)"
|
||||
echo "Extras code signing not performed (no identity)"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue