Permalink
Browse files

Initial BDSM extension set for Servers

  • Loading branch information...
0 parents commit 21eb401d66021bc231160ed38c33bc4cd3cdf6ca @wayneeseguin wayneeseguin committed Aug 6, 2011
Showing with 1,624 additions and 0 deletions.
  1. +2 −0 README
  2. +4 −0 haproxy/CHANGELOG.md
  3. +4 −0 haproxy/README.md
  4. +3 −0 haproxy/TODO.md
  5. +1 −0 haproxy/VERSION
  6. +11 −0 haproxy/actions/conf/edit
  7. +9 −0 haproxy/actions/conf/help
  8. +11 −0 haproxy/actions/help
  9. +3 −0 haproxy/config/defaults
  10. +1 −0 haproxy/config/md5
  11. +62 −0 haproxy/doc/Makefile.haproxy
  12. +292 −0 haproxy/doc/README.haproxy
  13. +127 −0 haproxy/modules/shell/dsl
  14. +15 −0 haproxy/modules/shell/initialize
  15. +2 −0 haproxy/modules/shell/modules
  16. +5 −0 haproxy/templates/conf.d.templatem
  17. +77 −0 haproxy/templates/haproxy.cfg.template
  18. +5 −0 haproxy/templates/haproxy.conf.d.template
  19. +5 −0 haproxy/templates/haproxy.template
  20. +4 −0 keepalived/CHANGELOG.md
  21. +4 −0 keepalived/README.md
  22. +3 −0 keepalived/TODO.md
  23. +1 −0 keepalived/VERSION
  24. +12 −0 keepalived/actions/help
  25. +4 −0 keepalived/config/defaults
  26. +1 −0 keepalived/config/md5
  27. +4 −0 keepalived/modules/shell/initialize
  28. +2 −0 keepalived/modules/shell/modules
  29. +5 −0 keepalived/templates/keepalived.conf.d.template
  30. +5 −0 keepalived/templates/keepalived.template
  31. +4 −0 mongrel2/CHANGELOG.md
  32. +4 −0 mongrel2/README.md
  33. +4 −0 mongrel2/TODO.md
  34. +1 −0 mongrel2/VERSION
  35. +7 −0 mongrel2/actions/help
  36. +3 −0 mongrel2/config/defaults
  37. +2 −0 mongrel2/config/md5
  38. +2 −0 mongrel2/modules/shell/cli
  39. +2 −0 mongrel2/modules/shell/dependencies
  40. +21 −0 mongrel2/modules/shell/dsl
  41. +2 −0 mongrel2/modules/shell/initialize
  42. +2 −0 mongrel2/modules/shell/modules
  43. 0 nginx/CHANGELOG.md
  44. 0 nginx/README.md
  45. 0 nginx/TODO.md
  46. +1 −0 nginx/VERSION
  47. +11 −0 nginx/actions/conf/edit
  48. +8 −0 nginx/actions/conf/help
  49. +9 −0 nginx/actions/configure/system
  50. +10 −0 nginx/actions/help
  51. +27 −0 nginx/actions/server/disable
  52. +11 −0 nginx/actions/server/edit
  53. +24 −0 nginx/actions/server/enable
  54. +11 −0 nginx/actions/server/help
  55. +4 −0 nginx/actions/server/list
  56. +51 −0 nginx/actions/server/new
  57. +3 −0 nginx/config/defaults
  58. +3 −0 nginx/config/md5
  59. +3 −0 nginx/modules/shell/dependencies
  60. +41 −0 nginx/modules/shell/dsl
  61. +6 −0 nginx/modules/shell/initialize
  62. +2 −0 nginx/modules/shell/modules
  63. +44 −0 nginx/modules/shell/package/dsl
  64. +48 −0 nginx/modules/shell/package/initialize
  65. +70 −0 nginx/modules/shell/service/dsl
  66. +12 −0 nginx/modules/shell/service/initialize
  67. +72 −0 nginx/templates/mime.types.template
  68. +43 −0 nginx/templates/nginx.conf.template
  69. +6 −0 nginx/templates/nginx.health.template
  70. +215 −0 nginx/templates/nginx.template
  71. +14 −0 nginx/templates/proxy.conf.template
  72. +50 −0 nginx/templates/server.conf.template
  73. +53 −0 nginx/templates/server.ssl.conf.template
  74. +4 −0 varnish/CHANGELOG.md
  75. +4 −0 varnish/README.md
  76. +4 −0 varnish/TODO.md
  77. +1 −0 varnish/VERSION
  78. +14 −0 varnish/actions/help
  79. +3 −0 varnish/config/defaults
  80. +1 −0 varnish/config/md5
  81. +1 −0 varnish/modules/shell/dependencies
  82. +2 −0 varnish/modules/shell/modules
2 README
@@ -0,0 +1,2 @@
+A BDSM extension set providing extensions for various TCP/UDP servers that do
+not fit in other categories like 'database' for example.
@@ -0,0 +1,4 @@
+# BDSM Extension Change Log
+
+* 0.0.1 - Initial Extension Release
+
@@ -0,0 +1,4 @@
+# HAProxy BDSM Framework Extension
+
+This extension installs HAProxy
+
@@ -0,0 +1,3 @@
+# BDSM Extension TODO List
+
+* TODO: Package and release the extension.
@@ -0,0 +1 @@
+0.0.1
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+if command_exists vim
+then
+ ${EDITOR:=vim}
+else
+ ${EDITOR:=vi}
+fi
+
+${EDITOR} "${service_config_path}/${extension}.conf"
+
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+description "Extension for managing ${extension} (${website_url})."
+
+action "edit" "Opens ${extension}.conf for ${package_name} ${package_version}"\
+ "in defined EDITOR or vi if undefined.."
+
+show_help usage
+
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+description "Extension for managing ${extension} (${website_url})."
+
+action "package [action]" "Use ${extension} package."
+action "conf [action]" "Work with ${extension} configuration."
+action "service [action]" "Control ${extension} service."
+action "[namespace] help" "Display help for namespaces ${extension} {package,conf,service}."
+
+show_help usage
+
@@ -0,0 +1,3 @@
+version=1.4.15
+archive_format=tar.gz
+website=http://haproxy.1wt.eu
@@ -0,0 +1 @@
+haproxy-1.4.15.tar.gz=c1b4fc6028c6d8e23dde8c91ff47eabe
@@ -0,0 +1,62 @@
+# This GNU Makefile supports different OS and CPU combinations.
+#
+# You should use it this way :
+# [g]make TARGET=os ARCH=arch CPU=cpu USE_xxx=1 ...
+#
+# Valid USE_* options are the following. Most of them are automatically set by
+# the TARGET, others have to be explictly specified :
+# USE_CTTPROXY : enable CTTPROXY on Linux (needs kernel patch).
+# USE_DLMALLOC : enable use of dlmalloc (see DLMALLOC_SRC)
+# USE_EPOLL : enable epoll() on Linux 2.6. Automatic.
+# USE_GETSOCKNAME : enable getsockname() on Linux 2.2. Automatic.
+# USE_KQUEUE : enable kqueue() on BSD. Automatic.
+# USE_MY_EPOLL : redefine epoll_* syscalls. Automatic.
+# USE_NETFILTER : enable netfilter on Linux. Automatic.
+# USE_PCRE : enable use of libpcre for regex. Recommended.
+# USE_POLL : enable poll(). Automatic.
+# USE_REGPARM : enable regparm optimization. Recommended on x86.
+# USE_SEPOLL : enable speculative epoll(). Automatic.
+# USE_STATIC_PCRE : enable static libpcre. Recommended.
+# USE_TPROXY : enable transparent proxy. Automatic.
+# USE_LINUX_TPROXY : enable full transparent proxy (needs kernel 2.6.28).
+# USE_LINUX_SPLICE : enable kernel 2.6 splicing (broken on old kernels)
+# USE_LIBCRYPT : enable crypted passwords using -lcrypt
+# USE_CRYPT_H : set it if your system requires including crypt.h
+#
+# Options can be forced by specifying "USE_xxx=1" or can be disabled by using
+# "USE_xxx=" (empty string).
+#
+# Variables useful for packagers :
+# CC is set to "gcc" by default and is used for compilation only.
+# LD is set to "gcc" by default and is used for linking only.
+# ARCH may be useful to force build of 32-bit binary on 64-bit systems
+# CFLAGS is automatically set for the specified CPU and may be overridden.
+# LDFLAGS is automatically set to -g and may be overridden.
+# SMALL_OPTS may be used to specify some options to shrink memory usage.
+# DEBUG may be used to set some internal debugging options.
+# ADDINC may be used to complete the include path in the form -Ipath.
+# ADDLIB may be used to complete the library list in the form -Lpath -llib.
+# DEFINE may be used to specify any additional define, which will be reported
+# by "haproxy -vv" in CFLAGS.
+# SILENT_DEFINE may be used to specify other defines which will not be
+# reported by "haproxy -vv".
+# DESTDIR is not set by default and is used for installation only.
+# It might be useful to set DESTDIR if you want to install haproxy
+# in a sandbox.
+# PREFIX is set to "/usr/local" by default and is used for installation only.
+# SBINDIR is set to "$(PREFIX)/sbin" by default and is used for installation
+# only.
+# MANDIR is set to "$(PREFIX)/share/man" by default and is used for
+# installation only.
+# DOCDIR is set to "$(PREFIX)/doc/haproxy" by default and is used for
+# installation only.
+#
+# Other variables :
+# DLMALLOC_SRC : build with dlmalloc, indicate the location of dlmalloc.c.
+# DLMALLOC_THRES : should match PAGE_SIZE on every platform (default: 4096).
+# PCREDIR : force the path to libpcre.
+# IGNOREGIT : ignore GIT commit versions if set.
+# VERSION : force haproxy version reporting.
+# SUBVERS : add a sub-version (eg: platform, model, ...).
+# VERDATE : force haproxy's release date.
+#
Oops, something went wrong.

0 comments on commit 21eb401

Please sign in to comment.