diff options
Diffstat (limited to 'net-analyzer/argus-clients')
5 files changed, 144 insertions, 3 deletions
diff --git a/net-analyzer/argus-clients/Manifest b/net-analyzer/argus-clients/Manifest index 47d30b118836..03d6520c7662 100644 --- a/net-analyzer/argus-clients/Manifest +++ b/net-analyzer/argus-clients/Manifest @@ -1,7 +1,10 @@ -AUX argus-clients-3.0.4.1-disable-tcp-wrappers-automagic.patch 593 BLAKE2B fc642bf22101fb4503e0fc50cfceb1c0fb52e3d7dce3e04033fd3fb3c0be14bee7ce89f06199ff9249bc6143896384bdd6f23631975214c61ef53772c48cf666 SHA512 f817bd51125c4c0c8f17b651db2edb1be232440f0a3e3922588e23f5e26c0cff3d0682a0d23654386b5db318d39daa20c6bc94966925d98e62ebae225da74894 +AUX argus-clients-3.0.4.1-disable-tcp-wrappers-automagic.patch 521 BLAKE2B 729ad11ec1fce4bf6d795d7317bb124b7992d7b3800a4a9390af9b611839e5a355eddaedbafd1cd8661b2d3a94aca3a7952ec4e1601680c46fbfe61f08c7fd40 SHA512 63f3526e2c13820a8d58bbd0d4d2c19c289a6a59bfbe2b1d6593820304cf6cdc4159cb24ff019175016116f036c99c7a73947ca51a1ec18893948a09a651f28e AUX argus-clients-3.0.7.21-curses-readline.patch 611 BLAKE2B 046d31d75bef26da50b58fd646192437c25cff3a13752f5c94a3b5fab6f3f5ef265c2a51c9768e90b9bf8bbb197d363ab132f27f967b925ce19a98f66ed2020d SHA512 17910c0e2e2d3efefd1efe713bea5b394087415d103aa18254c7f8e8e4f4aae7d8670db8ab9d6045c145bfc0d5e804c653eca6e1c169813075c1af37ff01a0b2 +AUX argus-clients-3.0.8.2-ar.patch 767 BLAKE2B b13abee07d0d11319890e36d0dd3f446996eb0fe5ddda70d834873349c5b9bfdaa2029526ce2146efb88887b454c6019462908786f47b372e1d2de4f52a8dadf SHA512 793dec8cf09bb730b327a6af35e89b029922329d5e031767b840b1c974dd0ed3482f5590ee6b3f76480d0518139281474c849797df70ddd3013ac06822d0575a +AUX argus-clients-3.0.8.2-rpc.patch 967 BLAKE2B b59450ad0a21eeb1e37d84f518e0e5417ab82f9e6afe5bca078e3dc14f8b52a0a07abc42040569d4d665145794187cf8f554310acd4f98cfab17f0046f381ad6 SHA512 3292d71b78be693901cd8fca3712d5f866185968e30747278d793b9c280091ecbd1f6e61390b48338b07dfa760efda96e1cbf15d279137a4f85991d69b7526cc DIST argus-clients-3.0.8.2.tar.gz 2776072 BLAKE2B 429a12d63f38ce1c5dae343be28543f3c8b6dd746661a893a0108db100762d60dec619cdccfff525b84c0843f0bb61c7e5d96df561a369e6df0d1e6a821d938a SHA512 20aac16bd6474b8f98c8fc86b21ad0b43aca62264c6de2f7f26eea876a90f7276cdaf2241a510a19ae445f40f5d0d05ec6a5869980b6889e6eb5937dbff0f855 DIST argus-clients-3.0.8.tar.gz 2627515 BLAKE2B e7753ce1a65f24639c0c36d694033b038abb7cf835b89a1020edf72829f9196cad2a1be5958a28a51884c169ff7b4e295381501e61cf1e1eb1ee1557fccb6d8f SHA512 79022b3c3e472ebc526b27c20c25ae97abdb9a363a91ebbe3baf405f2aba9bdd80fbc0250b444d3d7ab4488e3c1325389a4719e92d9aded7598a91c3309369c2 +EBUILD argus-clients-3.0.8.2-r1.ebuild 1444 BLAKE2B 2d51bf4b6b8e255a1a5a94f6de100f31f4121c433aab8eaf2106f54b472c27bf90a49eea1ef7bfd98a045baa9892b1e799e501e21a4b5fe0325b286a2ea8bc3e SHA512 71019c1b0b3c8db335c8cefd2ee1f4699c47c15a1dab3b6b07db749918b88c160fcd245076e35530f7857ed33624906b0208334042d49c9332bff16c6fc60847 EBUILD argus-clients-3.0.8.2.ebuild 1453 BLAKE2B f18f8d5c4e85d441b72e6490730dd6b6f9e0c04e433caa58b9fe297d2a40ba3f811f113a7739a8b7df67aafd07d254c7561703ff5bd5fad523879502567eade1 SHA512 b5fd648853deb3a81982a462da9e6ac1c8cbcc453fb6144e5afa303a6465f33daf846212e47d781c33b9e5a0737fa8fcc6dcb0edc4ebf4a1f59583606382851b EBUILD argus-clients-3.0.8.ebuild 1446 BLAKE2B aeb8501a05352c57c5cf5338ee19f598549d96df3d39da2864da8eefa32d3d59e48b0e8f89de39970524bba1a861a3dbf7b50110c815eecdd54258d1fa1f98cb SHA512 90119ef5268e3afafb73b97d4eab3b55d761609064b1d1f371f908715d49f81992d35d6f86466f312e106b014410b1afe4b6815d5b626a2e0485f74cd968f147 MISC metadata.xml 383 BLAKE2B f19de1514d40bf02fc21d447b5d5eed6cf1917fff41a0462a993b0d7572d5d75ca80c6a2e7a0b1de83e9c167d5b5046e96a11ddc3d99595b79079cc4c76e5a54 SHA512 16728e62acf8d17d105ce0d0c0bd32197a9157544aeee9c9601ffc716ccd70cb126086b732c2814d5c4124f3546bb1fe7efddd27b7f686ae2c1960cbf7f90780 diff --git a/net-analyzer/argus-clients/argus-clients-3.0.8.2-r1.ebuild b/net-analyzer/argus-clients/argus-clients-3.0.8.2-r1.ebuild new file mode 100644 index 000000000000..4abbc598cf21 --- /dev/null +++ b/net-analyzer/argus-clients/argus-clients-3.0.8.2-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools 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" + +ARGUS_CDEPEND=" + net-analyzer/rrdtool[perl] + net-libs/libpcap + net-libs/libtirpc:= + sys-libs/ncurses:= + sys-libs/readline:= + sys-libs/zlib + ft? ( net-analyzer/flow-tools ) + geoip? ( dev-libs/geoip ) + mysql? ( virtual/mysql ) + sasl? ( dev-libs/cyrus-sasl ) +" +RDEPEND=" + ${ARGUS_CDEPEND} +" +DEPEND=" + ${ARGUS_CDEPEND} + sys-devel/bison + sys-devel/flex + virtual/pkgconfig +" +PATCHES=( + "${FILESDIR}"/${PN}-3.0.4.1-disable-tcp-wrappers-automagic.patch + "${FILESDIR}"/${PN}-3.0.7.21-curses-readline.patch + "${FILESDIR}"/${PN}-3.0.8.2-rpc.patch + "${FILESDIR}"/${PN}-3.0.8.2-ar.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + tc-export AR RANLIB + + 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) \ + CURSESLIB="$( $(tc-getPKG_CONFIG) --libs ncurses)" +} + +src_install() { + 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.4.1-disable-tcp-wrappers-automagic.patch b/net-analyzer/argus-clients/files/argus-clients-3.0.4.1-disable-tcp-wrappers-automagic.patch index a08d974ce893..8e240043625d 100644 --- a/net-analyzer/argus-clients/files/argus-clients-3.0.4.1-disable-tcp-wrappers-automagic.patch +++ b/net-analyzer/argus-clients/files/argus-clients-3.0.4.1-disable-tcp-wrappers-automagic.patch @@ -1,5 +1,5 @@ ---- configure.ac.org 2011-01-28 18:26:54.000000000 +0100 -+++ configure.ac 2011-04-20 00:09:37.000000000 +0200 +--- a/configure.ac ++++ b/configure.ac @@ -121,6 +121,12 @@ esac diff --git a/net-analyzer/argus-clients/files/argus-clients-3.0.8.2-ar.patch b/net-analyzer/argus-clients/files/argus-clients-3.0.8.2-ar.patch new file mode 100644 index 000000000000..e5df5378ab17 --- /dev/null +++ b/net-analyzer/argus-clients/files/argus-clients-3.0.8.2-ar.patch @@ -0,0 +1,31 @@ +--- a/common/Makefile.in ++++ b/common/Makefile.in +@@ -113,23 +113,23 @@ + all: $(LIBS) + + @INSTALL_LIB@/argus_common.a: $(COMMONOBJ) +- rm -f $@; ar qc $@ $(COMMONOBJ) ++ rm -f $@; $(AR) qc $@ $(COMMONOBJ) + -$(RANLIB) $@ + + @INSTALL_LIB@/argus_parse.a: $(PARSEOBJ) +- rm -f $@; ar qc $@ $(PARSEOBJ) ++ rm -f $@; $(AR) qc $@ $(PARSEOBJ) + -$(RANLIB) $@ + + @INSTALL_LIB@/argus_client.a: $(CLIENTOBJ) +- rm -f $@; ar qc $@ $(CLIENTOBJ) ++ rm -f $@; $(AR) qc $@ $(CLIENTOBJ) + -$(RANLIB) $@ + + @INSTALL_LIB@/argus_output.a: $(OUTPUTOBJ) +- rm -f $@; ar qc $@ $(OUTPUTOBJ) ++ rm -f $@; $(AR) qc $@ $(OUTPUTOBJ) + -$(RANLIB) $@ + + @INSTALL_LIB@/argus_event.a: $(EVENTOBJ) +- rm -f $@; ar qc $@ $(EVENTOBJ) ++ rm -f $@; $(AR) qc $@ $(EVENTOBJ) + -$(RANLIB) $@ + + scanner.c: scanner.l diff --git a/net-analyzer/argus-clients/files/argus-clients-3.0.8.2-rpc.patch b/net-analyzer/argus-clients/files/argus-clients-3.0.8.2-rpc.patch new file mode 100644 index 000000000000..e140fa96b2a3 --- /dev/null +++ b/net-analyzer/argus-clients/files/argus-clients-3.0.8.2-rpc.patch @@ -0,0 +1,34 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -40,6 +40,7 @@ + AC_PROG_INSTALL + AC_PROG_RANLIB + AC_PROG_YACC ++PKG_PROG_PKG_CONFIG + + AC_CHECK_PROGS(V_RANLIB, ranlib, @true) + AC_QOSIENT_LEX_AND_YACC(V_LEX, V_YACC, argus_) +@@ -82,6 +83,12 @@ + AC_CHECK_HEADERS([stdlib.h stddef.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/socket.h]) + AC_CHECK_HEADERS([sys/mount.h sys/time.h sys/vfs.h syslog.h termios.h unistd.h values.h ifaddrs.h]) + ++PKG_CHECK_MODULES(libtirpc, libtirpc, ++ [LIBS="${LIBS} ${libtirpc_LIBS}"], ++[AC_CHECK_HEADER([rpc/types.h],, ++ [AC_MSG_ERROR([Cannot find <rpc/types.h>])])] ++) ++ + # Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST + AC_C_INLINE +--- a/common/Makefile.in ++++ b/common/Makefile.in +@@ -48,7 +48,7 @@ + + CC = @CC@ + CCOPT = @V_CCOPT@ +-INCLS = -I. -I../include @V_INCLS@ @MYSQL_INCLS@ ++INCLS = -I. -I../include @V_INCLS@ @MYSQL_INCLS@ @libtirpc_CFLAGS@ + DEFS = @DEFS@ -DARGUS_SYSLOG + + # Standard CFLAGS |