summaryrefslogtreecommitdiff
path: root/app-emulation/rex-client
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 /app-emulation/rex-client
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/rex-client')
-rw-r--r--app-emulation/rex-client/Manifest4
-rw-r--r--app-emulation/rex-client/metadata.xml5
-rw-r--r--app-emulation/rex-client/rex-client-9999.ebuild45
3 files changed, 54 insertions, 0 deletions
diff --git a/app-emulation/rex-client/Manifest b/app-emulation/rex-client/Manifest
new file mode 100644
index 000000000000..4025ee7e6a4c
--- /dev/null
+++ b/app-emulation/rex-client/Manifest
@@ -0,0 +1,4 @@
+EBUILD rex-client-9999.ebuild 799 SHA256 cf5aac5d1a2fdcd7a0d94d0e7bf52662d113083e5c9677465dfee1c7867bcc70 SHA512 5fc207897713719ff42f9f0c77ad761566b3eefaaab9898f1f7e7c45480b1777f3219e48ada96363533fcee8805be25073d9f8720e0a056b92bf87bead9dbe57 WHIRLPOOL f9f2553a7ccc486712a4318b84afb1f9910377a2fcb0e184e3f5b16935830f502c73d58563f3e2f626bfd22ae98e316faa33f14bb994f859a0a96558349371a9
+MISC ChangeLog 2927 SHA256 48010ba45bd9b04f37d06f57ddce8fd17186c3d351fd3d058328430dee216a69 SHA512 a14b2bf6e9111de9c7e4322f96d8192b6f545695d0ee3d231215660894e818b67ed093a3c8a52dd45f62548a52182ec6d4e39943560ba71607108508658fb6e3 WHIRLPOOL f0c18408ae4351bb7bdb72c66a356d464176fd3dd16378e5c903874625b2a19743f35ef2738a8c7910c15140e285ed2127c01c3c7ba8f8e1abaa086d503a28c7
+MISC ChangeLog-2015 867 SHA256 ef98116fd228a926f60d66a6eeb62eeab8e337d3caf01fe9e1e27bd290f5022b SHA512 8c8d1a922ea8a1b5f0ceb92d49beda8e8cfa8051ca2d291153b64bbd91a854a7e13c9ad9f9a831d9cceb53533649194b7f710b60978ed8544d2a28531e4422c1 WHIRLPOOL 48831b0149e468ef0368711bcb69fab0410ea94f9d8a56392683053c86054e3a6d7b3ef672f69d10a5031e5ae5a0243346956098f19515a6cf520c99a48dd62f
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-emulation/rex-client/metadata.xml b/app-emulation/rex-client/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-emulation/rex-client/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-emulation/rex-client/rex-client-9999.ebuild b/app-emulation/rex-client/rex-client-9999.ebuild
new file mode 100644
index 000000000000..4b6505b6105d
--- /dev/null
+++ b/app-emulation/rex-client/rex-client-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Remote EXexcution agent"
+HOMEPAGE="http://mduft.github.io/rex/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/mduft/rex.git"
+else
+ SRC_URI=""
+ KEYWORDS="~x86-linux"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+REX_EXE=(
+ "client/rex-exec.sh"
+ "client/rex-register.sh"
+ "client/rex-paths.sh"
+ "client/rex-remote-pconv.sh"
+ "client/winpath2unix"
+ "client/unixpath2win"
+ )
+
+src_prepare() {
+ for x in ${REX_EXE[@]}; do
+ sed \
+ -e "s,\. \${HOME}/rex-config.sh,\. ${EPREFIX}/etc/rex.conf,g" \
+ -i "${x}" || die
+ done
+}
+
+src_install() {
+ for x in ${REX_EXE[@]}; do
+ dobin "${S}"/${x}
+ done
+
+ insinto /etc
+ newins client/rex-config.sh rex.conf
+}