From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 21 13:33:22 2007 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3F6A16A420; Tue, 21 Aug 2007 13:33:22 +0000 (UTC) (envelope-from pavlo@cs.wisc.edu) Received: from salt.cs.brown.edu (salt.cs.brown.edu [128.148.32.122]) by mx1.freebsd.org (Postfix) with ESMTP id 7107413C461; Tue, 21 Aug 2007 13:33:22 +0000 (UTC) (envelope-from pavlo@cs.wisc.edu) Received: from localhost (localhost [127.0.0.1]) by salt.cs.brown.edu (Postfix) with ESMTP id D6A9415B633; Tue, 21 Aug 2007 09:33:16 -0400 (EDT) Received: from salt.cs.brown.edu ([127.0.0.1]) by localhost (salt.cs.brown.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4wV-B7Aj9wqr; Tue, 21 Aug 2007 09:33:16 -0400 (EDT) Received: from null.cs.brown.edu (null.cs.brown.edu [128.148.38.190]) by salt.cs.brown.edu (Postfix) with ESMTP id B710215B632; Tue, 21 Aug 2007 09:33:16 -0400 (EDT) Received: from twix.cs.brown.edu (twix [128.148.31.40]) by null.cs.brown.edu (Postfix) with ESMTP id 9C52B5B4004; Tue, 21 Aug 2007 09:33:16 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by twix.cs.brown.edu (Postfix) with ESMTP id 88B03152089; Tue, 21 Aug 2007 09:33:16 -0400 (EDT) Received: from twix.cs.brown.edu ([127.0.0.1]) by localhost (twix.cs.brown.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B-OLBLJJdxs7; Tue, 21 Aug 2007 09:33:16 -0400 (EDT) Received: from fiji (fiji [128.148.38.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by twix.cs.brown.edu (Postfix) with ESMTP id 60B9F152087; Tue, 21 Aug 2007 09:33:16 -0400 (EDT) From: Andy Pavlo To: itetcu@freebsd.org, freebsd-ports-bugs@freebsd.org Date: Tue, 21 Aug 2007 09:33:15 -0400 User-Agent: KMail/1.9.5 References: <200708201451.l7KEpJQX005824@freefall.freebsd.org> In-Reply-To: <200708201451.l7KEpJQX005824@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_bmuyGiVcBZ5pddL" Message-Id: <200708210933.15795.pavlo@cs.wisc.edu> Cc: Subject: Re: ports/115646: [MAINTAINER UPDATE] sysutils/condor: update to 6.8.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 13:33:23 -0000 --Boundary-00=_bmuyGiVcBZ5pddL Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Here is a corrected patch with the proper tabs/spaces. I tested with the following command: [/usr/ports/sysutils]# patch -p0 < condor.diff Thanks for your help. -- Andy Pavlo pavlo@cs.wisc.edu --Boundary-00=_bmuyGiVcBZ5pddL Content-Type: text/x-diff; charset="iso-8859-1"; name="condor.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="condor.diff" diff -ruN condor.orig/Makefile condor/Makefile --- condor.orig/Makefile Tue Jul 10 12:18:17 2007 +++ condor/Makefile Wed Jul 11 09:13:36 2007 @@ -6,7 +6,7 @@ # PORTNAME= condor -PORTVERSION= 6.8.4 +PORTVERSION= 6.8.5 CATEGORIES= sysutils parallel MASTER_SITES= http://www.cs.wisc.edu/condor/cgi-bin/downloads/sendfile.pl/${OSREL}/v6.8/ DISTNAME= condor-${PORTVERSION}-freebsd6-x86-dynamic diff -ruN condor.orig/distinfo condor/distinfo --- condor.orig/distinfo Tue Jul 10 12:18:17 2007 +++ condor/distinfo Wed Jul 11 09:13:27 2007 @@ -1,3 +1,3 @@ -MD5 (condor-6.8.4-freebsd6-x86-dynamic.tar.gz) = 950fa962f2a9b5af20fc572ea506c5c7 -SHA256 (condor-6.8.4-freebsd6-x86-dynamic.tar.gz) = 5e246718ef080564c6c551cc6f8e762f4381bdbd6717ce4f07b189d5e7b6846e -SIZE (condor-6.8.4-freebsd6-x86-dynamic.tar.gz) = 91225595 +MD5 (condor-6.8.5-freebsd6-x86-dynamic.tar.gz) = b21ae6789f94b530248659087bc5adf2 +SHA256 (condor-6.8.5-freebsd6-x86-dynamic.tar.gz) = 22ce1e36a9cab7c099a77dcb33d046bd9360b9c0044307b389b9bbcf0cf7dc08 +SIZE (condor-6.8.5-freebsd6-x86-dynamic.tar.gz) = 91309292 diff -ruN condor.orig/files/patch-condor_configure condor/files/patch-condor_configure --- condor.orig/files/patch-condor_configure Tue Jul 10 12:18:17 2007 +++ condor/files/patch-condor_configure Wed Jul 11 09:13:27 2007 @@ -1,6 +1,18 @@ ---- condor_configure.orig Thu Feb 1 07:11:10 2007 -+++ condor_configure Sat Apr 28 18:26:02 2007 -@@ -134,6 +134,7 @@ +--- condor_configure.orig Tue Jul 10 14:58:29 2007 ++++ condor_configure Tue Jul 10 14:58:34 2007 +@@ -111,6 +111,11 @@ + only needed when condor_configure is called by a higher-level script, not when + invoked by a person. + ++--overwrite ++Always overwrite the contents of the 'sbin' directory in the installation directory. ++By default, Condor will make a backup copy of the original 'sbin' and create a new ++'sbin' directory containing only the new binaries. ++ + --verbose + Print more information. + +@@ -134,6 +139,7 @@ $opt_maybe_daemon_owner, $opt_install_log, $opt_verbose, @@ -8,7 +20,45 @@ ); -@@ -482,6 +483,7 @@ +@@ -428,9 +434,21 @@ + + # Lookup the full hostname. + if (!gethostbyname($host)) { +- die "\nInvalid host name \"$host\". Please set the \ +- environment variable \$HOSTNAME to the full name of this machine \ +- e.g. mymachine.mydomain.com \n"; ++ ## ++ ## We use to die right here when we couldn't get the hostname. ++ ## But the FreeBSD testers run Condor in a jail without a real hostname, so ++ ## we need to be able to still install when gethostbyname() fails ++ ## This is why we just set the fullhost to the host, and blank out the domain ++ ## Andy Pavlo - 06/27/2007 ++ ## ++ $fullhost = $host; ++ $domain = ""; ++ my $msg = "WARNING: Unable to determine full hostname for host '$host'. ". ++ "Condor may not work properly\n". ++ "Please set the environment variable \$HOSTNAME to the full name ". ++ "of this machine (e.g., mymachine.mydomain.com)\n"; ++ warn($msg); ++ return; + } + + $fullhost=(gethostbyname($host))[0]; +@@ -449,7 +467,11 @@ + if( ! ($fullhost =~ /.*\..*/) ) { + $fullhost=$host; + $domain=""; +- warn "\nWARNING: Unable to determine full hostname.\n Condor may not work properly\n"; ++ my $msg = "WARNING: Unable to determine full hostname for host '$host'. ". ++ "Condor may not work properly\n". ++ "Please set the environment variable \$HOSTNAME to the full name ". ++ "of this machine (e.g., mymachine.mydomain.com)\n"; ++ warn($msg); + } else { + # Grab just the domain, so we have it. + $fullhost =~ /\w*\.(.*)/; +@@ -482,6 +504,7 @@ "install-log=s" => \$opt_install_log, "verbose!" => \$opt_verbose, "help" => sub {print $Usage; exit 0}, @@ -16,7 +66,16 @@ ) or die $Usage; if ($opt_local_dir && !($opt_local_dir =~ m/^\//)) { -@@ -629,7 +631,7 @@ +@@ -557,6 +580,8 @@ + return $ENV{CONDOR_CONFIG}; + } elsif (-f "/etc/condor/condor_config") { + return "/etc/condor/condor_config"; ++ } elsif (-f "/usr/local/etc/condor_config") { ++ return "/usr/local/etc/condor_config"; + } elsif (-f "$release_dir/etc/condor_config") { + return "$release_dir/etc/condor_config"; + } +@@ -629,7 +654,7 @@ # Move the sbin directories instead of overwriting them, # so that the running daemons don't blow up @@ -25,3 +84,12 @@ rename ("$release_dir/sbin", "$release_dir/sbin.old.$timestamp") or die "Unable to move $release_dir/sbin!\n"; } +@@ -671,7 +696,7 @@ + die "Unable to create local config file: $local_config_file!\n"; + $global_config{LOCAL_CONFIG_FILE}="$local_config_file"; + +- make_personal_condor(); ++ # make_personal_condor(); + # Don't assume the CONDOR_HOST will be defined (e.g. Condor-G) + #$local_config{CONDOR_HOST}=$host; + diff -ruN condor.orig/pkg-descr condor/pkg-descr --- condor.orig/pkg-descr Tue Jul 10 12:18:17 2007 +++ condor/pkg-descr Wed Jul 11 09:18:39 2007 @@ -1,10 +1,9 @@ -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 +Condor is a 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. --Boundary-00=_bmuyGiVcBZ5pddL--