1 |
commit: 37461aa8a378d58571c3bd68ad19b421e3492463 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jan 29 08:38:19 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 4 22:59:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37461aa8 |
7 |
|
8 |
net-misc/uftp: version bump and fixes. |
9 |
|
10 |
* Workaround for test FEATURE (test broken in upstream, #644670) |
11 |
* Package requires Elliptic Curves cryptography which may be disabled in |
12 |
openssl[-bindist] (fixes #644674) |
13 |
|
14 |
Closes: https://bugs.gentoo.org/644670 |
15 |
Closes: https://bugs.gentoo.org/644674 |
16 |
Closes: https://github.com/gentoo/gentoo/pull/6994 |
17 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
18 |
|
19 |
net-misc/uftp/Manifest | 1 + |
20 |
net-misc/uftp/uftp-4.9.5.ebuild | 56 +++++++++++++++++++++++++++++++++++++++++ |
21 |
2 files changed, 57 insertions(+) |
22 |
|
23 |
diff --git a/net-misc/uftp/Manifest b/net-misc/uftp/Manifest |
24 |
index 34c587c98ea..025015dfe32 100644 |
25 |
--- a/net-misc/uftp/Manifest |
26 |
+++ b/net-misc/uftp/Manifest |
27 |
@@ -1,2 +1,3 @@ |
28 |
DIST uftp-3.7.1.tar 849920 BLAKE2B 32a2ccca01f4b8ee205301a2bb4ac30da4f17bf0d8a24f885ec40a430b2cc478efcd504ba118ef7f55c43ef53a6fb3e6caa2e2cebda93c254ab289a8683488a6 SHA512 93fefe1d4c5310bfa6470a78011e63aea8cc9cf59a73ea24920d3ad8c835476bbc410b3669ee79c847eba7d21d61f600e09529d5e6f2ed24076f663a34d99c15 |
29 |
DIST uftp-4.9.4.tar.gz 243819 BLAKE2B b7aa75f8db82480912dd4cf8199dce7e8170db837853f16a2d8e5a4b7cf190416b7a2a23e170a4837f59a7bba030b0434383bceae9b253eb1d2fc13f6fcd26e7 SHA512 f3c799265a55e0cb536f17be3a0ebfad5f81284255083ebe9a12fda4b5ce8407f05a710cb32a41f3dccbc0ac90367c44d4b67058bdbeaa4f2f8efe732463ebf0 |
30 |
+DIST uftp-4.9.5.tar.gz 243999 BLAKE2B 32f6e6fef062e3b0696db775f2e925fdd53f03d8e04181f65140372abc85674b90579ea4b0c48cf21378c97552d06374005e70b6f1e9af7c03b7478d0b86e26c SHA512 3a4809cc61555ee26de6c1e1ac8525c0345a3b9555cf0a2094ff06eb6f409d1b3ca16b94d7b953dba6d1ae1d8c69a646d575a6357cd178c374bef68888744086 |
31 |
|
32 |
diff --git a/net-misc/uftp/uftp-4.9.5.ebuild b/net-misc/uftp/uftp-4.9.5.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..a596a8380bb |
35 |
--- /dev/null |
36 |
+++ b/net-misc/uftp/uftp-4.9.5.ebuild |
37 |
@@ -0,0 +1,56 @@ |
38 |
+# Copyright 1999-2018 Gentoo Foundation |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=6 |
42 |
+ |
43 |
+inherit toolchain-funcs |
44 |
+ |
45 |
+DESCRIPTION="Encrypted UDP based FTP with multicast" |
46 |
+HOMEPAGE="http://uftp-multicast.sourceforge.net/" |
47 |
+SRC_URI="mirror://sourceforge/${PN}-multicast/${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-3" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="+server ssl" |
53 |
+ |
54 |
+# openssl with EC required, see #644674 |
55 |
+DEPEND="ssl? ( dev-libs/openssl:0=[-bindist] )" |
56 |
+RDEPEND="${DEPEND}" |
57 |
+ |
58 |
+# Workaround, see #644670 |
59 |
+RESTRICT=test |
60 |
+ |
61 |
+PATCHES=( |
62 |
+ "${FILESDIR}/${PN}-4.9.4_makefile.patch" |
63 |
+) |
64 |
+ |
65 |
+src_compile() { |
66 |
+ use ssl || local opt="NO_ENCRYPTION=1" |
67 |
+ emake CC=$(tc-getCC) $opt uftp uftp_keymgt |
68 |
+ use server && emake CC=$(tc-getCC) $opt uftpd uftpproxyd |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ dobin uftp uftp_keymgt |
73 |
+ dodoc {Changes,protocol,ReadMe}.txt |
74 |
+ doman uftp.1 uftp_keymgt.1 |
75 |
+ |
76 |
+ if use server ; then |
77 |
+ dosbin uftpd uftpproxyd |
78 |
+ newinitd "${FILESDIR}/uftpd.init" uftpd |
79 |
+ newconfd "${FILESDIR}/uftpd.conf" uftpd |
80 |
+ newinitd "${FILESDIR}/uftpproxyd.init" uftpproxyd |
81 |
+ newconfd "${FILESDIR}/uftpproxyd.conf" uftpproxyd |
82 |
+ doman uftpd.1 uftpproxyd.1 |
83 |
+ insinto /etc/logrotate.d |
84 |
+ newins "${FILESDIR}/logrotate" uftpd |
85 |
+ fi |
86 |
+} |
87 |
+ |
88 |
+pkg_postinst() { |
89 |
+ if use server ; then |
90 |
+ ewarn "Please note, uftpd 4.x server is not backward compatible with" |
91 |
+ ewarn "uftp 3.x clients! Please upgrade clients before servers." |
92 |
+ fi |
93 |
+} |