aboutsummaryrefslogtreecommitdiff
path: root/contrib/auto-naming/process-consensus
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2007-10-27 20:44:48 +0000
committerPeter Palfrader <peter@palfrader.org>2007-10-27 20:44:48 +0000
commit8cf949a26cffbe9604b5611fb20b9329ec3b2b53 (patch)
tree2ec202ea6144960c75235a9aaf4530c948f1105f /contrib/auto-naming/process-consensus
parent5e6fc79a8893e002cf718d042c86354c908a3d44 (diff)
downloadtor-8cf949a26cffbe9604b5611fb20b9329ec3b2b53.tar
tor-8cf949a26cffbe9604b5611fb20b9329ec3b2b53.tar.gz
Add a README and copyright statements
svn:r12233
Diffstat (limited to 'contrib/auto-naming/process-consensus')
-rwxr-xr-xcontrib/auto-naming/process-consensus25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/auto-naming/process-consensus b/contrib/auto-naming/process-consensus
index ed45634c2..2c8b481f5 100755
--- a/contrib/auto-naming/process-consensus
+++ b/contrib/auto-naming/process-consensus
@@ -1,5 +1,30 @@
#!/usr/bin/ruby
+# process-consensus - read a current consensus document, inserting the
+# information into a database then calling
+# update-named-status.rb to update the name-binding
+# flags
+#
+# Copyright (c) 2007 Peter Palfrader
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
require "yaml"
require 'db'