diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-wireless/mdk | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-wireless/mdk')
-rw-r--r-- | net-wireless/mdk/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/mdk/files/3.6-makefile.patch | 37 | ||||
-rw-r--r-- | net-wireless/mdk/files/fix_wids_mdk3_v5.patch | 21 | ||||
-rw-r--r-- | net-wireless/mdk/mdk-3.6-r1.ebuild | 37 | ||||
-rw-r--r-- | net-wireless/mdk/metadata.xml | 9 |
5 files changed, 105 insertions, 0 deletions
diff --git a/net-wireless/mdk/Manifest b/net-wireless/mdk/Manifest new file mode 100644 index 000000000000..61de19d723bb --- /dev/null +++ b/net-wireless/mdk/Manifest @@ -0,0 +1 @@ +DIST mdk3-v6.tar.bz2 213279 SHA256 4dac4d0ad54c4dbbf8857f527c573af6495a91d2e503774274b39c3ca8ed11dd SHA512 a5180fc231c2e041064467b9415d2d238ea680f19c88b2320983dd6dbe91a62af1a37da0fc548c1b0860ede046e1f9976dec729c919d8e6c0ab98231990dfec4 WHIRLPOOL 6d2321153841189bde7d7cd68e62330027e81ae66377b468d8d5d1ae92ff3327564fbdb5ee584435e12c8abad6c1c3ba53e3ef378ac834d62ad233ab03f9107f 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/files/fix_wids_mdk3_v5.patch b/net-wireless/mdk/files/fix_wids_mdk3_v5.patch new file mode 100644 index 000000000000..6013a59b9b1a --- /dev/null +++ b/net-wireless/mdk/files/fix_wids_mdk3_v5.patch @@ -0,0 +1,21 @@ +diff -ur mdk3-v5-orig/mdk3.c mdk3-v5/mdk3.c +--- mdk3-v5-orig/mdk3.c 2008-11-10 21:45:02.000000000 +0100 ++++ mdk3-v5/mdk3.c 2009-01-10 01:47:03.546875000 +0100 +@@ -1092,10 +1092,13 @@ + { + struct clistwidsclient *first = c; + +- do { +- if (!(memcmp(c->mac, mac, mac_len))) return c; +- c = c->next; +- } while (c != first); ++ if (c != NULL) ++ { ++ do { ++ if (c->mac != NULL && !(memcmp(c->mac, mac, mac_len))) return c; ++ c = c->next; ++ } while (c != NULL && c != first); ++ } + + return NULL; + } diff --git a/net-wireless/mdk/mdk-3.6-r1.ebuild b/net-wireless/mdk/mdk-3.6-r1.ebuild new file mode 100644 index 000000000000..e620c164cd31 --- /dev/null +++ b/net-wireless/mdk/mdk-3.6-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +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 ~arm ~x86" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-makefile.patch + epatch "${FILESDIR}"/fix_wids_mdk3_v5.patch +} + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install() { + emake DESTDIR="${ED}" install + + insinto /usr/share/${PN} + doins -r useful_files + + dohtml docs/* + dodoc AUTHORS CHANGELOG TODO +} diff --git a/net-wireless/mdk/metadata.xml b/net-wireless/mdk/metadata.xml new file mode 100644 index 000000000000..2e6865b9dfa9 --- /dev/null +++ b/net-wireless/mdk/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> +</pkgmetadata> + |