diff options
author | Stuart Shelton <stuart@shelton.me> | 2016-07-23 17:15:26 +0100 |
---|---|---|
committer | Stuart Shelton <stuart@shelton.me> | 2016-07-23 17:15:26 +0100 |
commit | 53d6da062729e4a8f88e56774f5f2ef050e87910 (patch) | |
tree | 01108239da73bfbf08caf3e386d3e90b4b7bd3e1 /net-libs/libhtp | |
parent | Update net-misc/wget-1.18 (diff) | |
download | srcshelton-53d6da062729e4a8f88e56774f5f2ef050e87910.tar.gz srcshelton-53d6da062729e4a8f88e56774f5f2ef050e87910.tar.bz2 srcshelton-53d6da062729e4a8f88e56774f5f2ef050e87910.zip |
Add net-libs/libhtp-0.5.21, update README.md
Diffstat (limited to 'net-libs/libhtp')
-rw-r--r-- | net-libs/libhtp/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libhtp/libhtp-0.5.21.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-libs/libhtp/Manifest b/net-libs/libhtp/Manifest new file mode 100644 index 00000000..ba08fcea --- /dev/null +++ b/net-libs/libhtp/Manifest @@ -0,0 +1,2 @@ +DIST libhtp-0.5.21.tar.gz 5770751 SHA256 db6d0cc423cc165ac0e1a10da48bcca8b6fbe57940d5a061aa4e25adeb0103c6 SHA512 5c623ceeac7235965db8dfd5456595eafe8a640cb8603b7e93ed860281f77d6589be203c8c36c1093fb572424e65731362fa2ae24ee017b3aff04d5ee3a9184e WHIRLPOOL 5c2f371079ae6d5a5b64e9363060466e33d5fc5038104529337e89af33824531eb9e6767a9f57ee1f887d6c4ddf68f7764168fc22739ef6311736539e9db673f +EBUILD libhtp-0.5.21.ebuild 872 SHA256 2c9c0fd5f93023bb113507a118ce8abf321bc37007271973fd1879eb4dcb3efa SHA512 102bc8298945a14463813305cfdba0ecdf2e5b9521aef65b233df0b3c9c63f41856293eb265c033c0652f2f8faf18e0f829a4e4c5c87ece357c02fa54eb06285 WHIRLPOOL 03c0325506fb25bc66d9ae1fb28f24b1b7f839027cfef5c4ef91fd100a9ba900098eaf456162ec746997edc68b49941debec522c444eafac0edd9f70fe7fbd61 diff --git a/net-libs/libhtp/libhtp-0.5.21.ebuild b/net-libs/libhtp/libhtp-0.5.21.ebuild new file mode 100644 index 00000000..ef134415 --- /dev/null +++ b/net-libs/libhtp/libhtp-0.5.21.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id: 2c11b3bb98eddbcf4c01d9a38aaebb546f2ceaa1 $ + +EAPI="5" + +inherit autotools multilib-minimal + +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}/archive/${PV}.tar.gz -> ${P}.tar.gz" +RESTRICT="nomirror" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" +IUSE="debug static-libs" + +RDEPEND="sys-libs/zlib[static-libs?]" +DEPEND="${RDEPEND}" + +src_prepare() { + eautoreconf +} + +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 +} |