1 |
commit: 6a473558dc563d66bc0e47f9070ec4d331dea38a |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 11 21:52:55 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 11 21:56:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a473558 |
7 |
|
8 |
app-shells/pdsh: EAPI 6 bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
app-shells/pdsh/pdsh-2.26-r1.ebuild | 55 +++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 55 insertions(+) |
14 |
|
15 |
diff --git a/app-shells/pdsh/pdsh-2.26-r1.ebuild b/app-shells/pdsh/pdsh-2.26-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..f9e97334263 |
18 |
--- /dev/null |
19 |
+++ b/app-shells/pdsh/pdsh-2.26-r1.ebuild |
20 |
@@ -0,0 +1,55 @@ |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+DESCRIPTION="A high-performance, parallel remote shell utility" |
27 |
+HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html" |
28 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
29 |
+ |
30 |
+LICENSE="GPL-2" |
31 |
+SLOT="0" |
32 |
+KEYWORDS="~amd64 ~x86" |
33 |
+IUSE="crypt readline rsh static-libs test" |
34 |
+ |
35 |
+RDEPEND=" |
36 |
+ crypt? ( net-misc/openssh ) |
37 |
+ rsh? ( net-misc/netkit-rsh ) |
38 |
+ readline? ( sys-libs/readline:0= )" |
39 |
+ |
40 |
+DEPEND=" |
41 |
+ ${RDEPEND} |
42 |
+ test? ( dev-util/dejagnu )" |
43 |
+ |
44 |
+pkg_setup() { |
45 |
+ PDSH_MODULE_LIST="${PDSH_MODULE_LIST:-netgroup}" |
46 |
+ MODULE_CONFIG="" |
47 |
+ |
48 |
+ local m |
49 |
+ local valid_modules=":xcpu:ssh:exec:qshell:genders:nodeupdown:mrsh:mqshell:dshgroups:netgroup:" |
50 |
+ |
51 |
+ for m in ${PDSH_MODULE_LIST}; do |
52 |
+ if [[ "${valid_modules}" == *:${m}:* ]]; then |
53 |
+ MODULE_CONFIG="${MODULE_CONFIG} --with-${m}" |
54 |
+ fi |
55 |
+ done |
56 |
+ |
57 |
+ elog "Building ${PF} with the following modules:" |
58 |
+ elog " ${PDSH_MODULE_LIST}" |
59 |
+ elog "This list can be changed in /etc/portage/make.conf by setting" |
60 |
+ elog "PDSH_MODULE_LIST=\"module1 module2...\"" |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ econf ${MODULE_CONFIG} \ |
65 |
+ --with-machines \ |
66 |
+ --enable-shared \ |
67 |
+ $(use_with crypt ssh) \ |
68 |
+ $(use_with rsh) \ |
69 |
+ $(use_with readline) \ |
70 |
+ $(use_enable static-libs static) |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+} |