sslstrip: v0.9_2 bump

This commit is contained in:
blshkv 2017-04-25 11:35:00 +08:00
parent 6fad183e98
commit db3ff4c44a
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
2 changed files with 38 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST sslstrip-0.9.tar.gz 22198 SHA256 edf48d45b248dbd4eba94bfb0fbed7090f2ba2b262b16a155b1a0c15268cf4d3 SHA512 f6e24db0dcb0c4e137b5828d043db17f5d59e46181f51b1814cf66466b55d6a11a95e7ee8748e59faacfc6176689d030af5fa5c99dedce47e8f9ca6cc7316abc WHIRLPOOL 359ee4009d3dc898c02e4b0d8ba8a7eea697d1b2b7eb50bf7ced281db9e7df87d5c5a06e3b4df9f03fce964f096264d14e0f1e95acf5c7649d29786ac6e01fdd
DIST sslstrip-0.9_p2.tar.gz 22046 SHA256 c51c8a6457312e755e0b203f9e1f8cfeb3f5e01815127ba50e719151e1b0125b SHA512 8b3647aa8562264eacb8cdcbdb09a4201331b3e43c8911a8edb62d2fedaad972cb2fcbcd0c32242b4505bd684979d6557183deb69607b06e9bb5b2deaa5f9f3c WHIRLPOOL db9ae020e500a6173a52e3b2160aeee3baf7b273347c6468f8fe4cd9e12f763e3169c2c765addaad5c414703f29db18b4cfdd6c282bc07d5dbf3084f87b4ac8b

View file

@ -0,0 +1,37 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_PV=${PV/_p/-}
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="sslstrip remove https and forwards http"
HOMEPAGE="http://www.thoughtcrime.org/software/sslstrip/"
SRC_URI="https://github.com/moxie0/sslstrip/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
|| ( >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/twisted-web[${PYTHON_USEDEP}]' 'python2_7')
)"
S="${WORKDIR}/${PN}-${MY_PV}"
src_install() {
dodir /usr/lib/"${PN}"
insinto /usr/lib/"${PN}"
doins sslstrip.py lock.ico
dodir /usr/lib/${PN}/sslstrip
insinto /usr/lib/${PN}/sslstrip
doins sslstrip/*.py
newsbin "${FILESDIR}"/sslstrip-r1 sslstrip
dodoc README
}