summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2011-09-18 02:17:50 +0000
committerMounir Lamouri <volkmar@gentoo.org>2011-09-18 02:17:50 +0000
commit93044cc16f38a5e4b37f4614619540f2f8877ef9 (patch)
treee62c19bc0de10e28ee1b5eeff307f80883960c93 /net-misc/plowshare
parentFix build dependecies. (diff)
downloadhistorical-93044cc16f38a5e4b37f4614619540f2f8877ef9.tar.gz
historical-93044cc16f38a5e4b37f4614619540f2f8877ef9.tar.bz2
historical-93044cc16f38a5e4b37f4614619540f2f8877ef9.zip
Version bump to 20110914. Removing oldest ebuilds.
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'net-misc/plowshare')
-rw-r--r--net-misc/plowshare/ChangeLog8
-rw-r--r--net-misc/plowshare/Manifest18
-rw-r--r--net-misc/plowshare/plowshare-0.9.3.ebuild104
-rw-r--r--net-misc/plowshare/plowshare-0.9.4.ebuild103
-rw-r--r--net-misc/plowshare/plowshare-20110914.ebuild109
5 files changed, 119 insertions, 223 deletions
diff --git a/net-misc/plowshare/ChangeLog b/net-misc/plowshare/ChangeLog
index e5e82313312f..fa49038591b1 100644
--- a/net-misc/plowshare/ChangeLog
+++ b/net-misc/plowshare/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/plowshare
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.15 2011/04/10 07:12:05 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/ChangeLog,v 1.16 2011/09/18 02:17:50 volkmar Exp $
+
+*plowshare-20110914 (18 Sep 2011)
+
+ 18 Sep 2011; Mounir Lamouri <volkmar@gentoo.org> -plowshare-0.9.3.ebuild,
+ -plowshare-0.9.4.ebuild, +plowshare-20110914.ebuild:
+ Version bump to 20110914. Removing oldest ebuilds.
10 Apr 2011; Torsten Veller <tove@gentoo.org> plowshare-1327.ebuild:
Add missing die: || "..." -> || die "..."
diff --git a/net-misc/plowshare/Manifest b/net-misc/plowshare/Manifest
index 7718a7fe5f5c..ee4dcd984a01 100644
--- a/net-misc/plowshare/Manifest
+++ b/net-misc/plowshare/Manifest
@@ -1,18 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-DIST plowshare-0.9.3.tgz 68435 RMD160 2def471934a2fb4d53a2fd535d22658b17ff8358 SHA1 86e29b592f61c1e623bb882a57f8188b18775080 SHA256 e51e7626b69f46d7040f5dc9e0339e75ef5148ecc498983bc1bcfccd15c48d4c
-DIST plowshare-0.9.4.tgz 68193 RMD160 25e5a3cf2a06382cc4927daa4da43fcb335ae159 SHA1 c98fad1464d1d21713dbc454a24b3f740d70ad87 SHA256 ba31937b3eda1b0f77a39f977159ba9e0399a7456c2f0410eccb269976f0d885
DIST plowshare-SVN-r1327-snapshot.tar.gz 71447 RMD160 875b00e63c0d4040a26c659de5d23a51d372b117 SHA1 29f3be902cb3ca0e6615d588118cea5f7079319e SHA256 37a486472ed9358077ce9b0e90842f2670024d29f161cb7f92360e3305fe0c8f
-EBUILD plowshare-0.9.3.ebuild 3146 RMD160 0c956e9ed90046344e25aa347e743d90b4e8deac SHA1 5c22e43afb0833adc5b1d1a5173d7b4d37617680 SHA256 e2f5d9f83642e93b6954a902f11b24b9cd687fb4da9074390fdbbc0ac2cc01fb
-EBUILD plowshare-0.9.4.ebuild 3086 RMD160 845b0b5c7af49c6bf5ca80d562b2d85546dd10f7 SHA1 eb33e15d62b46e8056427769db142cea25ff8722 SHA256 c66f3b161f40f60162ef3fc82825f660823c980967969ec7dead89d89edc4470
+DIST plowshare-snapshot-git20110914.tar.gz 83750 RMD160 74a0990020e55fb3ab42e976b31e5fa8d33a2583 SHA1 8ee56b8a5e075685464bea1102d2744ad05198d9 SHA256 b6342a1d9fbbe7310d8b3018d00703153d6ccc6ed30578855cf4fabe17474bf5
EBUILD plowshare-1327.ebuild 2817 RMD160 4e312f761ffcdd2c1ca391d2eff4491ac63a9ad8 SHA1 b137b1536daa1bc86e6aa79c99a214d1d774e332 SHA256 37d2bf3e4ca4dc2d9d5068bfe767d95172d4e743e08f15cf19d9e565d1de4cae
-MISC ChangeLog 2574 RMD160 c73e477518ce54e3951ddb247f94117950127093 SHA1 6b867594dcc742e9f8596f8d2831954bb5f3cf7f SHA256 90c383b2d63a53ff09ba6c3a7c4b14a1b56c7b2c1bedc08134c428fb56f23828
+EBUILD plowshare-20110914.ebuild 3025 RMD160 5e711a28fe0484ab9f0b8cda8fe3b81a896ae6b3 SHA1 0795032c8d0d2c2eb7ef0729e56961b55542c6f9 SHA256 3425ed6a6a05ad95695edc4b4fa51df1ef3c9a09cc899848ba1abc54d786a201
+MISC ChangeLog 2797 RMD160 e074f2eae3ea4f084719fd04975d537826f23d12 SHA1 e4a2a4254ceca31e315adf668be506d510d45a8a SHA256 4d40a9458775b54733375aca9b707efea468912f7a22d9ef287ded3afe057e58
MISC metadata.xml 400 RMD160 68a619edab6b2b019b4c29995ec6c3ffcdc04b91 SHA1 5bbbfb4eff5b0477d5a1b1b4bdd60d9ad4a83c07 SHA256 16a2677d37e1f63f8efd793e4cfe6257ccd46235f7b6048bf4fac7c4180c21e5
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEAREIAAYFAk2hWEsACgkQV3J2n04EauwazgCeP238Zwd7Iunj59X5GsHyWum5
-SowAn3Ws5gyi0So/R2N57BI25ffou+Tp
-=n5ye
------END PGP SIGNATURE-----
diff --git a/net-misc/plowshare/plowshare-0.9.3.ebuild b/net-misc/plowshare/plowshare-0.9.3.ebuild
deleted file mode 100644
index 5f84699442d9..000000000000
--- a/net-misc/plowshare/plowshare-0.9.3.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/plowshare-0.9.3.ebuild,v 1.2 2010/11/20 11:54:33 armin76 Exp $
-
-EAPI="2"
-
-DESCRIPTION="Command-line downloader and uploader for file-sharing websites"
-HOMEPAGE="http://code.google.com/p/plowshare/"
-SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
-IUSE="examples +javascript +perl view-captcha"
-
-RDEPEND="
- javascript? ( dev-lang/spidermonkey )
- perl? ( dev-lang/perl
- media-gfx/imagemagick[perl] )
- view-captcha? ( || ( media-gfx/aview media-libs/libcaca ) )
- app-shells/bash
- app-text/recode
- app-text/tesseract[tiff]
- || ( media-gfx/imagemagick[tiff] media-gfx/graphicsmagick[imagemagick,tiff] )
- net-misc/curl
- sys-apps/util-linux"
-DEPEND=""
-
-# NOTES:
-# spidermonkey dep should be any javascript interpreter using /usr/bin/js
-
-# TODO:
-# dev-java/rhino could probably be an alternative for spidermonkey
-
-src_prepare() {
- if ! use javascript; then
- sed -i -e 's:^\(MODULES=".*\)mediafire:\1:' \
- -e 's:^\(MODULES=".*\)zshare:\1:' \
- -e 's:^\(MODULES=\".*\)badongo:\1:' \
- -e 's:^\(MODULES=\".*\)filefactory:\1:' \
- src/{delete,download,list,upload}.sh || die "sed failed"
- rm src/modules/{mediafire,zshare,badongo,filefactory}.sh || die "rm failed"
- fi
- if ! use perl; then
- sed -i -e 's:^\(MODULES=\".*\)netload_in:\1:' \
- -e 's:^\(MODULES=\".*\)badongo:\1:' \
- src/{delete,download,list,upload}.sh || die "sed failed"
- rm src/modules/netload_in.sh || die "rm failed"
- # Forcing remove of badongo.sh because it may have been removed before.
- rm -f src/modules/badongo.sh || die "rm failed"
- fi
-}
-
-src_test() {
- # don't use test_modules.sh because it needs a working internet connection
- if ! use perl; then
- sed -i -e "s:\(.*\.pl\):#\1:" test/test_lib.sh || die "sed failed"
- fi
- ./test/test_lib.sh || die "test failed"
-}
-
-src_install() {
- insinto /usr/share/${PN}
- doins src/lib.sh || die "doins failed"
-
- if use perl; then
- doins src/strip_{single_color,threshold}.pl || die "doins failed"
- fi
-
- insinto /usr/share/${PN}/modules
- doins -r src/modules/* || die "doins failed"
-
- insinto /usr/share/${PN}/tesseract
- doins -r src/tesseract/* || die "doins failed"
-
- exeinto /usr/share/${PN}
- doexe src/{delete,download,list,upload}.sh || die "doexe failed"
-
- dosym /usr/share/${PN}/delete.sh /usr/bin/plowdel
- dosym /usr/share/${PN}/download.sh /usr/bin/plowdown
- dosym /usr/share/${PN}/list.sh /usr/bin/plowlist
- dosym /usr/share/${PN}/upload.sh /usr/bin/plowup
-
- dodoc CHANGELOG README || die "dodoc failed"
-
- doman docs/plow{del,down,list,up}.1 || die "doman failed"
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins examples/plowdown_{add_remote_loop,loop,parallel}.sh \
- || die "doins failed"
- fi
-}
-
-pkg_postinst() {
- if ! use javascript; then
- ewarn "Without javascript you will not be able to use:"
- ewarn " zshare, mediafire, badongo and filefactory"
- fi
- if ! use perl; then
- ewarn "Without perl you will not be able to use:"
- ewarn " netload.in and badongo"
- fi
-}
diff --git a/net-misc/plowshare/plowshare-0.9.4.ebuild b/net-misc/plowshare/plowshare-0.9.4.ebuild
deleted file mode 100644
index 0100716cf8d6..000000000000
--- a/net-misc/plowshare/plowshare-0.9.4.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/plowshare-0.9.4.ebuild,v 1.1 2011/03/06 22:59:05 volkmar Exp $
-
-EAPI="2"
-
-DESCRIPTION="Command-line downloader and uploader for file-sharing websites"
-HOMEPAGE="http://code.google.com/p/plowshare/"
-SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
-IUSE="examples +javascript +perl view-captcha"
-
-RDEPEND="
- javascript? ( dev-lang/spidermonkey )
- perl? ( dev-lang/perl
- media-gfx/imagemagick[perl] )
- view-captcha? ( || ( media-gfx/aview media-libs/libcaca ) )
- app-shells/bash
- app-text/recode
- app-text/tesseract[tiff]
- || ( media-gfx/imagemagick[tiff] media-gfx/graphicsmagick[imagemagick,tiff] )
- net-misc/curl
- sys-apps/util-linux"
-DEPEND=""
-
-# NOTES:
-# spidermonkey dep should be any javascript interpreter using /usr/bin/js
-
-# TODO:
-# dev-java/rhino could probably be an alternative for spidermonkey
-
-src_prepare() {
- if ! use javascript; then
- sed -i -e 's:^\(MODULES=".*\)mediafire:\1:' \
- -e 's:^\(MODULES=".*\)zshare:\1:' \
- -e 's:^\(MODULES=\".*\)badongo:\1:' \
- src/{delete,download,list,upload}.sh || die "sed failed"
- rm src/modules/{mediafire,zshare,badongo}.sh || die "rm failed"
- fi
- if ! use perl; then
- sed -i -e 's:^\(MODULES=\".*\)netload_in:\1:' \
- -e 's:^\(MODULES=\".*\)badongo:\1:' \
- src/{delete,download,list,upload}.sh || die "sed failed"
- rm src/modules/netload_in.sh || die "rm failed"
- # Forcing remove of badongo.sh because it may have been removed before.
- rm -f src/modules/badongo.sh || die "rm failed"
- fi
-}
-
-src_test() {
- # don't use test_modules.sh because it needs a working internet connection
- if ! use perl; then
- sed -i -e "s:\(.*\.pl\):#\1:" test/test_lib.sh || die "sed failed"
- fi
- ./test/test_lib.sh || die "test failed"
-}
-
-src_install() {
- insinto /usr/share/${PN}
- doins src/lib.sh || die "doins failed"
-
- if use perl; then
- doins src/strip_{single_color,threshold}.pl || die "doins failed"
- fi
-
- insinto /usr/share/${PN}/modules
- doins -r src/modules/* || die "doins failed"
-
- insinto /usr/share/${PN}/tesseract
- doins -r src/tesseract/* || die "doins failed"
-
- exeinto /usr/share/${PN}
- doexe src/{delete,download,list,upload}.sh || die "doexe failed"
-
- dosym /usr/share/${PN}/delete.sh /usr/bin/plowdel
- dosym /usr/share/${PN}/download.sh /usr/bin/plowdown
- dosym /usr/share/${PN}/list.sh /usr/bin/plowlist
- dosym /usr/share/${PN}/upload.sh /usr/bin/plowup
-
- dodoc CHANGELOG README || die "dodoc failed"
-
- doman docs/plow{del,down,list,up}.1 || die "doman failed"
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins examples/{caturl,plowdown_{add_remote_loop,loop,parallel}}.sh \
- || die "doins failed"
- fi
-}
-
-pkg_postinst() {
- if ! use javascript; then
- ewarn "Without javascript you will not be able to use:"
- ewarn " zshare, mediafire and badongo."
- fi
- if ! use perl; then
- ewarn "Without perl you will not be able to use:"
- ewarn " netload.in and badongo"
- fi
-}
diff --git a/net-misc/plowshare/plowshare-20110914.ebuild b/net-misc/plowshare/plowshare-20110914.ebuild
new file mode 100644
index 000000000000..1b9cb234cd35
--- /dev/null
+++ b/net-misc/plowshare/plowshare-20110914.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/plowshare/plowshare-20110914.ebuild,v 1.1 2011/09/18 02:17:50 volkmar Exp $
+
+EAPI="2"
+
+inherit bash-completion-r1
+
+MY_P="${PN}-snapshot-git${PV}"
+
+DESCRIPTION="Command-line downloader and uploader for file-sharing websites"
+HOMEPAGE="http://code.google.com/p/plowshare/"
+SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="bash-completion +javascript +perl scripts view-captcha"
+
+RDEPEND="
+ javascript? ( dev-lang/spidermonkey )
+ perl? ( dev-lang/perl
+ media-gfx/imagemagick[perl] )
+ view-captcha? ( || ( media-gfx/aview media-libs/libcaca ) )
+ app-shells/bash
+ || ( app-text/recode ( dev-lang/perl dev-perl/HTML-Parser ) )
+ app-text/tesseract[tiff]
+ || ( media-gfx/imagemagick[tiff] media-gfx/graphicsmagick[imagemagick,tiff] )
+ net-misc/curl
+ sys-apps/util-linux"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+# NOTES:
+# spidermonkey dep should be any javascript interpreter using /usr/bin/js
+
+# TODO:
+# dev-java/rhino could probably be an alternative for spidermonkey
+
+src_prepare() {
+ if ! use javascript; then
+ sed -i -e 's:^mediafire.*::' \
+ -e 's:^zshare.*::' \
+ -e 's:^badongo.*::' \
+ -e 's:^dataport_cz.*::' \
+ -e 's:^1fichier.*::' \
+ src/modules/config || die "sed failed"
+ rm src/modules/{mediafire,zshare,badongo,dataport_cz,1fichier}.sh || die "rm failed"
+ fi
+ if ! use perl; then
+ sed -i -e 's:^netload_in.*::' \
+ -e 's:^badongo.*::' \
+ src/modules/config || die "sed failed"
+ rm src/modules/netload_in.sh || die "rm failed"
+ if use javascript; then
+ rm src/modules/badongo.sh || die "rm failed"
+ fi
+
+ # Don't install perl file helpers.
+ sed -i -e 's:\(.*src/core.sh\).*:\1:' Makefile || die "sed failed"
+ fi
+
+ # Don't let 'make install' install docs.
+ sed -i -e "/INSTALL.*DOCDIR/d" Makefile || die "sed failed"
+
+ if use bash-completion; then
+ sed -i -e \
+ 's:CDIR=/usr/local/share/plowshare/modules/config:CDIR=/usr/share/plowshare/modules/config:' \
+ etc/plowshare.completion || 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() {
+ DESTDIR="${D}" PREFIX="/usr" emake install || die "emake install failed"
+
+ dodoc AUTHORS CHANGELOG README || die "dodoc failed"
+
+ if use scripts; then
+ exeinto /usr/bin/
+ doexe contrib/{caturl,plowdown_{add_remote_loop,loop,parallel}}.sh \
+ || die "doins failed"
+ fi
+
+ if use bash-completion; then
+ newbashcomp etc/${PN}.completion ${PN} || die "newbashcomp failed"
+ fi
+}
+
+pkg_postinst() {
+ if ! use javascript; then
+ ewarn "Without javascript you will not be able to use:"
+ ewarn " zshare, mediafire, badongo, dataport_cz and 1fichier."
+ fi
+ if ! use perl; then
+ ewarn "Without perl you will not be able to use:"
+ ewarn " netload.in and badongo."
+ fi
+}