diff options
Diffstat (limited to 'net-analyzer/xprobe')
-rw-r--r-- | net-analyzer/xprobe/files/xprobe-0.3-cxx11.patch | 11 | ||||
-rw-r--r-- | net-analyzer/xprobe/xprobe-0.3-r1.ebuild | 36 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-analyzer/xprobe/files/xprobe-0.3-cxx11.patch b/net-analyzer/xprobe/files/xprobe-0.3-cxx11.patch new file mode 100644 index 000000000000..7ec38a9c2756 --- /dev/null +++ b/net-analyzer/xprobe/files/xprobe-0.3-cxx11.patch @@ -0,0 +1,11 @@ +--- a/src/defines.h.in ++++ b/src/defines.h.in +@@ -24,7 +24,7 @@ + + #define VERSION "@VERSION@" + #define BANNER \ +-"\nXprobe2 v."VERSION\ ++"\nXprobe2 v." VERSION \ + " Copyright (c) 2002-2005 fyodor@o0o.nu, ofir@sys-security.com, meder@o0o.nu"\ + "\n" + diff --git a/net-analyzer/xprobe/xprobe-0.3-r1.ebuild b/net-analyzer/xprobe/xprobe-0.3-r1.ebuild new file mode 100644 index 000000000000..209b65fecc78 --- /dev/null +++ b/net-analyzer/xprobe/xprobe-0.3-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +MY_P=${PN}2-${PV} + +DESCRIPTION="Active OS fingerprinting tool - this is Xprobe2" +HOMEPAGE="http://sys-security.com/blog/xprobe2" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="net-libs/libpcap" +RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-cxx11.patch +) +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + sed -i -e 's:strip:true:' src/Makefile.in || die + sed -i -e 's:ar cr:$(AR) cr:g' $(find -name '*Makefile*') || die + + tc-export AR +} + +src_install() { + default + dodoc AUTHORS CHANGELOG CREDITS README TODO docs/*.{txt,pdf} +} |