public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/packETH/files/, net-misc/packETH/
@ 2017-05-18  8:36 Jeroen Roovers
  0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers @ 2017-05-18  8:36 UTC (permalink / raw
  To: gentoo-commits

commit:     6f1373c81177c07cd7869151450d417cfe36e799
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 08:35:24 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu May 18 08:35:24 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f1373c8

net-misc/packETH: Version bump (bug #618714 by David Hallas).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-misc/packETH/Manifest                          |  1 +
 .../files/packETH-1.8.1-libs-and-flags.patch       | 15 ++++++++++
 net-misc/packETH/packETH-1.8.1.ebuild              | 34 ++++++++++++++++++++++
 3 files changed, 50 insertions(+)

diff --git a/net-misc/packETH/Manifest b/net-misc/packETH/Manifest
index 3101b8025bc..80712b4350d 100644
--- a/net-misc/packETH/Manifest
+++ b/net-misc/packETH/Manifest
@@ -1,3 +1,4 @@
 DIST packETH-1.7.2.tar.bz2 403655 SHA256 3bccfcc2fad3c68ae1489f73944421f438635c152c43b968dd0c20899351207e SHA512 110f66ea130a20491648df603bf83f54bd216c55f71bfa19e8e5d7c77fdc616a731cc5d540dd9b5c5ac6e762956bf4cff08d75d3b848a3714011162079a3ca78 WHIRLPOOL da05c1a2de0cd551c2268124b6a41eb06e4b8c83a10d5a1a38c21cab082a53638338955211e680e7920dca3f4f1c5643701f10e1db7c0661dfec7f8e284d0842
 DIST packETH-1.7.3.tar.gz 395666 SHA256 47c37918abc6d507aa4599e92ccd913d07cf8d73c44f247b661a1891188c29e6 SHA512 349fd579bbbbbbbe2ca96374c8083ecf047a1c5f51626341bd7f98b4c8a29b74342311e45950a3f2628ba53dba250135c3802556b6aa5c49181e72313a7256d5 WHIRLPOOL 8342cfd373217b400c9f1f59020dfcb4ad9ad3fc34a71d7080847242baeeefa1a77562ad25878c0634956d6a5e7fc76299042d7d18b98f6ab1d1b724ab216a55
+DIST packETH-1.8.1.tar.bz2 321624 SHA256 7b5590779bc5324cfb5d61095642d3820bf915565842c706a0ce70395a14abda SHA512 caca26d3a0e9a175cdcaccc21f8d0038fd4c3dc0939b52ae6e16109d0e42b882b4de95524d35bfe7bafc131203ba23aac5f3baf825b2c55ab18022edadb04a4d WHIRLPOOL c6fbdf38b8c7d9385251bf112d23658299b256eca34e1c0180e737ecb7a3f520f65e3d3ea1cf05b9398f67e766f411c5d413fbce9adc5bf998570059df0a34e8
 DIST packETH-1.8.tar.bz 305580 SHA256 0b9333640bf7c0f31190c6fa348224864bc4603519a441438085177ae4d1116e SHA512 37df839186b7982a34f328256dcc23e100f28cf071586b2b55204c5c6b6e8a3fd3803e230d4e9bc6492f51f45bf17d1ea4716043914f649320f2d37f3280cf52 WHIRLPOOL 56914c1fa7aca1aad1e45743dbc6f09902e0e2636d2c852c8a3d4c2496e34a051f7a8b4b2928d81a31f89dc4f2a693aa5313f7516071723ebec36035c856e517

diff --git a/net-misc/packETH/files/packETH-1.8.1-libs-and-flags.patch b/net-misc/packETH/files/packETH-1.8.1-libs-and-flags.patch
new file mode 100644
index 00000000000..bfe71bf4388
--- /dev/null
+++ b/net-misc/packETH/files/packETH-1.8.1-libs-and-flags.patch
@@ -0,0 +1,15 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -30,11 +30,9 @@
+ DEFS= \
+   -DPKGDATADIR=\"$(pkgdatadir)/\"
+ 
+-LIBS=$(DEPS_LIBS) -lm
++LIBS+=$(DEPS_LIBS) -lm
+ 
+ AM_CPPFLAGS = \
+-  -g \
+-  -O2 \
+   -Wall \
+   -Wmissing-prototypes \
+   -Wmissing-declarations \

diff --git a/net-misc/packETH/packETH-1.8.1.ebuild b/net-misc/packETH/packETH-1.8.1.ebuild
new file mode 100644
index 00000000000..e8027e732b9
--- /dev/null
+++ b/net-misc/packETH/packETH-1.8.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="Packet generator tool for ethernet"
+HOMEPAGE="http://packeth.sourceforge.net/"
+SRC_URI="mirror://sourceforge/packeth/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	dev-libs/glib:2
+	x11-libs/gdk-pixbuf
+	x11-libs/gtk+:2
+"
+DEPEND="
+	virtual/pkgconfig
+	${RDEPEND}
+"
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.8.1-libs-and-flags.patch
+)
+
+DOCS=( AUTHORS CHANGELOG README )
+
+src_prepare() {
+	default
+
+	eautoreconf
+}


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

* [gentoo-commits] repo/gentoo:master commit in: net-misc/packETH/files/, net-misc/packETH/
@ 2020-02-03 19:45 Jeroen Roovers
  0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers @ 2020-02-03 19:45 UTC (permalink / raw
  To: gentoo-commits

commit:     acb39f4c38accb21b574f55d47d2a2d47bce0218
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  3 19:44:37 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Feb  3 19:45:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acb39f4c

net-misc/packETH: Version 2.1

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
Closes: https://bugs.gentoo.org/show_bug.cgi?id=708048
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 net-misc/packETH/Manifest                          |  1 +
 .../packETH/files/packETH-2.1-fno-common.patch     | 42 ++++++++++++++++++++++
 net-misc/packETH/packETH-2.1.ebuild                | 33 +++++++++++++++++
 3 files changed, 76 insertions(+)

diff --git a/net-misc/packETH/Manifest b/net-misc/packETH/Manifest
index 8681bb0e62c..d2d76dd4a51 100644
--- a/net-misc/packETH/Manifest
+++ b/net-misc/packETH/Manifest
@@ -1,3 +1,4 @@
 DIST packETH-1.7.3.tar.gz 395666 BLAKE2B e3ca7e727900a85cf3a8fa1e88b2763cecb6d284342e123932f5d19ae1c324d93045372386026940e4b1eeefa71ee52b380a5aab5eeab1aab70cf749a8626bf4 SHA512 349fd579bbbbbbbe2ca96374c8083ecf047a1c5f51626341bd7f98b4c8a29b74342311e45950a3f2628ba53dba250135c3802556b6aa5c49181e72313a7256d5
 DIST packETH-1.8.1.tar.bz2 321624 BLAKE2B 3360240cde8c3dea41ea0e226cd648dc4599b5e838281a3d6b731c6d095a1d0db32373fd20096a16fd04390cc5bed11e94d05789b9ad7c97a79d2df6c0e3fcc2 SHA512 caca26d3a0e9a175cdcaccc21f8d0038fd4c3dc0939b52ae6e16109d0e42b882b4de95524d35bfe7bafc131203ba23aac5f3baf825b2c55ab18022edadb04a4d
 DIST packETH-1.9.tar.bz2 450837 BLAKE2B 38eee3092be49ffffe7af23c30059d723e566d572c6a8dda6af5b44e8bc5b3c17d76cdccbdb4b4664ac245e1e7a41eb43e49eafc09a7e56b3f9d1ded93ba9239 SHA512 f322130a5981412f109555c52f9ae0b1c92e4f2a4c9a0ec2a62abeef368ade1ef08d5152724a6351fd626ef1dee4b5b98a61b250efd2391e4d61976d4ae4c50d
+DIST packETH-2.1.tar.gz 458750 BLAKE2B c08096e0781fc0174922d2eece31fa5e789ccfd7745eac0f16fbd515c6b5f72c7b9f7575fd215a3a1d0b69d6ae1f08427e5d145abbc83b9cbfeb6c6657d28b35 SHA512 55be4a2eb517c1d040664ea1a16d59dab20b06edbbd073cbf709deb4dfcec8d8eb12b88dfbd578f9bdb0ca614036ac4bbb00be6f865b774da2aa62ce8d3d767e

diff --git a/net-misc/packETH/files/packETH-2.1-fno-common.patch b/net-misc/packETH/files/packETH-2.1-fno-common.patch
new file mode 100644
index 00000000000..1f34c53d6b2
--- /dev/null
+++ b/net-misc/packETH/files/packETH-2.1-fno-common.patch
@@ -0,0 +1,42 @@
+--- a/src/function.c
++++ b/src/function.c
+@@ -66,7 +66,7 @@
+ int ipv6_start = 0;
+ int eth_start = 0;
+ gboolean stop_flag = 0;
+-extern char iftext[20];
++char iftext[20];
+ static unsigned long crc32_table[256];
+ int crc32_table_init = 0;
+ int ip_proto_used = 0; // 0 - none, 4 - ipv4, 6- IPv6, 806 - ARP
+--- a/src/function.h
++++ b/src/function.h
+@@ -22,6 +22,8 @@
+ 
+ #include <gtk/gtk.h>
+ 
++extern char iftext[20];
++
+ signed int char2x(char *p);
+ char c4(int value);
+ guint32 get_checksum32(int start, int stop);	
+--- a/src/function_send.c
++++ b/src/function_send.c
+@@ -55,7 +55,6 @@
+ extern long li_packets_sent_lastsec;
+ extern long sentstream[10];
+ extern long sendtime;
+-char iftext[20];
+ 
+ struct params  {
+ 	long long del;
+--- a/src/callbacks.c
++++ b/src/callbacks.c
+@@ -65,7 +65,6 @@
+ extern int stop_flag;
+ extern long desired_bw;
+ gint row_number;/* this is because i cant get the selected row number*/
+-gchar iftext[20];
+ gchar address_filename[100] = "addresslist";
+ static GtkWidget *entry_field;
+ static GtkWidget *entry_field_ip;

diff --git a/net-misc/packETH/packETH-2.1.ebuild b/net-misc/packETH/packETH-2.1.ebuild
new file mode 100644
index 00000000000..be593baac9e
--- /dev/null
+++ b/net-misc/packETH/packETH-2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+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"
+
+RDEPEND="
+	dev-libs/glib:2
+	x11-libs/gdk-pixbuf
+	x11-libs/gtk+:2
+"
+DEPEND="
+	virtual/pkgconfig
+	${RDEPEND}
+"
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.8.1-libs-and-flags.patch
+	"${FILESDIR}"/${PN}-2.1-fno-common.patch
+)
+DOCS=( AUTHORS CHANGELOG README )
+
+src_prepare() {
+	default
+	eautoreconf
+}


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

end of thread, other threads:[~2020-02-03 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-18  8:36 [gentoo-commits] repo/gentoo:master commit in: net-misc/packETH/files/, net-misc/packETH/ Jeroen Roovers
  -- strict thread matches above, loose matches on Subject: below --
2020-02-03 19:45 Jeroen Roovers

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