Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b5c163af94e4be724a717403b50669c6d030a2fe)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b5c163af94e4be724a717403b50669c6d030a2fe)
  • Date: Wed, 19 Aug 2015 08:56:19 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 4 ++++
net/haproxy/BUILD | 1 +
net/haproxy/DEPENDS | 14 ++++++++++++++
net/haproxy/DETAILS | 22 ++++++++++++++++++++++
net/haproxy/HISTORY | 3 +++
net/haproxy/INSTALL | 9 +++++++++
net/haproxy/init.d/haproxy | 11 +++++++++++
net/haproxy/init.d/haproxy.conf | 3 +++
8 files changed, 67 insertions(+)

New commits:
commit b5c163af94e4be724a717403b50669c6d030a2fe
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

haproxy: new spell, reliable, high performance TCP/HTTP load balancer

diff --git a/ChangeLog b/ChangeLog
index 6417649..2820b31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-19 Vlad Glagolev <stealth AT sourcemage.org>
+ * net/haproxy: new spell, reliable, high performance TCP/HTTP load
+ balancer
+
2015-08-18 Vlad Glagolev <stealth AT sourcemage.org>
* net/balance: new spell, open source load balancer and TCP proxy

diff --git a/net/haproxy/BUILD b/net/haproxy/BUILD
new file mode 100755
index 0000000..c132432
--- /dev/null
+++ b/net/haproxy/BUILD
@@ -0,0 +1 @@
+make TARGET=linux2628 CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${OPTS}
diff --git a/net/haproxy/DEPENDS b/net/haproxy/DEPENDS
new file mode 100755
index 0000000..2967de5
--- /dev/null
+++ b/net/haproxy/DEPENDS
@@ -0,0 +1,14 @@
+optional_depends zlib \
+ "USE_ZLIB=1" \
+ "USE_ZLIB=0" \
+ "for gzip/deflate compression support" &&
+
+optional_depends SSL \
+ "USE_OPENSSL=1" \
+ "USE_OPENSSL=0" \
+ "for SSL support" &&
+
+optional_depends pcre \
+ "USE_PCRE=1" \
+ "USE_PCRE=0" \
+ "for regex support"
diff --git a/net/haproxy/DETAILS b/net/haproxy/DETAILS
new file mode 100755
index 0000000..11bde9a
--- /dev/null
+++ b/net/haproxy/DETAILS
@@ -0,0 +1,22 @@
+ SPELL=haproxy
+ VERSION=1.5.14
+ BRANCH=`echo ${VERSION}|cut -d. -f1,2`
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=http://www.haproxy.org/download/${BRANCH}/src/${SOURCE}
+
SOURCE_HASH=sha512:83d6101fd402f37845ab3febc914335e4c6d9bdebbb0ff81c8e048d5252ffa5a1b77c4250a434fed5dd541ef1f1f2c47d969b59f7a51d6ab9aea38a8646a9798
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ DOC_DIRS="doc/design-thoughts doc/internals"
+ WEB_SITE=http://www.haproxy.org/
+ ENTERED=20150819
+ LICENSE[0]=GPL
+ LICENSE[1]=LGPL
+ KEYWORDS="balancing failover proxy"
+ SHORT="reliable, high performance TCP/HTTP load balancer"
+cat << EOF
+HAProxy is a high-performance and highly-robust TCP/HTTP load balancer which
+provides cookie-based persistence, automatic failover, header insertion,
+deletion, modification on the fly, advanced logging contents to help trouble-
+shoot buggy applications and/or networks, and a few other features. It uses
+its own state machine to achieve up to ten thousands hits per second on
modern
+hardware, even with thousands of simultaneous connections.
+EOF
diff --git a/net/haproxy/HISTORY b/net/haproxy/HISTORY
new file mode 100644
index 0000000..d80d3e9
--- /dev/null
+++ b/net/haproxy/HISTORY
@@ -0,0 +1,3 @@
+2015-08-19 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, INSTALL, init.d/haproxy{,.conf}: created
+ spell, version 1.5.14
diff --git a/net/haproxy/INSTALL b/net/haproxy/INSTALL
new file mode 100755
index 0000000..a11387e
--- /dev/null
+++ b/net/haproxy/INSTALL
@@ -0,0 +1,9 @@
+make PREFIX="${INSTALL_ROOT}/usr"
DOCDIR="${INSTALL_ROOT}/usr/share/doc/haproxy" install &&
+
+install -vm 755 -d "${INSTALL_ROOT}/usr/share/haproxy" &&
+cp -av examples "${INSTALL_ROOT}/usr/share/haproxy/" &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/haproxy.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/haproxy"
+fi
diff --git a/net/haproxy/init.d/haproxy b/net/haproxy/init.d/haproxy
new file mode 100644
index 0000000..28d986d
--- /dev/null
+++ b/net/haproxy/init.d/haproxy
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+. /etc/sysconfig/haproxy
+
+PIDFILE=/var/run/haproxy.pid
+PROGRAM=/usr/sbin/haproxy
+ARGS="-D -f /etc/haproxy/haproxy.cfg -p ${PIDFILE} ${HAPROXY_ARGS}"
+RUNLEVEL=3
+NEEDS="+network +remote_fs"
+
+. /etc/init.d/smgl_init
diff --git a/net/haproxy/init.d/haproxy.conf b/net/haproxy/init.d/haproxy.conf
new file mode 100644
index 0000000..68d2f0e
--- /dev/null
+++ b/net/haproxy/init.d/haproxy.conf
@@ -0,0 +1,3 @@
+# For arguments and description see haproxy(1)
+
+HAPROXY_ARGS=""



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b5c163af94e4be724a717403b50669c6d030a2fe), Vlad Glagolev, 08/19/2015

Archive powered by MHonArc 2.6.24.

Top of Page