diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-02-18 17:34:21 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-02-18 17:34:46 -0500 |
commit | d306e6724ab89cdcef45b1921c22b0bc8f457c46 (patch) | |
tree | d1dca37ceeb90b47696c4dbd2ea37e337cc47658 /net-libs | |
parent | dev-lua/lualdap: requires openldap at runtime (diff) | |
download | gentoo-d306e6724ab89cdcef45b1921c22b0bc8f457c46.tar.gz gentoo-d306e6724ab89cdcef45b1921c22b0bc8f457c46.tar.bz2 gentoo-d306e6724ab89cdcef45b1921c22b0bc8f457c46.zip |
net-libs/libhtp: initial version
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libhtp/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libhtp/libhtp-0.5.18.ebuild | 35 | ||||
-rw-r--r-- | net-libs/libhtp/metadata.xml | 11 |
3 files changed, 47 insertions, 0 deletions
diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest new file mode 100644 index 000000000000..79fe4babfcf6 --- /dev/null +++ b/net-libs/libhtp/Manifest @@ -0,0 +1 @@ +DIST htp-0.5.18.tar.gz 799444 SHA256 53f81a2b639edbd9df9f1f0cebcfe9c2a2b381f9d61e2944c020b855a7e89a79 SHA512 e3efaedb74b8a0655b58922f2d0a079f5dfb5dcead117e21394d5d76ff93a3a7260ab56994468764ceeaa2dd584bcfa988b146efb85831e8a98efcda06b28876 WHIRLPOOL 816456580434b2254af8e88e24ff80e5721966ee742bbb89870324e9edcf12bfee4a54727855937c7bbb0d44ba9423dcf714f93a713287dbf0777ca5eeb93c86 diff --git a/net-libs/libhtp/libhtp-0.5.18.ebuild b/net-libs/libhtp/libhtp-0.5.18.ebuild new file mode 100644 index 000000000000..2c11b3bb98ed --- /dev/null +++ b/net-libs/libhtp/libhtp-0.5.18.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit multilib-minimal + +MY_P=${P#lib} + +DESCRIPTION="security-aware parser for the HTTP protocol and the related bits and pieces" +HOMEPAGE="https://github.com/OISF/libhtp" +SRC_URI="https://github.com/OISF/${PN}/releases/download/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" +IUSE="debug static-libs" + +RDEPEND="sys-libs/zlib[static-libs?]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +multilib_src_configure() { + # The debug configure logic is broken. + ECONF_SOURCE=${S} \ + econf \ + $(usex debug '--enable-debug' '') \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + use static-libs || find "${ED}" -name '*.la' -delete +} diff --git a/net-libs/libhtp/metadata.xml b/net-libs/libhtp/metadata.xml new file mode 100644 index 000000000000..ee432479ac41 --- /dev/null +++ b/net-libs/libhtp/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>vapier@gentoo.org</email> + <description>feel free to update</description> +</maintainer> +<upstream> + <remote-id type="github">OISF/libhtp</remote-id> +</upstream> +</pkgmetadata> |