1 # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
6 pkgdesc="sslsniff is designed to MITM all SSL connections on a LAN and dynamically generates certs for the domains that are being accessed on the fly."
8 url="http://www.thoughtcrime.org/software/sslsniff/"
10 depends=('boost' 'log4cpp' 'dsniff')
11 source=("http://www.thoughtcrime.org/software/${pkgname}/${pkgname}-${pkgver}.tar.gz"
13 md5sums=('030fe31af33c22a932393c7a5f33bb2e'
14 '439f5cd6a853e6b279a4cb1a89cec54d')
20 patch -p0 < "${srcdir}"/boost-1.47.patch
21 ./configure --prefix=/usr
28 make install DESTDIR="${pkgdir}"
30 # Package some example material.
31 install -d -m 0755 "${pkgdir}"/usr/share/${pkgname}/{updates,certs}
32 install -m 0644 leafcert.pem IPSCACLASEA1.crt "${pkgdir}"/usr/share/$pkgname
33 install -m 0644 updates/*xml "${pkgdir}"/usr/share/$pkgname/updates
34 install -m 0644 certs/* "${pkgdir}"/usr/share/$pkgname/certs
35 install -D -m 0644 README "${pkgdir}"/usr/share/doc/${pkgname}/README
38 install -D -m 0644 COPYING "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE