60 lines
1.6 KiB
Bash
60 lines
1.6 KiB
Bash
# Template file for 'zeek'
|
|
pkgname=zeek
|
|
version=6.1.0
|
|
revision=1
|
|
archs="x86_64* i686* aarch64* armv7* ppc64*"
|
|
build_style=cmake
|
|
build_helper=qemu
|
|
configure_args="-DCMAKE_INSTALL_LIBDIR=lib -DZEEK_ETC_INSTALL_DIR=/etc -DDISABLE_SPICY=1"
|
|
hostmakedepends="flex pkg-config python3-devel libpcap-devel openssl-devel
|
|
bind-devel zlib-devel swig spicy"
|
|
makedepends="bind-devel geoip-devel libpcap-devel openssl-devel zlib-devel
|
|
python3-devel libfl-devel"
|
|
short_desc="Advanced framework for network traffic analysis"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.zeek.org"
|
|
distfiles="https://download.zeek.org/zeek-${version}.tar.gz"
|
|
checksum=fb756f4b97809755b5dec38927c49477ff06aa647dfcd2b88025b1be1b6a358e
|
|
make_check=no # checks are broken
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
makedepends+=" musl-fts-devel musl-legacy-compat"
|
|
fi
|
|
|
|
post_install() {
|
|
vsv zeek
|
|
vsv bro
|
|
vlicense COPYING
|
|
}
|
|
|
|
zeek-devel_package() {
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/bin/*-config"
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/zeek/cmake
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|
|
|
|
bro_package() {
|
|
build_style=meta
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" (transitional dummy package)"
|
|
}
|
|
|
|
binpac_package() {
|
|
short_desc+=" - protocol parser compiler (transitional)"
|
|
build_style=meta
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
}
|
|
|
|
binpac-devel_package() {
|
|
short_desc+=" - protocol parser compiler library (transitional)"
|
|
build_style=meta
|
|
depends="${sourcepkg}-devel>=${version}_${revision}"
|
|
}
|