Mercurial > hg > anonet-resdb
changeset 603:a4e5033ce156 draft
welcome udpmsg4 paths to resdb :-)
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/A2/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/A2/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +12ae24c362880cd6c0e2f186311ce95581c09164c99ae990e31227b0cb86ae19
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/A2/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +somerandomnick
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/A2/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/A2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/CA/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/CA/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +cbc616fdd673e02637b86324401d06a0c597994cb96e517865485d6893585d5f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/CA/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +pikaj00
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/CA/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/CA
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/FNX/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/FNX/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +9a36c5cbed4342e2a8af34355d47eb7a38c06afa0eda73c31a8a345572778362
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/FNX/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +fenix
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/FNX/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/FNX
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/JCS/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/JCS/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +ce1c4cc4ee1cedf0bcd00cff36d08dfbb9bad1f4df69c3225eb33e9301b1b144
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/JCS/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +JCS
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/JCS/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/JCS
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/KN/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/KN/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +d8f01ea5f6e7a3060572fa876fd64c3ce90a433c44fffafe19a73031b141f71c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/KN/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +UFO
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/KN/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/KN
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/NNN/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/NNN/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +6db0a98838b798c1c857d13f1db486d40f36c0706e2ba4d7c507567bd2045d35
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/NNN/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +somerandomnick
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/NNN/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/NNN
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/NNNC/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/NNNC/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +74f9a9fa1e5b7fe22c9475e2e3910779701275253bf4759fb37064749c51105b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/NNNC/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +somerandomnick
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/NNNC/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/NNNC
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/atomic/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/atomic/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +94aa84f033ddb4a019a4a3a583e7644f8dd8cd8dae67fb67c14db9e87f0be75f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/atomic/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +pragmo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/atomic/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/atomic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/oNet/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/oNet/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +3f224a6f7924398f454d6bdd52ed46ad632c2f11413ef255c1811993522a632f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/oNet/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +Obee
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/oNet/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/oNet
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/relayhell/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/relayhell/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +ce1c4cc4ee1cedf0bcd00cff36d08dfbb9bad1f4df69c3225eb33e9301b1b144
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/relayhell/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +d3v1150m471c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/relayhell/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/relayhell
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/sI2/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/sI2/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +09fde77fa5d7b92c50b3a2abe0a304d760ee8ddd19ec31d5b4b6bcbc817a820a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/sI2/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +sevilNatas
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/sI2/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/sI2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/sI4/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/sI4/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +7b7e0494b0ff046f3224b912cd1dd81b4bc2170917da6c23dcc8210b033ac101
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/sI4/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +sevilNatas
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/sI4/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/sI4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/test/@/.gitignore Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +temp.keys
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/test/@/default.key Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +7938ecd1cd3ac04990bc250c2d7a2fe77f99f08c26da532de34548b5f3a82430
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/test/@/owner Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +somerandomnick
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/udpmsg4/test/@/path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,1 @@ +/test
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/add_udpmsg4_path Fri Sep 09 01:42:23 2011 +0000 @@ -0,0 +1,22 @@ +#!/bin/sh +if [ x"$2" = x ]; then + echo "Usage: $0 <path> <owner> <key>" >&2; exit 255 +fi +path="$1" +owner="$2" +key="$3" +if [ "$(echo -n "$path" | tr -d '/A-Za-z0-9_-' | wc -c | tr -d ' \t')" != 0 ]; then + echo "udpmsg4 paths do not allow funny chars." >&2; exit 255 +fi +if [ "$(echo "$path" | head -c1)" != / ]; then + echo "udpmsg4 paths start with a slash." >&2; exit 255 +fi +fullpath=db/udpmsg4"$path" +mkdir -p "$fullpath" || exit 1 +mkdir "$fullpath/@" || exit 1 +echo "$key" >"$fullpath/@/default.key" +echo "$path" >"$fullpath/@/path" +echo "$owner" >"$fullpath/@/owner" +echo "temp.keys" >"$fullpath/@/.gitignore" +mkdir "$fullpath/@/temp.keys" +mkdir "$fullpath/@/blacklisted.keys"