diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 10:14:40 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 10:14:50 +0000 |
commit | 86351893b3dc2033ad5abc3edc20335bde3ea756 (patch) | |
tree | 09eada504b83b033389ce12d14fb6cebdb1b91e6 /community/sslstrip | |
parent | b7de218bccea8f8c8a02018291315d6d09f1416a (diff) | |
download | aports-86351893b3dc2033ad5abc3edc20335bde3ea756.tar.bz2 aports-86351893b3dc2033ad5abc3edc20335bde3ea756.tar.xz |
community/sslstrip: moved from testing, upgrade to 0.9_2
Diffstat (limited to 'community/sslstrip')
-rw-r--r-- | community/sslstrip/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/sslstrip/APKBUILD b/community/sslstrip/APKBUILD new file mode 100644 index 0000000000..84d1f7fb19 --- /dev/null +++ b/community/sslstrip/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=sslstrip +pkgver=0.9.2 +_pkgver=${pkgver/.2/-2} +pkgrel=0 +pkgdesc="Python tool to hijack HTTPS connections during a MITM attack" +url="http://www.thoughtcrime.org/software/sslstrip/" +arch="noarch" +license="GPL3" +depends="py2-openssl py2-twisted py2-six py2-enum34 py2-cffi + py2-service_identity py2-cryptography" +makedepends="python2-dev" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/moxie0/$pkgname/archive/v${_pkgver}.tar.gz" + +builddir="$srcdir"/$pkgname-$_pkgver + +build() { + cd "$builddir" + python2 setup.py build || return 1 +} + +package() { + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README" + install -Dm 644 lock.ico "${pkgdir}/usr/share/${pkgname}/lock.ico" +} + +md5sums="5ab6d718eb1c9d6a1cef466d4fb27c1e sslstrip-0.9.2.tar.gz" +sha256sums="c51c8a6457312e755e0b203f9e1f8cfeb3f5e01815127ba50e719151e1b0125b sslstrip-0.9.2.tar.gz" +sha512sums="8b3647aa8562264eacb8cdcbdb09a4201331b3e43c8911a8edb62d2fedaad972cb2fcbcd0c32242b4505bd684979d6557183deb69607b06e9bb5b2deaa5f9f3c sslstrip-0.9.2.tar.gz" |