summaryrefslogtreecommitdiff
path: root/net-ftp
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/Manifest.gzbin3180 -> 3178 bytes
-rw-r--r--net-ftp/ncftp/Manifest3
-rw-r--r--net-ftp/ncftp/files/ncftp-3.2.8-implicit-function-declarations.patch42
-rw-r--r--net-ftp/ncftp/ncftp-3.2.8.ebuild55
4 files changed, 100 insertions, 0 deletions
diff --git a/net-ftp/Manifest.gz b/net-ftp/Manifest.gz
index 55fe8184c31e..ecb5ef6561f2 100644
--- a/net-ftp/Manifest.gz
+++ b/net-ftp/Manifest.gz
Binary files differ
diff --git a/net-ftp/ncftp/Manifest b/net-ftp/ncftp/Manifest
index 81be03e44e75..6734f049bb6f 100644
--- a/net-ftp/ncftp/Manifest
+++ b/net-ftp/ncftp/Manifest
@@ -1,4 +1,7 @@
AUX ncftp-3.2.7-implicit-function-declarations.patch 2456 BLAKE2B 860a88090eae634036ac95c7b1b8530b27c7fbfc67aa70bf4b68b8ba07d9ec770e1f0981a3633c5a79d4d6e03b26a84c3accba445553580ba0dd9ffc2c76d34f SHA512 64fd1b531666cedcca533afa54d0acce163b15315dad9d16715ec17dd2f0696e976bcd5a1e8df7b63783aa9517f9c5bd5680dc0a09bafab97a87cc88b3bedd99
+AUX ncftp-3.2.8-implicit-function-declarations.patch 1058 BLAKE2B bf8e2c862322675c8de9f1da6420c38b68830e7c070cc9ec2b33a44417daa8a43616b8ee78e2a51584e9bd97f5d9d4bd9cf22c7de5a14efa0ecb21883dae0989 SHA512 ae29f7e1d199c25616e3e910dfa7ef7b4af83caa2c7bdad7609c8f118f67b65e1ea4126a25a80cf69874e77b84aba399ad34576efafd39e3f42463510c8161d3
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
EBUILD ncftp-3.2.7-r2.ebuild 1119 BLAKE2B 2cf698fbeab4d3f40c27147c81af2cd280c50dbb57cfe0b5e2d6a64dfa08c38570f7d0c9e0406f112c818a674d35b4fb6a238e8167b2d9f5c5b57301faa17811 SHA512 4060717226acb0657477fe660541827a7c05203f62e4e46a41f2b559985b96fe825b4b7a0ce8ffa54a707efe73134e2f6a90605c27492d2903a5a2f45f922963
+EBUILD ncftp-3.2.8.ebuild 1125 BLAKE2B 3ce1d14e87a7dd6a2185fb559d289381c5d5e5a1eaf8b5b9b7f9589d0dc58941460f95615e7c02cd881efbace13af5c679d53f3d6a8bc21e5e4b0665bcc16cd9 SHA512 f00fee034de9f2a4893a4215532d3e9595fd25e50ed10ba3a590a4721f1302452600bf51b7ce137404ee8638c5ce381c9bab1cfabea186d0da1146251a89c57e
MISC metadata.xml 747 BLAKE2B eb28ac0c7249544d1519dc534092dc0f8575c3f68cd24d9dc1654e0d9ffaabf8359fd64ee7ec321878b31e4e65a1c3767528a9f91301809e07f187867f52f09a SHA512 2d672c6901cf721df89f79f420f61ad709d3570fa0d762cae4becbb7f2426abf7a2812d9899fdee75daab20aab80fa80f796295dd3bbae588fe4eac93204b1f7
diff --git a/net-ftp/ncftp/files/ncftp-3.2.8-implicit-function-declarations.patch b/net-ftp/ncftp/files/ncftp-3.2.8-implicit-function-declarations.patch
new file mode 100644
index 000000000000..8512ad091067
--- /dev/null
+++ b/net-ftp/ncftp/files/ncftp-3.2.8-implicit-function-declarations.patch
@@ -0,0 +1,42 @@
+aclocal.m4 contains missing headers
+
+https://bugs.gentoo.org/875458
+https://bugs.gentoo.org/921487
+https://bugs.gentoo.org/926491
+
+--- a/autoconf_local/aclocal.m4
++++ b/autoconf_local/aclocal.m4
+@@ -3341,7 +3341,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+
+- main(int argc, char **argv)
++ int main(int argc, char **argv)
+ {
+ /* Note: don't actually call readline,
+ * since it may block;
+@@ -5107,6 +5107,7 @@
+ /* includes */
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+
+ #ifdef HAVE_NCURSES_H
+ # define NCURSES_OPAQUE 0
+@@ -5139,7 +5139,7 @@
+ #endif
+
+
+-main(int argc, char **argv)
++int main(int argc, char **argv)
+ {
+ /* Note: don't actually call curses, since it may block;
+ * We just want to see if it (dynamic) linked in okay.
+@@ -6531,6 +6531,7 @@
+ AC_CACHE_CHECK(whether setvbuf arguments are reversed,
+ ac_cv_func_setvbuf_reversed,
+ [AC_TRY_RUN([#include <stdio.h>
++ #include <stdlib.h>
+ /* If setvbuf has the reversed format, exit 0. */
+ main () {
+ /* This call has the arguments reversed.
diff --git a/net-ftp/ncftp/ncftp-3.2.8.ebuild b/net-ftp/ncftp/ncftp-3.2.8.ebuild
new file mode 100644
index 000000000000..559a9c363b13
--- /dev/null
+++ b/net-ftp/ncftp/ncftp-3.2.8.ebuild
@@ -0,0 +1,55 @@
+# 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
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.2.8-implicit-function-declarations.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
+}