From owner-svn-ports-all@freebsd.org Sat Mar 31 00:37:46 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D81BF7740A; Sat, 31 Mar 2018 00:37:46 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C784B87E44; Sat, 31 Mar 2018 00:37:45 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9EC1710560; Sat, 31 Mar 2018 00:37:45 +0000 (UTC) (envelope-from jwb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2V0bj1b067057; Sat, 31 Mar 2018 00:37:45 GMT (envelope-from jwb@FreeBSD.org) Received: (from jwb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2V0bjGp067053; Sat, 31 Mar 2018 00:37:45 GMT (envelope-from jwb@FreeBSD.org) Message-Id: <201803310037.w2V0bjGp067053@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jwb set sender to jwb@FreeBSD.org using -f From: "Jason W. Bacon" Date: Sat, 31 Mar 2018 00:37:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466017 - in head/sysutils/condor: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jwb X-SVN-Commit-Paths: in head/sysutils/condor: . files X-SVN-Commit-Revision: 466017 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2018 00:37:46 -0000 Author: jwb Date: Sat Mar 31 00:37:44 2018 New Revision: 466017 URL: https://svnweb.freebsd.org/changeset/ports/466017 Log: sysutils/htcondor: Unbreak and upgrade to 8.4.12 Fixes build errors caused by increased strictness of C++ compilers and the switch to ninja as default back-end for cmake This is a conservative upgrade to maintain compatibility with the current port. The latest release, 8.6.10, also builds on FreeBSD, but includes major changes that need to be tested before being put into production. Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D14909 Added: head/sysutils/condor/files/patch-src_condor__io_condor__auth__kerberos.cpp (contents, props changed) Deleted: head/sysutils/condor/files/patch-src_condor__includes_condor__crypt__3des.h head/sysutils/condor/files/patch-src_condor__io_condor__crypt__3des.cpp Modified: head/sysutils/condor/Makefile head/sysutils/condor/distinfo head/sysutils/condor/pkg-descr Modified: head/sysutils/condor/Makefile ============================================================================== --- head/sysutils/condor/Makefile Fri Mar 30 23:46:29 2018 (r466016) +++ head/sysutils/condor/Makefile Sat Mar 31 00:37:44 2018 (r466017) @@ -1,12 +1,11 @@ # Created by: Andy Pavlo # $FreeBSD$ -# -# Note: Make sure there are no older versions of HTCondor installed during + +# Note: Make sure there are no other versions of HTCondor installed during # build. The build system may pick up incompatible headers and libs. PORTNAME= condor -PORTVERSION= 8.4.9 -PORTREVISION= 8 +DISTVERSION= 8.4.12 CATEGORIES= sysutils net MASTER_SITES= http://www.acadix.biz/Ports/distfiles/ DISTNAME= condor_src-${PORTVERSION}-all-all @@ -17,18 +16,17 @@ COMMENT= High-throughput computing on distributively o LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE-2.0.txt -BROKEN= fails to build +BROKEN_powerpc64= fails to build -LIB_DEPENDS+= libkrb5support.so:security/krb5 \ +LIB_DEPENDS= libkrb5support.so:security/krb5 \ libpcre.so:devel/pcre \ libcurl.so:ftp/curl \ - ${PY_BOOST} \ - libexpat.so:textproc/expat2 + libexpat.so:textproc/expat2 \ + ${PY_BOOST} -WRKSRC= ${WRKDIR}/condor-${PORTVERSION} +# Does not work with Python 3 +USES= cmake:noninja cpe perl5 pgsql python:2.7 shebangfix ssl USE_LDCONFIG= yes -# Does not build with Python 3 -USES= cmake cpe perl5 pgsql python:2.7 shebangfix ssl CPE_VENDOR= condor_project SHEBANG_FILES= src/condor_scripts/condor_qsub \ src/condor_gridmanager/remote_gahp \ @@ -37,11 +35,11 @@ SHEBANG_FILES= src/condor_scripts/condor_qsub \ src/condor_starter.V6.1/condor_ssh_to_job_shell_setup \ src/condor_job_router/condor_router_history +WRKSRC= ${WRKDIR}/condor-${PORTVERSION} WANT_PGSQL= server CXXFLAGS+= -I${LOCALBASE}/include -fPIC LDFLAGS+= -Wl,-rpath=${_GCC_RUNTIME}:${LOCALBASE}/lib:/usr/lib:/lib -fPIC -# Does not build with Python 3 -CMAKE_ARGS+= -DCMAKE_CXX_FLAGS:STRING=${CXXFLAGS} \ +CMAKE_ARGS= -DCMAKE_CXX_FLAGS:STRING=${CXXFLAGS} \ -DCMAKE_EXE_LINKER_FLAGS:STRING=${LDFLAGS} \ -DPYTHON_INCLUDE_DIR:PATH=${LOCALBASE}/include/${PYTHON_VERSION} \ -DPYTHON_LIBRARY:FILEPATH=${LOCALBASE}/lib/lib${PYTHON_VERSION}.so @@ -61,7 +59,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES pre-everything:: @( ${PRINTF} "\nWARNING: Condor needs approximately 3GB to build!"; \ - ${PRINTF} " Please make sure your build environment has that much before continuing.\n" ) + ${PRINTF} " Please make sure your build environment has that much space before continuing.\n" ) post-patch: @${REINPLACE_CMD} \ Modified: head/sysutils/condor/distinfo ============================================================================== --- head/sysutils/condor/distinfo Fri Mar 30 23:46:29 2018 (r466016) +++ head/sysutils/condor/distinfo Sat Mar 31 00:37:44 2018 (r466017) @@ -1,3 +1,3 @@ -TIMESTAMP = 1475844209 -SHA256 (condor_src-8.4.9-all-all.tar.gz) = 56be45f54c014680dfd5439749b02fb9da4a11fb5645ff36d22dd0ccef1043ce -SIZE (condor_src-8.4.9-all-all.tar.gz) = 17379991 +TIMESTAMP = 1522374768 +SHA256 (condor_src-8.4.12-all-all.tar.gz) = d1544f41f31931fdaa9bfed8cb5f7e669b6e1e53c300888fda05cb29b6091c2a +SIZE (condor_src-8.4.12-all-all.tar.gz) = 17391439 Added: head/sysutils/condor/files/patch-src_condor__io_condor__auth__kerberos.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/condor/files/patch-src_condor__io_condor__auth__kerberos.cpp Sat Mar 31 00:37:44 2018 (r466017) @@ -0,0 +1,11 @@ +--- src/condor_io/condor_auth_kerberos.cpp.orig 2018-03-29 12:44:08 UTC ++++ src/condor_io/condor_auth_kerberos.cpp +@@ -80,7 +80,7 @@ static void (KRB5_CALLCONV *krb5_free_cr + static void (KRB5_CALLCONV *krb5_free_keyblock_ptr)(krb5_context, register krb5_keyblock *) = NULL; + static void (KRB5_CALLCONV *krb5_free_principal_ptr)(krb5_context, krb5_principal) = NULL; + static void (KRB5_CALLCONV *krb5_free_ticket_ptr)(krb5_context, krb5_ticket *) = NULL; +-static krb5_error_code (KRB5_CALLCONV *krb5_fwd_tgt_creds_ptr)(krb5_context, krb5_auth_context, char *, krb5_principal, krb5_principal, krb5_ccache, int, krb5_data *) = NULL; ++static krb5_error_code (KRB5_CALLCONV *krb5_fwd_tgt_creds_ptr)(krb5_context, krb5_auth_context, const char *, krb5_principal, krb5_principal, krb5_ccache, int, krb5_data *) = NULL; + static krb5_error_code (KRB5_CALLCONV *krb5_get_credentials_ptr)(krb5_context, krb5_flags, krb5_ccache, krb5_creds *, krb5_creds **) = NULL; + // The presence of KRB5_RESPONDER_QUESTION_PASSWORD is a hacky substitute + // for detecting the version of Kerberos where the function signature Modified: head/sysutils/condor/pkg-descr ============================================================================== --- head/sysutils/condor/pkg-descr Fri Mar 30 23:46:29 2018 (r466016) +++ head/sysutils/condor/pkg-descr Sat Mar 31 00:37:44 2018 (r466017) @@ -1,14 +1,13 @@ Condor is a open-source, specialized workload management system for -compute-intensive jobs. Like other full-featured batch systems, Condor -provides a job queuing 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. +compute-intensive jobs. Like other full-featured batch systems, Condor provides +a job queuing 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. -It is developed at the University of Wisconsin-Madison's Department -of Computer Sciences. +It is developed at the University of Wisconsin-Madison's Department of Computer +Sciences. WWW: http://research.cs.wisc.edu/condor/