<commit_before>BuildRequires += $(LibDir)/libpcre.la

include ../../Library/Unix.mk

Title=		HAProxy
Name=		haproxy
Version=	1.5.9
Revision=	0
Site=		http://www.haproxy.org
Source=		http://www.haproxy.org/download/1.5/src/$(Name)-$(Version).tar.gz
License=	GPL/LGPL

LicenseFile=	$(SourceDir)/LICENSE

MakeExtra += TARGET=macosx
MakeExtra += USE_ZLIB=1
MakeExtra += USE_OPENSSL=1
MakeExtra += USE_PCRE=1 USE_PCRE_JIT=1
MakeExtra += USE_KQUEUE=1
MakeInstallExtra += SBINDIR=$(BinDir)

define install_post_hook
rm -f $(InstallDir)$(BinDir)/haproxy-systemd-wrapper
endef

define test_inner_hook
$(BinDir)/haproxy -vv
endef<commit_msg>haproxy: Update to version 1.5.14.<commit_after>BuildRequires += $(LibDir)/libpcre.la # static-pcre

include ../../Library/Unix.mk

Title=		HAProxy
Name=		haproxy
Version=	1.5.14
Revision=	0
Site=		http://www.haproxy.org
Source=		http://www.haproxy.org/download/1.5/src/$(Name)-$(Version).tar.gz
License=	GPL/LGPL

LicenseFile=	$(SourceDir)/LICENSE

MakeExtra += TARGET=macosx
MakeExtra += USE_ZLIB=1
MakeExtra += USE_OPENSSL=1
MakeExtra += USE_PCRE=1 USE_PCRE_JIT=1
MakeExtra += USE_KQUEUE=1
MakeInstallExtra += SBINDIR=$(BinDir)

define install_post_hook
rm -f $(DestDir)$(BinDir)/haproxy-systemd-wrapper
endef

define test_inner_hook
$(BinDir)/haproxy -vv
endef
{'fraction_non_alphanumeric': 0.1498069498069498, 'fraction_numerical': 0.02084942084942085, 'mean_word_length': 5.384236453201971, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1421133', 'n_tokens_mistral': 537, 'n_tokens_neox': 529, 'n_words': 92}