pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50471: Add megatools to pkgsrc net



>Number:         50471
>Category:       pkg
>Synopsis:       Add megatools to pkgsrc net
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 25 11:10:00 +0000 2015
>Originator:     Aleksej Lebedev
>Release:        pkgsrc HEAD
>Organization:
Tomtom
>Environment:
Linux zhtw-pc 3.19.0-33-generic #38-Ubuntu SMP Fri Nov 6 18:18:12 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>Description:
I added megatools (https://github.com/megous/megatools) to pkgsrc/wip quite a while ago.

I tested it on my Linux x86_64, Mac OS X (latest) and NetBSD evbarm (on Raspberry PI 2).
>How-To-Repeat:

>Fix:
diff -urN net.orig/megatools/DESCR net/megatools/DESCR
--- net.orig/megatools/DESCR	1970-01-01 00:00:00.000000000 +0000
+++ net/megatools/DESCR	2015-11-25 10:54:43.018979281 +0000
@@ -0,0 +1,8 @@
+Megatools is a collection of programs for accessing Mega service from a command
+line of your desktop or server.
+
+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.
+
+Mega website can be found at mega.co.nz.
diff -urN net.orig/megatools/Makefile net/megatools/Makefile
--- net.orig/megatools/Makefile	1970-01-01 00:00:00.000000000 +0000
+++ net/megatools/Makefile	2015-11-25 10:54:43.018979281 +0000
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	megatools-1.9.95
+CATEGORIES=	filesystems security
+MASTER_SITES=	http://megatools.megous.com/builds/
+
+MAINTAINER=	root%zta.lk@localhost
+HOMEPAGE=	http://megatools.megous.com/builds/
+COMMENT=	Command line client for Mega.co.nz
+LICENSE=	gnu-gpl-v2
+
+DEPENDS+=	glib-networking>=2.36.2:../../net/glib-networking
+
+GNU_CONFIGURE=	yes
+USE_LIBTOOL=	yes
+USE_TOOLS+=	pkg-config gmake
+
+PKGCONFIG_OVERRIDE+=	libmega.pc.in
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -urN net.orig/megatools/PLIST net/megatools/PLIST
--- net.orig/megatools/PLIST	1970-01-01 00:00:00.000000000 +0000
+++ net/megatools/PLIST	2015-11-25 10:54:43.018979281 +0000
@@ -0,0 +1,42 @@
+@comment $NetBSD$
+bin/megacopy
+bin/megadf
+bin/megadl
+bin/megaget
+bin/megals
+bin/megamkdir
+bin/megaput
+bin/megareg
+bin/megarm
+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-http-client.h
+include/mega/mega-http-input-stream.h
+include/mega/mega-http-io-stream.h
+include/mega/mega-http-output-stream.h
+include/mega/mega-rsa-key.h
+include/mega/mega.h
+include/mega/megatypes.h
+include/mega/utils.h
+lib/libmega.la
+lib/pkgconfig/libmega.pc
+man/man1/megacopy.1
+man/man1/megadf.1
+man/man1/megadl.1
+man/man1/megafs.1
+man/man1/megaget.1
+man/man1/megals.1
+man/man1/megamkdir.1
+man/man1/megaput.1
+man/man1/megareg.1
+man/man1/megarm.1
+man/man5/megarc.5
+man/man7/megatools.7
+share/doc/megatools/HACKING
+share/doc/megatools/INSTALL
+share/doc/megatools/LICENSE
+share/doc/megatools/NEWS
+share/doc/megatools/README
+share/doc/megatools/TODO
diff -urN net.orig/megatools/distinfo net/megatools/distinfo
--- net.orig/megatools/distinfo	1970-01-01 00:00:00.000000000 +0000
+++ net/megatools/distinfo	2015-11-25 10:54:43.018979281 +0000
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (megatools-1.9.95.tar.gz) = 967d89de26dacf8077db7f03c78e0c240c10d48f
+RMD160 (megatools-1.9.95.tar.gz) = 5f856c120113658eeefcaf8914d7345ac55ee1da
+Size (megatools-1.9.95.tar.gz) = 450706 bytes


Home | Main Index | Thread Index | Old Index