summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2011-02-22 18:48:52 +0000
committerDane Smith <c1pher@gentoo.org>2011-02-22 18:48:52 +0000
commite657fc6fd773a84ea3d7235c4470b06892770896 (patch)
tree42b7de3c18b1a30e76bb25f13aed805b403c6bec /net-wireless/mdk
parentppc stable #354939 (diff)
downloadhistorical-e657fc6fd773a84ea3d7235c4470b06892770896.tar.gz
historical-e657fc6fd773a84ea3d7235c4470b06892770896.tar.bz2
historical-e657fc6fd773a84ea3d7235c4470b06892770896.zip
Initial commit for net-wireless/mdk wrt bug 265280 and bug 178561.
Package-Manager: portage-2.2.0_alpha24/cvs/Linux x86_64
Diffstat (limited to 'net-wireless/mdk')
-rw-r--r--net-wireless/mdk/ChangeLog12
-rw-r--r--net-wireless/mdk/Manifest25
-rw-r--r--net-wireless/mdk/files/3.6-makefile.patch37
-rw-r--r--net-wireless/mdk/mdk-3.6.ebuild37
-rw-r--r--net-wireless/mdk/metadata.xml10
5 files changed, 121 insertions, 0 deletions
diff --git a/net-wireless/mdk/ChangeLog b/net-wireless/mdk/ChangeLog
new file mode 100644
index 000000000000..a22d69e34ef9
--- /dev/null
+++ b/net-wireless/mdk/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-wireless/mdk
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/mdk/ChangeLog,v 1.1 2011/02/22 18:48:52 c1pher Exp $
+
+*mdk-3.6 (22 Feb 2011)
+
+ 22 Feb 2011; Dane Smith <c1pher@gentoo.org> +files/3.6-makefile.patch,
+ +mdk-3.6.ebuild, +metadata.xml:
+ Initial commit for mdk. Moved from the Sunrise overlay wrt bug 265280 and
+ bug
+ 178561. Thanks to Justin Lecher (jlec@gentoo.org) for the ebuild.
+
diff --git a/net-wireless/mdk/Manifest b/net-wireless/mdk/Manifest
new file mode 100644
index 000000000000..3c98ddf8ec18
--- /dev/null
+++ b/net-wireless/mdk/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 3.6-makefile.patch 707 RMD160 8d36db0daec3bedfdcb3896e3adc6c2e9e3393a7 SHA1 8e611721b00858aaf20805a16678e204aae5188a SHA256 4b7f0c862698ca2ef4974ee42351331700abd79018c8161cb1da84d255be7180
+DIST mdk3-v6.tar.bz2 213279 RMD160 22857e15a86fee1a0419916fcd12d14aeb14ebb1 SHA1 2832d176c02d9c3eb3bcb3b35acfdc94793161dd SHA256 4dac4d0ad54c4dbbf8857f527c573af6495a91d2e503774274b39c3ca8ed11dd
+EBUILD mdk-3.6.ebuild 869 RMD160 7800d07002a534473869dd6355fec1932fc0adbe SHA1 745469c414ccb314c12aa329187c7ca8193eae6a SHA256 001bcf426d07b333a1761307efa053f426358ff6d39f50b144fa697c1f1665ca
+MISC ChangeLog 487 RMD160 90b510761ad81f014d0e794a9e98c2e2d6d7c242 SHA1 939bfdab5e4fb7bdb6b509ed6c7038f0b22b6f5a SHA256 b2e651ac03ae3025918cf8af715789ae29393e3feae552ff8c71946bdb969669
+MISC metadata.xml 252 RMD160 0d6b4d4e9e2fc0a9fc73289b6f3234195a3a1405 SHA1 6d719654a220ceff01851fa059936c79ca6bf9be SHA256 50fba57de1e11a48fbf58020c096095ebf9ec5defa2b5bcda9ed44e5be159d3f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBAgAGBQJNZAQVAAoJEEsurZwMLhUxYkUP+wTYET7FWkt/fXPBWBJ1uigC
+YDYnetNuiqjmSo9KBILEjS8QZxvs7CffX9a6Aixldbr2uOgonK+DoTxtD0NCmYxT
+9yitVdssp6qgj6XschX5TzwOZwZ4RZrlZlIrl2XREs3xaMgrwRCshEfGzRnqlb+p
+KaEeTVMoINpOC+9xm/ahKp+GNGbg5Z7+bTp7Jg1W6EnBFl1PpmeVNb/S1BE/O0XE
+S2Kq84muXvrZ5aRIs765Sh2oagvHtEJQACcHs/QGr7w5GP0/5FvGPvmBpxQReN/A
+nM7Ox8T7e5uMaxSzN5h3uvMg5mn7f34O+oGD/2Ao2uVffHU1X4C7xf4HxoTSTFLh
+fFbtNJ3wKNYnttOyDzkkyW1KEkRUiHUAJBLBq6ixznMimm9/VF6jyUvmZqexY+pq
+xHOEqJH+Yju+VU9hzUKVKchumbSzxhUQj/HQyMMDtldN0U4C+GqHDr9ptl2+ts3g
+RWK1wJvdxKAKeRakzP1ZC2pKc7KIbj04eEdBcCXjH1E6O/nTjrIsmMHrPj/ezhHg
+WEV3gszBIjM5AwSxmX6U8JQobvQftHsIlGl1jpkAG/CkklIwIzYfLEFbszOhuMsD
+cto8e/GuQynKuGDNaQQ7kJcJtlznhNtNOL85ZBOX0xpeBw4w9xnmsUb9QKMCZv1N
+UTS9LUKFu26SCuyMjBVM
+=Nw9G
+-----END PGP SIGNATURE-----
diff --git a/net-wireless/mdk/files/3.6-makefile.patch b/net-wireless/mdk/files/3.6-makefile.patch
new file mode 100644
index 000000000000..8016c317b486
--- /dev/null
+++ b/net-wireless/mdk/files/3.6-makefile.patch
@@ -0,0 +1,37 @@
+--- Makefile 2007-07-18 16:16:54.000000000 +0200
++++ Makefile.new 2009-04-01 09:17:06.000000000 +0200
+@@ -1,8 +1,8 @@
+-CFLAGS = -g -O3 -Wall -Wextra
+-LINKFLAGS = -lpthread
++CFLAGS +=
++LINKFLAGS = $(LDFLAGS)
+
+ DESTDIR =
+-PREFIX = /usr/local
++PREFIX = /usr/
+ SBINDIR = $(PREFIX)/sbin
+
+ OSD = osdep
+--- Makefile 2009-04-01 09:24:46.000000000 +0200
++++ Makefile.new 2009-04-01 09:25:08.000000000 +0200
+@@ -6,7 +6,7 @@
+ SBINDIR = $(PREFIX)/sbin
+
+ OSD = osdep
+-LIBS = -L$(OSD) -l$(OSD)
++LIBS = -L$(OSD) -l$(OSD) -lpthread
+ LIBOSD = $(OSD)/lib$(OSD).so
+
+
+@@ -10,9 +10,9 @@
+ LIBOSD = $(OSD)/lib$(OSD).so
+
+
+-all: osd mdk3
++all: mdk3
+
+-osd:
++$(OSD)/libosdep.a:
+ $(MAKE) -C $(OSD)
+
+ $(LIBOSD):
diff --git a/net-wireless/mdk/mdk-3.6.ebuild b/net-wireless/mdk/mdk-3.6.ebuild
new file mode 100644
index 000000000000..c14144d674e7
--- /dev/null
+++ b/net-wireless/mdk/mdk-3.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/mdk/mdk-3.6.ebuild,v 1.1 2011/02/22 18:48:52 c1pher Exp $
+
+EAPI="3"
+inherit eutils toolchain-funcs
+
+MY_P="${PN}${PV/./-v}"
+DESCRIPTION="Wireless injection tool with various functions."
+HOMEPAGE="http://homepages.tu-darmstadt.de/~p_larbig/wlan"
+SRC_URI="${HOMEPAGE}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="net-wireless/aircrack-ng"
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-makefile.patch
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed."
+
+ insinto /usr/share/${PN}
+ doins -r useful_files || die
+
+ dohtml docs/* || die
+ dodoc AUTHORS CHANGELOG TODO || die
+}
diff --git a/net-wireless/mdk/metadata.xml b/net-wireless/mdk/metadata.xml
new file mode 100644
index 000000000000..2ba872dd9d39
--- /dev/null
+++ b/net-wireless/mdk/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>c1pher@gentoo.org</email>
+ <name>Dane Smith</name>
+ </maintainer>
+</pkgmetadata>
+