diff options
Diffstat (limited to 'homebrew/haproxy')
-rw-r--r-- | homebrew/haproxy/.beer | 37 | ||||
-rw-r--r-- | homebrew/haproxy/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/haproxy/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/haproxy/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/haproxy/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/haproxy/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/haproxy/download.sh | 1 |
7 files changed, 47 insertions, 0 deletions
diff --git a/homebrew/haproxy/.beer b/homebrew/haproxy/.beer new file mode 100644 index 000000000..b488da9aa --- /dev/null +++ b/homebrew/haproxy/.beer @@ -0,0 +1,37 @@ +{ + "name": "Haproxy", + "description": "Reliable, high performance TCP/HTTP load balancer", + "url": "https://www.haproxy.org/download/1.9/src/haproxy-1.9.6.tar.gz", + "mirror": null, + "homepage": "https://www.haproxy.org/", + "depends": [ + { + "depend": "openssl", + "build-depend": false + }, + { + "depend": "pcre", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "args = %w[", + "TARGET=generic", + "USE_KQUEUE=1", + "USE_POLL=1", + "USE_PCRE=1", + "USE_OPENSSL=1", + "USE_THREAD=1", + "USE_ZLIB=1", + "ADDLIB=-lcrypto", + "]", + "system \"make\", \"CC=#{ENV.cc}\", \"CFLAGS=#{ENV.cflags}\", \"LDFLAGS=#{ENV.ldflags}\", *args", + "man1.install \"doc/haproxy.1\"", + "bin.install \"haproxy\"" + ], + "version": "1.9.6", + "file": "haproxy.rb" +}
\ No newline at end of file diff --git a/homebrew/haproxy/.make.sh-auto b/homebrew/haproxy/.make.sh-auto new file mode 100644 index 000000000..f322557d7 --- /dev/null +++ b/homebrew/haproxy/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +args = %w[TARGET=generic USE_KQUEUE=1 USE_POLL=1 USE_PCRE=1 USE_OPENSSL=1 USE_THREAD=1 USE_ZLIB=1 ADDLIB=-lcrypto ] +make CC=${PKG_TARG}-clang CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} *args +man1.install "doc/haproxy.1" +bin.install "haproxy" diff --git a/homebrew/haproxy/_metadata/description b/homebrew/haproxy/_metadata/description new file mode 100644 index 000000000..c1ffda26a --- /dev/null +++ b/homebrew/haproxy/_metadata/description @@ -0,0 +1 @@ +Reliable, high performance TCP/HTTP load balancer diff --git a/homebrew/haproxy/_metadata/homepage b/homebrew/haproxy/_metadata/homepage new file mode 100644 index 000000000..a60fadd74 --- /dev/null +++ b/homebrew/haproxy/_metadata/homepage @@ -0,0 +1 @@ +https://www.haproxy.org/ diff --git a/homebrew/haproxy/_metadata/name b/homebrew/haproxy/_metadata/name new file mode 100644 index 000000000..f29c1e038 --- /dev/null +++ b/homebrew/haproxy/_metadata/name @@ -0,0 +1 @@ +Haproxy diff --git a/homebrew/haproxy/_metadata/version b/homebrew/haproxy/_metadata/version new file mode 100644 index 000000000..7bc1c4047 --- /dev/null +++ b/homebrew/haproxy/_metadata/version @@ -0,0 +1 @@ +1.9.6 diff --git a/homebrew/haproxy/download.sh b/homebrew/haproxy/download.sh new file mode 100755 index 000000000..fc5c09452 --- /dev/null +++ b/homebrew/haproxy/download.sh @@ -0,0 +1 @@ +wget https://www.haproxy.org/download/1.9/src/haproxy-1.9.6.tar.gz
\ No newline at end of file |