pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2004Q4]: pkgsrc/net Pullup ticket 326 - requested by Matthias ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1440457e12b4
branches:  pkgsrc-2004Q4
changeset: 485951:1440457e12b4
user:      salo <salo%pkgsrc.org@localhost>
date:      Wed Mar 02 22:15:42 2005 +0000

description:
Pullup ticket 326 - requested by Matthias Scheler
security fix for gftp

Revisions pulled up:
- pkgsrc/net/gftp/DESCR                 1.3
- pkgsrc/net/gftp/Makefile.common       1.8
- pkgsrc/net/gftp/PLIST                 1.9
- pkgsrc/net/gftp/distinfo              1.8-1.9
- pkgsrc/net/gftp/patches/patch-aa      1.3
- pkgsrc/net/gftp/patches/patch-ab      1.5
- pkgsrc/net/gftp/patches/patch-ac      1.1
- pkgsrc/net/gftp/patches/patch-ad      1.1
- pkgsrc/net/gftp-gtk1/DESCR            1.2
- pkgsrc/net/gftp-gtk1/Makefile         1.7

   Module Name: pkgsrc
   Committed By:        tron
   Date:                Wed Mar  2 14:36:53 UTC 2005

   Modified Files:
        pkgsrc/net/gftp: DESCR Makefile.common PLIST distinfo
        pkgsrc/net/gftp-gtk1: DESCR
   Added Files:
        pkgsrc/net/gftp/patches: patch-aa patch-ab

   Log Message:
   Update "gftp" and "gftp-gtk1" package to version 2.0.18. Changes since
   version 2.0.17:
   - Added support for the FSP protocol (http://fsp.sourceforge.net/)
   - SSH2: Fixed segfault that could occur when renaming a file (bug
     introduced in 2.0.18rc1)
   - SSH2: Fixes for parsing the directory listing from the commercial SSH
     server
   - FTP: added pasv_behind_router option. If this is enabled, then the IP
     address that is in the PASV response will be ignored. Instead the IP
     address of the remote host will be used
   - FTP: removed the quote filename functionality in the SITE CHMOD and
     SITE UTIME commands
   - Chmod: Fixes for setting the group execute bit (bug introduced in
     2.0.18rc1)
   - Fixes so that the text port will prompt you for your password when
     a URL is entered on the command line
   - In the text port, convert the string from UTF8 to the users' current
     locale before it is displayed
   - Fixes for when the host system does not have getaddrinfo() (bug
     introduced in 2.0.18rc1)
   - Rewrote and improved the URL parser so that the :, @ characters are
     allowed in directories and passwords
   - Security Fix: Ignore the file paths that are returned by the remote
     server
   - FreeBSD and HP/UX fixes
   - GNOME HIG fixes
   - Many other small changes and improvements. See the ChangeLog file
     in the distribution for a detailed list of changes.
   - Updated language translations (cs de en_CA en_GB es hu nl zh_CN)
---
   Module Name:         pkgsrc
   Committed By:        tron
   Date:                Wed Mar  2 20:43:21 UTC 2005

   Modified Files:
        pkgsrc/net/gftp: distinfo
        pkgsrc/net/gftp-gtk1: Makefile
   Added Files:
        pkgsrc/net/gftp/patches: patch-ac patch-ad

   Log Message:
   Fix build problems in "gftp-gtk1" package caused by update to
   version 2.0.18.

diffstat:

 net/gftp-gtk1/DESCR       |   6 +++---
 net/gftp-gtk1/Makefile    |   4 ++--
 net/gftp/DESCR            |   6 +++---
 net/gftp/Makefile.common  |   7 +++----
 net/gftp/PLIST            |   8 ++++++--
 net/gftp/distinfo         |  10 +++++++---
 net/gftp/patches/patch-aa |  15 +++++++++++++++
 net/gftp/patches/patch-ab |  13 +++++++++++++
 net/gftp/patches/patch-ac |  30 ++++++++++++++++++++++++++++++
 net/gftp/patches/patch-ad |  13 +++++++++++++
 10 files changed, 95 insertions(+), 17 deletions(-)

diffs (218 lines):

diff -r 3134a8ae2b6a -r 1440457e12b4 net/gftp-gtk1/DESCR
--- a/net/gftp-gtk1/DESCR       Tue Mar 01 20:58:59 2005 +0000
+++ b/net/gftp-gtk1/DESCR       Wed Mar 02 22:15:42 2005 +0000
@@ -1,10 +1,10 @@
-gFTP is a free multithreaded ftp client for *NIX based machines 
+gFTP is a free multithreaded ftp client for *NIX based machines
 running X11R6 or later. It has the following features:
 
- * Distributed under the terms of the GNU Public License 
+ * Distributed under the terms of the GNU Public License
  * Written in C and has a text interface and a GTK+ 1.2/2.0 interface
  * Supports the FTP, HTTP and SSH protocols
- * Supports FXP file transfers (transfering files between 2 remote 
+ * Supports FXP file transfers (transfering files between 2 remote
    servers via FTP)
  * Multithreaded to allow for simultaneous downloads
  * File transfer queues to allow for downloading multiple files
diff -r 3134a8ae2b6a -r 1440457e12b4 net/gftp-gtk1/Makefile
--- a/net/gftp-gtk1/Makefile    Tue Mar 01 20:58:59 2005 +0000
+++ b/net/gftp-gtk1/Makefile    Wed Mar 02 22:15:42 2005 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2004/10/03 00:17:51 tv Exp $
+# $NetBSD: Makefile,v 1.6.2.1 2005/03/02 22:15:42 salo Exp $
 
 .include "${.CURDIR}/../gftp/Makefile.common"
 
 PKGNAME=       gftp-gtk1-${VERSION}
-PKGREVISION=   1
 COMMENT=       Multithreaded GTK+ ftp client
 
 CONFLICTS=     gftp-[0-9]*
@@ -12,6 +11,7 @@
 
 CONFIGURE_ARGS+=       --disable-gtk20
 
+PATCHDIR=      ${.CURDIR}/../gftp/patches
 PLIST_SRC=     ${.CURDIR}/../gftp/PLIST
 DISTINFO_FILE= ${.CURDIR}/../gftp/distinfo
 
diff -r 3134a8ae2b6a -r 1440457e12b4 net/gftp/DESCR
--- a/net/gftp/DESCR    Tue Mar 01 20:58:59 2005 +0000
+++ b/net/gftp/DESCR    Wed Mar 02 22:15:42 2005 +0000
@@ -1,10 +1,10 @@
-gFTP is a free multithreaded ftp client for *NIX based machines 
+gFTP is a free multithreaded ftp client for *NIX based machines
 running X11R6 or later. It has the following features:
 
- * Distributed under the terms of the GNU Public License 
+ * Distributed under the terms of the GNU Public License
  * Written in C and has a text interface and a GTK+ 1.2/2.0 interface
  * Supports the FTP, HTTP and SSH protocols
- * Supports FXP file transfers (transfering files between 2 remote 
+ * Supports FXP file transfers (transfering files between 2 remote
    servers via FTP)
  * Multithreaded to allow for simultaneous downloads
  * File transfer queues to allow for downloading multiple files
diff -r 3134a8ae2b6a -r 1440457e12b4 net/gftp/Makefile.common
--- a/net/gftp/Makefile.common  Tue Mar 01 20:58:59 2005 +0000
+++ b/net/gftp/Makefile.common  Wed Mar 02 22:15:42 2005 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile.common,v 1.7 2004/10/03 00:17:51 tv Exp $
+# $NetBSD: Makefile.common,v 1.7.2.1 2005/03/02 22:15:42 salo Exp $
 
 DISTNAME=      gftp-${VERSION}
-PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://gftp.seul.org/   \
                ftp://gftp.seul.org/
 EXTRACT_SUFX=  .tar.bz2
 
-MAINTAINER=    jmcneill%invisible.yi.org@localhost
+MAINTAINER=    jmcneill%NetBSD.org@localhost
 HOMEPAGE=      http://gftp.seul.org/
 
 BUILD_USES_MSGFMT=     yes
@@ -21,7 +20,7 @@
 
 CONFIGURE_ARGS+=       --with-readline
 
-VERSION=               2.0.17
+VERSION=               2.0.18
 
 .include "../../mk/bsd.prefs.mk"
 
diff -r 3134a8ae2b6a -r 1440457e12b4 net/gftp/PLIST
--- a/net/gftp/PLIST    Tue Mar 01 20:58:59 2005 +0000
+++ b/net/gftp/PLIST    Wed Mar 02 22:15:42 2005 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.8 2004/04/05 02:45:45 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.8.6.1 2005/03/02 22:15:42 salo Exp $
 bin/gftp
 bin/gftp-gtk
 bin/gftp-text
 man/man1/gftp.1
+share/applications/gftp.desktop
 share/gftp/COPYING
 share/gftp/bookmarks
 share/gftp/connect.xpm
@@ -31,7 +32,6 @@
 share/gftp/txt.xpm
 share/gftp/up.xpm
 share/gftp/world.xpm
-share/gnome/apps/Internet/gftp.desktop
 ${PKGLOCALEDIR}/locale/am/LC_MESSAGES/gftp.mo
 ${PKGLOCALEDIR}/locale/ar/LC_MESSAGES/gftp.mo
 ${PKGLOCALEDIR}/locale/az/LC_MESSAGES/gftp.mo
@@ -72,5 +72,9 @@
 ${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/gftp.mo
 ${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/gftp.mo
 ${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/gftp.mo
+${PKGLOCALEDIR}/locale/en_CA/LC_MESSAGES/gftp.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/gftp.mo
+${PKGLOCALEDIR}/locale/pa/LC_MESSAGES/gftp.mo
+${PKGLOCALEDIR}/locale/sq/LC_MESSAGES/gftp.mo
 share/pixmaps/gftp.png
 @dirrm share/gftp
diff -r 3134a8ae2b6a -r 1440457e12b4 net/gftp/distinfo
--- a/net/gftp/distinfo Tue Mar 01 20:58:59 2005 +0000
+++ b/net/gftp/distinfo Wed Mar 02 22:15:42 2005 +0000
@@ -1,4 +1,8 @@
-$NetBSD: distinfo,v 1.6 2004/04/05 02:45:45 xtraeme Exp $
+$NetBSD: distinfo,v 1.6.6.1 2005/03/02 22:15:42 salo Exp $
 
-SHA1 (gftp-2.0.17.tar.bz2) = beeb1edfac3aa5b9b7a4a02d0a0a3ed374fc2ce0
-Size (gftp-2.0.17.tar.bz2) = 1228736 bytes
+SHA1 (gftp-2.0.18.tar.bz2) = c2468f1ff1fe978a5fab3a198e513558f3b48f5a
+Size (gftp-2.0.18.tar.bz2) = 1374850 bytes
+SHA1 (patch-aa) = fe0aff2e0f8408d6a5b663e2095b61b9e92e0d84
+SHA1 (patch-ab) = 739be62c545d7644da4bcd53140fb734ec8e19ef
+SHA1 (patch-ac) = 862f2f5856da4f361f2cac660ffd489424a854d8
+SHA1 (patch-ad) = 4024658780e23543b47901b802d0e8d7c469f7b6
diff -r 3134a8ae2b6a -r 1440457e12b4 net/gftp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gftp/patches/patch-aa Wed Mar 02 22:15:42 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.2.10.1 2005/03/02 22:15:42 salo Exp $
+
+--- lib/fsplib/lock.c.orig     2005-01-02 15:45:51.000000000 +0000
++++ lib/fsplib/lock.c  2005-03-02 14:26:27.000000000 +0000
+@@ -2,6 +2,10 @@
+ #include <stdio.h>
+ #include "lock.h"
+ 
++#if defined(__NetBSD__) || defined(sun)
++#define       _SEM_SEMUN_UNDEFINED    /**/
++#endif
++
+ /* ************ Locking functions ***************** */
+ #ifndef FSP_NOLOCKING
+ 
diff -r 3134a8ae2b6a -r 1440457e12b4 net/gftp/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gftp/patches/patch-ab Wed Mar 02 22:15:42 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.4.10.1 2005/03/02 22:15:42 salo Exp $
+
+--- lib/pty.c.orig     2005-01-04 13:32:11.000000000 +0000
++++ lib/pty.c  2005-03-02 14:28:15.000000000 +0000
+@@ -61,7 +61,7 @@
+ 
+ #elif HAVE_GRANTPT
+ 
+-#ifndef __FreeBSD__
++#if !(defined(__FreeBSD__) || defined(__NetBSD__))
+ #include <stropts.h>
+ #endif
+ 
diff -r 3134a8ae2b6a -r 1440457e12b4 net/gftp/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gftp/patches/patch-ac Wed Mar 02 22:15:42 2005 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-ac,v 1.1.2.2 2005/03/02 22:15:42 salo Exp $
+
+--- src/text/gftp-text.c.orig  2005-01-25 01:11:00.000000000 +0000
++++ src/text/gftp-text.c       2005-03-02 20:32:41.000000000 +0000
+@@ -155,7 +155,9 @@
+ gftp_text_ask_question (const char *question, int echo, char *buf, size_t size)
+ {
+   struct termios term, oldterm;
++#if GLIB_MAJOR_VERSION > 1
+   gchar *locale_question;
++#endif
+   sigset_t sig, sigsave;
+   char *pos, *termname;
+   int singlechar;
+@@ -185,6 +187,7 @@
+   else
+     infd = stdin;
+ 
++#if GLIB_MAJOR_VERSION > 1
+   locale_question = g_locale_from_utf8 (question, -1, NULL, NULL, NULL);
+   if (locale_question != NULL)
+     {
+@@ -193,6 +196,7 @@
+       g_free (locale_question);
+     }
+   else
++#endif
+     printf ("%s%s%s ", GFTPUI_COMMON_COLOR_BLUE, question,
+             GFTPUI_COMMON_COLOR_DEFAULT);
+ 
diff -r 3134a8ae2b6a -r 1440457e12b4 net/gftp/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gftp/patches/patch-ad Wed Mar 02 22:15:42 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.2.2 2005/03/02 22:15:42 salo Exp $
+
+--- src/gtk/options_dialog.c.orig      2005-01-04 13:32:20.000000000 +0000
++++ src/gtk/options_dialog.c   2005-03-02 20:38:59.000000000 +0000
+@@ -1002,7 +1002,7 @@
+   gtk_widget_show (box);
+   
+ #if GTK_MAJOR_VERSION == 1
+-  tempwid = gtk_label_new (_("Type:"))
++  tempwid = gtk_label_new (_("Type:"));
+ #else
+   tempwid = gtk_label_new_with_mnemonic (_("_Type:"));
+ #endif



Home | Main Index | Thread Index | Old Index