net-wireless/mdk: treeclean

Closes: https://bugs.gentoo.org/919250 (pkgremoved)
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus
2025-10-30 20:25:46 +01:00
parent 412e92edfc
commit 9796867f36
6 changed files with 0 additions and 108 deletions

View File

@@ -1 +0,0 @@
DIST mdk3-v6.tar.bz2 213279 BLAKE2B e15d8d758f2d0b5ba4cdd66ce0d97d28e454d6593fd2ea76c7e0e0ee6ea6fd9daeef7f005bed7611f4a7017246ea7f53c6eadf8a8cdbd941c7273db8d5ab8b48 SHA512 a5180fc231c2e041064467b9415d2d238ea680f19c88b2320983dd6dbe91a62af1a37da0fc548c1b0860ede046e1f9976dec729c919d8e6c0ab98231990dfec4

View File

@@ -1,37 +0,0 @@
--- 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):

View File

@@ -1,21 +0,0 @@
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;
}

View File

@@ -1,36 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit 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="http://homepages.tu-darmstadt.de/~p_larbig/wlan/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
S="${WORKDIR}/${MY_P}"
src_prepare() {
eapply -p0 "${FILESDIR}"/${PV}-makefile.patch
eapply "${FILESDIR}"/fix_wids_mdk3_v5.patch
default
}
src_compile() {
emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
}
src_install() {
emake DESTDIR="${ED}" install
insinto /usr/share/${PN}
doins -r useful_files
dodoc docs/* AUTHORS CHANGELOG TODO
}

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zerochaos@gentoo.org</email>
<name>Rick Farina</name>
</maintainer>
</pkgmetadata>

View File

@@ -204,11 +204,6 @@ sys-fs/encfs
# https://github.com/pyparsing/pyparsing/issues/618
=dev-python/pyparsing-3.2.4
# Rick Farina <zerochaos@gentoo.org> (2025-09-11)
# Dead upstream, fails to compile on modern gcc. Bug #919250
# Removal on 2025-10-12
net-wireless/mdk
# Eli Schwartz <eschwartz@gentoo.org> (2025-09-01)
# Effectively unmaintained in Gentoo. Upstream dead for 8 years. Stuck
# on py3.11, but no testsuite and still has py2-specific source code so