pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/tcpdstat
Module Name: pkgsrc
Committed By: nia
Date: Sat Jun 20 10:19:39 UTC 2026
Modified Files:
pkgsrc/net/tcpdstat: distinfo
pkgsrc/net/tcpdstat/patches: patch-ip_flow.c
Added Files:
pkgsrc/net/tcpdstat/patches: patch-net__read.c patch-stat.c
Log Message:
tcpdstat: Fix implicit string function declarations.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/net/tcpdstat/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/tcpdstat/patches/patch-ip_flow.c
cvs rdiff -u -r0 -r1.1 pkgsrc/net/tcpdstat/patches/patch-net__read.c \
pkgsrc/net/tcpdstat/patches/patch-stat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/tcpdstat/distinfo
diff -u pkgsrc/net/tcpdstat/distinfo:1.8 pkgsrc/net/tcpdstat/distinfo:1.9
--- pkgsrc/net/tcpdstat/distinfo:1.8 Tue Oct 26 11:07:00 2021
+++ pkgsrc/net/tcpdstat/distinfo Sat Jun 20 10:19:39 2026
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:07:00 nia Exp $
+$NetBSD: distinfo,v 1.9 2026/06/20 10:19:39 nia Exp $
BLAKE2s (tcpd-tools-0.8.tar.gz) = 7fd76598ecaf1b2cadfca4d30473d5807cd7f7268c6617c652d3bac396a6ced3
SHA512 (tcpd-tools-0.8.tar.gz) = 2fef3b9fae296a938ea4b4aa73833902ece7c08cab614587625ef0ca4d19071a131c4b4bb9283f7de0a1525d6809ffe01ffd61f382312d4f96b81a3c8bc95870
Size (tcpd-tools-0.8.tar.gz) = 468856 bytes
SHA1 (patch-Makefile) = b77ceb25ed320a221ce3a8fd3b0ccc64d35b4b25
SHA1 (patch-aa) = 1d4eb35cc8231321325e40b5bc265eaa0e78ff0f
-SHA1 (patch-ip_flow.c) = a1b35b10b055e6da0a4e12b6226a1fa6b06c1154
+SHA1 (patch-ip_flow.c) = 452828ad8db8b0618f6c10fb656967266db20554
+SHA1 (patch-net__read.c) = 1a584f8866ff320973c95310cd6a97305d54e829
+SHA1 (patch-stat.c) = f1effa18ff70b2460b48b848aa16fefb9015299a
Index: pkgsrc/net/tcpdstat/patches/patch-ip_flow.c
diff -u pkgsrc/net/tcpdstat/patches/patch-ip_flow.c:1.1 pkgsrc/net/tcpdstat/patches/patch-ip_flow.c:1.2
--- pkgsrc/net/tcpdstat/patches/patch-ip_flow.c:1.1 Wed Mar 7 18:27:30 2012
+++ pkgsrc/net/tcpdstat/patches/patch-ip_flow.c Sat Jun 20 10:19:39 2026
@@ -1,8 +1,16 @@
-$NetBSD: patch-ip_flow.c,v 1.1 2012/03/07 18:27:30 hans Exp $
+$NetBSD: patch-ip_flow.c,v 1.2 2026/06/20 10:19:39 nia Exp $
---- ip_flow.c.orig 2000-06-30 13:16:26.000000000 +0200
-+++ ip_flow.c 2012-03-07 19:03:35.308708989 +0100
-@@ -66,14 +66,14 @@ struct flow_entry {
+--- ip_flow.c.orig 2000-06-30 11:16:26.000000000 +0000
++++ ip_flow.c
+@@ -37,6 +37,7 @@
+ #endif
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <limits.h>
+ #include <math.h>
+@@ -66,14 +67,14 @@ struct flow_entry {
struct flow f_flow;
int f_packets;
@@ -19,7 +27,7 @@ $NetBSD: patch-ip_flow.c,v 1.1 2012/03/0
static __inline int ip_hash4 __P((struct in_addr *, struct in_addr *));
#ifdef INET6
-@@ -229,7 +229,7 @@ void ipflow_show(void)
+@@ -229,7 +230,7 @@ void ipflow_show(void)
*/
for (j = 0; j < NTOP; j++) {
if (big_flows[j] == NULL ||
@@ -28,7 +36,7 @@ $NetBSD: patch-ip_flow.c,v 1.1 2012/03/0
/* insert the entry */
for (k = NTOP-1; k > j; k--)
big_flows[k] = big_flows[k-1];
-@@ -312,7 +312,7 @@ struct addr_entry {
+@@ -312,7 +313,7 @@ struct addr_entry {
#endif
} a_un;
int addr_packets;
@@ -37,7 +45,7 @@ $NetBSD: patch-ip_flow.c,v 1.1 2012/03/0
};
#define addr_ip a_un.ua_ip
-@@ -324,18 +324,18 @@ struct addr_entry {
+@@ -324,18 +325,18 @@ static int total_addr = 0;
static LIST_HEAD(addr_head, addr_entry) addr_hash[FLOW_HASHSIZE];
static int total_addr = 0;
Added files:
Index: pkgsrc/net/tcpdstat/patches/patch-net__read.c
diff -u /dev/null pkgsrc/net/tcpdstat/patches/patch-net__read.c:1.1
--- /dev/null Sat Jun 20 10:19:39 2026
+++ pkgsrc/net/tcpdstat/patches/patch-net__read.c Sat Jun 20 10:19:39 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-net__read.c,v 1.1 2026/06/20 10:19:39 nia Exp $
+
+Need to include <strings.h> for bcopy(3).
+
+--- net_read.c.orig 2026-06-20 10:16:39.238942032 +0000
++++ net_read.c
+@@ -74,6 +74,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <strings.h>
+ #include <err.h>
+
+ #include <pcap.h>
Index: pkgsrc/net/tcpdstat/patches/patch-stat.c
diff -u /dev/null pkgsrc/net/tcpdstat/patches/patch-stat.c:1.1
--- /dev/null Sat Jun 20 10:19:39 2026
+++ pkgsrc/net/tcpdstat/patches/patch-stat.c Sat Jun 20 10:19:39 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-stat.c,v 1.1 2026/06/20 10:19:39 nia Exp $
+
+Need to include <string.h> for strcmp(3).
+
+--- stat.c.orig 2026-06-20 10:16:27.448417486 +0000
++++ stat.c
+@@ -37,6 +37,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <signal.h>
+ #include <math.h>
Home |
Main Index |
Thread Index |
Old Index