diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2007-02-05 17:33:22 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2007-02-05 17:33:22 +0000 |
commit | 4efce3486b7761797bd629e52b1e4b89bad1e18a (patch) | |
tree | 69c5f9cc525dd9763000fac17a524f4a74ad01c6 /sysutils/sge61 | |
parent | Update checksum as well. Oops. (diff) |
Upgrade to SGE 6.0 update 10. Changes can be viewed at:
http://gridengine.sunsource.net/project/gridengine/60patches.txt
Notes
Notes:
svn path=/head/; revision=184287
Diffstat (limited to 'sysutils/sge61')
-rw-r--r-- | sysutils/sge61/Makefile | 11 | ||||
-rw-r--r-- | sysutils/sge61/Makefile.man | 5 | ||||
-rw-r--r-- | sysutils/sge61/distinfo | 6 | ||||
-rw-r--r-- | sysutils/sge61/files/aimk.private | 1 | ||||
-rw-r--r-- | sysutils/sge61/files/patch-aimk | 32 | ||||
-rw-r--r-- | sysutils/sge61/files/patch-common_basis__types.h | 18 | ||||
-rw-r--r-- | sysutils/sge61/files/patch-scripts_distinst | 36 | ||||
-rw-r--r-- | sysutils/sge61/files/sge-freebsd-pdc.diff | 8 | ||||
-rw-r--r-- | sysutils/sge61/pkg-plist | 6 |
9 files changed, 55 insertions, 68 deletions
diff --git a/sysutils/sge61/Makefile b/sysutils/sge61/Makefile index d7fa1edc29f6..4c7b4899a30d 100644 --- a/sysutils/sge61/Makefile +++ b/sysutils/sge61/Makefile @@ -8,10 +8,10 @@ PORTNAME= sge PORTVERSION= ${SGE_VERSION} CATEGORIES= sysutils parallel -MASTER_SITES= http://gridengine.sunsource.net/files/documents/7/78/ +MASTER_SITES= http://gridengine.sunsource.net/files/documents/7/122/ MASTER_SITES+= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brooks -DISTNAME= sge-V60u8_TAG-src +DISTNAME= sge-V60u10_TAG-src MAINTAINER= brooks@FreeBSD.org COMMENT= Sun Grid Engine, a batch queueing system @@ -51,8 +51,8 @@ FETCH_CMD= wget -c SGE_BASE?= sge SGE_ROOT= ${TARGETDIR}/${SGE_BASE} SGE_ARCH= fbsd-${ARCH} -SGE_VERSION= 6.0.8 -SGE_RELEASE= 6.0u8 +SGE_VERSION= 6.0.10 +SGE_RELEASE= 6.0u10 PLIST_SUB+= SGE_ARCH=${SGE_ARCH} PLIST_SUB+= SGE_BASE=${SGE_BASE} @@ -163,7 +163,8 @@ post-patch: @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ ${REINPLACE_CMD} "s|-g -O2|${CFLAGS}|" @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ - -e 's|%%OPENSSLBASE%%|${OPENSSLBASE}|g' < \ + -e 's|%%OPENSSLBASE%%|${OPENSSLBASE}|g' \ + -e 's|%%X11BASE%%|${X11BASE}|g' \ ${FILESDIR}/aimk.private > ${WRKSRC}/aimk.private @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|%%OPENSSLBASE%%|${OPENSSLBASE}|g' < \ diff --git a/sysutils/sge61/Makefile.man b/sysutils/sge61/Makefile.man index 0cd09afcb66f..a529e70febde 100644 --- a/sysutils/sge61/Makefile.man +++ b/sysutils/sge61/Makefile.man @@ -23,6 +23,10 @@ MLINKS+=drmaa_misc.3 drmaa_get_contact.3 MLINKS+=drmaa_attributes.3 drmaa_get_next_attr_name.3 MLINKS+=drmaa_jobtemplate.3 drmaa_get_next_attr_value.3 MLINKS+=drmaa_submit.3 drmaa_get_next_job_id.3 +MLINKS+=drmaa_attributes.3 drmaa_get_num_attr_names.3 +MLINKS+=drmaa_session.3 drmaa_init.3 +MLINKS+=drmaa_jobtemplate.3 drmaa_get_num_attr_values.3 +MLINKS+=drmaa_submit.3 drmaa_get_num_job_ids.3 MLINKS+=drmaa_jobtemplate.3 drmaa_get_vector_attribute.3 MLINKS+=drmaa_session.3 drmaa_init.3 MLINKS+=drmaa_attributes.3 drmaa_get_vector_attribute_names.3 @@ -93,6 +97,7 @@ MAN5+=sgepasswd.5 MAN5+=share_tree.5 MAN5+=user.5 MAN5+=access_list.5 +MAN8+=SGE_Helper_Service.exe.8 MAN8+=sge_execd.8 MAN8+=sge_qmaster.8 MAN8+=sge_schedd.8 diff --git a/sysutils/sge61/distinfo b/sysutils/sge61/distinfo index f28368c70d1e..3f3e41273e33 100644 --- a/sysutils/sge61/distinfo +++ b/sysutils/sge61/distinfo @@ -1,3 +1,3 @@ -MD5 (sge-V60u8_TAG-src.tar.gz) = a4b5d7ec5975f1f96dcbe28934ae078c -SHA256 (sge-V60u8_TAG-src.tar.gz) = 5e907238b3fb05bfc256bf119287289ef944e742e4aef12486790c0383c36794 -SIZE (sge-V60u8_TAG-src.tar.gz) = 10593210 +MD5 (sge-V60u10_TAG-src.tar.gz) = 52297caf69806d4f0884762fdb02cfc7 +SHA256 (sge-V60u10_TAG-src.tar.gz) = 80d2fa7eba5e048bc72013a0eba39f90e4d6965be55e4273eba2bc4467dd5e58 +SIZE (sge-V60u10_TAG-src.tar.gz) = 7501686 diff --git a/sysutils/sge61/files/aimk.private b/sysutils/sge61/files/aimk.private index ed153420e88b..7257c0d00c4c 100644 --- a/sysutils/sge61/files/aimk.private +++ b/sysutils/sge61/files/aimk.private @@ -3,3 +3,4 @@ set OPENSSL_HOME = %%OPENSSLBASE%% set BERKELEYDB_HOME = %%LOCALBASE%% set BDB_INCLUDE_SUBDIR = db42 set BDB_LIB_SUFFIX = -4.2 +set X11BASE = %%X11BASE%% diff --git a/sysutils/sge61/files/patch-aimk b/sysutils/sge61/files/patch-aimk index dbb6393730ee..5fad14fbc275 100644 --- a/sysutils/sge61/files/patch-aimk +++ b/sysutils/sge61/files/patch-aimk @@ -3,7 +3,7 @@ $FreeBSD$ --- aimk.orig +++ aimk -@@ -397,7 +397,7 @@ +@@ -210,7 +210,7 @@ if ( $?SGE_INPUT_CFLAGS ) then set INP_CFLAGS = "$SGE_INPUT_CFLAGS" else @@ -12,39 +12,31 @@ $FreeBSD$ endif # Default build targets for which we have seperate make files -@@ -1177,27 +1177,27 @@ - set MAKE = gmake - set OFLAG = "-O" - set ARFLAGS = rcv +@@ -1003,12 +1003,12 @@ + set OFLAG = "-O" + endif + set ARFLAGS = rcv - set CC = gcc - set CXX = g++ + set CC = %%CC%% + set CXX = %%CXX%% - set DLLIB = "" + set DLLIB = "" set DEPEND_FLAGS = "$CFLAGS $XMTINCD" set PTHRDSFLAGS = "-D_REENTRANT -D__USE_REENTRANT" - set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include" -+ set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I%%X11BASE%%/include" ++ set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I${X11BASE}/include" set NOERR_CFLAG = "-Wno-error" -- set LFLAGS = "$DEBUG_FLAG $LFLAGS" -+ set LFLAGS = "-export-dynamic $DEBUG_FLAG $LFLAGS" + set LFLAGS = "$DEBUG_FLAG $LFLAGS -export-dynamic" set LIBS = "$LIBS -lkvm" - set SHAREDLD = $CC - set SHARED_CFLAGS = "-fPIC" -- set SHARED_LFLAGS = "$SHARED_LFLAGS -L. -shared" -+ set SHARED_LFLAGS = "-export-dynamic $SHARED_LFLAGS -L. -shared" +@@ -1017,9 +1017,9 @@ + set SHARED_LFLAGS = "$SHARED_LFLAGS -L. -shared -export-dynamic" set XMTDEF = "" - set XINCD = "$XMTINCD $XINCD -I/usr/X11/include" -+ set XINCD = "$XMTINCD $XINCD -I%%X11BASE%%/include" ++ set XINCD = "$XMTINCD $XINCD -I${X11BASE}/include" set XCFLAGS = "-Wno-strict-prototypes -Wno-error $XMTDEF $XINCD" - set XLIBD = "-L/usr/X11R6/lib" -+ set XLIBD = "-L%%X11BASE%%/lib" ++ set XLIBD = "-L${X11BASE}/lib" set XLFLAGS = "$XLIBD" set XLIBS = " -Xlinker -lXm -Xlinker -Bdynamic -lXpm -lXt -lXext -lX11 -lSM -lICE -lXp" set RM = "rm -f" -- set JAVA_ARCH = "" -+ set JAVA_ARCH = "freebsd" - breaksw - - case NETBSD_*: diff --git a/sysutils/sge61/files/patch-common_basis__types.h b/sysutils/sge61/files/patch-common_basis__types.h deleted file mode 100644 index 84515b99c65d..000000000000 --- a/sysutils/sge61/files/patch-common_basis__types.h +++ /dev/null @@ -1,18 +0,0 @@ - -$FreeBSD$ - ---- common/basis_types.h.orig -+++ common/basis_types.h -@@ -251,12 +251,10 @@ - else \ - variable = pthread_getspecific(key) - --#if !defined(FREEBSD) - #define HAS_GETPWNAM_R - #define HAS_GETGRNAM_R - #define HAS_GETPWUID_R - #define HAS_GETGRGID_R --#endif - - #define HAS_LOCALTIME_R - #define HAS_CTIME_R diff --git a/sysutils/sge61/files/patch-scripts_distinst b/sysutils/sge61/files/patch-scripts_distinst index 45f59ab1fd46..27b5dd297f6f 100644 --- a/sysutils/sge61/files/patch-scripts_distinst +++ b/sysutils/sge61/files/patch-scripts_distinst @@ -12,7 +12,7 @@ $FreeBSD$ install_execd install_qmaster lib man mpi pvm qmon util utilbin" HASARCHDIR="bin lib examples/jobsbin utilbin" -@@ -730,17 +730,6 @@ +@@ -735,17 +735,6 @@ echo " Installing:" $PROG echo " Architectures:" $ARCH echo "Base directory:" $DEST_SGE_ROOT @@ -30,7 +30,7 @@ $FreeBSD$ echo -@@ -799,6 +788,9 @@ +@@ -807,6 +796,9 @@ instmpi=true instcommon=true ;; @@ -40,7 +40,7 @@ $FreeBSD$ qmontree) instqmon=true instcommon=true -@@ -1006,19 +998,6 @@ +@@ -1014,19 +1006,6 @@ Execute chmod 755 $DEST_SGE_ROOT/$MYRINETBASE/$f done @@ -60,16 +60,16 @@ $FreeBSD$ Cleanup mpi fi -@@ -1148,7 +1127,7 @@ +@@ -1174,7 +1153,7 @@ for prog in $PROG; do case $prog in -- jobs|ckpt|doc|inst_sge|utiltree|examples|man|mpi|pvm|qmontree|common|distcommon|utilbin) -+ jobs|ckpt|doc|inst_sge|utiltree|examples|man|mpi|pvm|noqmon|qmontree|common|distcommon|utilbin) +- jobs|ckpt|doc|inst_sge|utiltree|examples|man|mpi|pvm|qmontree|common|distcommon|utilbin|arco) ++ jobs|ckpt|doc|inst_sge|utiltree|examples|man|mpi|noqmon|pvm|qmontree|common|distcommon|utilbin|arco) : ;; qmake) -@@ -1246,6 +1225,8 @@ +@@ -1272,6 +1251,8 @@ InstallProg $BERKELEYDBBASE/$DSTARCH/bin/$prog elif [ -f $BERKELEYDBBASE/bin/$prog ]; then InstallProg $BERKELEYDBBASE/bin/$prog @@ -78,24 +78,24 @@ $FreeBSD$ fi fi elif [ $prog = spoolinit -o $prog = spooldefaults ]; then -@@ -1356,13 +1337,15 @@ +@@ -1386,13 +1367,15 @@ libname="$OPENSSLBASE/$DSTARCH/lib/$lib.$shlibext" - elif [ $DSTARCH = darwin ]; then - libname="$OPENSSLBASE/$DSTARCH/lib/$lib.0.9.7.$shlibext" -+ elif [ ${DSTARCH%%-*} = fbsd ]; then -+ libname="$OPENSSLBASE/lib/$lib.$shlibext" + elif [ $DSTARCH = darwin -o $DSTARCH = darwin-x86 ]; then + libname="$OPENSSLBASE/$DSTARCH/lib/libssl.bundle" ++ elif [ ${DSTARCH%%-*} = fbsd ]; then ++ libname="$OPENSSLBASE/lib/$lib.$shlibext" else libname="$OPENSSLBASE/$DSTARCH/lib/$lib.$shlibext.0.9.7" fi if [ -f $libname ]; then InstallProg $libname -- if [ $DSTARCH = tru64 ]; then -+ if [ $DSTARCH = tru64 -o ${DSTARCH%%-*} = fbsd ]; then +- if [ $DSTARCH = tru64 -o $DSTARCH = darwin -o $DSTARCH = darwin-x86 ]; then ++ if [ $DSTARCH = tru64 -o $DSTARCH = darwin -o $DSTARCH = darwin-x86 -o ${DSTARCH%%-*} = fbsd ]; then : - elif [ $DSTARCH = darwin ]; then - (cd $DEST_SGE_ROOT/${UTILPREFIX}/$DSTARCH; \ -@@ -1383,7 +1366,11 @@ + else + (cd $DEST_SGE_ROOT/${UTILPREFIX}/$DSTARCH; ln -s $lib.${shlibext}.0.9.7 $lib.$shlibext) +@@ -1407,7 +1390,11 @@ if [ $DSTARCH != win32-x86 ]; then if [ $instbdb = true ]; then for lib in $BERKELEYDB_SHARED_LIBRARIES; do @@ -107,4 +107,4 @@ $FreeBSD$ + fi if [ -f $libname ]; then InstallProg $libname - elif [ $exit_on_error = true ]; then + else diff --git a/sysutils/sge61/files/sge-freebsd-pdc.diff b/sysutils/sge61/files/sge-freebsd-pdc.diff index 621cee7e6e2e..0c8c7683b5c3 100644 --- a/sysutils/sge61/files/sge-freebsd-pdc.diff +++ b/sysutils/sge61/files/sge-freebsd-pdc.diff @@ -339,9 +339,9 @@ if (getuid() == 0) { if (setpriority(PRIO_PROCESS, getpid(), PTF_MAX_PRIORITY) < 0) { ERROR((SGE_EVENT, MSG_PRIO_SETPRIOFAILED_S, strerror(errno))); ---- daemons/shepherd/shepherd.c.orig Thu Dec 1 05:49:28 2005 -+++ daemons/shepherd/shepherd.c Thu Apr 13 22:00:01 2006 -@@ -2411,9 +2411,9 @@ +--- daemons/shepherd/shepherd.c.orig Mon Jan 1 05:44:56 2007 ++++ daemons/shepherd/shepherd.c Mon Feb 5 10:07:37 2007 +@@ -2478,9 +2478,9 @@ kill(pid, sig); sge_switch2admin_user(); @@ -350,9 +350,9 @@ if (first_kill == 0 || sig != SIGKILL || is_qrsh == false) { -# if defined(SOLARIS) || defined(LINUX) || defined(ALPHA) +# if defined(SOLARIS) || defined(LINUX) || defined(ALPHA) || defined(FREEBSD) + # ifdef COMPILE_DC if (atoi(get_conf_val("enable_addgrp_kill")) == 1) { gid_t add_grp_id; - char *cp = search_conf_val("add_grp_id"); --- libs/uti/sge_uidgid.c.orig Wed Nov 23 03:04:09 2005 +++ libs/uti/sge_uidgid.c Thu Apr 13 22:00:01 2006 @@ -850,7 +850,7 @@ diff --git a/sysutils/sge61/pkg-plist b/sysutils/sge61/pkg-plist index 07bf2c589b71..ad8e89ecf86e 100644 --- a/sysutils/sge61/pkg-plist +++ b/sysutils/sge61/pkg-plist @@ -69,6 +69,9 @@ %%SGE_BASE%%/catman/cat/cat3/drmaa_get_next_attr_name.3 %%SGE_BASE%%/catman/cat/cat3/drmaa_get_next_attr_value.3 %%SGE_BASE%%/catman/cat/cat3/drmaa_get_next_job_id.3 +%%SGE_BASE%%/catman/cat/cat3/drmaa_get_num_attr_names.3 +%%SGE_BASE%%/catman/cat/cat3/drmaa_get_num_attr_values.3 +%%SGE_BASE%%/catman/cat/cat3/drmaa_get_num_job_ids.3 %%SGE_BASE%%/catman/cat/cat3/drmaa_get_vector_attribute.3 %%SGE_BASE%%/catman/cat/cat3/drmaa_get_vector_attribute_names.3 %%SGE_BASE%%/catman/cat/cat3/drmaa_init.3 @@ -119,6 +122,7 @@ %%SGE_BASE%%/catman/cat/cat5/share_tree.5 %%SGE_BASE%%/catman/cat/cat5/user.5 %%SGE_BASE%%/catman/cat/cat5/usermapping.5 +%%SGE_BASE%%/catman/cat/cat8/SGE_Helper_Service.exe.8 %%SGE_BASE%%/catman/cat/cat8/sge_execd.8 %%SGE_BASE%%/catman/cat/cat8/sge_qmaster.8 %%SGE_BASE%%/catman/cat/cat8/sge_schedd.8 @@ -170,6 +174,8 @@ %%SGE_BASE%%/lib/%%SGE_ARCH%%/libcrypto.so %%BDB_SPOOL%%%%SGE_BASE%%/lib/%%SGE_ARCH%%/libdb-4.2.so %%SGE_BASE%%/lib/%%SGE_ARCH%%/libdrmaa.so +%%SGE_BASE%%/lib/%%SGE_ARCH%%/libdrmaa.so.0.95 +%%SGE_BASE%%/lib/%%SGE_ARCH%%/libdrmaa.so.1.0 %%BDB_SPOOL%%%%SGE_BASE%%/lib/%%SGE_ARCH%%/libspoolb.so %%BDB_SPOOL%%%%SGE_BASE%%/lib/%%SGE_ARCH%%/libspoolc.so %%SGE_BASE%%/lib/%%SGE_ARCH%%/libssl.so |