summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Pawlowski <julian.pawlowski@gmail.com>2013-01-08 04:42:26 +0100
committerJulian Pawlowski <julian.pawlowski@gmail.com>2013-01-08 04:42:26 +0100
commit265432804cefc9ee56d9e7ddbf866229fffd8fc4 (patch)
tree19dc1495329ee46cd3e9872e25e468f13368fe70
parent5cb5feb40a71fc04f1352f62ee55db1b13fc2169 (diff)
remove obsolete files and dubs we also have in GBE repo
-rw-r--r--log/.gitkeep0
-rw-r--r--misc/TODO-Liste.txt0
-rw-r--r--misc/etc/cron.d/logout_phones3
-rw-r--r--misc/etc/ssl/amooma/server.pem36
-rw-r--r--misc/etc/ssl/amooma/server_cert.pem22
-rw-r--r--misc/etc/ssl/amooma/server_key.pem16
-rw-r--r--misc/example/apache-gs5.conf24
-rw-r--r--misc/example/nginx73
-rw-r--r--misc/example/xml-interface.txt25
-rw-r--r--misc/nginx/nginx.conf81
-rwxr-xr-xscript/fax_new.sh4
-rwxr-xr-xscript/logout_phones.sh4
-rwxr-xr-xscript/voicemail_new.sh4
13 files changed, 0 insertions, 292 deletions
diff --git a/log/.gitkeep b/log/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/log/.gitkeep
+++ /dev/null
diff --git a/misc/TODO-Liste.txt b/misc/TODO-Liste.txt
deleted file mode 100644
index e69de29..0000000
--- a/misc/TODO-Liste.txt
+++ /dev/null
diff --git a/misc/etc/cron.d/logout_phones b/misc/etc/cron.d/logout_phones
deleted file mode 100644
index 86b0ffd..0000000
--- a/misc/etc/cron.d/logout_phones
+++ /dev/null
@@ -1,3 +0,0 @@
-# Logout tagged phones
-23 1 * * * root /opt/GS5/script/logout_phones.sh
-
diff --git a/misc/etc/ssl/amooma/server.pem b/misc/etc/ssl/amooma/server.pem
deleted file mode 100644
index d34e8db..0000000
--- a/misc/etc/ssl/amooma/server.pem
+++ /dev/null
@@ -1,36 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIICXQIBAAKBgQDC9G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amooma/server_cert.pem b/misc/etc/ssl/amooma/server_cert.pem
deleted file mode 100644
index 021ad28..0000000
--- a/misc/etc/ssl/amooma/server_cert.pem
+++ /dev/null
@@ -1,22 +0,0 @@
------BEGIN CERTIFICATE-----
-MIIDfjCCAuegAwIBAgIJAKG1XaHFZ4gEMA0GCSqGSIb3DQEBBQUAMIGHMQswCQYD
-VQQGEwJERTEYMBYGA1UECBMPUmhlaW5sYW5kLVBmYWx6MRAwDgYDVQQHEwdOZXV3
-aWVkMRQwEgYDVQQKEwtBTU9PTUEgR21iSDEXMBUGA1UEAxMOR2VtZWluc2NoYWZ0
-IDQxHTAbBgkqhkiG9w0BCQEWDmluZm9AYW1vb21hLmRlMB4XDTExMDcyMjE0NDAy
-OFoXDTIxMDcxOTE0NDAyOFowgYcxCzAJBgNVBAYTAkRFMRgwFgYDVQQIEw9SaGVp
-bmxhbmQtUGZhbHoxEDAOBgNVBAcTB05ldXdpZWQxFDASBgNVBAoTC0FNT09NQSBH
-bWJIMRcwFQYDVQQDEw5HZW1laW5zY2hhZnQgNDEdMBsGCSqGSIb3DQEJARYOaW5m
-b0BhbW9vbWEuZGUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAML0benHh7DX
-w8cibwcnfJdz2vGozm5KfWqGN2hYzTMLRBy572RX7llSrfnrKMFuznBeLdIRZ+5x
-fGGfCfN4iq8x47rLQGJRWwKVurOJEKGj+GAc9Mm1nOO3oymXcP/3J4UptqHmUnmo
-2bRPTTJulxJcLvDZe/1ySOLUMO0ajrZ9AgMBAAGjge8wgewwHQYDVR0OBBYEFATl
-qWtGbyeBIN9mR/4GV9jO7ON7MIG8BgNVHSMEgbQwgbGAFATlqWtGbyeBIN9mR/4G
-V9jO7ON7oYGNpIGKMIGHMQswCQYDVQQGEwJERTEYMBYGA1UECBMPUmhlaW5sYW5k
-LVBmYWx6MRAwDgYDVQQHEwdOZXV3aWVkMRQwEgYDVQQKEwtBTU9PTUEgR21iSDEX
-MBUGA1UEAxMOR2VtZWluc2NoYWZ0IDQxHTAbBgkqhkiG9w0BCQEWDmluZm9AYW1v
-b21hLmRlggkAobVdocVniAQwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOB
-gQCBIgWoP8YiP6tm8rhb81k6myP4ONO4vOaUz9bsadHDWNCTjiQxvo4uVYqTMLKa
-Bc7S0VpyvSg7/eGsSWxIUwdn6dUPdo51juGnnJ9dK9DuiNPHb0HP3UJo1gCWgs1v
-EnVGfKDdu9FfdNcQtIb28UfF8Pw8WA6mmhQOOh0M9d3ayQ==
------END CERTIFICATE-----
-
diff --git a/misc/etc/ssl/amooma/server_key.pem b/misc/etc/ssl/amooma/server_key.pem
deleted file mode 100644
index 0c8e74e..0000000
--- a/misc/etc/ssl/amooma/server_key.pem
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIICXQIBAAKBgQDC9G3px4ew18PHIm8HJ3yXc9rxqM5uSn1qhjdoWM0zC0Qcue9k
-V+5ZUq356yjBbs5wXi3SEWfucXxhnwnzeIqvMeO6y0BiUVsClbqziRCho/hgHPTJ
-tZzjt6Mpl3D/9yeFKbah5lJ5qNm0T00ybpcSXC7w2Xv9ckji1DDtGo62fQIDAQAB
-AoGAHM0jl9AEednGcJrjsDjjLTTOebkolh6nHJ+re9zyo8HcVCob9cUPz15pmWxm
-Xv1RvkQLnOc5ZX6ak4l9XNzIEAvQXNRFXwCOyfpffx/8QhfrG0v2G+K2QG52VxQj
-tqnRdLf8HEhCmrJCMvMEAuQkAiirIMTFcaaP1CBbCilr8nkCQQDnSYxEfXMYi4iq
-9Xjwn8Ayh1koXFUY+5/0u9SGqzTeTxW1QN2hGhehsd0vlv4cJppcuL4Z+2VYqLQc
-zXDZo/MLAkEA18kSHLp+HCd1BW/JEoIQqWlTw6SRx+IsUN7UmnSZS4C+UPRbtq5I
-nzgzonZufOEmzoMdwbe9EHAl087f0UfxlwJBAKNIBhGYKvgqEdr3n2Dotuw1J1la
-De2sPpmtPPWxyoojdOTYHV8Np59MjSV6yHyhOBq7heGb3EmCGF25H7FWkE8CQGUN
-aakAgPxoUfn4zp4XQPxFMhAF6qtDtOMuZzvp7LwaD4ZT2PtlBOdjZ3LmqXlb61N8
-vZuxkx22l1BoqhIU8gMCQQDJsQr5y8UWamYZrNv5YRNnm8aGgJ83Gx3n5b8bKqjh
-TM8hqJfFTIfHr90GhHyok1aVkjF+sUtydX1R85IHTDz5
------END RSA PRIVATE KEY-----
-
diff --git a/misc/example/apache-gs5.conf b/misc/example/apache-gs5.conf
deleted file mode 100644
index ef81952..0000000
--- a/misc/example/apache-gs5.conf
+++ /dev/null
@@ -1,24 +0,0 @@
-
- LoadModule passenger_module /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.11/ext/apache2/mod_passenger.so
- PassengerRoot /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.11
- PassengerRuby /usr/local/rvm/wrappers/ruby-1.9.2-p290/ruby
-
-
-
- <VirtualHost *:443>
- ErrorLog "|/usr/bin/logger -t apache -i -p local6.notice"
- CustomLog "|/usr/bin/logger -t apache -i -p local6.notice" combined
-
-
- DocumentRoot /opt/GS5/public
- PassengerAppRoot /opt/GS5
- RailsEnv development
- <Directory /opt/GS5/public>
- AllowOverride all
- Options -MultiViews
- Options FollowSymLinks
- </Directory>
- SSLEngine on
- SSLCertificateFile /etc/ssl/amooma/server_cert.pem
- SSLCertificateKeyFile /etc/ssl/amooma/server_key.pem
- </VirtualHost>
diff --git a/misc/example/nginx b/misc/example/nginx
deleted file mode 100644
index ccb2bbb..0000000
--- a/misc/example/nginx
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/bin/sh
-
-#####################################################################
-# nginx
-# Start Script
-# (c) AMOOMA GmbH 2012
-#####################################################################
-
-### BEGIN INIT INFO
-# Provides: nginx
-# Required-Start: freeswitch
-# Required-Stop: freeswitch
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: starts nginx
-# Description: starts nginx
-#
-### END INIT INFO
-
-DAEMON=/opt/nginx/sbin/nginx
-EXECUTABLE=`basename 'nginx'`
-NAME=nginx
-DESC=nginx
-ARGS=""
-
-if ! [ -x $DAEMON ] ; then
- echo "ERROR: $DAEMON not found"
- exit 1
-fi
-
-set -e
-
-. /lib/lsb/init-functions
-
-case "$1" in
- start)
- echo -n "Starting $DESC: "
- start-stop-daemon --start --quiet --pidfile /opt/nginx/logs/$NAME.pid \
- --exec $DAEMON -- $DAEMON_OPTS
- echo "$NAME."
- ;;
- stop)
- echo -n "Stopping $DESC: "
- start-stop-daemon --stop --quiet --pidfile /opt/nginx/logs/$NAME.pid \
- --exec $DAEMON
- echo "$NAME."
- ;;
- restart|force-reload)
- echo -n "Restarting $DESC: "
- start-stop-daemon --stop --quiet --pidfile \
- /opt/nginx/logs/$NAME.pid --exec $DAEMON
- sleep 1
- start-stop-daemon --start --quiet --pidfile \
- /opt/nginx/logs/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
- echo "$NAME."
- ;;
- reload)
- echo -n "Reloading $DESC configuration: "
- start-stop-daemon --stop --signal HUP --quiet --pidfile /opt/nginx/logs/$NAME.pid \
- --exec $DAEMON
- echo "$NAME."
- ;;
- status)
- status_of_proc -p /opt/nginx/logs/$NAME.pid "$DAEMON" nginx
- ;;
- *)
- N=/etc/init.d/$NAME
- echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/misc/example/xml-interface.txt b/misc/example/xml-interface.txt
deleted file mode 100644
index 9f05540..0000000
--- a/misc/example/xml-interface.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-User anlegen
-============
-
-echo '<row><UserName>2222</UserName><LastName>Meyer</LastName><FirstName>Fritz</FirstName><PhoneOffice>+49 228 1234567</PhoneOffice><VoipNr>665544</VoipNr><CellPhone>+49 171 123456</CellPhone><Fax>+49 228 1234444</Fax><Email>fritz.meier@example.com</Email><PIN>123456</PIN><PIN_LastUpdate>2010-11-22T07:09:07.5256939</PIN_LastUpdate><Photo>example.jpg</Photo></row>' | curl -X POST -H 'Content-type: text/xml' -d @- http://0.0.0.0:3000/api/rows
-
-Userdaten abrufen
-=================
-curl -H 'Content-type: text/xml' http://0.0.0.0:3000/api/rows/1.xml
-
-User löschen
-============
-
-curl -i -H "Accept: application/xml" -X DELETE http://0.0.0.0:3000/api/rows/1
-
-If only the user name is known:
-curl -i -H "Accept: application/xml" -X DELETE http://0.0.0.0:3000/api/rows/999999?user_name=12345
-
-
-User updaten
-============
-
-curl -i -X PUT -H 'Content-Type: application/xml' -d '<row><PhoneOffice>+49 228 5555555</PhoneOffice><VoipNr>665544</VoipNr></row>' http://localhost:3000/api/rows/1
-
-If only the user name is known:
-curl -i -X PUT -H 'Content-Type: application/xml' -d '<row><PhoneOffice>+49 228 5555555</PhoneOffice><VoipNr>665544</VoipNr></row>' http://localhost:3000/api/rows/999999?user_name=12345 \ No newline at end of file
diff --git a/misc/nginx/nginx.conf b/misc/nginx/nginx.conf
deleted file mode 100644
index c1c1a39..0000000
--- a/misc/nginx/nginx.conf
+++ /dev/null
@@ -1,81 +0,0 @@
-
-user www-data;
-worker_processes 1;
-
-#error_log logs/error.log;
-#error_log logs/error.log notice;
-#error_log logs/error.log info;
-
-#pid logs/nginx.pid;
-
-
-events {
- worker_connections 1024;
-}
-
-
-http {
- passenger_root /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.11;
- passenger_ruby /usr/local/rvm/wrappers/ruby-1.9.2-p290/ruby;
-
- include mime.types;
- default_type application/octet-stream;
-
- #log_format main '$remote_addr - $remote_user [$time_local] "$request" '
- # '$status $body_bytes_sent "$http_referer" '
- # '"$http_user_agent" "$http_x_forwarded_for"';
-
- #access_log logs/access.log main;
-
- sendfile on;
- #tcp_nopush on;
-
- #keepalive_timeout 0;
- keepalive_timeout 65;
-
- #gzip on;
-
- server {
- listen 80;
- server_name localhost;
- root /opt/GS5/public;
- passenger_enabled on;
- }
-
- # another virtual host using mix of IP-, name-, and port-based configuration
- #
- #server {
- # listen 8000;
- # listen somename:8080;
- # server_name somename alias another.alias;
-
- # location / {
- # root html;
- # index index.html index.htm;
- # }
- #}
-
-
- # HTTPS server
- #
- #server {
- # listen 443;
- # server_name localhost;
-
- # ssl on;
- # ssl_certificate cert.pem;
- # ssl_certificate_key cert.key;
-
- # ssl_session_timeout 5m;
-
- # ssl_protocols SSLv2 SSLv3 TLSv1;
- # ssl_ciphers HIGH:!aNULL:!MD5;
- # ssl_prefer_server_ciphers on;
-
- # location / {
- # root html;
- # index index.html index.htm;
- # }
- #}
-
-}
diff --git a/script/fax_new.sh b/script/fax_new.sh
deleted file mode 100755
index 3c98d41..0000000
--- a/script/fax_new.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#! /bin/bash
-cd /opt/GS5/script/
-source /usr/local/rvm/scripts/rvm
-/opt/GS5/script/fax_new "$@"
diff --git a/script/logout_phones.sh b/script/logout_phones.sh
deleted file mode 100755
index 2a1a54e..0000000
--- a/script/logout_phones.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#! /bin/bash
-cd /opt/GS5/script/
-source /usr/local/rvm/scripts/rvm
-/opt/GS5/script/logout_phones $@
diff --git a/script/voicemail_new.sh b/script/voicemail_new.sh
deleted file mode 100755
index dcb29f5..0000000
--- a/script/voicemail_new.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#! /bin/bash
-
-source /usr/local/rvm/scripts/rvm
-/opt/GS5/script/voicemail_new $@