about summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2017-01-15 03:24:51 +0000
committerSilvino Silva <silvino@bk.ru>2017-01-15 03:24:51 +0000
commit028414affd22a1ae57b5024d390c856caf7ae44a (patch)
treef1b6f442a2e011b1f5ae54bd992f1cab5cf755e3 /tools
parent066ba96efe43daba9138b36b9ac3473d7607c8bc (diff)
downloaddoc-028414affd22a1ae57b5024d390c856caf7ae44a.tar.gz
added script to update ports repo
Diffstat (limited to 'tools')
-rw-r--r--tools/scripts/autoport.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/scripts/autoport.sh b/tools/scripts/autoport.sh
new file mode 100644
index 0000000..178b9d3
--- /dev/null
+++ b/tools/scripts/autoport.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+# Root Directory
+DIR=$(dirname "$PWD");
+
+DIR_CONF=$DIR"/conf"
+COL_DIR=$DIR"/c9-ports/"
+
+#rm ck4up.conf
+for port in ${COL_DIR}*/ ; do
+
+    echo "Checking port $port"
+    # (cd $port && git clean -f -d . )
+    # prtwash -p -s $port
+    prtverify -m clean-repo $port
+
+    #echo "${port}Pkgfile;"
+    #source  ${port}Pkgfile;
+
+    #echo "$name md5 ${source[0]} @TAR@" >> ck4up.conf
+done
+
+#portspage . > $DIR/ports.html
+httpup-repgen $COL_DIR