summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2011-08-31 12:52:15 +0200
committerEUcancER <root@euer.krebsco.de>2011-08-31 12:52:15 +0200
commita2e4ac21444fd9af436039ba921e809cfca59ea2 (patch)
treee12c692527bc9b2b373cf0a4956f0ff458045cd7
parentefe72ae286caa4ecf88edcbcb619fb0ceb886ca8 (diff)
parentcf46dbc53b36772fb0461b9451337c118e705c55 (diff)
Gigantor Merge!
Conflicts: cholerab/news/Candidate - add Ante scriptum cholerab/shirts/bestellliste - merged as theirs oncology/dpfhack_display - now a submodule add bug-fixing for adv_graphgen, as well as a Makefile
-rw-r--r--.gitmodules6
-rw-r--r--Refactory/Makefile2
-rw-r--r--cholerab/AGENDA (renamed from cholerab/AGENDA.cccamp11)12
-rw-r--r--cholerab/cockbook/git/remove-submodule5
-rwxr-xr-xcholerab/knut/clients/cnot/index2
-rwxr-xr-xcholerab/knut/index.js10
-rw-r--r--cholerab/news/Candidate32
-rw-r--r--cholerab/shirts/bestellliste12
-rwxr-xr-xinfest/skel/etc/profile2
m---------krebsbeam/c-beam0
-rw-r--r--node/Makefile44
-rwxr-xr-xnode/install79
l---------oncology/dpfhack_display1
-rw-r--r--oncology/dpfhack_display/Changelog33
-rwxr-xr-xoncology/dpfhack_display/Debug/dpf.sobin63565 -> 0 bytes
-rwxr-xr-xoncology/dpfhack_display/Debug/libdpf.sobin63565 -> 0 bytes
-rw-r--r--oncology/dpfhack_display/Makefile72
-rw-r--r--oncology/dpfhack_display/README63
-rwxr-xr-xoncology/dpfhack_display/build-dpf-lcd4linux.sh52
-rw-r--r--oncology/dpfhack_display/dpf.conf205
-rw-r--r--oncology/dpfhack_display/dpfbig.conf268
-rw-r--r--oncology/dpfhack_display/dpflib/Makefile24
-rw-r--r--oncology/dpfhack_display/dpflib/dpf.h143
-rw-r--r--oncology/dpfhack_display/dpflib/dpflib.c707
-rw-r--r--oncology/dpfhack_display/dpflib/fwload.c140
-rw-r--r--oncology/dpfhack_display/dpflib/rawusb.c177
-rw-r--r--oncology/dpfhack_display/dpflib/sglib.h19
l---------oncology/dpfhack_display/fw/Debug1
-rw-r--r--oncology/dpfhack_display/fw/README115
-rwxr-xr-xoncology/dpfhack_display/fw/chartbl.py96
-rwxr-xr-xoncology/dpfhack_display/fw/detect.py94
-rw-r--r--oncology/dpfhack_display/fw/font4x8.binbin65536 -> 0 bytes
-rwxr-xr-xoncology/dpfhack_display/fw/fulldump.py29
-rwxr-xr-xoncology/dpfhack_display/fw/hackit.py167
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/cmdhandler_14e5.ihx64
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/cmdhandler_14f4.ihx64
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/cmdhandler_14fb.ihx63
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/cmdhandler_big_14fb.ihx64
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/fw_blue.ihx660
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/fw_focal.ihx678
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/fw_focal_landscape.ihx679
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/fw_pearl.ihx686
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/fw_pearl_landscape.ihx686
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/fw_pink.ihx657
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/fw_white.ihx657
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/jmptbl0.ihx3
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/jmptbl1.ihx3
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/jmptbl2.ihx3
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/jmptbl3.ihx3
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/jmptbl_black.ihxbin12288 -> 0 bytes
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/jmptbl_blue.ihx2
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/jmptbl_pearl.ihx2
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/jmptbl_pink.ihx2
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/jmptbl_white.ihx2
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_start.ihx5
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_start0.ihx5
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_start1.ihx5
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_start2.ihx5
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_start3.ihx6
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_start_black.ihx5
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_start_blue.ihx6
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_start_pearl.ihx5
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_start_pink.ihx5
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_start_white.ihx5
-rw-r--r--oncology/dpfhack_display/fw/hexfiles/p_usbdesc.ihx16
-rwxr-xr-xoncology/dpfhack_display/fw/profiles.py142
-rw-r--r--oncology/dpfhack_display/fw/struct16846
-rw-r--r--oncology/dpfhack_display/fw/sys38759
-rwxr-xr-xoncology/dpfhack_display/fw/update.py15
-rw-r--r--oncology/dpfhack_display/include/flash.h19
-rw-r--r--oncology/dpfhack_display/include/usbuser.h27
-rw-r--r--oncology/dpfhack_display/lcd4linux-svn1142-dpf.patch2713
-rw-r--r--oncology/dpfhack_display/python/Makefile69
-rw-r--r--oncology/dpfhack_display/python/py_device.c492
-rw-r--r--oncology/dpfhack_display/reverse/Makefile76
-rw-r--r--oncology/dpfhack_display/reverse/README169
-rw-r--r--oncology/dpfhack_display/reverse/common.in213
-rw-r--r--oncology/dpfhack_display/reverse/dump.py470
-rw-r--r--oncology/dpfhack_display/src/jmptbl4.s22
-rw-r--r--oncology/dpfhack_display/src/jmptbl_black.s22
-rw-r--r--oncology/dpfhack_display/src/jmptbl_blue.s23
-rw-r--r--oncology/dpfhack_display/src/jmptbl_pearl.s22
-rw-r--r--oncology/dpfhack_display/src/jmptbl_pink.s23
-rw-r--r--oncology/dpfhack_display/src/jmptbl_white.s22
-rw-r--r--oncology/dpfhack_display/src/p_start_black.s32
-rw-r--r--oncology/dpfhack_display/src/p_start_blue.s34
-rw-r--r--oncology/dpfhack_display/src/p_start_pearl.s32
-rw-r--r--oncology/dpfhack_display/src/p_start_pink.s32
-rw-r--r--oncology/dpfhack_display/src/p_start_white.s32
-rw-r--r--oncology/dpfhack_display/src/p_usbdesc.s139
-rw-r--r--oncology/dpfhack_display/unixdll.mk101
-rw-r--r--retiolum/scripts/adv_graphgen/Makefile4
-rwxr-xr-xretiolum/scripts/adv_graphgen/parse.py2
-rw-r--r--retiolum/scripts/tinc_setup/write_channel.py1
-rw-r--r--streams/stream.db2
m---------submodules/github/makefu/dpfhack_display0
-rwxr-xr-xutil/bin/hrefs20
97 files changed, 184 insertions, 68049 deletions
diff --git a/.gitmodules b/.gitmodules
index ed0cb4ed..cbc61522 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -13,3 +13,9 @@
[submodule "submodules/github/tautologistics/node-htmlparser"]
path = submodules/github/tautologistics/node-htmlparser
url = https://github.com/tautologistics/node-htmlparser
+[submodule "krebsbeam/c-beam"]
+ path = krebsbeam/c-beam
+ url = git://dev.c-base.org/c-beam/c-beam.git
+[submodule "submodules/github/makefu/dpfhack_display"]
+ path = submodules/github/makefu/dpfhack_display
+ url = https://github.com/makefu/dpfhack_pearl
diff --git a/Refactory/Makefile b/Refactory/Makefile
new file mode 100644
index 00000000..57b983df
--- /dev/null
+++ b/Refactory/Makefile
@@ -0,0 +1,2 @@
+install:
+ ln -snf $$PWD/bin/git-clone-into ../bin/
diff --git a/cholerab/AGENDA.cccamp11 b/cholerab/AGENDA
index 7bdf02a3..8c80be0d 100644
--- a/cholerab/AGENDA.cccamp11
+++ b/cholerab/AGENDA
@@ -16,8 +16,6 @@
- make-based installer for voice-symlinks
- ttycnser
- - server component
- - JSON-RPC [spec and implementation]
- client component
- ttycnser (makefu)
DONE - Python Notification (makefu)
@@ -99,3 +97,13 @@
- cping, cpong
- recursiv make
+
+ - exedirs
+
+ - //-integration
+ - libc?
+ - sh?
+
+ - //Schnabeltasse
+
+ - wgrep
diff --git a/cholerab/cockbook/git/remove-submodule b/cholerab/cockbook/git/remove-submodule
new file mode 100644
index 00000000..da8a1b00
--- /dev/null
+++ b/cholerab/cockbook/git/remove-submodule
@@ -0,0 +1,5 @@
+Delete the relevant line from the .gitmodules file.
+Delete the relevant section from .git/config.
+Run git rm --cached path_to_submodule (no trailing slash).
+Commit and delete the now untracked submodule files.
+
diff --git a/cholerab/knut/clients/cnot/index b/cholerab/knut/clients/cnot/index
index f276dd25..fcbef73e 100755
--- a/cholerab/knut/clients/cnot/index
+++ b/cholerab/knut/clients/cnot/index
@@ -11,7 +11,7 @@ port=42101
params="$*"
-flags=-sS
+flags=${curl_flags--fsS}
if test "${verbose-no}" != no; then
flags="${flags+$flags }-v"
diff --git a/cholerab/knut/index.js b/cholerab/knut/index.js
index 9c536006..b8951f1d 100755
--- a/cholerab/knut/index.js
+++ b/cholerab/knut/index.js
@@ -12,6 +12,16 @@ var spawn = require('child_process').spawn;
var plugs = process.argv.slice(2);
+if (plugs.length === 0) {
+ console.error('Error 1: You are made of stupid!'
+ + '\nPro-Tip: '
+ + require('path').basename(process.argv[1]) + ' PLUG'
+ + ' # PLUG ∈ {'
+ + require('fs').readdirSync(__dirname + '/plugs').join(',')
+ + '}^n, n ≥ 1');
+ process.exit(23);
+};
+
http.createServer(function (req, res) {
return slurp(req, function (data) {
try {
diff --git a/cholerab/news/Candidate b/cholerab/news/Candidate
index 8307cbee..8abc0b00 100644
--- a/cholerab/news/Candidate
+++ b/cholerab/news/Candidate
@@ -1,4 +1,11 @@
# Krebs News Issue #1 (2011-08-24)
+## Ante Scriptum
+Wer noch kein Krebs hat kann es ganz einfach mit git aus github[-1.1]
+auschecken.
+
+Alle Pfade in den Krebs News beginnend mit `//` bezeichnen das root
+verzeichnis des ausgecheckten krebs ordners ( optimaler weise in `/krebs`).
+
## 0. godmode im shack
Der Urkrebs steuert ab heute die Photonenwerfer im shack.
[`//god/licht`][0.1] ist hierfür verantwortlich.
@@ -16,4 +23,27 @@ verfuegung gestellt hat.
[0.1]: https://github.com/krebscode/painload/tree/master/god
-## 1. more to come
+## 1. Tinc Retiolum updates
+Das retiolum Darknet ueber tinc als vermaschtes VPN ist ein integraler
+Bestandteil der Krebs Infrastruktur. Umso wichtiger ist es, dass die
+installation ueberall imer genau das richtige macht.
+
+KM Pfleidi hat sich gestern (26.08.2011) Retiolum angenommen um es
+sauber auf OSX (und ggf. weiteren Unixartigen OSen) zum laufen zu
+bringen. Ziel ist es die Installation auf ein einfaches
+ $ make -C //retiolum install
+zu beschraenken.
+
+Die Host-Dateien, welche von tinc verwendet werden koennen mit
+ $ make -C //retiolum update
+geupdatet werden. Alle update skripte muessen auf das neue updateverfahren
+ggf. umgestellt werden.
+
+In diesem Kontext sind unter anderem Skript fuer das erraten des richtigen
+Tinc-Konfigurationsordners [1.1] entstanden. Eine aehnliche funktionalitaet
+kann nun fuer verschiedenste weitere module, welche Plattformunabhaengigkeit
+gewaehrleisten sollen verwendet werden.
+
+[1.1] : https://github.com/krebscode/painload/tree/master/retiolum/bin/get-tinc-dir
+
+## 2. KNUT - Die Krebs Notification Utility Toolchain
diff --git a/cholerab/shirts/bestellliste b/cholerab/shirts/bestellliste
index 08bd72dc..f1f423e1 100644
--- a/cholerab/shirts/bestellliste
+++ b/cholerab/shirts/bestellliste
@@ -1,19 +1,19 @@
# S G∃ Feedback
-tv 2 M j-
+tv 2 M jj Superdick aufgetragenes Gummifetisch Logo; Farbe: genial
1 S j-
ulrich 1 M ?j gut
-felix 2 M jj
+felix 2 M jj super qualitaet, sogar nach dem waschen kein bisschen ausgebleicht
1 S jj
Lassulus 2 M jj
-Pfleidi 1 L --
+Pfleidi 1 L -j
Tensai 1 L jj
Momo 1 2 jj Der Siebdruck sieht echt gut aus, kein bisschen verschmiert.
hadez 1 L jj
1 M jj
-Phil 1 S --
+Phil 1 S jj
Lukas 1 M ?j
-Jan 1 2 --
-Ronny 1 M --
+Jan 1 2 jj /* bezahlt an makefu */ Zitrone waere leckerer gewesen
+Ronny 1 M jj /* bezahlt an pfleidi */
Marc 1 L --
Lotho 1 X --
Sascha 1 X --
diff --git a/infest/skel/etc/profile b/infest/skel/etc/profile
index 2812c86c..6c0dc852 100755
--- a/infest/skel/etc/profile
+++ b/infest/skel/etc/profile
@@ -2,6 +2,8 @@
export EDITOR=vi
+# from original debian /etc/profile
+PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
set -u
alias bc='bc -q'
alias df='df -h'
diff --git a/krebsbeam/c-beam b/krebsbeam/c-beam
new file mode 160000
+Subproject 0072bf8f0cd3a6d0fe022c15c8957373cebef29
diff --git a/node/Makefile b/node/Makefile
index 0b7775ed..cbfa1e4a 100644
--- a/node/Makefile
+++ b/node/Makefile
@@ -1,46 +1,8 @@
-ifndef version
- version := $(shell \
- curl -sS http://nodejs.org/ | \
- ../util/bin/hrefs | \
- sed -rn 's:.*node-(v[0-9.]+)\.tar\.gz:\1:p' | \
- sort | \
- tail -n 1)
-endif
-
-export CPPFLAGS := -Wno-unused-but-set-variable
-
-.PHONY: all build install
+.PHONY: all install
all:
@echo "You are made of stupid!"; exit 23
-build: out/node-$(version)
-
-install: out/node-$(version)
- ln -vsnf ../node/$</bin/node ../bin/node
-
-out/node-%: src/node-%
- cd $< && ./configure --prefix=$(PWD)/$@
- make -C $<
- make -C $< install
-
-../bin/node: out/
-
-src/node-git: src
- cd src && \
- git clone https://github.com/joyent/node node-git
-
-src/node-%: src/node-%.tar.gz
- cd src && tar xf node-$*.tar.gz
-
-.PRECIOUS: src/node-%.tar.gz
-src/node-%.tar.gz: /usr/bin/curl src
- { curl -o $@ http://nodejs.org/dist/node-$*.tar.gz && gzip -t $@; } || \
- { curl -o $@ http://nodejs.org/dist/$*/node-$*.tar.gz && gzip -t $@; }
-
-/usr/bin/curl:
- apt-get install --yes curl
-
-src:
- mkdir -v -p $@
+install:
+ ./install
diff --git a/node/install b/node/install
new file mode 100755
index 00000000..1284a73a
--- /dev/null
+++ b/node/install
@@ -0,0 +1,79 @@
+#! /bin/sh
+#
+# //node/install
+#
+# export version=X.Y.Z to install a specific version
+# otherwise the latest upstream version will be determined and used
+#
+# export force=true to install even though it already seems to be installed
+#
+# export clean=true to first wipe any generated files
+#
+set -xeuf
+
+# cd //node
+cd $(readlink -f $(dirname $0))
+
+# PATH prepend //node/tools //util/bin
+export PATH="$PWD/tools:$PWD/../util/bin${PATH+:$PATH}"
+
+if test "${force-false}" = true; then
+ : # skip check if it is already installed
+else
+ if test -e ../bin/node; then
+ : '//bin/node # is already installed'
+ exit
+ fi
+fi
+
+if test "${clean-false}" = true; then
+ rm -fR src out
+fi
+
+test -d src || mkdir -v src
+cd src
+
+version=${version-`latest-version`}
+
+target=node-v$version
+
+distfile=$target.tar.gz
+
+download() {
+ curl -C - -so $distfile http://nodejs.org/dist/v$version/$distfile ||
+ curl -C - -so $distfile http://nodejs.org/dist/$distfile || :
+}
+is_downloaded() {
+ gzip -t $distfile 2>/dev/null
+}
+if ! is_downloaded; then
+ download
+ if ! is_downloaded; then
+ rm -f $distfile
+ download
+ fi
+ if ! is_downloaded; then
+ rm -f $distfile
+ echo failed to download distfile
+ exit 1
+ fi
+fi
+
+if ! zcat $distfile | tar -x --keep-newer-files 2>/dev/null; then
+ rm -fR $target
+ zcat $distfile | tar -x
+fi
+
+cd ..
+
+prefix=out/$target
+mkdir -p $prefix
+prefix=`readlink -f $prefix`
+
+cd src/$target
+./configure --prefix=$prefix
+CPPFLAGS=-Wno-unused-but-set-variable make
+make install
+cd ../..
+
+ln -snf ../node/out/$target/bin/node ../bin/node
diff --git a/oncology/dpfhack_display b/oncology/dpfhack_display
new file mode 120000
index 00000000..9666b7bc
--- /dev/null
+++ b/oncology/dpfhack_display
@@ -0,0 +1