commit: ae8c8f93658125d916689faee4a18e58a9b46373 Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org> AuthorDate: Tue Jan 6 00:18:26 2015 +0000 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> CommitDate: Tue Jan 6 00:18:26 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ae8c8f93
version bump, untested (fixes #220) Package-Manager: portage-2.2.14 --- sys-cluster/htcondor/ChangeLog | 5 ++ sys-cluster/htcondor/htcondor-8.3.2.ebuild | 111 +++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) diff --git a/sys-cluster/htcondor/ChangeLog b/sys-cluster/htcondor/ChangeLog index 476c004..1dafb48 100644 --- a/sys-cluster/htcondor/ChangeLog +++ b/sys-cluster/htcondor/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*htcondor-8.3.2 (06 Jan 2015) + + 06 Jan 2015; Christoph Junghans <ott...@gentoo.org> +htcondor-8.3.2.ebuild: + version bump, untested (fixes #220) + 05 Jan 2015; Christoph Junghans <ott...@gentoo.org> htcondor-8.0.0.ebuild: fixed deps diff --git a/sys-cluster/htcondor/htcondor-8.3.2.ebuild b/sys-cluster/htcondor/htcondor-8.3.2.ebuild new file mode 100644 index 0000000..638715b --- /dev/null +++ b/sys-cluster/htcondor/htcondor-8.3.2.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +CMAKE_MIN_VERSION=2.8 +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit cmake-utils python-single-r1 user vcs-snapshot + +DESCRIPTION="Workload management system for compute-intensive jobs" +HOMEPAGE="http://htcondorproject.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/V${PV//./_}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +#KEYWORDS="~amd64 ~x86" +IUSE="boinc cgroup contrib curl dmtcp doc kerberos libvirt management minimal postgres python soap ssl test X xml" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +CDEPEND="sys-libs/zlib + >=dev-libs/libpcre-7.6 + >=dev-libs/boost-1.49.0[${PYTHON_USEDEP}] + net-nds/openldap + boinc? ( sci-misc/boinc ) + cgroup? ( >=dev-libs/libcgroup-0.37 ) + curl? ( >=net-misc/curl-7.19.7[ssl?] ) + dmtcp? ( sys-apps/dmtcp ) + libvirt? ( >=app-emulation/libvirt-0.6.2 ) + kerberos? ( virtual/krb5 ) + X? ( x11-libs/libX11 ) + management? ( net-libs/qmf ) + postgres? ( >=dev-db/postgresql-8.2.4 ) + python? ( ${PYTHON_DEPS} ) + soap? ( >=net-libs/gsoap-2.7.11[ssl?] ) + ssl? ( >=dev-libs/openssl-0.9.8i ) + xml? ( >=dev-libs/libxml2-2.7.3 )" + +DEPEND="${CDEPEND} + test? ( dev-util/valgrind )" + +RDEPEND="${CDEPEND} + virtual/mailx" + +pkg_setup() { + enewgroup condor + enewuser condor -1 "${ROOT}"bin/bash "${ROOT}var/lib/condor" condor +} + +src_prepare() { + epatch "${FILESDIR}/condor_shadow_dlopen-${PV}.patch" + epatch "${FILESDIR}/condor_config.generic.patch" + epatch "${FILESDIR}/0001-Apply-the-user-s-condor_config-last-rather-than-firs.patch" + epatch "${FILESDIR}/packaging_directories-8.0.0.patch" + epatch "${FILESDIR}/fix_sandbox_violations-8.0.0.patch" + cmake-utils_src_prepare +} + +src_configure() { + # All the hard coded -DWITH_X=OFF flags are for packages that aren't in portage + # I also haven't included support for HAVE_VMWARE because I don't know what it requires + local mycmakeargs=" + -DCONDOR_PACKAGE_BUILD=ON + -DCMAKE_INSTALL_PREFIX=/ + -DWITH_BLAHP=OFF + -DWITH_CAMPUSFACTORY=OFF + -DWITH_CLUSTER_RA=OFF + -DWITH_COREDUMPER=OFF + -DWITH_CREAM=OFF + -DWITH_GLOBUS=OFF + -DWITH_LIBDELTACLOUD=OFF + -DWITH_BLAHP=OFF + -DWITH_QPID=OFF + -DWITH_UNICOREGAHP=OFF + -DWITH_VOMS=OFF + -DWITH_WSO2=OFF + $(cmake-utils_use_has boinc BACKFILL) + $(cmake-utils_use_has boinc) + $(cmake-utils_use_with cgroup LIBCGROUP) + $(cmake-utils_use_want contrib) + $(cmake-utils_use_with curl) + $(cmake-utils_use_want doc MAN_PAGES) + $(cmake-utils_use_with libvirt) + $(cmake-utils_use_has X KBDD) + $(cmake-utils_use_with kerberos KRB5) + $(cmake-utils_use_with postgres POSTGRESQL) + $(cmake-utils_use_with python PYTHON_BINDINGS) + $(cmake-utils_use_with management) + $(cmake-utils_use minimal CLIPPED) + $(cmake-utils_use_with soap AVIARY) + $(cmake-utils_use_with soap GSOAP) + $(cmake-utils_use_with ssl OPENSSL) + $(cmake-utils_use_build test TESTING) + $(cmake-utils_use_with xml LIBXML2)" + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + dodir /var/lib/condor + dodir /var/log/condor + dodir /var/run/condor + dodir /var/lock/condor + + fperms 750 /var/lib/condor /var/log/condor + fperms 755 /var/run/condor + fperms 0775 /var/lock/condor + fowners condor:condor /var/lib/condor /var/log/condor /var/run/condor +}