summaryrefslogtreecommitdiff
path: root/net/pfflowd
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-06-15 07:31:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-06-15 07:31:50 +0000
commit404726b9dd1e2a8298eb88820bc47322020c3bc5 (patch)
tree7d06516106daa8558de7270493838422523b5826 /net/pfflowd
parentUpdate to 0.95 (diff)
Update to version 0.5
PR: ports/67949 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=111523
Diffstat (limited to 'net/pfflowd')
-rw-r--r--net/pfflowd/Makefile2
-rw-r--r--net/pfflowd/distinfo4
-rw-r--r--net/pfflowd/files/patch-pfflowd.c22
3 files changed, 19 insertions, 9 deletions
diff --git a/net/pfflowd/Makefile b/net/pfflowd/Makefile
index 723bd5aedec1..0bc0d152ae62 100644
--- a/net/pfflowd/Makefile
+++ b/net/pfflowd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pfflowd
-PORTVERSION= 0.4
+PORTVERSION= 0.5
CATEGORIES= net
MASTER_SITES= http://www.mindrot.org/files/pfflowd/
diff --git a/net/pfflowd/distinfo b/net/pfflowd/distinfo
index 454db2509cbd..c1450d0110dc 100644
--- a/net/pfflowd/distinfo
+++ b/net/pfflowd/distinfo
@@ -1,2 +1,2 @@
-MD5 (pfflowd-0.4.tar.gz) = 5aef03a6df6286c24aae1490612d86fe
-SIZE (pfflowd-0.4.tar.gz) = 11199
+MD5 (pfflowd-0.5.tar.gz) = d25ea182952c6da381e81be05a81475f
+SIZE (pfflowd-0.5.tar.gz) = 12001
diff --git a/net/pfflowd/files/patch-pfflowd.c b/net/pfflowd/files/patch-pfflowd.c
index 273c0b108a56..4c91ffa9ec4b 100644
--- a/net/pfflowd/files/patch-pfflowd.c
+++ b/net/pfflowd/files/patch-pfflowd.c
@@ -1,6 +1,6 @@
---- pfflowd.c Wed Feb 25 16:16:35 2004
-+++ pfflowd.c Wed Feb 25 16:22:57 2004
-@@ -49,7 +49,11 @@
+--- pfflowd.c Thu May 6 16:06:45 2004
++++ pfflowd.c Tue Jun 15 09:40:46 2004
+@@ -43,7 +43,11 @@
#include <syslog.h>
#include <time.h>
#include <unistd.h>
@@ -11,8 +11,8 @@
+#endif
#define PROGNAME "pfflowd"
- #define PROGVER "0.3"
-@@ -185,6 +189,9 @@
+ #define PROGVER "0.5"
+@@ -189,6 +193,9 @@
parse_hostport(const char *s, struct sockaddr_in *addr)
{
char *host, *port;
@@ -22,7 +22,7 @@
if ((host = strdup(s)) == NULL) {
fprintf(stderr, "Out of memory\n");
-@@ -197,12 +204,22 @@
+@@ -201,12 +208,22 @@
}
*(port - 1) = '\0';
addr->sin_family = AF_INET;
@@ -45,3 +45,13 @@
addr->sin_port = htons(addr->sin_port);
if (inet_aton(host, &addr->sin_addr) == 0) {
fprintf(stderr, "Invalid -n host.\n");
+@@ -425,7 +442,9 @@
+ strlcat(dst_s, pbuf, sizeof(dst_s));
+ }
+
++#ifndef OLD_PFSYNC
+ syslog(LOG_DEBUG, "IFACE %s\n", st->ifname);
++#endif
+ syslog(LOG_DEBUG, "GWY %s\n", rt_s);
+ syslog(LOG_DEBUG, "FLOW proto %d direction %d",
+ st->proto, st->direction);