]> git.saurik.com Git - apple/security.git/blobdiff - README.genanchors
Security-57031.1.35.tar.gz
[apple/security.git] / README.genanchors
diff --git a/README.genanchors b/README.genanchors
new file mode 100644 (file)
index 0000000..191278e
--- /dev/null
@@ -0,0 +1,14 @@
+# Build the genanchors target against the Base SDK.
+
+# Run the following commands:
+
+rm -rf resources/roots
+svn export svn+ssh://src.apple.com/svn/security/tla/trunk/security_certificates/roots resources/roots
+svn cat svn+ssh://src.apple.com/svn/security/tla/trunk/security_certificates/buildEVRoots | awk '
+BEGIN {s = 0}
+/# ------------------------------------------------------------------------------/ { s = 1 }
+/EOF/ {s = 0}
+{ if(s == 1) { print }}' > resources/evroot.config
+~/build/Debug/genanchors -a resources/roots -e resources/evroot.config -a resources/roots > evroots.h
+
+#Then commit the new evroots.h and evroot.config