summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2019-10-05 16:15:44 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-10-09 08:21:19 +0300
commit4aa724d7cee1c227a25f3c5d4e12050f51522539 (patch)
treeb83d80e20cb20b74b08dfcb614f5cbe528287847 /net-analyzer
parentwww-servers/puma: add 4.2.1 (diff)
downloadgentoo-4aa724d7cee1c227a25f3c5d4e12050f51522539.tar.gz
gentoo-4aa724d7cee1c227a25f3c5d4e12050f51522539.tar.bz2
gentoo-4aa724d7cee1c227a25f3c5d4e12050f51522539.zip
net-analyzer/sslsplit: version bump to 0.5.5
Closes: https://bugs.gentoo.org/696720 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/13162 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/sslsplit/Manifest1
-rw-r--r--net-analyzer/sslsplit/sslsplit-0.5.5.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/net-analyzer/sslsplit/Manifest b/net-analyzer/sslsplit/Manifest
index 489c8c08bb3f..c06f6601455f 100644
--- a/net-analyzer/sslsplit/Manifest
+++ b/net-analyzer/sslsplit/Manifest
@@ -1 +1,2 @@
DIST sslsplit-0.5.4.tar.gz 1750390 BLAKE2B 4ab9014c91938397c469bdc49dd307c47375047f018a5caaf8b32eb84596d2fbe623702349dc85776071363b2167c6ee8918604c6bf2843d357ffe64df36bb1b SHA512 5220cbf26a2d5201c4b36207ec52b290f95002c6d5a4d828868d163cff528095add8b333ecb844b86b4e83f62934aa840f80d3838d00997acd50b6e30cee7aed
+DIST sslsplit-0.5.5.tar.gz 1846850 BLAKE2B b223491c480070dd9718804f0ceb8fec9fe519cf0d189fd9bf9cc4dce5ae00d93227dca42349b42d2b82c62d0d92c451442670f6eae2f8d2beedef437907299b SHA512 f236f1ccce8bdb4a09659551defd73b73fbf660ceedace6ffbbb687c1de4488f74a23274b53a67e7001dfcdbd0ede7270ba8261feab633a25ae9f57cce468f39
diff --git a/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
new file mode 100644
index 000000000000..5ea7c49b62cf
--- /dev/null
+++ b/net-analyzer/sslsplit/sslsplit-0.5.5.ebuild
@@ -0,0 +1,46 @@
+# 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=""
+
+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" SYSCONFDIR="${EPREFIX}/etc" install
+ dodoc AUTHORS.md NEWS.md README.md
+}