diff options
-rw-r--r-- | net-analyzer/argus/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/argus/argus-3.0.8.2-r3.ebuild | 84 | ||||
-rw-r--r-- | net-analyzer/argus/argus-3.0.8.2-r4.ebuild | 85 | ||||
-rw-r--r-- | net-analyzer/argus/files/argus-3.0.8.2-fno-common.patch | 45 | ||||
-rw-r--r-- | net-analyzer/argus/files/argus-3.0.8.2-rpc.patch | 45 |
5 files changed, 0 insertions, 260 deletions
diff --git a/net-analyzer/argus/Manifest b/net-analyzer/argus/Manifest index 960cce267b55..196e3c621939 100644 --- a/net-analyzer/argus/Manifest +++ b/net-analyzer/argus/Manifest @@ -1,2 +1 @@ -DIST argus-3.0.8.2.tar.gz 524749 BLAKE2B 4d93fd8acd71b198da712961d75f0e813f5ed3fde841e77b8a10c3a9b89571902b7597969a4be12437c97ffc69ba5ebefaee8b684c5d2d4ce4f1309c1cfd1199 SHA512 146795880d8697e065ed23d2fbab226846d55db0b71945c5a4cab2896e48ceb6e1671ccb4e00dc3b0f984525bac4ced3773f3b9e70c3ea5f7c6972fe9bd94313 DIST argus-3.0.8.3.tar.gz 524549 BLAKE2B f905784c12d28d4440a7a6954441ce4f0865125a87e3d740edd5785e729f8b5b45967d97aef4f72802d2166b76176e15c6f15ec99b87ae1d14849ae92c65ad76 SHA512 f66db5b3bb1305825b76a7eda413d5805d65182aabef647e27716cfd629327b3aab8c299bc8af419199ac655cef4ac3bfcb83c059080e98b042e09f79f01d82a diff --git a/net-analyzer/argus/argus-3.0.8.2-r3.ebuild b/net-analyzer/argus/argus-3.0.8.2-r3.ebuild deleted file mode 100644 index 47656c47be5d..000000000000 --- a/net-analyzer/argus/argus-3.0.8.2-r3.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools epatch - -DESCRIPTION="network Audit Record Generation and Utilization System" -HOMEPAGE="https://www.qosient.com/argus/" -SRC_URI="https://www.qosient.com/argus/dev/${P/_rc/.rc.}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="debug +libtirpc sasl tcpd" - -RDEPEND=" - acct-group/argus - acct-user/argus - net-libs/libnsl:= - net-libs/libpcap - sys-libs/zlib - !libtirpc? ( sys-libs/glibc[rpc(-)] ) - libtirpc? ( net-libs/libtirpc ) - sasl? ( dev-libs/cyrus-sasl ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) -" -DEPEND=" - ${RDEPEND} - >=sys-devel/bison-1.28 - >=sys-devel/flex-2.4.6 -" - -S=${WORKDIR}/${P/_rc/.rc.} - -src_prepare() { - find . -type f -execdir chmod +w {} \; #561360 - sed -e 's:/etc/argus.conf:/etc/argus/argus.conf:' \ - -i argus/argus.c \ - -i support/Config/argus.conf \ - -i man/man8/argus.8 \ - -i man/man5/argus.conf.5 || die - - sed -e 's:#\(ARGUS_SETUSER_ID=\).*:\1argus:' \ - -e 's:#\(ARGUS_SETGROUP_ID=\).*:\1argus:' \ - -e 's:\(#ARGUS_CHROOT_DIR=\).*:\1/var/lib/argus:' \ - -i support/Config/argus.conf || die - epatch \ - "${FILESDIR}"/${PN}-3.0.8.1-disable-tcp-wrappers-automagic.patch \ - "${FILESDIR}"/${PN}-3.0.5-Makefile.patch \ - "${FILESDIR}"/${PN}-3.0.7.3-DLT_IPNET.patch \ - "${FILESDIR}"/${PN}-3.0.8.2-rpc.patch - - epatch_user - eautoreconf -} - -src_configure() { - use debug && touch .debug # enable debugging - econf $(use_with libtirpc) $(use_with tcpd wrappers) $(use_with sasl) -} - -src_compile() { - emake CCOPT="${CFLAGS} ${LDFLAGS}" -} - -src_install() { - doman man/man5/*.5 man/man8/*.8 - - dosbin bin/argus{,bug} - - dodoc ChangeLog CREDITS README - - insinto /etc/argus - doins support/Config/argus.conf - - newinitd "${FILESDIR}/argus.initd" argus - keepdir /var/lib/argus -} - -pkg_postinst() { - elog "Note, if you modify ARGUS_DAEMON value in argus.conf it's quite" - elog "possible that the init script will fail to work." -} diff --git a/net-analyzer/argus/argus-3.0.8.2-r4.ebuild b/net-analyzer/argus/argus-3.0.8.2-r4.ebuild deleted file mode 100644 index dd6e555ef544..000000000000 --- a/net-analyzer/argus/argus-3.0.8.2-r4.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="network Audit Record Generation and Utilization System" -HOMEPAGE="https://openargus.org/" -SRC_URI="https://www.qosient.com/argus/dev/${P/_rc/.rc.}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="debug +libtirpc sasl tcpd" - -RDEPEND=" - acct-group/argus - acct-user/argus - net-libs/libnsl:= - net-libs/libpcap - sys-libs/zlib - !libtirpc? ( sys-libs/glibc[rpc(-)] ) - libtirpc? ( net-libs/libtirpc ) - sasl? ( dev-libs/cyrus-sasl ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=sys-devel/bison-1.28 - >=sys-devel/flex-2.4.6 -" -PATCHES=( - "${FILESDIR}"/${PN}-3.0.8.1-disable-tcp-wrappers-automagic.patch - "${FILESDIR}"/${PN}-3.0.5-Makefile.patch - "${FILESDIR}"/${PN}-3.0.7.3-DLT_IPNET.patch - "${FILESDIR}"/${PN}-3.0.8.2-rpc.patch - "${FILESDIR}"/${PN}-3.0.8.2-fno-common.patch -) -S=${WORKDIR}/${P/_rc/.rc.} - -src_prepare() { - find . -type f -execdir chmod +w {} \; #561360 - sed -e 's:/etc/argus.conf:/etc/argus/argus.conf:' \ - -i argus/argus.c \ - -i support/Config/argus.conf \ - -i man/man8/argus.8 \ - -i man/man5/argus.conf.5 || die - - sed -e 's:#\(ARGUS_SETUSER_ID=\).*:\1argus:' \ - -e 's:#\(ARGUS_SETGROUP_ID=\).*:\1argus:' \ - -e 's:\(#ARGUS_CHROOT_DIR=\).*:\1/var/lib/argus:' \ - -i support/Config/argus.conf || die - - default - eautoreconf -} - -src_configure() { - use debug && touch .debug # enable debugging - econf $(use_with libtirpc) $(use_with tcpd wrappers) $(use_with sasl) -} - -src_compile() { - emake CCOPT="${CFLAGS} ${LDFLAGS}" -} - -src_install() { - doman man/man5/*.5 man/man8/*.8 - - dosbin bin/argus{,bug} - - dodoc ChangeLog CREDITS README - - insinto /etc/argus - doins support/Config/argus.conf - - newinitd "${FILESDIR}/argus.initd" argus - keepdir /var/lib/argus -} - -pkg_postinst() { - elog "Note, if you modify ARGUS_DAEMON value in argus.conf it's quite" - elog "possible that the init script will fail to work." -} diff --git a/net-analyzer/argus/files/argus-3.0.8.2-fno-common.patch b/net-analyzer/argus/files/argus-3.0.8.2-fno-common.patch deleted file mode 100644 index 66f950d0c04d..000000000000 --- a/net-analyzer/argus/files/argus-3.0.8.2-fno-common.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- a/include/argus/bootp.h -+++ b/include/argus/bootp.h -@@ -45,6 +45,8 @@ - unsigned char bp_vend[64]; /* vendor-specific area */ - }; - -+extern struct bootp *bp; -+ - /* - * UDP port numbers, server and client. - */ ---- a/argus/ArgusUdp.c -+++ b/argus/ArgusUdp.c -@@ -40,9 +40,6 @@ - #include <argus_compat.h> - #include <ArgusModeler.h> - --#include <argus/bootp.h> --struct bootp *bp; -- - void ArgusUpdateUDPState (struct ArgusModelerStruct *, struct ArgusFlowStruct *, unsigned char *); - - void ---- a/argus/ArgusUdt.c -+++ b/argus/ArgusUdt.c -@@ -40,9 +40,6 @@ - #include <argus_compat.h> - #include <ArgusModeler.h> - --#include <argus/bootp.h> --struct bootp *bp; -- - struct ArgusSystemFlow * - ArgusCreateUDTFlow (struct ArgusModelerStruct *model, struct udt_header *udt) - { ---- a/argus/ArgusModeler.c -+++ b/argus/ArgusModeler.c -@@ -43,7 +43,6 @@ - - #include <argus.h> - --#include <argus/bootp.h> - #include <signal.h> - - #include <sched.h> diff --git a/net-analyzer/argus/files/argus-3.0.8.2-rpc.patch b/net-analyzer/argus/files/argus-3.0.8.2-rpc.patch deleted file mode 100644 index 96af0caf140e..000000000000 --- a/net-analyzer/argus/files/argus-3.0.8.2-rpc.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- a/common/Makefile.in -+++ b/common/Makefile.in -@@ -35,12 +35,12 @@ - - CC = @CC@ - CCOPT = @V_CCOPT@ --INCLS = -I$(srcdir) @V_INCLS@ -I$(srcdir)/../include -I$(srcdir)/../argus -+INCLS = -I$(srcdir) @V_INCLS@ @RPC_CFLAGS@ -I$(srcdir)/../include -I$(srcdir)/../argus - DEFS = @DEFS@ - - # Standard CFLAGS - CFLAGS = $(CCOPT) $(INCLS) $(DEFS) --LDFLAGS = @LDFLAGS@ -+LDFLAGS = @LDFLAGS@ @RPC_LIBS@ - - INSTALL = @INSTALL@ - RANLIB = @V_RANLIB@ ---- a/configure.ac -+++ b/configure.ac -@@ -120,6 +120,25 @@ - AC_CHECK_FUNCS(floorf remainderf) - AC_CHECK_FUNCS(timegm) - -+AC_ARG_WITH([libtirpc], -+ AS_HELP_STRING([--with-libtirpc], [Use libtirpc as RPC implementation (instead of sunrpc)]), -+ [], [ with_libtirpc=no ]) -+ -+AS_IF([test "x$with_libtirpc" != xno], -+ [PKG_CHECK_MODULES([TIRPC], -+ [libtirpc], -+ [RPC_CFLAGS=$TIRPC_CFLAGS; RPC_LIBS=$TIRPC_LIBS;], -+ [AC_MSG_ERROR([libtirpc requested, but library not found.])] -+ )], -+ [AC_CHECK_HEADER(rpc/rpc.h, -+ [RPC_CFLAGS=""; RPC_LIBS="";], -+ [AC_MSG_ERROR([sunrpc requested, but headers are not present.])] -+ )] -+) -+ -+AC_SUBST(RPC_CFLAGS) -+AC_SUBST(RPC_LIBS) -+ - AC_CHECK_FUNCS(xdrmem_create) - if test "$ac_cv_func_xdrmem_create" = yes ; then - AC_DEFINE([HAVE_XDR], [], [Using system XDR library]) |