Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnunet-fuse for openSUSE:Factory checked in at 2024-12-17 21:34:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnunet-fuse (Old) and /work/SRC/openSUSE:Factory/.gnunet-fuse.new.29675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnunet-fuse" Tue Dec 17 21:34:42 2024 rev:3 rq:1231670 version:0.23.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gnunet-fuse/gnunet-fuse.changes 2024-11-07 16:33:11.112123559 +0100 +++ /work/SRC/openSUSE:Factory/.gnunet-fuse.new.29675/gnunet-fuse.changes 2024-12-17 21:34:43.905767997 +0100 @@ -1,0 +2,6 @@ +Tue Dec 17 10:41:52 UTC 2024 - Andreas Stieger <[email protected]> + +- update to 0.23.0: + * no functional changes + +------------------------------------------------------------------- Old: ---- gnunet-fuse-0.22.0.tar.gz gnunet-fuse-0.22.0.tar.gz.sig New: ---- gnunet-fuse-0.23.0.tar.gz gnunet-fuse-0.23.0.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnunet-fuse.spec ++++++ --- /var/tmp/diff_new_pack.7ENOT4/_old 2024-12-17 21:34:44.609797328 +0100 +++ /var/tmp/diff_new_pack.7ENOT4/_new 2024-12-17 21:34:44.609797328 +0100 @@ -18,7 +18,7 @@ Name: gnunet-fuse -Version: 0.22.0 +Version: 0.23.0 Release: 0 Summary: GNUnet FUSE interface License: GPL-3.0-only ++++++ gnunet-fuse-0.22.0.tar.gz -> gnunet-fuse-0.23.0.tar.gz ++++++ ++++ 5757 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnunet-fuse-0.22.0/configure.ac new/gnunet-fuse-0.23.0/configure.ac --- old/gnunet-fuse-0.22.0/configure.ac 2024-08-29 11:50:37.000000000 +0200 +++ new/gnunet-fuse-0.23.0/configure.ac 2024-12-09 17:23:27.000000000 +0100 @@ -20,7 +20,7 @@ # Process this file with autoconf to produce a configure script. # AC_PREREQ([2.71]) -AC_INIT([gnunet-fuse],[0.22.0],[[email protected]]) +AC_INIT([gnunet-fuse],[0.23.0],[[email protected]]) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(gnunet_fuse_config.h) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnunet-fuse-0.22.0/gnunet_fuse_config.h.in new/gnunet-fuse-0.23.0/gnunet_fuse_config.h.in --- old/gnunet-fuse-0.22.0/gnunet_fuse_config.h.in 2024-08-29 11:51:03.000000000 +0200 +++ new/gnunet-fuse-0.23.0/gnunet_fuse_config.h.in 2024-12-09 17:26:09.000000000 +0100 @@ -27,7 +27,7 @@ /* Define to 1 if you have the <errno.h> header file. */ #undef HAVE_ERRNO_H -/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ +/* Define to 1 if fseeko (and ftello) are declared in stdio.h. */ #undef HAVE_FSEEKO /* Define if the GNU gettext() function is already present or preinstalled. */ @@ -45,7 +45,7 @@ /* Define to 1 if you have the <langinfo.h> header file. */ #undef HAVE_LANGINFO_H -/* Define to 1 if you have the `intl' library (-lintl). */ +/* Define to 1 if you have the 'intl' library (-lintl). */ #undef HAVE_LIBINTL /* Define to 1 if you have the <libintl.h> header file. */ @@ -135,7 +135,7 @@ /* This is a Solaris system */ #undef SOLARIS -/* Define to 1 if all of the C90 standard headers exist (not just the ones +/* Define to 1 if all of the C89 standard headers exist (not just the ones required in a freestanding environment). This macro is provided for backward compatibility; new code need not use it. */ #undef STDC_HEADERS @@ -149,14 +149,20 @@ /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS -/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ +/* Define to 1 if necessary to make fseeko visible. */ #undef _LARGEFILE_SOURCE -/* Define for large files, on AIX-style hosts. */ +/* Define to 1 on platforms where this makes off_t a 64-bit type. */ #undef _LARGE_FILES /* Need with solaris or errno doesnt work */ #undef _REENTRANT +/* Number of bits in time_t, on hosts where this is settable. */ +#undef _TIME_BITS + /* This is a Windows system */ #undef _WIN32 + +/* Define to 1 on platforms where this makes time_t a 64-bit type. */ +#undef __MINGW_USE_VC2005_COMPAT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnunet-fuse-0.22.0/src/fuse/gnunet-fuse.c new/gnunet-fuse-0.23.0/src/fuse/gnunet-fuse.c --- old/gnunet-fuse-0.22.0/src/fuse/gnunet-fuse.c 2022-12-05 05:26:17.000000000 +0100 +++ new/gnunet-fuse-0.23.0/src/fuse/gnunet-fuse.c 2024-12-09 17:31:16.000000000 +0100 @@ -81,13 +81,13 @@ */ static void process_directory_entry (void *cls, - const char *filename, - const struct GNUNET_FS_Uri * - uri, - const struct - GNUNET_FS_MetaData * - meta, size_t length, - const void *data) + const char *filename, + const struct GNUNET_FS_Uri * + uri, + const struct + GNUNET_FS_MetaData * + meta, size_t length, + const void *data) { struct GNUNET_FUSE_PathInfo *parent = cls; struct GNUNET_FUSE_PathInfo *pi; @@ -96,9 +96,9 @@ if (NULL == filename) return; /* info about the directory itself */ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Adding file `%s' to directory `%s'\n", - filename, - parent->filename); + "Adding file `%s' to directory `%s'\n", + filename, + parent->filename); is_directory = GNUNET_FS_meta_data_test_for_directory (meta); if (GNUNET_SYSERR == is_directory) is_directory = GNUNET_NO; /* if in doubt, say no */ @@ -116,7 +116,7 @@ */ int GNUNET_FUSE_load_directory (struct GNUNET_FUSE_PathInfo *pi, - int * eno) + int *eno) { size_t size; void *data; @@ -125,12 +125,13 @@ /* Need to download directory; store to temporary file */ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Downloading directory `%s'\n", - pi->filename); + "Downloading directory `%s'\n", + pi->filename); pi->tmpfile = GNUNET_DISK_mktemp ("gnunet-fuse-tempfile"); if (GNUNET_OK != GNUNET_FUSE_download_file (pi, - 0, - GNUNET_FS_uri_chk_get_file_size (pi->uri))) + 0, + GNUNET_FS_uri_chk_get_file_size ( + pi->uri))) { unlink (pi->tmpfile); GNUNET_free (pi->tmpfile); @@ -141,28 +142,28 @@ size = (size_t) GNUNET_FS_uri_chk_get_file_size (pi->uri); fh = GNUNET_DISK_file_open (pi->tmpfile, - GNUNET_DISK_OPEN_READ, - GNUNET_DISK_PERM_NONE); + GNUNET_DISK_OPEN_READ, + GNUNET_DISK_PERM_NONE); if (NULL == fh) { *eno = EIO; return GNUNET_SYSERR; } data = GNUNET_DISK_file_map (fh, - &mh, - GNUNET_DISK_MAP_TYPE_READ, - size); + &mh, + GNUNET_DISK_MAP_TYPE_READ, + size); if (NULL == data) { GNUNET_assert (GNUNET_OK == GNUNET_DISK_file_close (fh)); - return - ENOMEM; + return -ENOMEM; } *eno = 0; if (GNUNET_OK != GNUNET_FS_directory_list_contents (size, - data, 0LL, - &process_directory_entry, - pi)) + data, 0LL, + &process_directory_entry, + pi)) *eno = ENOTDIR; GNUNET_assert (GNUNET_OK == GNUNET_DISK_file_unmap (mh)); GNUNET_DISK_file_close (fh); @@ -181,7 +182,7 @@ */ struct GNUNET_FUSE_PathInfo * GNUNET_FUSE_path_info_get (const char *path, - int *eno) + int *eno) { size_t slen = strlen (path) + 1; char buf[slen]; @@ -192,41 +193,41 @@ memcpy (buf, path, slen); pi = root; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Looking up path `%s'\n", - path); + "Looking up path `%s'\n", + path); GNUNET_mutex_lock (pi->lock); for (tok = strtok (buf, "/"); NULL != tok; tok = strtok (NULL, "/")) { GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Searching for token `%s'\n", - tok); + "Searching for token `%s'\n", + tok); if (NULL == pi->tmpfile) { if (GNUNET_OK != GNUNET_FUSE_load_directory (pi, eno)) { - GNUNET_mutex_unlock (pi->lock); - return NULL; + GNUNET_mutex_unlock (pi->lock); + return NULL; } } pos = pi->child_head; while ( (NULL != pos) && - (0 != strcmp (tok, - pos->filename)) ) + (0 != strcmp (tok, + pos->filename)) ) pos = pos->next; if (NULL == pos) { GNUNET_mutex_unlock (pi->lock); *eno = ENOENT; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "No file with name `%s' in directory `%s'\n", - tok, - pi->filename); + "No file with name `%s' in directory `%s'\n", + tok, + pi->filename); return NULL; } GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Descending into directory `%s'\n", - tok); + "Descending into directory `%s'\n", + tok); GNUNET_mutex_lock (pos->lock); GNUNET_mutex_unlock (pi->lock); pi = pos; @@ -250,9 +251,9 @@ */ struct GNUNET_FUSE_PathInfo * GNUNET_FUSE_path_info_create (struct GNUNET_FUSE_PathInfo *parent, - const char *filename, - const struct GNUNET_FS_Uri *uri, - int is_directory) + const char *filename, + const struct GNUNET_FS_Uri *uri, + int is_directory) { struct GNUNET_FUSE_PathInfo *pi; size_t len; @@ -285,8 +286,8 @@ if (NULL != parent) { GNUNET_CONTAINER_DLL_insert_tail (parent->child_head, - parent->child_tail, - pi); + parent->child_tail, + pi); GNUNET_mutex_unlock (parent->lock); } return pi; @@ -332,14 +333,14 @@ GNUNET_mutex_lock (parent->lock); GNUNET_mutex_lock (pi->lock); GNUNET_CONTAINER_DLL_remove (parent->child_head, - parent->child_tail, - pi); + parent->child_tail, + pi); pi->parent = NULL; GNUNET_mutex_unlock (parent->lock); } else { - ret = - ENOENT; + ret = -ENOENT; GNUNET_mutex_lock (pi->lock); } rc = --pi->rc; @@ -419,31 +420,32 @@ cfg = c; ret = 0; if (NULL == source) - { - fprintf (stderr, _("`%s' option for URI missing\n"), "-s"); - ret = 1; - return; - } + { + fprintf (stderr, _ ("`%s' option for URI missing\n"), "-s"); + ret = 1; + return; + } if (NULL == directory) - { - fprintf (stderr, _("`%s' option for mountpoint missing\n"), "-d"); - ret = 2; - return; - } + { + fprintf (stderr, _ ("`%s' option for mountpoint missing\n"), "-d"); + ret = 2; + return; + } /* parse source string to uri */ if (NULL == (uri = GNUNET_FS_uri_parse (source, &emsg))) - { - fprintf (stderr, "%s\n", emsg); - GNUNET_free (emsg); - ret = 3; - return; - } + { + fprintf (stderr, "%s\n", emsg); + GNUNET_free (emsg); + ret = 3; + return; + } if ( (GNUNET_YES != GNUNET_FS_uri_test_chk (uri)) && (GNUNET_YES != GNUNET_FS_uri_test_loc (uri)) ) { fprintf (stderr, - _("The given URI is not for a directory and can thus not be mounted\n")); + _ ( + "The given URI is not for a directory and can thus not be mounted\n")); ret = 4; GNUNET_FS_uri_destroy (uri); return; @@ -454,9 +456,9 @@ GNUNET_FUSE_load_directory (root, &eno)) { fprintf (stderr, - _("Failed to mount `%s': %s\n"), - source, - strerror (eno)); + _ ("Failed to mount `%s': %s\n"), + source, + strerror (eno)); ret = 5; cleanup_path_info (root); GNUNET_FS_uri_destroy (uri); @@ -473,11 +475,11 @@ a[0] = "gnunet-fuse"; a[1] = directory; if (GNUNET_YES == single_threaded) - { - a[2] = "-s"; - a[3] = "-f"; - a[4] = "-d"; - } + { + a[2] = "-s"; + a[3] = "-f"; + a[4] = "-d"; + } a[argc] = NULL; fuse_main (argc, a, &fops, NULL); } @@ -515,18 +517,20 @@ }; GNUNET_log_setup ("gnunet-fuse", - "DEBUG", - NULL); + "DEBUG", + NULL); return (GNUNET_OK == - GNUNET_PROGRAM_run2 (argc, - argv, - "gnunet-fuse -s URI [-- FUSE-OPTIONS] DIRECTORYNAME", - gettext_noop - ("fuse"), - options, - &run, - NULL, - GNUNET_YES)) ? ret : 1; + GNUNET_PROGRAM_run2 (GNUNET_OS_project_data_gnunet (), + argc, + argv, + "gnunet-fuse -s URI [-- FUSE-OPTIONS] DIRECTORYNAME", + gettext_noop + ("fuse"), + options, + &run, + NULL, + GNUNET_YES)) ? ret : 1; } + /* end of gnunet-fuse.c */
