net-ftp/ncftp: drop 3.2.8

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu 2025-11-17 08:37:28 +02:00
parent 9412fee550
commit 8888d4e162
No known key found for this signature in database
GPG Key ID: 0CE5A97D9310DAB0
3 changed files with 0 additions and 98 deletions

View File

@ -1,2 +1 @@
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

View File

@ -1,42 +0,0 @@
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.

View File

@ -1,55 +0,0 @@
# 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
}