From 94661d098a405f872b217e4775609bff54faa224e62eefd7e2a76aeebe129428 Mon Sep 17 00:00:00 2001 From: Tomas Cech Date: Sun, 28 May 2023 12:24:27 +0000 Subject: [PATCH] Accepting request 1072355 from home:elchevive:branches:network:utilities - updated to 1.11.1 - updated minimal curl required to 7.85.0 * Improvements/Fixes: - Megatools now install a single `megatools` executable, where former `megaXYZ ...` commands now have to be executed as `megatools XYZ ...`. - Implemented PKP (public key pinning for mega.nz's API server). Megatools no longer use public certificate authorities to verify API server's authenticity. If you use software that MITM's your web traffic, megatools will not allow this anymore. - Support new public folder URLs in `dl` - Build system moved to meson - New `test` command for checking if file exists - New `export` command for creating public links for private files - Login v2 support - fix folder downloads - fix handling of = in mega URLs - updated to 1.10.3 - updated keyring file to new public key - specified GPL2 version * Updated to version 1.9.98 - spec file cleaned - removed libmega and devel packages (upstream change) - new build requirement asciidoc - updated keyring file with correct public key 0x77CFEFF1 * New features: - Support upload/download speed limit settings - Support socks proxy - Improved progress reporting - Support for OpenSSL 1.1.x * Removals: - Remove undocummented --abort-on-error option. Tools now always report errors through exit status. - Remove libmega.so public library support and a lot of unused code that was planned to be used for 2.0 - Remove megamv (it was never implemented and confused users) - Remove megafs (it was just an experiment and confused users) * Cleanups: - Cleanup build system a bit - Cleanup CLI option handling, improved --help output * Fixes: - Enable automatic decompression (CURLOPT_ACCEPT_ENCODING) (by protomouse) (This finally fixes the problem with HTTP compression.) - Exit status from all the tools is now correctly reported - Fix syncing of symlinked files - Support very long passwords in the password prompt (up to 1024 chars) - bump to 1.9.97, bugfix release - move libmega0 to separate subpackage - add keyring - remove static libraries - clean-up the spec file manually and with spec-cleaner - bump to 1.9.95 - Update to version 1.9.93 Updated to version 1.9.92 Megatools 1.9.91 released with bugfixes and all new man pages. OBS-URL: https://build.opensuse.org/request/show/1072355 OBS-URL: https://build.opensuse.org/package/show/network:utilities/megatools?expand=0&rev=8 --- megatools-1.10.3.tar.gz | 3 -- megatools-1.10.3.tar.gz.asc | 7 ---- megatools-1.11.1.20230212.tar.gz | 3 ++ megatools-1.11.1.20230212.tar.gz.asc | 7 ++++ megatools.changes | 24 ++++++++++++- megatools.spec | 50 +++++++++++++++++----------- 6 files changed, 63 insertions(+), 31 deletions(-) delete mode 100644 megatools-1.10.3.tar.gz delete mode 100644 megatools-1.10.3.tar.gz.asc create mode 100644 megatools-1.11.1.20230212.tar.gz create mode 100644 megatools-1.11.1.20230212.tar.gz.asc diff --git a/megatools-1.10.3.tar.gz b/megatools-1.10.3.tar.gz deleted file mode 100644 index 328c388..0000000 --- a/megatools-1.10.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8dc1ca348633fd49de7eb832b323e8dc295f1c55aefb484d30e6475218558bdb -size 196361 diff --git a/megatools-1.10.3.tar.gz.asc b/megatools-1.10.3.tar.gz.asc deleted file mode 100644 index b21add2..0000000 --- a/megatools-1.10.3.tar.gz.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iHUEABYIAB0WIQTr+93hH7kY1E0fVsH58Khzvpd37QUCXpbgcQAKCRD58Khzvpd3 -7fM2AQCHbKJcbVGwrU1MJJ5AV/NEWz9FWJb+0g82m0Em9tjssQEAxWEbtse1x3qj -gnrxu3ZP4afrGsKC1CMoHR2YhSLbLA8= -=Mi8D ------END PGP SIGNATURE----- diff --git a/megatools-1.11.1.20230212.tar.gz b/megatools-1.11.1.20230212.tar.gz new file mode 100644 index 0000000..d8864f3 --- /dev/null +++ b/megatools-1.11.1.20230212.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ecfa2ee4b277c601ebae648287311030aa4ca73ea61ee730bc66bef24ef19a34 +size 105339 diff --git a/megatools-1.11.1.20230212.tar.gz.asc b/megatools-1.11.1.20230212.tar.gz.asc new file mode 100644 index 0000000..8bf0749 --- /dev/null +++ b/megatools-1.11.1.20230212.tar.gz.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHQEABYIAB0WIQTr+93hH7kY1E0fVsH58Khzvpd37QUCY+lBDgAKCRD58Khzvpd3 +7QWQAQDZv+NBzDXrWS+VQCh9L1WUxNGYVspxiu/y96x6LjCVwQD3Sm2gLwEQtr60 +TEmo7NKY+nzJmNsz+DjPS0zk91p5DA== +=TuyQ +-----END PGP SIGNATURE----- diff --git a/megatools.changes b/megatools.changes index c368978..af5b734 100644 --- a/megatools.changes +++ b/megatools.changes @@ -1,7 +1,29 @@ +------------------------------------------------------------------- +Thu Mar 16 12:18:00 UTC 2023 - Luiz Fernando Ranghetti + +- updated to 1.11.1 +- updated minimal curl required to 7.85.0 + +* Improvements/Fixes: + + - Megatools now install a single `megatools` executable, where former + `megaXYZ ...` commands now have to be executed as `megatools XYZ ...`. + - Implemented PKP (public key pinning for mega.nz's API server). Megatools + no longer use public certificate authorities to verify API server's + authenticity. If you use software that MITM's your web traffic, megatools + will not allow this anymore. + - Support new public folder URLs in `dl` + - Build system moved to meson + - New `test` command for checking if file exists + - New `export` command for creating public links for private files + - Login v2 support + - fix folder downloads + - fix handling of = in mega URLs + ------------------------------------------------------------------- Mon Jun 29 20:21:26 UTC 2020 - Adrian Strauss -- udated to 1.10.3 +- updated to 1.10.3 - updated keyring file to new public key - specified GPL2 version diff --git a/megatools.spec b/megatools.spec index dea99d9..f4c76fc 100644 --- a/megatools.spec +++ b/megatools.spec @@ -1,7 +1,7 @@ # # spec file for package megatools # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,26 +15,27 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%global snapshot 20230212 -# See also http://en.opensuse.org/openSUSE:Specfile_guidelines Name: megatools -Version: 1.10.3 +Version: 1.11.1 Release: 0 Summary: CLI client for mega.co.nz License: GPL-2.0-or-later Group: Productivity/Networking/File-Sharing URL: http://megatools.megous.com -Source0: http://megatools.megous.com/builds/%{name}-%{version}.tar.gz -Source1: http://megatools.megous.com/builds/%{name}-%{version}.tar.gz.asc +Source0: %{name}-%{version}.%{snapshot}.tar.gz +Source1: %{name}-%{version}.%{snapshot}.tar.gz.asc # Keyring obtained from https://xff.cz/key.txt Source2: %{name}.keyring BuildRequires: asciidoc +BuildRequires: docbook2X BuildRequires: fuse-devel BuildRequires: glib2-devel >= 2.32.0 -BuildRequires: libcurl-devel +BuildRequires: libcurl-devel >= 7.85.0 BuildRequires: libopenssl-devel -BuildRequires: pcre-devel -Requires: curl +BuildRequires: meson +Requires: curl >= 7.85.0 Requires: fuse Requires: glib-networking >= 2.32.0 Requires: openssl @@ -43,24 +44,33 @@ Requires: openssl Megatools allow you to copy individual files as well as entire directory trees to and from the cloud. You can also perform streaming downloads for example to preview videos and audio files, without needing to download the entire file. + +You can register an account using a "megareg" tool, with the benefit of having +true control of your encryption keys. + +Megatools are robust and optimized for fast operation - as fast as Mega servers +allow. Memory requirements and CPU utilization are kept at minimum. %prep -%setup -q - +%autosetup -n %{name}-%{version}.%{snapshot} + %build -%configure -make %{?_smp_mflags} +%meson +%meson_build %install -%make_install +%meson_install -%files -n %{name} +%check +%meson_test +%ldconfig_scriptlets + +%files +%license LICENSE +%doc NEWS README %{_bindir}/mega* -%{_datadir}/doc/%{name} -%{_mandir}/man1/mega* -%{_mandir}/man5/mega* -%{_mandir}/man7/mega* -%exclude %{_datadir}/doc/%{name}/INSTALL -%exclude %{_datadir}/doc/%{name}/TODO +%{_mandir}/man1/mega*.1.* +%{_mandir}/man5/mega*.5.* +%exclude %{_datadir}/doc/%{name}/* %changelog