Update to megatools-1.9.98.

This commit is contained in:
bentley 2016-11-21 06:43:39 +00:00
parent ede78c42ac
commit db6dd3cd99
4 changed files with 22 additions and 25 deletions

View File

@ -1,11 +1,8 @@
# $OpenBSD: Makefile,v 1.8 2016/11/04 11:35:19 sthen Exp $
# $OpenBSD: Makefile,v 1.9 2016/11/21 06:43:39 bentley Exp $
COMMENT = command line client application for Mega
DISTNAME = megatools-1.9.97
REVISION = 0
SHARED_LIBS += mega 1.0 # 0.0
DISTNAME = megatools-1.9.98
CATEGORIES = net
@ -16,13 +13,13 @@ MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c crypto curl ffi fuse gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 nghttp2 pcre pthread ssl z
WANTLIB += c crypto curl gio-2.0 glib-2.0 gobject-2.0 pthread ssl
MASTER_SITES = http://megatools.megous.com/builds/
MODULES = devel/gettext
BUILD_DEPENDS = devel/gobject-introspection
BUILD_DEPENDS = devel/gobject-introspection \
textproc/asciidoc
LIB_DEPENDS = devel/glib2 \
net/curl
RUN_DEPENDS = net/glib2-networking

View File

@ -1,2 +1,2 @@
SHA256 (megatools-1.9.97.tar.gz) = MxbFbuVa3vCrETqtQe+V6yj8FSGGOfabHgQ2KxxyWvM=
SIZE (megatools-1.9.97.tar.gz) = 446801
SHA256 (megatools-1.9.98.tar.gz) = mwUhpNJ9vEF/yOEmEKweHacpv21utb75J+82cLNyoW8=
SIZE (megatools-1.9.98.tar.gz) = 285805

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-lib_mega_c,v 1.1 2016/11/21 06:43:40 bentley Exp $
Fix compiling against LibreSSL.
From upstream 3111b1b11330feb8b81d163bce67c5579a289796.
--- lib/mega.c.orig Thu Nov 3 07:45:42 2016
+++ lib/mega.c Sat Nov 19 21:10:21 2016
@@ -803,7 +803,7 @@ static gboolean rsa_key_gen(rsa_key* k)
return FALSE;
}
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+#if OPENSSL_VERSION_NUMBER >= 0x101000000L && !defined(LIBRESSL_VERSION_NUMBER)
RSA_get0_key(key, &k->m, &k->e, &k->d);
RSA_get0_factors(key, &k->q, &k->p);
RSA_get0_crt_params(key, NULL, NULL, &k->u);

View File

@ -1,30 +1,16 @@
@comment $OpenBSD: PLIST,v 1.3 2016/03/03 03:46:32 bentley Exp $
@comment $OpenBSD: PLIST,v 1.4 2016/11/21 06:43:40 bentley Exp $
@bin bin/megacopy
@bin bin/megadf
@bin bin/megadl
@bin bin/megafs
@bin bin/megaget
@bin bin/megals
@bin bin/megamkdir
@bin bin/megaput
@bin bin/megareg
@bin bin/megarm
include/mega/
include/mega/mega-aes-ctr-encryptor.h
include/mega/mega-aes-key.h
include/mega/mega-chunked-cbc-mac.h
include/mega/mega-enum-types.h
include/mega/mega-rsa-key.h
include/mega/mega.h
include/mega/utils.h
lib/libmega.a
lib/libmega.la
@lib lib/libmega.so.${LIBmega_VERSION}
lib/pkgconfig/libmega.pc
@man man/man1/megacopy.1
@man man/man1/megadf.1
@man man/man1/megadl.1
@man man/man1/megafs.1
@man man/man1/megaget.1
@man man/man1/megals.1
@man man/man1/megamkdir.1