From 294d5ec820bddfa0aded7dc0043e06c903050722 Mon Sep 17 00:00:00 2001 From: Viorel Munteanu Date: Sun, 16 Jan 2022 14:10:28 +0200 Subject: net-ftp/ncftp: bump to EAPI 8 and fix bugs Closes: https://bugs.gentoo.org/727774 Closes: https://bugs.gentoo.org/727788 Closes: https://bugs.gentoo.org/821610 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Viorel Munteanu Closes: https://github.com/gentoo/gentoo/pull/23823 Signed-off-by: Florian Schmaus --- net-ftp/ncftp/metadata.xml | 13 +++++++-- net-ftp/ncftp/ncftp-3.2.6-r4.ebuild | 55 +++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 net-ftp/ncftp/ncftp-3.2.6-r4.ebuild (limited to 'net-ftp') diff --git a/net-ftp/ncftp/metadata.xml b/net-ftp/ncftp/metadata.xml index 17eb3eeb039e..454915700044 100644 --- a/net-ftp/ncftp/metadata.xml +++ b/net-ftp/ncftp/metadata.xml @@ -1,8 +1,15 @@ - - + + ceamac.paragon@gmail.com + Viorel Munteanu + + + proxy-maint@gentoo.org + Proxy Maintainers + + NcFTP Client (also known as just NcFTP) is a set of FREE application programs implementing the File Transfer Protocol (FTP). @@ -11,5 +18,5 @@ popular alternative to the FTP program, /usr/bin/ftp. NcFTP offers many ease-of-use and performance enhancements over the stock ftp client, and runs on a wide variety of UNIX platforms as well as operating systems such as Microsoft Windows and Apple Mac OS X. - + diff --git a/net-ftp/ncftp/ncftp-3.2.6-r4.ebuild b/net-ftp/ncftp/ncftp-3.2.6-r4.ebuild new file mode 100644 index 000000000000..ec444773157b --- /dev/null +++ b/net-ftp/ncftp/ncftp-3.2.6-r4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit autotools toolchain-funcs + +DESCRIPTION="An extremely configurable ftp client" +HOMEPAGE="https://www.ncftp.com/" +SRC_URI=" + https://ftp.mirrorservice.org/sites/ftp.${PN}.com/${PN}/${P}-src.tar.xz +" + +LICENSE="Clarified-Artistic" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +IUSE="pch" + +DEPEND=" + sys-libs/ncurses:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-3.2.6-fno-common.patch +) + +src_prepare() { + default + + sed -i -e '/^AR=/d' autoconf_local/aclocal.m4 || die + # 727774 + sed -i -e 's/STRIP=".*"/STRIP=":"/' autoconf_local/aclocal.m4 || die + + AT_M4DIR=autoconf_local/ eautoreconf +} + +src_configure() { + tc-export AR CC + LC_ALL="C" \ + LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses)" \ + econf \ + $(use_enable pch precomp) \ + --disable-ccdv \ + --disable-universal +} + +src_install() { + default + dodoc README.txt doc/*.txt + docinto html + dodoc doc/html/*.html +} -- cgit v1.2.3-65-gdbad