Have htp follow Suricata versioning so we don't have to worry about
version updates as it changes.
For example, between 8.0.0-beta1 and 8.0.0-rc1 there were changes to
the htp, however the version stayed at 2.0.0 making it impossible to
publish these changes to crates.io.
AC_CONFIG_FILES(rust/sys/Makefile rust/sys/Cargo.toml)
AC_CONFIG_FILES(rust/suricatactl/Makefile rust/suricatactl/Cargo.toml)
AC_CONFIG_FILES(rust/suricatasc/Makefile rust/suricatasc/Cargo.toml)
+AC_CONFIG_FILES(rust/htp/Makefile rust/htp/Cargo.toml)
AC_CONFIG_FILES(qa/Makefile qa/coccinelle/Makefile)
AC_CONFIG_FILES(rules/Makefile doc/Makefile doc/userguide/Makefile)
AC_CONFIG_FILES(suricata.yaml etc/Makefile etc/suricata.logrotate etc/suricata.service)
[[package]]
name = "suricata-htp"
-version = "2.0.0"
+version = "8.0.0-dev"
dependencies = [
"base64",
"brotli",
suricata-lua-sys = { version = "5.4.8002" }
-htp = { package = "suricata-htp", path = "./htp", version = "2.0.0" }
+htp = { package = "suricata-htp", path = "./htp", version = "@PACKAGE_VERSION@" }
[dev-dependencies]
test-case = "~3.3.1"
-SUBDIRS = sys \
+SUBDIRS = htp \
+ sys \
suricatasc \
suricatactl
sys \
sys/Cargo.toml \
suricatasc \
- suricatactl \
- htp/Cargo.toml
+ suricatactl
if !DEBUG
RELEASE = --release
+++ /dev/null
-!Cargo.toml
[package]
name = "suricata-htp"
-version = "2.0.0"
+version = "@PACKAGE_VERSION@"
edition = "2021"
autobins = false
license-file = "LICENSE"
--- /dev/null
+EXTRA_DIST = Cargo.toml
+
+all-local: Cargo.toml