summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-11-17 18:45:05 +0000
committerPeter Volkov <pva@gentoo.org>2008-11-17 18:45:05 +0000
commite8daf6778cd5485d9e6aaac29db58e2b4e47599b (patch)
tree150740df35457674eb1c1427fe93f53f17d02362 /net-analyzer/yersinia
parentNeeds pango with X. Bug #247004 (diff)
downloadhistorical-e8daf6778cd5485d9e6aaac29db58e2b4e47599b.tar.gz
historical-e8daf6778cd5485d9e6aaac29db58e2b4e47599b.tar.bz2
historical-e8daf6778cd5485d9e6aaac29db58e2b4e47599b.zip
Version bump. Fixed >libpcap-1.0.0 build issue, bug #247133, thank Willard Dawson for report.
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.26-openvz.git-35f41f1 i686
Diffstat (limited to 'net-analyzer/yersinia')
-rw-r--r--net-analyzer/yersinia/ChangeLog11
-rw-r--r--net-analyzer/yersinia/Manifest5
-rw-r--r--net-analyzer/yersinia/files/yersinia-0.7.1-no-ncurses.patch14
-rw-r--r--net-analyzer/yersinia/yersinia-0.7.1.ebuild40
4 files changed, 67 insertions, 3 deletions
diff --git a/net-analyzer/yersinia/ChangeLog b/net-analyzer/yersinia/ChangeLog
index 49c9f3603a50..6574bf29632a 100644
--- a/net-analyzer/yersinia/ChangeLog
+++ b/net-analyzer/yersinia/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/yersinia
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/yersinia/ChangeLog,v 1.3 2007/04/08 13:13:28 jokey Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/yersinia/ChangeLog,v 1.4 2008/11/17 18:45:04 pva Exp $
+
+*yersinia-0.7.1 (17 Nov 2008)
+
+ 17 Nov 2008; Peter Volkov <pva@gentoo.org>
+ +files/yersinia-0.7.1-no-ncurses.patch, +yersinia-0.7.1.ebuild:
+ Version bump. Fixed >libpcap-1.0.0 build issue, bug #247133, thank Willard
+ Dawson for report.
08 Apr 2007; Markus Ullmann <jokey@gentoo.org> yersinia-0.7.ebuild:
Minor QA, stable on x86
diff --git a/net-analyzer/yersinia/Manifest b/net-analyzer/yersinia/Manifest
index 32d565c8176a..1638a62d5a98 100644
--- a/net-analyzer/yersinia/Manifest
+++ b/net-analyzer/yersinia/Manifest
@@ -1,4 +1,7 @@
+AUX yersinia-0.7.1-no-ncurses.patch 413 RMD160 2ea11d770dca8d6efaa95af64e669baba806f891 SHA1 fff7291177185c973084008b3fd12fdf069e257b SHA256 835db2382a97c1dddc097d2402aaefacf5ff749609c411cf8f5f778b585adf86
+DIST yersinia-0.7.1.tar.gz 318396 RMD160 005f51da891efe964a03c25da27a0cfe0ac3ac8d SHA1 cacb446548d076149de0a71a6c03cd2edaa14660 SHA256 9c473c49bba9b5271ca1cc6fb5d64314bff675772f597837341f58dc93351a17
DIST yersinia-0.7.tar.gz 322812 RMD160 d3ba275a39b04ae2c442552fd351493f50ccff55 SHA1 ea8531d7d1fae119324e257cf33f137da8188811 SHA256 0a82b904991ee1ecbbeb0a19ca3c3261f4014170a5c50a7fcd5be9af5e30a029
+EBUILD yersinia-0.7.1.ebuild 996 RMD160 bc32fc737703a5faa26f8e11545e3526a5c0f532 SHA1 8560b20f8ffc8ba0b7347415f13839aed4667c50 SHA256 2abccc9225b027d1606ff6d9b90378da53468293fe1d3ba442f5779af61f9d5a
EBUILD yersinia-0.7.ebuild 832 RMD160 b5cf9740bf42b867fd1011033f66948663f0e086 SHA1 6766393553f779b0783b412bcf0f2cc26c49987d SHA256 aecfe80ec1308bf69a12520f289c5fbcf72cc4122fea5b1cc65b39891ad9e1c0
-MISC ChangeLog 880 RMD160 fda72b919a0890386091ffd26fd0a55866849e27 SHA1 043f1578d1141dd1ec97dc308bbc6598244e994d SHA256 0be1cda25c332efd45e70be261bc34a12233febb5c706f0b8890fbae3edcea83
+MISC ChangeLog 1119 RMD160 c5dfb1a9f00a7ba73c3eee4da11a48c868f71a51 SHA1 90602b7fcfe888cf4e9ab17f7b1972d8248b9529 SHA256 e05d1c44bc1025dc26b3dc68236e7d217ae0c28c28141e36ef332e532975fff3
MISC metadata.xml 396 RMD160 ebf37705f01af23e34b2b325bcfe9586bad67750 SHA1 5b682f4b3a72ded526080a2166974302f63fb997 SHA256 7e8867d6503104a2fb4bbe43db172701073a44371a0100c8d204b44ae23cb076
diff --git a/net-analyzer/yersinia/files/yersinia-0.7.1-no-ncurses.patch b/net-analyzer/yersinia/files/yersinia-0.7.1-no-ncurses.patch
new file mode 100644
index 000000000000..7e25f3ed9ae4
--- /dev/null
+++ b/net-analyzer/yersinia/files/yersinia-0.7.1-no-ncurses.patch
@@ -0,0 +1,14 @@
+=== modified file 'src/terminal.c'
+--- src/terminal.c 2008-11-17 18:29:55 +0000
++++ src/terminal.c 2008-11-17 18:33:17 +0000
+@@ -190,7 +190,9 @@
+ #endif
+
+ pthread_mutex_destroy(&terms->admin_listen_th.finished);
++#ifdef HAS_CURSES
+ pthread_mutex_destroy(&terms->gui_th.finished);
++#endif
+ pthread_mutex_destroy(&terms->pcap_listen_th.finished);
+ pthread_mutex_destroy(&terms->uptime_th.finished);
+
+
diff --git a/net-analyzer/yersinia/yersinia-0.7.1.ebuild b/net-analyzer/yersinia/yersinia-0.7.1.ebuild
new file mode 100644
index 000000000000..4629ec196396
--- /dev/null
+++ b/net-analyzer/yersinia/yersinia-0.7.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/yersinia/yersinia-0.7.1.ebuild,v 1.1 2008/11/17 18:45:04 pva Exp $
+
+inherit eutils
+
+DESCRIPTION="A layer 2 attack framework"
+HOMEPAGE="http://www.yersinia.net/"
+SRC_URI="http://www.yersinia.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gtk ncurses"
+
+DEPEND="ncurses? ( >=sys-libs/ncurses-5.5 )
+ gtk? ( =x11-libs/gtk+-2* )
+ >=net-libs/libnet-1.1.2
+ >=net-libs/libpcap-0.9.4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-no-ncurses.patch"
+ sed -e "s:^\(CFLAGS = \).*:\1${CFLAGS}:" -i src/Makefile.in
+}
+
+src_compile() {
+ econf \
+ --enable-admin \
+ --with-pcap-includes=/usr/include \
+ $(use_with ncurses) \
+ $(use_enable gtk)
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog FAQ README THANKS TODO || die
+}