[crux-commits] ports/contrib (refs/remotes/origin/3.6): arpspoof: deleted unmaintained port

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:52 UTC 2021


commit 9e604d467b80bbb9750224e954eecf6df8385c72
Author: Tim Biermann <tbier at posteo.de>
Date:   Mon Feb 15 09:50:39 2021 +0000

    arpspoof: deleted unmaintained port

diff --git a/arpspoof/.footprint b/arpspoof/.footprint
deleted file mode 100644
index f66f27170..000000000
--- a/arpspoof/.footprint
+++ /dev/null
@@ -1,14 +0,0 @@
-drwxr-xr-x	root/root	usr/
-drwxr-xr-x	root/root	usr/bin/
--rwxr-xr-x	root/root	usr/bin/arpspoof
-drwxr-xr-x	root/root	usr/lib/
-drwxr-xr-x	root/root	usr/lib/python3.9/
-drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/
-drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/arpspoof/
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/arpspoof/__init__.py
-drwxr-xr-x	root/root	usr/lib/python3.9/site-packages/arpspoof/__pycache__/
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/arpspoof/__pycache__/__init__.cpython-39.opt-1.pyc
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/arpspoof/__pycache__/__init__.cpython-39.pyc
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/arpspoof/__pycache__/arpspoof.cpython-39.opt-1.pyc
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/arpspoof/__pycache__/arpspoof.cpython-39.pyc
--rw-r--r--	root/root	usr/lib/python3.9/site-packages/arpspoof/arpspoof.py
diff --git a/arpspoof/.signature b/arpspoof/.signature
deleted file mode 100644
index 7d241ab98..000000000
--- a/arpspoof/.signature
+++ /dev/null
@@ -1,7 +0,0 @@
-untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3+lH5J21yiV68oiaWWR7Z91BaGZ+bX3LdG4mRBG6BumZJI7g8ypLyYism3Pwhm0jXH/0GP4UELO6cw40PnXI9Qk=
-SHA256 (Pkgfile) = 65d5c1da0054c64144190bedc56c08ecc3f9c8c0d3db8f6cbb018e9b3bf1e8e5
-SHA256 (.footprint) = 958352c9e707a5347226d777365672d83697e82dc5f3cfcc28775b3569fa0354
-SHA256 (arpspoof-83594671338218dd80d6328485179cf62f943c9d.zip) = 591e9447394db3d24ce77ef4d6cb40b7f4dc3dcd6e212815b93f20f3b10a8503
-SHA256 (0001-arpspoof.py-show-help-without-root-privileges.patch) = c1cf0f365e88bd41ff9e8632fde68f74dafd15c812dff81cceb7e6c53e518252
-SHA256 (arpspoof.sh) = b0a083bae3740aa9920b5386f144b0110e3d94fa0dbc1cd0dac974f1e822cd17
diff --git a/arpspoof/0001-arpspoof.py-show-help-without-root-privileges.patch b/arpspoof/0001-arpspoof.py-show-help-without-root-privileges.patch
deleted file mode 100644
index ec8b738fb..000000000
--- a/arpspoof/0001-arpspoof.py-show-help-without-root-privileges.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From c7b2e59aea9264113dcd4823bfebc33e1cb33fe3 Mon Sep 17 00:00:00 2001
-From: Alexandr Savca <alexandrsavca89 at gmail.com>
-Date: Wed, 23 Sep 2020 14:43:59 +0300
-Subject: [PATCH] arpspoof.py: show help without root privileges
-
----
- arpspoof/arpspoof.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/arpspoof/arpspoof.py b/arpspoof/arpspoof.py
-index 61c1d42..024648a 100644
---- a/arpspoof/arpspoof.py
-+++ b/arpspoof/arpspoof.py
-@@ -59,11 +59,12 @@ def init_args():
- 
- 
- def main():
-+    options, args = init_args()
-+
-     if os.geteuid() != 0:
-         print("[-] Run me as root")
-         sys.exit(1)
- 
--    options, args = init_args()
-     host = args[0]
-     mac = get_if_hwaddr(options.interface)
- 
--- 
-2.28.0
-
diff --git a/arpspoof/Pkgfile b/arpspoof/Pkgfile
deleted file mode 100644
index 62fdcb743..000000000
--- a/arpspoof/Pkgfile
+++ /dev/null
@@ -1,29 +0,0 @@
-# Description: Poison hosts via arp-requests as well as arp-replies
-# URL:         https://github.com/byt3bl33d3r/arpspoof
-# Maintainer:  UNMAINTAINED
-# Depends on:  scapy
-
-name=arpspoof
-version=0.1.0.8359467
-_commit=83594671338218dd80d6328485179cf62f943c9d
-release=1
-source=(https://github.com/byt3bl33d3r/$name/archive/$_commit/$name-$_commit.zip
-	0001-arpspoof.py-show-help-without-root-privileges.patch
-	$name.sh)
-
-build() {
-	cd $name-$_commit
-
-	patch -p1 < $SRC/0001-arpspoof.py-show-help-without-root-privileges.patch
-	sed -i "s|Usage: %prog|Usage: $name|" $name/$name.py
-
-	python3 setup.py build
-	python3 setup.py install \
-		--prefix=/usr --root=$PKG --optimize=1 --skip-build
-
-	# remove junk
-	rm -r $PKG/usr/lib/python*/site-packages/$name-*.egg-info
-
-	# install wrapper
-	install -Dm755 $SRC/$name.sh $PKG/usr/bin/$name
-}
diff --git a/arpspoof/README b/arpspoof/README
deleted file mode 100644
index 6f4207afb..000000000
--- a/arpspoof/README
+++ /dev/null
@@ -1,7 +0,0 @@
-README for arpspoof
-
-NOTES
-
-    Basic spoofing usage:
-    arpspoof -i ${IFACE} -t ${VICTIM_IP} ${GW_IP} &
-    arpspoof -i ${IFACE} -t ${GW_IP} ${VICTIM_IP} &
diff --git a/arpspoof/arpspoof.sh b/arpspoof/arpspoof.sh
deleted file mode 100644
index df6ef56ef..000000000
--- a/arpspoof/arpspoof.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-PYVER=$(python3 -V | grep -Po '\d\.\d')
-python3 /usr/lib/python${PYVER}/site-packages/arpspoof/arpspoof.py


More information about the crux-commits mailing list