diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-03 19:55:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-03 19:55:55 +0000 |
commit | 0a3d5f62f59ea08933fd51b22c8c35ea85e2ce7c (patch) | |
tree | 3b5f42a35efeb767e8420d5a52a35234607a4248 /net-ftp | |
parent | 94b475013eb88e152032d5f8c684a7d9ce91e319 (diff) |
gentoo auto-resync : 03:01:2024 - 19:55:55
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/Manifest.gz | bin | 3174 -> 3177 bytes | |||
-rw-r--r-- | net-ftp/ncftp/Manifest | 3 | ||||
-rw-r--r-- | net-ftp/ncftp/files/ncftp-3.2.7-fix-clang.patch | 66 | ||||
-rw-r--r-- | net-ftp/ncftp/ncftp-3.2.7.ebuild | 55 |
4 files changed, 124 insertions, 0 deletions
diff --git a/net-ftp/Manifest.gz b/net-ftp/Manifest.gz Binary files differindex e838139a2a13..04f863737ed0 100644 --- a/net-ftp/Manifest.gz +++ b/net-ftp/Manifest.gz diff --git a/net-ftp/ncftp/Manifest b/net-ftp/ncftp/Manifest index 59d5bddd9b94..fb8dc6473e90 100644 --- a/net-ftp/ncftp/Manifest +++ b/net-ftp/ncftp/Manifest @@ -1,5 +1,8 @@ AUX ncftp-3.2.6-fix-clang.patch 7325 BLAKE2B 47fd1c348e5b4190ccf6e6d73806230a8c8de59873b5b31623789abe5f758467e19755f9e206a1fc92a89a0dea3611530f86261f2d25365347e6e418def6d13f SHA512 0fdc7554e990a684c447be6d0d613849ea1c1117faa3f287722d5a0c6beae175f51209f10d5b384f1e28f7cf375c075a239dc2e688be2584c3344995762c1cb7 AUX ncftp-3.2.6-fno-common.patch 1818 BLAKE2B 620e3fbc7e297d3186fe9eef8855e2a663a5abcd680269101d5547ab9f6b9addcfe6040ba35e16e8e540784796e34304a9377b1149f7ac00fe0859627a141200 SHA512 c6bf0cc4324583d9aae3f3a57c900437a78d30138d0b9da06fea66cd5fbf57a79ea420afe33536a5bbcf2ace61aaca30ea04155df638daeae125ed9ca90b1c25 +AUX ncftp-3.2.7-fix-clang.patch 1440 BLAKE2B b2f046dc6d91452edfdf0f666d67363cbbe944e7f4e93b83a322fcd92e4bb3af4af65ec5757ad204f9d9e05fcd9c93e56904ba77756bb08b72905d7c76bb471b SHA512 84de37d6c5beffb15736b7ee07cc8c0a3bb4d0c86dad5188dc4c44858e1862314611cd8c3ba32f2f6f337128dc25a32b8940c3a84df374b6cb2ff17a3848a6b7 DIST ncftp-3.2.6-src.tar.xz 420564 BLAKE2B ce6d8d2bf06761f884e9edfe6d0bb0230f5d515078a787c4e6faf7716b760166acdd0accf3de1e1f5f3d892c8c86348cdbbefeac6be05e6806011a3e8f4c9b02 SHA512 8e6091ce2ea1eb463edea322d1b5dde813475fd22096d67f0bfd2f5101ae09747ff25d38816d0b9b1077e6a5a256078361691f816aa2eefa38638aa523b4b382 +DIST ncftp-3.2.7-src.tar.xz 422480 BLAKE2B d075be273d534b11385b8ee5839835102d9f69a6cc8fc8f661b85be32c1cad3b1c4bab2c99b8c47bc3c40d18275524b88da7d8e70985dbb0cfb7ff5ea07b70f3 SHA512 b755385a57ac2487625c15985f091d9e1b71073b2593faffe1f2bbba34e691cfff9ffd8448b048f223ea08428e890f30c49a903e4f938393e3c0e4ae03ddab37 EBUILD ncftp-3.2.6-r5.ebuild 1177 BLAKE2B 09a5c27f736d857525c03ab1f2ac4f92c4acaa2d0d944add2418eafa01a73038482f25d5f85afca199aadd214607f3044d5b0524d120e431258c335e5c61d6ce SHA512 5d299475777d060e53fa8934beb17269f37c7eed341021ca94b1b722a61286e4187749dbd0f10d8b24dd254d12c7d470e9f03b2cc986ef8992610e37264ad64b +EBUILD ncftp-3.2.7.ebuild 1119 BLAKE2B 5c40a7eca9bb07d7516220f1b820d8e7f4c6eb062782f84ed30b13be0a416cdda272512cd82c727b5a73104ea5cc37b588dd5a212d85c8892f53ad266c61bceb SHA512 0dfa9b6a997dcefbbc1c2f7f70d19a905474a7308f3b8218a803e344e85db4ecec4f6762eb7639fcbb5b37a1d22fb3bb315bc1e36f480c63b9b7309971d29e67 MISC metadata.xml 747 BLAKE2B eb28ac0c7249544d1519dc534092dc0f8575c3f68cd24d9dc1654e0d9ffaabf8359fd64ee7ec321878b31e4e65a1c3767528a9f91301809e07f187867f52f09a SHA512 2d672c6901cf721df89f79f420f61ad709d3570fa0d762cae4becbb7f2426abf7a2812d9899fdee75daab20aab80fa80f796295dd3bbae588fe4eac93204b1f7 diff --git a/net-ftp/ncftp/files/ncftp-3.2.7-fix-clang.patch b/net-ftp/ncftp/files/ncftp-3.2.7-fix-clang.patch new file mode 100644 index 000000000000..d8529490cd1e --- /dev/null +++ b/net-ftp/ncftp/files/ncftp-3.2.7-fix-clang.patch @@ -0,0 +1,66 @@ +Fix compilation with clang-16 + +aclocal.m4 contains code that no longer compiles: missing headers and missing +return types. + +--- 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. */ diff --git a/net-ftp/ncftp/ncftp-3.2.7.ebuild b/net-ftp/ncftp/ncftp-3.2.7.ebuild new file mode 100644 index 000000000000..0aa221e759bc --- /dev/null +++ b/net-ftp/ncftp/ncftp-3.2.7.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-fix-clang.patch # 875458 +) + +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 +} |