summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-08-08 09:59:09 +0000
committerChristian Heim <phreak@gentoo.org>2006-08-08 09:59:09 +0000
commit1e189cf534b4f8486ba0640428dd7127ad8acc76 (patch)
tree6954d89e6815a19b1fc9278064ec578c0ffdb5bb /net-misc/arpstar/files
parentrc6 is out - include a patch for ssl proxies. (diff)
downloadgentoo-2-1e189cf534b4f8486ba0640428dd7127ad8acc76.tar.gz
gentoo-2-1e189cf534b4f8486ba0640428dd7127ad8acc76.tar.bz2
gentoo-2-1e189cf534b4f8486ba0640428dd7127ad8acc76.zip
Revision bump. Includes a patch to fix #141275 (>2.6.11 breakage). Thanks Barbu Eros Iulian for reporting the issue. Patch by me
(Portage version: 2.1.1_pre4-r4)
Diffstat (limited to 'net-misc/arpstar/files')
-rw-r--r--net-misc/arpstar/files/arpstar-0.5.5-2.6.16.patch38
-rw-r--r--net-misc/arpstar/files/digest-arpstar-0.5.52
-rw-r--r--net-misc/arpstar/files/digest-arpstar-0.5.5-r13
3 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/arpstar/files/arpstar-0.5.5-2.6.16.patch b/net-misc/arpstar/files/arpstar-0.5.5-2.6.16.patch
new file mode 100644
index 000000000000..39a9db37d5ae
--- /dev/null
+++ b/net-misc/arpstar/files/arpstar-0.5.5-2.6.16.patch
@@ -0,0 +1,38 @@
+Index: arpstar-0.5.5/arpstar.c
+===================================================================
+--- arpstar-0.5.5.orig/arpstar.c
++++ arpstar-0.5.5/arpstar.c
+@@ -45,16 +45,17 @@
+ ((unsigned char *)&addr)[4], \
+ ((unsigned char *)&addr)[5]
+
+-static int verbose=0;
+-MODULE_PARM (verbose,"i");
+-static char * trustedmac="000000000000";
+-MODULE_PARM (trustedmac, "s");
+-static int coldrop=1;
+-MODULE_PARM (coldrop,"i");
+-static int heal=1;
+-MODULE_PARM (heal,"i");
+-static char * trustedip="";
+-MODULE_PARM (trustedip,"s");
++static int verbose = 0;
++static int coldrop = 1;
++static int heal = 1;
++static char * trustedmac = "000000000000";
++static char * trustedip = "";
++
++module_param(verbose, int, 0044);
++module_param(trustedmac, charp, 0044);
++module_param(coldrop, int, 0044);
++module_param(heal, int, 0044);
++module_param(trustedip, charp, 0044);
+
+ struct arpsentnode
+ {
+@@ -717,4 +718,5 @@ module_init(arpstar_init);
+ module_exit(arpstar_exit);
+ MODULE_LICENSE("Dual BSD/GPL");
+ MODULE_AUTHOR("WestAnnex");
++MODULE_DESCRIPTION("Kernel module capable of protection against ARP poisoning");
+
diff --git a/net-misc/arpstar/files/digest-arpstar-0.5.5 b/net-misc/arpstar/files/digest-arpstar-0.5.5
index 99a25f3b639f..e0a074a36637 100644
--- a/net-misc/arpstar/files/digest-arpstar-0.5.5
+++ b/net-misc/arpstar/files/digest-arpstar-0.5.5
@@ -1 +1,3 @@
MD5 84d1055f53e28b1224294538fa5b76bb arpstar-0.5.5.tar.gz 6928
+RMD160 a59550e6e79ee9ce74e0027ab0a264f789223625 arpstar-0.5.5.tar.gz 6928
+SHA256 85ec75d3f7f18d78d086bcf83572ee1b3121f91337eea4193bc96bb3039033d3 arpstar-0.5.5.tar.gz 6928
diff --git a/net-misc/arpstar/files/digest-arpstar-0.5.5-r1 b/net-misc/arpstar/files/digest-arpstar-0.5.5-r1
new file mode 100644
index 000000000000..e0a074a36637
--- /dev/null
+++ b/net-misc/arpstar/files/digest-arpstar-0.5.5-r1
@@ -0,0 +1,3 @@
+MD5 84d1055f53e28b1224294538fa5b76bb arpstar-0.5.5.tar.gz 6928
+RMD160 a59550e6e79ee9ce74e0027ab0a264f789223625 arpstar-0.5.5.tar.gz 6928
+SHA256 85ec75d3f7f18d78d086bcf83572ee1b3121f91337eea4193bc96bb3039033d3 arpstar-0.5.5.tar.gz 6928