<commit_before>#!/bin/bash

RETCODE=$(fw_exists ${IROOT}/openresty-1.7.4.1.installed)
[ ! "$RETCODE" == 0 ] || { return 0; }

fw_depends nginx lua

fw_get http://openresty.org/download/ngx_openresty-1.7.4.1.tar.gz
fw_untar ngx_openresty-1.7.4.1.tar.gz

cd ngx_openresty-1.7.4.1
./configure --with-luajit-xcflags=-DLUAJIT_NUMMODE=2 --with-http_postgres_module --prefix=${IROOT}/openresty-1.7.4.1 -j4
make -j4
make install

touch ${IROOT}/openresty-1.7.4.1.installed<commit_msg>Bump openresty to version 1.7.7.1<commit_after>#!/bin/bash

RETCODE=$(fw_exists ${IROOT}/openresty-1.7.7.1.installed)
[ ! "$RETCODE" == 0 ] || { return 0; }

fw_depends nginx lua

fw_get http://openresty.org/download/ngx_openresty-1.7.7.1.tar.gz
fw_untar ngx_openresty-1.7.7.1.tar.gz

cd ngx_openresty-1.7.7.1
./configure --with-luajit-xcflags=-DLUAJIT_NUMMODE=2 --with-http_postgres_module --prefix=${IROOT}/openresty-1.7.7.1 -j4
make -j4
make install

touch ${IROOT}/openresty-1.7.7.1.installed
{'fraction_non_alphanumeric': 0.18621399176954734, 'fraction_numerical': 0.06378600823045268, 'mean_word_length': 4.067708333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 13, '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': '1550901', 'n_tokens_mistral': 463, 'n_tokens_neox': 451, 'n_words': 57}