net/megatools: update port to 1.11.1.20230212

Current port does not work:

ERROR: Can't login to mega.nz: API call 'us' failed: Server returned error
EEXPIRED

PR:             275281
Reported by:    discipline@tiscali.it
Approved by:	max@kostikov.co (maintainer)
This commit is contained in:
Ale 2023-11-28 17:34:42 +01:00 committed by Fernando Apesteguía
parent 2287f84c6e
commit 133c39b3bb
3 changed files with 39 additions and 36 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= megatools
PORTVERSION= 1.10.3
PORTVERSION= 1.11.1.20230212
CATEGORIES= net
MASTER_SITES= https://megatools.megous.com/builds/
@ -10,23 +10,23 @@ WWW= https://megatools.megous.com/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= asciidoc:textproc/asciidoc
LIB_DEPENDS= libcurl.so:ftp/curl
USES= compiler:c11 gettext-runtime gmake gnome libtool pathfix \
pkgconfig ssl
pkgconfig ssl meson
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
OPTIONS_DEFINE= DOCS MANPAGES SYMLINKS
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
post-patch:
# Unsilence build
${REINPLACE_CMD} -e '/^export\ MAKEFLAGS/s|^|#|' ${WRKSRC}/Makefile.in
MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \
db2x_manxml:textproc/docbook2X
MANPAGES_MESON_TRUE= man
SYMLINKS_DESC= Create symlinks for old commands
SYMLINKS_MESON_TRUE= symlinks
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1587022137
SHA256 (megatools-1.10.3.tar.gz) = 8dc1ca348633fd49de7eb832b323e8dc295f1c55aefb484d30e6475218558bdb
SIZE (megatools-1.10.3.tar.gz) = 196361
TIMESTAMP = 1700745558
SHA256 (megatools-1.11.1.20230212.tar.gz) = ecfa2ee4b277c601ebae648287311030aa4ca73ea61ee730bc66bef24ef19a34
SIZE (megatools-1.11.1.20230212.tar.gz) = 105339

View file

@ -1,25 +1,28 @@
bin/megacopy
bin/megadf
bin/megadl
bin/megaget
bin/megals
bin/megamkdir
bin/megaput
bin/megareg
bin/megarm
man/man1/megacopy.1.gz
man/man1/megadf.1.gz
man/man1/megadl.1.gz
man/man1/megaget.1.gz
man/man1/megals.1.gz
man/man1/megamkdir.1.gz
man/man1/megaput.1.gz
man/man1/megareg.1.gz
man/man1/megarm.1.gz
man/man5/megarc.5.gz
man/man7/megatools.7.gz
%%PORTDOCS%%%%DOCSDIR%%/HACKING
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%SYMLINKS%%bin/megacopy
%%SYMLINKS%%bin/megadf
%%SYMLINKS%%bin/megadl
%%SYMLINKS%%bin/megaexport
%%SYMLINKS%%bin/megaget
%%SYMLINKS%%bin/megals
%%SYMLINKS%%bin/megamkdir
%%SYMLINKS%%bin/megaput
%%SYMLINKS%%bin/megareg
%%SYMLINKS%%bin/megarm
%%SYMLINKS%%bin/megatest
bin/megatools
%%MANPAGES%%man/man1/megatools-copy.1.gz
%%MANPAGES%%man/man1/megatools-df.1.gz
%%MANPAGES%%man/man1/megatools-dl.1.gz
%%MANPAGES%%man/man1/megatools-export.1.gz
%%MANPAGES%%man/man1/megatools-get.1.gz
%%MANPAGES%%man/man1/megatools-ls.1.gz
%%MANPAGES%%man/man1/megatools-mkdir.1.gz
%%MANPAGES%%man/man1/megatools-put.1.gz
%%MANPAGES%%man/man1/megatools-reg.1.gz
%%MANPAGES%%man/man1/megatools-rm.1.gz
%%MANPAGES%%man/man1/megatools-test.1.gz
%%MANPAGES%%man/man1/megatools.1.gz
%%MANPAGES%%man/man5/megarc.5.gz
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README