From 90055aae2aee81d8b273c0697d90245dd9241339 Mon Sep 17 00:00:00 2001 From: krion Date: Tue, 15 Jun 2004 07:31:50 +0000 Subject: Update to version 0.5 PR: ports/67949 Submitted by: maintainer --- net/pfflowd/Makefile | 2 +- net/pfflowd/distinfo | 4 ++-- net/pfflowd/files/patch-pfflowd.c | 22 ++++++++++++++++------ 3 files changed, 19 insertions(+), 9 deletions(-) (limited to 'net') 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 #include #include @@ -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); -- cgit