}
ctdb_configure_params = " --enable-developer ${PREFIX}"
-samba_configure_params = " ${ENABLE_COVERAGE} ${PREFIX} --with-profiling-data --with-libevent"
+samba_configure_params = " ${ENABLE_COVERAGE} ${PREFIX} --with-profiling-data --with-prometheus-exporter"
# We cannot configure himmelblau on old systems missing openssl 3, with glibc
# older than version 2.32, or when cargo isn't available.
"./configure.developer ${PREFIX} "
"--with-selftest-prefix=./bin/ab "
"--with-cluster-support "
- "--with-libevent "
+ "--with-prometheus-exporter "
"--bundled-libraries=!tdb"),
("samba-make", "make"),
("samba-check", "./bin/smbd --configfile=/dev/null -b | grep CLUSTER_SUPPORT"),
"sequence": [
# build the fuzzers (static) via the oss-fuzz script
("fuzzers-mkdir-prefix", "mkdir -p ${PREFIX_DIR}"),
- ("fuzzers-build", "OUT=${PREFIX_DIR} LIB_FUZZING_ENGINE= SANITIZER=address CXX= CFLAGS= ADDITIONAL_LDFLAGS='-fuse-ld=bfd' ./lib/fuzzing/oss-fuzz/build_samba.sh --enable-afl-fuzzer --with-libevent"),
+ ("fuzzers-build", "OUT=${PREFIX_DIR} LIB_FUZZING_ENGINE= SANITIZER=address CXX= CFLAGS= ADDITIONAL_LDFLAGS='-fuse-ld=bfd' ./lib/fuzzing/oss-fuzz/build_samba.sh --enable-afl-fuzzer --with-prometheus-exporter"),
],
},
"sequence": [
("random-sleep", random_sleep(300, 900)),
- ("configure", "./configure.developer ${ENABLE_COVERAGE} ${PREFIX} --with-profiling-data --disable-python --without-ad-dc --with-libevent"),
+ ("configure", "./configure.developer ${ENABLE_COVERAGE} ${PREFIX} --with-profiling-data --disable-python --without-ad-dc --with-prometheus-exporter"),
("make", "make -j"),
("find-python", "script/find_python.sh ${PREFIX}"),
("test", "make test-nopython"),
opt.samba_add_onoff_option('fam', default=None) # None means autodetection
opt.samba_add_onoff_option('profiling-data', default=False)
opt.samba_add_onoff_option('libarchive', default=True)
- opt.samba_add_onoff_option('libevent', default=False)
+ opt.samba_add_onoff_option('prometheus-exporter', default=False)
opt.samba_add_onoff_option('cluster-support', default=False)
# check for libevent, needed for prometheus http endpoint
conf.SET_TARGET_TYPE('event', 'EMPTY')
- if Options.options.with_libevent is True:
+ if Options.options.with_prometheus_exporter is True:
Logs.info("Checking for libevent existence")
if conf.CHECK_HEADERS('event2/http.h') and conf.CHECK_LIB('event', shlib=True):
conf.CHECK_FUNCS_IN('evhttp_new', 'event')