head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.32 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.30 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.28 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.26 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.9.0.24 pkgsrc-2009Q4-base:1.9 pkgsrc-2008Q4:1.9.0.22 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.20 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.18 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.16 pkgsrc-2008Q2-base:1.9 pkgsrc-2008Q1:1.9.0.14 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.12 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.10 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.8 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.6 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.4 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.2 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.7.0.18 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.16 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.14 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.12 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.10 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.8 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.6 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.4 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.2 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.9 date 2006.09.15.15.07.40; author jmmv; state dead; branches; next 1.8; 1.8 date 2006.07.07.00.24.43; author minskim; state Exp; branches; next 1.7; 1.7 date 2004.05.03.15.39.47; author jmmv; state dead; branches 1.7.18.1; next 1.6; 1.6 date 2004.04.24.21.00.07; author danw; state Exp; branches; next 1.5; 1.5 date 2003.12.14.19.47.26; author jmmv; state dead; branches; next 1.4; 1.4 date 2003.04.27.14.44.34; author jmmv; state Exp; branches; next 1.3; 1.3 date 2003.04.27.02.03.02; author rh; state dead; branches; next 1.2; 1.2 date 2003.02.15.16.29.33; author jmmv; state Exp; branches; next 1.1; 1.1 date 2002.09.11.23.07.52; author rh; state Exp; branches; next ; 1.7.18.1 date 2006.07.09.21.20.06; author salo; state Exp; branches; next ; desc @@ 1.9 log @Update gnome-vfs2* to 2.16.0: gnome-vfs 2.16.0 * http: Fix crash on some redirects * http: Ignore fragment identifiers in URIs * support --disable-selinux * Fix gnome_vfs_mime_type_is_equal * inotify monitoring fixes gnome-vfs 2.15.92 * Remove old unused code * Better sniffing of text files * Tweak xfer callbacks for better performance gnome-vfs 2.15.91 * Avoid slow I/O looking for trash on remote shares * Inotify updates to avoid polling as much. * Build fix gnome-vfs 2.15.90 * Don't use deprectated dbus calls * Always dispatch monitor events * Add gnome_vfs_drive_needs_eject function. * Add support for compile time version checking. * Add GNOME_VFS_ERROR_INVALID_FILENAME error * Handle ENAMETOOLONG when converting from errno * Initialize SSL lazily * Fix error reporting in dns resolver code * Robustness fixes * Clean up code and fix warnings * dav fixes * ftp: fixes for IIS virtual directories * sftp: Support setting symlinks gnome-vfs 2.15.3 'Kill the monkeys' Note: The moniker code was moved to a seperate module called gnome-vfs-monikers. We need to keep that in the platform to be API/ABI compatible. Also note that bonobo mime related functions have been moved to libbonobo. This relase is free of Bonobos :) * Replace bonobo by DBus as IPC mechanism between clients and the daemon: Remove all references and dependencies on bonobo. (Initial work done by Richard Hult and Mikael Hallendal from Imendio) * Massive API documentation update. * INotify: fixes for remote (i.e. NFS) filesystems * INotify: Updates to the timers used (see ChangeLog) * Convert all use of pop to GOption * Fix non ACL file method build * OSX fix for GnomeVFSAddress * Handle %% escaping % in desktop files. (#343632) * Check for later version of libselinux. (#344349) gnome-vfs 2.15.2 * win32 fixes * Don't hide smb shares that end with $ * ACL support * Support for reading selinux context * Fix bug in gnome_vfs_uri_hash gnome-vfs 2.15.1 * Fix sftp symlink support * Fix smb connecting many times to the server * Add authentication to command line utils * Escape "?" in paths, as this is a special char in uris * Fix up symlink resolving in some cases * Portability fixes for the cdda method * Fix up locking around the xdg mime code where missing * Better handling of existing files in create/makedir for ftp * Shut down vfs backends on shutdown * Handle ftp anon login failure better * Handle more % expansions in Exec lines in desktop files * Make GnomeVFSDrive user_visible only if it supports media check * Fix ftp handling of large files @ text @$NetBSD: patch-al,v 1.8 2006/07/07 00:24:43 minskim Exp $ http://bugzilla.gnome.org/show_bug.cgi?id=337993 --- imported/neon/ne_privssl.h.orig 2006-06-26 16:32:19.000000000 -0700 +++ imported/neon/ne_privssl.h @@@@ -0,0 +1,63 @@@@ +/* + SSL interface definitions internal to neon. + Copyright (C) 2003, 2004, Joe Orton + Copyright (C) 2004, Aleix Conchillo Flaque + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, + MA 02111-1307, USA + +*/ + +/* THIS IS NOT A PUBLIC INTERFACE. You CANNOT include this header file + * from an application. */ + +#ifndef NE_PRIVSSL_H +#define NE_PRIVSSL_H + +/* This is the private interface between ne_socket, ne_gnutls and + * ne_openssl. */ + +#include "ne_ssl.h" +#include "ne_socket.h" + +#ifdef HAVE_OPENSSL + +#include + +struct ne_ssl_context_s { + SSL_CTX *ctx; + SSL_SESSION *sess; +}; + +typedef SSL *ne_ssl_socket; + +#endif /* HAVE_OPENSSL */ + +#ifdef HAVE_GNUTLS + +#include + +struct ne_ssl_context_s { + gnutls_certificate_credentials cred; + /* TODO: store session here too */ +}; + +typedef gnutls_session ne_ssl_socket; + +#endif /* HAVE_GNUTLS */ + +ne_ssl_socket ne__sock_sslsock(ne_socket *sock); + +#endif /* NE_PRIVSSL_H */ @ 1.8 log @Add a workaround for GNOME bug #337993. This fixes "undefined symbols" errors on Darwin. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Update gnome-vfs2 (and gnome-vfs2-{cdda,smb}) to 2.6.1.1. Changes in the package: * Use gnutls instead of openssl. This fixes many problems exposed by programs using the mozilla renderer and gnome-vfs2 together (like epiphany and galeon), due to conflicting symbols. Closes PR pkg/25190. * Move documentation out of the doc/html subdirectory. Bug fixes in this version: * Portability fixes. * Work with GNUTLS 1.0. * sftp: handles servers that ask for "Password" (not "password"). * gnome_vfs_inet_connection_read handles EOF correctly. * thread-safe gnome-vfs-parse-ls.c. * Fix mime crash. * Toplevel smb directories aren't writable. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.6 2004/04/24 21:00:07 danw Exp $ d3 68 a70 18 --- modules/sftp-method.c.orig Sat Apr 24 15:37:26 2004 +++ modules/sftp-method.c @@@@ -175,6 +175,15 @@@@ typedef struct typedef ssize_t (*read_write_fn) (int, void *, size_t); +#ifndef TEMP_FAILURE_RETRY +#define TEMP_FAILURE_RETRY(expression) \ + (__extension__ \ + ({ long int __result; \ + do __result = (long int) (expression); \ + while (__result == -1L && errno == EINTR); \ + __result; })) +#endif + static gsize atomic_io (read_write_fn f, gint fd, gpointer buffer_in, gsize size) { @ 1.7.18.1 log @Pullup ticket 1732 - requested by minskim portability fixes for gnome-vfs2 Revisions pulled up: - pkgsrc/sysutils/gnome-vfs2/distinfo 1.55, 1.56, 1.57 - pkgsrc/sysutils/gnome-vfs2/patches/patch-ac 1.11, 1.12 - pkgsrc/sysutils/gnome-vfs2/patches/patch-ag 1.10 - pkgsrc/sysutils/gnome-vfs2/patches/patch-ak 1.8 - pkgsrc/sysutils/gnome-vfs2/patches/patch-al 1.8 - pkgsrc/sysutils/gnome-vfs2/patches/patch-as 1.3, 1.4 - pkgsrc/sysutils/gnome-vfs2/patches/patch-at 1.3 - pkgsrc/sysutils/gnome-vfs2/patches/patch-av 1.5 Module Name: pkgsrc Committed By: minskim Date: Thu Jul 6 23:35:15 UTC 2006 Modified Files: pkgsrc/sysutils/gnome-vfs2: distinfo Added Files: pkgsrc/sysutils/gnome-vfs2/patches: patch-ac patch-ag patch-as Log Message: Add a missing file from neon sources to fix an ündefined symbols" error on Darwin. This addresses one of the errors reported in PR pkg/33233. Patches obtained from GNOME CVS. --- Module Name: pkgsrc Committed By: minskim Date: Fri Jul 7 00:24:43 UTC 2006 Modified Files: pkgsrc/sysutils/gnome-vfs2: distinfo pkgsrc/sysutils/gnome-vfs2/patches: patch-ac patch-as Added Files: pkgsrc/sysutils/gnome-vfs2/patches: patch-ak patch-al Log Message: Add a workaround for GNOME bug #337993. This fixes ündefined symbols" errors on Darwin. --- Module Name: pkgsrc Committed By: minskim Date: Fri Jul 7 00:47:40 UTC 2006 Modified Files: pkgsrc/sysutils/gnome-vfs2: distinfo Added Files: pkgsrc/sysutils/gnome-vfs2/patches: patch-at patch-av Log Message: Add a workaround for GNOME bug #338015. This fixes PR pkg/33233. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.8 2006/07/07 00:24:43 minskim Exp $ d3 18 a20 68 http://bugzilla.gnome.org/show_bug.cgi?id=337993 --- imported/neon/ne_privssl.h.orig 2006-06-26 16:32:19.000000000 -0700 +++ imported/neon/ne_privssl.h @@@@ -0,0 +1,63 @@@@ +/* + SSL interface definitions internal to neon. + Copyright (C) 2003, 2004, Joe Orton + Copyright (C) 2004, Aleix Conchillo Flaque + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, + MA 02111-1307, USA + +*/ + +/* THIS IS NOT A PUBLIC INTERFACE. You CANNOT include this header file + * from an application. */ + +#ifndef NE_PRIVSSL_H +#define NE_PRIVSSL_H + +/* This is the private interface between ne_socket, ne_gnutls and + * ne_openssl. */ + +#include "ne_ssl.h" +#include "ne_socket.h" + +#ifdef HAVE_OPENSSL + +#include + +struct ne_ssl_context_s { + SSL_CTX *ctx; + SSL_SESSION *sess; +}; + +typedef SSL *ne_ssl_socket; + +#endif /* HAVE_OPENSSL */ + +#ifdef HAVE_GNUTLS + +#include + +struct ne_ssl_context_s { + gnutls_certificate_credentials cred; + /* TODO: store session here too */ +}; + +typedef gnutls_session ne_ssl_socket; + +#endif /* HAVE_GNUTLS */ + +ne_ssl_socket ne__sock_sslsock(ne_socket *sock); + +#endif /* NE_PRIVSSL_H */ @ 1.6 log @Darwin fixes (revert some of the earlier fixes, add a patch from GNOME CVS, and fix a really confused #ifdef) @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update to 2.4.1, based on work done by xtraeme@@ and Min Sik Kim. gnome-vfs-2.4.1 * Bugs fixed + Allow to create symlinks to huge files on nearly full file systems (James M. Cape) + Fix compilation on HP/UX * Translations + he (Gil "Dolfin" Osher), it (Luca Ferretti), lv (Peteris Krisjanis), mr (Jitendra Shah), nl (Vincent van Adrighem), pt_BR (Augusta Marques da Silva), ro (Mi?u Moldovan), ta (Dinesh) gnome-vfs 2.4.0 * Featurelets: Updated translations gnome-vfs 2.3.90 * Bugs fixed: + Just emit one mime db changed signal per change gnome-vfs 2.3.8 * Bugs fixed: + CDE menu fixes + IPV6 build fixes for non-linux + removed usage of ngettext (for now) + fix fam crash * Featurelets: + add dav schema for webdav usage + Make gnome_vfs_make_uri_from_input be smarter about when to make http: uris gnome-vfs 2.3.7 * Bugs fixed: + Test fixes + translation fixes * Featurelets: + ignore_hosts gconf key for proxies gnome-vfs 2.3.6 * Bugs fixed: + Fixes in CDE menu handling + Shrink default gnome-vfs stack size + Small API doc updates + Properly read .mime and .keys file not ending with \n + Compilation fixes when using gcc 3.3 + Compilation fixes for Solaris + Leak fixes in URI and mime-type handling + When an unknown app is added to a mime-type short list, also add it to this mime-type global list * Featurelets: + Added an Accessibility submenu in the Applications menu + Improve parsing of URIs (wrongly) containing UTF-8 chars + Translation updates gnome-vfs 2.3.5: * Features: + added a startup notification application registry key * Bugs fixed: + Fix memory handling in mime handlers. + Make job_private static in gnome-vfs-job.c + Fixed CDE menu crash gnome-vfs 2.3.4: * Bugs fixed: + Get Names of vfolder directories right gnome-vfs 2.3.3: * Bugs fixed: + Fix potential crashes for uris with %2F in them + solaris libnsl/libsocket build fixes + Fix fam threadsafe issue + Handle fam connection going away better + Fixed doc building gnome-vfs 2.3.2 * Features: + ipv6 uris supported + add some command line applications for gnome-vfs * Bugs fixed: + mp3 mimetype is audio/mpeg, not audio/x-mp3 + build issues fixed + fix ncpfs filesystem gnome-vfs 2.3.1 * Features: + New API gnome_vfs_url_show() and related calls + New function gnome_vfs_make_uri_from_input_with_dirs + Cygwin port + IPV6 support * Bugs fixed: + Some mime fixes + Correctly handle symlinks to symlinks + hpux fixes + CDE menu translation fixes + Webdav PROPFIND details + Fixed locale aliases handling + call bindtextlocale to get translation working + Fixes to mtab handling @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.4 2003/04/27 14:44:34 jmmv Exp $ d3 3 a5 4 --- modules/file-method.c.orig 2003-02-24 13:18:31.000000000 +0100 +++ modules/file-method.c @@@@ -806,6 +806,7 @@@@ do_read_directory (GnomeVFSMethod *metho result = readdir (handle->dir); d7 1 a7 6 if (result == NULL && errno != 0) { + G_UNLOCK (readdir); return gnome_vfs_result_from_errno (); } if (result != NULL) { @@@@ -1113,9 +1114,23 @@@@ find_trash_in_one_hierarchy_level (const d9 7 a15 18 item_buffer = g_malloc (sizeof (struct dirent) + GET_PATH_MAX() + 1); for (;;) { +#ifdef HAVE_READDIR_R if (readdir_r (directory, item_buffer, &item) != 0 || item == NULL) { break; } +#else + G_LOCK (readdir); + errno = 0; + item = readdir (directory); + if (item == NULL || errno != 0) { + G_UNLOCK (readdir); + break; + } + if (item != NULL) { + memcpy (item_buffer, item, sizeof (struct dirent)); + } + G_UNLOCK (readdir); d17 4 a20 3 if (gnome_vfs_context_check_cancellation (context)) break; @ 1.4 log @Fix the file method to not use readdir_r at all if it is not present in the system. Bump PKGREVISION to 1. Fixes many problems in Nautilus and other programs. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update gnome-vfs2 to 2.2.4. Changes are translation updates and bugfixes. Most notably, this version fixes a series of fundamental, long outstanding problems we had with GNOME2: * Nautilus works now * gnome-control-center no longer crashes * panel menus and entries are now correct * probably a ton of other gnome-vfs related problems @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.2 2003/02/15 16:29:33 jmmv Exp $ d3 1 a3 4 This patch is being tracked in bug #92844. See http://bugzilla.gnome.org/show_bug.cgi?id=92844 for more details. --- modules/file-method.c.orig 2003-02-12 12:55:48.000000000 +0100 d5 2 a6 46 @@@@ -488,10 +488,10 @@@@ do_truncate (GnomeVFSMethod *method, typedef struct { GnomeVFSURI *uri; - DIR *dir; + GDir *dir; GnomeVFSFileInfoOptions options; - struct dirent *current_entry; + gchar *current_entry; gchar *name_buffer; gchar *name_ptr; @@@@ -499,7 +499,7 @@@@ typedef struct { static DirectoryHandle * directory_handle_new (GnomeVFSURI *uri, - DIR *dir, + GDir *dir, GnomeVFSFileInfoOptions options) { DirectoryHandle *result; @@@@ -511,9 +511,6 @@@@ directory_handle_new (GnomeVFSURI *uri, result->uri = gnome_vfs_uri_ref (uri); result->dir = dir; - /* Reserve extra space for readdir_r, see man page */ - result->current_entry = g_malloc (sizeof (struct dirent) + GET_PATH_MAX() + 1); - full_name = get_path_from_uri (uri); g_assert (full_name != NULL); /* already done by caller */ full_name_len = strlen (full_name); @@@@ -538,7 +535,6 @@@@ directory_handle_destroy (DirectoryHandl { gnome_vfs_uri_unref (directory_handle->uri); g_free (directory_handle->name_buffer); - g_free (directory_handle->current_entry); g_free (directory_handle); } @@@@ -737,13 +733,13 @@@@ do_open_directory (GnomeVFSMethod *metho GnomeVFSContext *context) { gchar *directory_name; - DIR *dir; + GDir *dir; d8 2 a9 8 directory_name = get_path_from_uri (uri); if (directory_name == NULL) return GNOME_VFS_ERROR_INVALID_URI; - dir = opendir (directory_name); + dir = g_dir_open (directory_name, 0, NULL); g_free (directory_name); if (dir == NULL) d11 23 a33 31 @@@@ -764,7 +760,7 @@@@ do_close_directory (GnomeVFSMethod *meth directory_handle = (DirectoryHandle *) method_handle; - closedir (directory_handle->dir); + g_dir_close (directory_handle->dir); directory_handle_destroy (directory_handle); @@@@ -784,20 +780,9 @@@@ do_read_directory (GnomeVFSMethod *metho handle = (DirectoryHandle *) method_handle; - errno = 0; - if (readdir_r (handle->dir, handle->current_entry, &result) != 0) { - /* Work around a Solaris bug. - * readdir64_r returns -1 instead of 0 at EOF. - */ - if (errno == 0) { - return GNOME_VFS_ERROR_EOF; - } - return gnome_vfs_result_from_errno (); - } - - if (result == NULL) { + handle->current_entry = g_dir_read_name (handle->dir); + if (handle->current_entry == NULL) return GNOME_VFS_ERROR_EOF; - } file_info->name = g_strdup (result->d_name); d35 2 @ 1.2 log @- Note which GNOME bugs are tracking some of the issues we are currently patching. - Remove useless patches that make maintenance harder. - Use glib's g_dir_* functions instead of hacking the local file method to use readdir. - Bump PKGREVISION to 1. Reviewed by wiz. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.1 2002/09/11 23:07:52 rh Exp $ @ 1.1 log @Bump gnome-vfs2 to 2.0.4nb1: - Properly compile pluggable fs modules (pkg/18220) - Add missing dependencies (pkg/18220) - Make this more pkglint-friendly. - Don't try to tweak LTCONFIG_OVERRIDE towards ltmain.sh, use LIBTOOL_OVERRIDE instead @ text @d1 1 a1 1 $NetBSD$ d3 28 a30 3 --- modules/file-method.c.orig Mon Sep 9 12:29:10 2002 +++ modules/file-method.c Mon Sep 9 12:33:33 2002 @@@@ -511,8 +511,10 @@@@ d34 3 a36 5 +#ifdef HAVE_READDIR_R /* Reserve extra space for readdir_r, see man page */ result->current_entry = g_malloc (sizeof (struct dirent) + GET_PATH_MAX() + 1); +#endif d39 2 a40 1 @@@@ -538,7 +540,9 @@@@ d44 1 a44 3 +#ifdef HAVE_READDIR_R g_free (directory_handle->current_entry); +#endif d48 27 a74 1 @@@@ -763,7 +767,11 @@@@ d77 14 a90 15 errno = 0; +#ifdef HAVE_READDIR_R if (readdir_r (handle->dir, handle->current_entry, &result) != 0) { +#else + if ((handle->current_entry = readdir (handle->dir)) == NULL) { +#endif /* Work around a Solaris bug. * readdir64_r returns -1 instead of 0 at EOF. */ @@@@ -773,9 +781,11 @@@@ return gnome_vfs_result_from_errno (); } +#ifdef HAVE_READDIR_R if (result == NULL) { d92 1 a92 2 } +#endif a94 12 @@@@ -1068,7 +1078,11 @@@@ item_buffer = g_malloc (sizeof (struct dirent) + GET_PATH_MAX() + 1); for (;;) { +#ifdef HAVE_READDIR_R if (readdir_r (directory, item_buffer, &item) != 0 || item == NULL) { +#else + if ((item_buffer = readdir (directory)) == NULL) { +#endif break; } @