[crux-commits] ports/contrib (3.6): macchanger: deleted unmaintained port

crux at crux.nu crux at crux.nu
Mon Feb 15 09:50:54 UTC 2021


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

    macchanger: deleted unmaintained port

diff --git a/macchanger/.footprint b/macchanger/.footprint
deleted file mode 100644
index 7d5e1e605..000000000
--- a/macchanger/.footprint
+++ /dev/null
@@ -1,13 +0,0 @@
-drwxr-xr-x	root/root	etc/
-drwxr-xr-x	root/root	etc/rc.d/
--rwxr-x---	root/root	etc/rc.d/macchanger
-drwxr-xr-x	root/root	usr/
-drwxr-xr-x	root/root	usr/bin/
--rwxr-xr-x	root/root	usr/bin/macchanger
-drwxr-xr-x	root/root	usr/share/
-drwxr-xr-x	root/root	usr/share/macchanger/
--rw-r--r--	root/root	usr/share/macchanger/OUI.list
--rw-r--r--	root/root	usr/share/macchanger/wireless.list
-drwxr-xr-x	root/root	usr/share/man/
-drwxr-xr-x	root/root	usr/share/man/man1/
--rw-r--r--	root/root	usr/share/man/man1/macchanger.1.gz
diff --git a/macchanger/.signature b/macchanger/.signature
deleted file mode 100644
index 351655c2e..000000000
--- a/macchanger/.signature
+++ /dev/null
@@ -1,6 +0,0 @@
-untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF37gO6n5InRUr4E887HZBVNxvxUrEsFOC+ctKPWH2d8sywfyff99uZJkA2A9lg55Psq6LjWX/gdYEOV3eF+HK5QQ=
-SHA256 (Pkgfile) = eef9c8d0912e5124b1371f8456d5e510c47f1b3f611939c50254616915f0bd23
-SHA256 (.footprint) = f21f745c9b7b902500438b68aee91de7417d88484bee43d4ae67d510da122e40
-SHA256 (macchanger-1.7.0.tar.gz) = 1d75c07a626321e07b48a5fe2dbefbdb98c3038bb8230923ba8d32bda5726e4f
-SHA256 (macchanger.rc) = d4e4bcaae734c1950299a1497748489f235e5d4c8990b69bd1cb3da99bf45b46
diff --git a/macchanger/Pkgfile b/macchanger/Pkgfile
deleted file mode 100644
index 69d7d9916..000000000
--- a/macchanger/Pkgfile
+++ /dev/null
@@ -1,29 +0,0 @@
-# Description: Change your NIC's MAC address
-# URL:         https://www.gnu.org/software/macchanger
-# Maintainer:  UNMAINTAINED
-
-name=macchanger
-version=1.7.0
-release=1
-source=(https://github.com/alobbs/$name/archive/$version/$name-$version.tar.gz
-	$name.rc)
-
-build() {
-	cd $name-$version
-
-	#https://bugs.archlinux.org/task/59021
-	sed -i 's|/dev/hwrng|/dev/random|' src/main.c
-
-	./autogen.sh
-
-	# Don't build unnecessary docs with unnecessary dependencies
-	sed -i 's/SUBDIRS = src data doc/SUBDIRS = src data/' Makefile.in
-
-	./configure --prefix=/usr --mandir=/usr/share/man
-
-	make V=1
-	make DESTDIR=$PKG install
-
-	# service
-	install -m 0750 -D $SRC/$name.rc $PKG/etc/rc.d/$name
-}
diff --git a/macchanger/macchanger.rc b/macchanger/macchanger.rc
deleted file mode 100644
index fcd822fd7..000000000
--- a/macchanger/macchanger.rc
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-#
-# /etc/rc.d/macchanger: start/stop mac interface changing
-#
-
-# To see your available devices run "ip link"
-DEV=wlp1s0
-
-# Leave it empty for a random mac address
-MAC=
-
-case $1 in
-	start)
-		/sbin/ip link set $DEV down
-		case $MAC in
-		"") /usr/bin/macchanger --random   $DEV ;;
-		*)  /usr/bin/macchanger --mac=$MAC $DEV ;;
-		esac
-		/sbin/ip link set $DEV up
-		;;
-	stop)
-		/sbin/ip link set $DEV down
-		/usr/bin/macchanger --permanent $DEV
-		/sbin/ip link set $DEV up
-		;;
-	restart)
-		$0 stop
-		$0 start
-		;;
-	status)
-		/usr/bin/macchanger --show $DEV
-		;;
-	*)
-		echo "Usage: $0 [start|stop|restart|status]"
-		;;
-esac
-
-# End of file


More information about the crux-commits mailing list