From c25cbf61384a4535890611d1745bfb84fb06d0e2 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 10 Mar 2019 21:59:49 -0300 Subject: [PATCH] New package: libhtp-0.5.30 --- common/shlibs | 1 + srcpkgs/libhtp-devel | 1 + srcpkgs/libhtp/template | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/libhtp-devel create mode 100644 srcpkgs/libhtp/template diff --git a/common/shlibs b/common/shlibs index 2b3b4f28e08..22d5b29778a 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 00000000000..2a0b6ae975a --- /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 00000000000..d7afd6e6f47 --- /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" + } +}