package/ncftp: bump to version 3.2.9
Remove upstreamed patches. Autoreconf is broken. Hence, use the configure script directly. Fixes: https://autobuild.buildroot.org/results/60c3dbe02af354ff9820258ffd00eec088114d69/ Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
01ef4c4410
commit
f8bc271115
@@ -1,19 +0,0 @@
|
||||
fix select arg detection
|
||||
|
||||
Reference:
|
||||
https://bugs.gentoo.org/921487
|
||||
|
||||
Upstream: N/A, unresponsive contact email address.
|
||||
|
||||
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
|
||||
--- a/autoconf_local/aclocal.m4
|
||||
+++ b/autoconf_local/aclocal.m4
|
||||
@@ -4196,7 +4196,7 @@
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
#include <sys/socket.h> /* MG: always incl */
|
||||
-extern select ($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl
|
||||
+extern int select ($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl
|
||||
[ac_not_found=no ; break 3],ac_not_found=yes)
|
||||
done
|
||||
done
|
||||
@@ -1,72 +0,0 @@
|
||||
Fix compilation with clang-16
|
||||
|
||||
aclocal.m4 contains code that no longer compiles: missing headers and missing
|
||||
return types.
|
||||
|
||||
Reference:
|
||||
https://gitweb.gentoo.org/repo/gentoo.git/tree/net-ftp/ncftp/files/ncftp-3.2.7-fix-clang.patch
|
||||
|
||||
Upstream: N/A, unresponsive contact email address.
|
||||
|
||||
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
|
||||
--- a/autoconf_local/aclocal.m4
|
||||
+++ b/autoconf_local/aclocal.m4
|
||||
@@ -3057,6 +3057,7 @@
|
||||
#include <sys/uio.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
+#include <string.h>
|
||||
],[
|
||||
struct sockaddr_un uaddr;
|
||||
|
||||
@@ -3285,6 +3286,7 @@
|
||||
#ifdef HAVE_RESOLV_H
|
||||
# include <resolv.h>
|
||||
#endif
|
||||
+#include <string.h>
|
||||
],[
|
||||
/* function-body */
|
||||
int len;
|
||||
@@ -3363,6 +3365,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
+ int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
/* Note: don't actually call readline,
|
||||
@@ -5145,6 +5148,7 @@
|
||||
#ifdef HAVE_STDLIB_H
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
+#include <string.h>
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
# define NCURSES_OPAQUE 0
|
||||
@@ -5176,6 +5180,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
+int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
/* Note: don't actually call curses, since it may block;
|
||||
@@ -6510,7 +6515,6 @@
|
||||
#endif
|
||||
#endif /* MG */
|
||||
|
||||
-int
|
||||
int main(void)
|
||||
{
|
||||
char *data, *data2, *data3;
|
||||
@@ -6607,8 +6611,9 @@
|
||||
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 () {
|
||||
+ int main (void) {
|
||||
/* This call has the arguments reversed.
|
||||
A reversed system may check and see that the address of main
|
||||
is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 d41c5c4d6614a8eae2ed4e4d7ada6b6d3afcc9fb65a4ed9b8711344bef24f7e8 ncftp-3.2.7-src.tar.xz
|
||||
sha256 f1108e77782376f8aec691f68297a3364a9a7c2d9bb12e326f550ff9770f47a7 ncftp-3.2.9-src.tar.gz
|
||||
sha256 4fe2f063d25d79c49712a272ebb68e050c703eed9c66c80108427edfe3285580 doc/LICENSE.txt
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NCFTP_VERSION = 3.2.7
|
||||
NCFTP_SOURCE = ncftp-$(NCFTP_VERSION)-src.tar.xz
|
||||
NCFTP_VERSION = 3.2.9
|
||||
NCFTP_SOURCE = ncftp-$(NCFTP_VERSION)-src.tar.gz
|
||||
NCFTP_SITE = https://www.ncftp.com/public_ftp/ncftp
|
||||
NCFTP_TARGET_BINS = ncftp
|
||||
NCFTP_LICENSE = ClArtistic
|
||||
@@ -14,15 +14,6 @@ NCFTP_LICENSE_FILES = doc/LICENSE.txt
|
||||
NCFTP_DEPENDENCIES = host-autoconf
|
||||
NCFTP_CONF_OPTS = --disable-ccdv
|
||||
|
||||
# The bundled configure script is generated by autoconf 2.13 and doesn't
|
||||
# detect cross-compilation correctly. Therefore, we have to regenerate it.
|
||||
# We need to pass -I because of the non-standard m4 directory name, and
|
||||
# none of the other autotools are used, so the below is the easiest.
|
||||
define NCFTP_RUN_AUTOCONF
|
||||
(cd $(@D); $(AUTOCONF) -I$(@D)/autoconf_local/)
|
||||
endef
|
||||
NCFTP_PRE_CONFIGURE_HOOKS += NCFTP_RUN_AUTOCONF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCFTP_GET),y)
|
||||
NCFTP_TARGET_BINS += ncftpget
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user