commit: 364a8e35a524db25c4e2ccaea41b7434e693876f Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Apr 2 02:03:50 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Apr 3 15:54:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=364a8e35
net-analyzer/cryptcat: EAPI 7, eutils-- Signed-off-by: Sam James <sam <AT> gentoo.org> net-analyzer/cryptcat/cryptcat-1.2.1-r2.ebuild | 16 ++++++++++------ net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch | 4 ++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/net-analyzer/cryptcat/cryptcat-1.2.1-r2.ebuild b/net-analyzer/cryptcat/cryptcat-1.2.1-r2.ebuild index 0c94c1940d9..a3d959ea9cb 100644 --- a/net-analyzer/cryptcat/cryptcat-1.2.1-r2.ebuild +++ b/net-analyzer/cryptcat/cryptcat-1.2.1-r2.ebuild @@ -1,22 +1,26 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils toolchain-funcs +EAPI=7 + +inherit toolchain-funcs DESCRIPTION="netcat clone extended with twofish encryption" HOMEPAGE="http://cryptcat.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${PN}-unix-${PV}.tar" +S="${WORKDIR}"/unix LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" -S=${WORKDIR}/unix +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-misc.patch +) src_prepare() { - epatch "${FILESDIR}"/${P}-build.patch - epatch "${FILESDIR}"/${P}-misc.patch + default tc-export CC CXX } diff --git a/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch b/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch index 17ec33489c8..0b9c62b597f 100644 --- a/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch +++ b/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch @@ -1,5 +1,5 @@ ---- a/unix/Makefile -+++ b/unix/Makefile +--- a/Makefile ++++ b/Makefile @@ -10,16 +10,14 @@ # debugging # DFLAGS = -DTEST -DDEBUG