Date: Tuesday, March 29, 2016 @ 18:22:22
Author: anthraxx
Revision: 168805
upgpkg: sslsplit 0.5.0-1
Modified:
sslsplit/trunk/PKGBUILD
Deleted:
sslsplit/trunk/no-ssl3.patch
---+
PKGBUILD | 19 +---
no-ssl3.patch | 66
2 files changed, 6 insertions(+), 79 deletions(-)
Modified: PKGBUILD
===
--- PKGBUILD2016-03-29 16:06:18 UTC (rev 168804)
+++ PKGBUILD2016-03-29 16:22:22 UTC (rev 168805)
@@ -1,8 +1,8 @@
# Maintainer: Levente Polyak
pkgname=sslsplit
-pkgver=0.4.11
-pkgrel=4
+pkgver=0.5.0
+pkgrel=1
pkgdesc="Tool for man-in-the-middle attacks against SSL/TLS encrypted network
connections"
url="https://www.roe.ch/SSLsplit";
arch=('i686' 'x86_64')
@@ -9,18 +9,11 @@
license=('BSD')
depends=('libevent' 'openssl')
checkdepends=('check')
-source=(https://mirror.roe.ch/rel/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.asc}
-no-ssl3.patch)
-sha512sums=('c3339b4d22eb8f94ad1bc161b2c2d9efcb2f2828985712a5580437077f4c0bd74657d42274c4a9118c92721b9bd1d8150cf83d89afef6144b20aba497ac1d69a'
-'SKIP'
-
'0c80471a881d29d285385e00dc1d36d27d796648b0327748263b7b78dfa6d728f0d7feaca719df3b74c0741740a350604173c9cb6f44ba5e68e34bd47a293856')
+source=(https://mirror.roe.ch/rel/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.asc})
+sha512sums=('d8d4f294018a7a28b6e5cdec4690c5078118e1fc9c8b78d626290cdb5f2c8d2ecdbbee776a50666a99c522e9e22a15e85b5a602c412e242ec4cce64327555862'
+'SKIP')
validpgpkeys=('BFF9C7D7EA0EAC7F1AA55B3EFABE3324B5D3397E') # Daniel
Roethlisberger
-prepare() {
- cd ${pkgname}-${pkgver}
- patch -p1 < "${srcdir}/no-ssl3.patch"
-}
-
build() {
cd ${pkgname}-${pkgver}
make
@@ -34,7 +27,7 @@
package() {
cd ${pkgname}-${pkgver}
make PREFIX="${pkgdir}/usr" install
- install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm 644 NEWS.md "${pkgdir}/usr/share/doc/${pkgname}/NEWS.md"
}
Deleted: no-ssl3.patch
===
--- no-ssl3.patch 2016-03-29 16:06:18 UTC (rev 168804)
+++ no-ssl3.patch 2016-03-29 16:22:22 UTC (rev 168805)
@@ -1,66 +0,0 @@
-From: Hilko Bengen
-Date: Sun, 22 Nov 2015 14:25:42 +0100
-Subject: Use OPENSSL_NO_SSL3_METHOD to determine whether SSLv3_method is
- available
-
-As suggested by Kurt Roeckx
- opts.c | 16
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/opts.c b/opts.c
-index 0189af8..f23b357 100644
a/opts.c
-+++ b/opts.c
-@@ -143,11 +143,11 @@ opts_proto_force(opts_t *opts, const char *optarg, const
char *argv0)
- opts->sslmethod = SSLv2_method;
- } else
- #endif /* SSL_OP_NO_SSLv2 && WITH_SSLV2 */
--#ifdef SSL_OP_NO_SSLv3
-+#ifndef OPENSSL_NO_SSL3_METHOD
- if (!strcmp(optarg, "ssl3")) {
- opts->sslmethod = SSLv3_method;
- } else
--#endif /* SSL_OP_NO_SSLv3 */
-+#endif /* OPENSSL_NO_SSL3_METHOD */
- #ifdef SSL_OP_NO_TLSv1
- if (!strcmp(optarg, "tls10") || !strcmp(optarg, "tls1")) {
- opts->sslmethod = TLSv1_method;
-@@ -182,11 +182,11 @@ opts_proto_disable(opts_t *opts, const char *optarg,
const char *argv0)
- opts->no_ssl2 = 1;
- } else
- #endif /* SSL_OP_NO_SSLv2 && WITH_SSLV2 */
--#ifdef SSL_OP_NO_SSLv3
-+#ifndef OPENSSL_NO_SSL3_METHOD
- if (!strcmp(optarg, "ssl3")) {
- opts->no_ssl3 = 1;
- } else
--#endif /* SSL_OP_NO_SSLv3 */
-+#endif /* OPENSSL_NO_SSL3_METHOD */
- #ifdef SSL_OP_NO_TLSv1
- if (!strcmp(optarg, "tls10") || !strcmp(optarg, "tls1")) {
- opts->no_tls10 = 1;
-@@ -219,9 +219,9 @@ opts_proto_dbg_dump(opts_t *opts)
- #if defined(SSL_OP_NO_SSLv2) && defined(WITH_SSLV2)
- (opts->sslmethod == SSLv2_method) ? "nossl2" :
- #endif /* SSL_OP_NO_SSLv2 && WITH_SSLV2 */
--#ifdef SSL_OP_NO_SSLv3
-+#ifndef OPENSSL_NO_SSL3_METHOD
- (opts->sslmethod == SSLv3_method) ? "ssl3" :
--#endif /* SSL_OP_NO_SSLv3 */
-+#endif /* OPENSSL_NO_SSL3_METHOD */
- #ifdef SSL_OP_NO_TLSv1
- (opts->sslmethod == TLSv1_method) ? "tls10" :
- #endif /* SSL_OP_NO_TLSv1 */
-@@ -236,9 +236,9 @@ opts_proto_dbg_dump(opts_t *opts)
- opts->no_ssl2 ? " -ssl2" :
- #endif /* SSL_OP_NO_SSLv2 && WITH_SSLV2 */
- "",
--#ifdef SSL_OP_NO_SSLv3
-+#ifndef OPENSSL_NO_SSL3_METHOD
- opts->no_ssl3 ? " -ssl3" :
--#endif /* SSL_OP_NO_SSLv3 */
-+#endif /* OPENSSL_NO_SSL3_METHOD */
- "",
- #ifdef SSL_OP_NO_TLSv1
- opts->no_tls10 ? " -tls10" :