mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 13:51:00 +02:00
libtins: v4.0 bump
This commit is contained in:
parent
bcb1f58dfd
commit
fcd95d2ad3
4 changed files with 51 additions and 1 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST libtins-3.5.tar.gz 347630 SHA256 1b0624b2eea3ce077a86f3abd3e625661760c4cfd21cd8f3d3cd3622229ff2cd SHA512 68bfadca38813de62c69641977c0befefb487c91f23a64ad757b88ef5e6369864ee1b7b77408e7de92a34a48a75fc27f3345de9d338c318dea87f4a24a4d6187 WHIRLPOOL 745563e5175cb43f483c27eae33e9d73c84296b3722a1fe62910b9c5eb3c299bb4904f89d3bef7b6f07eb7910e54be33dad9d177909a02a5010e04e052088f88
|
||||
DIST libtins-4.0.tar.gz 364101 SHA256 2a758d1bed51760bbd57fcaa00610534e0cc3a6d55d91983724e5f46739d66b8 SHA512 8a497617ca68f4bad331452778b92c51ce87e42d1ceae493ecd6799cabbe71609214ca962c4a8c83d205f76277f2a82f92d3d17341984caa1592cf237eb3cf3b WHIRLPOOL 58a20d70b50bd8befea7809961904be72993bc5044532c1edf58c70c824a87e954c22f8c7b909dbb11abac23c271fc77280d32d33415473803c47fc767299522
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ SRC_URI="https://github.com/mfontanini/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g
|
|||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+cxx11 +ack-tracker +wpa2 +dot11 static-libs"
|
||||
IUSE="+cxx11 +ack-tracker +wpa2 +dot11 +static-libs"
|
||||
|
||||
REQUIRED_USE="
|
||||
wpa2? ( dot11 )
|
||||
|
|
|
|||
47
net-libs/libtins/libtins-4.0.ebuild
Normal file
47
net-libs/libtins/libtins-4.0.ebuild
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="High-level, multiplatform C++ network packet sniffing and crafting library."
|
||||
HOMEPAGE="https://libtins.github.io/"
|
||||
SRC_URI="https://github.com/mfontanini/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+cxx11 +ack-tracker +wpa2 +dot11 +static-libs"
|
||||
|
||||
REQUIRED_USE="
|
||||
wpa2? ( dot11 )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
ack-tracker? ( dev-libs/boost )
|
||||
wpa2? ( dev-libs/openssl:0 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
net-libs/libpcap
|
||||
"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/CMAKE_INSTALL_LIBDIR lib/d' CMakeLists.txt || die
|
||||
cmake-utils_src_prepare
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIBTINS_ENABLE_CXX11="$(usex cxx11)"
|
||||
-DLIBTINS_ENABLE_ACK_TRACKER="$(usex ack-tracker)"
|
||||
-DLIBTINS_ENABLE_WPA2="$(usex wpa2)"
|
||||
-DLIBTINS_ENABLE_DOT11="$(usex dot11)"
|
||||
-DLIBTINS_BUILD_SHARED="$(usex !static-libs)"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
|
@ -24,3 +24,5 @@ net-libs/cppzmq
|
|||
|
||||
#required by snort
|
||||
~net-libs/daq-2.0.2
|
||||
|
||||
net-libs/libtins
|
||||
|
|
|
|||
Loading…
Reference in a new issue