<commit_before>#!/bin/sh
set -e

AUTOCONF=autoconf-2.63
LIBTOOL=libtool-1.5.26
SWIG=swig-1.3.36

APR=apr-1.3.3
APR_UTIL=apr-util-1.3.4
NEON=neon-0.28.4
SERF=serf-0.3.0
ZLIB=zlib-1.2.3
SQLITE_VERSION=3.6.13
SQLITE=sqlite-amalgamation-$SQLITE_VERSION

HTTPD=httpd-2.2.11
HTTPD_OOPS=
APR_ICONV=apr-iconv-1.2.1
APR_ICONV_OOPS=

WIN32_APR_VIA_HTTPD=1

LOCATION=${LOCATION-US}

usage() {
    echo >&2 "
Welcome, this is Subversion's construct-rolling-environment.sh.

Change to a directory in which you would like to create a Subversion
rolling environment, and run:
  construct-rolling-environment.sh prefix
to download, build, and install autoconf, libtool, and swig into a prefix
subdirectory. Run:
  construct-rolling-environment.sh deps
to download and extract the various bundled dependencies needed to build<commit_msg>Update the recommended apr and apr-util versions.  This comes as a response to CVE-2009-???? which is the result as a bug in apr, but manifests itself as a DoS attack against public Subversion mod_dav_svn servers.<commit_after>#!/bin/sh
set -e

AUTOCONF=autoconf-2.63
LIBTOOL=libtool-1.5.26
SWIG=swig-1.3.36

APR=apr-1.3.5
APR_UTIL=apr-util-1.3.7
NEON=neon-0.28.4
SERF=serf-0.3.0
ZLIB=zlib-1.2.3
SQLITE_VERSION=3.6.13
SQLITE=sqlite-amalgamation-$SQLITE_VERSION

HTTPD=httpd-2.2.11
HTTPD_OOPS=
APR_ICONV=apr-iconv-1.2.1
APR_ICONV_OOPS=

WIN32_APR_VIA_HTTPD=1

LOCATION=${LOCATION-US}

usage() {
    echo >&2 "
Welcome, this is Subversion's construct-rolling-environment.sh.

Change to a directory in which you would like to create a Subversion
rolling environment, and run:
  construct-rolling-environment.sh prefix
to download, build, and install autoconf, libtool, and swig into a prefix
subdirectory. Run:
  construct-rolling-environment.sh deps
to download and extract the various bundled dependencies needed to build
{'fraction_non_alphanumeric': 0.10326086956521739, 'fraction_numerical': 0.04782608695652174, 'mean_word_length': 4.77115987460815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6805324', 'n_tokens_mistral': 750, 'n_tokens_neox': 728, 'n_words': 179}