GH-234: rename Broxygen to Zeexygen along with roles/directives

* All "Broxygen" usages have been replaced in
  code, documentation, filenames, etc.

* Sphinx roles/directives like ":bro:see" are now ":zeek:see"

* The "--broxygen" command-line option is now "--zeexygen"
This commit is contained in:
Jon Siwek 2019-04-22 19:42:52 -07:00
parent 5ba46eaa71
commit aebcb1415d
254 changed files with 2675 additions and 2656 deletions

View file

@ -11,9 +11,9 @@ unset BRO_DEFAULT_CONNECT_RETRY
dir="$( cd "$( dirname "$0" )" && pwd )"
source_dir="$( cd $dir/../.. && pwd )"
build_dir=$source_dir/build
conf_file=$build_dir/broxygen-test.conf
conf_file=$build_dir/zeexygen-test.conf
output_dir=$source_dir/doc
bro_error_file=$build_dir/broxygen-test-stderr.txt
zeek_error_file=$build_dir/zeexygen-test-stderr.txt
if [ -n "$1" ]; then
output_dir=$1
@ -28,13 +28,13 @@ cd $build_dir
. bro-path-dev.sh
export BRO_SEED_FILE=$source_dir/testing/btest/random.seed
function run_bro
function run_zeek
{
ZEEK_ALLOW_INIT_ERRORS=1 bro -X $conf_file broxygen >/dev/null 2>$bro_error_file
ZEEK_ALLOW_INIT_ERRORS=1 bro -X $conf_file zeexygen >/dev/null 2>$zeek_error_file
if [ $? -ne 0 ]; then
echo "Failed running bro with broxygen config file $conf_file"
echo "See stderr in $bro_error_file"
echo "Failed running zeek with zeexygen config file $conf_file"
echo "See stderr in $zeek_error_file"
exit 1
fi
}
@ -43,7 +43,7 @@ scripts_output_dir=$output_dir/scripts
rm -rf $scripts_output_dir
printf "script\t*\t$scripts_output_dir/" > $conf_file
echo "Generating $scripts_output_dir/"
run_bro
run_zeek
script_ref_dir=$output_dir/script-reference
mkdir -p $script_ref_dir
@ -52,7 +52,7 @@ function generate_index
{
echo "Generating $script_ref_dir/$2"
printf "$1\t*\t$script_ref_dir/$2\n" > $conf_file
run_bro
run_zeek
}
generate_index "script_index" "autogenerated-script-index.rst"