public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/vmnet/
@ 2019-11-09 13:18 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2019-11-09 13:18 UTC (permalink / raw
  To: gentoo-commits

commit:     51c12ea83534391ac5c3fb6db3aaf29444beb092
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 13:16:46 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 13:18:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c12ea8

net-misc/vmnet: Bump to EAPI 7

Closes: https://bugs.gentoo.org/697228
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-misc/vmnet/vmnet-0.4.ebuild | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/net-misc/vmnet/vmnet-0.4.ebuild b/net-misc/vmnet/vmnet-0.4.ebuild
index 18c4f842249..b43792b7b47 100644
--- a/net-misc/vmnet/vmnet-0.4.ebuild
+++ b/net-misc/vmnet/vmnet-0.4.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
-inherit eutils flag-o-matic
+inherit flag-o-matic
 
 DESCRIPTION="A simple virtual networking program - SLIP over stdin/out"
 HOMEPAGE="ftp://ftp.xos.nl/pub/linux/vmnet/"
@@ -12,28 +12,28 @@ HOMEPAGE="ftp://ftp.xos.nl/pub/linux/vmnet/"
 # http://ftp.debian.org/debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz
 # We use the debian patch anyway
 SRC_URI="ftp://ftp.xos.nl/pub/linux/${PN}/${P}.tar.gz
-		mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}-1.diff.gz"
+	mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}-1.diff.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc x86"
 IUSE=""
 
-DEPEND="sys-apps/net-tools"
+RDEPEND="sys-apps/net-tools"
+DEPEND=${RDEPEND}
 
-src_unpack() {
-	unpack ${P}.tar.gz
-	epatch "${DISTDIR}"/${P/-/_}-1.diff.gz
-}
+PATCHES=(
+	"${WORKDIR}"/${P/-/_}-1.diff
+)
 
 src_compile() {
 	append-ldflags -Wl,-z,now
-	emake || die "Emake failed"
+	emake
 }
 
 src_install() {
-	dobin ${PN} || die "dobin"
-	fperms 4711 /usr/bin/${PN} || die "fperms"
+	dobin ${PN}
+	fperms 4711 /usr/bin/${PN}
 
 	doman ${PN}.1
 	dodoc README debian/${PN}.sgml


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

* [gentoo-commits] repo/gentoo:master commit in: net-misc/vmnet/
@ 2024-05-09  0:22 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2024-05-09  0:22 UTC (permalink / raw
  To: gentoo-commits

commit:     5f3f405a0c65d7a71724f65fc8151fa47400d6c8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May  9 00:21:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  9 00:21:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f3f405a

net-misc/vmnet: EAPI 8

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/vmnet/vmnet-0.4-r2.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-misc/vmnet/vmnet-0.4-r2.ebuild b/net-misc/vmnet/vmnet-0.4-r2.ebuild
index 543983c15c39..573adbc16276 100644
--- a/net-misc/vmnet/vmnet-0.4-r2.ebuild
+++ b/net-misc/vmnet/vmnet-0.4-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit flag-o-matic toolchain-funcs
 
@@ -11,13 +11,14 @@ HOMEPAGE="ftp://ftp.xos.nl/pub/linux/vmnet/"
 # So this might be better but it's a different filename
 # http://ftp.debian.org/debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz
 # We use the debian patch anyway
-SRC_URI="ftp://ftp.xos.nl/pub/linux/${PN}/${P}.tar.gz
-	mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}-1.diff.gz"
+SRC_URI="
+	ftp://ftp.xos.nl/pub/linux/${PN}/${P}.tar.gz
+	mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}-1.diff.gz
+"
 
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc x86"
-IUSE=""
 
 RDEPEND="sys-apps/net-tools"
 DEPEND="${RDEPEND}"


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

* [gentoo-commits] repo/gentoo:master commit in: net-misc/vmnet/
@ 2024-05-09  0:22 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2024-05-09  0:22 UTC (permalink / raw
  To: gentoo-commits

commit:     e1c11df5ac84e28257a035e277f0c9bdd751ab52
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May  9 00:21:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  9 00:21:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c11df5

net-misc/vmnet: respect CC

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/vmnet/vmnet-0.4-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/vmnet/vmnet-0.4-r2.ebuild b/net-misc/vmnet/vmnet-0.4-r2.ebuild
index 9f2519617783..543983c15c39 100644
--- a/net-misc/vmnet/vmnet-0.4-r2.ebuild
+++ b/net-misc/vmnet/vmnet-0.4-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit flag-o-matic
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="A simple virtual networking program - SLIP over stdin/out"
 HOMEPAGE="ftp://ftp.xos.nl/pub/linux/vmnet/"
@@ -30,7 +30,7 @@ PATCHES=(
 
 src_compile() {
 	append-ldflags -Wl,-z,now
-	emake
+	emake CC="$(tc-getCC)"
 }
 
 src_install() {


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

end of thread, other threads:[~2024-05-09  0:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09  0:22 [gentoo-commits] repo/gentoo:master commit in: net-misc/vmnet/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-05-09  0:22 Sam James
2019-11-09 13:18 Michał Górny

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