summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 928de78ef6d314622b5cda38453638512339f373 (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
# Maintainer: Lucien LOISEAU (Marlinski) <marlinski@disruptedsystems.org>

pkgname=sslsniff
pkgver=0.8
pkgrel=1
pkgdesc='A tool for automated MITM attacks on SSL connections'
arch=('any')
url='http://www.thoughtcrime.org/software/sslsniff/'
license=('GPL3')
depends=(log4cpp boost boost-libs openssl)
makedepend=(base-devel git)
conflicts=(sslsniff)
provides=(sslsniff)

source=(git://github.com/moxie0/sslsniff.git
        fix_asio.patch)
sha512sums=('SKIP'
            580280a8b4110bd194f84a817060da5281c33783e2925583617cfa7847fd276457f6a3ebd5a918f5a0682d3f9e362f0c801cb9f1b73f850e3b52e98b66e1f2ed)

prepare() {
    cd ${pkgname}
    patch -p1 < ../fix_asio.patch
}

build() {
    cd ${pkgname}
    aclocal
    autoconf
    automake --add-missing
    ./configure
    make
}

package() {
    cd ${pkgname}
    install -Dm 755 sslsniff "${pkgdir}/usr/bin/${pkgname}"
    install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
}