public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/lanmap/
@ 2020-11-27 16:28 Aaron Bauman
  0 siblings, 0 replies; 2+ messages in thread
From: Aaron Bauman @ 2020-11-27 16:28 UTC (permalink / raw
  To: gentoo-commits

commit:     8273539733d6dbfa009fd1ddc99109477f889fb1
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 27 16:10:27 2020 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Nov 27 16:28:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82735397

net-misc/lanmap: drop old EAPI

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 net-misc/lanmap/lanmap-81-r1.ebuild | 40 -------------------------------------
 1 file changed, 40 deletions(-)

diff --git a/net-misc/lanmap/lanmap-81-r1.ebuild b/net-misc/lanmap/lanmap-81-r1.ebuild
deleted file mode 100644
index 7c14fb94965..00000000000
--- a/net-misc/lanmap/lanmap-81-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="lanmap sits quietly on a network and builds a picture of what it sees"
-HOMEPAGE="http://www.parseerror.com/lanmap"
-SRC_URI="http://www.parseerror.com/${PN}/rev/${PN}-2006-03-07-rev${PV}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-CDEPEND="net-libs/libpcap"
-RDEPEND="
-	${CDEPEND}
-	media-gfx/graphviz
-"
-DEPEND="
-	${CDEPEND}
-	app-arch/unzip
-"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-make.patch
-	rm configure || die
-	eautoreconf
-}
-
-src_compile() {
-	emake CC="$(tc-getCC)"
-}
-
-src_install() {
-	emake prefix="${ED}"/usr install
-	dodoc README.txt TODO.txt
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/lanmap/
@ 2021-10-21 18:25 Jakov Smolić
  0 siblings, 0 replies; 2+ messages in thread
From: Jakov Smolić @ 2021-10-21 18:25 UTC (permalink / raw
  To: gentoo-commits

commit:     9826a380eb37b552dc18dd899b73d43fc8609df3
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 21 17:45:43 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct 21 18:23:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9826a380

net-misc/lanmap: Port to EAPI 8

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 .../{lanmap-81-r2.ebuild => lanmap-81-r3.ebuild}   | 27 +++++++++++-----------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/net-misc/lanmap/lanmap-81-r2.ebuild b/net-misc/lanmap/lanmap-81-r3.ebuild
similarity index 67%
rename from net-misc/lanmap/lanmap-81-r2.ebuild
rename to net-misc/lanmap/lanmap-81-r3.ebuild
index eead125ec3f..d2bb7fd585a 100644
--- a/net-misc/lanmap/lanmap-81-r2.ebuild
+++ b/net-misc/lanmap/lanmap-81-r3.ebuild
@@ -1,40 +1,39 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
-inherit autotools epatch toolchain-funcs
+inherit autotools toolchain-funcs
 
 DESCRIPTION="lanmap sits quietly on a network and builds a picture of what it sees"
 HOMEPAGE="http://www.parseerror.com/lanmap"
 SRC_URI="http://www.parseerror.com/${PN}/rev/${PN}-2006-03-07-rev${PV}.zip"
+S="${WORKDIR}/${PN}"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
-CDEPEND="net-libs/libpcap"
-RDEPEND="
-	${CDEPEND}
+DEPEND="net-libs/libpcap"
+RDEPEND="${DEPEND}
 	media-gfx/graphviz
 "
-DEPEND="
-	${CDEPEND}
-	app-arch/unzip
-"
+BDEPEND="app-arch/unzip"
 
-S=${WORKDIR}/${PN}
+PATCHES=(
+	"${FILESDIR}"/${P}-make.patch
+	"${FILESDIR}"/${P}-printf-format.patch
+)
 
 src_prepare() {
-	epatch \
-		"${FILESDIR}"/${P}-make.patch \
-		"${FILESDIR}"/${P}-printf-format.patch
+	default
 	rm configure || die
 	eautoreconf
 }
 
 src_compile() {
-	emake CC="$(tc-getCC)"
+	tc-export CC
+	emake
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-21 18:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-27 16:28 [gentoo-commits] repo/gentoo:master commit in: net-misc/lanmap/ Aaron Bauman
  -- strict thread matches above, loose matches on Subject: below --
2021-10-21 18:25 Jakov Smolić

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox