[aur-requests] [PRQ#12915] Deletion Request for drozer

notify at aur.archlinux.org notify at aur.archlinux.org
Mon Oct 8 20:49:44 UTC 2018


edoz90 [1] filed a deletion request for drozer [2]:

# Maintainer: Daniel Lawson <daniel dot lawson at mwrinfosecurity dot
com>

pkgname=drozer
pkgver=2.4.4
pkgrel=1
pkgdesc='Comprehensive security and attack framework for Android'
arch=('i686' 'x86_64')
url='https://labs.mwrinfosecurity.com/tools/drozer/'
license=('bsd')
options=('!emptydirs' '!strip')
provides=('drozer')

depends=(
        'bash'
        'python2'
        'python2-protobuf'
        'python2-pyopenssl'
        'python2-twisted')
source_x86_64=("https://github.com/mwrlabs/drozer/releases/download/2.4.4/drozer_2.4.4.deb")
source_i686=("https://github.com/mwrlabs/drozer/releases/download/2.4.4/drozer_2.4.4.deb")
md5sums_i686=('fef0802db020d91eb33a8326da89dee9')
md5sums_x86_64=('fef0802db020d91eb33a8326da89dee9')

prepare() {
        # Extract out data file
    \tar xvf data.tar.xz
}

package() {
        # Bash completions get installed to a different location on
Arch
        mkdir -p "${pkgdir}"/usr/share/bash-completion/completions/
        cp -dr --no-preserve=ownership etc/bash_completion.d/drozer
"${pkgdir}"/usr/share/bash-completion/completions/

        # Arch uses python3 by default, so we have to explicitly call
python2
        find . -type f -print0 | xargs -0 sed -i
's/\#\!\/usr\/bin\/python/\#\!\/usr\/bin\/python2/'

        # Install rest of files
        cp -dr --no-preserve=ownership usr/{bin,share}
"${pkgdir}"/usr/

        mkdir -p "${pkgdir}"/usr/lib/python2.7/
        cp -dr --no-preserve=ownership usr/lib/python2.7/dist-
packages/{drozer,mwr,pydiesel} "${pkgdir}"/usr/lib/python2.7/
}

[1] https://aur.archlinux.org/account/edoz90/
[2] https://aur.archlinux.org/pkgbase/drozer/


More information about the aur-requests mailing list