diff options
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/gftp/Manifest | 1 | ||||
-rw-r--r-- | net-ftp/gftp/files/gftp-2.0.19-desktop.patch | 26 | ||||
-rw-r--r-- | net-ftp/gftp/files/gftp-2.0.19-gftp-expand-path-sigsegv.patch | 21 | ||||
-rw-r--r-- | net-ftp/gftp/files/gftp-2.0.19-glibc-2.30.patch | 27 | ||||
-rw-r--r-- | net-ftp/gftp/gftp-2.0.19-r3.ebuild | 50 |
5 files changed, 0 insertions, 125 deletions
diff --git a/net-ftp/gftp/Manifest b/net-ftp/gftp/Manifest index 42af85eeff46..d3f87b51fe19 100644 --- a/net-ftp/gftp/Manifest +++ b/net-ftp/gftp/Manifest @@ -1,2 +1 @@ -DIST gftp-2.0.19.tar.bz2 1687167 BLAKE2B b7cd5409c7dfe4672a383417554c39a848b9afa341de498eea76bd02a2099559f14d7d0ceebe13d52842c311a4b242a0d558aa017dd7062a3369a7c2c3af19a0 SHA512 59968786d66aaf6fb520f73d52ed0f8b57751a5ed222a5c65a7257628cd9addfd0ff3213206311bfd24441d7e6cc6d245d74d6687a1ad9739361da61ca078172 DIST gftp-2.9.1b.tar.xz 872308 BLAKE2B 3588321689a1c6d8e0585e0439507f774b30e05630f774d7909f32fd66c289a961602b84cde97377de47d0c63fe4cf5452ec1e0b986c578958a6080cf5814fc8 SHA512 31d0aa4d3c5adf3d9ac2c2517402f9bdcab5fb1187df521a978acf41c1997a120797056dd1ca7bedc32e0dec0ac7c06c1790e47821660277fb6572205ce0fe93 diff --git a/net-ftp/gftp/files/gftp-2.0.19-desktop.patch b/net-ftp/gftp/files/gftp-2.0.19-desktop.patch deleted file mode 100644 index 878a77b5bf72..000000000000 --- a/net-ftp/gftp/files/gftp-2.0.19-desktop.patch +++ /dev/null @@ -1,26 +0,0 @@ -@@ -, +, @@ - <kevin.bernard.allies@gmail.com> - * the Encoding key is now deprecated, and UTF-8 is the default value. - * As the value of Icon is not an absolute path, there should be no extension. - * The Application category is deprecated. - docs/gftp.desktop | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) ---- a/docs/gftp.desktop -+++ a/docs/gftp.desktop -@@ -1,5 +1,4 @@ - [Desktop Entry] --Encoding=UTF-8 - Name=gFTP - Comment=Download and upload files using multiple file transfer protocols - Comment[fr]=Télécharge des fichiers en utilisant le protocole FTP -@@ -8,8 +7,8 @@ Exec=gftp %u - Terminal=false - X-MultipleArgs=false - Type=Application --Icon=gftp.png --Categories=Application;Network; -+Icon=gftp -+Categories=Network; - X-GNOME-Bugzilla-Bugzilla=GNOME - X-GNOME-Bugzilla-Product=gftp - X-GNOME-Bugzilla-Component=general diff --git a/net-ftp/gftp/files/gftp-2.0.19-gftp-expand-path-sigsegv.patch b/net-ftp/gftp/files/gftp-2.0.19-gftp-expand-path-sigsegv.patch deleted file mode 100644 index f3e029dea0ca..000000000000 --- a/net-ftp/gftp/files/gftp-2.0.19-gftp-expand-path-sigsegv.patch +++ /dev/null @@ -1,21 +0,0 @@ -Fix segmentation fault, when gftpui_run_chdir is called with directory=0x0, -and then calls gftp_expand_path (src=0x0), -the NULL string was cloned using g_strdup, which returns NULL if -its only argument is NULL, then this returned string was unreferenced. - - lib/misc.c | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/lib/misc.c b/lib/misc.c -index 16c019b..2791466 100644 ---- a/lib/misc.c -+++ b/lib/misc.c -@@ -143,6 +143,8 @@ gftp_expand_path (gftp_request * request, const char *src) - tempchar; - struct passwd *pw; - -+ g_return_val_if_fail(src != NULL, NULL); -+ - pw = NULL; - str = g_strdup (src); - diff --git a/net-ftp/gftp/files/gftp-2.0.19-glibc-2.30.patch b/net-ftp/gftp/files/gftp-2.0.19-glibc-2.30.patch deleted file mode 100644 index ee1d596a03c3..000000000000 --- a/net-ftp/gftp/files/gftp-2.0.19-glibc-2.30.patch +++ /dev/null @@ -1,27 +0,0 @@ -https://bugs.gentoo.org/692230 -https://github.com/masneyb/gftp/commit/371c494a34c1820544d6563fb7ef5ca51a0ee199 - -From 371c494a34c1820544d6563fb7ef5ca51a0ee199 Mon Sep 17 00:00:00 2001 -From: Brian Masney <masneyb@onstation.org> -Date: Thu, 21 Jul 2016 05:05:18 -0400 -Subject: [PATCH] fixed compiling on some versions of Linux. Patch picked up - from the Fedora Project at - https://github.com/repoforge/rpms/blob/master/specs/gftp/gftp-stropts.patch - ---- - lib/pty.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/pty.c b/lib/pty.c -index f7cb1f9..f9d609b 100644 ---- a/lib/pty.c -+++ b/lib/pty.c -@@ -61,7 +61,7 @@ _gftp_ptys_open (int fdm, int fds, char *pts_name) - - #elif HAVE_GRANTPT - --#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)) -+#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__linux__)) - #include <stropts.h> - #endif - diff --git a/net-ftp/gftp/gftp-2.0.19-r3.ebuild b/net-ftp/gftp/gftp-2.0.19-r3.ebuild deleted file mode 100644 index 8d4fab840477..000000000000 --- a/net-ftp/gftp/gftp-2.0.19-r3.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit gnome2 - -DESCRIPTION="Gnome based FTP Client" -SRC_URI="http://www.gftp.org/${P}.tar.bz2" -HOMEPAGE="http://www.gftp.org" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ppc ppc64 ~riscv sparc x86" -IUSE="gtk ssl" - -RDEPEND=" - dev-libs/glib:2 - sys-devel/gettext - sys-libs/ncurses:0= - sys-libs/readline:0 - gtk? ( x11-libs/gtk+:2 ) - ssl? ( - dev-libs/openssl:0= - ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -PATCHES=( - # Fix SIGSEGV for gftp_expand_path function - "${FILESDIR}/${P}-${PN}-expand-path-sigsegv.patch" - - # https://bugzilla.gnome.org/show_bug.cgi?id=740785 - "${FILESDIR}/${P}-desktop.patch" - - # https://bugs.gentoo.org/692230 - "${FILESDIR}"/${P}-glibc-2.30.patch -) - -src_configure() { - gnome2_src_configure \ - $(use_enable gtk gtkport) \ - $(use_enable ssl) -} - -src_install() { - gnome2_src_install - dodoc docs/USERS-GUIDE -} |