Permalink
Browse files

ENH: add dropbox 1.4.7

  • Loading branch information...
1 parent 7204069 commit 668107a97a31d8144c6d341eb99cf2e1f220348e @npinto committed May 31, 2012
Showing with 82 additions and 0 deletions.
  1. +3 −0 net-misc/dropbox/Manifest
  2. +79 −0 net-misc/dropbox/dropbox-1.4.7-r1.ebuild
@@ -7,13 +7,15 @@ DIST dropbox-lnx.x86-1.3.21.tar.gz 17295413 RMD160 79e4efbfde242cdca49591e82ae1e
DIST dropbox-lnx.x86-1.3.26.tar.gz 17315356 RMD160 95a150c05f38d8d998f9336a336e99e099f9f87f SHA1 a75943378283b03a4012046417a359dcacac9c66 SHA256 1d86ad0b28c566c02303990fb21d12f8bfb88bd2c4635da33c12295b947e0135
DIST dropbox-lnx.x86-1.3.39.tar.gz 17896890 RMD160 c2ef4436e67bd298048f3c401a7fafef03cbd471 SHA1 38100128977835ed49488d425491c9ae41ae95ca SHA256 019de23c87a663fdeeac46d5c49c6718de125001adf3551ef792e3d1d443a45a
DIST dropbox-lnx.x86-1.4.3.tar.gz 17738364 RMD160 b8667e78b0f7b610f6ae12ced0ebd2b8cd50142c SHA1 389936a70ed2ef9495f929bb2b47ab23011baffa SHA256 62fb5d5f892c114e6988e3cd6c3282174e6853dfff6e06eea0fa52a9b3fe1269
+DIST dropbox-lnx.x86-1.4.7.tar.gz 17765299 RMD160 0bb8706cce1cef9c592d174088959ee8ad08c862 SHA1 a9d8f174ad45344a543553834f30991e38a8b791 SHA256 7162a3f66b5c362a4a01f50c04bbacb69d1de0f55a8c69ce381b32dafb731f1b
DIST dropbox-lnx.x86_64-1.3.11.tar.gz 18027123 RMD160 65d9181638fc5e215113725497e2dcf2b3525870 SHA1 0b874bedc135833b33a979b1f37d99efd208a4d3 SHA256 08e5d4d345a776ac6b282d45d36b4d909cddea840d52da7ec73b729b2fd056ae
DIST dropbox-lnx.x86_64-1.3.12.tar.gz 18028491 RMD160 1e180fe7e80cc3c9d4d74f95e049d2a1dcb543a8 SHA1 f7dd7d0db1e50d1ff7568cb154e8ee0175f5ead6 SHA256 19251f68f54cfe0e1b11191431aaf3ce7d95c4a91ee3416e2cb7af3003a082d3
DIST dropbox-lnx.x86_64-1.3.19.tar.gz 18090174 RMD160 4bf9b65f1be208633b7296df9efa7d05de4ef63e SHA1 8cfca81b6947dcf781e7bf8b96346ce35eb598d9 SHA256 72f800c1cbba167112d79d6b9076b75aa0367637faf16775cd3823f12dee87d9
DIST dropbox-lnx.x86_64-1.3.21.tar.gz 18102145 RMD160 bbd76bc4a84e5d3a53452bd1accd3d3b55cd49ec SHA1 0a727dfceb08b60c52523606f1e3afafe1eb300b SHA256 7b40775b7013328393bca407695f63e5efb882ab9cc1950b5474691b27c459ba
DIST dropbox-lnx.x86_64-1.3.26.tar.gz 18122003 RMD160 a69c891d71f2020661b6b3ec9cb63d8210d9fcb0 SHA1 37d1df7ad96fd7998cfff23da6c73f274766af88 SHA256 f5ddaacb225299aa4f191f05f6d8d5a12940f6fc82ac20ac9eefd7116dcc23ad
DIST dropbox-lnx.x86_64-1.3.39.tar.gz 18700484 RMD160 01ed3eeb7f532948cd888599a48dce2fd6d077ed SHA1 ead3d625aeaa55af35d7544bd7b9c2f81e6bb774 SHA256 bec3dbdc60fababc2778abf4cd7f51c9651d757a317f4ac5a9b8f10aecd67428
DIST dropbox-lnx.x86_64-1.4.3.tar.gz 18546137 RMD160 09e30939462a04c231d23805932c9ddb10e111e5 SHA1 59340530737b3be113c19974c9a6f8ce21a3d61b SHA256 7b93436027d961eb7ec097f1695a1361b3262b45d90ea445a3170a0faea878ba
+DIST dropbox-lnx.x86_64-1.4.7.tar.gz 18570864 RMD160 93a7e448ddcda3f9934d68884556d7a2a922614f SHA1 3b62b55e4fdd8245ad41914a2b2795f8b3ca1753 SHA256 a9ca298ec869cabe1232e42c2ab7d5f84935f75602f6464b7926a7e5b2ca84c2
EBUILD dropbox-1.3.11.ebuild 1287 RMD160 faf09906a462d31e732f63343dab4deb11b60536 SHA1 485c02af2060dd2a88e63d555665879d96d97aad SHA256 1d6d87585dc4654a48d4ba7092bafb13cceee29947b5ef0ba31e2ac6f5645d9d
EBUILD dropbox-1.3.12.ebuild 1287 RMD160 faf09906a462d31e732f63343dab4deb11b60536 SHA1 485c02af2060dd2a88e63d555665879d96d97aad SHA256 1d6d87585dc4654a48d4ba7092bafb13cceee29947b5ef0ba31e2ac6f5645d9d
EBUILD dropbox-1.3.19.ebuild 1287 RMD160 faf09906a462d31e732f63343dab4deb11b60536 SHA1 485c02af2060dd2a88e63d555665879d96d97aad SHA256 1d6d87585dc4654a48d4ba7092bafb13cceee29947b5ef0ba31e2ac6f5645d9d
@@ -22,3 +24,4 @@ EBUILD dropbox-1.3.21.ebuild 1437 RMD160 00fd374f2d576b0b2534b790db2c9d30474122f
EBUILD dropbox-1.3.26.ebuild 1575 RMD160 54074edc8791280ce43d1b233ec7a514bccfc316 SHA1 c1e8c7f11139c599cb521658ec0a0de10fd1b3ba SHA256 945ce4d7de85252460158a9b70faed5510a2698e2386170ec365e52361b0ab1b
EBUILD dropbox-1.3.39.ebuild 1575 RMD160 54074edc8791280ce43d1b233ec7a514bccfc316 SHA1 c1e8c7f11139c599cb521658ec0a0de10fd1b3ba SHA256 945ce4d7de85252460158a9b70faed5510a2698e2386170ec365e52361b0ab1b
EBUILD dropbox-1.4.3-r1.ebuild 2075 RMD160 924cb7a4feb2fcab508bfbccf433ea453e5dea0a SHA1 d85fc0c003c827960ab35f4aecdbcd7e2d32f688 SHA256 24efd34f6134454d2e90b2729d5fbde2d7597a497c781f5930f0ecbb6ee4bb85
+EBUILD dropbox-1.4.7-r1.ebuild 1814 RMD160 1581799b36baec669807488441e91236d1a77187 SHA1 dabf706c4067cde12551c9281cee80aae6888eaa SHA256 8a5985f5758beee67325acc1793089514067b79aa9e365bc1285bb65ff8d7b3c
@@ -0,0 +1,79 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit gnome2-utils pax-utils
+
+DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
+HOMEPAGE="http://dropbox.com/"
+SRC_URI="x86? ( http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-${PV}.tar.gz )
+ amd64? ( http://dl-web.dropbox.com/u/17/dropbox-lnx.x86_64-${PV}.tar.gz )"
+
+LICENSE="CCPL-Attribution-NoDerivs-3.0 FTL MIT LGPL-2 openssl dropbox"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+librsync-bundled"
+RESTRICT="mirror strip"
+
+QA_DT_HASH="opt/${PN}/.*"
+QA_EXECSTACK_x86="opt/dropbox/_ctypes.so"
+QA_EXECSTACK_amd64="opt/dropbox/_ctypes.so"
+
+DEPEND="x11-themes/hicolor-icon-theme"
+# Be sure to have GLIBCXX_3.4.9, #393125
+RDEPEND="
+ app-arch/bzip2
+ dev-libs/popt
+ >=dev-libs/openssl-1.0.0j
+ media-libs/libpng:1.2
+ !librsync-bundled? ( net-libs/librsync )
+ net-misc/wget
+ >=sys-devel/gcc-4.2.0
+ sys-libs/zlib
+"
+
+src_unpack() {
+ unpack ${A}
+ mkdir -p "${S}"
+ mv "${WORKDIR}/.dropbox-dist" "${S}"/src || die
+ cd "${S}"/src
+ rm -vf libstdc++.so.6 libz* libssl* libbz2* libpopt.so.0 libcrypto.so.0.9.8 libpng12.so.0 || die
+ if ! use librsync-bundled; then
+ rm -vf librsync.so.1 || die
+ fi
+ pax-mark cm "${S}/src/dropbox"
+ cd "${WORKDIR}"
+}
+
+src_install() {
+ cd src || die
+ dodoc README ACKNOWLEDGEMENTS
+ rm README ACKNOWLEDGEMENTS || die
+
+ local targetdir="/opt/dropbox"
+ insinto "${targetdir}"
+ doins -r *
+ fperms a+x "${targetdir}/dropbox"
+ fperms a+x "${targetdir}/dropboxd"
+ dosym "${targetdir}/dropboxd" "/opt/bin/dropbox"
+
+ insinto /usr/share
+ doins -r icons
+
+ newinitd "${FILESDIR}"/dropbox.initd dropbox
+ newconfd "${FILESDIR}"/dropbox.conf dropbox
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}

0 comments on commit 668107a

Please sign in to comment.