[gentoo-commits] repo/gentoo:master commit in: net-analyzer/rain/

2020-11-26 Thread Aaron Bauman
commit: 21185df5e3f7b6170da63654ee6734d96ed33804
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Nov 27 00:56:37 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov 27 00:56:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21185df5

net-analyzer/rain: drop old

Signed-off-by: Aaron Bauman  gentoo.org>

 net-analyzer/rain/rain-1.2.9_beta1.ebuild | 28 
 1 file changed, 28 deletions(-)

diff --git a/net-analyzer/rain/rain-1.2.9_beta1.ebuild 
b/net-analyzer/rain/rain-1.2.9_beta1.ebuild
deleted file mode 100644
index 72284beaad7..000
--- a/net-analyzer/rain/rain-1.2.9_beta1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils
-
-MY_P=${P/_/}
-MY_P=${MY_P/-/_}
-DESCRIPTION="powerful tool for testing stability of hardware and software 
utilizing IP protocols"
-HOMEPAGE="http://www.mirrors.wiretapped.net/security/packet-construction/rain/;
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc x86"
-SRC_URI="
-   mirror://ubuntu/pool/universe/r/${PN}/${MY_P}.orig.tar.gz
-   mirror://ubuntu/pool/universe/r/${PN}/${MY_P}-1.diff.gz
-"
-
-S="${WORKDIR}/${MY_P/_/-}"
-
-src_prepare() {
-   epatch "${WORKDIR}"/${MY_P}-1.diff
-   epatch "${FILESDIR}"/${P}-gentoo.patch
-
-   eautoreconf
-}
-
-DOCS=( BUGS CHANGES README TODO )



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/rain/

2020-11-26 Thread Thomas Deutschmann
commit: ae35f5dee5c6c3c44298fcc54615d18bf4ecea8a
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Nov 26 23:53:03 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Nov 26 23:57:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae35f5de

net-analyzer/rain: x86 stable (bug #757036)

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-analyzer/rain/rain-1.2.9_beta1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/rain/rain-1.2.9_beta1-r1.ebuild 
b/net-analyzer/rain/rain-1.2.9_beta1-r1.ebuild
index 84351e1ba87..2021fcdea4e 100644
--- a/net-analyzer/rain/rain-1.2.9_beta1-r1.ebuild
+++ b/net-analyzer/rain/rain-1.2.9_beta1-r1.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="powerful tool for testing stability of utilizing 
IP protocols"
 HOMEPAGE="http://www.mirrors.wiretapped.net/security/packet-construction/rain/;
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~ppc ~sparc x86"
 SRC_URI="
mirror://ubuntu/pool/universe/r/${PN}/${MY_P}.orig.tar.gz
mirror://ubuntu/pool/universe/r/${PN}/${MY_P}-1.diff.gz



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/rain/files/, net-analyzer/rain/

2020-01-31 Thread Jeroen Roovers
commit: 71d53b4138dec0178ad8838b3e89f2ceaf9cba08
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jan 31 14:08:22 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jan 31 14:09:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d53b41

net-analyzer/rain: Fix CFLAGS=-fno-common

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Closes: https://bugs.gentoo.org/show_bug.cgi?id=706874
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../rain/files/rain-1.2.9_beta1-die-on-error.patch |  40 
 .../rain/files/rain-1.2.9_beta1-fno-common.patch   | 111 +
 net-analyzer/rain/rain-1.2.9_beta1-r1.ebuild   |  37 +++
 3 files changed, 188 insertions(+)

diff --git a/net-analyzer/rain/files/rain-1.2.9_beta1-die-on-error.patch 
b/net-analyzer/rain/files/rain-1.2.9_beta1-die-on-error.patch
new file mode 100644
index 000..ac73a0f5390
--- /dev/null
+++ b/net-analyzer/rain/files/rain-1.2.9_beta1-die-on-error.patch
@@ -0,0 +1,40 @@
+--- a/Makefile.in
 b/Makefile.in
+@@ -15,22 +15,22 @@
+ 
+ all:
+   @echo Making all
+-  -$(CC) $(CFLAGS) -c source/rain_command_line.c
+-  -$(CC) $(CFLAGS) -c source/rain_defaults.c
+-  -$(CC) $(CFLAGS) -c source/rain_die.c
+-  -$(CC) $(CFLAGS) -c source/rain_icmp.c
+-  -$(CC) $(CFLAGS) -c source/rain_igmp.c
+-  -$(CC) $(CFLAGS) -c source/rain_inet_common.c
+-  -$(CC) $(CFLAGS) -c source/rain_mem.c
+-  -$(CC) $(CFLAGS) -c source/rain_resolv.c
+-  -$(CC) $(CFLAGS) -c source/rain_services.c
+-  -$(CC) $(CFLAGS) -c source/rain_signal.c
+-  -$(CC) $(CFLAGS) -c source/rain_string.c
+-  -$(CC) $(CFLAGS) -c source/rain_tcp.c
+-  -$(CC) $(CFLAGS) -c source/rain_udp.c
+-  -$(CC) $(CFLAGS) -c source/rain_main.c
++  $(CC) $(CFLAGS) -c source/rain_command_line.c
++  $(CC) $(CFLAGS) -c source/rain_defaults.c
++  $(CC) $(CFLAGS) -c source/rain_die.c
++  $(CC) $(CFLAGS) -c source/rain_icmp.c
++  $(CC) $(CFLAGS) -c source/rain_igmp.c
++  $(CC) $(CFLAGS) -c source/rain_inet_common.c
++  $(CC) $(CFLAGS) -c source/rain_mem.c
++  $(CC) $(CFLAGS) -c source/rain_resolv.c
++  $(CC) $(CFLAGS) -c source/rain_services.c
++  $(CC) $(CFLAGS) -c source/rain_signal.c
++  $(CC) $(CFLAGS) -c source/rain_string.c
++  $(CC) $(CFLAGS) -c source/rain_tcp.c
++  $(CC) $(CFLAGS) -c source/rain_udp.c
++  $(CC) $(CFLAGS) -c source/rain_main.c
+ 
+-  -$(CC) $(CFLAGS) $(LDFLAGS) -o rain rain_command_line.o rain_defaults.o 
rain_die.o rain_icmp.o rain_igmp.o rain_inet_common.o rain_main.o rain_mem.o 
rain_resolv.o rain_services.o rain_signal.o rain_string.o rain_tcp.o rain_udp.o
++  $(CC) $(CFLAGS) $(LDFLAGS) -o rain rain_command_line.o rain_defaults.o 
rain_die.o rain_icmp.o rain_igmp.o rain_inet_common.o rain_main.o rain_mem.o 
rain_resolv.o rain_services.o rain_signal.o rain_string.o rain_tcp.o rain_udp.o
+ 
+   @echo done.
+ 

diff --git a/net-analyzer/rain/files/rain-1.2.9_beta1-fno-common.patch 
b/net-analyzer/rain/files/rain-1.2.9_beta1-fno-common.patch
new file mode 100644
index 000..06eb84fc2e7
--- /dev/null
+++ b/net-analyzer/rain/files/rain-1.2.9_beta1-fno-common.patch
@@ -0,0 +1,111 @@
+--- a/include/rain_inet_common.h
 b/include/rain_inet_common.h
+@@ -368,14 +368,14 @@
+ /* 
+  * global variables 
+  */
+-u_int16_t packetsize;
+-unsigned char  *buffer;   /* For holding packets. Declared globally to 
ensure it is freed when the program exits */
+-time_t  send_start;   /* for storing start and finish time of total 
packets sent */
+-time_t send_finish;
+-unsigned long packets_sent;
+-u_shortverbose;
+-struct in_addr   group;  /* for ICMP gateway and IGMP group addresses */
+-int  sendflags;  /* stores flags for sendto(); Default is 0 */
++extern u_int16_t packetsize;
++extern unsigned char  *buffer;   /* For holding packets. Declared 
globally to ensure it is freed when the program exits */
++extern time_t  send_start;   /* for storing start and finish time of 
total packets sent */
++extern time_t send_finish;
++extern unsigned long packets_sent;
++extern u_shortverbose;
++extern struct in_addr   group;  /* for ICMP gateway and IGMP group 
addresses */
++extern int  sendflags;  /* stores flags for sendto(); Default is 
0 */
+ /*---*/
+ 
+ 
+--- a/source/rain_inet_common.c
 b/source/rain_inet_common.c
+@@ -17,6 +17,18 @@
+  *-*/
+ #include "rain_common.h"
+ 
++/* 
++ * global variables 
++ */
++u_int16_t packetsize;
++unsigned char  *buffer;   /* For holding packets. Declared globally to 
ensure it is freed when the program exits */
++time_t  send_start;   /* for storing start and finish time of total 
packets sent */
++time_t send_finish;
++unsigned long packets_sent;
++u_shortverbose;