blob: 63dfe8ac99a67b8453419c279ec48a81a43cd262 (
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
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Logan Magee <mageelog@gmail.com>
# Contributor: Randy Ramos <rramos1295@gmail.com>
_pkgname=Responder
pkgname=responder
pkgver=3.1.5.0
pkgrel=1
pkgdesc='A LLMNR, NBT-NS and MDNS poisoner, with built-in HTTP/SMB/MSSQL/FTP/LDAP rogue authentication server supporting NTLMv1/NTLMv2/LMv2, Extended Security NTLMSSP and Basic HTTP authentication'
arch=('any')
depends=('python' 'python-netifaces')
makedepends=('git')
url='https://github.com/lgandx/responder/'
license=('GPL-3.0-or-later')
source=("https://github.com/lgandx/Responder/archive/refs/tags/v${pkgver}.tar.gz"
'responder.sh'
'responder.patch')
sha256sums=('344f4306350e87fc57027a5a929b8d199a3c0252cf30337ba7304d7c5527e42b'
'3feef53e8c408439bc518474264b91919f9a43593f3bbf656958b9a8a216bc4b'
'609160b1f0bb45803a1fb2cc18dd2262d1956352b6adb9b2e839de232ac4183f')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
patch -p1 -i "${srcdir}/${pkgname}.patch"
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
# Install directory and contents
install -d "${pkgdir}/usr/share/${pkgname}"
install -d "${pkgdir}/var/log/${pkgname}"
install -d "${pkgdir}/var/lib/${pkgname}"
cp -ar * "${pkgdir}/usr/share/${pkgname}/"
# Docs
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 LICENSE "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
# Script
install -Dm755 "${srcdir}/responder.sh" "${pkgdir}/usr/bin/${pkgname}"
}
|