]> git.saurik.com Git - apple/syslog.git/commitdiff
syslog-377.40.1.tar.gz macos-10151 v377.40.1
authorApple <opensource@apple.com>
Sun, 22 Sep 2019 16:56:10 +0000 (16:56 +0000)
committerApple <opensource@apple.com>
Sun, 22 Sep 2019 16:56:10 +0000 (16:56 +0000)
syslog.xcodeproj/project.pbxproj
syslogd.tproj/after_install.sh
syslogd.tproj/com.apple.syslogd.disabled.plist [new file with mode: 0644]

index 462268a145cdfa0720dccaf3f35d1bc06024bd27..94504b9a7d91e9e6640ee84dafb461ffa1980cde 100644 (file)
                2D9C4F131B3A29E700219FB3 /* com.apple.system.log */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = com.apple.system.log; path = syslogd.tproj/com.apple.system.log; sourceTree = "<group>"; };
                2DB4DA0A125FC69A001CDC45 /* after_install.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = after_install.sh; path = syslogd.tproj/after_install.sh; sourceTree = "<group>"; };
                2DB8178915589D0C004D0BDE /* entitlements.plist */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; name = entitlements.plist; path = util.tproj/entitlements.plist; sourceTree = "<group>"; };
+               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 = "<group>"; };
                3F6B6311185AF66C00F692C5 /* aslmanager.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = aslmanager.xcconfig; sourceTree = "<group>"; };
                3F6B6312185AF66C00F692C5 /* base.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = base.xcconfig; sourceTree = "<group>"; };
                3F6B6313185AF66C00F692C5 /* syslogd.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = syslogd.xcconfig; sourceTree = "<group>"; };
                                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 */,
index 85096a03f32123325514106f27fc583d42481b87..55d50c0c2095fa1b7cd34e5e53dfd0f66c62f8f2 100755 (executable)
@@ -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 (file)
index 0000000..35ce688
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>Label</key>
+       <string>com.apple.syslogd</string>
+       <key>KeepAlive</key>
+       <true/>
+       <key>EnableTransactions</key>
+       <true/>
+       <key>EnablePressuredExit</key>
+       <false/>
+       <key>POSIXSpawnType</key>
+       <string>Adaptive</string>
+       <key>ProgramArguments</key>
+       <array>
+               <string>/usr/sbin/syslogd</string>
+       </array>
+       <key>EnvironmentVariables</key>
+       <dict>
+               <key>ASL_DISABLE</key>
+               <string>1</string>
+       </dict>
+       <key>MachServices</key>
+       <dict>
+               <key>com.apple.system.logger</key>
+               <true/>
+       </dict>
+       <key>Sockets</key>
+       <dict>
+               <key>BSDSystemLogger</key>
+               <dict>
+                       <key>SockPathName</key>
+                       <string>/var/run/syslog</string>
+                       <key>SockType</key>
+                       <string>dgram</string>
+                       <key>SockPathMode</key>
+                       <integer>438</integer>
+               </dict>
+       </dict>
+       <key>Disabled</key>
+       <true/>
+</dict>
+</plist>