summaryrefslogtreecommitdiff
path: root/net-ftp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-04 00:00:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-04 00:00:19 +0100
commit7f3fecbb5b871825fe9632f46659869cab6a3769 (patch)
treedd2be4fe7ee3475ca4ad093698f0f8fd1e0965dc /net-ftp
parenta98588cfddf3d6e88a5f17d7f399b695163c7a85 (diff)
gentoo auto-resync : 04:05:2024 - 00:00:19
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/Manifest.gzbin3191 -> 3189 bytes
-rw-r--r--net-ftp/ncftp/Manifest2
-rw-r--r--net-ftp/ncftp/files/ncftp-3.2.7-implicit-function-declarations.patch93
-rw-r--r--net-ftp/ncftp/ncftp-3.2.7-r2.ebuild55
4 files changed, 150 insertions, 0 deletions
diff --git a/net-ftp/Manifest.gz b/net-ftp/Manifest.gz
index 0bdbce9b24b7..eca7dd388a0b 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 aa9f2ad0e5dc..294955fde230 100644
--- a/net-ftp/ncftp/Manifest
+++ b/net-ftp/ncftp/Manifest
@@ -1,5 +1,7 @@
AUX ncftp-3.2.7-fix-clang.patch 1440 BLAKE2B b2f046dc6d91452edfdf0f666d67363cbbe944e7f4e93b83a322fcd92e4bb3af4af65ec5757ad204f9d9e05fcd9c93e56904ba77756bb08b72905d7c76bb471b SHA512 84de37d6c5beffb15736b7ee07cc8c0a3bb4d0c86dad5188dc4c44858e1862314611cd8c3ba32f2f6f337128dc25a32b8940c3a84df374b6cb2ff17a3848a6b7
AUX ncftp-3.2.7-fix-gcc14.patch 580 BLAKE2B 4db070ba0c247f385e5feda778eb87e0b4864028fc3ac51f1c39e135f409d4411b1f5a93115a342ad4fcd56dd495a64f86b8107acdca0c6981735abc6d0cfca0 SHA512 c65a6ec2a53669f3c872fd8778eeaeab9be81dbf222f96537be6df2d6d8ad8b3f650764fe19643cd18613acd192f860f6db4bb9bb9c76f297597f9b6072695f3
+AUX ncftp-3.2.7-implicit-function-declarations.patch 2456 BLAKE2B 860a88090eae634036ac95c7b1b8530b27c7fbfc67aa70bf4b68b8ba07d9ec770e1f0981a3633c5a79d4d6e03b26a84c3accba445553580ba0dd9ffc2c76d34f SHA512 64fd1b531666cedcca533afa54d0acce163b15315dad9d16715ec17dd2f0696e976bcd5a1e8df7b63783aa9517f9c5bd5680dc0a09bafab97a87cc88b3bedd99
DIST ncftp-3.2.7-src.tar.xz 422480 BLAKE2B d075be273d534b11385b8ee5839835102d9f69a6cc8fc8f661b85be32c1cad3b1c4bab2c99b8c47bc3c40d18275524b88da7d8e70985dbb0cfb7ff5ea07b70f3 SHA512 b755385a57ac2487625c15985f091d9e1b71073b2593faffe1f2bbba34e691cfff9ffd8448b048f223ea08428e890f30c49a903e4f938393e3c0e4ae03ddab37
EBUILD ncftp-3.2.7-r1.ebuild 1165 BLAKE2B 9a5949135eab886cf966c6bffde6bf544c57b3ac41a9250be26e20d8ad9b30a4d35da94e16e28fb7755c68a097ceb0074eabc3ef2d329f2829e5082f5c65d9ca SHA512 601aedc87b0cc0f6e87fbe562d363cc8752b22d50314bde732851027b916184e840d213aeb3de7ad0a9a1624d73e91cfa43fd4a8d8cbfef75fd448b26f92b772
+EBUILD ncftp-3.2.7-r2.ebuild 1131 BLAKE2B 35d64afb588cc1c4423ef81944f5024f36d2ae2fd8695bb4c13a732e26280e2717d29f4cb99715da3c55c7063e2abd6b596f27ba572b686c8cdd84055572cd67 SHA512 e395402d1840ebb74db04253e5722b29bc53103f18bcc236628bede969bbe24238597278ba2c38527b71f433b3046599cc7755f2de217d00dd79fa19a7f414e4
MISC metadata.xml 747 BLAKE2B eb28ac0c7249544d1519dc534092dc0f8575c3f68cd24d9dc1654e0d9ffaabf8359fd64ee7ec321878b31e4e65a1c3767528a9f91301809e07f187867f52f09a SHA512 2d672c6901cf721df89f79f420f61ad709d3570fa0d762cae4becbb7f2426abf7a2812d9899fdee75daab20aab80fa80f796295dd3bbae588fe4eac93204b1f7
diff --git a/net-ftp/ncftp/files/ncftp-3.2.7-implicit-function-declarations.patch b/net-ftp/ncftp/files/ncftp-3.2.7-implicit-function-declarations.patch
new file mode 100644
index 000000000000..a0e14a7c325d
--- /dev/null
+++ b/net-ftp/ncftp/files/ncftp-3.2.7-implicit-function-declarations.patch
@@ -0,0 +1,93 @@
+aclocal.m4 contains code that no longer compiles: missing headers and missing
+return types.
+
+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
+@@ -464,6 +464,7 @@ CFLAGS="$CFLAGS $ac_cv_ssp_flags"
+ changequote([, ])dnl
+ AC_TRY_LINK([
+ #include <stdio.h>
++#include <string.h>
+ #ifdef HAVE_STDLIB_H
+ # include <stdlib.h>
+ #endif
+@@ -1063,6 +1064,7 @@ AC_DEFUN(wi_USE_STATIC_LIBGCC, [
+ #
+ AC_TRY_LINK([
+ #include <stdio.h>
++#include <string.h>
+ #ifdef HAVE_STDLIB_H
+ # include <stdlib.h>
+ #endif
+@@ -3057,6 +3059,7 @@ AC_TRY_LINK([
+ #include <sys/uio.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
++#include <string.h>
+ ],[
+ struct sockaddr_un uaddr;
+
+@@ -3285,6 +3288,7 @@ AC_TRY_LINK([
+ #ifdef HAVE_RESOLV_H
+ # include <resolv.h>
+ #endif
++#include <string.h>
+ ],[
+ /* function-body */
+ int len;
+@@ -3363,6 +3367,7 @@ else
+ #include <stdio.h>
+ #include <stdlib.h>
+
++ int
+ main(int argc, char **argv)
+ {
+ /* Note: don't actually call readline,
+@@ -4193,7 +4198,7 @@ AC_MSG_CHECKING([types of arguments for select()])
+ #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
+@@ -5145,6 +5150,7 @@ do
+ #ifdef HAVE_STDLIB_H
+ # include <stdlib.h>
+ #endif
++#include <string.h>
+
+ #ifdef HAVE_NCURSES_H
+ # define NCURSES_OPAQUE 0
+@@ -5176,6 +5182,7 @@ do
+ #endif
+
+
++int
+ main(int argc, char **argv)
+ {
+ /* Note: don't actually call curses, since it may block;
+@@ -6510,7 +6517,6 @@ char *malloc();
+ #endif
+ #endif /* MG */
+
+-int
+ int main(void)
+ {
+ char *data, *data2, *data3;
+@@ -6607,8 +6613,9 @@ else
+ 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. */
diff --git a/net-ftp/ncftp/ncftp-3.2.7-r2.ebuild b/net-ftp/ncftp/ncftp-3.2.7-r2.ebuild
new file mode 100644
index 000000000000..48fa3dac535e
--- /dev/null
+++ b/net-ftp/ncftp/ncftp-3.2.7-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 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.xz"
+
+LICENSE="Clarified-Artistic"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~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.7-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
+}