rpcapd: 4.1.3 bump

This commit is contained in:
Yury Martynov 2019-04-20 19:04:13 +03:00
parent a909f7248f
commit 4c1eba41df
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
3 changed files with 44 additions and 37 deletions

View file

@ -1 +1 @@
DIST WpcapSrc_4_1_2.zip 3833073 SHA256 2620a8731927422f643c7002361996dfcfcb6664cfc0f668c54fb1660b58b706
DIST WpcapSrc_4_1_3.zip 3834716 BLAKE2B c8c82ba74b1ea3408c2eda15b4918522dba0462f526d527d83ff04aa770bbfa69b29dd3201358c12b177d6717b51916a2d528883167f57e435bae700f1c3d53f SHA512 89a5109ed17f8069f7a43497f6fec817c58620dbc5fa506e52069b9113c5bc13f69c307affe611281cb727cfa0f8529d07044d41427e350b24468ccc89a87f33

View file

@ -1,36 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit flag-o-matic
DESCRIPTION="Remote packet capture daemon"
HOMEPAGE="http://www.winpcap.org/devel.htm"
SRC_URI="http://www.winpcap.org/install/bin/WpcapSrc_4_1_2.zip"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}"/winpcap/wpcap/libpcap
src_prepare() {
fperms +x configure runlex.sh
}
src_compile() {
strip-flags
make CCOPT="${CFLAGS} ${LDFLAGS}"
cd rpcapd
emake CFLAGS="${CFLAGS} -pthread -DHAVE_REMOTE -DHAVE_SNPRINTF ${LDFLAGS}"
}
src_install() {
dosbin rpcapd/rpcapd
}

View file

@ -0,0 +1,43 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools flag-o-matic
DESCRIPTION="Remote packet capture daemon"
HOMEPAGE="https://www.winpcap.org/devel.htm"
SRC_URI="https://www.winpcap.org/install/bin/WpcapSrc_$(ver_rs 1-2 _).zip"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND="app-arch/unzip"
RDEPEND=""
S="${WORKDIR}"/winpcap/wpcap/libpcap
src_prepare() {
# https://bugs.gentoo.org/426262
#rm configure && mv configure.in configure.ac || die
#eautoreconf
chmod +x configure || die
eapply_user
}
src_compile() {
strip-flags
emake CCOPT="${CFLAGS} ${LDFLAGS}"
pushd "rpcapd" > /dev/null || die
emake CFLAGS="${CFLAGS} -pthread -DHAVE_REMOTE -DHAVE_SNPRINTF ${LDFLAGS}"
popd > /dev/null
}
src_install() {
dosbin rpcapd/rpcapd
}