public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-libs/netwib/
@ 2021-11-29 19:49 Jakov Smolić
  0 siblings, 0 replies; 3+ messages in thread
From: Jakov Smolić @ 2021-11-29 19:49 UTC (permalink / raw
  To: gentoo-commits

commit:     f07f021300a2e5eb754ca5d1a910de1f057c85b8
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 29 19:42:55 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Nov 29 19:49:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f07f0213

net-libs/netwib: Port to EAPI 8

Closes: https://bugs.gentoo.org/826838
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 net-libs/netwib/netwib-5.39.0.ebuild | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/net-libs/netwib/netwib-5.39.0.ebuild b/net-libs/netwib/netwib-5.39.0.ebuild
index 0a94f4cb4132..c73eb6097f01 100644
--- a/net-libs/netwib/netwib-5.39.0.ebuild
+++ b/net-libs/netwib/netwib-5.39.0.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # NOTE: netwib, netwox and netwag go together, bump all or bump none
 
-EAPI=5
-inherit toolchain-funcs multilib
+EAPI=8
+
+inherit toolchain-funcs
 
 DESCRIPTION="Library of Ethernet, IP, UDP, TCP, ICMP, ARP and RARP protocols"
 HOMEPAGE="
@@ -13,6 +14,7 @@ HOMEPAGE="
 "
 SRC_URI="mirror://sourceforge/ntwib/${P}-src.tgz
 	doc? ( mirror://sourceforge/ntwib/${P}-doc_html.tgz )"
+S="${WORKDIR}/${P}-src/src"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -25,9 +27,9 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
-S=${WORKDIR}/${P}-src/src
-
 src_prepare() {
+	default
+
 	sed -i \
 		-e 's:/man$:/share/man:g' \
 		-e "s:/lib:/$(get_libdir):" \
@@ -47,12 +49,12 @@ src_install() {
 	default
 	dodoc ../README.TXT
 	if use doc; then
-		mkdir "${D}"/usr/share/doc/${PF}/html
+		mkdir "${ED}"/usr/share/doc/${PF}/html || die
 		mv "${WORKDIR}"/${P}-doc_html/{index.html,${PN}} \
-			"${D}"/usr/share/doc/${PF}/html
+			"${ED}"/usr/share/doc/${PF}/html || die
 	fi
 
-	cd "${S}"/..
+	cd "${S}"/.. || die
 	dodoc \
 		doc/{changelog.txt,credits.txt,integration.txt} \
 		doc/{problemreport.txt,problemusageunix.txt,todo.txt}


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

* [gentoo-commits] repo/gentoo:master commit in: net-libs/netwib/
@ 2025-08-05 20:01 Eli Schwartz
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Schwartz @ 2025-08-05 20:01 UTC (permalink / raw
  To: gentoo-commits

commit:     956f65d78d5fb3468a3cf31b19e7f08e4f9afb34
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  5 02:43:22 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug  5 19:53:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956f65d7

net-libs/netwib: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Does feel a bit silly since the package has no outputs other than this
static lib, basically. There's nothing to benefit from lto at all. I was
convinced by Sam to *not* use filter-lto instead, because filter-lto
will corrupt grep if used for things that aren't actually *broken*.

Closes: https://bugs.gentoo.org/958462
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 net-libs/netwib/netwib-5.39.0-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-libs/netwib/netwib-5.39.0-r1.ebuild b/net-libs/netwib/netwib-5.39.0-r1.ebuild
index 00c9aa0e1237..4535f6c5c12f 100644
--- a/net-libs/netwib/netwib-5.39.0-r1.ebuild
+++ b/net-libs/netwib/netwib-5.39.0-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # NOTE: netwib, netwox and netwag go together, bump all or bump none
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit dot-a toolchain-funcs
 
 DESCRIPTION="Library of Ethernet, IP, UDP, TCP, ICMP, ARP and RARP protocols"
 HOMEPAGE="
@@ -37,12 +37,15 @@ src_configure() {
 	tc-export AR CC RANLIB
 	sed -e "s:/lib:/$(get_libdir):" \
 		-i config.dat || die
+	# the only package output is static libs
+	lto-guarantee-fat
 
 	sh genemake || die
 }
 
 src_install() {
 	default
+	strip-lto-bytecode
 
 	dodoc \
 		../README.TXT \


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

* [gentoo-commits] repo/gentoo:master commit in: net-libs/netwib/
@ 2025-08-05 20:01 Eli Schwartz
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Schwartz @ 2025-08-05 20:01 UTC (permalink / raw
  To: gentoo-commits

commit:     b8fd0381ab5c8a98d5fc99219f72940e08ee5126
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  5 02:51:51 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug  5 19:53:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8fd0381

net-libs/netwib: update HOMEPAGE for https, drop missing site

The non-sourceforge site is an informational site about casinos, and
back in 2019-03 switched from the netwib homepage to a doman name
reseller. Before then it didn't have much info anyway.

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 net-libs/netwib/netwib-5.39.0-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-libs/netwib/netwib-5.39.0-r1.ebuild b/net-libs/netwib/netwib-5.39.0-r1.ebuild
index 4535f6c5c12f..53d3460979bf 100644
--- a/net-libs/netwib/netwib-5.39.0-r1.ebuild
+++ b/net-libs/netwib/netwib-5.39.0-r1.ebuild
@@ -9,8 +9,7 @@ inherit dot-a toolchain-funcs
 
 DESCRIPTION="Library of Ethernet, IP, UDP, TCP, ICMP, ARP and RARP protocols"
 HOMEPAGE="
-	http://www.laurentconstantin.com/en/netw/netwib/
-	http://ntwib.sourceforge.net/
+	https://ntwib.sourceforge.net/
 "
 SRC_URI="
 	https://downloads.sourceforge.net/ntwib/${P}-src.tgz


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

end of thread, other threads:[~2025-08-05 20:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-29 19:49 [gentoo-commits] repo/gentoo:master commit in: net-libs/netwib/ Jakov Smolić
  -- strict thread matches above, loose matches on Subject: below --
2025-08-05 20:01 Eli Schwartz
2025-08-05 20:01 Eli Schwartz

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