summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2019-08-06 11:07:49 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-08-07 19:26:55 +0300
commit0d1b8df0eebfadd1f1e8e9c6eadb39d5c7efd444 (patch)
tree5a21f31fbb1ce0f1054b3707e5caf15ec1761506 /net-analyzer/sslsplit
parentnet-analyzer/sslsplit: Bump to version 0.5.4 (diff)
downloadgentoo-0d1b8df0eebfadd1f1e8e9c6eadb39d5c7efd444.tar.gz
gentoo-0d1b8df0eebfadd1f1e8e9c6eadb39d5c7efd444.tar.bz2
gentoo-0d1b8df0eebfadd1f1e8e9c6eadb39d5c7efd444.zip
net-analyzer/sslsplit: update 9999 ebuild, EAPI-7 Bump
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')
-rw-r--r--net-analyzer/sslsplit/sslsplit-9999.ebuild14
1 files changed, 8 insertions, 6 deletions
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/\<FEATURES\>/SSLSPLIT_FEATURES/g' GNUmakefile build.c || die
+ 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
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" SYSCONFDIR="${EPREFIX}/etc" install
dodoc AUTHORS.md NEWS.md README.md
}