summaryrefslogtreecommitdiff
path: root/net-misc/ocsync
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/ocsync
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/ocsync')
-rw-r--r--net-misc/ocsync/Manifest5
-rw-r--r--net-misc/ocsync/metadata.xml11
-rw-r--r--net-misc/ocsync/ocsync-0.90.4.ebuild60
3 files changed, 76 insertions, 0 deletions
diff --git a/net-misc/ocsync/Manifest b/net-misc/ocsync/Manifest
new file mode 100644
index 000000000000..9ce3735b9261
--- /dev/null
+++ b/net-misc/ocsync/Manifest
@@ -0,0 +1,5 @@
+DIST ocsync-0.90.4.tar.bz2 4630698 SHA256 f2146577c977dc82a24e0baf84f3970efc3b004f2730669aae3816f48ff15728 SHA512 74bf6b083ae4d4c09e3915d777d916a04ebb19aefb21a5a14a49e2079e02c5c60f1f274aa0cab5c227147883eaf1a5f91b6c0546b818c960cc3575cdcdd93d57 WHIRLPOOL d71ed0a1f6483be579225d577482795e4773d32ed8b5eee441125f0d34cd77a9a72664cb40a6fdc9e4674bb6e6327da0b4bf7fd8cea0d935c21151ba937661a1
+EBUILD ocsync-0.90.4.ebuild 1345 SHA256 b3f6f411cacf25c7bc941dbc1423906b93795bbd51740f27758108866dc31e60 SHA512 2de3aa36abd8b7108bfeac67508b2f757b488e5d7ec9725271f05e49ab9f3364a6c1b59ea605cbafd0ef5fd29eb18ae2f9a8f4d59a480c515a2eefb70d9c3a96 WHIRLPOOL cfe6fd0e114234875fd8222416ff3abe8cb711ca16f73bb47e5c074c39fe4868a23489824e4cdfda1e0dee6432d7f53e47765e35cae50cea34e16f7ecd5c6455
+MISC ChangeLog 2879 SHA256 ec503f473663f273e34b43f9c18c2a597597f98f15a33f97427585a861fd43f0 SHA512 1d16526a2cf998f13ecc30329a2879ce08561697939374e35a150e1d267b7d74559b407013aad2ccb4db2e16a85bcc42c12abed5dc836f4d3a39cd6269fa1099 WHIRLPOOL 743ebbddec8e4f6b5aee5595314d5c575737e6068f55e17b99b72a60851ba0e56ce91154726f46cd27f7be2d2786be299751ae46b8498e414ae5f36251f43ed7
+MISC ChangeLog-2015 945 SHA256 ab0d2bbfcc2110700264aea0a20741c49ad3d731e4514a39792f4781f8ca629e SHA512 1a1dc3f24b8350ced40ba9a10132b163a4e525c286f89b6af918b09a4c68bfc1c400318f0bea14fc7fc0ee242224b1384cc9e3bcb0e0657c433b3a19b0ceecaf WHIRLPOOL 834c7c49a8158e01e510ae5c5d4eb05045c1316775a7c61524eb83d1f871988928a6515e37426d4aa096d0a1e5f6030cb8e6d9c65ceb5ead77217c1bbf225990
+MISC metadata.xml 354 SHA256 c342fa5fe8dd1da0a9fe79f8016aac15c7a9fc8d145af9647346da0e2659180e SHA512 513b19184444fb46882523fc160043d7d530d202aa253f44ace9fc97fad8dda7748083bd992921d93ebd62a12397e69a086932818e317f75fb7dfa478ab3f1ba WHIRLPOOL 23f78df92693c38a084c749999d5a23f7d85748b74f94454e2231171a5748f3a5b38e085b49ca1d969abd61f9a18283ad684cf9e9a735e53d812028536d53a89
diff --git a/net-misc/ocsync/metadata.xml b/net-misc/ocsync/metadata.xml
new file mode 100644
index 000000000000..4ce4054df697
--- /dev/null
+++ b/net-misc/ocsync/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <use>
+ <flag name="sftp">Enable sftp transfer support via <pkg>net-libs/libssh</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/net-misc/ocsync/ocsync-0.90.4.ebuild b/net-misc/ocsync/ocsync-0.90.4.ebuild
new file mode 100644
index 000000000000..37369a8f2f4a
--- /dev/null
+++ b/net-misc/ocsync/ocsync-0.90.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc iconv samba +sftp test"
+
+RESTRICT="test"
+
+RDEPEND="
+ dev-db/sqlite:3
+ >=dev-libs/iniparser-3.1:0
+ net-libs/neon[ssl]
+ iconv? ( virtual/libiconv )
+ samba? ( net-fs/samba )
+ sftp? ( net-libs/libssh )
+ !net-misc/csync
+ !>=net-misc/owncloud-client-1.5.1
+"
+DEPEND="${DEPEND}
+ app-text/asciidoc
+ doc? ( app-doc/doxygen )
+ test? ( dev-libs/check dev-util/cmocka )
+"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ sed -e "s/__FUNCTION__/__func__/" -i \
+ src/csync_log.h src/httpbf/src/httpbf.c \
+ tests/csync_tests/check_csync_log.c || die
+ # 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/"
+}