From 0d1b8df0eebfadd1f1e8e9c6eadb39d5c7efd444 Mon Sep 17 00:00:00 2001 From: Petr Vaněk Date: Tue, 6 Aug 2019 11:07:49 +0200 Subject: net-analyzer/sslsplit: update 9999 ebuild, EAPI-7 Bump MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Petr Vaněk Signed-off-by: Joonas Niilola --- net-analyzer/sslsplit/sslsplit-9999.ebuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'net-analyzer') diff --git a/net-analyzer/sslsplit/sslsplit-9999.ebuild b/net-analyzer/sslsplit/sslsplit-9999.ebuild index f013b4bb5552..5ea7c49b62cf 100644 --- a/net-analyzer/sslsplit/sslsplit-9999.ebuild +++ b/net-analyzer/sslsplit/sslsplit-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit flag-o-matic @@ -22,23 +22,25 @@ else fi RDEPEND=" - elibc_musl? ( sys-libs/fts-standalone ) dev-libs/libevent[ssl,threads] - dev-libs/openssl:0=" + 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 's/-D_FORTIFY_SOURCE=2 //g' GNUmakefile || die - sed -i 's/\/SSLSPLIT_FEATURES/g' GNUmakefile build.c || die + sed -i -e 's/-D_FORTIFY_SOURCE=2 //g' \ + -e 's/\/SSLSPLIT_FEATURES/g' GNUmakefile || die sed -i '/opts_suite/d' main.t.c || die } src_install() { - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" SYSCONFDIR="${EPREFIX}/etc" install dodoc AUTHORS.md NEWS.md README.md } -- cgit v1.2.3-65-gdbad