commit: 2acbbbc26d72a0e838067e593e43d85864979fb6 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Fri Dec 15 06:02:40 2017 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Sun Jan 14 15:48:28 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2acbbbc2
net-misc/uftp: additional enhancements. More fixes for slot dependency, used PATCHES, migration to EAPI 6. Package-Manager: Portage-2.3.13, Repoman-2.3.3 net-misc/uftp/uftp-3.7.1.ebuild | 12 ++++++------ net-misc/uftp/uftp-4.9.4.ebuild | 11 +++++------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/net-misc/uftp/uftp-3.7.1.ebuild b/net-misc/uftp/uftp-3.7.1.ebuild index 4b12b671c17..41aed30ba67 100644 --- a/net-misc/uftp/uftp-3.7.1.ebuild +++ b/net-misc/uftp/uftp-3.7.1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Encrypted UDP based FTP with multicast" HOMEPAGE="http://www.tcnj.edu/~bush/uftp.html" @@ -14,12 +14,12 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+server ssl" -DEPEND="ssl? ( dev-libs/openssl:0 )" +DEPEND="ssl? ( dev-libs/openssl:0= )" RDEPEND="${DEPEND}" -src_prepare() { - epatch "${FILESDIR}/${PN}-3.7_makefile.patch" -} +PATCHES=( + "${FILESDIR}/${PN}-3.7_makefile.patch" +) src_compile() { use ssl || local opt="NO_ENCRYPTION=1" diff --git a/net-misc/uftp/uftp-4.9.4.ebuild b/net-misc/uftp/uftp-4.9.4.ebuild index ffc9e730c61..74358db417d 100644 --- a/net-misc/uftp/uftp-4.9.4.ebuild +++ b/net-misc/uftp/uftp-4.9.4.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Encrypted UDP based FTP with multicast" HOMEPAGE="http://uftp-multicast.sourceforge.net/" @@ -14,13 +14,12 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+server ssl" -DEPEND="ssl? ( dev-libs/openssl:0 )" +DEPEND="ssl? ( dev-libs/openssl:0= )" RDEPEND="${DEPEND}" -src_prepare() { - epatch "${FILESDIR}/${P}_makefile.patch" - default -} +PATCHES=( + "${FILESDIR}/${P}_makefile.patch" +) src_compile() { use ssl || local opt="NO_ENCRYPTION=1"
