summaryrefslogtreecommitdiff
path: root/net-misc/megatools
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/megatools
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/megatools')
-rw-r--r--net-misc/megatools/Manifest3
-rw-r--r--net-misc/megatools/files/megatools-1.9.92-fuse.patch42
-rw-r--r--net-misc/megatools/megatools-1.9.93.ebuild44
-rw-r--r--net-misc/megatools/megatools-1.9.94.ebuild44
-rw-r--r--net-misc/megatools/megatools-1.9.95.ebuild44
-rw-r--r--net-misc/megatools/metadata.xml22
6 files changed, 199 insertions, 0 deletions
diff --git a/net-misc/megatools/Manifest b/net-misc/megatools/Manifest
new file mode 100644
index 00000000000..6b9a4ba03d5
--- /dev/null
+++ b/net-misc/megatools/Manifest
@@ -0,0 +1,3 @@
+DIST megatools-1.9.93.tar.gz 116391 SHA256 e744de3448fecb0d103a5462fa0f0ac4ea82dd780984180531425ebfc837f97f SHA512 71f5ba72e963e337da93cb3386aafeba4a6d58b75bbe848ef590940688e634c2b0175d6fae88515dd844fff6f789ba54618bc0cbba8f083432c0eac27d40df83 WHIRLPOOL 392ceb5d7ea62aaaccb203e884eee67bd203235370e6228466ac3a37714543613bfa07402d0eb92b261903850912e01ec29aa2aaf9f9f14de4e8aef16054f2e0
+DIST megatools-1.9.94.tar.gz 115526 SHA256 10d694cb1514484f9fd92760165870ed070014434b8e20d4a3a34befdadfcf12 SHA512 ff457563fc056425c4fed51021cd0d16578b628163a8cb96fe04fbdccddb0046c9172aa75a1f2df70bc0356b509f25ef29ba03a1430c2453d18edc4cc8e1012f WHIRLPOOL b3f060be9c3702a576c8019c733d889af905a72a9f22d62c5a1bd0b7c19f2cb3755ae8b70d743fae4625f6b294e19226f0d8b2e9bc0ad863048e46845591e42c
+DIST megatools-1.9.95.tar.gz 114825 SHA256 2e87b1ab12249f0168d7ed69a6f29213378dd0f77f516301f0de138d403e2423 SHA512 28ca49fdc4384f559f9f99b6cab78b03d4da1b2caa3637cf1420c037516496dd9cba4494211dd05e235bd1fc50e954a65813a6f2e0d6f5bbb532cd6897a37143 WHIRLPOOL 32901fa0f100661c79b48070ef1f8d7528d652d432a633911ad326cff967ef03ab3c935aa160bec5e8b9498d74c8385d51b731bf40bfdf27551fd2e4bc828e05
diff --git a/net-misc/megatools/files/megatools-1.9.92-fuse.patch b/net-misc/megatools/files/megatools-1.9.92-fuse.patch
new file mode 100644
index 00000000000..6841fe9fade
--- /dev/null
+++ b/net-misc/megatools/files/megatools-1.9.92-fuse.patch
@@ -0,0 +1,42 @@
+diff --git a/configure.ac b/configure.ac
+index cc8ff46..15ca668 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -41,17 +41,32 @@ AC_SUBST(MEGA_REQUIRES)
+ AC_SUBST(MEGA_CFLAGS)
+ AC_SUBST(MEGA_LIBS)
+
+-PKG_CHECK_MODULES(FUSE, [$FUSE_REQUIRES], [ENABLE_FUSE=yes], [ENABLE_FUSE=no])
+-AC_SUBST(FUSE_CFLAGS)
+-AC_SUBST(FUSE_LIBS)
+-AM_CONDITIONAL([ENABLE_FUSE], [test x$ENABLE_FUSE = xyes])
+-
+ GLIB_MAKEFILE='$(top_srcdir)/Makefile.glib'
+ AC_SUBST(GLIB_MAKEFILE)
+
+ PKG_CHECK_MODULES(GLIBTESTS, [glib-2.0 >= 2.34.0], [ENABLE_TESTS=yes], [ENABLE_TESTS=no])
+ AM_CONDITIONAL([ENABLE_TESTS], [test x$ENABLE_TESTS = xyes])
+
++# check fuse
++AC_ARG_WITH([fuse],
++ AS_HELP_STRING([--without-fuse], [Ignore presence of fuse and disable it]))
++
++AS_IF([test "x$with_fuse" != "xno"],
++ [PKG_CHECK_MODULES(FUSE, [$FUSE_REQUIRES], [ENABLE_FUSE=yes], [ENABLE_FUSE=no])],
++ [ENABLE_FUSE=no])
++
++AS_IF([test "x$ENABLE_FUSE" = "xyes"],
++ [
++ AC_SUBST(FUSE_CFLAGS)
++ AC_SUBST(FUSE_LIBS)
++ ],
++ [AS_IF([test "x$with_fuse" = "xyes"],
++ [AC_MSG_ERROR([fuse support requested but not found])
++ ])
++])
++
++AM_CONDITIONAL([ENABLE_FUSE], [test "x$ENABLE_FUSE" = "xyes"])
++
+ # enable dev compiler warnings
+ AC_ARG_ENABLE([warnings], AC_HELP_STRING([--enable-warnings], [Build with compiler warnings enabled.]))
+ AS_IF([test "x$enable_warnings" = "xyes"], [
diff --git a/net-misc/megatools/megatools-1.9.93.ebuild b/net-misc/megatools/megatools-1.9.93.ebuild
new file mode 100644
index 00000000000..60a3cebd184
--- /dev/null
+++ b/net-misc/megatools/megatools-1.9.93.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+inherit autotools-utils
+
+DESCRIPTION="Command line tools and C library for accessing Mega cloud storage"
+HOMEPAGE="https://github.com/megous/megatools"
+SRC_URI="https://github.com/megous/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="fuse introspection static-libs"
+
+COMMON_DEPEND="dev-libs/glib:2
+ dev-libs/openssl:0
+ net-misc/curl
+ fuse? ( sys-fs/fuse )
+"
+RDEPEND="${COMMON_DEPEND}
+ net-libs/glib-networking[ssl]
+"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ app-text/asciidoc"
+
+src_configure() {
+ local myeconfargs=(
+ --enable-shared
+ --enable-docs-build
+ --disable-maintainer-mode
+ --disable-warnings
+ --disable-glibtest
+ $(use_enable static-libs static)
+ $(use_enable introspection)
+ $(use_with fuse)
+ )
+ autotools-utils_src_configure
+}
diff --git a/net-misc/megatools/megatools-1.9.94.ebuild b/net-misc/megatools/megatools-1.9.94.ebuild
new file mode 100644
index 00000000000..9c6aea0c4ce
--- /dev/null
+++ b/net-misc/megatools/megatools-1.9.94.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+inherit autotools-utils
+
+DESCRIPTION="Command line tools and C library for accessing Mega cloud storage"
+HOMEPAGE="https://github.com/megous/megatools"
+SRC_URI="https://github.com/megous/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="fuse introspection static-libs"
+
+COMMON_DEPEND="dev-libs/glib:2
+ dev-libs/openssl:0
+ net-misc/curl
+ fuse? ( sys-fs/fuse )
+"
+RDEPEND="${COMMON_DEPEND}
+ net-libs/glib-networking[ssl]
+"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ app-text/asciidoc"
+
+src_configure() {
+ local myeconfargs=(
+ --enable-shared
+ --enable-docs-build
+ --disable-maintainer-mode
+ --disable-warnings
+ --disable-glibtest
+ $(use_enable static-libs static)
+ $(use_enable introspection)
+ $(use_with fuse)
+ )
+ autotools-utils_src_configure
+}
diff --git a/net-misc/megatools/megatools-1.9.95.ebuild b/net-misc/megatools/megatools-1.9.95.ebuild
new file mode 100644
index 00000000000..9c6aea0c4ce
--- /dev/null
+++ b/net-misc/megatools/megatools-1.9.95.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+AUTOTOOLS_IN_SOURCE_BUILD=1
+inherit autotools-utils
+
+DESCRIPTION="Command line tools and C library for accessing Mega cloud storage"
+HOMEPAGE="https://github.com/megous/megatools"
+SRC_URI="https://github.com/megous/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="fuse introspection static-libs"
+
+COMMON_DEPEND="dev-libs/glib:2
+ dev-libs/openssl:0
+ net-misc/curl
+ fuse? ( sys-fs/fuse )
+"
+RDEPEND="${COMMON_DEPEND}
+ net-libs/glib-networking[ssl]
+"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ app-text/asciidoc"
+
+src_configure() {
+ local myeconfargs=(
+ --enable-shared
+ --enable-docs-build
+ --disable-maintainer-mode
+ --disable-warnings
+ --disable-glibtest
+ $(use_enable static-libs static)
+ $(use_enable introspection)
+ $(use_with fuse)
+ )
+ autotools-utils_src_configure
+}
diff --git a/net-misc/megatools/metadata.xml b/net-misc/megatools/metadata.xml
new file mode 100644
index 00000000000..579df4723ce
--- /dev/null
+++ b/net-misc/megatools/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>dlan@gentoo.org</email>
+ <name>Yixun Lan</name>
+ </maintainer>
+ <longdescription lang="en">
+Megatools is a collection of programs for accessing Mega service from
+a command line of your desktop or server.
+
+Mega website can be found at http://mega.co.nz.
+</longdescription>
+ <use>
+ <flag name="fuse">
+ Enables support for the filesystem in userspace plugin through <pkg>sys-fs/fuse</pkg>.
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="github">megous/megatools</remote-id>
+ </upstream>
+</pkgmetadata>