New package: libhtp-0.5.30

This commit is contained in:
maxice8 2019-03-10 21:59:49 -03:00
parent 71f695c1da
commit c25cbf6138
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
3 changed files with 30 additions and 0 deletions

View File

@ -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

1
srcpkgs/libhtp-devel Symbolic link
View File

@ -0,0 +1 @@
libhtp

28
srcpkgs/libhtp/template Normal file
View File

@ -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 <thinkabit.ukim@gmail.com>"
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"
}
}