summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-ftp/uftpd/uftpd-2.13.ebuild24
1 files changed, 18 insertions, 6 deletions
diff --git a/net-ftp/uftpd/uftpd-2.13.ebuild b/net-ftp/uftpd/uftpd-2.13.ebuild
index fc8503685308..d2c9e2b701b4 100644
--- a/net-ftp/uftpd/uftpd-2.13.ebuild
+++ b/net-ftp/uftpd/uftpd-2.13.ebuild
@@ -9,14 +9,26 @@ SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
-DEPEND="
+RDEPEND="
>=dev-libs/libite-1.5
>=dev-libs/libuev-2.2"
-RDEPEND="
- ${DEPEND}
+DEPEND="
+ ${RDEPEND}
!net-misc/uftp
- !net-ftp/atftp"
+ !net-ftp/atftp
+ !net-ftp/tftp-hpa[server]
+ test? (
+ net-ftp/ftp
+ net-ftp/tnftp
+ net-ftp/tftp-hpa[client]
+ )"
+
+src_test() {
+ # can't run the tests in parallel since the order matters
+ emake -j 1 check
+}