diff options
author | Davide Depau | 2019-11-17 18:52:34 +0100 |
---|---|---|
committer | Davide Depau | 2019-11-17 18:52:34 +0100 |
commit | a1de63d51923ea8cea3a4c4014858d10c2c2abe0 (patch) | |
tree | db23d3d226763c0d9a76e8ee59205117575d6071 /PKGBUILD | |
parent | 8cc2778312344da218d3d7f212899065ad4584bc (diff) | |
download | aur-mfoc-nonested-git.tar.gz |
Switch to disabled nested attack version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 16 insertions, 7 deletions
@@ -1,23 +1,32 @@ -# Maintainer: goll <adrian.goll+aur[at]gmail> +# Maintainer: Davide Depau <davide@depau.eu> +# Contributor: goll <adrian.goll+aur[at]gmail> -pkgname=mfoc-git -pkgver=103.9d9f01f +pkgname=mfoc-nonested-git +pkgver=115.fdd4602 pkgrel=1 -pkgdesc="Mifare Classic Offline Cracker" +pkgdesc="Mifare Classic Offline Cracker (nested attack disabled in code)" arch=('i686' 'x86_64') url="https://github.com/nfc-tools/mfoc" license=('GPL2') depends=('libnfc>=1.7.0') makedepends=('git') -conflicts=('mfoc') -source=("$pkgname"::'git://github.com/nfc-tools/mfoc.git') -sha1sums=('SKIP') +provides=('mfoc') +conflicts=('mfoc' 'mfoc-git') +source=("$pkgname"::'git://github.com/nfc-tools/mfoc.git' + 0001-Never-try-nested-attack.patch) +sha1sums=('SKIP' + 'a4de43b1641de38fe73f8a51e57268cefca3a6c5') pkgver() { cd "${srcdir}/${pkgname}" printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "${srcdir}/${pkgname}" + git am < ../0001-Never-try-nested-attack.patch +} + build() { cd "${srcdir}/${pkgname}" autoreconf -vis |