public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/packETH/
Date: Mon, 18 Mar 2024 05:31:35 +0000 (UTC)	[thread overview]
Message-ID: <1710739795.4dbbf4273e2da3821f6451b3665d85a0d06ee47a.sam@gentoo> (raw)

commit:     4dbbf4273e2da3821f6451b3665d85a0d06ee47a
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 17 23:56:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 05:29:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dbbf427

net-misc/packETH: add 3.0

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/packETH/Manifest           |  1 +
 net-misc/packETH/packETH-3.0.ebuild | 64 +++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/net-misc/packETH/Manifest b/net-misc/packETH/Manifest
index 8a8e9d5374dd..a25c4d0f12d3 100644
--- a/net-misc/packETH/Manifest
+++ b/net-misc/packETH/Manifest
@@ -1 +1,2 @@
 DIST packETH-2.1.tar.gz 458750 BLAKE2B c08096e0781fc0174922d2eece31fa5e789ccfd7745eac0f16fbd515c6b5f72c7b9f7575fd215a3a1d0b69d6ae1f08427e5d145abbc83b9cbfeb6c6657d28b35 SHA512 55be4a2eb517c1d040664ea1a16d59dab20b06edbbd073cbf709deb4dfcec8d8eb12b88dfbd578f9bdb0ca614036ac4bbb00be6f865b774da2aa62ce8d3d767e
+DIST packETH-3.0.tar.gz 288127 BLAKE2B 5ada3df3ebcfb29ea4b035678899d5271a2c9189513ddd43821f2e264fb31dd8923779c39bdf6066e3cd153c04e4409bdad8fde31f02b01e0dd9650117d6c45a SHA512 5b63483159d7b34c236b797fbdac3526d06fd5e0db34664163b19e643e942ad0919b4eae637047f69f017510e943188219345ff1c6fefa09dcb4023c09501f06

diff --git a/net-misc/packETH/packETH-3.0.ebuild b/net-misc/packETH/packETH-3.0.ebuild
new file mode 100644
index 000000000000..5ac86e17d30c
--- /dev/null
+++ b/net-misc/packETH/packETH-3.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic toolchain-funcs
+
+DESCRIPTION="Packet generator tool for ethernet"
+HOMEPAGE="http://packeth.sourceforge.net/"
+SRC_URI="https://github.com/jemcek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cli +gtk"
+REQUIRED_USE="
+	|| ( cli gtk )
+"
+
+RDEPEND="
+	gtk? (
+		dev-libs/glib:2
+		x11-libs/gdk-pixbuf
+		x11-libs/gtk+:3
+	)
+"
+DEPEND="
+	${RDEPEND}
+	gtk? ( virtual/pkgconfig )
+"
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.8.1-libs-and-flags.patch
+)
+DOCS=( AUTHORS CHANGELOG README )
+
+src_prepare() {
+	default
+	use gtk && eautoreconf
+}
+
+src_configure() {
+	# -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/861695
+	# https://github.com/jemcek/packETH/issues/42
+	filter-lto
+
+	use gtk && default
+}
+
+src_compile() {
+	use gtk && default
+	use cli && emake \
+		CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -C cli
+}
+
+src_install() {
+	use gtk && default
+
+	if use cli; then
+		dobin cli/${PN}cli
+		local i
+		for i in NEWS README TODO; do newdoc cli/${i} ${i}.cli; done
+	fi
+}


             reply	other threads:[~2024-03-18  5:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18  5:31 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-14  4:59 [gentoo-commits] repo/gentoo:master commit in: net-misc/packETH/ Jakov Smolić
2024-11-14  3:17 Sam James
2024-03-18  5:31 Sam James
2024-03-18  5:31 Sam James
2024-03-18  5:31 Sam James
2020-11-29  8:16 Agostino Sarubbo
2020-11-27 16:49 Thomas Deutschmann
2020-02-04  9:21 Jeroen Roovers
2020-02-04  8:53 Jeroen Roovers
2017-12-24 12:31 Jeroen Roovers
2017-12-24 12:31 Jeroen Roovers
2017-05-18  8:36 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1710739795.4dbbf4273e2da3821f6451b3665d85a0d06ee47a.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox