commit:     0eddebd12245c29621c5a76784f3b7a1573cf39c
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 29 08:55:34 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Sep 29 08:56:42 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eddebd1

net-ftp/ncftp: add 3.3.0

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 net-ftp/ncftp/Manifest           |  1 +
 net-ftp/ncftp/ncftp-3.3.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/net-ftp/ncftp/Manifest b/net-ftp/ncftp/Manifest
index 7e0764d8d200..41277e593ec9 100644
--- a/net-ftp/ncftp/Manifest
+++ b/net-ftp/ncftp/Manifest
@@ -1,2 +1,3 @@
 DIST ncftp-3.2.7-src.tar.xz 422480 BLAKE2B 
d075be273d534b11385b8ee5839835102d9f69a6cc8fc8f661b85be32c1cad3b1c4bab2c99b8c47bc3c40d18275524b88da7d8e70985dbb0cfb7ff5ea07b70f3
 SHA512 
b755385a57ac2487625c15985f091d9e1b71073b2593faffe1f2bbba34e691cfff9ffd8448b048f223ea08428e890f30c49a903e4f938393e3c0e4ae03ddab37
 DIST ncftp-3.2.8-src.tar.gz 691081 BLAKE2B 
0b88dfbf57befc1613886519698510bb85cc7a8e11f814d6188684551444ee39f17f4e40b71d8388853236be305644d0894e6de5b78c00955504c6f94bfc96ff
 SHA512 
df5e22b48de718212312080964af85c572c8dba0d56d684ef531cdeefc8f4fcddab629ee8e2b94df69665fe160710fb253c694df8e9fdd495c9a1e78660fb8f1
+DIST ncftp-3.3.0-src.tar.gz 640869 BLAKE2B 
86e9d4833acf173995cd88c4881b71b82e91ed995eb4b0134d31dcc6d2054da5125d76ccb8828dc3be1f161fe2155bfee528019d55146b5fcbda5fecc06f10d8
 SHA512 
44ac7326e2cda957b5e32e8130ec8b7c8180d085ff400209dd86c0284b5b07fd2b794ee5d707bdaad4f7581553bd12ac10914e2ef0a7dc0913a0ca540d0322a2

diff --git a/net-ftp/ncftp/ncftp-3.3.0.ebuild b/net-ftp/ncftp/ncftp-3.3.0.ebuild
new file mode 100644
index 000000000000..872731e48acb
--- /dev/null
+++ b/net-ftp/ncftp/ncftp-3.3.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 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://www.ncftp.com/public_ftp/${PN}/${P}-src.tar.gz";
+
+LICENSE="Clarified-Artistic"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
+IUSE="pch"
+
+DEPEND="
+       sys-libs/ncurses:=
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       default
+
+       sed \
+               -e '/^AR=/d' \
+               -e 's/STRIP=".*"/STRIP=":"/' \
+               -e 's/\<AC_LANG\>/_AC_LANG/' \
+               -i 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
+}

Reply via email to