summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Rodolfo Piske <angusyoung@gentoo.org>2005-01-26 19:51:06 +0000
committerOtavio Rodolfo Piske <angusyoung@gentoo.org>2005-01-26 19:51:06 +0000
commit781218933b13c5990aa6cf8ebd2378361fa0bb52 (patch)
treed35cb5c81892e878299900f0a9c8a14fcc83d8c8 /net-analyzer/flow-tools/files
parentVersion bump. (diff)
downloadgentoo-2-781218933b13c5990aa6cf8ebd2378361fa0bb52.tar.gz
gentoo-2-781218933b13c5990aa6cf8ebd2378361fa0bb52.tar.bz2
gentoo-2-781218933b13c5990aa6cf8ebd2378361fa0bb52.zip
Version bump. Closes bug #50926"
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-analyzer/flow-tools/files')
-rw-r--r--net-analyzer/flow-tools/files/digest-flow-tools-0.671
-rw-r--r--net-analyzer/flow-tools/files/flow-tools-0.67-memleak.patch15
-rw-r--r--net-analyzer/flow-tools/files/flow-tools-0.67-nodebug.patch34
3 files changed, 50 insertions, 0 deletions
diff --git a/net-analyzer/flow-tools/files/digest-flow-tools-0.67 b/net-analyzer/flow-tools/files/digest-flow-tools-0.67
new file mode 100644
index 000000000000..34f12fdc230a
--- /dev/null
+++ b/net-analyzer/flow-tools/files/digest-flow-tools-0.67
@@ -0,0 +1 @@
+MD5 0ee0a2830effa554d1925236aad6b4fe flow-tools-0.67.tar.gz 983667
diff --git a/net-analyzer/flow-tools/files/flow-tools-0.67-memleak.patch b/net-analyzer/flow-tools/files/flow-tools-0.67-memleak.patch
new file mode 100644
index 000000000000..6f1a0c482b7a
--- /dev/null
+++ b/net-analyzer/flow-tools/files/flow-tools-0.67-memleak.patch
@@ -0,0 +1,15 @@
+--- flow-export.c~ 2004-05-20 10:12:36.000000000 +0400
++++ flow-export.c 2004-05-20 10:49:45.000000000 +0400
+@@ -948,10 +948,12 @@ int format5(struct ftio *ftio, struct op
+
+ res = PQexec(conn, query);
+ if (!res || PQresultStatus(res) != PGRES_COMMAND_OK) {
+ PQclear(res);
+ fterr_errx(1,"PQexec(): %s\n", PQerrorMessage(conn));
++ } else if (res) {
++ PQclear(res);
+ }
+
+ }
+
+ ++opt->records;
diff --git a/net-analyzer/flow-tools/files/flow-tools-0.67-nodebug.patch b/net-analyzer/flow-tools/files/flow-tools-0.67-nodebug.patch
new file mode 100644
index 000000000000..e3c2b9255481
--- /dev/null
+++ b/net-analyzer/flow-tools/files/flow-tools-0.67-nodebug.patch
@@ -0,0 +1,34 @@
+--- flow-export.c.orig 2003-12-04 08:55:31.000000000 +0300
++++ flow-export.c 2004-05-13 13:00:09.000000000 +0400
+@@ -756,13 +756,14 @@ int format3(struct ftio *ftio, struct op
+ strcat (query, fields);
+ strcat (query, ") VALUES (");
+ strcat (query, values);
+ strcat (query, ")");
+
+- if (debug)
++/* if (debug)
+ fprintf(stderr, "field=%s\n val=%s\n query=%s\n", fields, values,
+ query);
++*/
+
+ if (mysql_real_query(&mysql, query, strlen(query)) != 0)
+ fterr_warnx("mysql_real_query(): %s", mysql_error(&mysql));
+
+ }
+@@ -927,13 +928,14 @@ int format5(struct ftio *ftio, struct op
+ strcat (query, fields);
+ strcat (query, ") VALUES (");
+ strcat (query, values);
+ strcat (query, ")");
+
+- if (debug)
++/* if (debug)
+ fprintf(stderr, "field=%s\n val=%s\n query=%s\n", fields, values,
+ query);
++*/
+
+ res = PQexec(conn, query);
+ if (!res || PQresultStatus(res) != PGRES_COMMAND_OK) {
+ PQclear(res);
+ fterr_errx(1,"PQexec(): %s\n", PQerrorMessage(conn));