[gentoo-commits] repo/gentoo:master commit in: net-misc/ethercard-diag/

2022-12-24 Thread Sam James
commit: 4c08de68081e422694cc12c1adb0a4f5092289b6
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 24 12:48:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 24 12:48:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c08de68

net-misc/ethercard-diag: EAPI 8

Closes: https://bugs.gentoo.org/861614
Signed-off-by: Sam James  gentoo.org>

 ...0321.1g-r1.ebuild => ethercard-diag-20050321.1g-r2.ebuild} | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild 
b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r2.ebuild
similarity index 90%
rename from net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
rename to net-misc/ethercard-diag/ethercard-diag-20050321.1g-r2.ebuild
index d58d982a7f4c..892adaedf6f7 100644
--- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
+++ b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Low level mii diagnostic tools including mii-diag and etherwake"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
@@ -12,22 +12,27 @@ SRC_URI="mirror://gentoo/${P}.tar.lzma"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 RDEPEND="!sys-apps/nictools"
 
 src_prepare() {
default
+
# Since the binary is `ether-wake`, make sure the man page is
# `man ether-wake` and not `man etherwake`. #439504
sed -i \
-e 's/ETHERWAKE/ETHER-WAKE/' \
-e 's/etherwake/ether-wake/' \
pub/diag/{etherwake.8,Makefile} patches/* || die
+
mv pub/diag/ether{,-}wake.8 || die
 }
 
 src_compile() {
tc-export CC AR
+
+   # bug #861614
+   filter-lto
+
default
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/ethercard-diag/

2022-04-13 Thread Joonas Niilola
commit: d300aa2dc9e642d6954bc56e29bfa6b41d4d0a2f
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Apr 13 14:25:12 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Apr 14 03:46:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d300aa2d

net-misc/ethercard-diag: update DESCRIPTION

Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild 
b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
index 4c7c7138bffa..d58d982a7f4c 100644
--- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
+++ b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
 inherit toolchain-funcs
 
-DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake 
(merge of netdiag/isa-diag)"
+DESCRIPTION="Low level mii diagnostic tools including mii-diag and etherwake"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
 SRC_URI="mirror://gentoo/${P}.tar.lzma"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/ethercard-diag/

2021-05-14 Thread David Seifert
commit: 218f8f06439cb5315952033f870d35c3d0131993
Author: David Seifert  gentoo  org>
AuthorDate: Fri May 14 22:12:40 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri May 14 22:12:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218f8f06

net-misc/ethercard-diag: drop 20050321.1g

Signed-off-by: David Seifert  gentoo.org>

 .../ethercard-diag-20050321.1g.ebuild  | 28 --
 1 file changed, 28 deletions(-)

diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild 
b/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
deleted file mode 100644
index f8424e16c1d..000
--- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit toolchain-funcs
-
-DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake 
(merge of netdiag/isa-diag)"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
-SRC_URI="mirror://gentoo/${P}.tar.lzma"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="!sys-apps/nictools"
-
-src_compile() {
-   tc-export CC AR
-   default
-}
-
-src_install() {
-   default
-   dodir /sbin
-   mv "${ED%/}"/usr/sbin/{mii-diag,ether-wake} "${ED%/}"/sbin/ || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/ethercard-diag/

2017-01-03 Thread Patrice Clement
commit: 7c2d040e4162aa8f93a699e0e8cb9494344314b3
Author: Wim Muskee  gmail  com>
AuthorDate: Thu Dec 29 18:49:34 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Jan  3 23:10:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c2d040e

net-misc/ethercard-diag: EAPI 6 bump.

Closes: https://github.com/gentoo/gentoo/pull/3271

 net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild | 5 +++--
 net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild| 8 +---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild 
b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
index 91437c7..4debc7d 100644
--- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
+++ b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI="6"
 
 inherit toolchain-funcs
 
@@ -18,6 +18,7 @@ IUSE=""
 RDEPEND="!sys-apps/nictools"
 
 src_prepare() {
+   default
# Since the binary is `ether-wake`, make sure the man page is
# `man ether-wake` and not `man etherwake`. #439504
sed -i \
@@ -29,5 +30,5 @@ src_prepare() {
 
 src_compile() {
tc-export CC AR
-   emake
+   default
 }

diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild 
b/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
index c9013e3..06a4304 100644
--- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
+++ b/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI="6"
+
 inherit toolchain-funcs
 
 DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake 
(merge of netdiag/isa-diag)"
@@ -17,11 +19,11 @@ DEPEND="!sys-apps/nictools"
 
 src_compile() {
tc-export CC AR
-   emake || die
+   default
 }
 
 src_install() {
-   emake DESTDIR="${D}" install || die
+   default
dodir /sbin
-   mv "${D}"/usr/sbin/{mii-diag,ether-wake} "${D}"/sbin/ || die
+   mv "${ED%/}"/usr/sbin/{mii-diag,ether-wake} "${ED%/}"/sbin/ || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/ethercard-diag/

2017-01-03 Thread Patrice Clement
commit: 01174b34b9d6115e9e96752f4f5af2fcda1cafd1
Author: Wim Muskee  gmail  com>
AuthorDate: Thu Dec 29 08:55:38 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Jan  3 23:10:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01174b34

net-misc/ethercard-diag: update HOMEPAGE.

Gentoo-Bug: https://bugs.gentoo.org/552094

Closes: https://github.com/gentoo/gentoo/pull/3271

 net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild | 4 ++--
 net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild| 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild 
b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
index 4456fc3..91437c7 100644
--- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
+++ b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -7,7 +7,7 @@ EAPI="5"
 inherit toolchain-funcs
 
 DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake 
(merge of netdiag/isa-diag)"
-HOMEPAGE="ftp://ftp.scyld.com/pub/diag/ ftp://ftp.scyld.com/pub/isa-diag/;
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
 SRC_URI="mirror://gentoo/${P}.tar.lzma"
 
 LICENSE="GPL-2"

diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild 
b/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
index 3dac836..c9013e3 100644
--- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
+++ b/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 inherit toolchain-funcs
 
 DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake 
(merge of netdiag/isa-diag)"
-HOMEPAGE="ftp://ftp.scyld.com/pub/diag/ ftp://ftp.scyld.com/pub/isa-diag/;
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
 SRC_URI="mirror://gentoo/${P}.tar.lzma"
 
 LICENSE="GPL-2"