Added mirall and csync (owncloud desktop client)

This commit is contained in:
layman 2013-04-28 13:43:39 +02:00
parent a954ad7bae
commit 950e09a939
9 changed files with 342 additions and 0 deletions

82
net-misc/csync/ChangeLog Normal file
View File

@ -0,0 +1,82 @@
# ChangeLog for net-misc/csync
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/csync/ChangeLog,v 1.15 2013/04/15 18:22:08 kensington Exp $
*csync-0.70.6 (15 Apr 2013)
15 Apr 2013; Michael Palimaka <kensington@gentoo.org> +csync-0.70.6.ebuild,
-csync-0.70.3.ebuild, -files/csync-0.60.2-automagicness.patch,
-files/csync-0.60.4-automagicness.patch, -files/csync-automagicness.patch:
Version bump. Remove old.
*csync-0.70.4-r1 (11 Mar 2013)
11 Mar 2013; Chris Reffett <creffett@gentoo.org> +csync-0.70.4-r1.ebuild,
-csync-0.70.4.ebuild:
Revision bump. Move files from /usr/etc/ to /etc/ wrt bug 460760
*csync-0.70.4 (28 Feb 2013)
28 Feb 2013; Chris Reffett <creffett@gentoo.org> +csync-0.70.4.ebuild:
Version bump wrt bug 459476
*csync-0.70.3 (31 Jan 2013)
31 Jan 2013; Tomáš Chvátal <scarabeus@gentoo.org> +csync-0.70.3.ebuild,
-csync-0.60.1.ebuild, -csync-0.60.3.ebuild, -csync-0.60.4.ebuild,
-csync-0.70.1.ebuild:
Version bump to 0.70.3 to support mirall-1.2.0. Punt older.
*csync-0.70.1 (22 Jan 2013)
22 Jan 2013; Chris Reffett <creffett@gentoo.org> +csync-0.70.1.ebuild,
+files/csync-0.70.1-automagicness.patch:
Version bump. Reroll automagic patch, add dev-libs/check dependency
*csync-0.60.4 (21 Dec 2012)
21 Dec 2012; Chris Reffett <creffett@gentoo.org> +csync-0.60.4.ebuild,
+files/csync-0.60.4-automagicness.patch:
Version bump.
*csync-0.60.3 (14 Dec 2012)
14 Dec 2012; Chris Reffett <creffett@gentoo.org> +csync-0.60.3.ebuild,
+files/csync-0.60.2-automagicness.patch,
+files/csync-0.60.2-removebadtest.patch, -csync-0.50.8.ebuild,
-csync-0.60.0-r1.ebuild:
Version bump, remove old.
*csync-0.60.1 (16 Nov 2012)
16 Nov 2012; Johannes Huber <johu@gentoo.org> +csync-0.60.1.ebuild:
Version bump.
*csync-0.60.0-r1 (17 Oct 2012)
17 Oct 2012; Michael Palimaka <kensington@gentoo.org> +csync-0.60.0-r1.ebuild,
-csync-0.60.0.ebuild:
Install docs into the correct directory.
15 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> csync-0.60.0.ebuild:
Respect docdir.
*csync-0.60.0 (13 Oct 2012)
13 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> +csync-0.60.0.ebuild:
Bump to latest.
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> csync-0.50.8.ebuild:
Raise the dep over iniparser.
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> csync-0.50.8.ebuild:
Enable external logging.
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> csync-0.50.8.ebuild:
Mark testing on x86.
*csync-0.50.8 (28 Aug 2012)
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> +csync-0.50.8.ebuild,
+files/csync-automagicness.patch, +metadata.xml:
Add csync package required for miral owncloud service.

5
net-misc/csync/Manifest Normal file
View File

@ -0,0 +1,5 @@
AUX csync-0.60.2-removebadtest.patch 549 SHA256 4a25b6a123d67bdf71175baedf382fae93c51d2a578dc50648fde79a322f9c90 SHA512 ac66409b68160d7e0af269707cb35f4a3de0eebcb8c114fa355e2dad18a28e0e11906d1b2cedce1e2c54e1f222db081c0574a36421390cdfb4b89e08c63579f1 WHIRLPOOL 0f9118824c220d154fedd49bb5503d43697646b9c9c6a48315da0ab6d155aeba48b979b45921533f1ee661fc6b08c8bcba6a62a58261ef83bf59a61710246099
DIST ocsync-0.70.7.tar.bz2 2108498 SHA256 571c7a822a8e30966c3a7e61a5218b49e8d52e70e8a8ec80d16db786d60bb324 SHA512 3642212c5782d545b450ae507c51c523c9b7df62ead8915b512aa52bdbf37456aa81af33f3ded27e8139691bfd31899988364e108270b28e6e61ab595ca3986e WHIRLPOOL 351392fdeacb9f0d43f244194737917c7141316128a051e722d426188c43c56deccddd05fdaced6eebee6f428af5ab21ff80500e13a6722efd653262c64d7526
EBUILD csync-0.70.7.ebuild 1342 SHA256 7644b25a2a7d7d2f6ffddef91d80c77a629a6f90e4ee58df3267dfa1cceb5f63 SHA512 8f60d9f7bcbcb85439d6e1498e08979faaaeb674d3577b8af8221873f1b6ea523520d1b7bb8a4f029c7b8d5cf7f455f5046a32edbdd962fb6a1d8cb4fcfdac46 WHIRLPOOL fae4b125115b1d1eb2c41d82e34cda37b20232daaf5195bc7b6f321d3d4815f964e0df8bf2235a4366c9b5d8c222ddbffcc90256642ba1235ac394ec2dbbf258
MISC ChangeLog 2766 SHA256 969a5818575aa89facbc4fedcf03e13c8f08f276d1b0d299f5fb56856c201737 SHA512 4a98657999e48a448b67529c392dec348462ce160f600471d7dbe3b7cec897f8e169d1068ebfcf6d1ce51be2a03d7c9b12fb7321eca77e315b7b3ecac7693350 WHIRLPOOL 6d8c164df6d91d48064974ab9629db2cce8cf5bf915bd14325cdb42c805f016e462ff2d558742bd50ceee4d1a441caecd63bd19f2eda8d5aff808c76f41ebe01
MISC metadata.xml 430 SHA256 464dc5e0f521a67ea4e9d9caa6fb7b39ab5087c8477abc3ef1f9479c0ccf8cb5 SHA512 54c512f14aa6640a6e59fe5d7d55079a0457fc14301bb85afc0eb32629daf482f4aed5f9583d4709dcc3ed6cb7e22b00d3af5ae0fde7dbf82296109afd87a0a0 WHIRLPOOL f0b55789474b16a29f27382e1c69df224633264e81d69b7c7c77c7efe0ebd673e625a08b78da748b13b3d1f2d5ae49b461f387e06873872e4d820e055fdc73c3

View File

@ -0,0 +1,60 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/csync/csync-0.70.6.ebuild,v 1.1 2013/04/15 18:22:08 kensington Exp $
EAPI=5
inherit cmake-utils
DESCRIPTION="A file synchronizer especially designed for you, the normal user"
HOMEPAGE="http://csync.org/"
SRC_URI="http://download.owncloud.com/download/o${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc iconv samba +sftp test"
RDEPEND="
dev-db/sqlite:3
>=dev-libs/iniparser-3.1
net-libs/neon[ssl]
iconv? ( virtual/libiconv )
samba? ( net-fs/samba )
sftp? ( net-libs/libssh )
"
DEPEND="${DEPEND}
app-text/asciidoc
doc? ( app-doc/doxygen )
test? ( dev-libs/check dev-util/cmocka )
"
PATCHES=(
"${FILESDIR}/${PN}-0.60.2-removebadtest.patch"
)
S="${WORKDIR}/o${P}"
src_prepare() {
cmake-utils_src_prepare
# proper docdir
sed -e "s:/doc/ocsync:/doc/${PF}:" \
-i doc/CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use test UNIT_TESTING)
$(cmake-utils_use_find_package doc Doxygen)
$(cmake-utils_use_find_package samba Libsmbclient)
$(cmake-utils_use_find_package sftp LibSSH)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
mv "${D}/usr/etc/ocsync" "${D}/etc/"
rm -r "${D}/usr/etc/"
}

View File

@ -0,0 +1,9 @@
--- a/tests/vio_tests/check_vio.c
+++ b/tests/vio_tests/check_vio.c
@@ -505,7 +505,6 @@
unit_test_setup_teardown(check_csync_vio_mkdirs_some_exist, setup_dir, teardown),
unit_test_setup_teardown(check_csync_vio_rmdir, setup, teardown),
unit_test_setup_teardown(check_csync_vio_opendir, setup_dir, teardown),
- unit_test_setup_teardown(check_csync_vio_opendir_perm, setup, teardown),
unit_test(check_csync_vio_closedir_null),
unit_test_setup_teardown(check_csync_vio_readdir, setup_dir, teardown),

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kde</herd>
<use>
<flag name="log">Enable logging support via <pkg>dev-libs/log4c</pkg></flag>
<flag name="sftp">Enable sftp transfer support via <pkg>net-libs/libssh</pkg></flag>
<flag name="webdav">Adds support for HTTP/dav content via <pkg>net-libs/neon</pkg></flag>
</use>
</pkgmetadata>

101
net-misc/mirall/ChangeLog Normal file
View File

@ -0,0 +1,101 @@
# ChangeLog for net-misc/mirall
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/mirall/ChangeLog,v 1.22 2013/04/15 17:43:10 kensington Exp $
*mirall-1.2.4 (15 Apr 2013)
15 Apr 2013; Michael Palimaka <kensington@gentoo.org> +mirall-1.2.4.ebuild,
-files/mirall-1.2.0_beta2-automagicness.patch, -mirall-1.2.0.ebuild:
Version bump wrt bug #464612. Remove old.
02 Apr 2013; Michael Palimaka <kensington@gentoo.org> mirall-1.2.1-r1.ebuild:
Fix build with USE="doc" wrt bug #463712.
*mirall-1.2.1-r1 (11 Mar 2013)
11 Mar 2013; Chris Reffett <creffett@gentoo.org> +mirall-1.2.1-r1.ebuild,
-mirall-1.2.1.ebuild:
Revision bump, move files from /usr/etc/ to /etc/ wrt bug 460760
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> mirall-1.2.0.ebuild,
mirall-1.2.1.ebuild:
Move Qt dependencies to the new category
*mirall-1.2.1 (28 Feb 2013)
28 Feb 2013; Chris Reffett <creffett@gentoo.org> +mirall-1.2.1.ebuild:
Version bump wrt bug 459476
07 Feb 2013; Ulrich Müller <ulm@gentoo.org> mirall-1.2.0.ebuild:
Move Creative Commons licenses to shorter names.
03 Feb 2013; Tomáš Chvátal <scarabeus@gentoo.org> mirall-1.2.0.ebuild:
Drop languages as the setup as now is broken because it does not match
linguas.
*mirall-1.2.0 (31 Jan 2013)
31 Jan 2013; Tomáš Chvátal <scarabeus@gentoo.org> +mirall-1.2.0.ebuild,
-mirall-1.1.2.ebuild, -mirall-1.1.4.ebuild, -mirall-1.2.0_beta2.ebuild:
Version bump to mirall-1.2.0. Punt older.
22 Jan 2013; Chris Reffett <creffett@gentoo.org> mirall-1.2.0_beta2.ebuild:
Fix use of { instead of ( in cmake-utils_use_with (though documentation
doesn't build right now to start with).
*mirall-1.2.0_beta2 (22 Jan 2013)
22 Jan 2013; Chris Reffett <creffett@gentoo.org>
+files/mirall-1.2.0_beta2-automagicness.patch, +mirall-1.2.0_beta2.ebuild:
Version bump. Add patch to fix some automagicness.
*mirall-1.1.4 (21 Dec 2012)
21 Dec 2012; Chris Reffett <creffett@gentoo.org> +mirall-1.1.4.ebuild:
Version bump.
*mirall-1.1.2 (14 Dec 2012)
14 Dec 2012; Chris Reffett <creffett@gentoo.org> +mirall-1.1.2.ebuild,
-mirall-1.0.5.ebuild, -mirall-1.1.0.ebuild, -mirall-1.1.1-r1.ebuild,
metadata.xml:
Version bump, remove old.
30 Nov 2012; Chris Reffett <creffett@gentoo.org> mirall-1.1.1-r1.ebuild:
Make the USEs enabled by default in the csync ebuild enabled by default here
too.
*mirall-1.1.1-r1 (30 Nov 2012)
30 Nov 2012; Chris Reffett <creffett@gentoo.org> +mirall-1.1.1-r1.ebuild,
-mirall-1.1.1.ebuild, metadata.xml:
Add USE-conditional deps on csync USE flags wrt bug 433165
*mirall-1.1.1 (16 Nov 2012)
16 Nov 2012; Johannes Huber <johu@gentoo.org> +mirall-1.1.1.ebuild:
Version bump.
15 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> mirall-1.1.0.ebuild:
Fix finding csync when we are not using the internal one. Resolves bug#438290.
*mirall-1.1.0 (13 Oct 2012)
13 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> +mirall-1.1.0.ebuild,
mirall-1.0.5.ebuild:
Version bump to latest.
09 Oct 2012; Tomáš Chvátal <scarabeus@gentoo.org> mirall-1.0.5.ebuild:
Depend also on qt-test. Failed on one of my boxes without.
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> mirall-1.0.5.ebuild:
Shutup repoman.
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> mirall-1.0.5.ebuild:
Do not use kde eclass as it is just pure qt stuff.
*mirall-1.0.5 (28 Aug 2012)
28 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> +metadata.xml,
+mirall-1.0.5.ebuild:
Add mirall to access owncloud services and so on. Fixes bug #412507.

4
net-misc/mirall/Manifest Normal file
View File

@ -0,0 +1,4 @@
DIST mirall-1.2.5.tar.bz2 644858 SHA256 ff3e45b6e681363eb435deed55cc654c903f04597270cb1b966b0ac8d72758b8 SHA512 220c65dfa899b6149b66de82f7efb74a00158c6a52e1effc333dae1a4e6e09e3c9603c6ce5e6dc64dc9c3d2e262f57e18e65a4b263810f0c78489b98ba9c98d5 WHIRLPOOL 414314f5483de7baa0ed3f0370808a4b9b65cd8f9f42a653dfd862cd925a909434afc8e45965c0a0c4f17fb76adc21f798684a988a48ed8ae6dd08d8b574ecc6
EBUILD mirall-1.2.5.ebuild 1414 SHA256 751598038f2c10340beb82e2bd5d5f02dd4f6cbb9f55a5cde3fb345b62d7fd54 SHA512 3a4508b020798cb421d1257360d67deba9d397f34f88c295383de6d81eba9e9fd460f2fb89b46a4ba7aa2cfd0e176ab43964aa9ebca466fb23714a3f2b15cc91 WHIRLPOOL ccb820170741482cc428efbae5d5175941fe6073ea6401a52061c3a764cc4504aac9dfbd11b00417eb519a2a01b9644882b2c0732efa567e16a3ac97f691f388
MISC ChangeLog 3642 SHA256 443ce685562f6310a9708d44b3b6a4d310184fd48c1124516324870a6341da11 SHA512 4c98d8bc20af3af2e0686934de4d4924dc2e0c0930f9b8203a99136140b4fe0294b2f551f0d618653e7c065414ec9947330f17a091ae3bbcb231cc53423ad0fe WHIRLPOOL 34cfb74d4b734d1475a2ceb01b120bbb34d33d742c4be8c2c46251b68f35e4531e067a68ed46dc059f10533900295a68b3174b45b2fe84ceb3fa5d040b8cf499
MISC metadata.xml 157 SHA256 01f6fa4357ce08e8b0f7900a51fa78c7f060fefc7c7da98acaec1e283dd59892 SHA512 657d6b0a31ceb7ac10bedfd5cbd634d4ff47938bd2f321203f0233e53686f7e0fd460e81f82793804895c7e97cfa472c1ca44b93314574262ee8cc5745a3efd0 WHIRLPOOL 785331909f1834cdd5d797ad484ea0e35c3e44c79a8a7517a6fb5de926acd181abd57910c8d960fb2e11ea38ddea336bca309af16fcc2df68fe4b602bca120b3

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kde</herd>
</pkgmetadata>

View File

@ -0,0 +1,66 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/mirall/mirall-1.2.4.ebuild,v 1.1 2013/04/15 17:43:10 kensington Exp $
EAPI=5
inherit cmake-utils
MY_P="${PN}-${PV/_/}"
DESCRIPTION="Synchronization of your folders with another computers"
HOMEPAGE="http://owncloud.org/"
SRC_URI="http://download.owncloud.com/download/${MY_P}.tar.bz2"
LICENSE="CC-BY-3.0 GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="
>=net-misc/csync-0.70.4
sys-fs/inotify-tools
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-qt/qttest:4
"
DEPEND="${RDEPEND}
doc? (
dev-python/sphinx
dev-texlive/texlive-latexextra
virtual/latex-base
)
"
S=${WORKDIR}/${MY_P}
src_configure() {
export CSYNC_DIR="${EPREFIX}/usr/include/ocsync/"
local mycmakeargs=(
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
$(cmake-utils_use_with doc)
)
cmake-utils_src_configure
}
src_compile() {
use doc && cmake-utils_src_compile -j1 doc
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
mkdir "${D}/etc/"
mv "${D}/usr/etc/sync-exclude.lst" "${D}/etc/"
rm -r "${D}/usr/etc/"
}
pkg_postinst() {
if ! has_version net-misc/csync[samba]; then
elog "For samba support, build net-misc/csync with USE=samba"
fi
if ! has_version net-misc/csync[sftp]; then
elog "For sftp support, build net-misc/csync with USE=sftp"
fi
}