[arch-commits] Commit in sslsplit/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Aug 6 05:02:08 UTC 2019


    Date: Tuesday, August 6, 2019 @ 05:02:07
  Author: foutrelis
Revision: 497581

archrelease: copy trunk to community-staging-x86_64

Added:
  sslsplit/repos/community-staging-x86_64/
  sslsplit/repos/community-staging-x86_64/PKGBUILD
    (from rev 497579, sslsplit/trunk/PKGBUILD)
  sslsplit/repos/community-staging-x86_64/fix-tests.patch
    (from rev 497579, sslsplit/trunk/fix-tests.patch)

-----------------+
 PKGBUILD        |   41 +++++++++++++++++++++++++++++++++++++++++
 fix-tests.patch |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

Copied: sslsplit/repos/community-staging-x86_64/PKGBUILD (from rev 497579, sslsplit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-08-06 05:02:07 UTC (rev 497581)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=sslsplit
+pkgver=0.5.2
+pkgrel=2
+pkgdesc='Tool for man-in-the-middle attacks against SSL/TLS encrypted network connections'
+url='https://www.roe.ch/SSLsplit'
+arch=('x86_64')
+license=('BSD')
+depends=('libevent' 'openssl')
+checkdepends=('check')
+source=(https://mirror.roe.ch/rel/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.asc}
+        fix-tests.patch)
+sha512sums=('6c8a679c8016255e11adabb4f2a2e94cc23386ce33bc128e5bab2e5187f042e8daf8c720eef0f4fd3e7e94250deaf33b3c9253ffe05f1e4bdbd9a31f77785cc2'
+            'SKIP'
+            '092ad2dc4dba64ff17c3401053218231ad9890b40d999a9b74b837c8f42a60fb33f2cc41de40aa5ef291ed69c7c90c47760c2148406bbae6b5dbba8a1f84f0fe')
+validpgpkeys=('BFF9C7D7EA0EAC7F1AA55B3EFABE3324B5D3397E') # Daniel Roethlisberger <daniel at roe.ch>
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i ../fix-tests.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make -j1 test
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" PREFIX=/usr install
+  install -Dm 644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md NEWS.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Copied: sslsplit/repos/community-staging-x86_64/fix-tests.patch (from rev 497579, sslsplit/trunk/fix-tests.patch)
===================================================================
--- community-staging-x86_64/fix-tests.patch	                        (rev 0)
+++ community-staging-x86_64/fix-tests.patch	2019-08-06 05:02:07 UTC (rev 497581)
@@ -0,0 +1,32 @@
+From 209ef11bb0e63681e54a9d74ea635bc6048450a3 Mon Sep 17 00:00:00 2001
+From: Daniel Roethlisberger <daniel at roe.ch>
+Date: Sat, 27 Oct 2018 00:24:01 +0200
+Subject: [PATCH] Add session to testreqs and make server.pem order-only
+ dependency
+
+---
+ extra/pki/GNUmakefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/extra/pki/GNUmakefile b/extra/pki/GNUmakefile
+index 8053809..c23ae23 100644
+--- a/extra/pki/GNUmakefile
++++ b/extra/pki/GNUmakefile
+@@ -17,7 +17,7 @@ NO_SSL2:=	$(shell $(OPENSSL) s_server -h 2>&1|awk '/-no_ssl2/ {print $$1}')
+ 
+ all: rsa dsa ec targets server pwd
+ 
+-testreqs: rsa targets server
++testreqs: rsa targets server session
+ 
+ session: session.pem
+ 
+@@ -112,7 +112,7 @@ targets/wildcard.roe.ch.pem: rsa.crt
+ 		targets/wildcard.roe.ch.crt
+ 
+ # localhost network connectivity is required
+-session.pem: server.pem
++session.pem: | server.pem
+ 	$(OPENSSL) s_server -accept 46143 -cert server.pem -quiet $(NO_SSL2) & \
+ 		pid=$$! ; \
+ 		sleep 1 ; \


More information about the arch-commits mailing list