mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
net-libs/libhtp: initial version
This commit is contained in:
1
net-libs/libhtp/Manifest
Normal file
1
net-libs/libhtp/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST htp-0.5.18.tar.gz 799444 SHA256 53f81a2b639edbd9df9f1f0cebcfe9c2a2b381f9d61e2944c020b855a7e89a79 SHA512 e3efaedb74b8a0655b58922f2d0a079f5dfb5dcead117e21394d5d76ff93a3a7260ab56994468764ceeaa2dd584bcfa988b146efb85831e8a98efcda06b28876 WHIRLPOOL 816456580434b2254af8e88e24ff80e5721966ee742bbb89870324e9edcf12bfee4a54727855937c7bbb0d44ba9423dcf714f93a713287dbf0777ca5eeb93c86
|
||||
35
net-libs/libhtp/libhtp-0.5.18.ebuild
Normal file
35
net-libs/libhtp/libhtp-0.5.18.ebuild
Normal file
@@ -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
|
||||
}
|
||||
11
net-libs/libhtp/metadata.xml
Normal file
11
net-libs/libhtp/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user