diff options
author | Sebastien Fabbro <seb@cayenne.ist.utl.pt> | 2009-11-17 01:56:41 +0000 |
---|---|---|
committer | Sebastien Fabbro <seb@cayenne.ist.utl.pt> | 2009-11-17 01:56:41 +0000 |
commit | 0aa76f75759c0566c92fb4d2adb4cae789574728 (patch) | |
tree | 7766015f989bf935361003606dd486bf8d340983 | |
parent | sci-mathematics/Macaulay2-1.3.1 revbump (diff) | |
download | sci-0aa76f75759c0566c92fb4d2adb4cae789574728.tar.gz sci-0aa76f75759c0566c92fb4d2adb4cae789574728.tar.bz2 sci-0aa76f75759c0566c92fb4d2adb4cae789574728.zip |
Initial condor ebuild
-rw-r--r-- | sys-cluster/condor/ChangeLog | 13 | ||||
-rw-r--r-- | sys-cluster/condor/Manifest | 13 | ||||
-rw-r--r-- | sys-cluster/condor/condor-7.2.4.ebuild | 133 | ||||
-rw-r--r-- | sys-cluster/condor/files/chkconfig_off.patch | 12 | ||||
-rw-r--r-- | sys-cluster/condor/files/condor.confd | 2 | ||||
-rw-r--r-- | sys-cluster/condor/files/condor.initd | 32 | ||||
-rw-r--r-- | sys-cluster/condor/files/condor_config.generic.patch | 135 | ||||
-rw-r--r-- | sys-cluster/condor/files/condor_config.local | 9 | ||||
-rw-r--r-- | sys-cluster/condor/files/log_lock_run.patch | 40 | ||||
-rw-r--r-- | sys-cluster/condor/files/no_basename.patch | 51 | ||||
-rw-r--r-- | sys-cluster/condor/files/no_rpmdb_query.patch | 11 | ||||
-rw-r--r-- | sys-cluster/condor/files/stdsoap2.h.patch.patch | 13 | ||||
-rw-r--r-- | sys-cluster/condor/metadata.xml | 26 |
13 files changed, 490 insertions, 0 deletions
diff --git a/sys-cluster/condor/ChangeLog b/sys-cluster/condor/ChangeLog new file mode 100644 index 000000000..053ebe863 --- /dev/null +++ b/sys-cluster/condor/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for sys-cluster/condor +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*condor-7.2.4 (17 Nov 2009) + + 17 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org> +condor-7.2.4.ebuild, + +files/chkconfig_off.patch, +files/condor.confd, +files/condor.initd, + +files/condor_config.generic.patch, +files/condor_config.local, + +files/log_lock_run.patch, +files/no_basename.patch, + +files/no_rpmdb_query.patch, +files/stdsoap2.h.patch.patch, +metadata.xml: + Initial import + diff --git a/sys-cluster/condor/Manifest b/sys-cluster/condor/Manifest new file mode 100644 index 000000000..202a116b3 --- /dev/null +++ b/sys-cluster/condor/Manifest @@ -0,0 +1,13 @@ +AUX chkconfig_off.patch 527 RMD160 b6c9642ae765278fdd914645029a6704dd1e8192 SHA1 c7e2e3ca6142c533ee1a75d0746780e43f4554bc SHA256 91b11b7014bca63f49b4957b1bb5e6a6ac8d7287239e751c7267e514e1aefc9c +AUX condor.confd 59 RMD160 b482fdcea52fecee4981da4471ea06f9a07d8f88 SHA1 7204559d1e3500a46ab29c762b250b424a30cd0e SHA256 6640576c5c0a0df4e34f03e21fe5b306a665f8fe1534aed6391038f83e238f9b +AUX condor.initd 810 RMD160 e1670354dd5a4e3172a7647228b6ad85ae3fa269 SHA1 9f6882834f63b110b6131f18d5de118e11854429 SHA256 617b9811c9e869e6ba20d07e45d2deafeb94c0f007c72714b13211f11d84da7a +AUX condor_config.generic.patch 5718 RMD160 aad9328cb4bb70a4023552c1c791e7f92f0f6482 SHA1 51ab65af484af77c233cbc6da7b83b50b3b0ab19 SHA256 04a36f903747c49706bba0989042ceb8d97433a2390a7c63d83e7140df8ba4d8 +AUX condor_config.local 232 RMD160 7398f9630bd8e0a1389abf24ff25a9b0a48531ee SHA1 0cf3b3c33cc59a6959eac4c231b5c45ed17fc671 SHA256 3a920abf199c243d3da7dc3588eeb4035fbfd366f61081e400ec15ee216814a2 +AUX log_lock_run.patch 1452 RMD160 21cc74a277b2ea4f56ff99e65fcba608245f8d67 SHA1 14066e1971e9db156c3cfe9bdb47d8473499d032 SHA256 82015f3dae3b766d4dced60f1b9c59508ae9600e633f006ec49d4a094945c097 +AUX no_basename.patch 1858 RMD160 0ea720d262e372c02f9610b2bbc7d80836f2945f SHA1 74f4123b4728c318f71c4288653b1d4b89d942a0 SHA256 52f675b584da24dee871611327757c33c020ba57b490d41d4bc2351ccb3729c8 +AUX no_rpmdb_query.patch 461 RMD160 65685df95ce1b359c76801d4dfcfafcaacc414d0 SHA1 2782c4da98717d1ce255897d95e7c9aca09ac662 SHA256 233c1c6c2a7395fca5d1f5286f4f6d211b2a1e82b8e9c1421484f0facfcf0391 +AUX stdsoap2.h.patch.patch 472 RMD160 51e951674d7e9ddfe78a3173033a0351121f788e SHA1 55b682271c31fbfb3d3f6aa892b38572e0b8f666 SHA256 8ab2d171b1a645f1dcccd1285763ed7115376bf2007a716ef89a3af488d19aaf +DIST condor_src-7.2.4-all-all.tar.gz 22126988 RMD160 e497f42553cbf40097a968bd17ea3f35fbbebe7b SHA1 00d9a05cbc1a8f46ce9a61e5ae1393ae6c20e1ad SHA256 fecd8278bd820510be6e6ae5b4302d0f061a09133f4aa2c7e8e14ccf024fcf38 +EBUILD condor-7.2.4.ebuild 3108 RMD160 6f446d0d6a364b4b0afe169056eb9670896439a7 SHA1 882f986bc096958ad657c696815733cee6c7b1de SHA256 358e82b111b2eeb0420f8ef91c5d7f5d2836722c436a138632528f80433e9bd5 +MISC ChangeLog 513 RMD160 5459fc21deb1eb96bb1c31608f07a898ba8bb72f SHA1 a9fd6fe69275136e5680dc11d9e97e99a1746774 SHA256 ec564b90695768aa48022276d60d15c3eee7e6a36fd07063e1a7066cf7149c6f +MISC metadata.xml 1247 RMD160 bcc91575dc0a5cc4ac255d5c0c415d0ade7c96c4 SHA1 a9a3ca65688dc4f32a01df1a5c329065fc7b37bf SHA256 87fdc2d2b126339048785a67fa126a184ffdf08a6bf6e6e29e78c62581ca1f0f diff --git a/sys-cluster/condor/condor-7.2.4.ebuild b/sys-cluster/condor/condor-7.2.4.ebuild new file mode 100644 index 000000000..9f8bbc811 --- /dev/null +++ b/sys-cluster/condor/condor-7.2.4.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils + +DESCRIPTION="Workload management system for compute-intensive jobs" +HOMEPAGE="http://www.cs.wisc.edu/condor/" +SRC_URI="mirror://gentoo/${PN}_src-${PV}-all-all.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="classads drmaa examples gcb kbdd kerberos oracle postgres soap ssl static" + +CDEPEND="sys-libs/zlib + dev-libs/libpcre + classads? ( sys-cluster/classads[pcre] ) + gcb? ( net-firewall/gcb ) + kerberos? ( app-crypt/mit-krb5 ) + kbdd? ( x11-libs/libX11 ) + oracle? ( dev-db/oracle-instantclient-basic ) + postgres? ( virtual/postgresql-base ) + soap? ( net-libs/gsoap ) + ssl? ( dev-libs/openssl )" + +RDEPEND="${CDEPEND} + mail-client/mailx" + +DEPEND="${CDEPEND} + x11-misc/imake" + +pkg_setup() { + enewgroup condor + enewuser condor -1 -1 "${ROOT}var/lib/condor" condor +} + +src_prepare() { + # a few patches from Redhat + epatch "${FILESDIR}"/condor_config.generic.patch + epatch "${FILESDIR}"/stdsoap2.h.patch.patch + epatch "${FILESDIR}"/chkconfig_off.patch + epatch "${FILESDIR}"/no_basename.patch + epatch "${FILESDIR}"/log_lock_run.patch +} + +src_configure() { + # set USE_OLD_IMAKE to anything so condor_imake will use the system + # installed imake instead of building its own + export USE_OLD_IMAKE=YES + cd src + econf \ + --with-buildid=Gentoo-${P} \ + --enable-proper \ + --disable-full-port \ + --disable-gcc-version-check \ + --disable-glibc-version-check \ + --disable-rpm \ + --without-zlib \ + $(use_enable kbdd) \ + $(use_enable postgres quill) \ + $(use_enable static) \ + $(use_with classads) \ + $(use_with drmaa) \ + $(use_with gcb) \ + $(use_with kerberos krb5) \ + $(use_with oracle oci) \ + $(use_with postgres postgresql) \ + $(use_with soap) \ + $(use_with ssl openssl) +} + +src_compile() { + cd src + emake -j1 || die "emake failed" +} + +src_install() { + cd src + emake release manpages || die "emake release failed" + if use static; then + emake static || die "emake static failed" + fi + cd release_dir + # binaries + dosbin sbin/* + dobin bin/* + # headers + insinto /usr + doins -r include + # libs + dolib.so lib/*so + use static && dolib.a lib/*a + insinto /usr/libexec/condor + doins -r libexec/* + + # config files + insinto /etc + cp etc/examples/condor_config.generic etc/condor_config + doins -r etc/* + + # data files + insinto /usr/share/${PN} + doins lib/*.jar lib/*.class lib/*.pm + use postgres && doins -r sql + + # doc and examples + if use examples; then + insinto /usr/share/doc/${PF} + doins -r etc/examples || die + fi + + 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 + + newconfd "${FILESDIR}"/condor.confd condor || die + newinitd "${FILESDIR}"/condor.initd condor || die +} + +pkg_postinst() { + elog "condor ebuild is still under development." + elog "Help us improve the ebuild in:" + elog "http://bugs.gentoo.org/show_bug.cgi?id=60281" +} diff --git a/sys-cluster/condor/files/chkconfig_off.patch b/sys-cluster/condor/files/chkconfig_off.patch new file mode 100644 index 000000000..66ac9cd20 --- /dev/null +++ b/sys-cluster/condor/files/chkconfig_off.patch @@ -0,0 +1,12 @@ +diff -ru condor-7.2.0/src/condor_examples/condor.init condor-7.2.0mf/src/condor_examples/condor.init +--- condor-7.2.0/src/condor_examples/condor.init 2008-12-19 14:10:08.000000000 -0600 ++++ condor-7.2.0mf/src/condor_examples/condor.init 2009-01-13 19:31:15.000000000 -0600 +@@ -2,7 +2,7 @@ + # + # condor This script allows for starting and stopping Condor. + # +-# chkconfig: 2345 90 10 ++# chkconfig: - 90 10 + # description: Condor is a high throughput computing batch processing + # platform. + # processname: condor_master diff --git a/sys-cluster/condor/files/condor.confd b/sys-cluster/condor/files/condor.confd new file mode 100644 index 000000000..16b46f179 --- /dev/null +++ b/sys-cluster/condor/files/condor.confd @@ -0,0 +1,2 @@ +CONDOR_CENTRAL_MANAGER=canfarpool.canfar.vpn +CONDOR_OPT="" diff --git a/sys-cluster/condor/files/condor.initd b/sys-cluster/condor/files/condor.initd new file mode 100644 index 000000000..d3cf8a542 --- /dev/null +++ b/sys-cluster/condor/files/condor.initd @@ -0,0 +1,32 @@ +#!/sbin/runscript +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +CONDOR_USER=condor + +depend() { + need net + use logger +} + +start() { + ebegin "Starting condor" + condor_configure --type=execute --central-manager=${CONDOR_CENTRAL_MANAGER} --owner ${CONDOR_USER} + pid=$(start-stop-daemon --start --quiet --user ${CONDOR_USER} \ + --pidfile /var/run/condor.pid \ + --exec /usr/sbin/condor_master -- ${CONDOR_OPTS}) + retval=$? + echo ${CONDOR_PID} > /var/run/condor.pid + eend ${retval} +} + +stop() { + ebegin "Stopping condor" + start-stop-daemon --stop --quiet \ + --pidfile /var/run/condor.pid \ + --exec /usr/sbin/condor_master + retval=$? + [ ${retval} -eq 0 ] && rm -f /var/lock/subsys/condor + eend ${retval} +} diff --git a/sys-cluster/condor/files/condor_config.generic.patch b/sys-cluster/condor/files/condor_config.generic.patch new file mode 100644 index 000000000..b9d4058da --- /dev/null +++ b/sys-cluster/condor/files/condor_config.generic.patch @@ -0,0 +1,135 @@ +diff --git a/src/condor_examples/condor_config.generic b/src/condor_examples/condor_config.generic +index f3f60a5..94c146f 100644 +--- a/src/condor_examples/condor_config.generic ++++ b/src/condor_examples/condor_config.generic +@@ -1,15 +1,35 @@ + ###################################################################### ++###################################################################### ++## ## ++## N O T I C E: ## ++## ## ++## Customization of this file should be done via the ## ++## LOCAL_CONFIG_FILE. ## ++## ## ++###################################################################### ++###################################################################### ++ ++ ++###################################################################### + ## + ## condor_config + ## + ## This is the global configuration file for condor. Any settings +-## made here may potentially be overridden in the local configuration +-## file. KEEP THAT IN MIND! To double-check that a variable is +-## getting set from the configuration file that you expect, use +-## condor_config_val -v <variable name> ++## found here * * s h o u l d b e c u s t o m i z e d i n ++## t h e l o c a l c o n f i g u r a t i o n f i l e. * * ++## ++## The local configuration file is specified by LOCAL_CONFIG_FILE ++## below. ++## ++## For a basic configuration, you may only want to start by ++## customizing CONDOR_ADMIN. ++## ++## Note: To double-check where a configuration variable is set from ++## you can use condor_config_val -v <variable name>, ++## e.g. condor_config_val -v CONDOR_ADMIN. + ## + ## The file is divided into four main parts: +-## Part 1: Settings you MUST customize ++## Part 1: Settings you likely want to customize + ## Part 2: Settings you may want to customize + ## Part 3: Settings that control the policy of when condor will + ## start and stop jobs on your machines +@@ -47,18 +62,15 @@ + ## # # # # # # # + ## # # # # # # ##### + ## +-## Part 1: Settings you must customize: ++## Part 1: Settings you likely want to customize: + ###################################################################### + ###################################################################### + +-## What machine is your central manager? +-CONDOR_HOST = central-manager-hostname.your.domain +- + ##-------------------------------------------------------------------- + ## Pathnames: + ##-------------------------------------------------------------------- + ## Where have you installed the bin, sbin and lib condor directories? +-RELEASE_DIR = /usr/local/condor ++RELEASE_DIR = /usr + + ## Where is the local condor directory for each host? + ## This is where the local config file(s), logs and +@@ -84,7 +96,7 @@ CONDOR_ADMIN = condor-admin@your.domain + + ## Full path to a mail delivery program that understands that "-s" + ## means you want to specify a subject: +-MAIL = /usr/bin/mail ++MAIL = /bin/mail + + ##-------------------------------------------------------------------- + ## Network domain parameters: +@@ -93,13 +105,13 @@ MAIL = /usr/bin/mail + ## machines don't share a common UID space, set it to + ## UID_DOMAIN = $(FULL_HOSTNAME) + ## to specify that each machine has its own UID space. +-UID_DOMAIN = your.domain ++UID_DOMAIN = $(FULL_HOSTNAME) + + ## Internet domain of machines sharing a common file system. + ## If your machines don't use a network file system, set it to + ## FILESYSTEM_DOMAIN = $(FULL_HOSTNAME) + ## to specify that each machine has its own file system. +-FILESYSTEM_DOMAIN = your.domain ++FILESYSTEM_DOMAIN = $(FULL_HOSTNAME) + + ## This macro is used to specify a short description of your pool. + ## It should be about 20 characters long. For example, the name of +@@ -218,7 +230,7 @@ HOSTALLOW_READ = * + ## HOSTALLOW_WRITE = * + ## but note that this will allow anyone to submit jobs or add + ## machines to your pool and is serious security risk. +-HOSTALLOW_WRITE = YOU_MUST_CHANGE_THIS_INVALID_CONDOR_CONFIGURATION_VALUE ++HOSTALLOW_WRITE = $(FULL_HOSTNAME) + #HOSTALLOW_WRITE = *.your.domain, your-friend's-machine.other.domain + #HOSTDENY_WRITE = bad-machine.your.domain + +@@ -872,9 +883,10 @@ SPOOL = $(LOCAL_DIR)/spool + EXECUTE = $(LOCAL_DIR)/execute + BIN = $(RELEASE_DIR)/bin + LIB = $(RELEASE_DIR)/lib +-INCLUDE = $(RELEASE_DIR)/include ++INCLUDE = $(RELEASE_DIR)/include/condor + SBIN = $(RELEASE_DIR)/sbin +-LIBEXEC = $(RELEASE_DIR)/libexec ++LIBEXEC = $(RELEASE_DIR)/libexec/condor ++SHARE = $(RELEASE_DIR)/share/condor + + ## If you leave HISTORY undefined (comment it out), no history file + ## will be created. +@@ -1655,7 +1667,7 @@ JAVA_MAXHEAP_ARGUMENT = -Xmx + ## them here. However, do not remove the existing entries, as Condor + ## needs them. + +-JAVA_CLASSPATH_DEFAULT = $(LIB) $(LIB)/scimark2lib.jar . ++JAVA_CLASSPATH_DEFAULT = $(SHARE) $(SHARE)/scimark2lib.jar . + + ## JAVA_CLASSPATH_ARGUMENT describes the command-line parameter + ## used to introduce a new classpath: +diff --git a/src/condor_examples/customize b/src/condor_examples/customize +index b1c5710..cb2dea1 100644 +--- a/src/condor_examples/customize ++++ b/src/condor_examples/customize +@@ -54,7 +54,7 @@ sub get_platform_defaults { + $_ = $os; + SWITCH: { + if(/^Linux/) { +- $mail_path="/usr/bin/mail"; ++ $mail_path="/bin/mail"; + $ps_path="/bin/ps auwx"; + $console_devs="mouse, console"; + last SWITCH; diff --git a/sys-cluster/condor/files/condor_config.local b/sys-cluster/condor/files/condor_config.local new file mode 100644 index 000000000..8979b6e1c --- /dev/null +++ b/sys-cluster/condor/files/condor_config.local @@ -0,0 +1,9 @@ +CONDOR_DEVELOPERS = NONE +CONDOR_HOST = $(FULL_HOSTNAME) +COLLECTOR_NAME = Personal Condor +START = TRUE +SUSPEND = FALSE +PREEMPT = FALSE +KILL = FALSE +DAEMON_LIST = COLLECTOR, MASTER, NEGOTIATOR, SCHEDD, STARTD +NEGOTIATOR_INTERVAL = 20 diff --git a/sys-cluster/condor/files/log_lock_run.patch b/sys-cluster/condor/files/log_lock_run.patch new file mode 100644 index 000000000..5f0991f7e --- /dev/null +++ b/sys-cluster/condor/files/log_lock_run.patch @@ -0,0 +1,40 @@ +diff --git a/src/condor_examples/condor_config.generic b/src/condor_examples/con +index 352f685..3f80b62 100644 +--- a/src/condor_examples/condor_config.generic ++++ b/src/condor_examples/condor_config.generic +@@ -378,7 +378,7 @@ + ## condor account, it's probably condor. Otherwise, it's whatever + ## you've set in the CONDOR_IDS environment variable. See the Admin + ## manual for details on this. +-LOCK = $(LOG) ++LOCK = /var/lock/condor + + ## If you don't use a fully qualified name in your /etc/hosts file + ## (or NIS, etc.) for either your official hostname or as an alias, +@@ -878,15 +878,16 @@ + ###################################################################### + + ## Pathnames +-LOG = $(LOCAL_DIR)/log ++LOG = /var/log/condor + SPOOL = $(LOCAL_DIR)/spool + EXECUTE = $(LOCAL_DIR)/execute + BIN = $(RELEASE_DIR)/bin + LIB = $(RELEASE_DIR)/lib + INCLUDE = $(RELEASE_DIR)/include/condor + SBIN = $(RELEASE_DIR)/sbin + LIBEXEC = $(RELEASE_DIR)/libexec/condor + SHARE = $(RELEASE_DIR)/share/condor ++RUN = /var/run/condor + + ## If you leave HISTORY undefined (comment it out), no history file + ## will be created. +@@ -1559,7 +1560,7 @@ + # UNIX); the name will be something like: + # \\.\pipe\condor_procd + # +-PROCD_ADDRESS = $(LOCK)/procd_pipe ++PROCD_ADDRESS = $(RUN)/procd_pipe + + # The procd currently uses a very simplistic logging system. Since this + # log will not be rotated like other Condor logs, it is only recommended diff --git a/sys-cluster/condor/files/no_basename.patch b/sys-cluster/condor/files/no_basename.patch new file mode 100644 index 000000000..e453c1626 --- /dev/null +++ b/sys-cluster/condor/files/no_basename.patch @@ -0,0 +1,51 @@ +diff --git a/src/condor_includes/basename.h b/src/condor_includes/basename.h +index 923cc73..028411d 100644 +--- a/src/condor_includes/basename.h ++++ b/src/condor_includes/basename.h +@@ -64,18 +64,6 @@ char* condor_dirname( const char* path ); + char* condor_url_dirname( const char* path ); + + /* +- DEPRECATED: because of non-const return value. +- +- A basename() function that is happy on both Unix and NT. +- It returns a pointer to the last element of the path it was given, +- or the whole string, if there are no directory delimiters. There's +- no memory allocated, overwritten or changed in anyway. +- PLEASE treat the return value as a _const_ char *!!! It's only +- declared char * to avoid conflict with the system basename() declaration. +-*/ +-/* const*/ char* basename( const char* path ); +- +-/* + DEPRECATED: just in case we need changes along the lines of + condor_basename() some time in the future. + +diff --git a/src/condor_util_lib/basename.c b/src/condor_util_lib/basename.c +index 8e1777c..ef71545 100644 +--- a/src/condor_util_lib/basename.c ++++ b/src/condor_util_lib/basename.c +@@ -127,23 +127,6 @@ condor_url_dirname(const char *path) + } + + /* +- DEPRECATED: because of non-const return value. +- +- A basename() function that is happy on both Unix and NT. +- It returns a pointer to the last element of the path it was given, +- or the whole string, if there are no directory delimiters. There's +- no memory allocated, overwritten or changed in anyway. +- PLEASE treat the return value as a _const_ char *!!! It's only +- declared char * to avoid conflict with the system basename() declaration. +-*/ +-#if 0 +-/* const*/ char* +- basename( const char* path ) { +- return (char *)condor_basename( path ); +-} +-#endif +- +-/* + DEPRECATED: just in case we need changes along the lines of + condor_basename() some time in the future. + diff --git a/sys-cluster/condor/files/no_rpmdb_query.patch b/sys-cluster/condor/files/no_rpmdb_query.patch new file mode 100644 index 000000000..6c53503a9 --- /dev/null +++ b/sys-cluster/condor/files/no_rpmdb_query.patch @@ -0,0 +1,11 @@ +--- condor-7.2.1/src/configure.ac 2009-02-24 07:06:37.000000000 -0600 ++++ condor-7.2.1mf/src/configure.ac 2009-02-24 07:05:46.000000000 -0600 +@@ -262,7 +262,7 @@ + ;; + # Handle post-FC releases more robustly + * ) +- _cv_linux_distro=`$RPMQUERY -q --queryformat "F%{VERSION}" fedora-release` ++ _cv_linux_distro=F`cat /etc/fedora-release|$PERL -ne '/.* (.*) \((.*)\)/;print $1;'` + ;; + esac + elif test -f "/etc/redhat-release" ; then diff --git a/sys-cluster/condor/files/stdsoap2.h.patch.patch b/sys-cluster/condor/files/stdsoap2.h.patch.patch new file mode 100644 index 000000000..90face99b --- /dev/null +++ b/sys-cluster/condor/files/stdsoap2.h.patch.patch @@ -0,0 +1,13 @@ +diff --git a/src/condor_daemon_core.V6/stdsoap2.h.patch b/src/condor_daemon_core.V6/stdsoap2.h.patch +index a0fe3ed..c84abe7 100644 +--- a/src/condor_daemon_core.V6/stdsoap2.h.patch ++++ b/src/condor_daemon_core.V6/stdsoap2.h.patch +@@ -47,7 +47,7 @@ + @@ -418,8 +427,8 @@ + #endif + +- #if defined(__cplusplus) && !defined(WITH_LEAN) ++ #if defined(__cplusplus) && !defined(WITH_LEAN) && !defined(WITH_COMPAT) + -# include <string> + -# include <iostream> + +# include <string.h> diff --git a/sys-cluster/condor/metadata.xml b/sys-cluster/condor/metadata.xml new file mode 100644 index 000000000..e12acc536 --- /dev/null +++ b/sys-cluster/condor/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>hp-cluster</herd> +<maintainer> + <email>bicatali@gentoo.org</email> +</maintainer> +<longdescription lang='en'> + Condor is a open-source, specialized workload management system for + compute-intensive jobs. Like other full-featured batch systems, Condor + provides a job queueing mechanism, scheduling policy, priority scheme, + resource monitoring, and resource management. Users submit their serial + or parallel jobs to Condor, Condor places them into a queue, chooses + when and where to run the jobs based upon a policy, carefully monitors + their progress, and ultimately informs the user upon completion. Condor + also contains mechanisms to submit jobs to grid-sites and supports many + different grid toolkits. +</longdescription> +<use> + <flag name='classads'>Enable the Condor's classified advertisement language</flag> + <flag name='drmaa'>Enable the Distributed Resource Management + Application API</flag> + <flag name='gcb'>Enable condor to communicate over firewall/NAT</flag> + <flag name='kbdd'>Enable the Condor Keyboard Daemon to monitor logged in X users for activity</flag> +</use> +</pkgmetadata> |