blob: db095e2f97514654fcca98dc74951bf9d5923a4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Jake <oshaugh143@gmail.com>
pkgname='enum4linux-git'
pkgver='r44.1de6e86'
pkgrel=1
pkgdesc="A Linux alternative to enum.exe for enumerating data from Windows and Samba hosts"
arch=('x86_64')
url="https://labs.portcullis.co.uk/tools/enum4linux/"
license=('GPL')
depends=('perl' 'smbclient' 'polenum' 'openldap')
makedepends=('git' 'sed')
provides=('enum4linux')
conflicts=('enum4linux')
source=("$pkgname::git+https://github.com/CiscoCXSecurity/enum4linux.git")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$pkgname"
sed -i 's|polenum.py|polenum|' enum4linux.pl
}
package() {
cd "$pkgname"
install -Dm755 enum4linux.pl "$pkgdir/usr/bin/enum4linux"
install -Dm644 share-list.txt "$pkgdir/usr/share/enum4linux/share-list.txt"
}
|