28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Template file for 'macchanger'
|
|
pkgname=macchanger
|
|
version=1.7.0
|
|
revision=5
|
|
create_wrksrc=yes
|
|
build_wrksrc="macchanger-${version}"
|
|
build_style=gnu-configure
|
|
configure_script="./autogen.sh"
|
|
hostmakedepends="automake texinfo"
|
|
short_desc="Small utility to change your NIC's MAC address"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://www.gnu.org/software/macchanger"
|
|
distfiles="https://github.com/alobbs/macchanger/archive/${version}.tar.gz
|
|
http://deb.debian.org/debian/pool/main/m/macchanger/macchanger_1.7.0-5.4.debian.tar.xz"
|
|
checksum="1d75c07a626321e07b48a5fe2dbefbdb98c3038bb8230923ba8d32bda5726e4f
|
|
a5f48390eb4cb50f16898740e99e38671957a3d5360105986ff0ee41db46383f"
|
|
|
|
patch_args="-Np1 --directory=${build_wrksrc}"
|
|
|
|
post_patch() {
|
|
patch -Np1 <../debian/patches/02-fix_usage_message.patch
|
|
patch -Np1 <../debian/patches/06-update_OUI_list.patch
|
|
patch -Np1 <../debian/patches/08-fix_random_MAC_choice.patch
|
|
patch -Np1 <../debian/patches/check-random-device-read-errors.patch
|
|
patch -Np1 <../debian/patches/verify-changed-MAC.patch
|
|
}
|