Date: Wed, 25 Feb 2004 10:56:45 -0800 (PST) From: Brooks Davis <brooks@one-eyed-alien.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/63361: [maintainer update] sge-5.3.5.20040224 Message-ID: <200402251856.i1PIujlP039849@freefall.freebsd.org> Resent-Message-ID: <200402251900.i1PJ0WG9039933@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63361 >Category: ports >Synopsis: [maintainer update] sge-5.3.5.20040224 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Feb 25 11:00:32 PST 2004 >Closed-Date: >Last-Modified: >Originator: Brooks Davis >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 4.9-STABLE FreeBSD 4.9-STABLE #11: Thu Feb 5 19:43:44 PST 2004 kensmith@freefall.freebsd.org:/c/src/sys/compile/FREEFALL i386 >Description: Upgrade to an SGE snapshot from Feb 24, 2004. - Fix build on non-i386 platforms. - Obey CC and CPP in a few places (qmake, qtcsh, pvm integration). - Use USE_GETTEXT. - Sort USE_* variables. - Remove $Aero$ revision tags since I now work in perforce. - Fix a patch so openssl is found and add to plist. - Move maintainer make targets to the bottom. Add one to build a distfile from CVS. - Sizify. - Use %D instead of %%PREFIX%% in plist. Noticed by: kris (non-i386, CC, and openssl issues) >How-To-Repeat: >Fix: Apply this patch. No new or deleted files. Index: Makefile =================================================================== RCS file: /mirrors/cvs/FreeBSD/ports/sysutils/sge/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 4 Feb 2004 05:09:06 -0000 1.3 +++ Makefile 25 Feb 2004 18:25:35 -0000 @@ -3,12 +3,11 @@ # Whom: Brooks Davis <brooks@FreeBSD.org> # # $FreeBSD: ports/sysutils/sge/Makefile,v 1.3 2004/02/04 05:09:06 marcus Exp $ -# $Aero: ports/sge/Makefile,v 1.3 2004/01/21 22:26:12 brooks Exp $ # PORTNAME= sge -PORTVERSION= 5.3.5.20040120 -PORTREVISION= 1 +PORTVERSION= ${SGE_VERSION}.${SGE_SNAPDATE} +PORTREVISION= 0 CATEGORIES= sysutils parallel MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brooks @@ -16,12 +15,11 @@ MASTER_SITE_SUBDIR= brooks MAINTAINER= brooks@FreeBSD.org COMMENT?= Sun Grid Engine, a batch queueing system -LIB_DEPENDS= intl.6:${PORTSDIR}/devel/gettext - USE_BZIP2= yes -USE_OPENSSL= yes +USE_GETTEXT= yes USE_GMAKE= yes USE_MOTIF= yes +USE_OPENSSL= yes USE_REINPLACE= yes INSTALLS_SHLIB= yes LDCONFIG_DIRS= ${SGE_ROOT}/lib/${SGE_ARCH} @@ -29,6 +27,8 @@ LDCONFIG_DIRS= ${SGE_ROOT}/lib/${SGE_ARC SGE_BASE?= sge SGE_ROOT= ${PREFIX}/${SGE_BASE} SGE_ARCH= fbsd-${ARCH} +SGE_VERSION= 5.3.5 +SGE_SNAPDATE= 20040224 SGE_RELEASE= 5.3p5-snap-20040120 PLIST_SUB+= SGE_ARCH=${SGE_ARCH} @@ -69,6 +69,11 @@ post-patch: -e "s|%%CFLAGS%%|${CFLAGS}|g" -e "s|%CXXFLAGS%%|${CXXFLAGS}|g" \ ${WRKSRC}/aimk \ ${WRKSRC}/dist/pvm/src/aimk + @${REINPLACE_CMD} -e 's|^CC = gcc|CC = ${CC}|' \ + -e 's|^CPP = gcc -E|CPP = ${CPP}|' \ + ${WRKSRC}/3rdparty/qmake/FREEBSD_*/Makefile \ + ${WRKSRC}/3rdparty/qmake/FREEBSD_*/glob/Makefile \ + ${WRKSRC}/3rdparty/qtcsh/FREEBSD_*/Makefile @${RM} ${WRKSRC}/dist/util/arch_variables.orig @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ ${REINPLACE_CMD} "s|-g -O2|${CFLAGS}|" @@ -100,17 +105,34 @@ do-install: | ${TAR} cTf - - | ${TAR} xUCf ${DOCSDIR} - .endif -# Automaticly produce the offical machine dependent tarball -release-tar: install - cd ${SGE_ROOT} && \ - ${TAR} cfvz ${.CURDIR}/sge-${SGE_RELEASE}-bin-${SGE_ARCH}.tar.gz \ - `find . -name ${SGE_ARCH}` - post-install: @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%SGE_BASE%%|${SGE_BASE}|g' \ < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} @${ECHO} + +# Automaticly produce the offical machine dependent tarball +# Be sure to do an install first +release-tar: + cd ${SGE_ROOT} && \ + ${TAR} cfvz ${.CURDIR}/sge-${SGE_RELEASE}-bin-${SGE_ARCH}.tar.gz \ + `find . -name ${SGE_ARCH}` + +# Produce a distfile for today. This target exists for the use of the +# port's maintainer. +SGE_TAG= V53_beta2_BRANCH +TODAY!= /bin/date +%Y%m%d +XDISTNAME= sge-${SGE_VERSION}.${TODAY} +XDISTFILE= ${DISTDIR}/${XDISTNAME}.tar.bz2 +distfile: + ${MKDIR} ${WRKDIR} + cd ${WRKDIR}; \ + cvs -d :pserver:guest@cvs.gridengine.sunsource.net:/cvs co \ + -r ${SGE_TAG} -d ${XDISTNAME} gridengine + ${FIND} ${WRKDIR}/${XDISTNAME} -name CVS | ${XARGS} ${RM} -rf + cd ${WRKDIR}; ${TAR} cfy ${XDISTFILE} ${XDISTNAME} + @${RM} -rf ${WRKDIR}/${XDISTNAME} + @${RMDIR} ${WRKDIR} 2> /dev/null || true .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /mirrors/cvs/FreeBSD/ports/sysutils/sge/distinfo,v retrieving revision 1.1 diff -u -p -r1.1 distinfo --- distinfo 1 Feb 2004 06:40:53 -0000 1.1 +++ distinfo 25 Feb 2004 18:25:35 -0000 @@ -1 +1,2 @@ -MD5 (sge-5.3.5.20040120.tar.bz2) = 443ea8901620c1e17d41618ecd5d34c7 +MD5 (sge-5.3.5.20040224.tar.bz2) = 625d9895301767af151f989d89671add +SIZE (sge-5.3.5.20040224.tar.bz2) = 7398194 Index: pkg-plist =================================================================== RCS file: /mirrors/cvs/FreeBSD/ports/sysutils/sge/pkg-plist,v retrieving revision 1.1 diff -u -p -r1.1 pkg-plist --- pkg-plist 1 Feb 2004 06:40:53 -0000 1.1 +++ pkg-plist 25 Feb 2004 18:32:37 -0000 @@ -279,6 +279,7 @@ %%SGE_BASE%%/utilbin/%%SGE_ARCH%%/infotext %%SGE_BASE%%/utilbin/%%SGE_ARCH%%/loadcheck %%SGE_BASE%%/utilbin/%%SGE_ARCH%%/now +%%SGE_BASE%%/utilbin/%%SGE_ARCH%%/openssl %%SGE_BASE%%/utilbin/%%SGE_ARCH%%/qrsh_starter %%SGE_BASE%%/utilbin/%%SGE_ARCH%%/rlogin %%SGE_BASE%%/utilbin/%%SGE_ARCH%%/rsh @@ -514,4 +515,4 @@ @dirrm %%PORTDOCS%%%%DOCSDIR%%/testsuite/adoc @dirrm %%PORTDOCS%%%%DOCSDIR%%/testsuite @dirrm %%PORTDOCS%%%%DOCSDIR%% -@unexec rmdir %%PREFIX%%/%%SGE_BASE%%/ 2>/dev/null || ( echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %D/%%SGE_BASE%% and its contents manually.") +@unexec rmdir %D/%%SGE_BASE%%/ 2>/dev/null || ( echo "Configuration information saved. If you will *NOT* use this package anymore," && echo "please remove %D/%%SGE_BASE%% and its contents manually.") Index: files/patch-scripts_distinst.site =================================================================== RCS file: /mirrors/cvs/FreeBSD/ports/sysutils/sge/files/patch-scripts_distinst.site,v retrieving revision 1.1 diff -u -p -r1.1 patch-scripts_distinst.site --- files/patch-scripts_distinst.site 1 Feb 2004 06:40:53 -0000 1.1 +++ files/patch-scripts_distinst.site 25 Feb 2004 18:25:41 -0000 @@ -1,47 +1,11 @@ $FreeBSD: ports/sysutils/sge/files/patch-scripts_distinst.site,v 1.1 2004/02/01 06:40:53 maho Exp $ ---- scripts/distinst.site.orig Tue Jan 20 16:28:32 2004 -+++ scripts/distinst.site Tue Jan 20 16:52:32 2004 -@@ -30,6 +30,41 @@ - ########################################################################## - #___INFO__MARK_END__ - -+# Base directory where the openssl binary and libraries resides -+OPENSSLBASE=/usr -+BERKELEYDBBASE=/vol2/SW/db-4.2.52 -+#___INFO__MARK_BEGIN__ -+########################################################################## -+# -+# The Contents of this file are made available subject to the terms of -+# the Sun Industry Standards Source License Version 1.2 -+# -+# Sun Microsystems Inc., March, 2001 -+# -+# -+# Sun Industry Standards Source License Version 1.2 -+# ================================================= -+# The contents of this file are subject to the Sun Industry Standards -+# Source License Version 1.2 (the "License"); You may not use this file -+# except in compliance with the License. You may obtain a copy of the -+# License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html -+# -+# Software provided under this License is provided on an "AS IS" basis, -+# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, -+# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, -+# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. -+# See the License for the specific provisions governing your rights and -+# obligations concerning the Software. -+# -+# The Initial Developer of the Original Code is: Sun Microsystems, Inc. -+# -+# Copyright: 2001 by Sun Microsystems, Inc. -+# -+# All Rights Reserved. -+# -+########################################################################## -+#___INFO__MARK_END__ -+ - # Base directory where a distribution is installed with "distinst" +--- scripts/distinst.site.orig Wed Oct 22 03:29:29 2003 ++++ scripts/distinst.site Tue Feb 24 22:02:32 2004 +@@ -34,4 +34,4 @@ BASEDIR=/dist/OS-SGEDIST + # Base directory where the openssl binary resides +-OPENSSL_HOME=/vol2/tools/SW/openssl-0.9.7c-static ++OPENSSL_HOME=/usr >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402251856.i1PIujlP039849>