diff options
Diffstat (limited to 'net-ftp/gftp')
-rw-r--r-- | net-ftp/gftp/Manifest | 7 | ||||
-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/gftp-2.0.19-r3.ebuild | 47 | ||||
-rw-r--r-- | net-ftp/gftp/metadata.xml | 8 |
5 files changed, 109 insertions, 0 deletions
diff --git a/net-ftp/gftp/Manifest b/net-ftp/gftp/Manifest new file mode 100644 index 000000000000..55c9c1c3b35a --- /dev/null +++ b/net-ftp/gftp/Manifest @@ -0,0 +1,7 @@ +AUX gftp-2.0.19-desktop.patch 837 SHA256 cd583fb5089adfe678f59ccbdcb553ce6504b071ca62101d840a68cf34b89ed8 SHA512 c71c10eca36e767e4778c4664723f04ea23a20cb6b96e2b0e45c439ed83a1daa325919683663695c17ab26317021090d4855f9f5b6e952f70a400980b0ebfe69 WHIRLPOOL bb2e05d6fec1963029d6d1298127396e94b324cbb230bf80e6c4ba1831875fe4692e9e3978d297c46eaf9e761fac5b0965c36f7824869170cc69743071804b1a +AUX gftp-2.0.19-gftp-expand-path-sigsegv.patch 640 SHA256 79bbc67cf428dc323d6aedd8b047d8f8fdad42cf11a1e75fa5c118d358f85def SHA512 4ee09d50955fc91dea33bb71d8bd65a7c481f02c7bdf6dce53bbd630307c2ab898b533babe7597b1e434d0defdde3be6e145c0c5344d21e8a23c1537eb5f2bbf WHIRLPOOL cd34afa4b1426170b781544868a1f6d091a43b0edb8e3b67fe00d3957254edcf3d0d536d4da0b54529bcbd8be63948a4485e8482f1f4705ac148d8cf8ab79770 +DIST gftp-2.0.19.tar.bz2 1687167 SHA256 5306a46be96d6f4d23906cb1836fb3d732039621a6c7fcfa921acc21ac110bfd SHA512 59968786d66aaf6fb520f73d52ed0f8b57751a5ed222a5c65a7257628cd9addfd0ff3213206311bfd24441d7e6cc6d245d74d6687a1ad9739361da61ca078172 WHIRLPOOL 511572735b97d504e660cc6db2acc9898cb75bf4ef00304b9c225a2340aa4378ad1aa341a83db1c5c0ad637c4645655616effca901fc6990632c2c8a401df1b2 +EBUILD gftp-2.0.19-r3.ebuild 943 SHA256 d6c4e7351c692dbd763deeaa020d6a68e70fcacb6f8feae7f99b7ef72f8fa7d4 SHA512 9373c5ee4685fb5dcb366bc47866efad6e4d5dc8f6366c5a954f7de08078c999b1e04078b24234006ee9ae02f4e79cac3c830701b1eb17e7cd096d7fb4642c44 WHIRLPOOL 6ae100dc996c16ba4a1416c2bd6fa74243aecdf12d134506388c1be5dc06bdf77f65bb0d3c8d7bec19b2ac7b6d20b8d692bca3f18724ca296d9356e9d4249b05 +MISC ChangeLog 3255 SHA256 94f42afc6a7e6430409176862c4509228a5bb250c44d355d7e948f1c9719e972 SHA512 60530d859e814b0f3064f79d13968c25162ce4cef70461ec500a6bd30311d85c7a7f785f231e944cc4a76fb442f0a187269fe42012c6d1f30fcf7feaef0fdd52 WHIRLPOOL c68945c411fe710da939d54b18873b7c33d9d51200c8a9c1496d1740b51186e971120c126aef7356308b0c3a658e8d83f7ef987213fe2f0e551be84a2b7ccea2 +MISC ChangeLog-2015 12095 SHA256 4da40cfea0002018b592db445a99bd691edb84734d2d0edaf6b505cbda358706 SHA512 082cef4bafe1ae9366262a7f217e73f3078804790932b6fe1ba750f5cfaa6c7ed67139c11e37342cf112dc61318bcedc66a0a0a6b43004ef799b57cf455c49d4 WHIRLPOOL c3dc969bb86b0393e3f0e13bab02c1c8fa504c4e27b8c6777688c864f35dbf0425a235f83e848a4ca435e877ef7ed9acf3018cffa215b2516135fad4700bebe8 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/net-ftp/gftp/files/gftp-2.0.19-desktop.patch b/net-ftp/gftp/files/gftp-2.0.19-desktop.patch new file mode 100644 index 000000000000..878a77b5bf72 --- /dev/null +++ b/net-ftp/gftp/files/gftp-2.0.19-desktop.patch @@ -0,0 +1,26 @@ +@@ -, +, @@ + <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 new file mode 100644 index 000000000000..f3e029dea0ca --- /dev/null +++ b/net-ftp/gftp/files/gftp-2.0.19-gftp-expand-path-sigsegv.patch @@ -0,0 +1,21 @@ +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/gftp-2.0.19-r3.ebuild b/net-ftp/gftp/gftp-2.0.19-r3.ebuild new file mode 100644 index 000000000000..23abfe2fe2de --- /dev/null +++ b/net-ftp/gftp/gftp-2.0.19-r3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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 ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="gtk libressl ssl" + +RDEPEND=" + dev-libs/glib:2 + sys-devel/gettext + sys-libs/ncurses:0= + sys-libs/readline:0 + gtk? ( x11-libs/gtk+:2 ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl: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" +) + +src_configure() { + gnome2_src_configure \ + $(use_enable gtk gtkport) \ + $(use_enable ssl) +} + +src_install() { + gnome2_src_install + dodoc docs/USERS-GUIDE +} diff --git a/net-ftp/gftp/metadata.xml b/net-ftp/gftp/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/net-ftp/gftp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> |