From 3e0e0e7b4e99968eff4888111330c1a7b31c22b4 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sun, 14 Jan 2018 01:18:03 -0600 Subject: [PATCH] sys-fs/zrep: new ebuild --- licenses/ZREP | 15 ++++++++++++ sys-fs/zrep/Manifest | 3 +++ sys-fs/zrep/metadata.xml | 11 +++++++++ sys-fs/zrep/zrep-1.7.3.ebuild | 43 +++++++++++++++++++++++++++++++++++ sys-fs/zrep/zrep-9999.ebuild | 43 +++++++++++++++++++++++++++++++++++ 5 files changed, 115 insertions(+) create mode 100644 licenses/ZREP create mode 100644 sys-fs/zrep/Manifest create mode 100644 sys-fs/zrep/metadata.xml create mode 100644 sys-fs/zrep/zrep-1.7.3.ebuild create mode 100644 sys-fs/zrep/zrep-9999.ebuild diff --git a/licenses/ZREP b/licenses/ZREP new file mode 100644 index 0000000..5ef3305 --- /dev/null +++ b/licenses/ZREP @@ -0,0 +1,15 @@ +License for zrep ( http://www.bolthole.com/solaris/zrep ) +Author: Philip Brown phil@bolthole.com 2012 - 2017 + +Bugs, comments, and requests are encouraged +https://github.com/bolthole/zrep/issues/ + +Permission is hereby given for you to freely(but without warrantee) +use the zrep program. + +You may also make copies internal to your organization, and modify as +required, so long as this license is copied with it. + +You may NOT publically redistribute it, either in its original form, or +modified, without explicit consent by the author. + diff --git a/sys-fs/zrep/Manifest b/sys-fs/zrep/Manifest new file mode 100644 index 0000000..46bd2f8 --- /dev/null +++ b/sys-fs/zrep/Manifest @@ -0,0 +1,3 @@ +EBUILD zrep-1.7.3.ebuild 672 SHA256 08111283b097386e7a62d1924ac1da4467ff9ded2cc1129c1358f1d2d31c0b9b SHA512 d7521d5c44a52efef5c3b3d8394d1b261137da207968723a086ca1e7d79ce3af73d066e93b908616bfbaf040e644c79a776adbc504e8ca07a5f45d05818e2084 WHIRLPOOL 6d3c617b19a78b274d392773c43ec84d540655ff89a3b3a8320b99c01bca07f34b98e6ae8b554187f5153e618b39e39b9a2715b02613b97ae2bce2bbec49c159 +EBUILD zrep-9999.ebuild 672 SHA256 08111283b097386e7a62d1924ac1da4467ff9ded2cc1129c1358f1d2d31c0b9b SHA512 d7521d5c44a52efef5c3b3d8394d1b261137da207968723a086ca1e7d79ce3af73d066e93b908616bfbaf040e644c79a776adbc504e8ca07a5f45d05818e2084 WHIRLPOOL 6d3c617b19a78b274d392773c43ec84d540655ff89a3b3a8320b99c01bca07f34b98e6ae8b554187f5153e618b39e39b9a2715b02613b97ae2bce2bbec49c159 +MISC metadata.xml 330 SHA256 f5f865843984cb72a11eedb0886f0b321ccf2195b45c44d9f551f93afe1ff29d SHA512 55a5a49d273c2b163332c5ca3660c5e0ce7f88c25e994f07e8e5f8cfe2c16134c538b7b246a3d0b657252a73948498a2461934d55bda5f58b8cb2d049d41028c WHIRLPOOL 5ab44ca59d92216324d890e51bee13967c92eb1c23f2aa635153d54f79f623ed6c40769ff45f7da73fba0a2b99f0763235ef9d886156fc4384f03e70a69c64c9 diff --git a/sys-fs/zrep/metadata.xml b/sys-fs/zrep/metadata.xml new file mode 100644 index 0000000..65e55e4 --- /dev/null +++ b/sys-fs/zrep/metadata.xml @@ -0,0 +1,11 @@ + + + + + cyberleo@cyberleo.net + CyberLeo + + + ZFS based replication and failover solution + + diff --git a/sys-fs/zrep/zrep-1.7.3.ebuild b/sys-fs/zrep/zrep-1.7.3.ebuild new file mode 100644 index 0000000..61b3b3a --- /dev/null +++ b/sys-fs/zrep/zrep-1.7.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 2017 CyberLeo.Net +# http://wiki.cyberleo.net/wiki/CyberLeo/COPYRIGHT + +EAPI=6 + +inherit eutils user git-r3 + +EGIT_REPO_URI=" + https://github.com/bolthole/zrep.git + git@github.com:bolthole/zrep.git" + +KEYWORDS="~amd64" +if [[ $PV = *9999* ]]; then + KEYWORDS="" +else + EGIT_COMMIT="v${PV}" +fi + +DESCRIPTION="ZFS based replication and failover solution" +HOMEPAGE="http://www.bolthole.com/solaris/zrep/" + +LICENSE="ZREP" +SLOT="0" +#IUSE="" + +DOCS=( 00-README PORTABILITY ) + +CDEPEND=" + sys-apps/nawk + " +DEPEND="${CDEPEND} + " +RDEPEND="${CDEPEND} + app-shells/ksh + sys-fs/zfs + " +src_install() { + # copy zrep script to expected directory + into /usr + dosbin zrep + + einstalldocs +} diff --git a/sys-fs/zrep/zrep-9999.ebuild b/sys-fs/zrep/zrep-9999.ebuild new file mode 100644 index 0000000..61b3b3a --- /dev/null +++ b/sys-fs/zrep/zrep-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 2017 CyberLeo.Net +# http://wiki.cyberleo.net/wiki/CyberLeo/COPYRIGHT + +EAPI=6 + +inherit eutils user git-r3 + +EGIT_REPO_URI=" + https://github.com/bolthole/zrep.git + git@github.com:bolthole/zrep.git" + +KEYWORDS="~amd64" +if [[ $PV = *9999* ]]; then + KEYWORDS="" +else + EGIT_COMMIT="v${PV}" +fi + +DESCRIPTION="ZFS based replication and failover solution" +HOMEPAGE="http://www.bolthole.com/solaris/zrep/" + +LICENSE="ZREP" +SLOT="0" +#IUSE="" + +DOCS=( 00-README PORTABILITY ) + +CDEPEND=" + sys-apps/nawk + " +DEPEND="${CDEPEND} + " +RDEPEND="${CDEPEND} + app-shells/ksh + sys-fs/zfs + " +src_install() { + # copy zrep script to expected directory + into /usr + dosbin zrep + + einstalldocs +} -- 2.42.0