[arch-commits] Commit in (4 files)
Levente Polyak
anthraxx at archlinux.org
Wed May 27 11:10:53 UTC 2015
Date: Wednesday, May 27, 2015 @ 13:10:53
Author: anthraxx
Revision: 134225
moving sslstrip 0.9-7 to [community]
Added:
sslstrip/
sslstrip/repos/
sslstrip/trunk/
sslstrip/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: sslstrip/trunk/PKGBUILD
===================================================================
--- sslstrip/trunk/PKGBUILD (rev 0)
+++ sslstrip/trunk/PKGBUILD 2015-05-27 11:10:53 UTC (rev 134225)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+# Contributor: MatToufoutu <mattoufootu[at]gmail.com>
+
+pkgname=sslstrip
+pkgver=0.9
+pkgrel=7
+pkgdesc="Python tool to hijack HTTPS connections during a MITM attack"
+url="http://www.thoughtcrime.org/software/sslstrip/"
+arch=('any')
+license=('GPL3')
+depends=('python2-pyopenssl' 'python2-twisted' 'python2-service-identity')
+source=(http://www.thoughtcrime.org/software/sslstrip/${pkgname}-${pkgver}.tar.gz)
+sha512sums=("f6e24db0dcb0c4e137b5828d043db17f5d59e46181f51b1814cf66466b55d6a11a95e7ee8748e59faacfc6176689d030af5fa5c99dedce47e8f9ca6cc7316abc")
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed -e 's/env python$/env python2/g' -i sslstrip.py
+ # package data files ourselves
+ sed -e '/data_files = /d' -i setup.py
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+ install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
+ install -Dm 644 lock.ico "${pkgdir}/usr/share/${pkgname}/lock.ico"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list