Dependency atoms listed in the ebuild were rather significantly mis-matching what
is actually linked to. Cleaned them up, added slot and slot-operators as needed.
Added libressl to IUSE but didn't test if libressl is a drop-in replacement for
openssl -- the situation should be better either way since it was a magic dep
until now.
Also bumped EAPI for torque-2.x so it is no longer deprecated, and adjusted how
the cpusets flag is added to configure.
Package-Manager: portage-2.2.28
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=5
inherit autotools-utils eutils flag-o-matic linux-info
IUSE="cpusets +crypt doc drmaa kernel_linux munge server static-libs +syslog threads tk xml"
# ed is used by makedepend-sh
-DEPEND_COMMON="sys-libs/ncurses
- sys-libs/readline
+DEPEND_COMMON="
+ sys-libs/readline:0=
munge? ( sys-auth/munge )
- tk? ( dev-lang/tk )
+ tk? (
+ dev-lang/tk:0=
+ dev-lang/tcl:0=
+ )
syslog? ( virtual/logger )
- !games-util/qstat"
+ !!games-util/qstat"
+# libncurses.so is just needed so that configure will pass for the readline check
DEPEND="${DEPEND_COMMON}
+ sys-libs/ncurses:*
sys-apps/ed
- !sys-cluster/slurm"
+ !!sys-cluster/slurm"
RDEPEND="${DEPEND_COMMON}
crypt? ( net-misc/openssh )
fi
fi
- USE_CPUSETS="--disable-cpuset"
if use cpusets; then
if ! use kernel_linux; then
einfo
elog " Torque currently only has support for cpusets in linux."
- elog "Assuming you didn't really want this USE flag."
+ elog "Assuming you didn't really want this USE flag and ignoring."
einfo
else
linux-info_pkg_setup
elog "your kernel with CONFIG_CPUSETS enabled."
einfo
fi
- USE_CPUSETS="--enable-cpuset"
fi
fi
}
local myeconfargs=( --with-rcp=mom_rcp )
use crypt && myeconfargs=( --with-rcp=scp )
-
myeconfargs+=(
$(use_enable tk gui)
$(use_enable tk tcl-qstat)
$(use_enable threads high-availability)
$(use_enable xml server-xml)
$(use_enable munge munge-library)
+ $(usex kernel_linux $(use_enable cpusets cpuset) --disable-cpuset)
--with-server-home=${PBS_SERVER_HOME}
--with-environ=/etc/pbs_environment
--with-default-server=${PBS_SERVER_NAME}
--disable-gcc-warnings
--with-tcp-retry-limit=2
- ${USE_CPUSETS}
)
autotools-utils_src_configure
}
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
LICENSE="torque-2.5"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE="cpusets +crypt doc drmaa kernel_linux munge nvidia server +syslog tk"
+IUSE="cpusets +crypt doc drmaa kernel_linux libressl munge nvidia server +syslog tk"
DEPEND_COMMON="
- sys-libs/ncurses
- sys-libs/readline
+ sys-libs/zlib
+ sys-libs/readline:0=
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
cpusets? ( sys-apps/hwloc )
munge? ( sys-auth/munge )
nvidia? ( >=x11-drivers/nvidia-drivers-275 )
- tk? ( dev-lang/tk )
+ tk? (
+ dev-lang/tk:0=
+ dev-lang/tcl:0=
+ )
syslog? ( virtual/logger )
- !games-util/qstat"
+ !!games-util/qstat"
+# libncurses.so is only needed for the configure check on readline to pass
DEPEND="${DEPEND_COMMON}
- !sys-cluster/slurm"
+ sys-libs/ncurses:*
+ !!sys-cluster/slurm"
RDEPEND="${DEPEND_COMMON}
crypt? ( net-misc/openssh )
fi
fi
- USE_CPUSETS="--disable-cpuset"
if use cpusets; then
if ! use kernel_linux; then
einfo
elog " Torque currently only has support for cpusets in linux."
- elog "Assuming you didn't really want this USE flag."
+ elog "Assuming you didn't really want this USE flag, and ignoring its state."
einfo
else
linux-info_pkg_setup
elog "your kernel with CONFIG_CPUSETS enabled."
einfo
fi
- USE_CPUSETS="--enable-cpuset"
fi
fi
}
$(use_enable drmaa) \
$(use_enable munge munge-auth) \
$(use_enable nvidia nvidia-gpus) \
+ $(usex kernel_linux $(use_enable cpusets cpuset) --disable-cpuset) \
--with-server-home=${PBS_SERVER_HOME} \
--with-environ=/etc/pbs_environment \
--with-default-server=${PBS_SERVER_NAME} \
--disable-gcc-warnings \
--with-tcp-retry-limit=2 \
--without-loadlibfile \
- ${USE_CPUSETS} \
${myconf}
}
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
LICENSE="torque-2.5"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="cpusets +crypt doc drmaa kernel_linux munge nvidia server +syslog tk"
+IUSE="cpusets +crypt doc drmaa kernel_linux libressl munge nvidia server +syslog tk"
DEPEND_COMMON="
- sys-libs/ncurses
- sys-libs/readline:*
+ sys-libs/zlib
+ sys-libs/readline:0=
+ dev-libs/libxml2
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
cpusets? ( sys-apps/hwloc )
munge? ( sys-auth/munge )
nvidia? ( >=x11-drivers/nvidia-drivers-275 )
- tk? ( dev-lang/tk:0 )
+ tk? (
+ dev-lang/tk:0=
+ dev-lang/tcl:0=
+ )
syslog? ( virtual/logger )
- !games-util/qstat"
+ !!games-util/qstat"
+# libncurses.so is only needed for configure check on readline
DEPEND="${DEPEND_COMMON}
- !sys-cluster/slurm"
+ sys-libs/ncurses:*
+ !!sys-cluster/slurm"
RDEPEND="${DEPEND_COMMON}
crypt? ( net-misc/openssh )
fi
fi
- USE_CPUSETS="--disable-cpuset"
if use cpusets; then
if ! use kernel_linux; then
einfo
elog " Torque currently only has support for cpusets in linux."
- elog "Assuming you didn't really want this USE flag."
+ elog "Assuming you didn't really want this USE flag and ignoring its state."
einfo
else
linux-info_pkg_setup
elog "your kernel with CONFIG_CPUSETS enabled."
einfo
fi
- USE_CPUSETS="--enable-cpuset"
fi
fi
}
$(use_enable drmaa) \
$(use_enable munge munge-auth) \
$(use_enable nvidia nvidia-gpus) \
+ $(usex kernel_linux $(use_enable cpusets cpuset) --disable-cpuset) \
--with-server-home=${PBS_SERVER_HOME} \
--with-environ=/etc/pbs_environment \
--with-default-server=${PBS_SERVER_NAME} \
--disable-gcc-warnings \
--with-tcp-retry-limit=2 \
--without-loadlibfile \
- ${USE_CPUSETS} \
${myconf}
}