FreeBSD Bugzilla – Attachment 195529 Details for
Bug 230108
[MAINTAINER-UPDATE] net/megatools: update to 1.10.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update to 1.10.1
megatools.diff (text/plain), 3.57 KB, created by
Max Kostikov
on 2018-07-28 13:43:38 UTC
(
hide
)
Description:
update to 1.10.1
Filename:
MIME Type:
Creator:
Max Kostikov
Created:
2018-07-28 13:43:38 UTC
Size:
3.57 KB
patch
obsolete
>diff -ruN /usr/ports/net/megatools/distinfo megatools/distinfo >--- /usr/ports/net/megatools/distinfo 2018-07-25 14:52:24.000000000 +0200 >+++ megatools/distinfo 2018-07-28 15:35:46.345641000 +0200 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1532507562 >-SHA256 (megatools-1.10.0.tar.gz) = 788a51d0977db95c371c97917aee3d39e145044b6bb70d671bc76c2ea6c4171b >-SIZE (megatools-1.10.0.tar.gz) = 297369 >+TIMESTAMP = 1532784946 >+SHA256 (megatools-1.10.1.tar.gz) = 9938127db27b579d49aa8722bfdddd17833fe90668aa2670ce88d1c889452d67 >+SIZE (megatools-1.10.1.tar.gz) = 299422 >diff -ruN /usr/ports/net/megatools/files/patch-lib_mega.c megatools/files/patch-lib_mega.c >--- /usr/ports/net/megatools/files/patch-lib_mega.c 2018-07-25 14:52:24.000000000 +0200 >+++ megatools/files/patch-lib_mega.c 1970-01-01 03:00:00.000000000 +0300 >@@ -1,46 +0,0 @@ >---- lib/mega.c.orig 2018-07-22 21:41:55 UTC >-+++ lib/mega.c >-@@ -3172,6 +3172,7 @@ static void tman_worker_upload_chunk(struct transfer_c >- GError *local_err = NULL; >- gc_free gchar *url = NULL; >- gc_string_free GString *response = NULL; >-+ gc_free gchar* chksum = NULL; >- >- tman_debug("W[%d]: started for chunk %d\n", worker->index, c->index); >- >-@@ -3217,7 +3218,7 @@ static void tman_worker_upload_chunk(struct transfer_c >- } >- >- // prepare URL including chunk offset >-- gc_free gchar* chksum = upload_checksum(buf, c->size); >-+ chksum = upload_checksum(buf, c->size); >- url = g_strdup_printf("%s/%" G_GOFFSET_FORMAT "?c=%s", t->upload_url, c->offset, chksum); >- >- // perform upload POST >-@@ -4636,6 +4637,26 @@ gboolean mega_node_get_path(struct mega_node *n, gchar >- gboolean mega_node_is_container(struct mega_node *n) >- { >- return n && n->type != MEGA_NODE_FILE; >-+} >-+ >-+// }}} >-+// {{{ mega_node_has_ancestor >-+ >-+gboolean mega_node_has_ancestor(struct mega_node *n, struct mega_node *ancestor) >-+{ >-+ g_return_val_if_fail(n != NULL, FALSE); >-+ g_return_val_if_fail(ancestor != NULL, FALSE); >-+ >-+ struct mega_node* it = n->parent; >-+ >-+ while (it) { >-+ if (it == ancestor) >-+ return TRUE; >-+ >-+ it = it->parent; >-+ } >-+ >-+ return FALSE; >- } >- >- // }}} >diff -ruN /usr/ports/net/megatools/files/patch-lib_mega.h megatools/files/patch-lib_mega.h >--- /usr/ports/net/megatools/files/patch-lib_mega.h 2018-07-25 14:52:24.000000000 +0200 >+++ megatools/files/patch-lib_mega.h 1970-01-01 03:00:00.000000000 +0300 >@@ -1,19 +0,0 @@ >---- lib/mega.h.orig 2018-07-22 21:40:40 UTC >-+++ lib/mega.h >-@@ -118,7 +118,7 @@ struct mega_download_data_params { >- >- gchar *node_handle; >- gchar *node_name; >-- gsize node_size; >-+ guint64 node_size; >- }; >- >- #define MEGA_DEBUG_API 0x01 >-@@ -181,6 +181,7 @@ void mega_download_data_free(struct mega_download_data >- gboolean mega_node_is_writable(struct mega_session *s, struct mega_node *n); >- >- gboolean mega_node_is_container(struct mega_node *n); >-+gboolean mega_node_has_ancestor(struct mega_node *n, struct mega_node *ancestor); >- gchar *mega_node_get_link(struct mega_node *n, gboolean include_key); >- gchar *mega_node_get_key(struct mega_node *n); >- gboolean mega_node_get_path(struct mega_node *n, gchar *buf, gsize len); >diff -ruN /usr/ports/net/megatools/Makefile megatools/Makefile >--- /usr/ports/net/megatools/Makefile 2018-07-25 14:52:24.000000000 +0200 >+++ megatools/Makefile 2018-07-28 15:33:39.311688000 +0200 >@@ -1,8 +1,8 @@ > # Created by: Max V. Kostikov <max@kostikov.co> >-# $FreeBSD: head/net/megatools/Makefile 475312 2018-07-25 12:52:24Z swills $ >+# $FreeBSD: head/net/megatools/Makefile 448631 2017-08-23 17:13:21Z amdmi3 $ > > PORTNAME= megatools >-PORTVERSION= 1.10.0 >+PORTVERSION= 1.10.1 > CATEGORIES= net > MASTER_SITES= https://megatools.megous.com/builds/ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230108
: 195529