forked from ports/contrib
ab6dd0f103
unmaintained: aircrack-ng unmaintained: alsaequal unmaintained: arp-scan unmaintained: arpspoof unmaintained: asleap unmaintained: aspell-ro unmaintained: aspell-ru unmaintained: binwalk unmaintained: bully unmaintained: caps unmaintained: capstone unmaintained: cowpatty unmaintained: cramfs-tools unmaintained: dhcp-spoof unmaintained: gmtp unmaintained: hashcat-utils unmaintained: hashcat unmaintained: hashid unmaintained: hcxdumptool unmaintained: hcxtools unmaintained: hcxtools3 unmaintained: hwloc unmaintained: lft unmaintained: libewf-legacy unmaintained: libmtp unmaintained: libxcrypt2.4 unmaintained: macchanger unmaintained: masscan unmaintained: mdk3 unmaintained: mdk4 unmaintained: ncrack unmaintained: p5-file-remove unmaintained: p5-gtk2-trayicon unmaintained: p5-module-install unmaintained: p5-module-scandeps unmaintained: p5-net-pcap unmaintained: p5-net-rawip unmaintained: p5-netpacket unmaintained: p5-string-crc32 unmaintained: p5-text-asciitable unmaintained: p5-yaml-tiny unmaintained: padbuster unmaintained: perltidy unmaintained: pixiewps unmaintained: polipo unmaintained: proxychains-ng unmaintained: qt5-styleplugins unmaintained: qt5ct unmaintained: radare2 unmaintained: sasquatch unmaintained: scapy unmaintained: sleuthkit unmaintained: sslsplit unmaintained: thc-ipv6 unmaintained: tor unmaintained: torsocks unmaintained: wordlistctl unmaintained: xautolock unmaintained: xxhash unmaintained: yersinia
30 lines
680 B
Plaintext
30 lines
680 B
Plaintext
# 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
|
|
}
|