summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-08-17 15:55:00 +0000
committerJeroen Roovers <jer@gentoo.org>2013-08-17 15:55:00 +0000
commitdb93e71c25b50b8c906d470c6984fd110fabbc24 (patch)
tree77cf6d3d20c07018c9f81fdd8a09ed3c0045515e /net-analyzer/argus-clients
parentbump, remove old (diff)
downloadgentoo-2-db93e71c25b50b8c906d470c6984fd110fabbc24.tar.gz
gentoo-2-db93e71c25b50b8c906d470c6984fd110fabbc24.tar.bz2
gentoo-2-db93e71c25b50b8c906d470c6984fd110fabbc24.zip
Version bump.
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer/argus-clients')
-rw-r--r--net-analyzer/argus-clients/ChangeLog8
-rw-r--r--net-analyzer/argus-clients/argus-clients-3.0.7.12.ebuild68
-rw-r--r--net-analyzer/argus-clients/files/argus-clients-3.0.7.12-strncasecmp.patch11
3 files changed, 86 insertions, 1 deletions
diff --git a/net-analyzer/argus-clients/ChangeLog b/net-analyzer/argus-clients/ChangeLog
index da8c71e8b2b7..7c4222cf0eea 100644
--- a/net-analyzer/argus-clients/ChangeLog
+++ b/net-analyzer/argus-clients/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/argus-clients
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus-clients/ChangeLog,v 1.56 2013/07/11 23:13:28 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus-clients/ChangeLog,v 1.57 2013/08/17 15:55:00 jer Exp $
+
+*argus-clients-3.0.7.12 (17 Aug 2013)
+
+ 17 Aug 2013; Jeroen Roovers <jer@gentoo.org> +argus-clients-3.0.7.12.ebuild,
+ +files/argus-clients-3.0.7.12-strncasecmp.patch:
+ Version bump.
*argus-clients-3.0.7.11 (11 Jul 2013)
diff --git a/net-analyzer/argus-clients/argus-clients-3.0.7.12.ebuild b/net-analyzer/argus-clients/argus-clients-3.0.7.12.ebuild
new file mode 100644
index 000000000000..dc2d469e0225
--- /dev/null
+++ b/net-analyzer/argus-clients/argus-clients-3.0.7.12.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/argus-clients/argus-clients-3.0.7.12.ebuild,v 1.1 2013/08/17 15:55:00 jer Exp $
+
+EAPI=5
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="Clients for net-analyzer/argus"
+HOMEPAGE="http://www.qosient.com/argus/"
+SRC_URI="http://qosient.com/argus/dev/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug ft geoip mysql sasl tcpd"
+
+MY_CDEPEND="
+ net-analyzer/rrdtool[perl]
+ net-libs/libpcap
+ sys-libs/ncurses
+ sys-libs/readline
+ ft? ( net-analyzer/flow-tools )
+ geoip? ( dev-libs/geoip )
+ mysql? ( virtual/mysql )
+ sasl? ( dev-libs/cyrus-sasl )
+"
+
+RDEPEND="
+ ${MY_CDEPEND}
+"
+
+DEPEND="
+ ${MY_CDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-3.0.4.1-disable-tcp-wrappers-automagic.patch \
+ "${FILESDIR}"/${PN}-3.0.7.12-strncasecmp.patch
+
+ sed -i -e 's| ar | $(AR) |g' common/Makefile.in || die
+ tc-export AR RANLIB
+
+ eautoreconf
+}
+
+src_configure() {
+ use debug && touch .debug
+ econf \
+ $(use_with ft libft) \
+ $(use_with geoip GeoIP /usr/) \
+ $(use_with sasl) \
+ $(use_with tcpd wrappers) \
+ $(use_with mysql)
+}
+
+src_compile() {
+ emake CCOPT="${CFLAGS} ${LDFLAGS}" RANLIB=$(tc-getRANLIB)
+}
+
+src_install() {
+ # argus_parse.a and argus_common.a are supplied by net-analyzer/argus
+ dobin bin/ra*
+ dodoc ChangeLog CREDITS README CHANGES
+ doman man/man{1,5}/*
+}
diff --git a/net-analyzer/argus-clients/files/argus-clients-3.0.7.12-strncasecmp.patch b/net-analyzer/argus-clients/files/argus-clients-3.0.7.12-strncasecmp.patch
new file mode 100644
index 000000000000..164d15bcaf41
--- /dev/null
+++ b/net-analyzer/argus-clients/files/argus-clients-3.0.7.12-strncasecmp.patch
@@ -0,0 +1,11 @@
+--- a/examples/raconvert/raconvert.c
++++ b/examples/raconvert/raconvert.c
+@@ -299,7 +299,7 @@
+ switch (ind) {
+ case RASCIIDEBUG: {
+ for (x = 0, ind = -1; x < RASCII_MAXDEBUG; x++) {
+- if (!(strncasecmp (mode->mode, RaConvertDaemonModes[x], 3))) {
++ if (!(strncasecmp (mode->mode, RaConvertDaemonModes[x], 2))) {
+ ArgusDebugMode |= 0x01 << x;
+ switch (ind) {
+ case RASCII_DEBUGTASKS: