diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2021-02-08 02:37:26 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-12 15:10:14 +0000 |
commit | 69f7abc47127b930547968bc9b21a5031a09a6ef (patch) | |
tree | 38632bd33eef1663bb3fb9d23a3e0637d8afa858 /net-misc/uftp | |
parent | media-gfx/libimagequant: drop old (diff) | |
download | gentoo-69f7abc47127b930547968bc9b21a5031a09a6ef.tar.gz gentoo-69f7abc47127b930547968bc9b21a5031a09a6ef.tar.bz2 gentoo-69f7abc47127b930547968bc9b21a5031a09a6ef.zip |
net-misc/uftp: update to 5.0
Closes: https://bugs.gentoo.org/769242
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19371
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/uftp')
-rw-r--r-- | net-misc/uftp/Manifest | 1 | ||||
-rw-r--r-- | net-misc/uftp/metadata.xml | 3 | ||||
-rw-r--r-- | net-misc/uftp/uftp-5.0.ebuild | 49 |
3 files changed, 53 insertions, 0 deletions
diff --git a/net-misc/uftp/Manifest b/net-misc/uftp/Manifest index 9f1cf5a6aa95..3e5dc4d4a705 100644 --- a/net-misc/uftp/Manifest +++ b/net-misc/uftp/Manifest @@ -1 +1,2 @@ DIST uftp-4.10.1.tar.gz 245625 BLAKE2B 23b01758fa5a0387471f8d95b24738d8157801822b8a07a59072eeab81277ceb5283463465ed522af6971d65141712ead3e2206caa286bedece9e0c34a149873 SHA512 9ef4594e0cde2f64970523661fcee07f34600bd4f2ab235c34bde9d20ef1b0312d5e430e1f52ab605c188c42aee4a0384ed02ae9f5e93b3edc062f848a8130bf +DIST uftp-5.0.tar.gz 239651 BLAKE2B 8fcba8c0fc2db2dac941eaff7ebc7f2b25c53dd2e021985a2c1d93c29ce0afb2bd7da79bb5a20e0d45f703837ebb375d07825456edc217abe32ff51665a6e237 SHA512 f76e86559971facd806141fae88c6c47ec8361440044e429126391c6ac17f5f6ec0c79950816f9329cbb85a6be31d0700d18f599ef0b56f8df3ebe03fad4e27a diff --git a/net-misc/uftp/metadata.xml b/net-misc/uftp/metadata.xml index 2a33d8eedc97..95eaf34a95da 100644 --- a/net-misc/uftp/metadata.xml +++ b/net-misc/uftp/metadata.xml @@ -9,6 +9,9 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> +<upstream> + <remote-id type="sourceforge">uftp-multicast</remote-id> +</upstream> <use> <flag name="server">Install uftp server daemon</flag> </use> diff --git a/net-misc/uftp/uftp-5.0.ebuild b/net-misc/uftp/uftp-5.0.ebuild new file mode 100644 index 000000000000..b15f9e8f9e37 --- /dev/null +++ b/net-misc/uftp/uftp-5.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Encrypted UDP based FTP with multicast" +HOMEPAGE="http://uftp-multicast.sourceforge.net/" +SRC_URI="https://download.sourceforge.net/${PN}-multicast/source-tar/${P}.tar.gz" + +LICENSE="GPL-3-with-openssl-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+server ssl" + +# openssl with EC required, see #644674 +DEPEND="ssl? ( dev-libs/openssl:0=[-bindist] )" +RDEPEND="${DEPEND}" + +# Workaround, see #644670 +RESTRICT=test + +PATCHES=( + "${FILESDIR}/${PN}-4.10.1_makefile.patch" +) + +src_compile() { + use ssl || local opt="NO_ENCRYPTION=1" + emake CC=$(tc-getCC) $opt uftp uftp_keymgt + use server && emake CC=$(tc-getCC) $opt uftpd uftpproxyd +} + +src_install() { + dobin uftp uftp_keymgt + dodoc {Changes,protocol,ReadMe}.txt + doman {uftp,uftp_keymgt}.1 + + if use server ; then + dosbin uftpd uftpproxyd + newinitd "${FILESDIR}/uftpd.init" uftpd + newconfd "${FILESDIR}/uftpd.conf" uftpd + newinitd "${FILESDIR}/uftpproxyd.init" uftpproxyd + newconfd "${FILESDIR}/uftpproxyd.conf" uftpproxyd + doman {uftpd,uftpproxyd}.1 + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" uftpd + fi +} |