mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-shells/pdsh: drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST pdsh-2.18.tar.bz2 453729 BLAKE2B 1907bd8a368d062a356b513ac50696f5f9fbe52253470005f9690d886ae3b93e76cb66f517a40a4c5f1aa01190624da078d132a82a5285b66b3e9bc8f528b5f4 SHA512 20cd9be5fc38add69f61620f528dd952296615ef099d6288be2ce908ab04cc7a9585387d93936462a1fb577aa6495789ae201f838131623d8f4f01bf904f7b5a
|
||||
DIST pdsh-2.26.tar.bz2 490732 BLAKE2B 809a7ee0a1026e0cdaea8bf97c046a3a6e2994199dbbdb2cebe56de0393e8422a07e86f1ff60d6e750bf7279ccb43c03ea3aa4529b6fa6a34e3d77d90f0c3597 SHA512 3f15b3bb4fc2cff27a3b5d68de3e6cb74bb4001288a787763358a0641d0cc77c840b2c6641213ef31bc9d9d69cfe9531b25d7a9375630a5b008b1bcffbe95c0a
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="A high-performance, parallel remote shell utility"
|
||||
HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="crypt readline rsh"
|
||||
RDEPEND="crypt? ( net-misc/openssh )
|
||||
rsh? ( net-misc/netkit-rsh )
|
||||
readline? ( sys-libs/readline )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# Feel free to debug the test suite. Running the tests
|
||||
# by hand instead of using pdsh.exp seems to print out
|
||||
# what is expected, so the error is most likely in the
|
||||
# testsuite itself.
|
||||
# You'll also need dev-util/dejagnu
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
local m
|
||||
local valid_modules=":xcpu:ssh:exec:qshell:genders:nodeupdown:mrsh:mqshell:dshgroups:netgroup:"
|
||||
|
||||
PDSH_MODULE_LIST="${PDSH_MODULE_LIST:-netgroup}"
|
||||
MODULE_CONFIG=""
|
||||
for m in ${PDSH_MODULE_LIST}; do
|
||||
if [[ "${valid_modules}" == *:${m}:* ]]; then
|
||||
MODULE_CONFIG="${MODULE_CONFIG} --with-${m}"
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Building ${PF} with the following modules:"
|
||||
elog " ${PDSH_MODULE_LIST}"
|
||||
elog "This list can be changed in /etc/portage/make.conf by setting"
|
||||
elog "PDSH_MODULE_LIST=\"module1 module2...\""
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/pdsh-2.18-unbundle-libtool.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf ${MODULE_CONFIG} \
|
||||
--with-machines \
|
||||
$(use_with crypt ssh) \
|
||||
$(use_with rsh) \
|
||||
$(use_with readline) \
|
||||
|| die "configure failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
||||
Reference in New Issue
Block a user