diff options
author | ahoka <ahoka> | 2008-09-15 16:30:57 +0000 |
---|---|---|
committer | ahoka <ahoka> | 2008-09-15 16:30:57 +0000 |
commit | 39275f30b8f2568182c56ffd7ae98bfa2486a25f (patch) | |
tree | 1e36b325dd3b1e71f45fe75171b0a8aea9eb2768 /parallel/sge | |
parent | 5dfde3d22d44ddc08876c4f60e65e3cd9537e024 (diff) | |
download | pkgsrc-39275f30b8f2568182c56ffd7ae98bfa2486a25f.tar.gz |
Bugs fixed in SGE 6.1u3 since release 6.1u2
-------------------------------------------
Issue Sun BugId Description
-------- --------- ------------------------------------------------------------------------------------------
376 4743006 problem with floating point job resource limits
1909 6353628 information provided by qstat -j and qstat -j -xml are not equivalent
2076 6440408 qstat -j messages disagree between plain, XML output
2077 6440412 qstat -j -xml messages incomplete
2138 6506667 forbid deletion of global config values
2194 6527836 authuser binary returns unusable error message!
2249 6568575 SGE does not work if primary group entry is too big in groups map
2270 6575720 ENABLE_ADDGRP_KILL is missing from sge_conf(5)
2272 6575727 sge_shadowd(8) man page is missing some env vars
2274 6564461 Duplicate scheduling info messages for reservation jobs
2276 6575731 share_tree(5) doesn't explain type field
2283 6565821 Oracle, Postgres DWB should prompt for tablespace where indexes and tables should be created
2293 6569088 Resource reservation broken for sequential jobs depending on RQS specified for subset of queues only
2303 6571749 parallel resource reservation broken when non-queue instance based quotas limits apply
2323 6576153 Creating a userset with NONE as a type results in a core dump
2327 6578213 qconf -(A,D,M,R)attr dumps core when the supplied file is empty
2328 6579232 high scheduler dispatching time with many sequential resource reservation jobs and resource quotas
2336 6287501 rctemplates lack of requirement
2338 6585721 Parallel RR broken if jobs wait for queue slots and no RQS configured
2342 6590010 Original primary group vanishes after newgrp command (USE_QSUB_GID=true)
2344 6590079 Resource reservation broken with sequences of identical jobs differing only in their -R y|n
2346 6604155 qmon binary job submit is broken
2351 6597463 qsub -t 1-N:N creates a normal job with one task
2352 6594665 Installation fails on Linux with glibc 2.6
2353 6597423 commit method of UnixLoginModule does not report RuntimeExceptions
2356 6600619 Userset spooling in classic mode is broken
2367 6597547 qdel does not recognize wc_job_range_list as it is defined
2369 6577034 Several qconf options display only single message when a list of messages should be printed
2372 6469494 clients should issue a more explicit error message when qmaster is busy
2374 6589459 Expose the availability of keyword "none" in the manual page of calendar_conf
2382 6569862 Unset old_value out of the scope
2383 6553062 qconf -mc accepts erroneous resource entries without an urgency; qmon gives (poor) error message
2387 6614041 Multiple occurrence of a name in RQS limit definition break classic spooling
2392 6614108 Specifying more than one drmaa_v_env attribute causes spurious error msg
2394 6608259 scheduler prints empty line in messages file after every 'sge_mirror' logging
2396 6608236 scheduling of parallel jobs does not respect consumables, if consumable is referenced in rqs
2400 6564543 sge_shepherd should exit if it cannot write to any of its essential files
2401 6617450 add option to reporting_params for switching off writing of consumables
2404 6618328 qmon displays wrong string for queue filtering
2406 6596931 Incorrect messages in qconf command
2407 6618619 the restore feature does not delete old configuration before restoring
2409 6619016 removing parameters from the reporting_params will not fallback to the default
2410 6619657 qmod -e|-d '*' times out in large clusters
2411 6619662 qhost becomes sluggish in large clusters
2414 6618599 Long running jobs cause incorrect usage summary for ARCo database
2415 6620930 ARCO view_accounting filters out parallel job usage incorrectly
2416 6621482 ju_exit_status should provide means to recognize the intermediate record
2417 6622842 the start_time field in intermediate accounting records is incorrect
2418 6588743 qrsh fails with "connection refused" error message
2419 6391244 qstat -ext reports wrong usage as compared to other commands such as qstat -t or qstat -j
2424 6620253 During the installation the admin user should create web.xml file
2428 6630268 upgrade from 6.0u2 and higher to 6.1u2 and higher does not work
2435 6599335 inst_sge help output for -upd switch is incorrect
Bugs fixed in SGE 6.1u2 since release 6.1u1
-------------------------------------------
Issue Sun BugId Description
-------- --------- ------------------------------------------------------------------------------------------
- 6590960 Man pages show the wrong version number
2345 6590574 resource quota can prevent dispatching of jobs that requests no resource in this quota
2343 6589807 newline missing from "illegal debug level format" message
2338 6585721 Parallel RR broken if jobs wait for queue slots and no RQS configured
2334 6584632 user/system/operator hold state combinations cause strange qstat output
Bugs fixed in SGE 6.1u1 since release 6.1
-----------------------------------------
Issue Sun BugId Description
-------- --------- ------------------------------------------------------------------------------------------
2323 6576153 Creating a userset with NONE as a type results in a core dump
2317 6574565 Oralce, Postgres FOREIGN KEY fields need to be indexed
- 6573980 'qconf -help' suggests usage of patterns in user_list which is not true
2316 6573508 qrsh with ssh causes job to go in error state when Ctrl-C is pressed
2308 6572803 qhost -xml lacks '>' with initial qhost tag
2309 6572801 sge_queue_values definition does not contain PRIMARY KEY
2321 6571714 Inadequate error message when qconf -sstree is run when no share tree is configuredIf no share tree
2241 6568712 util/arch has problem recognizing libc version number with comma
2292 6568578 6.1 upgrade procedure shall exit when there are jobs in the cluster
2249 6568575 SGE does not work if primary group entry is too big in groups map
2284 6565841 Oracle: rollback segments keep filling up, Postgres: delete query keeps running
2306 6564592 SGE 6.1 upgrade procedure is broken when using the classic qmaster spooling
2275 6564503 sge_schedd deadlock upon schedd_job_info job_list being enabled
2250 6558006 qmaster may crash with projects or usersets used in RQS
2243 6555744 qmon crashes when displaying about dialog
2248 6554313 add -u <user> to scheduler category only if there is a resource quota for the user
2238 6551568 need faster resource quota matchmaking and more concise job info messages
- 6550718 qstat -j lacks resource quota info messages in case of "incomplete" resource quotas
2296 6548455 csp mode installation, using /etc/services, qmaster is not starting!
2232 6546807 qhost -j -xml does not work
2325 6542987 drmaa_run_job(3) raises error if drmaa_native_specification has leading spaces
2239 6542137 use of hostgroups in resource quotas is less performant than the full list of hosts
- 6541085 NFS write error on N1GE trace file
2300 6539199 qquota(1) filtering broken for project and pe if -P/-pe switch is not used
2299 6536039 sgeremoterun not working
2201 6529974 Use of MORE fails on some architectures
- 6528949 inst_sge -ux uninstallation of exechost tries to delete local spooldir, even it isn't configured!
2191 6525883 qstat -s hX filtering is broken on darwin
2189 6525375 qacct ignores jobs in output
2320 6513115 in qmon, under calendar configuration, it is possible to modify even if no calendar exists
2326 6506661 sge_conf(5), description for rlogin_daemon and qlogin_daemon is wrong
2307 6433628 qconf -sq all.q@myhost produces no value at all for complex_values (not even NONE)
2289 6565951 Qmon panel does not check for valid data in Scheduler Configuration
2314 6513116 Qmon x qconf inconsistent in allowed characters in attribute names
- 6195248 QMON Job Control Window: Incomprehensible Priority Button
2313 6410592 Double clicking in Consumables/Fixed Attributes list does not behave as a GUI should
2312 6482211 complex attributes whose deletion is denied donot reflect back after the denial message in qmon
2301 6551121 Memory leak in libdrmaa.so
916 6355875 qsub -terse to just output job id
- 6522273 Wrong exit code with qconf -sds
2266 6563346 Wrong usage of 'day' format model in trunc(date) Oracle functions
2187 6562190 memory leak in sge_schedd
2265 6280747 qmon loses sharetree changes
747 6291044 "Modify"-Button is activated but should be grayed
2263 6553066 qmon's Complex Configuration Load and Save buttons did not work
2262 4742097 Qmon has a ticket number limitation
1729 4818801 qmon on secondary screen crashes when "Job Control" is pressed
2261 6538740 clear usage operation should implicitely trigger refresh in share-tree dialogue
2260 6327539 Ability to sort queue instances using each column of the queue instances table
2229 6544869 UNKNOWN group/owner in accouting(5)
2247 6556411 DBW queries "Average Job Turnaround Time", "Average Job Wait Time" might not work
- 6481737 Arco should support webconsole 3.0.x
- 6559385 Calling JGDI getQueueInstanceSummary results in a memory leak
1813 6328064 Queue request -q from sge_request can't be overridden through command line
- 6355674 arcorun can not be used as sge_admin user if the toc file is not available
2164 6514085 Need a possibility to update existing example queries for the ARCo web application
- 6426331 remove util/sge_log_tee from distribution
- 6476263 function job_get_id_string() is not MT save and used in qmaster
2219 6536426 inst_sge -m fails for non-root when USER variable is not set
1860 6345522 qdel on a job in deleted state does not output any information
2258 5081743 queue status in reporting file is missing.
2050 6422335 still used usersets/project/calendar/pe/checkpoint can be removed under certain conditions
Bugs fixed in SGE 6.1 since release 6.1_beta
--------------------------------------------
Issue Sun BugId Description
-------- --------- ------------------------------------------------------------------------------------------
1941 5086007 qstat -qs doesn't work
2183 6499217 meaningless error in clients when reporting_param flush_time is incorrectly set
- 6525497 JGDI crashes JVM when null is passed to JNI GetStringUTFChars function
2220 6440226 add installation of SGE_Helper_Service to auto installation
2221 6521802 the binary check in inst_sge is wrong!
- 6537633 Extraneous space in qsub's "Invalid month specification." message
2222 6538293 Hybrid user/project share-tree is broken for user sharing amongst array jobs
2180 6518684 Qconf usage x man page inconsistency
2181 6518689 Project man page contains different attribute names.
2171 6516288 Scheduler does not write pid file in daemonize phase
2178 6518607 invalid memory access in cl_com_get_handle
- 6520761 add background mode to N1 Grid Engine Helper Service
- 6233523 loadcheck reports on a hyperthreaded CPU only one processor
- 6276612 provide support for Itanium platform
752 6288953 scalability issue with qdel and very large array jobs
751 6291047 qconf -sstnode cannot find root
- 6303750 Install guide ambiguous on role of CSP
1930 6329378 incorrect qsub error message, if an invalid integer value is passed to the -l option
1858 6344960 qtcsh behaves differently in direct mode from qrshmode
1933 6349037 "qstat -explain E" displays explanation of the same error two times.
1940 6362523 qstat -q filter does compare hosts in queue instances
- 6363245 on some Windows execution hosts, execd hangs after the job has finished
1978 6383256 no newline at end of sge_shepherd's exit_status messages
- 6395078 wrong entry in sgepasswd file wrongly sets whole host in error state
2012 6402127 qconf -suserl reports incorrect status if no users are defined
- 6403152 qconf -as returns error code 0 even in case of unresolvable host
2015 6403810 JavaDocs for DRMAA need improvement
- 6428621 add a reserved complex value to control displaying Windows GUIs
- 6453426 Event clients will not get list updates, when they change their subscription after the registration
- 6461308 Wrong path to spooled parallel jobs with using classic spooling
2130 6501447 No online usage for MacOS X
2141 6506701 sge_shepherd dumps core on linux amd64 for qrsh jobs with very long cmdline (> 10k)
2233 6528950 modifying a RQS with invalid syntax results in its deletion
- 6533952 Admins guide does not mention that parallel environments must be linked with queues
- 6535768 Upgrade chapter 5 in 6.1 install guide must mention abolition of LD_LIBRARY_PATH for Solaris/Linux
- 6535775 Upgrade chapter in 6.1 Install Guide wrongly indicates upgrade from 5.3 were possible
- 6537476 6.1 install guide broken and incomplete wrts MySQL installation for ARCO
- 6537607 6.1 Admins guide needs improvement on the linking between queues and parallel environments
- 6539215 quota verification time may not grow with the number of queues
2224 6539792 resource quotas broken after qmaster restart
- 6542483 Important changes with Resource Quota chapter in 6.1 admins guide
- 6545277 sge_statistic tables are not documented
2230 6546370 Pivot for ARCo Accounting Queries does not show all the fields
2231 6546802 qstat -F -xml does not show resources
Bugs fixed in SGE 6.1_beta since release 6.1_preview2
-----------------------------------------------------
Issue Sun BugId Description
-------- --------- ------------------------------------------------------------------------------------------
- 6267190 Typo before "About the urgent priority" in Admin Guide
1445 6291021 64 bit solaris BDB rpc server broken
1703 6295319 Admin guide: refers to sge_host(5) instead of host_conf(5)
- 6344917 Error in Embedded Command Line Options example
- 6395075 on Windows, execd doesn't provide useful error messages when SSL keys broken
2188 6421113 CSP mode auto installation: certificates are not copied to submit hosts
- 6444526 Admin guide describes N1GE backup facility, but restore is not described
2196 6472614 Auto installation option failed to save the install log
2182 6513433 remote installation of execd's need enhancement, rework, cleanup
2139 6506690 dbwriter should not use autocommit mode
- 6520257 need to define continuation character behaviour with qconf file formats
- 6521285 describe useful characters for every parameter
2185 6522385 qmon crash in cluster configuration dialog when modifying a host
2192 6525917 qacct -l h=<hostname> dumps core on darwin and linux itanium
2198 6528808 sge_ca script fails on nfs no root access file systems
2202 6530335 qmaster aborts when a resource quota set is modified while jobs are running
2204 6531317 qstat -xml does not show pending/zombie jobs
2206 6531921 qstat -r -xml is not working
2207 6533754 resource quota are modified on qconf -mrqs, even if the editor is exited without saving
Bugs fixed in SGE 6.1_preview2 since release 6.1_preview1
---------------------------------------------------------
Issue Sun BugId Description
-------- --------- ------------------------------------------------------------------------------------------
- 5093930 ARCo should work with MySQL
- 5101053 Regular expressions should also be mentioned in qsub in addition to complex
- 5101735 Needs more boolean operators support for resource requests
56 6205203 Logical OR operator works only with complex attributes of type RESTRING
2135 6506115 Invalid qconf -mattr crashes qmaster
2150 6507572 qconf -Arqs added invalid RQS
2146 6510635 Default requests for complexes not honored by resource quotas
2161 6513944 qmaster core dump with usersets referenced in RQS
2162 6513967 unix groups are not considered by RQS
2166 6515122 add -wd working_dir in addition to -cwd option for submission
Diffstat (limited to 'parallel/sge')
-rw-r--r-- | parallel/sge/Makefile | 43 | ||||
-rw-r--r-- | parallel/sge/PLIST | 33 | ||||
-rw-r--r-- | parallel/sge/distinfo | 20 | ||||
-rw-r--r-- | parallel/sge/patches/patch-ah | 23 | ||||
-rw-r--r-- | parallel/sge/patches/patch-ai | 15 | ||||
-rw-r--r-- | parallel/sge/patches/patch-ak | 17 | ||||
-rw-r--r-- | parallel/sge/patches/patch-am | 24 | ||||
-rw-r--r-- | parallel/sge/patches/patch-bd | 38 | ||||
-rw-r--r-- | parallel/sge/patches/patch-bl | 33 | ||||
-rw-r--r-- | parallel/sge/patches/patch-bm | 73 |
10 files changed, 224 insertions, 95 deletions
diff --git a/parallel/sge/Makefile b/parallel/sge/Makefile index f23e485728b..ccb6b657859 100644 --- a/parallel/sge/Makefile +++ b/parallel/sge/Makefile @@ -1,11 +1,10 @@ -# $NetBSD: Makefile,v 1.31 2008/09/06 20:54:34 wiz Exp $ +# $NetBSD: Makefile,v 1.32 2008/09/15 16:30:57 ahoka Exp $ # -PKGNAME= sge-6.0.11 -DISTNAME= sge-V60u11_TAG-src -PKGREVISION= 3 +PKGNAME= sge-6.1.3 +DISTNAME= ge-V61u3_TAG-src CATEGORIES= parallel sysutils -MASTER_SITES= http://gridengine.sunsource.net/files/documents/7/142/ +MASTER_SITES= http://gridengine.sunsource.net/files/documents/7/161/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://gridengine.sunsource.net/ @@ -13,6 +12,8 @@ COMMENT= Sun Grid Engine distributed resource management system BUILD_DEPENDS+= {standalone-tcsh,tcsh}-[0-9]*:../../shells/tcsh +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_TOOLS+= gmake perl:run @@ -111,30 +112,32 @@ do-configure: .endfor do-build: - cd ${WRKSRC}/source && ${AIMK} -no-jni -only-depend + cd ${WRKSRC}/source && ${AIMK} -no-java -no-jni -only-depend cd ${WRKSRC}/source && ${SETENV} ${MAKE_ENV} ./scripts/zerodepend - cd ${WRKSRC}/source && ${AIMK} -no-jni -no-qmake -no-qtcsh depend - cd ${WRKSRC}/source && ${AIMK} -no-jni - cd ${WRKSRC}/source && ${AIMK} -no-jni -man + cd ${WRKSRC}/source && ${AIMK} -no-java -no-jni -no-qmake -no-qtcsh depend + cd ${WRKSRC}/source && ${AIMK} -no-java -no-jni + cd ${WRKSRC}/source && ${AIMK} -no-java -no-jni -man do-install: - ${MKDIR} ${SGE_ROOT} - ${CHOWN} ${SGE_USER} ${SGE_ROOT} - ${CHGRP} ${SGE_GROUP} ${SGE_ROOT} + ${MKDIR} ${DESTDIR}${SGE_ROOT} + #${CHOWN} ${SGE_USER} ${DESTDIR}${SGE_ROOT} + #${CHGRP} ${SGE_GROUP} ${DESTDIR}${SGE_ROOT} cd ${WRKSRC}/source && \ - ${ECHO} "Y" | ${SETENV} LOCALBASE=${LOCALBASE} SGE_ROOT=${SGE_ROOT} ./scripts/distinst -local -allall -nobdb -noopenssl ${SGE_ARCH} + ${ECHO} "Y" | ${SETENV} LOCALBASE=${LOCALBASE} DESTDIR=${DESTDIR} SGE_ROOT=${SGE_ROOT} ./scripts/distinst -local -allall -nobdb -noopenssl ${SGE_ARCH} for f in archive checkpoint deadlock dump load printlog recover stat upgrade verify ; do \ - ln -s ${LOCALBASE}/bin/db4_$${f} ${SGE_ROOT}/utilbin/${SGE_ARCH}/db_$${f} ; done - ln -s ${LOCALBASE}/bin/berkeley_db4_svc ${SGE_ROOT}/utilbin/${SGE_ARCH}/berkeley_db_svc - ln -s ${SSL_PREFIX}/bin/openssl ${SGE_ROOT}/utilbin/${SGE_ARCH}/openssl - cd ${SGE_ROOT} && ${SETENV} SGE_ROOT=${SGE_ROOT} ./util/setfileperm.sh -auto \ + ln -s ${DESTDIR}${LOCALBASE}/bin/db4_$${f} ${DESTDIR}${SGE_ROOT}/utilbin/${SGE_ARCH}/db_$${f} ; done + ln -s ${DESTDIR}${LOCALBASE}/bin/berkeley_db4_svc ${DESTDIR}${SGE_ROOT}/utilbin/${SGE_ARCH}/berkeley_db_svc + ln -s ${DESTDIR}${SSL_PREFIX}/bin/openssl ${DESTDIR}${SGE_ROOT}/utilbin/${SGE_ARCH}/openssl + cd ${DESTDIR}${SGE_ROOT} && ${SETENV} SGE_ROOT=${SGE_ROOT} DESTDIR=${DESTDIR} ./util/setfileperm.sh -auto \ ${SGE_ROOT} - for f in ${SGE_ROOT}/bin/${SGE_ARCH}/q* ; do \ - cd ${PREFIX}/bin && ln -fs $$f ; done + for f in ${DESTDIR}${SGE_ROOT}/bin/${SGE_ARCH}/q* ; do \ + cd ${DESTDIR}${PREFIX}/bin && ln -fs $$f ; done #% scripts/distinst -local" -.include "../../databases/db4/buildlink3.mk" +PLIST_SUBST+= SGE_ARCH=${SGE_ARCH} + +.include "../../databases/db4/buildlink3.mk" # 4.2 at least .include "../../x11/libXpm/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/motif.buildlink3.mk" diff --git a/parallel/sge/PLIST b/parallel/sge/PLIST index 26cafeef619..85691457987 100644 --- a/parallel/sge/PLIST +++ b/parallel/sge/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2007/08/15 02:03:06 markd Exp $ +@comment $NetBSD: PLIST,v 1.4 2008/09/15 16:30:57 ahoka Exp $ bin/qacct bin/qalter bin/qconf @@ -10,6 +10,7 @@ bin/qmake bin/qmod bin/qmon bin/qping +bin/qquota bin/qresub bin/qrls bin/qrsh @@ -19,7 +20,6 @@ bin/qstat bin/qsub bin/qtcsh sge/3rd_party/3rd_party_licscopyrights -sge/3rd_party/qmon/copyrights sge/3rd_party/qmon/ltree_changed.tar.gz sge/bin/${SGE_ARCH}/qacct sge/bin/${SGE_ARCH}/qalter @@ -32,6 +32,7 @@ sge/bin/${SGE_ARCH}/qmake sge/bin/${SGE_ARCH}/qmod sge/bin/${SGE_ARCH}/qmon sge/bin/${SGE_ARCH}/qping +sge/bin/${SGE_ARCH}/qquota sge/bin/${SGE_ARCH}/qresub sge/bin/${SGE_ARCH}/qrls sge/bin/${SGE_ARCH}/qrsh @@ -63,6 +64,7 @@ sge/catman/cat/cat1/qmake.1 sge/catman/cat/cat1/qmod.1 sge/catman/cat/cat1/qmon.1 sge/catman/cat/cat1/qping.1 +sge/catman/cat/cat1/qquota.1 sge/catman/cat/cat1/qresub.1 sge/catman/cat/cat1/qrls.1 sge/catman/cat/cat1/qrsh.1 @@ -138,6 +140,7 @@ sge/catman/cat/cat5/sge_pe.5 sge/catman/cat/cat5/sge_priority.5 sge/catman/cat/cat5/sge_qstat.5 sge/catman/cat/cat5/sge_request.5 +sge/catman/cat/cat5/sge_resource_quota.5 sge/catman/cat/cat5/sgepasswd.5 sge/catman/cat/cat5/share_tree.5 sge/catman/cat/cat5/user.5 @@ -166,15 +169,19 @@ sge/ckpt/sx6_ckpt_command sge/ckpt/sx6_clean_command sge/ckpt/sx6_migration_command sge/ckpt/sx6_restart_command -sge/doc/README-ARCo.txt sge/doc/README-Autoinstall.txt sge/doc/README-DRMAA.txt +sge/doc/README-Upgrade.txt sge/doc/arc_depend_irix.asc sge/doc/arc_depend_solaris.asc sge/doc/load_parameters.asc sge/doc/logfile-trimming.asc +sge/dtrace/README-dtrace.txt +sge/dtrace/monitor.d +sge/dtrace/monitor.sh sge/examples/drmaa/example.c sge/examples/drmaa/howto1.c +sge/examples/drmaa/howto1_1.c sge/examples/drmaa/howto2.c sge/examples/drmaa/howto2_1.c sge/examples/drmaa/howto3.c @@ -184,6 +191,7 @@ sge/examples/drmaa/howto4.c sge/examples/drmaa/howto5.c sge/examples/drmaa/howto6.c sge/examples/jobs/array_submitter.sh +sge/examples/jobs/hello.bat sge/examples/jobs/jobnet_submitter.sh sge/examples/jobs/pascal.sh sge/examples/jobs/pminiworm.sh @@ -191,6 +199,7 @@ sge/examples/jobs/simple.sh sge/examples/jobs/sleeper.sh sge/examples/jobs/step_A_array_submitter.sh sge/examples/jobs/step_B_array_submitter.sh +sge/examples/jobs/worker.exe sge/examples/jobs/worker.sh sge/examples/jobsbin/${SGE_ARCH}/work sge/include/drmaa.h @@ -201,6 +210,7 @@ sge/lib/${SGE_ARCH}/libXltree.so sge/lib/${SGE_ARCH}/libdrmaa.so sge/lib/${SGE_ARCH}/libdrmaa.so.0.95 sge/lib/${SGE_ARCH}/libdrmaa.so.1.0 +sge/lib/${SGE_ARCH}/libjuti.so sge/lib/${SGE_ARCH}/libspoolb.so sge/lib/${SGE_ARCH}/libspoolc.so sge/man/man1/gethostbyaddr.1 @@ -219,6 +229,7 @@ sge/man/man1/qmake.1 sge/man/man1/qmod.1 sge/man/man1/qmon.1 sge/man/man1/qping.1 +sge/man/man1/qquota.1 sge/man/man1/qresub.1 sge/man/man1/qrls.1 sge/man/man1/qrsh.1 @@ -294,6 +305,7 @@ sge/man/man5/sge_pe.5 sge/man/man5/sge_priority.5 sge/man/man5/sge_qstat.5 sge/man/man5/sge_request.5 +sge/man/man5/sge_resource_quota.5 sge/man/man5/sgepasswd.5 sge/man/man5/share_tree.5 sge/man/man5/user.5 @@ -357,6 +369,7 @@ sge/qmon/PIXMAPS/big/toolbar_job.xpm sge/qmon/PIXMAPS/big/toolbar_pe.xpm sge/qmon/PIXMAPS/big/toolbar_prj.xpm sge/qmon/PIXMAPS/big/toolbar_queue.xpm +sge/qmon/PIXMAPS/big/toolbar_rqs.xpm sge/qmon/PIXMAPS/big/toolbar_sched.xpm sge/qmon/PIXMAPS/big/toolbar_submit.xpm sge/qmon/PIXMAPS/big/toolbar_ticket.xpm @@ -438,6 +451,7 @@ sge/qmon/PIXMAPS/toolbar_job.xpm sge/qmon/PIXMAPS/toolbar_pe.xpm sge/qmon/PIXMAPS/toolbar_prj.xpm sge/qmon/PIXMAPS/toolbar_queue.xpm +sge/qmon/PIXMAPS/toolbar_rqs.xpm sge/qmon/PIXMAPS/toolbar_sched.xpm sge/qmon/PIXMAPS/toolbar_submit.xpm sge/qmon/PIXMAPS/toolbar_ticket.xpm @@ -463,6 +477,7 @@ sge/util/arch sge/util/arch_variables sge/util/arch_variables.orig sge/util/bdb_checkpoint.sh +sge/util/certtool.sh sge/util/create_settings.sh sge/util/dl.csh sge/util/dl.sh @@ -494,6 +509,7 @@ sge/util/resources/calendars/night_s sge/util/resources/centry/arch sge/util/resources/centry/calendar sge/util/resources/centry/cpu +sge/util/resources/centry/display_win_gui sge/util/resources/centry/h_core sge/util/resources/centry/h_cpu sge/util/resources/centry/h_data @@ -547,6 +563,8 @@ sge/util/resources/loadsensors/sgi_tty_sensor.sh sge/util/resources/loadsensors/solaris-iidle.sh sge/util/resources/pe/make sge/util/resources/pe/make.sge_pqs_api +sge/util/resources/schemas/qhost/qhost.xsd +sge/util/resources/schemas/qquota/qquota.xsd sge/util/resources/schemas/qstat/detailed_job_info.xsd sge/util/resources/schemas/qstat/message.xsd sge/util/resources/schemas/qstat/qstat.xsd @@ -554,14 +572,17 @@ sge/util/resources/starter_methods/settaskid.sh sge/util/resources/usersets/deadlineusers sge/util/resources/usersets/defaultdepartment sge/util/setfileperm.sh +sge/util/setfileperm.sh.orig sge/util/sgeCA/renew_all_certs.csh sge/util/sgeCA/sge_ca +sge/util/sgeCA/sge_ca.cnf sge/util/sgeCA/sge_ssl.cnf sge/util/sgeCA/sge_ssl_template.cnf sge/util/sge_aliases sge/util/sge_request sge/util/sgeremoterun sge/utilbin/${SGE_ARCH}/adminrun +sge/utilbin/${SGE_ARCH}/authuser sge/utilbin/${SGE_ARCH}/berkeley_db_svc sge/utilbin/${SGE_ARCH}/checkprog sge/utilbin/${SGE_ARCH}/checkuser @@ -601,6 +622,8 @@ sge/utilbin/${SGE_ARCH}/uidgid @dirrm sge/util/resources/usersets @dirrm sge/util/resources/starter_methods @dirrm sge/util/resources/schemas/qstat +@dirrm sge/util/resources/schemas/qquota +@dirrm sge/util/resources/schemas/qhost @dirrm sge/util/resources/schemas @dirrm sge/util/resources/pe @dirrm sge/util/resources/loadsensors @@ -631,6 +654,7 @@ sge/utilbin/${SGE_ARCH}/uidgid @dirrm sge/examples/jobs @dirrm sge/examples/drmaa @dirrm sge/examples +@dirrm sge/dtrace @dirrm sge/doc @dirrm sge/ckpt @dirrm sge/catman/cat/cat8 @@ -643,5 +667,4 @@ sge/utilbin/${SGE_ARCH}/uidgid @dirrm sge/bin @dirrm sge/3rd_party/qmon @dirrm sge/3rd_party -@comment the various queue setups get created in this directory -@unexec ${RMDIR} %D/sge 2>/dev/null || ${TRUE} +@dirrm sge diff --git a/parallel/sge/distinfo b/parallel/sge/distinfo index fa0a6dbe99e..d8d362a6baa 100644 --- a/parallel/sge/distinfo +++ b/parallel/sge/distinfo @@ -1,11 +1,13 @@ -$NetBSD: distinfo,v 1.8 2007/08/15 02:03:06 markd Exp $ +$NetBSD: distinfo,v 1.9 2008/09/15 16:30:57 ahoka Exp $ -SHA1 (sge-V60u11_TAG-src.tar.gz) = 65953f0738935234027b51de2e0910dc6901fdc2 -RMD160 (sge-V60u11_TAG-src.tar.gz) = 06747d75dc6c87f710da3e51aaed2404a972e205 -Size (sge-V60u11_TAG-src.tar.gz) = 7509896 bytes -SHA1 (patch-ah) = a54cb0d2d970e1e7563a6a5d1df73fa6c1751ac3 -SHA1 (patch-ai) = 9ed4476290c659bd1981fbbc67e908ccc7cdfded -SHA1 (patch-ak) = 24493f9294bebaf41f08830da7b8fb5f1bd48eec -SHA1 (patch-am) = 9dee10fdf12a6424070daa9109fbdb1a6849777a +SHA1 (ge-V61u3_TAG-src.tar.gz) = 10dd4ae1d930f691acb7c14445293393ffc9e221 +RMD160 (ge-V61u3_TAG-src.tar.gz) = c1125fb6000b1addb52a9c623994a9cd55689c07 +Size (ge-V61u3_TAG-src.tar.gz) = 8559414 bytes +SHA1 (patch-ah) = f3485710b3f4ab5e09f396f7760fbb84150c8542 +SHA1 (patch-ai) = 1d6dc93df47ab2dccffe5fb6751f26d51352e7be +SHA1 (patch-ak) = 75ccac72140aaf788d6d7da65e5dc39c8cbcd378 +SHA1 (patch-am) = 69a89aa18036894c1e729394b722b07643be1395 SHA1 (patch-at) = d29e29e4915f8015618a4ebc5b17231c2bcc4bf5 -SHA1 (patch-bl) = 9e0780aeb592810a834316b82a9b16929084f39f +SHA1 (patch-bd) = 6043e9a12bdf161514a92cf87a8b1ad51e163f7b +SHA1 (patch-bl) = 37f5bbaeedccc0889fd3e23b2dd2ec283e2cd778 +SHA1 (patch-bm) = 4a558bb3bcdd35686eff5bf61bf749bffb0f25ca diff --git a/parallel/sge/patches/patch-ah b/parallel/sge/patches/patch-ah index 53a8e6720b5..777850561a9 100644 --- a/parallel/sge/patches/patch-ah +++ b/parallel/sge/patches/patch-ah @@ -1,24 +1,23 @@ -$NetBSD: patch-ah,v 1.3 2007/08/15 02:03:06 markd Exp $ +$NetBSD: patch-ah,v 1.4 2008/09/15 16:30:57 ahoka Exp $ ---- source/aimk.site.orig 2007-01-30 22:41:51.000000000 +1300 -+++ source/aimk.site -@@ -51,7 +51,7 @@ setenv TMPDIR /tmp - # OPENSSL_HOME the directory where the include and lib directory of openssl +--- source/aimk.site.orig Fri Feb 16 17:02:44 2007 ++++ source/aimk.site Fri May 30 11:07:25 2008 +@@ -72,7 +72,7 @@ # is installed # --set OPENSSL_HOME = /vol2/tools/SW/openssl-0.9.7l/$buildarch + set OPENSSL_SOVERSION = 0.9.7l +-set OPENSSL_HOME = /vol2/tools/SW/openssl-0.9.7l-origin/$buildarch +set OPENSSL_HOME = @ssl_prefix@ + # - # POSTGRES_HOME the directory where the include and lib directory of -@@ -63,11 +63,11 @@ set POSTGRES_HOME = /vol2/tools/SW/postg +@@ -85,10 +85,10 @@ # BERKELEYDB_HOME the directory where the include and lib directory of # Berkeley DB is installed # --set BERKELEYDB_HOME = /vol2/SW/db-4.2.52/$buildarch -+set BERKELEYDB_HOME = @db4_prefix@ - #set BERKELEYDB_HOME = /vol2/SW/db-4.3.3/$buildarch +-set BERKELEYDB_HOME = /vol2/SW/db-4.4.20/$buildarch -set BDB_INCLUDE_SUBDIR = ++set BERKELEYDB_HOME = @db4_prefix@ +set BDB_INCLUDE_SUBDIR = db4 set BDB_LIB_SUBDIR = -set BDB_LIB_SUFFIX = @@ -26,7 +25,7 @@ $NetBSD: patch-ah,v 1.3 2007/08/15 02:03:06 markd Exp $ # # KRB_HOME the directory where the include and lib directory of kerberos is -@@ -96,7 +96,7 @@ set SWIG = /vol2/tools/SW/swig-1.3.22/$b +@@ -117,7 +117,7 @@ # # PERL path # diff --git a/parallel/sge/patches/patch-ai b/parallel/sge/patches/patch-ai index c68a2f24502..0a89e370540 100644 --- a/parallel/sge/patches/patch-ai +++ b/parallel/sge/patches/patch-ai @@ -1,16 +1,17 @@ -$NetBSD: patch-ai,v 1.3 2007/08/15 02:03:07 markd Exp $ +$NetBSD: patch-ai,v 1.4 2008/09/15 16:30:57 ahoka Exp $ ---- source/scripts/distinst.site.orig 2006-12-12 05:25:04.000000000 +1300 -+++ source/scripts/distinst.site -@@ -31,9 +31,9 @@ - #___INFO__MARK_END__ +--- source/scripts/distinst.site.orig Mon Jan 22 22:58:31 2007 ++++ source/scripts/distinst.site Fri May 30 11:10:46 2008 +@@ -32,10 +32,10 @@ # Base directory where the openssl binary and libraries reside --OPENSSLBASE=/vol2/tools/SW/openssl-0.9.7l + OPENSSLSOVERSION=0.9.7 +-OPENSSLBASE=/vol2/tools/SW/openssl-0.9.7l-origin +OPENSSLBASE=@ssl_prefix@ # Base directory where BDB resides --BERKELEYDBBASE=/vol2/SW/db-4.2.52 +-BERKELEYDBBASE=/vol2/SW/db-4.4.20 +BERKELEYDBBASE=@db4_prefix@ TAR=gtar + diff --git a/parallel/sge/patches/patch-ak b/parallel/sge/patches/patch-ak index e123b6389c2..9ebd884f1e4 100644 --- a/parallel/sge/patches/patch-ak +++ b/parallel/sge/patches/patch-ak @@ -1,8 +1,8 @@ -$NetBSD: patch-ak,v 1.4 2007/08/15 02:03:07 markd Exp $ +$NetBSD: patch-ak,v 1.5 2008/09/15 16:30:57 ahoka Exp $ ---- source/utilbin/Makefile.orig 2007-05-07 22:09:17.000000000 +1200 -+++ source/utilbin/Makefile -@@ -206,7 +206,7 @@ fstype.o: $(UTILBIN_DIR)/fstype.c +--- source/utilbin/Makefile.orig Wed Feb 7 13:49:17 2007 ++++ source/utilbin/Makefile Fri May 30 11:13:22 2008 +@@ -206,7 +206,7 @@ $(CC) $(CFLAGS) $(MEMCFLAG) $(GCC_NODUPLWARN) -c $(UTILBIN_DIR)/fstype.c #--------------------------------------------------------------------- spooldefaults: spooldefaults.o version.o sge_mt_init.o $(SPOOLING_DEPS) $(SPOOLCLIB) $(SPOOLLIB) $(SCHEDLIB) $(EVCLIB) $(GDILIB) $(SECLIBS) $(SGEOBJLIB) $(SGEOBJDLIB) $(COMMLIB) $(COMMLISTSLIB) $(CULLLIB) $(LCKLIB) $(WINGRIDLIB_DEP) $(UTILIB) $(RMONLIB) @@ -11,12 +11,13 @@ $NetBSD: patch-ak,v 1.4 2007/08/15 02:03:07 markd Exp $ spooldefaults.o: $(UTILBIN_DIR)/spooldefaults.c $(CC) $(CFLAGS) -c $(UTILBIN_DIR)/spooldefaults.c -@@ -241,7 +241,7 @@ tst_pthread_signals.o: $(UTILBIN_DIR)/ts +@@ -241,8 +241,7 @@ #--------------------------------------------------------------------- - spooledit: spooledit.o sge_mt_init.o $(SPOOLING_DEPS) $(SPOOLLIB) $(SCHEDLIB) $(GDILIB) $(SECLIBS) $(SGEOBJLIB) $(SGEOBJDLIB) $(COMMLIB) $(COMMLISTSLIB) $(CULLLIB) $(WINGRIDLIB_DEP) $(UTILIB) $(LCKLIB) $(RMONLIB) -- $(CC) -o $@ spooledit.o version.o sge_mt_init.o $(LFLAGS) -lspoolb $(SPOOLING_LIBS) -lsched -lgdi -lsgeobj -lsgeobjd $(SECLIB) $(KRBLIB) -lcull -lcomm -lcommlists -luti $(WINGRIDLIB) -llck -lrmon -ldb$(BDB_LIB_SUFFIX) $(DLLIB) $(SLIBS) $(LIBS) + spooledit: spooledit.o sge_mt_init.o $(SPOOLING_DEPS) $(SPOOLLIB) $(SCHEDLIB) $(EVCLIB) $(GDILIB) $(SECLIBS) $(SGEOBJLIB) $(SGEOBJDLIB) $(COMMLIB) $(COMMLISTSLIB) $(CULLLIB) $(WINGRIDLIB_DEP) $(UTILIB) $(LCKLIB) $(RMONLIB) +- $(CC) -o $@ spooledit.o version.o sge_mt_init.o $(LFLAGS) -lspoolb $(SPOOLING_LIBS) -lsched -levc -lgdi -lsgeobj -lsgeobjd $(SECLIB) $(KRBLIB) -lcull -lcomm -lcommlists -luti $(WINGRIDLIB) -llck -lrmon -ldb$(BDB_LIB_SUFFIX) $(DLLIB) $(SLIBS) $(LIBS) +- + $(CC) -o $@ spooledit.o version.o sge_mt_init.o $(LFLAGS) $(LDFLAGS) -lspoolb $(SPOOLING_LIBS) -lsched -lgdi -lsgeobj -lsgeobjd $(SECLIB) $(KRBLIB) -lcull -lcomm -lcommlists -luti $(WINGRIDLIB) -llck -lrmon -ldb$(BDB_LIB_SUFFIX) $(DLLIB) $(SLIBS) $(LIBS) - spooledit.o: $(UTILBIN_DIR)/spooledit.c $(CC) $(CFLAGS) -c $(UTILBIN_DIR)/spooledit.c + diff --git a/parallel/sge/patches/patch-am b/parallel/sge/patches/patch-am index d9ead653f50..732f7325035 100644 --- a/parallel/sge/patches/patch-am +++ b/parallel/sge/patches/patch-am @@ -1,34 +1,30 @@ -$NetBSD: patch-am,v 1.3 2007/08/15 02:03:07 markd Exp $ +$NetBSD: patch-am,v 1.4 2008/09/15 16:30:57 ahoka Exp $ ---- source/aimk.orig 2007-05-09 00:49:44.000000000 +1200 -+++ source/aimk -@@ -349,7 +349,7 @@ set SPOOLING_DEPS = "spoolloaderlib sp +--- source/aimk.orig Wed Aug 29 14:27:51 2007 ++++ source/aimk Fri May 30 11:03:28 2008 +@@ -368,7 +368,7 @@ # we generate a berkeley db shared lib, so we need bdb include and lib path set CFLAGS = "-I$BERKELEYDB_HOME/include/${BDB_INCLUDE_SUBDIR} $CFLAGS" set LFLAGS = "-L$BERKELEYDB_HOME/lib/${BDB_LIB_SUBDIR} $LFLAGS" -set SHARED_LFLAGS = "$SHARED_LFLAGS -L$BERKELEYDB_HOME/lib" +set SHARED_LFLAGS = "$SHARED_LFLAGS -L$BERKELEYDB_HOME/lib -R$BERKELEYDB_HOME/lib" - set LOADCHECK_ALL = loadcheck - -@@ -1047,18 +1047,23 @@ case NETBSD_*: + # JUTI Targets + set JUTI_ALL = juti_all +@@ -1101,9 +1101,9 @@ + set DLLIB = "" set DEPEND_FLAGS = "$CFLAGS $XMTINCD" set PTHRDSFLAGS = "-D_REENTRANT -D__USE_REENTRANT" - # set CFLAGS = "$OFLAG -Wall -DNETBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M -DSGE_THREADSAFE_UTIL $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include" - set CFLAGS = "$OFLAG -Wall -DNETBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include" + set CFLAGS = "$OFLAG -Wall -DNETBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I${X11BASE}/include" -+ switch (`/usr/bin/uname -r`) -+ case "[1-2].*": -+ set CFLAGS = "$CFLAGS -DSGE_THREADSAFE_UTIL" -+ breaksw -+ endsw set NOERR_CFLAG = "-Wno-error" - set LFLAGS = "$DEBUG_FLAG $LFLAGS -export-dynamic" + set LFLAGS = "$DEBUG_FLAG $LFLAGS -export-dynamic -L${LOCALBASE}/lib -R${LOCALBASE}/lib" set LIBS = "$LIBS -lkvm" set SHAREDLD = $CC set SHARED_CFLAGS = "-fPIC" - set SHARED_LFLAGS = "$SHARED_LFLAGS -L. -shared -export-dynamic" +@@ -1111,9 +1111,9 @@ + set AUTHLIBS = "-lcrypt -lpam" set XMTDEF = "" - set XINCD = "$XMTINCD $XINCD -I/usr/X11/include -I/usr/pkg/include" diff --git a/parallel/sge/patches/patch-bd b/parallel/sge/patches/patch-bd new file mode 100644 index 00000000000..1161a7e74f2 --- /dev/null +++ b/parallel/sge/patches/patch-bd @@ -0,0 +1,38 @@ +$NetBSD: patch-bd,v 1.3 2008/09/15 16:30:57 ahoka Exp $ + +Exclude Java files. +DESTDIR support. + +--- source/scripts/distinst.orig Tue Nov 20 12:16:24 2007 ++++ source/scripts/distinst Fri May 30 12:14:08 2008 +@@ -75,12 +75,12 @@ + # The last number listed here will be the verson linked from libdrmaa.so + DRMAA_SHARED_LIB_VERSIONS="0.95 1.0" + DRMAA_HEADER_FILES="libs/japi/drmaa.h" +-DRMAAJ_FILES="CLASSES/drmaa" ++#DRMAAJ_FILES="CLASSES/drmaa" + + JNI_SHARED_LIBRARIES="libdrmaa libjuti libjgdi" + +-JUTIJ_FILES="CLASSES/juti/juti" +-JGDIJ_FILES="libs/jgdi/build/jgdi" ++#JUTIJ_FILES="CLASSES/juti/juti" ++#JGDIJ_FILES="libs/jgdi/build/jgdi" + + PVMSOURCES="start_pvm.c stop_pvm.c slave.c master.c spmd.c Makefile" + PVMSRCSCRIPTS="install.sh aimk" +@@ -517,11 +517,11 @@ + echo Please set variable SGE_ROOT. Installation failed. + exit 1 + fi +- if [ ! -d $SGE_ROOT ]; then +- echo Please create directory \"$SGE_ROOT\" first. Installation failed. ++ if [ ! -d "$DESTDIR$SGE_ROOT" ]; then ++ echo Please create directory \"$DESTDIR$SGE_ROOT\" first. Installation failed. + exit 1 + fi +- DEST_SGE_ROOT=$SGE_ROOT ++ DEST_SGE_ROOT=$DESTDIR$SGE_ROOT + localinst=true + ;; + -mansrc) diff --git a/parallel/sge/patches/patch-bl b/parallel/sge/patches/patch-bl index 402226f479b..5f0219df8e4 100644 --- a/parallel/sge/patches/patch-bl +++ b/parallel/sge/patches/patch-bl @@ -1,42 +1,35 @@ -$NetBSD: patch-bl,v 1.2 2007/08/15 02:03:09 markd Exp $ +$NetBSD: patch-bl,v 1.3 2008/09/15 16:30:57 ahoka Exp $ ---- source/libs/comm/cl_ssl_framework.c.orig 2006-07-17 20:25:05.000000000 +1200 -+++ source/libs/comm/cl_ssl_framework.c -@@ -988,7 +988,7 @@ static int cl_com_ssl_build_symbol_table +--- source/libs/comm/cl_ssl_framework.c.orig Fri Jun 15 12:34:16 2007 ++++ source/libs/comm/cl_ssl_framework.c Fri May 30 11:17:47 2008 +@@ -1025,7 +1025,7 @@ { char* func_name = NULL; int had_errors = 0; --#if defined(FREEBSD) -+#if defined(FREEBSD) || defined(NETBSD) +-#if defined(FREEBSD) || defined(DARWIN) ++#if defined(NETBSD) || defined(FREEBSD) || defined(DARWIN) void* cl_com_ssl_crypto_handle_saved = NULL; #endif -@@ -1004,12 +1004,12 @@ static int cl_com_ssl_build_symbol_table - - #if defined(DARWIN) - #ifdef RTLD_NODELETE -- cl_com_ssl_crypto_handle = dlopen ("libssl.bundle", RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE); -+ cl_com_ssl_crypto_handle = dlopen ("libssl.dylib", RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE); - #else -- cl_com_ssl_crypto_handle = dlopen ("libssl.bundle", RTLD_NOW | RTLD_GLOBAL ); -+ cl_com_ssl_crypto_handle = dlopen ("libssl.dylib", RTLD_NOW | RTLD_GLOBAL ); +@@ -1047,7 +1047,7 @@ + cl_com_ssl_crypto_handle = dlopen ("libssl.dylib", RTLD_NOW | RTLD_GLOBAL ); #endif /* RTLD_NODELETE */ -#elif defined(FREEBSD) -+#elif defined(FREEBSD) || defined(NETBSD) ++#elif defined(NETBSD) || defined(FREEBSD) #ifdef RTLD_NODELETE cl_com_ssl_crypto_handle = dlopen ("libssl.so", RTLD_LAZY | RTLD_GLOBAL | RTLD_NODELETE); #else -@@ -1038,7 +1038,7 @@ static int cl_com_ssl_build_symbol_table +@@ -1076,7 +1076,7 @@ return CL_RETVAL_SSL_DLOPEN_SSL_LIB_FAILED; } --#if defined(FREEBSD) -+#if defined(FREEBSD) || defined(NETBSD) +-#if defined(FREEBSD) || defined(DARWIN) ++#if defined(NETBSD) || defined(FREEBSD) || defined(DARWIN) cl_com_ssl_crypto_handle_saved = cl_com_ssl_crypto_handle; cl_com_ssl_crypto_handle = RTLD_DEFAULT; #endif -@@ -1661,7 +1661,7 @@ static int cl_com_ssl_build_symbol_table +@@ -1784,7 +1784,7 @@ return CL_RETVAL_SSL_CANT_LOAD_ALL_FUNCTIONS; } diff --git a/parallel/sge/patches/patch-bm b/parallel/sge/patches/patch-bm new file mode 100644 index 00000000000..6134792117c --- /dev/null +++ b/parallel/sge/patches/patch-bm @@ -0,0 +1,73 @@ +$NetBSD: patch-bm,v 1.1 2008/09/15 16:30:57 ahoka Exp $ + +DESTDIR support. + +--- source/dist/util/setfileperm.sh.orig Fri Jul 1 12:45:13 2005 ++++ source/dist/util/setfileperm.sh Fri May 30 13:48:16 2008 +@@ -81,7 +81,7 @@ + + instauto=false + +-if [ -z "$SGE_ROOT" -o ! -d "$SGE_ROOT" ]; then ++if [ -z "$SGE_ROOT" -o ! -d "$DESTDIR$SGE_ROOT" ]; then + echo + echo ERROR: Please set your \$SGE_ROOT environment variable + echo and start this script again. Exit. +@@ -89,7 +89,7 @@ + exit 1 + fi + +-if [ ! -f "$SGE_ROOT/util/arch" ]; then ++if [ ! -f "$DESTDIR$SGE_ROOT/util/arch" ]; then + echo + echo ERROR: The shell script \"$SGE_ROOT/util/arch\" does not exist. + echo Please verify your distribution and restart this script. Exit. +@@ -97,7 +97,7 @@ + exit 1 + fi + +-if [ ! -f $SGE_ROOT/util/arch_variables ]; then ++if [ ! -f "$DESTDIR$SGE_ROOT"/util/arch_variables ]; then + echo + echo ERROR: Missing shell script \"$SGE_ROOT/util/arch_variables\". + echo Please verify your distribution and restart this script. Exit. +@@ -105,7 +105,7 @@ + exit 1 + fi + +-. $SGE_ROOT/util/arch_variables ++. "$DESTDIR$SGE_ROOT"/util/arch_variables + + if [ $ARCH = "win32-x86" ]; then + echo +@@ -182,7 +182,7 @@ + done + fi + +-cd $1 ++cd $DESTDIR$1 + if [ $? != 0 ]; then + $ECHO "ERROR: can't change to directory \"$1\". Exiting." + exit 1 +@@ -203,17 +203,17 @@ + done + + for f in $FILELIST $OPTFILES; do +- if [ -d $f -o -f $f ]; then +- SetFilePerm $f ++ if [ -d $DESTDIR$f -o -f $DESTDIR$f ]; then ++ SetFilePerm $DESTDIR$f + fi + done + + for file in $SUIDFILES; do + # Windows NFS Server does not like suid files + if [ "`echo $file | grep win32-x86`" != "" ]; then +- chmod 511 $file ++ chmod 511 $DESTDIR$file + else +- chmod 4511 $file ++ chmod 4511 $DESTDIR$file + fi + done + |