From 54ba41d1b3b1bc7fee4ed4ffd8451f613b8c0934 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sun, 7 Jan 2024 00:37:21 +0800 Subject: [PATCH] fix imap executable permission --- src/SPC/builder/linux/library/imap.php | 4 ++++ src/SPC/builder/macos/library/imap.php | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/SPC/builder/linux/library/imap.php b/src/SPC/builder/linux/library/imap.php index 60b02203..96380501 100644 --- a/src/SPC/builder/linux/library/imap.php +++ b/src/SPC/builder/linux/library/imap.php @@ -47,6 +47,10 @@ class imap extends LinuxLibraryBase shell()->cd($this->source_dir) ->exec('make clean') ->exec('touch ip6') + ->exec('chmod +x tools/an') + ->exec('chmod +x tools/ua') + ->exec('chmod +x src/osdep/unix/drivers') + ->exec('chmod +x src/osdep/unix/mkauths') ->exec( "yes | make slx {$ssl_options}" ); diff --git a/src/SPC/builder/macos/library/imap.php b/src/SPC/builder/macos/library/imap.php index ab489ee6..2deb17ab 100644 --- a/src/SPC/builder/macos/library/imap.php +++ b/src/SPC/builder/macos/library/imap.php @@ -50,6 +50,10 @@ class imap extends MacOSLibraryBase shell()->cd($this->source_dir) ->exec('make clean') ->exec('touch ip6') + ->exec('chmod +x tools/an') + ->exec('chmod +x tools/ua') + ->exec('chmod +x src/osdep/unix/drivers') + ->exec('chmod +x src/osdep/unix/mkauths') ->exec( "yes | EXTRACFLAGS='-Wimplicit-function-declaration -include $(xcrun --show-sdk-path)/usr/include/poll.h -include $(xcrun --show-sdk-path)/usr/include/time.h -include $(xcrun --show-sdk-path)/usr/include/utime.h' make osx {$ssl_options}" );