From a73fe5700a5484c7a4f16695810ce4d9c224f9d6 Mon Sep 17 00:00:00 2001 From: Apple Date: Sun, 22 Sep 2019 16:56:10 +0000 Subject: [PATCH] syslog-377.40.1.tar.gz --- syslog.xcodeproj/project.pbxproj | 2 + syslogd.tproj/after_install.sh | 5 +++ .../com.apple.syslogd.disabled.plist | 44 +++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 syslogd.tproj/com.apple.syslogd.disabled.plist diff --git a/syslog.xcodeproj/project.pbxproj b/syslog.xcodeproj/project.pbxproj index 462268a..94504b9 100644 --- a/syslog.xcodeproj/project.pbxproj +++ b/syslog.xcodeproj/project.pbxproj @@ -292,6 +292,7 @@ 2D9C4F131B3A29E700219FB3 /* com.apple.system.log */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = com.apple.system.log; path = syslogd.tproj/com.apple.system.log; sourceTree = ""; }; 2DB4DA0A125FC69A001CDC45 /* after_install.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = after_install.sh; path = syslogd.tproj/after_install.sh; sourceTree = ""; }; 2DB8178915589D0C004D0BDE /* entitlements.plist */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; name = entitlements.plist; path = util.tproj/entitlements.plist; sourceTree = ""; }; + 3ABA38852335754100E6D121 /* com.apple.syslogd.disabled.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = com.apple.syslogd.disabled.plist; path = syslogd.tproj/com.apple.syslogd.disabled.plist; sourceTree = ""; }; 3F6B6311185AF66C00F692C5 /* aslmanager.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = aslmanager.xcconfig; sourceTree = ""; }; 3F6B6312185AF66C00F692C5 /* base.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = base.xcconfig; sourceTree = ""; }; 3F6B6313185AF66C00F692C5 /* syslogd.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = syslogd.xcconfig; sourceTree = ""; }; @@ -520,6 +521,7 @@ 503917AA1091410E0001165E /* bsd_in.c */, 503917AB1091410E0001165E /* bsd_out.c */, 503917AC1091410E0001165E /* com.apple.syslogd.plist */, + 3ABA38852335754100E6D121 /* com.apple.syslogd.disabled.plist */, 503917AD1091410E0001165E /* daemon.c */, 503917AE1091410E0001165E /* daemon.h */, 503917AF1091410E0001165E /* dbserver.c */, diff --git a/syslogd.tproj/after_install.sh b/syslogd.tproj/after_install.sh index 85096a0..55d50c0 100755 --- a/syslogd.tproj/after_install.sh +++ b/syslogd.tproj/after_install.sh @@ -12,6 +12,11 @@ elif [[ "${PLATFORM_NAME}" == "bridgeos" ]] ; then ASL_CONF="${SRCROOT}"/syslogd.tproj/asl.conf.ios SYSLOG_CONF="${SRCROOT}"/syslogd.tproj/syslog.conf SYSTEM_LOG_CONF="${SRCROOT}"/syslogd.tproj/com.apple.system.log.bridgeos +elif [[ "${PLATFORM_NAME}" == "watchos" ]] ; then + PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd.disabled.plist + ASL_CONF="${SRCROOT}"/syslogd.tproj/asl.conf.ios + SYSLOG_CONF="${SRCROOT}"/syslogd.tproj/syslog.conf + SYSTEM_LOG_CONF="${SRCROOT}"/syslogd.tproj/com.apple.system.log else PLIST="${SRCROOT}"/syslogd.tproj/com.apple.syslogd.plist ASL_CONF="${SRCROOT}"/syslogd.tproj/asl.conf.ios diff --git a/syslogd.tproj/com.apple.syslogd.disabled.plist b/syslogd.tproj/com.apple.syslogd.disabled.plist new file mode 100644 index 0000000..35ce688 --- /dev/null +++ b/syslogd.tproj/com.apple.syslogd.disabled.plist @@ -0,0 +1,44 @@ + + + + + Label + com.apple.syslogd + KeepAlive + + EnableTransactions + + EnablePressuredExit + + POSIXSpawnType + Adaptive + ProgramArguments + + /usr/sbin/syslogd + + EnvironmentVariables + + ASL_DISABLE + 1 + + MachServices + + com.apple.system.logger + + + Sockets + + BSDSystemLogger + + SockPathName + /var/run/syslog + SockType + dgram + SockPathMode + 438 + + + Disabled + + + -- 2.45.2