diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-02-05 18:44:56 +0000 |
commit | 29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch) | |
tree | ab466b4dfa7abecb401b2f8039d08af4689306bb /net-analyzer/angst | |
parent | d42200bec37eef2a7478d88988ff00addd0a9202 (diff) |
gentoo resync : 05.02.2020
Diffstat (limited to 'net-analyzer/angst')
-rw-r--r-- | net-analyzer/angst/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/angst/angst-0.4b-r3.ebuild | 45 | ||||
-rw-r--r-- | net-analyzer/angst/files/0.4b-flags.patch | 20 | ||||
-rw-r--r-- | net-analyzer/angst/files/0.4b-libnet-1.0.patch | 8 |
4 files changed, 72 insertions, 5 deletions
diff --git a/net-analyzer/angst/Manifest b/net-analyzer/angst/Manifest index a1e4a6763a55..06a0f67b17fa 100644 --- a/net-analyzer/angst/Manifest +++ b/net-analyzer/angst/Manifest @@ -1,4 +1,6 @@ -AUX 0.4b-libnet-1.0.patch 518 BLAKE2B ec4062d1d1ac2227203e5ed0cd9b673fd879691b4522c12960e92a8f4c26ef41552b9adefb7b84b202efa3119e30f5ccb85681f0e108cabd390ad589a3ba71ea SHA512 59164bff22aa252b414820fd47fa06059be5ab2587236c378a08ab7e576bd41947d66ea872e673707586893ae61117aa4320baf583d2a30f603b53a497b49032 +AUX 0.4b-flags.patch 551 BLAKE2B f8abf1a56addf80157155dfdf1cad5f2fc49d9b554c1e65baf69a64ef90c5337522635878704fe867f51e9dcca4b46b45a9e2a6a16c36a6bf92709d32c4f3494 SHA512 4552e16344bfa8fab9952c55891ea1ecbaaeec38df4fa459959f7db54b7197282b8d6436f250002c05db5abcc75c640f87bdff66261812afa82ef8f2b6e96965 +AUX 0.4b-libnet-1.0.patch 372 BLAKE2B 56df2ea477503005c28c32bf852675fe428beb07334bce78d467fbe3977c1aec82fee34935157160fbb9563fb2a1b385e93b28e76a030496e07c86b052ef4d81 SHA512 aa135c5e1e0daf54a2ff72eff465f0f3f26e06bf7da76fca48ffb145ebfc10e09d29fa45ae0c84009ee2535a06d093e0fc0936993ab9034025e1c68136168b25 DIST angst-0.4b.tar.gz 13909 BLAKE2B f08b9e489eaec5e2006ad8d84dc7586c6fb57c3d8585fb5cd769591ed56f4e5a4c2e0bdaf0ba02b40370ea99146ebfa02611d64b043949b27f6dfcbbdd2b16e5 SHA512 5584b1dd01d781cd34b594fcc8970764874599a1f15b1185066ee21c11cde23af148270c178d6a0b3436d71955aaf1cd904703f9dfb0c75d0b70c04d394fb449 EBUILD angst-0.4b-r2.ebuild 848 BLAKE2B bb06b8af7b4b33859d2d55012cce753da80bf776329e8b875ed30cdd878c19c4be78fdcad8f008d09ed405a360fe726bc2ea0553218e6ff99e8f0d7cefbf80a8 SHA512 7ddd27ba2be944a552127e8fb7f03a7e35a5a2e919d0b4c582eae4360fa9dfca3e2a8e8f65daa3bac5afc72a074e9fedca0ba39774a9f0c836a9ea0001fb4a3b +EBUILD angst-0.4b-r3.ebuild 836 BLAKE2B 65636b593221b7d9e05b9842538b89122bf13ac87d0293bed20d3500b7db6cb48c19cf7b619ee325e7ff0467fe7929a6a98bc475183114c8e1d8841adf43b440 SHA512 40d259f2606c32d205c130c85df499ca36281c63684ef3d394d40fe7f19f7423f4922e2c2ffe99a93dc21e753f1367b217b0ce3f04134cc54eac96926664111b MISC metadata.xml 471 BLAKE2B 3d6f52d876f3d620414906524cc0f84a46b33ef28add51fdf4a45dbdba740862f175d742f8b6c8cf9daa1657c33c3a3d38aeb4c9586c5a2b0e52fd509e75ec08 SHA512 0632876623160e4192bdf280011de0006adec537ad7065da350fde0a0b338b264f60cd6acdaeb439316d28ac84bfe100527b532c20a65606d1bb91ba415a82b4 diff --git a/net-analyzer/angst/angst-0.4b-r3.ebuild b/net-analyzer/angst/angst-0.4b-r3.ebuild new file mode 100644 index 000000000000..8054d460f586 --- /dev/null +++ b/net-analyzer/angst/angst-0.4b-r3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="an active sniffer that provides methods for aggressive sniffing on switched LANs" +HOMEPAGE="http://angst.sourceforge.net/" +SRC_URI="http://angst.sourceforge.net/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug" + +DEPEND=" + net-libs/libpcap + net-libs/libnet:1.0 +" +RDEPEND=" + ${DEPEND} +" +PATCHES=( + "${FILESDIR}"/${PV}-flags.patch + "${FILESDIR}"/${PV}-libnet-1.0.patch +) + +src_configure() { + append-cflags -fcommon + use debug && append-cppflags -DDEBUG +} + +src_compile() { + emake \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + CC="$(tc-getCC)" \ + -f Makefile.linux +} + +src_install() { + dosbin angst + doman angst.8 + dodoc README TODO ChangeLog +} diff --git a/net-analyzer/angst/files/0.4b-flags.patch b/net-analyzer/angst/files/0.4b-flags.patch new file mode 100644 index 000000000000..1021faa5b539 --- /dev/null +++ b/net-analyzer/angst/files/0.4b-flags.patch @@ -0,0 +1,20 @@ +--- a/Makefile.linux ++++ b/Makefile.linux +@@ -5,7 +5,7 @@ + # + # $Id: Makefile.linux,v 1.6 2001/02/08 13:44:12 argp Exp $ + +-CC = gcc ++CC ?= gcc + INSTALL_DIR = /usr/bin/install -c -o root -g bin + INSTALL_SBIN = /usr/bin/install -c -s -o root -g bin -m 555 + INSTALL_MAN = /usr/bin/install -c -o root -g bin -m 444 +@@ -21,7 +21,7 @@ + all: angst + + angst: $(OBJS) +- $(CC) $(CFLAGS) -o angst $(DEFINE) $(OBJS) $(INCLUDE) $(LIBS) ++ $(CC) $(CFLAGS) -o angst $(DEFINE) $(LDFLAGS) $(OBJS) $(INCLUDE) $(LIBS) + + clean: + rm -f angst *.o missing/*.o *.core core diff --git a/net-analyzer/angst/files/0.4b-libnet-1.0.patch b/net-analyzer/angst/files/0.4b-libnet-1.0.patch index b78243a1a187..a2bcf1a18696 100644 --- a/net-analyzer/angst/files/0.4b-libnet-1.0.patch +++ b/net-analyzer/angst/files/0.4b-libnet-1.0.patch @@ -1,12 +1,12 @@ ---- Makefile.linux.orig 2003-08-19 01:22:26.737300264 -0400 -+++ Makefile.linux 2003-08-19 01:22:26.745299048 -0400 +--- a/Makefile.linux ++++ b/Makefile.linux @@ -14,2 +14,2 @@ -LIBS = -L/usr/local/lib `libnet-config --libs` -lpcap -DEFINE = `libnet-config --defines` -DLINUX #-DDEBUG +LIBS = -L/usr/local/lib `libnet-1.0-config --libs` -lpcap +DEFINE = `libnet-1.0-config --defines` -DLINUX #-DDEBUG ---- angst.h.orig 2003-08-19 01:22:26.741299656 -0400 -+++ angst.h 2003-08-19 01:22:26.751298136 -0400 +--- a/angst.h ++++ b/angst.h @@ -12 +12 @@ -#include <libnet.h> +#include <libnet-1.0.h> |