summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2019-08-06 10:58:30 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-08-07 19:26:55 +0300
commit6d7e40d27f49d4d2015a3ec81e12da91b6d25b73 (patch)
tree6a4a153c90bfaa82439c252a2beddf58cc52f9c2 /net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
parentapp-metrics/elasticsearch_exporter: Version bump to 1.1.0 (diff)
downloadgentoo-6d7e40d27f49d4d2015a3ec81e12da91b6d25b73.tar.gz
gentoo-6d7e40d27f49d4d2015a3ec81e12da91b6d25b73.tar.bz2
gentoo-6d7e40d27f49d4d2015a3ec81e12da91b6d25b73.zip
net-analyzer/sslsplit: Bump to version 0.5.4
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-analyzer/sslsplit/sslsplit-0.5.4.ebuild')
-rw-r--r--net-analyzer/sslsplit/sslsplit-0.5.4.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild b/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
new file mode 100644
index 000000000000..af09469872b6
--- /dev/null
+++ b/net-analyzer/sslsplit/sslsplit-0.5.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="Transparent SSL/TLS interception"
+HOMEPAGE="https://www.roe.ch/SSLsplit"
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="elibc_musl test"
+
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/droe/${PN}"
+ EGIT_BRANCH="develop"
+else
+ SRC_URI="https://github.com/droe/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="
+ dev-libs/libevent[ssl,threads]
+ dev-libs/openssl:0=
+ net-libs/libnet:1.1
+ elibc_musl? ( sys-libs/fts-standalone )"
+DEPEND="${RDEPEND}
+ test? ( dev-libs/check )"
+BDEPEND=""
+
+PATCHES=(
+ "${FILESDIR}/${P}-install.patch"
+)
+
+src_prepare() {
+ default
+
+ use elibc_musl && append-libs "-lfts"
+
+ sed -i -e 's/-D_FORTIFY_SOURCE=2 //g' \
+ -e 's/\<FEATURES\>/SSLSPLIT_FEATURES/g' GNUmakefile || die
+ sed -i '/opts_suite/d' main.t.c || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+ dodoc AUTHORS.md NEWS.md README.md sslsplit.conf
+}