SHA256
1
0
forked from pool/packETH

Compare commits

12 Commits

Author SHA256 Message Date
4ed6f4c7f9 Accepting request 1188848 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/1188848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/packETH?expand=0&rev=5
2024-07-22 15:18:12 +00:00
0303db02d9 Accepting request 903076 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/903076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/packETH?expand=0&rev=4
2021-06-29 20:43:36 +00:00
ee3c00e110 Accepting request 893860 from home:susnux:branches:network:utilities
- Update to version 2.1

OBS-URL: https://build.opensuse.org/request/show/893860
OBS-URL: https://build.opensuse.org/package/show/network:utilities/packETH?expand=0&rev=10
2021-06-29 12:07:43 +00:00
eaad5e5c25 Accepting request 818522 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/818522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/packETH?expand=0&rev=3
2020-07-04 23:19:18 +00:00
ec9a6c87bc Accepting request 812719 from home:elvigia:branches:network:utilities
- packeth-ftbs-gcc10.patch: fix build with gcc >= 10

OBS-URL: https://build.opensuse.org/request/show/812719
OBS-URL: https://build.opensuse.org/package/show/network:utilities/packETH?expand=0&rev=8
2020-07-03 09:41:00 +00:00
8726e2f9c7 Accepting request 347055 from network:utilities
1

OBS-URL: https://build.opensuse.org/request/show/347055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/packETH?expand=0&rev=2
2015-12-09 18:49:29 +00:00
Tomáš Chvátal
7e31e8dad1 Accepting request 347053 from home:posophe:branches:network:utilities
update

OBS-URL: https://build.opensuse.org/request/show/347053
OBS-URL: https://build.opensuse.org/package/show/network:utilities/packETH?expand=0&rev=6
2015-12-01 19:02:36 +00:00
2bfb3ee1b4 Accepting request 281371 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/281371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/packETH?expand=0&rev=1
2015-01-15 14:59:03 +00:00
Tomáš Chvátal
e3a84de1aa OBS-URL: https://build.opensuse.org/package/show/network:utilities/packETH?expand=0&rev=4 2015-01-15 07:48:31 +00:00
Tomáš Chvátal
f15987cca5 - Version bump to 1.8:
* Fix the license statements
  * Various fixes without changelog
- Cleanup a bit
- Add patch:
  * packETH-non-void-return.patch

OBS-URL: https://build.opensuse.org/package/show/network:utilities/packETH?expand=0&rev=3
2015-01-14 09:43:19 +00:00
Tomáš Chvátal
7db024fe30 - Version bump to 1.7.3:
* no changelog provided.
- Cleanup the spec to sort things out and use proper url for
  downloads

OBS-URL: https://build.opensuse.org/package/show/network:utilities/packETH?expand=0&rev=2
2014-01-18 18:24:04 +00:00
a01fd06d91 Accepting request 140907 from home:scarabeus_iv
Fancy package for sending various packet over network interfaces.

This is update of mr 140799 where was wrong copy&pasto of homepage.

The license is bit ambiguous as source code say gpl2 and copying says gpl3.
I would stick with gpl3 as the source code says gpl2+ and the copying file was latest added to the repository.

Also the GPL3 is used as license in Gentoo.

OBS-URL: https://build.opensuse.org/request/show/140907
OBS-URL: https://build.opensuse.org/package/show/network:utilities/packETH?expand=0&rev=1
2012-11-12 11:10:24 +00:00
2 changed files with 0 additions and 78 deletions

View File

@@ -1,75 +0,0 @@
From e72195b573a17e68632e5461db72dc2a4d142c94 Mon Sep 17 00:00:00 2001
From: Jeroen Roovers <jer@gentoo.org>
Date: Mon, 3 Feb 2020 20:48:26 +0100
Subject: [PATCH] Fix GCC-10 / CFLAGS=-fno-common
GCC 10 will enable -fno-common by default[0], which causes the linker to
fail like this [1], even for older GCC versions for which it is
explicitly enabled:
```
ld: src/function_send.o:(.bss+0x0): multiple definition of `iftext';
src/callbacks.o:(.bss+0x0): first defined here
```
Fix[2] this by declaring iftext as extern in the header and by defining it
just once.
[0] https://gcc.gnu.org/gcc-10/porting_to.html#common
[1] https://bugs.gentoo.org/708048
[2] Note that src/function.h uses CRLF line endings.
---
src/callbacks.c | 1 -
src/function.c | 2 +-
src/function.h | 2 ++
src/function_send.c | 1 -
4 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/callbacks.c b/src/callbacks.c
index ef02fb1..5efde80 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -65,7 +65,6 @@ extern int number;
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/src/function.c b/src/function.c
index 1d7dfe2..96e4d8f 100644
--- a/src/function.c
+++ b/src/function.c
@@ -66,7 +66,7 @@ int ipv4_start = 0;
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
diff --git a/src/function.h b/src/function.h
index 304caf5..461ce01 100644
--- 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);
diff --git a/src/function_send.c b/src/function_send.c
index ca49639..5d3f1f6 100644
--- a/src/function_send.c
+++ b/src/function_send.c
@@ -55,7 +55,6 @@ extern long li_last_packets_sent;
extern long li_packets_sent_lastsec;
extern long sentstream[10];
extern long sendtime;
-char iftext[20];
struct params {
long long del;

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1783bac200b861ef40310c9392803a971f6026cc7b5296eefb9ee60824797d77
size 458750