net-misc/uftp: additional enhancements.
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>
Fri, 15 Dec 2017 06:02:40 +0000 (11:02 +0500)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 14 Jan 2018 15:48:28 +0000 (16:48 +0100)
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
net-misc/uftp/uftp-4.9.4.ebuild

index 4b12b671c17abfd22c18d6dfd13f6420aa480e89..41aed30ba67bc03d0ba8cd04fd99575a067cfa3d 100644 (file)
@@ -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"
index ffc9e730c616f8abfd05a392a8a2b890c5e33de5..74358db417d4e3bc2ce33fbf9373c428242a3c06 100644 (file)
@@ -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"