summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/casync/Manifest1
-rw-r--r--net-misc/casync/casync-2_p20190407.ebuild46
-rw-r--r--net-misc/casync/metadata.xml13
3 files changed, 57 insertions, 3 deletions
diff --git a/net-misc/casync/Manifest b/net-misc/casync/Manifest
index 2e0f88aa1868..c0076683014e 100644
--- a/net-misc/casync/Manifest
+++ b/net-misc/casync/Manifest
@@ -1 +1,2 @@
DIST casync-2_p20180321.tar.gz 1306314 BLAKE2B 9fa9238a9677ede6a218c27929f0990fe26ad0afeeb2f736a6a665d301bde6c016e6fc0f3120266707d3c12cd765667f8a8cd231bb49b5cf8bedfc4ab812b481 SHA512 c8fd61e56dc3e0aec02656e28f8cec8d873498635bdaf96c0576ab3867a0e2ef0fb69206f3a476b0515a284ba35a2d746985056e522f5d396e35bc13fd81ae58
+DIST casync-2_p20190407.tar.gz 1315643 BLAKE2B 2cb52682d14a06844bb6d08d9c20d3e356fc40f464463151adee7c0446b64ba106ed29873d71d757452b3dd81095efb1b5d1014b294d58724e4c70bf404b47c2 SHA512 973b4cec8289e1223eced5794d5f6e7af25c60bd52d3c8932005ad0b55aebbebba78d5514ef7be4b3b92a76915d6e3f56bd53d797c2d72ffde2bba98f926bd3a
diff --git a/net-misc/casync/casync-2_p20190407.ebuild b/net-misc/casync/casync-2_p20190407.ebuild
new file mode 100644
index 000000000000..5dc04cbd3945
--- /dev/null
+++ b/net-misc/casync/casync-2_p20190407.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit vcs-snapshot meson
+
+COMMIT="6d185a540c54195a919d4b44f9bf28c341da3bf1"
+DESCRIPTION=" Content-Addressable Data Synchronization Tool"
+HOMEPAGE="https://github.com/systemd/casync"
+SRC_URI="https://github.com/systemd/casync/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+fuse +udev man selinux test"
+
+RDEPEND="
+ app-arch/xz-utils
+ app-arch/zstd
+ dev-libs/openssl:0
+ net-misc/curl
+ virtual/acl
+ fuse? ( sys-fs/fuse:0 )
+ selinux? ( sys-libs/libselinux )
+ udev? ( virtual/libudev )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ man? ( dev-python/sphinx )
+"
+
+src_configure() {
+ local emesonargs=(
+ -Dfuse="$(usex fuse true false)"
+ -Dman="$(usex man true false)"
+ -Dselinux="$(usex selinux true false)"
+ -Dtests="$(usex test true false)"
+ -Dudev="$(usex udev true false)"
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}
diff --git a/net-misc/casync/metadata.xml b/net-misc/casync/metadata.xml
index 5a566fd24bed..4468d7433a37 100644
--- a/net-misc/casync/metadata.xml
+++ b/net-misc/casync/metadata.xml
@@ -1,10 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>hurikhan77+bgo@gmail.com</email>
+ <name>Kai Krakow</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<use>
- <flag name="fuse">Enable fuse support</flag>
- <flag name="man">Build and install man pages</flag>
+ <flag name="fuse">Enable fuse support</flag>
+ <flag name="man">Build and install man pages</flag>
</use>
<upstream>
<remote-id type="github">systemd/casync</remote-id>