summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorcube <cube>2004-01-15 14:10:51 +0000
committercube <cube>2004-01-15 14:10:51 +0000
commit8f510816e902893c8672f13ee8f56f1b388bbad0 (patch)
treec2dce198aef013bbc829432e8ad4ce01b0c761f0 /security
parent397a4401f72bfbb3eef1d7850c0f5c5ee7cdc57e (diff)
downloadpkgsrc-8f510816e902893c8672f13ee8f56f1b388bbad0.tar.gz
No patches are needed for that package, except for -current between Sept.,
16th 2003 and Jan., 6th 2004 when <sys/siginfo.h> included <sys/queue.h> unconditionally. Rework the patches so that they're used only in that case.
Diffstat (limited to 'security')
-rw-r--r--security/fragroute/distinfo6
-rw-r--r--security/fragroute/patches/patch-aa10
-rw-r--r--security/fragroute/patches/patch-ac17
3 files changed, 25 insertions, 8 deletions
diff --git a/security/fragroute/distinfo b/security/fragroute/distinfo
index 819a8bc9de0..9a54e3ee13b 100644
--- a/security/fragroute/distinfo
+++ b/security/fragroute/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/01/08 17:55:15 agc Exp $
+$NetBSD: distinfo,v 1.2 2004/01/15 14:10:51 cube Exp $
SHA1 (fragroute-1.2.tar.gz) = 0e85daf40f4910d56d75e6cdee163305a1cb9004
Size (fragroute-1.2.tar.gz) = 85247 bytes
-SHA1 (patch-aa) = 7cc6a7b7b20cd7e63f1afde0caf89f339537d376
-SHA1 (patch-ab) = 36bb985c8c06fa245c5a489c7158ec780dc9b42a
+SHA1 (patch-aa) = f763eb5f9feeff570b2394ed4091b80c6195e173
+SHA1 (patch-ac) = 644ed8d4652b9e959e96fce47c90c96d77a43134
diff --git a/security/fragroute/patches/patch-aa b/security/fragroute/patches/patch-aa
index c7f2293746d..7c5c08fb99b 100644
--- a/security/fragroute/patches/patch-aa
+++ b/security/fragroute/patches/patch-aa
@@ -1,12 +1,12 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/01/08 17:55:15 agc Exp $
+$NetBSD: patch-aa,v 1.2 2004/01/15 14:10:51 cube Exp $
---- mod.c 2004/01/08 17:33:51 1.1
-+++ mod.c 2004/01/08 17:41:16
-@@ -151,10 +151,19 @@
+--- mod.c.orig 2002-04-08 00:55:20.000000000 +0200
++++ mod.c
+@@ -151,10 +151,19 @@ mod_close(void)
{
struct rule *rule;
-+#ifdef __NetBSD__
++#if defined(FRAGROUTE_SYSTEM_SYS_QUEUE) && defined(__NetBSD__)
+ TAILQ_FOREACH_REVERSE(rule, &rules, head, next) {
+ if (rule->mod->close != NULL)
+ rule->data = rule->mod->close(rule->data);
diff --git a/security/fragroute/patches/patch-ac b/security/fragroute/patches/patch-ac
new file mode 100644
index 00000000000..a56e6db0023
--- /dev/null
+++ b/security/fragroute/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1 2004/01/15 14:10:51 cube Exp $
+
+--- queue.h.orig 2002-04-07 23:12:52.000000000 +0200
++++ queue.h
+@@ -500,4 +500,12 @@ struct { \
+ (elm2)->field.cqe_prev->field.cqe_next = (elm2); \
+ } while (0)
+
++#else
++
++#define FRAGROUTE_SYSTEM_SYS_QUEUE
++
++#ifndef TAILQ_END
++#define TAILQ_END(head) NULL
++#endif
++
+ #endif /* !_SYS_QUEUE_H_ */