From fd6cf89f21737cf11ab06bd5b77fb6cea4356f17 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 18 Dec 2019 09:33:23 -0800 Subject: [PATCH] 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 --- CMakeLists.txt | 1 + packaging/macosx/osx-extras.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b62ec2a870..1bbca2fa24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/packaging/macosx/osx-extras.sh b/packaging/macosx/osx-extras.sh index 72e33fffb7..e670420ed3 100755 --- a/packaging/macosx/osx-extras.sh +++ b/packaging/macosx/osx-extras.sh @@ -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