Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/ncftp/
Date: Wed, 19 Jan 2022 18:21:23
Message-Id: 1642616467.294d5ec820bddfa0aded7dc0043e06c903050722.flow@gentoo
1 commit: 294d5ec820bddfa0aded7dc0043e06c903050722
2 Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
3 AuthorDate: Sun Jan 16 12:10:28 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 19 18:21:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=294d5ec8
7
8 net-ftp/ncftp: bump to EAPI 8 and fix bugs
9
10 Closes: https://bugs.gentoo.org/727774
11 Closes: https://bugs.gentoo.org/727788
12 Closes: https://bugs.gentoo.org/821610
13 Package-Manager: Portage-3.0.28, Repoman-3.0.3
14 Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
15 Closes: https://github.com/gentoo/gentoo/pull/23823
16 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
17
18 net-ftp/ncftp/metadata.xml | 13 +++++++--
19 net-ftp/ncftp/ncftp-3.2.6-r4.ebuild | 55 +++++++++++++++++++++++++++++++++++++
20 2 files changed, 65 insertions(+), 3 deletions(-)
21
22 diff --git a/net-ftp/ncftp/metadata.xml b/net-ftp/ncftp/metadata.xml
23 index 17eb3eeb039e..454915700044 100644
24 --- a/net-ftp/ncftp/metadata.xml
25 +++ b/net-ftp/ncftp/metadata.xml
26 @@ -1,8 +1,15 @@
27 <?xml version="1.0" encoding="UTF-8"?>
28 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
29 <pkgmetadata>
30 -<!-- maintainer-needed -->
31 -<longdescription>
32 + <maintainer type="person" proxied="yes">
33 + <email>ceamac.paragon@×××××.com</email>
34 + <name>Viorel Munteanu</name>
35 + </maintainer>
36 + <maintainer type="project" proxied="proxy">
37 + <email>proxy-maint@g.o</email>
38 + <name>Proxy Maintainers</name>
39 + </maintainer>
40 + <longdescription>
41 NcFTP Client (also known as just NcFTP) is a set of FREE application
42 programs implementing the File Transfer Protocol (FTP).
43
44 @@ -11,5 +18,5 @@ popular alternative to the FTP program, /usr/bin/ftp. NcFTP offers many
45 ease-of-use and performance enhancements over the stock ftp client, and
46 runs on a wide variety of UNIX platforms as well as operating systems
47 such as Microsoft Windows and Apple Mac OS X.
48 -</longdescription>
49 + </longdescription>
50 </pkgmetadata>
51
52 diff --git a/net-ftp/ncftp/ncftp-3.2.6-r4.ebuild b/net-ftp/ncftp/ncftp-3.2.6-r4.ebuild
53 new file mode 100644
54 index 000000000000..ec444773157b
55 --- /dev/null
56 +++ b/net-ftp/ncftp/ncftp-3.2.6-r4.ebuild
57 @@ -0,0 +1,55 @@
58 +# Copyright 1999-2022 Gentoo Authors
59 +# Distributed under the terms of the GNU General Public License v2
60 +
61 +EAPI=8
62 +inherit autotools toolchain-funcs
63 +
64 +DESCRIPTION="An extremely configurable ftp client"
65 +HOMEPAGE="https://www.ncftp.com/"
66 +SRC_URI="
67 + https://ftp.mirrorservice.org/sites/ftp.${PN}.com/${PN}/${P}-src.tar.xz
68 +"
69 +
70 +LICENSE="Clarified-Artistic"
71 +SLOT="0"
72 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
73 +IUSE="pch"
74 +
75 +DEPEND="
76 + sys-libs/ncurses:=
77 +"
78 +RDEPEND="
79 + ${DEPEND}
80 +"
81 +BDEPEND="virtual/pkgconfig"
82 +
83 +PATCHES=(
84 + "${FILESDIR}"/${PN}-3.2.6-fno-common.patch
85 +)
86 +
87 +src_prepare() {
88 + default
89 +
90 + sed -i -e '/^AR=/d' autoconf_local/aclocal.m4 || die
91 + # 727774
92 + sed -i -e 's/STRIP=".*"/STRIP=":"/' autoconf_local/aclocal.m4 || die
93 +
94 + AT_M4DIR=autoconf_local/ eautoreconf
95 +}
96 +
97 +src_configure() {
98 + tc-export AR CC
99 + LC_ALL="C" \
100 + LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses)" \
101 + econf \
102 + $(use_enable pch precomp) \
103 + --disable-ccdv \
104 + --disable-universal
105 +}
106 +
107 +src_install() {
108 + default
109 + dodoc README.txt doc/*.txt
110 + docinto html
111 + dodoc doc/html/*.html
112 +}