summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2014-08-05 09:30:30 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2014-08-05 09:30:30 +0000
commiteec82e411c5315c75bc2b682961623d63d9c203c (patch)
tree6a3e14b60139388e6b5d1d3a3f474d9b5db6acb5 /net-misc
parentAdd USE=pin-upstream-blobs so people can opt to use any version of seabios/et... (diff)
downloadhistorical-eec82e411c5315c75bc2b682961623d63d9c203c.tar.gz
historical-eec82e411c5315c75bc2b682961623d63d9c203c.tar.bz2
historical-eec82e411c5315c75bc2b682961623d63d9c203c.zip
Version bump
Package-Manager: portage-2.2.11/cvs/Linux x86_64 Manifest-Sign-Key: 0xC74525F2
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/plowshare/ChangeLog7
-rw-r--r--net-misc/plowshare/Manifest12
-rw-r--r--net-misc/plowshare/plowshare-1.0.4.ebuild73
3 files changed, 86 insertions, 6 deletions
diff --git a/net-misc/plowshare/ChangeLog b/net-misc/plowshare/ChangeLog
index 19c6e681e8d3..7e60518a2905 100644
--- a/net-misc/plowshare/ChangeLog
+++ b/net-misc/plowshare/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/plowshare
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.28 2014/05/14 15:41:00 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.29 2014/08/05 09:30:17 voyageur Exp $
+
+*plowshare-1.0.4 (05 Aug 2014)
+
+ 05 Aug 2014; Bernard Cafarelli <voyageur@gentoo.org> +plowshare-1.0.4.ebuild:
+ Version bump
*plowshare-1.0.2 (14 May 2014)
diff --git a/net-misc/plowshare/Manifest b/net-misc/plowshare/Manifest
index 0faf63106c1a..fcd39b988c6d 100644
--- a/net-misc/plowshare/Manifest
+++ b/net-misc/plowshare/Manifest
@@ -3,14 +3,16 @@ Hash: SHA256
DIST plowshare-1.0.0.tar.gz 231640 SHA256 35d70ac066f9ab1b9a322bd4b6ff4263e6ba62333518fb1b2121ddd29e4eb154 SHA512 0fd125d14f163eb430b6cb240d7cda9c1fa5401d5789ddbb9e002c3c044ddbd330dc3db35bff10b9704c068b45d2c783fc8836d19910f738f9138db033c21057 WHIRLPOOL 2ac24d9c419a28817f05d2c4d48da6d8b01535b40df9d2a9ae630f6e5b64016559b3f9a27ee8ab516150ae61e3f9a81c4c0e49fd021f6fafc634bd6c82b188a0
DIST plowshare-1.0.2.tar.gz 240513 SHA256 c02c650815b58ce9a81637a0ed41de1da5d5cd483f96b4e806afa3fb0e440eef SHA512 f0bbd5fdbe84e10e1574b53c9571a996edab3453b02a6dcd8ca44ebb28d429cd6dc04ca9b4aa5ebe82bcdebe943dd51c6bd61149dae6d7f9832e471e65f9834c WHIRLPOOL 8e763ea6267e5fe219414ff3397283fde2ea07118316f0ef128dcf4a31f2d4a1a2728dabdd65cc3b81acbfbbe7fe4e173ee5264f166359ec36faf5edcc44fbe4
+DIST plowshare-1.0.4.tar.gz 243024 SHA256 f5e6fcdb4e15d097991881ed7b7c0c7063379bfb0bf6c41136de9bbd92be7c57 SHA512 143fe5b260d5917e3c7e48cbcd6322a0639db341043ddc34ddb85da3f0fd5f1453d19c42a7b698ee58cd5bc17e3fd4a32baf7193524540c5bca5ebf7cd5194ea WHIRLPOOL 295f8d85b87c69c70377a54d7d888675cc7f530c07d09019496a7e5cf29b1b4dea1eeb2d7e0a5c2fc865bde3dd54ded58ad8fa03c6710255a54f207abf79aff0
EBUILD plowshare-1.0.0.ebuild 1928 SHA256 f94703306aab60ea88ce280c89da138738e4c3a710f814dce7a196a0f04f21d7 SHA512 f7ae5fd4fdc523bb61ff3437d47e2099fadb59ec50d74121df3e12aa5dad9cb8e985616848b1d84e9c5965e5950e761f9300946b6c2ad3aa6ccefcafa1b1799b WHIRLPOOL bc8ac957096d4793abe42c323b96b80ed83beb583ffd15018e1d1fdd223c797533ea0c17cd70df8e37fb1d0ca35a59c6a60625807689fa0c499d5d5e21ebea39
EBUILD plowshare-1.0.2.ebuild 2035 SHA256 b306b2388ac17d5945b8ea124eeff82ae8082cfc6208404f0390a24dc3969152 SHA512 7e71e5e0a74cc4bc761dc6a9f1394ddf2b2c37c33fef09b10fc8efe0de8d278c10cab40b4deb431ead048d85cb69184b689bc4b036d2e5de6cc9636dc4e85e89 WHIRLPOOL b25edae978df863ff084a9cf9c8064c8844d411bd9c90f9161cbf1dc907702842940697779c76e9190edd8a005fbb55fb525e8e9d85d2bcbd0da0c074ee6819b
-MISC ChangeLog 4950 SHA256 1469bc6d81012d97ed7615d2da73aa19cedeafbefcb3c1571bac277a8570f3b2 SHA512 d156f17fa58edd043ef9c9707a2952eea87ce5918cfc99c4b7b34238f439232191c89c950d4a593ad8d23a2be4276e1fad97788294d29242c7fc8b841c214e07 WHIRLPOOL 1567d0945172f18bacbcaa20817ea506ca9b66e939a19298cf7bd4f039ca19dc02a3327b3c52c8b086bc2c64ade828b0a96fe29f7de07a713b8b3771f0c9359d
+EBUILD plowshare-1.0.4.ebuild 2035 SHA256 d86396382025204d6b1740326791340fc700a586e6791986750cbdb1f0c677c0 SHA512 636ae50a527eeda566a192c5d5761e35238944e36de09eb0286b276cf4336effcea61e7058ae8e72431f6a38df953ab0c15a6cb6d19f08ccbe1745bb4d1a2d58 WHIRLPOOL 92562c3143e9efe82bf14bf6e8c30d0a8a741f03c2982d12ecede3c52a7ca5d6a31249e7b6a4a261ff15514816cc1e64741c658d8bfafdbeb2f24239e35705bf
+MISC ChangeLog 5078 SHA256 0d6893dce132f002a49d2a52f3d3616a1c8d51d9b20f81c5f1574ed55bbe09a6 SHA512 d14c66995935b8578bec8fa6bc0393dae09fdad3fce7a7235c08c7bad3d8a8299659a13039651a35423e241ca189c0afbdbc498a9835358795dec76381d36596 WHIRLPOOL 40070663713bc5c058586583f9b784475a287a99992c5a55cd22a1f3ebaece855319b763dcb0dcab51d9ff75134c094c5f8b8c726433c2282aa393c654de1110
MISC metadata.xml 391 SHA256 0d84ff17ddcac86660638e3eccc9eb69956b5ce9ced3a897b34f5db2b78e1611 SHA512 8ae0c9684e38f584dccb31aa3928de21db622b52938827e1e0cb45778eb400085351ac278bfa79443cb5a1d64152bcc15a018eaa7ff6032a13c74286d448953f WHIRLPOOL 3e2dfd4ed24600e953efc0004e05cb73851d8875346146d1270aa84ca6d0ef23d4e33c3570ac053ff0ddfca0a9b5f99c22970489f558ded75c0e65e6e51b6876
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iF4EAREIAAYFAlNzjpIACgkQFYEBGcdFJfLcLQD+OJRK46lxocLoW49+uYEn6MWU
-OK5dML2C9kcvmu9gW30A/2r3dPyxKzLhOAGCPeht+53I7zoLDjUJ1JgDKl0Prt4K
-=PuYN
+iF4EAREIAAYFAlPgpDIACgkQFYEBGcdFJfLY0QD8CtZFRR5G2WOK+2NeZCRYrDGC
+FLIQtpQlH/7bWFLI/uoA/0m7VqXx3MYyOGvzOlmFcWQJGwy9q5GNgID0KqPhIElZ
+=lZOB
-----END PGP SIGNATURE-----
diff --git a/net-misc/plowshare/plowshare-1.0.4.ebuild b/net-misc/plowshare/plowshare-1.0.4.ebuild
new file mode 100644
index 000000000000..ce4811e32216
--- /dev/null
+++ b/net-misc/plowshare/plowshare-1.0.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/plowshare-1.0.4.ebuild,v 1.1 2014/08/05 09:30:17 voyageur Exp $
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="Command-line downloader and uploader for file-sharing websites"
+HOMEPAGE="http://code.google.com/p/plowshare/"
+# Fetched from http://${PN}.googlecode.com/archive/v${PV}.tar.gz
+SRC_URI="http://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="bash-completion +javascript view-captcha"
+
+RDEPEND="
+ >=app-shells/bash-4
+ || ( app-text/recode ( dev-lang/perl dev-perl/HTML-Parser ) )
+ || ( media-gfx/imagemagick[tiff] media-gfx/graphicsmagick[imagemagick,tiff] )
+ net-misc/curl
+ sys-apps/util-linux
+ javascript? ( || ( dev-lang/spidermonkey:0 dev-java/rhino ) )
+ view-captcha? ( || ( media-gfx/aview media-libs/libcaca ) )"
+DEPEND=""
+
+# NOTES:
+# javascript dep should be any javascript interpreter using /usr/bin/js
+
+# Modules using detect_javascript
+JS_MODULES="letitbit nowdownload_co oboom rapidgator zalaa zalil_ru zippyshare"
+
+src_prepare() {
+ if ! use javascript; then
+ for module in ${JS_MODULES}; do
+ sed -i -e "s:^${module}.*::" src/modules/config || die "${module} sed failed"
+ rm src/modules/${module}.sh || die "${module} rm failed"
+ done
+ fi
+
+ # Fix doc install path
+ sed -i -e "/^DOCDIR/s|plowshare4|${P}|" Makefile || die "sed failed"
+
+ if ! use bash-completion
+ then
+ sed -i -e \ "/^install:/s/install_bash_completion//" \
+ Makefile || die "sed failed"
+ fi
+}
+
+src_compile() {
+ # There is a Makefile but it's not compiling anything, let's not try.
+ :
+}
+
+src_test() {
+ # Disable tests because all of them need a working Internet connection.
+ :
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" \
+ PLOWSHARE_FORCE_VERSION="${PV}" install
+}
+
+pkg_postinst() {
+ if ! use javascript; then
+ ewarn "Without javascript you will not be able to use:"
+ ewarn " ${JS_MODULES}"
+ fi
+}