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
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')
-rw-r--r--net-misc/arpstar/ChangeLog11
-rw-r--r--net-misc/arpstar/arpstar-0.5.5-r1.ebuild32
-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
-rw-r--r--net-misc/arpstar/metadata.xml2
6 files changed, 85 insertions, 3 deletions
diff --git a/net-misc/arpstar/ChangeLog b/net-misc/arpstar/ChangeLog
index ee4dcc4e5402..94a0fe452cc6 100644
--- a/net-misc/arpstar/ChangeLog
+++ b/net-misc/arpstar/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/arpstar
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/arpstar/ChangeLog,v 1.3 2005/03/06 18:44:20 genstef Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/arpstar/ChangeLog,v 1.4 2006/08/08 09:59:09 phreak Exp $
+
+*arpstar-0.5.5-r1 (08 Aug 2006)
+
+ 08 Aug 2006; Christian Heim <phreak@gentoo.org>
+ +files/arpstar-0.5.5-2.6.16.patch, metadata.xml, +arpstar-0.5.5-r1.ebuild:
+ Revision bump. Includes a patch to fix #141275 (>2.6.11 breakage). Thanks
+ Barbu Eros Iulian for reporting the issue. Patch by me
*arpstar-0.5.5 (06 Mar 2005)
diff --git a/net-misc/arpstar/arpstar-0.5.5-r1.ebuild b/net-misc/arpstar/arpstar-0.5.5-r1.ebuild
new file mode 100644
index 000000000000..9d1337812768
--- /dev/null
+++ b/net-misc/arpstar/arpstar-0.5.5-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/arpstar/arpstar-0.5.5-r1.ebuild,v 1.1 2006/08/08 09:59:09 phreak Exp $
+
+inherit linux-mod
+
+DESCRIPTION="ARPStar kernel module for protection against arp poisoning."
+HOMEPAGE="http://arpstar.sourceforge.net"
+SRC_URI="mirror://sourceforge/arpstar/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+S=${WORKDIR}
+
+MODULE_NAMES="arpstar(net:)"
+BUILD_TARGETS=" "
+BUILD_PARAMS="KDIR=${KV_DIR}"
+CONFIG_CHECK="NETFILTER"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-2.6.16.patch
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc arpstar.README
+}
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
diff --git a/net-misc/arpstar/metadata.xml b/net-misc/arpstar/metadata.xml
index c2fba1810b9a..31345e821ed2 100644
--- a/net-misc/arpstar/metadata.xml
+++ b/net-misc/arpstar/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>kernel</herd>
+ <herd>kernel</herd>
</pkgmetadata>