diff --git a/common/shlibs b/common/shlibs index 2b3b4f28e0..22d5b29778 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3422,3 +3422,4 @@ libqhttpengine.so.1 qhttpengine-1.0.1_1 libqmdnsengine.so.0 qmdnsengine-0.1.0_1 libyang.so.0.16 libyang-0.16r3_1 libhtp.so.2 suricata-4.1.2_2 +libhtp.so.2 libhtp-0.5.30_1 diff --git a/srcpkgs/libhtp-devel b/srcpkgs/libhtp-devel new file mode 120000 index 0000000000..2a0b6ae975 --- /dev/null +++ b/srcpkgs/libhtp-devel @@ -0,0 +1 @@ +libhtp \ No newline at end of file diff --git a/srcpkgs/libhtp/template b/srcpkgs/libhtp/template new file mode 100644 index 0000000000..d7afd6e6f4 --- /dev/null +++ b/srcpkgs/libhtp/template @@ -0,0 +1,28 @@ +# Template file for 'libhtp' +pkgname=libhtp +version=0.5.30 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool" +makedepends="zlib-devel" +short_desc="Security-aware parser for HTTP" +maintainer="maxice8 " +license="GPL-3.0-or-later" +homepage="https://github.com/OISF/libhtp" +distfiles="https://github.com/OISF/libhtp/archive/${version}.tar.gz" +checksum=7384f8461ad0431e9247c49b37a73929b284f39408d1f11b80949b188069b638 + +pre_configure() { + autoreconf -fi +} + +libhtp-devel_package() { + depends="libhtp-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + } +}