diff --git a/app-crypt/sslstrip/Manifest b/app-crypt/sslstrip/Manifest index ba4dc41e5..883f321ae 100644 --- a/app-crypt/sslstrip/Manifest +++ b/app-crypt/sslstrip/Manifest @@ -1,3 +1,4 @@ AUX sslstrip 53 RMD160 6048af5a8c685f6ddeacfe411e87aecae1ecff72 SHA1 0b66e9826b4f60cec22f6999a8dfefa9d7ae8374 SHA256 19a745e303542c58c270171feae1112dd24d2dd84155cdd42596a2d2403ccb42 +AUX sslstrip-0.1_fix-port.patch 599 RMD160 7fe8a9b9c6c0b4f2884fe0d20bb064c39524d27b SHA1 74dc2de36f2aa71b7ba60b10c9d8bbd4d2576f89 SHA256 a8950f1de0924e0100d89ac7ecbad28f0db4e5158bcc93f47be1f560152910ac DIST sslstrip-0.1.tar.gz 22216 RMD160 dbcdd41f33b324381b4101f460148965275520b1 SHA1 9bdf2984b0e786fbc362d98a78032f65ffef8cb9 SHA256 3429415fc74bc96786d0cceec6f98bc8b98b02af1ce3d2b0c56b51bd9443a51b -EBUILD sslstrip-0.1.ebuild 801 RMD160 b6ccc5893b0f96b2686886c650a8e496a69e324b SHA1 0ed744c2596e6d58d1c3ae34b35cdc52ae20ebd7 SHA256 0ce3ef9758d065de109847c495cc9c83991c1bfd96596e1710df30e2641a7435 +EBUILD sslstrip-0.1-r1.ebuild 881 RMD160 057624475a4d1fdc1924d670b0d23902a5781317 SHA1 a1304e5c4bf721901a7847f535b35eba770b95d1 SHA256 97cbfd6021c5c3f48727284c0dbae1c6a1696c52407635f85f2297d7d5df9ca0 diff --git a/app-crypt/sslstrip/files/sslstrip-0.1_fix-port.patch b/app-crypt/sslstrip/files/sslstrip-0.1_fix-port.patch new file mode 100644 index 000000000..e1e8f370c --- /dev/null +++ b/app-crypt/sslstrip/files/sslstrip-0.1_fix-port.patch @@ -0,0 +1,12 @@ +diff -Naur sslstrip-0.1.orig/sslstrip.py sslstrip-0.1/sslstrip.py +--- sslstrip-0.1.orig/sslstrip.py 2009-02-23 01:38:14.000000000 +0000 ++++ sslstrip-0.1/sslstrip.py 2009-02-24 12:06:27.000000000 +0000 +@@ -230,7 +230,7 @@ + elif opt in ("-a", "--all"): + logLevel = logging.DEBUG + elif opt in ("-l", "--listen"): +- listenPort = arg ++ listenPort = int(arg) + elif opt in ("-f", "--favicon"): + StripProxy.swapFavicon = True + elif opt in ("-k", "--killsessions"): diff --git a/app-crypt/sslstrip/sslstrip-0.1.ebuild b/app-crypt/sslstrip/sslstrip-0.1-r1.ebuild similarity index 80% rename from app-crypt/sslstrip/sslstrip-0.1.ebuild rename to app-crypt/sslstrip/sslstrip-0.1-r1.ebuild index 236057871..3da420c6d 100644 --- a/app-crypt/sslstrip/sslstrip-0.1.ebuild +++ b/app-crypt/sslstrip/sslstrip-0.1-r1.ebuild @@ -15,18 +15,20 @@ EAPI=2 RDEPEND=">=dev-lang/python-2.5" + src_compile() { - true; + epatch "${FILESDIR}/sslstrip-0.1_fix-port.patch" + einfo "Nothing to compile" } src_install() { - dodir /usr/lib/${PN} - insinto /usr/lib/${PN} + 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 - dosbin ${FILESDIR}/sslstrip + dosbin "${FILESDIR}/sslstrip" dodoc README COPYING }