mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev.
This also installs symlinks from "zeek" and "bro-config" to a wrapper script that prints a deprecation warning. The btests pass, but this is still WIP. broctl renaming is still missing. #239
This commit is contained in:
parent
375b151a4b
commit
789cb376fd
1119 changed files with 1686 additions and 1647 deletions
87
zeek-config.in
Executable file
87
zeek-config.in
Executable file
|
@ -0,0 +1,87 @@
|
|||
#!/bin/sh
|
||||
|
||||
version=@VERSION@
|
||||
build_type=@CMAKE_BUILD_TYPE_LOWER@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
script_dir=@BRO_SCRIPT_INSTALL_PATH@
|
||||
site_dir=@BRO_SCRIPT_INSTALL_PATH@/site
|
||||
plugin_dir=@BRO_PLUGIN_INSTALL_PATH@
|
||||
config_dir=@BRO_ETC_INSTALL_DIR@
|
||||
python_dir=@PY_MOD_INSTALL_DIR@
|
||||
cmake_dir=@CMAKE_INSTALL_PREFIX@/share/bro/cmake
|
||||
include_dir=@CMAKE_INSTALL_PREFIX@/include/bro
|
||||
bropath=@DEFAULT_BROPATH@
|
||||
bro_dist=@BRO_DIST@
|
||||
binpac_root=@ZEEK_CONFIG_BINPAC_ROOT_DIR@
|
||||
caf_root=@ZEEK_CONFIG_CAF_ROOT_DIR@
|
||||
broker_root=@ZEEK_CONFIG_BROKER_ROOT_DIR@
|
||||
|
||||
usage="\
|
||||
Usage: zeek-config [--version] [--build_type] [--prefix] [--script_dir] [--site_dir] [--plugin_dir] [--config_dir] [--python_dir] [--include_dir] [--cmake_dir] [--bropath] [--bro_dist] [--binpac_root] [--caf_root] [--broker_root]"
|
||||
|
||||
if [ $# -eq 0 ] ; then
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while [ $# -ne 0 ]; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
|
||||
case $1 in
|
||||
--version)
|
||||
echo $version
|
||||
;;
|
||||
--prefix)
|
||||
echo $prefix
|
||||
;;
|
||||
--build_type)
|
||||
echo $build_type
|
||||
;;
|
||||
--script_dir)
|
||||
echo $script_dir
|
||||
;;
|
||||
--site_dir)
|
||||
echo $site_dir
|
||||
;;
|
||||
--plugin_dir)
|
||||
echo $plugin_dir
|
||||
;;
|
||||
--config_dir)
|
||||
echo $config_dir
|
||||
;;
|
||||
--python_dir)
|
||||
echo $python_dir
|
||||
;;
|
||||
--cmake_dir)
|
||||
echo $cmake_dir
|
||||
;;
|
||||
--include_dir)
|
||||
echo $include_dir
|
||||
;;
|
||||
--bropath)
|
||||
echo $bropath
|
||||
;;
|
||||
--bro_dist)
|
||||
echo $bro_dist
|
||||
;;
|
||||
--binpac_root)
|
||||
echo $binpac_root
|
||||
;;
|
||||
--caf_root)
|
||||
echo $caf_root
|
||||
;;
|
||||
--broker_root)
|
||||
echo $broker_root
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue