diff options
Diffstat (limited to 'net-analyzer/hexinject')
-rw-r--r-- | net-analyzer/hexinject/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/hexinject/files/hexinject-1.6-fix-build-system.patch | 22 | ||||
-rw-r--r-- | net-analyzer/hexinject/hexinject-1.6-r2.ebuild (renamed from net-analyzer/hexinject/hexinject-1.6-r1.ebuild) | 9 |
3 files changed, 18 insertions, 17 deletions
diff --git a/net-analyzer/hexinject/Manifest b/net-analyzer/hexinject/Manifest index 77b2dc58c599..c16101320989 100644 --- a/net-analyzer/hexinject/Manifest +++ b/net-analyzer/hexinject/Manifest @@ -1,4 +1,4 @@ -AUX hexinject-1.6-fix-build-system.patch 462 BLAKE2B abbd87f2ba9c8005649ab50cb16c0fbe78d0be06beae297a5f68d876059e4f86b42fe985f97f0d8ad1ff5c4224f3cb213f3635d6b30cb932e4d09af59e04aa54 SHA512 5cf816c71789d6c487acd757e62d44c4ca0ada32393d2de138311e61eb22c0ca5c49a9e539a7fe333b4fc8ea48ec29b49c4e14db97bc267c45aaa39f8fab04d1 +AUX hexinject-1.6-fix-build-system.patch 511 BLAKE2B 255448e417a34d57b7bfbf1c3952d6532fce23aaa5c4425f51c1b329420e061c69fd5c9f6ad08d72de2a7e68859db8ab2c7cd448065b9d202c3533d59e710283 SHA512 02338a84ee40b009f76b84c098b6ba62b0a500cc5186e793c8e654a1979dafc9592606e12c62e98da9299baf7067c6c7e996bf6eced27831476b3221ddf1d9bd DIST hexinject-1.6.tar.gz 16876 BLAKE2B ac2951a5b4705ec84ed72fa5513e84b8bf031bd7e43b05c76fe83fc601cf3a245352afb0f226cc128bb028124ba898bc67394f2d839554ee01e25ee25c8f0c4d SHA512 7432122a7ca42b7ac066cc55daec2d4a656b08e0f390db1a49f626181080d07687026d04a150573e3341e4e76f87a20b6466deddcc9d022e7d66fadcb8dac1ad -EBUILD hexinject-1.6-r1.ebuild 697 BLAKE2B fab22b1a5b3d00881da6fe0ddbc91c5678d1ad9dc910fa7689708c4dcf31982c94194279a09475777333e17d17ff8202032d3b8ed59c5693549a5298cf0919fa SHA512 89ca26ae193bca85ca9fe8ca0e5075f96254887666f24d84ae2e194d941d3e50bc7f46a40bbde3c319b3cdf977080e29b5924a1d2e11dfadb601f23c9914f2a8 +EBUILD hexinject-1.6-r2.ebuild 681 BLAKE2B 75413e7334ba2568ededee6808a846074bb8b547167f97bfa4af4f9452bc5a60e83f75b4e72254bbd43dff150e6fe8e9e072653ff18a9f167e6e0e6ab470d88d SHA512 bce460b3150f1b085b1843c88b1a23b9c42f84aa6bee7a777b61ce843cf7a9eaee68b3eecb8af811a043cd488f34431120101f411f09df09a00c5df31b7385e0 MISC metadata.xml 1035 BLAKE2B 8ac7a78fc672c4c807c91452604e279c6888cfbfb06dc39cdbee550fbfee915f5d8d0ca9afb7cfe3e716345ffdeca2badf9ae30efca1ac50ca7e120414341e0f SHA512 369ff6e44e50127b883d6856a9da810f22fc1454acda1b5b1f762566be53d1530dc011192c97935bdef9ee55d4dbd10137223f464e044f7d8da404f1f48d01ae diff --git a/net-analyzer/hexinject/files/hexinject-1.6-fix-build-system.patch b/net-analyzer/hexinject/files/hexinject-1.6-fix-build-system.patch index fbe91199bbfa..9d22337afa93 100644 --- a/net-analyzer/hexinject/files/hexinject-1.6-fix-build-system.patch +++ b/net-analyzer/hexinject/files/hexinject-1.6-fix-build-system.patch @@ -1,18 +1,22 @@ Author: holgersson <holgersson@posteo.de> Date: Fri Oct 20 18:30:00 2017 +0200 -Don’t call gcc directly, and respect CFLAGS. As this project -is plain C I don’t care fore CXXFLAGS here. +Respect CC, CFLAGS, CPPFLAGS and LDFLAGS. ---- a/Makefile 2017-10-20 18:15:11.743805540 +0200 -+++ b/Makefile 2017-10-20 18:24:55.120009439 +0200 -@@ -1,6 +1,6 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,11 +1,7 @@ -CC = gcc -CFLAGS = -Wall -LDFLAGS = -lpcap -+CC ?= gcc +CFLAGS += -Wall -+LDFLAGS = -lpcap ++LDLIBS = -lpcap - all: - $(CC) $(CFLAGS) $(LDFLAGS) -o hexinject hexinject.c +-all: +- $(CC) $(CFLAGS) $(LDFLAGS) -o hexinject hexinject.c +- $(CC) $(CFLAGS) $(LDFLAGS) -o prettypacket prettypacket.c +- $(CC) $(CFLAGS) $(LDFLAGS) -o hex2raw hex2raw.c ++all: hexinject prettypacket hex2raw + + clean: + rm -f hexinject prettypacket hex2raw *~ diff --git a/net-analyzer/hexinject/hexinject-1.6-r1.ebuild b/net-analyzer/hexinject/hexinject-1.6-r2.ebuild index e36c1803461e..bfef01f88b8f 100644 --- a/net-analyzer/hexinject/hexinject-1.6-r1.ebuild +++ b/net-analyzer/hexinject/hexinject-1.6-r2.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 inherit toolchain-funcs DESCRIPTION="Network packet sniffer and injector" HOMEPAGE="http://hexinject.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +S="${WORKDIR}/${PN}" LICENSE="BSD" SLOT="0" @@ -18,13 +19,9 @@ DEPEND="net-libs/libpcap" RDEPEND="${DEPEND} experimental? ( dev-lang/tcl )" -S="${WORKDIR}/${PN}" - PATCHES=( "${FILESDIR}"/${PN}-1.6-fix-build-system.patch ) src_configure() { - default - tc-export CC } |