[openssl-commits] [web] master update

Rich Salz rsalz at openssl.org
Fri Sep 1 18:20:44 UTC 2017


The branch master has been updated
       via  5687251a1db36d9bbd6b45455f03e46fdd57aa75 (commit)
      from  972cf7fb9e46d026ab6f7c9e2fca97e2d6bf2926 (commit)


- Log -----------------------------------------------------------------
commit 5687251a1db36d9bbd6b45455f03e46fdd57aa75
Author: Rich Salz <rsalz at akamai.com>
Date:   Fri Sep 1 14:19:56 2017 -0400

    Add script to purge Akamai CDN

-----------------------------------------------------------------------

Summary of changes:
 bin/purge-one-hour | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100755 bin/purge-one-hour

diff --git a/bin/purge-one-hour b/bin/purge-one-hour
new file mode 100755
index 0000000..19e8f3c
--- /dev/null
+++ b/bin/purge-one-hour
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+# Script to purge everything more recent than one hour
+
+# Set HOME because 'sudo' might not and the credentials
+cd /var/www/openssl
+HOME=~openssl ; export HOME
+
+# If I were more of a find guru I could merge the find/fgrep/fgrep
+# into a single find line.  Oh well.
+find . -type f -mmin -60 \
+    | fgrep -v .git \
+    | fgrep -v ./docs/ \
+    | sed -e s@^./@https://www.openssl.org/@ \
+    | ~rsalz/bin/akamai-purge delete


More information about the openssl-commits mailing list