blob: d936b50b56a2e3cff93077d95ceea8e7b2fe4baf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="The no nonsense TFTP/FTP server"
HOMEPAGE="https://github.com/troglobit/uftpd"
SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-libs/libite-1.5
>=dev-libs/libuev-2.2"
RDEPEND="
${DEPEND}
!net-misc/uftp
!net-ftp/atftp
!net-ftp/tftp-hpa[server(+)]"
BDEPEND="
virtual/pkgconfig
test? (
net-ftp/ftp
net-ftp/tnftp
>=net-ftp/tftp-hpa-5.2-r2[client]
)"
src_test() {
# can't run the tests in parallel since the order matters
emake -j 1 check
}
src_install() {
default
newinitd "${FILESDIR}"/uftpd.init uftpd
newconfd "${FILESDIR}"/uftpd.confd uftpd
}
|