Import Open Grid Scheduler version 2011.11 as parallel/gridscheduler.

Heavily based on Sun Grid Engine package (parallel/sge).

Open Grid Scheduler/Grid Engine is a free and open-source
batch-queuing system for distributed resource management.
OGS/GE is based on Sun Grid Engine, and maintained by the same
group of external (i.e. non-Sun) developers who started
contributing code to Sun Grid Engine since 2001.
This commit is contained in:
asau 2012-03-21 20:48:53 +00:00
parent 11f9cd103c
commit 509279acdd
24 changed files with 1287 additions and 0 deletions

View file

@ -0,0 +1,6 @@
The Grid Engine project is an open source community effort
to facilitate the adoption of distributed computing solutions.
Sponsored by Sun Microsystems and hosted by CollabNet, the
Grid Engine project provides enabling distributed resource
management software for wide ranging requirements from compute
farms to grid computing.

View file

@ -0,0 +1,31 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
You will need to add the following lines to /etc/services:
sge_qmaster 6444/tcp
sge_execd 6445/tcp
In addition after installation, you need to set up SGE. To configure the
master node of the cluster, run:
cd ${SGE_ROOT} && ./install_qmaster -csp
For the back-end compute nodes, run:
cd ${SGE_ROOT} && ./install_execd
Additionally, you will want to add the following lines in /etc/csh.cshrc:
# Sun Grid Engine Setup
if ( -f ${SGE_ROOT}/default/common/settings.csh ) then
source ${SGE_ROOT}/default/common/settings.csh
endif
and the following in /etc/profile:
if [ -f ${SGE_ROOT}/default/common/settings.sh ]; then
. ${SGE_ROOT}/default/common/settings.sh
fi
===========================================================================

View file

@ -0,0 +1,171 @@
# $NetBSD: Makefile,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
PKGNAME= gridscheduler-2011.11
DISTNAME= GE2011.11
CATEGORIES= parallel sysutils
MASTER_SITES= $(MASTER_SITE_SOURCEFORGE:=gridscheduler/)
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gridscheduler.sourceforge.net/
COMMENT= Open Grid Scheduler/Grid Engine 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
CFLAGS+= -D${UPPER_OPSYS}
CONFIGURE_ENV+= REMOTE=sge
CONFIGURE_ENV+= CFLAGS=${CFLAGS:M*:Q}
CONFIGURE_ARGS+= --with-sge=${SGE_BUILDARCH:Q}
PLIST_SUBST+= SGE_ARCH=${SGE_ARCH:Q}
MESSAGE_SUBST+= SGE_ROOT=${SGE_ROOT}
MAKE_ENV+= PERL5=${PERL5:Q}
SGE_USER?= sgeadmin
SGE_GROUP?= sgeadmin
PKG_GROUPS= ${SGE_GROUP}
PKG_USERS= ${SGE_USER}:${SGE_GROUP}::Sun\ Grid\ Engine\ Administrator
PKG_GROUPS_VARS+= SGE_GROUP
PKG_USERS_VARS+= SGE_USER
EVAL_PREFIX+= PKGSRC_SSL_PREFIX=openssl
AIMK= ${SETENV} ${MAKE_ENV} tcsh -fb ${WRKSRC}/source/aimk
CONFIG_GUESS_OVERRIDE= source/3rdparty/qmake/config.guess \
source/3rdparty/qtcsh/config.guess
CONFIG_SUB_OVERRIDE= source/3rdparty/qmake/config.sub \
source/3rdparty/qtcsh/config.sub
REPLACE_INTERPRETER+= tclsh
REPLACE.tclsh.old= .*tclsh
REPLACE.tclsh.new= ${PREFIX}/bin/tclsh
REPLACE_FILES.tclsh= source/dist/util/resources/jsv/jsv.tcl
REPLACE_PERL+= source/dist/util/resources/jsv/jsv.pl
CHECK_INTERPRETER_SKIP+= sge/ckpt/cpr_* sge/mpi/myrinet/* sge/util/resources/loadsensors/interix-loadsensor.sh
.include "../../mk/bsd.prefs.mk"
# SGE_ARCH should match the putput of ${WRKSRC}/source/dist/util/arch
# SGE_BUILDARCH should match whats in ${WRKSRC}/source/aimk
UPPER_OPSYS_cmd= ${ECHO} "${OPSYS}" | ${TR} a-z A-Z
UPPER_OPSYS= ${UPPER_OPSYS_cmd:sh}
.if ${OPSYS} == "NetBSD"
AIMK+= -DFD_SETSIZE=2048
SGE_ARCH= nbsd-${MACHINE_ARCH}
SGE_BUILDARCH_cmd= ${ECHO} "${OPSYS}_${MACHINE_ARCH}" | ${TR} a-z A-Z
.elif ${OPSYS} == "FreeBSD"
SGE_ARCH= fbsd-${MACHINE_ARCH}
SGE_BUILDARCH_cmd= ${ECHO} "${OPSYS}_${MACHINE_ARCH}" | ${TR} a-z A-Z
.elif ${OPSYS} == "SunOS"
. if ${MACHINE_ARCH} == "i386"
SGE_ARCH= solaris86
. else
_ISAINFO!= isainfo
. if !empty(_ISAINFO:Msparcv9)
SGE_ARCH= solaris64
. else
SGE_ARCH= solaris
. endif
. endif
SGE_BUILDARCH_cmd= ${ECHO} "${SGE_ARCH}" | ${TR} a-z A-Z
.elif ${OPSYS} == "Darwin"
SGE_ARCH= darwin
SGE_BUILDARCH= DARWIN
.elif ${OPSYS} == "Linux"
AIMK+= -no-dump
SGE_ARCH= lx26-x86
SGE_BUILDARCH= LINUX86
.else
PKG_FAIL_REASON+= "SGE_ARCH and SGE_BUILDARCH need to be configured for your OS"
.endif
SGE_BUILDARCH?= ${SGE_BUILDARCH_cmd:sh}
# Some hacks to get it properly linked:
MAKE_ENV+= SGE_ARCH=$(SGE_ARCH) SGE_ROOT=$(SGE_ROOT)
LDFLAGS+= -R${SGE_ROOT}/lib/${SGE_ARCH}
BUILDLINK_PASSTHRU_RPATHDIRS+= ${SGE_ROOT}/lib/${SGE_ARCH}
SGE_ROOT= ${PREFIX}/sge
INSTALLATION_DIRS= bin
post-patch:
@if [ "`${WRKSRC}/source/dist/util/arch`" != "${SGE_ARCH}" ]; then \
${ECHO} "ERROR: SGE_ARCH as set in the pkgsrc Makefile," ;\
${ECHO} " ${SGE_ARCH}, does not agree with that returned by" ; \
${ECHO} " ${WRKSRC}/source/dist/util/arch," ; \
${ECHO} " `${WRKSRC}/source/dist/util/arch`" ; \
${FALSE} ; \
fi
( ${ECHO} "set OPENSSL_HOME = ${SSL_PREFIX}" ; \
${ECHO} "set BERKELEYDB_HOME = ${BUILDLINK_PREFIX.db4}" ; \
${ECHO} "set BDB_INCLUDE_SUBDIR = db4" ; \
${ECHO} "set BDB_LIB_SUFFIX = 4" ; \
${ECHO} "set PERL = ${PERL5}" ) > ${WRKSRC}/source/aimk.private
( ${ECHO} "OPENSSLBASE=${SSL_PREFIX}" ; \
${ECHO} "BERKELEYDBBASE=${BUILDLINK_PREFIX.db4}" ) > ${WRKSRC}/source/distinst.private
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= source/dist/util/arch_variables
SUBST_SED.paths= -e 's;@rcd_dir@;${RCD_SCRIPTS_DIR};'
do-configure:
.for __prog__ in qmake qtcsh
${MKDIR} ${WRKSRC}/source/3rdparty/${__prog__}/${SGE_BUILDARCH}
cd ${WRKSRC}/source/3rdparty/${__prog__}/${SGE_BUILDARCH} && \
${SETENV} ${CONFIGURE_ENV} \
SGE_ARCH=`${WRKSRC}/source/dist/util/arch` \
../configure ${CONFIGURE_ARGS} --srcdir=..
.endfor
do-build:
cd ${WRKSRC}/source && ${AIMK} -no-java -no-jni -only-depend
cd ${WRKSRC}/source && ${SETENV} ${MAKE_ENV} ./scripts/zerodepend
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 -sunman
do-install:
${MKDIR} ${DESTDIR}${SGE_ROOT}
#${CHOWN} ${SGE_USER} ${DESTDIR}${SGE_ROOT}
#${CHGRP} ${SGE_GROUP} ${DESTDIR}${SGE_ROOT}
cd ${WRKSRC}/source && \
${ECHO} "Y" | ${SETENV} LOCALBASE=${LOCALBASE} DESTDIR=${DESTDIR} SGE_ROOT=${SGE_ROOT} ./scripts/distinst -local -all -nobdb -noopenssl -mansrc sge ${SGE_ARCH} -- doc man
for f in archive checkpoint deadlock dump load printlog recover stat upgrade verify ; do \
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 ${DESTDIR}${SGE_ROOT}/bin/${SGE_ARCH}/q* ; do \
cd ${DESTDIR}${PREFIX}/bin && ln -fs $$f ; done
#% scripts/distinst -local"
PLIST_SUBST+= SGE_ARCH=${SGE_ARCH}
CHECK_INTERPRETER_SKIP= sge/hadoop/pestart.sh \
sge/hadoop/pestop.sh \
sge/hadoop/setup.pl \
sge/hadoop/wait.sh
.include "../../parallel/hwloc/buildlink3.mk" # optional?
.include "../../databases/db4/buildlink3.mk" # 4.2 at least
.include "../../x11/libXpm/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
.if ${USE_BUILTIN.openssl} == "yes"
SSL_PREFIX= /usr
.else
SSL_PREFIX= ${PKGSRC_SSL_PREFIX}
.endif

View file

@ -0,0 +1,576 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
bin/qacct
bin/qalter
bin/qconf
bin/qdel
bin/qhold
bin/qhost
bin/qlogin
bin/qmake
bin/qmod
bin/qmon
bin/qping
bin/qquota
bin/qrdel
bin/qresub
bin/qrls
bin/qrsh
bin/qrstat
bin/qrsub
bin/qselect
bin/qsh
bin/qstat
bin/qsub
bin/qtcsh
sge/3rd_party/3rd_party_licscopyrights
sge/3rd_party/qmon/ltree_changed.tar.gz
sge/bin/${SGE_ARCH}/qacct
sge/bin/${SGE_ARCH}/qalter
sge/bin/${SGE_ARCH}/qconf
sge/bin/${SGE_ARCH}/qdel
sge/bin/${SGE_ARCH}/qhold
sge/bin/${SGE_ARCH}/qhost
sge/bin/${SGE_ARCH}/qlogin
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}/qrdel
sge/bin/${SGE_ARCH}/qresub
sge/bin/${SGE_ARCH}/qrls
sge/bin/${SGE_ARCH}/qrsh
sge/bin/${SGE_ARCH}/qrstat
sge/bin/${SGE_ARCH}/qrsub
sge/bin/${SGE_ARCH}/qselect
sge/bin/${SGE_ARCH}/qsh
sge/bin/${SGE_ARCH}/qstat
sge/bin/${SGE_ARCH}/qsub
sge/bin/${SGE_ARCH}/qtcsh
sge/bin/${SGE_ARCH}/sge_coshepherd
sge/bin/${SGE_ARCH}/sge_execd
sge/bin/${SGE_ARCH}/sge_qmaster
sge/bin/${SGE_ARCH}/sge_shadowd
sge/bin/${SGE_ARCH}/sge_shepherd
sge/bin/${SGE_ARCH}/sgepasswd
sge/ckpt/README.cpr
sge/ckpt/README.cray
sge/ckpt/checkpoint_command
sge/ckpt/clean_command
sge/ckpt/cpr_ckpt_command
sge/ckpt/cpr_clean_command
sge/ckpt/cpr_migration_command
sge/ckpt/cpr_restart_command
sge/ckpt/cray_ckpt_command
sge/ckpt/cray_clean_command
sge/ckpt/cray_migration_command
sge/ckpt/cray_restart_command
sge/ckpt/migration_command
sge/ckpt/restart_command
sge/ckpt/sx6_ckpt_command
sge/ckpt/sx6_clean_command
sge/ckpt/sx6_migration_command
sge/ckpt/sx6_restart_command
sge/doc/README-DRMAA.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
sge/examples/drmaa/howto3_1.c
sge/examples/drmaa/howto3_2.c
sge/examples/drmaa/howto4.c
sge/examples/drmaa/howto5.c
sge/examples/drmaa/howto6.c
sge/examples/jobs/array_submitter.sh
sge/examples/jobs/jobnet_submitter.sh
sge/examples/jobs/pascal.sh
sge/examples/jobs/pminiworm.sh
sge/examples/jobs/simple.sh
sge/examples/jobs/sleeper.sh
sge/examples/jobs/ssession.sh
sge/examples/jobs/step_A_array_submitter.sh
sge/examples/jobs/step_B_array_submitter.sh
sge/examples/jobs/worker.sh
sge/examples/jobsbin/${SGE_ARCH}/showq
sge/examples/jobsbin/${SGE_ARCH}/work
sge/hadoop/env.sh
sge/hadoop/jsv.sh
sge/hadoop/load_sensor.sh
sge/hadoop/logging.properties
sge/hadoop/make_conf.sh
sge/hadoop/pestart.sh
sge/hadoop/pestop.sh
sge/hadoop/setup.pl
sge/hadoop/ssh
sge/hadoop/wait.sh
sge/include/drmaa.h
sge/inst_sge
sge/install_execd
sge/install_qmaster
sge/lib/${SGE_ARCH}/libXltree.so
sge/lib/${SGE_ARCH}/libdrmaa.so
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
sge/man/man1/gethostbyname.1
sge/man/man1/gethostname.1
sge/man/man1/getservbyname.1
sge/man/man1/hostnameutils.1
sge/man/man1/jsv.1
sge/man/man1/qacct.1
sge/man/man1/qalter.1
sge/man/man1/qconf.1
sge/man/man1/qdel.1
sge/man/man1/qhold.1
sge/man/man1/qhost.1
sge/man/man1/qlogin.1
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/qrdel.1
sge/man/man1/qresub.1
sge/man/man1/qrls.1
sge/man/man1/qrsh.1
sge/man/man1/qrstat.1
sge/man/man1/qrsub.1
sge/man/man1/qselect.1
sge/man/man1/qsh.1
sge/man/man1/qstat.1
sge/man/man1/qsub.1
sge/man/man1/qtcsh.1
sge/man/man1/sge_ckpt.1
sge/man/man1/sge_intro.1
sge/man/man1/sge_types.1
sge/man/man1/sgepasswd.1
sge/man/man1/submit.1
sge/man/man3/drmaa_allocate_job_template.3
sge/man/man3/drmaa_attributes.3
sge/man/man3/drmaa_control.3
sge/man/man3/drmaa_delete_job_template.3
sge/man/man3/drmaa_exit.3
sge/man/man3/drmaa_get_DRMAA_implementation.3
sge/man/man3/drmaa_get_DRM_system.3
sge/man/man3/drmaa_get_attribute.3
sge/man/man3/drmaa_get_attribute_names.3
sge/man/man3/drmaa_get_contact.3
sge/man/man3/drmaa_get_next_attr_name.3
sge/man/man3/drmaa_get_next_attr_value.3
sge/man/man3/drmaa_get_next_job_id.3
sge/man/man3/drmaa_get_num_attr_names.3
sge/man/man3/drmaa_get_num_attr_values.3
sge/man/man3/drmaa_get_num_job_ids.3
sge/man/man3/drmaa_get_vector_attribute.3
sge/man/man3/drmaa_get_vector_attribute_names.3
sge/man/man3/drmaa_init.3
sge/man/man3/drmaa_job_ps.3
sge/man/man3/drmaa_jobcontrol.3
sge/man/man3/drmaa_jobtemplate.3
sge/man/man3/drmaa_misc.3
sge/man/man3/drmaa_release_attr_names.3
sge/man/man3/drmaa_release_attr_values.3
sge/man/man3/drmaa_release_job_ids.3
sge/man/man3/drmaa_run_bulk_jobs.3
sge/man/man3/drmaa_run_job.3
sge/man/man3/drmaa_session.3
sge/man/man3/drmaa_set_attribute.3
sge/man/man3/drmaa_set_vector_attribute.3
sge/man/man3/drmaa_strerror.3
sge/man/man3/drmaa_submit.3
sge/man/man3/drmaa_synchronize.3
sge/man/man3/drmaa_version.3
sge/man/man3/drmaa_wait.3
sge/man/man3/drmaa_wcoredump.3
sge/man/man3/drmaa_wexitstatus.3
sge/man/man3/drmaa_wifaborted.3
sge/man/man3/drmaa_wifexited.3
sge/man/man3/drmaa_wifsignaled.3
sge/man/man3/drmaa_wtermsig.3
sge/man/man3/jsv_script_interface.3
sge/man/man5/access_list.5
sge/man/man5/accounting.5
sge/man/man5/bootstrap.5
sge/man/man5/calendar_conf.5
sge/man/man5/checkpoint.5
sge/man/man5/complex.5
sge/man/man5/host_aliases.5
sge/man/man5/host_conf.5
sge/man/man5/hostgroup.5
sge/man/man5/project.5
sge/man/man5/qtask.5
sge/man/man5/queue_conf.5
sge/man/man5/reporting.5
sge/man/man5/sched_conf.5
sge/man/man5/sge_aliases.5
sge/man/man5/sge_conf.5
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
sge/man/man5/usermapping.5
sge/man/man8/SGE_Helper_Service.exe.8
sge/man/man8/sge_ca.8
sge/man/man8/sge_execd.8
sge/man/man8/sge_qmaster.8
sge/man/man8/sge_shadowd.8
sge/man/man8/sge_shepherd.8
sge/man/man8/sge_st.8
sge/mpi/README
sge/mpi/README.atm
sge/mpi/SunHPCT5/README
sge/mpi/SunHPCT5/pe_sunmpi_ci.template
sge/mpi/SunHPCT5/resume_sunmpi_ci.sh
sge/mpi/SunHPCT5/suspend_sunmpi_ci.sh
sge/mpi/hostname
sge/mpi/mpi.sh
sge/mpi/mpi.template
sge/mpi/mpi_cpi.sh
sge/mpi/mpich.template
sge/mpi/myrinet/README
sge/mpi/myrinet/README.x
sge/mpi/myrinet/gmps
sge/mpi/myrinet/mpi.template
sge/mpi/myrinet/mpich.template
sge/mpi/myrinet/mpich_multi.template
sge/mpi/myrinet/sge_mpirun
sge/mpi/myrinet/sge_mpirun.x
sge/mpi/myrinet/startmpi.sh
sge/mpi/myrinet/startmpi.sh.x
sge/mpi/myrinet/stopmpi.sh
sge/mpi/rsh
sge/mpi/startmpi.sh
sge/mpi/stopmpi.sh
sge/pvm/README
sge/pvm/pvm.sh
sge/pvm/pvm.template
sge/pvm/pvm_nogs.sh
sge/pvm/src/Makefile
sge/pvm/src/aimk
sge/pvm/src/install.sh
sge/pvm/src/master.c
sge/pvm/src/slave.c
sge/pvm/src/spmd.c
sge/pvm/src/start_pvm.c
sge/pvm/src/stop_pvm.c
sge/pvm/startpvm.sh
sge/pvm/stoppvm.sh
sge/qmon/PIXMAPS/21cal.xpm
sge/qmon/PIXMAPS/21cal_ins.xpm
sge/qmon/PIXMAPS/aclask.xpm
sge/qmon/PIXMAPS/ar.xpm
sge/qmon/PIXMAPS/big/toolbar_ar.xpm
sge/qmon/PIXMAPS/big/toolbar_browser.xpm
sge/qmon/PIXMAPS/big/toolbar_calendar.xpm
sge/qmon/PIXMAPS/big/toolbar_ckpt.xpm
sge/qmon/PIXMAPS/big/toolbar_cluster.xpm
sge/qmon/PIXMAPS/big/toolbar_cplx.xpm
sge/qmon/PIXMAPS/big/toolbar_exit.xpm
sge/qmon/PIXMAPS/big/toolbar_host.xpm
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
sge/qmon/PIXMAPS/big/toolbar_user.xpm
sge/qmon/PIXMAPS/binary_off.xpm
sge/qmon/PIXMAPS/binary_off_ins.xpm
sge/qmon/PIXMAPS/binary_on.xpm
sge/qmon/PIXMAPS/binary_on_ins.xpm
sge/qmon/PIXMAPS/bool.xpm
sge/qmon/PIXMAPS/branch.xpm
sge/qmon/PIXMAPS/branch_open.xpm
sge/qmon/PIXMAPS/ckpt.xpm
sge/qmon/PIXMAPS/cstr.xpm
sge/qmon/PIXMAPS/ctx.xpm
sge/qmon/PIXMAPS/days.xpm
sge/qmon/PIXMAPS/deadline.xpm
sge/qmon/PIXMAPS/deadline_ins.xpm
sge/qmon/PIXMAPS/double.xpm
sge/qmon/PIXMAPS/dynamite.xpm
sge/qmon/PIXMAPS/env.xpm
sge/qmon/PIXMAPS/file_link.xpm
sge/qmon/PIXMAPS/head_open.xpm
sge/qmon/PIXMAPS/host.xpm
sge/qmon/PIXMAPS/hours.xpm
sge/qmon/PIXMAPS/infinity.xpm
sge/qmon/PIXMAPS/int.xpm
sge/qmon/PIXMAPS/intro-sge.xpm
sge/qmon/PIXMAPS/intro.xpm
sge/qmon/PIXMAPS/leaf.xpm
sge/qmon/PIXMAPS/leaf_minus.xpm
sge/qmon/PIXMAPS/leaf_open.xpm
sge/qmon/PIXMAPS/leaf_plus.xpm
sge/qmon/PIXMAPS/leftarrow.xpm
sge/qmon/PIXMAPS/lock.xpm
sge/qmon/PIXMAPS/logo-sge.xpm
sge/qmon/PIXMAPS/logo.xpm
sge/qmon/PIXMAPS/mailbox.xpm
sge/qmon/PIXMAPS/mailbox_ins.xpm
sge/qmon/PIXMAPS/mcicon.xpm
sge/qmon/PIXMAPS/mem.xpm
sge/qmon/PIXMAPS/memorybig.xpm
sge/qmon/PIXMAPS/minutes.xpm
sge/qmon/PIXMAPS/open_lock.xpm
sge/qmon/PIXMAPS/open_lock_insensitive.xpm
sge/qmon/PIXMAPS/peask.xpm
sge/qmon/PIXMAPS/peconf.xpm
sge/qmon/PIXMAPS/penv.xpm
sge/qmon/PIXMAPS/project.xpm
sge/qmon/PIXMAPS/project_ins.xpm
sge/qmon/PIXMAPS/qask.xpm
sge/qmon/PIXMAPS/qlegend.xpm
sge/qmon/PIXMAPS/qsh_off.xpm
sge/qmon/PIXMAPS/qsh_off_ins.xpm
sge/qmon/PIXMAPS/qsh_on.xpm
sge/qmon/PIXMAPS/qsh_on_ins.xpm
sge/qmon/PIXMAPS/resources.xpm
sge/qmon/PIXMAPS/resources_enabled.xpm
sge/qmon/PIXMAPS/rightarrow.xpm
sge/qmon/PIXMAPS/script_file.xpm
sge/qmon/PIXMAPS/script_file_ins.xpm
sge/qmon/PIXMAPS/seconds.xpm
sge/qmon/PIXMAPS/shell.xpm
sge/qmon/PIXMAPS/shell_ins.xpm
sge/qmon/PIXMAPS/stderror.xpm
sge/qmon/PIXMAPS/stderror_ins.xpm
sge/qmon/PIXMAPS/stdinput.xpm
sge/qmon/PIXMAPS/stdinput_ins.xpm
sge/qmon/PIXMAPS/stdoutput.xpm
sge/qmon/PIXMAPS/stdoutput_ins.xpm
sge/qmon/PIXMAPS/str.xpm
sge/qmon/PIXMAPS/time.xpm
sge/qmon/PIXMAPS/toolbar_ar.xpm
sge/qmon/PIXMAPS/toolbar_browser.xpm
sge/qmon/PIXMAPS/toolbar_calendar.xpm
sge/qmon/PIXMAPS/toolbar_ckpt.xpm
sge/qmon/PIXMAPS/toolbar_cluster.xpm
sge/qmon/PIXMAPS/toolbar_cplx.xpm
sge/qmon/PIXMAPS/toolbar_exit.xpm
sge/qmon/PIXMAPS/toolbar_host.xpm
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
sge/qmon/PIXMAPS/toolbar_user.xpm
sge/qmon/PIXMAPS/trashcan.xpm
sge/qmon/PIXMAPS/unknown.xpm
sge/qmon/PIXMAPS/uparrow.xpm
sge/qmon/PIXMAPS/xterm-axp.xpm
sge/qmon/PIXMAPS/xterm-blank.xpm
sge/qmon/PIXMAPS/xterm-cray.xpm
sge/qmon/PIXMAPS/xterm-dec.xpm
sge/qmon/PIXMAPS/xterm-hp.xpm
sge/qmon/PIXMAPS/xterm-ibm.xpm
sge/qmon/PIXMAPS/xterm-linux.xpm
sge/qmon/PIXMAPS/xterm-sgi.xpm
sge/qmon/PIXMAPS/xterm-sgi1.xpm
sge/qmon/PIXMAPS/xterm-sol.xpm
sge/qmon/PIXMAPS/xterm-sun.xpm
sge/qmon/PIXMAPS/xterm.xpm
sge/qmon/Qmon
sge/qmon/qmon_help.ad
sge/util/arch
sge/util/arch.dist
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
sge/util/dl1.csh
sge/util/dl2.csh
sge/util/install_modules/DB_CONFIG
sge/util/install_modules/backup_template.conf
sge/util/install_modules/inst_berkeley.sh
sge/util/install_modules/inst_common.sh
sge/util/install_modules/inst_execd.sh
sge/util/install_modules/inst_execd_uninst.sh
sge/util/install_modules/inst_qmaster.sh
sge/util/install_modules/inst_qmaster_uninst.sh
sge/util/install_modules/inst_schedd_high.conf
sge/util/install_modules/inst_schedd_max.conf
sge/util/install_modules/inst_schedd_normal.conf
sge/util/install_modules/inst_st.sh
sge/util/install_modules/inst_template.conf
sge/util/jaas.config.template
sge/util/java.policy.template
sge/util/jmxremote.access
sge/util/jmxremote.password
sge/util/logchecker.sh
sge/util/logging.properties.template
sge/util/management.properties.template
sge/util/qtask
sge/util/rctemplates/darwin_template
sge/util/rctemplates/sgebdb_template
sge/util/rctemplates/sgeexecd_template
sge/util/rctemplates/sgemaster_template
sge/util/resources/calendars/day
sge/util/resources/calendars/day_s
sge/util/resources/calendars/night
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
sge/util/resources/centry/h_fsize
sge/util/resources/centry/h_rss
sge/util/resources/centry/h_rt
sge/util/resources/centry/h_stack
sge/util/resources/centry/h_vmem
sge/util/resources/centry/hostname
sge/util/resources/centry/load_avg
sge/util/resources/centry/load_long
sge/util/resources/centry/load_medium
sge/util/resources/centry/load_short
sge/util/resources/centry/m_core
sge/util/resources/centry/m_socket
sge/util/resources/centry/m_topology
sge/util/resources/centry/m_topology_inuse
sge/util/resources/centry/mem_free
sge/util/resources/centry/mem_total
sge/util/resources/centry/mem_used
sge/util/resources/centry/min_cpu_interval
sge/util/resources/centry/np_load_avg
sge/util/resources/centry/np_load_long
sge/util/resources/centry/np_load_medium
sge/util/resources/centry/np_load_short
sge/util/resources/centry/num_proc
sge/util/resources/centry/qname
sge/util/resources/centry/rerun
sge/util/resources/centry/s_core
sge/util/resources/centry/s_cpu
sge/util/resources/centry/s_data
sge/util/resources/centry/s_fsize
sge/util/resources/centry/s_rss
sge/util/resources/centry/s_rt
sge/util/resources/centry/s_stack
sge/util/resources/centry/s_vmem
sge/util/resources/centry/seq_no
sge/util/resources/centry/slots
sge/util/resources/centry/swap_free
sge/util/resources/centry/swap_rate
sge/util/resources/centry/swap_rsvd
sge/util/resources/centry/swap_total
sge/util/resources/centry/swap_used
sge/util/resources/centry/tmpdir
sge/util/resources/centry/virtual_free
sge/util/resources/centry/virtual_total
sge/util/resources/centry/virtual_used
sge/util/resources/jsv/JSV.pm
sge/util/resources/jsv/SimpleJsv.java
sge/util/resources/jsv/jjsv.sh
sge/util/resources/jsv/jsv.pl
sge/util/resources/jsv/jsv.sh
sge/util/resources/jsv/jsv.tcl
sge/util/resources/jsv/jsv_include.sh
sge/util/resources/jsv/jsv_include.tcl
sge/util/resources/jsv/logging.properties
sge/util/resources/loadsensors/calendar.sh
sge/util/resources/loadsensors/ibm-loadsensor
sge/util/resources/loadsensors/interix-loadsensor.sh
sge/util/resources/loadsensors/load.sh
sge/util/resources/loadsensors/maui.sh
sge/util/resources/loadsensors/nuser.sh
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/qrstat/qrstat.xsd
sge/util/resources/schemas/qstat/detailed_job_info.xsd
sge/util/resources/schemas/qstat/detailed_job_info_cb.xsd
sge/util/resources/schemas/qstat/message.xsd
sge/util/resources/schemas/qstat/qstat.xsd
sge/util/resources/schemas/qstat/qstat_cb.xsd
sge/util/resources/starter_methods/settaskid.sh
sge/util/resources/usersets/arusers
sge/util/resources/usersets/deadlineusers
sge/util/resources/usersets/defaultdepartment
sge/util/rmiconsole.policy
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/sgeSMF/bdb_template.xml
sge/util/sgeSMF/execd_template.xml
sge/util/sgeSMF/qmaster_template.xml
sge/util/sgeSMF/sge_smf.sh
sge/util/sgeSMF/sge_smf_support.sh
sge/util/sgeSMF/shadowd_template.xml
sge/util/sgeST/sge_st
sge/util/sgeST/st_settings.sh
sge/util/sge_aliases
sge/util/sge_request
sge/util/sgeremoterun
sge/util/upgrade_modules/inst_upgrade.sh
sge/util/upgrade_modules/load_sge_config.sh
sge/util/upgrade_modules/save_sge_config.sh
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
sge/utilbin/${SGE_ARCH}/db_archive
sge/utilbin/${SGE_ARCH}/db_checkpoint
sge/utilbin/${SGE_ARCH}/db_deadlock
sge/utilbin/${SGE_ARCH}/db_dump
sge/utilbin/${SGE_ARCH}/db_load
sge/utilbin/${SGE_ARCH}/db_printlog
sge/utilbin/${SGE_ARCH}/db_recover
sge/utilbin/${SGE_ARCH}/db_stat
sge/utilbin/${SGE_ARCH}/db_upgrade
sge/utilbin/${SGE_ARCH}/db_verify
sge/utilbin/${SGE_ARCH}/echo_raw
sge/utilbin/${SGE_ARCH}/filestat
sge/utilbin/${SGE_ARCH}/fstype
sge/utilbin/${SGE_ARCH}/gethostbyaddr
sge/utilbin/${SGE_ARCH}/gethostbyname
sge/utilbin/${SGE_ARCH}/gethostname
sge/utilbin/${SGE_ARCH}/getservbyname
sge/utilbin/${SGE_ARCH}/infotext
sge/utilbin/${SGE_ARCH}/loadcheck
sge/utilbin/${SGE_ARCH}/now
sge/utilbin/${SGE_ARCH}/openssl
sge/utilbin/${SGE_ARCH}/qrsh_starter
sge/utilbin/${SGE_ARCH}/read_raw
sge/utilbin/${SGE_ARCH}/rlogin
sge/utilbin/${SGE_ARCH}/rsh
sge/utilbin/${SGE_ARCH}/rshd
sge/utilbin/${SGE_ARCH}/sge_share_mon
sge/utilbin/${SGE_ARCH}/spooldefaults
sge/utilbin/${SGE_ARCH}/spooledit
sge/utilbin/${SGE_ARCH}/spoolinit
sge/utilbin/${SGE_ARCH}/testsuidroot
sge/utilbin/${SGE_ARCH}/uidgid
sge/utilbin/${SGE_ARCH}/valid_jvmlib

View file

@ -0,0 +1,24 @@
$NetBSD: distinfo,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
SHA1 (GE2011.11.tar.gz) = bd06d10f7186652e9b264bf8256cb6b633d2b6b9
RMD160 (GE2011.11.tar.gz) = 9ed02a132993c34c89a47ae8e3ac22fbf10d6506
Size (GE2011.11.tar.gz) = 14293882 bytes
SHA1 (patch-aa) = da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA1 (patch-ab) = da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA1 (patch-ac) = da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA1 (patch-ad) = 0da714b6f9f2dfb0d952f84863a76fdac23aed8e
SHA1 (patch-ae) = da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA1 (patch-af) = da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA1 (patch-ag) = f33c490bbb93c6d37ef1937210bff7b92cf19207
SHA1 (patch-ak) = e73a58e547b8401eff27a4635629577767234f0f
SHA1 (patch-am) = 3098e0016eaaff35c119cf8d0f67e0838c3eb28a
SHA1 (patch-at) = d29e29e4915f8015618a4ebc5b17231c2bcc4bf5
SHA1 (patch-av) = da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA1 (patch-bd) = 3977477ccf3d67a3e807bbda42d072397a9d9485
SHA1 (patch-bl) = 5cf177b4b3d31a6483da6daa5ec5ff840b3be7fe
SHA1 (patch-bm) = a760a1f06ab301acb1f0dcb88151c308f381ab60
SHA1 (patch-ca) = da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA1 (patch-cb) = da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA1 (patch-cc) = da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA1 (patch-daemons_common_procfs.c) = cdcbf58cb3278d5bc718fd235aaa76a10e938002
SHA1 (patch-utilbin_Makefile) = da39a3ee5e6b4b0d3255bfef95601890afd80709

View file

View file

View file

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/daemons/shepherd/Makefile.orig 2008-10-31 02:54:16.000000000 +1300
+++ source/daemons/shepherd/Makefile
@@ -62,7 +62,7 @@ SHEPHERD_OBJS = $(SHEPHERD_SRC:.c=.o) sg
SHEPHERD_ADD_OBJS = $(SHEPHERD_ADD_SRC:.c=.o)
-SHEPHERD_ADD_LIBS = -lgdi -lsgeobj -lsgeobjd $(KRBLIB) -lcull -lcomm_static -lcommlists -luti $(WINGRIDLIB_STATIC) -llck -lrmon $(DLLIB)
+SHEPHERD_ADD_LIBS = -lgdi -lsgeobj -lsgeobjd $(KRBLIB) -lcull -lcomm -lcommlists -luti $(WINGRIDLIB) -llck -lrmon $(DLLIB)
SHEPHERD_LIB_DEPENDS = $(GDILIB) $(SGEOBJDLIB) $(SGEOBJLIB) $(KRBLIBS) $(CULLLIB) $(COMMLIB) $(COMMLISTSLIB) $(COMMLIB_STATIC) $(UTILIB) $(WINGRIDLIB_DEP) $(LCKLIB) $(RMONLIB)

View file

View file

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ag,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/libs/spool/Makefile.orig 2009-02-10 00:06:38.000000000 +1300
+++ source/libs/spool/Makefile
@@ -123,7 +123,7 @@ test_sge_spooling.o: $(SPOOLLIB_DIR)/tes
$(CC) $(CFLAGS) -c $(SPOOLLIB_DIR)/test_sge_spooling.c
test_sge_spooling_utilities: test_sge_spooling_utilities.o $(SPOOLING_DEPS) $(SGEOBJLIB) $(SGEOBJDLIB) $(MIRLIB) $(EVCLIB) $(GDILIB) $(SCHEDLIB) $(LCKLIB) $(CULLLIB) $(COMMLIB) $(COMMLISTSLIB) $(UTILIB) $(RMONLIB) $(WINGRIDLIB_DEP)
- $(LD_WRAPPER) $(CC) $(CFLAGS) -o test_sge_spooling_utilities $(LFLAGS) test_sge_spooling_utilities.o $(SPOOLING_LIBS) $(SCHEDLIB) $(MIRLIB) $(EVCLIB) $(GDILIB) $(SGEOBJLIB) $(SGEOBJDLIB) $(COMMLIB) $(COMMLISTSLIB) $(CULLLIB) $(UTILIB) $(RMONLIB) $(WINGRIDLIB) $(LCKLIB) $(SECLIB) $(SLIBS) $(LIBS) $(DLLIB)
+ $(LD_WRAPPER) $(CC) $(CFLAGS) -o test_sge_spooling_utilities $(LFLAGS) test_sge_spooling_utilities.o $(SPOOLING_LIBS) $(SPOOLLIB) $(SCHEDLIB) $(MIRLIB) $(EVCLIB) $(GDILIB) $(SGEOBJLIB) $(SGEOBJDLIB) $(COMMLIB) $(COMMLISTSLIB) $(CULLLIB) $(UTILIB) $(RMONLIB) $(WINGRIDLIB) $(LCKLIB) $(SECLIB) $(SLIBS) $(LIBS) $(DLLIB)
test_sge_spooling_utilities.o: $(SPOOLLIB_DIR)/test_sge_spooling_utilities.c
$(CC) $(CFLAGS) -c $(SPOOLLIB_DIR)/test_sge_spooling_utilities.c

View file

@ -0,0 +1,44 @@
$NetBSD: patch-ak,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
Add LDFLAGS
replace $(COMMLISTSLIB) with -lcommlists so that pkgsrc wrapper
doesnt reorder.
--- source/utilbin/Makefile.orig 2011-11-14 19:00:55.000000000 +0000
+++ source/utilbin/Makefile
@@ -146,7 +146,7 @@ read_raw.o: $(UTILBIN_DIR)/read_raw.c
#---------------------------------------------------------------------
echo_raw: echo_raw.o version.o $(UTILIB) $(RMONLIB) $(COMMLISTSLIB) $(LCKLIB)
- $(CC) $(CFLAGS) -o $@ $(LFLAGS) echo_raw.o version.o -luti -lrmon -llck $(COMMLISTSLIB) $(LIBS)
+ $(CC) $(CFLAGS) -o $@ $(LFLAGS) echo_raw.o version.o -luti -lrmon -llck -lcommlists $(LIBS)
echo_raw.o: $(UTILBIN_DIR)/echo_raw.c
$(CC) $(CFLAGS) -c $(UTILBIN_DIR)/echo_raw.c
@@ -188,7 +188,7 @@ signals.o: $(UTILBIN_DIR)/signals.c
#---------------------------------------------------------------------
loadcheck: loadcheck.o version.o $(WINGRIDLIB_DEP) $(UTILIB) $(RMONLIB) $(COMMLISTSLIB) $(LCKLIB) $(SGEOBJLIB) $(SGEOBJDLIB) $(CULLLIB)
- $(CC) -o $@ $(LFLAGS) loadcheck.o version.o -lsgeobj -lsgeobjd -lcull -luti $(WINGRIDLIB) -llck -lrmon $(COMMLISTSLIB) $(LOADAVGLIBS) $(LIBS)
+ $(CC) -o $@ $(LFLAGS) loadcheck.o version.o -lsgeobj -lsgeobjd -lcull -luti $(WINGRIDLIB) -llck -lrmon -lcommlists $(LOADAVGLIBS) $(LIBS)
loadcheck.o: $(UTILBIN_DIR)/loadcheck.c
$(CC) $(CFLAGS) -c $(UTILBIN_DIR)/loadcheck.c
@@ -222,7 +222,7 @@ fstype.o: $(UTILBIN_DIR)/fstype.c
$(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) $(SGEOBJLIB) $(SGEOBJDLIB) $(COMMLIB) $(COMMLISTSLIB) $(CULLLIB) $(LCKLIB) $(WINGRIDLIB_DEP) $(UTILIB) $(RMONLIB)
- $(CC) -o $@ $(LFLAGS) spooldefaults.o version.o sge_mt_init.o -lspoolc $(SPOOLING_LIBS) -lsched -levc -lgdi -lsgeobj -lsgeobjd $(SECLIB) $(KRBLIB) -lcull -lcomm -lcommlists -luti $(WINGRIDLIB) -llck -lrmon $(DLLIB) $(SLIBS) $(LIBS)
+ $(CC) -o $@ $(LFLAGS) $(COMPILER_RPATH_FLAG)$(SGE_ROOT)/lib/$(SGE_ARCH) spooldefaults.o version.o sge_mt_init.o -lspoolc $(SPOOLING_LIBS) -lsched -levc -lgdi -lsgeobj -lsgeobjd $(SECLIB) $(KRBLIB) -lcull -lcomm -lcommlists -luti $(WINGRIDLIB) -llck -lrmon $(DLLIB) $(SLIBS) $(LIBS)
spooldefaults.o: $(UTILBIN_DIR)/spooldefaults.c
$(CC) $(CFLAGS) -c $(UTILBIN_DIR)/spooldefaults.c
@@ -290,7 +290,7 @@ valid_jvmlib.o: $(UTILBIN_DIR)/valid_jv
$(CC) $(CFLAGS) -c $(UTILBIN_DIR)/valid_jvmlib.c
#---------------------------------------------------------------------
-AUTHUSER_ADD_LIBS = -luti -llck -lrmon $(COMMLISTSLIB) $(DLLIB)
+AUTHUSER_ADD_LIBS = -luti -llck -lrmon -lcommlists $(DLLIB)
authuser: authuser.o juti.o $(UTILIB) $(LCKLIB) $(RMONLIB) $(COMMLISTSLIB)
$(CC) -o authuser $(LFLAGS) authuser.o juti.o $(AUTHLIBS) $(AUTHUSER_ADD_LIBS) $(LIBS)

View file

@ -0,0 +1,119 @@
$NetBSD: patch-am,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/aimk.orig 2011-11-14 19:01:16.000000000 +0000
+++ source/aimk
@@ -412,7 +412,7 @@ set SPOOLING_DEPS = "spoolloaderlib sp
# 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/${BDB_LIB_SUBDIR}"
+set SHARED_LFLAGS = "$SHARED_LFLAGS -L$BERKELEYDB_HOME/lib/${BDB_LIB_SUBDIR} -R$BERKELEYDB_HOME/lib"
# JUTI Targets
set JUTI_ALL = juti_all
@@ -1301,9 +1301,9 @@ case NETBSD_*:
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 $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include"
+ set CFLAGS = "$OFLAG -Wall -DNETBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I${X11BASE}/include"
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"
@@ -1311,9 +1311,9 @@ case NETBSD_*:
set AUTHLIBS = "-lcrypt -lpam"
set XMTDEF = ""
- set XINCD = "$XMTINCD $XINCD -I/usr/X11/include -I/usr/pkg/include"
+ set XINCD = "$XMTINCD $XINCD -I${X11BASE}/include"
set XCFLAGS = "-Wno-strict-prototypes -Wno-error $XMTDEF $XINCD $XCFLAGS"
- set XLIBD = "-L/usr/X11R6/lib -R/usr/X11R6/lib -L/usr/pkg/lib -R /usr/pkg/lib"
+ set XLIBD = "-L${X11BASE}/lib -R${X11BASE}/lib -L${LOCALBASE}/lib -R ${LOCALBASE}/lib"
set XLFLAGS = "$XLIBD"
set XLIBS = " -lXm -lXpm -lXt -lXext -lX11 -lSM -lICE -lXp"
set RM = "rm -f"
@@ -2246,7 +2246,7 @@ endif
if ( $HWLOC == 1 ) then
set CFLAGS = "$CFLAGS -DTHREADBINDING -DHWLOC"
- set CORE_INCLUDE = "$CORE_INCLUDE -I$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/include/ -I$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/include"
+# set CORE_INCLUDE = "$CORE_INCLUDE -I$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/include/ -I$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/include"
# set LFLAGS = "$LFLAGS -L$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/src/.libs/"
# set LIBS = "$LIBS -lhwloc"
set LIBS = "-L$SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/src/.libs/ -lhwloc $LIBS"
@@ -2317,7 +2317,7 @@ if ( "$BUILDMAN" == 1 ) then
exit 1
endif
- $SOURCE/scripts/mk_ascman $SOURCE $SGE_PRODUCT_MODE $BUILDMAN $BUILDHTMLMAN $KVMAN
+ $SOURCE/scripts/mk_ascman $SOURCE $SGE_PRODUCT_MODE 0 $BUILDHTMLMAN $KVMAN
if ( $status != 0 ) then
echo not done
@@ -2581,36 +2581,36 @@ if ( "$PLPA" == 1 ) then
cd $SOURCE
endif
-if ( "$HWLOC" == 1 ) then
- echo _________3_r_d_p_a_r_t_y__H_W_L_O_C_______
-
- set maj_ver = `echo $HWLOC_VERSION| cut -f 1 -d .`
- set min_ver = `echo $HWLOC_VERSION| cut -f 2 -d .`
-
- if ( "$maj_ver" == 1 && "$min_ver" <= 2 ) then
- set HWLOC_CFLAGS_EXTRA = "--disable-xml"
- else
- set HWLOC_CFLAGS_EXTRA = "--disable-libxml2 --disable-pci"
- endif
-
- if ( ! -d $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH || \
- ! -r $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/Makefile ) then
- mkdir -p $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
- cd $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
- env CFLAGS="$HWLOC_CFLAGS" ../configure --enable-static --disable-shared $HWLOC_CFLAGS_EXTRA
- endif
+# if ( "$HWLOC" == 1 ) then
+# echo _________3_r_d_p_a_r_t_y__H_W_L_O_C_______
- cd $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
+# set maj_ver = `echo $HWLOC_VERSION| cut -f 1 -d .`
+# set min_ver = `echo $HWLOC_VERSION| cut -f 2 -d .`
- $MAKE $MAKEOPT -f Makefile "MAKE=$MAKE" "COMPILE_ARCH=$COMPILE_ARCH" $argv
+# if ( "$maj_ver" == 1 && "$min_ver" <= 2 ) then
+# set HWLOC_CFLAGS_EXTRA = "--disable-xml"
+# else
+# set HWLOC_CFLAGS_EXTRA = "--disable-libxml2 --disable-pci"
+# endif
+
+# if ( ! -d $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH || \
+# ! -r $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH/Makefile ) then
+# mkdir -p $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
+# cd $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
+# env CFLAGS="$HWLOC_CFLAGS" ../configure --enable-static --disable-shared $HWLOC_CFLAGS_EXTRA
+# endif
+
+# cd $SOURCE/3rdparty/hwloc/$HWLOC_DIRECTORY/$COMPILE_ARCH
+
+# $MAKE $MAKEOPT -f Makefile "MAKE=$MAKE" "COMPILE_ARCH=$COMPILE_ARCH" $argv
+
+# if ( $status != 0 ) then
+# echo not done
+# exit 1
+# endif
- if ( $status != 0 ) then
- echo not done
- exit 1
- endif
-
- cd $SOURCE
-endif
+# cd $SOURCE
+# endif
if ( "$MAKESTRPTIME" == 1 ) then
echo _________3_r_d_p_a_r_t_y__S_T_R_P_T_I_M_E_

View file

@ -0,0 +1,15 @@
$NetBSD: patch-at,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/dist/util/arch_variables.orig 2005-11-11 03:53:15.000000000 +1300
+++ source/dist/util/arch_variables
@@ -197,8 +197,8 @@ case $ARCH in
AWK=/usr/bin/awk
ECHO="/bin/echo"
RC_FILE=netbsd
- RC_PREFIX=/etc/rc.d
- RC_SUFFIX=.sh
+ RC_PREFIX=@rcd_dir@
+ RC_SUFFIX=
XTERM=/usr/X11R6/bin/xterm
MAILER=/usr/bin/mail
QLOGIN_COMMAND=telnet

View file

View file

@ -0,0 +1,77 @@
$NetBSD: patch-bd,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
Exclude Java files.
DESTDIR support.
--- source/scripts/distinst.orig 2011-11-14 23:00:44.000000000 +0400
+++ source/scripts/distinst 2012-02-22 01:09:06.000000000 +0400
@@ -75,13 +75,13 @@
# The last number listed here will be the verson linked from libdrmaa.so
DRMAA_SHARED_LIB_VERSIONS="1.0"
DRMAA_HEADER_FILES="libs/japi/drmaa.h"
-DRMAAJ_FILES="CLASSES/jdrmaa/drmaa"
+#DRMAAJ_FILES="CLASSES/jdrmaa/drmaa"
JNI_SHARED_LIBRARIES="libdrmaa libjuti libjgdi"
-JUTIJ_FILES="CLASSES/juti/juti"
-JGDIJ_FILES="libs/jgdi/build/jgdi"
-JJSV_FILES="CLASSES/jjsv/JSV"
+#JUTIJ_FILES="CLASSES/juti/juti"
+#JGDIJ_FILES="libs/jgdi/build/jgdi"
+#JJSV_FILES="CLASSES/jjsv/JSV"
JAVA_LIBRARIES="${DRMAAJ_FILES} ${JUTIJ_FILES} ${JGDIJ_FILES} ${JJSV_FILES}"
PVMSOURCES="start_pvm.c stop_pvm.c slave.c master.c spmd.c Makefile"
@@ -428,7 +428,7 @@
instopenssl=true
instbdb=true
instarco=false
-instguiinst=true
+instguiinst=false
instsgeinspect=false
enforce_shlibpath=false
@@ -527,11 +527,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)
@@ -897,13 +897,16 @@
$DEST_SGE_ROOT/util/sgeCA/*.cnf \
$DEST_SGE_ROOT/util/sgeSMF/*.xml \
$DEST_SGE_ROOT/util/sgeSMF/sge_smf_support.sh \
- $DEST_SGE_ROOT/util/DetectJvmLibrary.jar \
$DEST_SGE_ROOT/util/resources/calendars/* \
$DEST_SGE_ROOT/util/resources/centry/* \
$DEST_SGE_ROOT/util/resources/pe/* \
$DEST_SGE_ROOT/util/resources/schemas/*/* \
$DEST_SGE_ROOT/util/resources/usersets/*
+ if [ -f $DEST_SGE_ROOT/util/DetectJvmLibrary.jar ] ; then
+ Execute chmod 644 $DEST_SGE_ROOT/util/DetectJvmLibrary.jar
+ fi
+
Execute chmod 755 $DEST_SGE_ROOT/util/resources/jsv/jsv.sh \
$DEST_SGE_ROOT/util/resources/jsv/jjsv.sh \
$DEST_SGE_ROOT/util/resources/jsv/jsv.pl \
@@ -1085,9 +1088,6 @@
if [ -f CLASSES/herd/herd.jar ]; then
Execute cp CLASSES/herd/herd.jar $DEST_SGE_ROOT/lib/herd.jar
- elif [ $exit_on_error = true ]; then
- echo "\"CLASSES/herd/herd.jar\" not found. Installation failed."
- exit 1
fi
fi

View file

@ -0,0 +1,125 @@
$NetBSD: patch-bl,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/libs/comm/cl_ssl_framework.c.orig 2009-02-16 08:50:41.000000000 +0000
+++ source/libs/comm/cl_ssl_framework.c
@@ -104,6 +104,9 @@
#define OPENSSL_CONST const
#endif
+#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10000000L
+typedef _STACK STACK;
+#endif
#define cl_com_ssl_func__SSL_CTX_set_mode(ctx,op) \
cl_com_ssl_func__SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
@@ -161,8 +164,8 @@ static int (*cl_com_ssl
static void (*cl_com_ssl_func__SSL_set_bio) (SSL *s, BIO *rbio,BIO *wbio);
static int (*cl_com_ssl_func__SSL_accept) (SSL *ssl);
static void (*cl_com_ssl_func__SSL_CTX_free) (SSL_CTX *);
-static SSL_CTX* (*cl_com_ssl_func__SSL_CTX_new) (SSL_METHOD *meth);
-static SSL_METHOD* (*cl_com_ssl_func__SSLv23_method) (void);
+static SSL_CTX* (*cl_com_ssl_func__SSL_CTX_new) (const SSL_METHOD *meth);
+static const SSL_METHOD* (*cl_com_ssl_func__SSLv23_method) (void);
static int (*cl_com_ssl_func__SSL_CTX_use_certificate_chain_file) (SSL_CTX *ctx, const char *file);
static int (*cl_com_ssl_func__SSL_CTX_use_certificate) (SSL_CTX *ctx, X509 *cert);
static int (*cl_com_ssl_func__SSL_CTX_use_PrivateKey_file) (SSL_CTX *ctx, const char *file, int type);
@@ -243,9 +246,9 @@ static void (*cl_com_ssl
static void (*cl_com_ssl_func__X509_STORE_CTX_set_error) (X509_STORE_CTX *ctx,int s);
static void (*cl_com_ssl_func__X509_OBJECT_free_contents) (X509_OBJECT *a);
static ASN1_INTEGER* (*cl_com_ssl_func__X509_get_serialNumber) (X509 *x);
-static int (*cl_com_ssl_func__X509_cmp_current_time) (ASN1_TIME *s);
-static int (*cl_com_ssl_func__ASN1_INTEGER_cmp) (ASN1_INTEGER *x, ASN1_INTEGER *y);
-static long (*cl_com_ssl_func__ASN1_INTEGER_get) (ASN1_INTEGER *a);
+static int (*cl_com_ssl_func__X509_cmp_current_time) (const ASN1_TIME *s);
+static int (*cl_com_ssl_func__ASN1_INTEGER_cmp) (const ASN1_INTEGER *x, const ASN1_INTEGER *y);
+static long (*cl_com_ssl_func__ASN1_INTEGER_get) (const ASN1_INTEGER *a);
static int (*cl_com_ssl_func__X509_CRL_verify) (X509_CRL *a, EVP_PKEY *r);
static EVP_PKEY* (*cl_com_ssl_func__X509_get_pubkey) (X509 *x);
static int (*cl_com_ssl_func__X509_STORE_set_default_paths) (X509_STORE *ctx);
@@ -1040,7 +1043,7 @@ static int cl_com_ssl_build_symbol_table
{
char* func_name = NULL;
int had_errors = 0;
-#if defined(FREEBSD) || defined(DARWIN)
+#if defined(NETBSD) || defined(FREEBSD) || defined(DARWIN)
void* cl_com_ssl_crypto_handle_saved = NULL;
#endif
@@ -1062,7 +1065,7 @@ static int cl_com_ssl_build_symbol_table
cl_com_ssl_crypto_handle = dlopen ("libssl.dylib", RTLD_NOW | RTLD_GLOBAL );
#endif /* RTLD_NODELETE */
-#elif defined(FREEBSD)
+#elif defined(NETBSD) || defined(FREEBSD)
#ifdef RTLD_NODELETE
cl_com_ssl_crypto_handle = dlopen ("libssl.so", RTLD_LAZY | RTLD_GLOBAL | RTLD_NODELETE);
#else
@@ -1091,7 +1094,7 @@ static int cl_com_ssl_build_symbol_table
return CL_RETVAL_SSL_DLOPEN_SSL_LIB_FAILED;
}
-#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
@@ -1204,14 +1207,14 @@ static int cl_com_ssl_build_symbol_table
}
func_name = "SSL_CTX_new";
- cl_com_ssl_func__SSL_CTX_new = (SSL_CTX* (*)(SSL_METHOD *meth))dlsym(cl_com_ssl_crypto_handle, func_name);
+ cl_com_ssl_func__SSL_CTX_new = (SSL_CTX* (*)(const SSL_METHOD *meth))dlsym(cl_com_ssl_crypto_handle, func_name);
if (cl_com_ssl_func__SSL_CTX_new == NULL) {
CL_LOG_STR(CL_LOG_ERROR,"dlsym error: can't get function address:", func_name);
had_errors++;
}
func_name = "SSLv23_method";
- cl_com_ssl_func__SSLv23_method = (SSL_METHOD* (*)(void))dlsym(cl_com_ssl_crypto_handle, func_name);
+ cl_com_ssl_func__SSLv23_method = (const SSL_METHOD* (*)(void))dlsym(cl_com_ssl_crypto_handle, func_name);
if (cl_com_ssl_func__SSLv23_method == NULL) {
CL_LOG_STR(CL_LOG_ERROR,"dlsym error: can't get function address:", func_name);
had_errors++;
@@ -1750,21 +1753,21 @@ static int cl_com_ssl_build_symbol_table
}
func_name = "X509_cmp_current_time";
- cl_com_ssl_func__X509_cmp_current_time = (int (*)(ASN1_TIME *s))dlsym(cl_com_ssl_crypto_handle, func_name);
+ cl_com_ssl_func__X509_cmp_current_time = (int (*)(const ASN1_TIME *s))dlsym(cl_com_ssl_crypto_handle, func_name);
if (cl_com_ssl_func__X509_cmp_current_time == NULL) {
CL_LOG_STR(CL_LOG_ERROR,"dlsym error: can't get function address:", func_name);
had_errors++;
}
func_name = "ASN1_INTEGER_cmp";
- cl_com_ssl_func__ASN1_INTEGER_cmp = (int (*)(ASN1_INTEGER *x, ASN1_INTEGER *y))dlsym(cl_com_ssl_crypto_handle, func_name);
+ cl_com_ssl_func__ASN1_INTEGER_cmp = (int (*)(const ASN1_INTEGER *x, const ASN1_INTEGER *y))dlsym(cl_com_ssl_crypto_handle, func_name);
if (cl_com_ssl_func__ASN1_INTEGER_cmp == NULL) {
CL_LOG_STR(CL_LOG_ERROR,"dlsym error: can't get function address:", func_name);
had_errors++;
}
func_name = "ASN1_INTEGER_get";
- cl_com_ssl_func__ASN1_INTEGER_get = (long (*)(ASN1_INTEGER *a))dlsym(cl_com_ssl_crypto_handle, func_name);
+ cl_com_ssl_func__ASN1_INTEGER_get = (long (*)(const ASN1_INTEGER *a))dlsym(cl_com_ssl_crypto_handle, func_name);
if (cl_com_ssl_func__ASN1_INTEGER_get == NULL) {
CL_LOG_STR(CL_LOG_ERROR,"dlsym error: can't get function address:", func_name);
had_errors++;
@@ -1813,7 +1816,7 @@ static int cl_com_ssl_build_symbol_table
return CL_RETVAL_SSL_CANT_LOAD_ALL_FUNCTIONS;
}
-#if defined(FREEBSD)
+#if defined(FREEBSD) || defined(NETBSD)
cl_com_ssl_crypto_handle = cl_com_ssl_crypto_handle_saved;
#endif
@@ -1918,7 +1921,7 @@ static int cl_com_ssl_build_symbol_table
cl_com_ssl_func__SSL_CTX_get_ex_data = (void* (*)(SSL_CTX *ssl,int idx))SSL_CTX_get_ex_data;
cl_com_ssl_func__SSL_CTX_set_ex_data = SSL_CTX_set_ex_data;
cl_com_ssl_func__sk_num = sk_num;
- cl_com_ssl_func__sk_value = sk_value;
+ cl_com_ssl_func__sk_value = (char* (*)(const STACK *, int))sk_value;
cl_com_ssl_func__X509_STORE_get_by_subject = X509_STORE_get_by_subject;
cl_com_ssl_func__EVP_PKEY_free = EVP_PKEY_free;
cl_com_ssl_func__X509_STORE_CTX_set_error = X509_STORE_CTX_set_error;

View file

@ -0,0 +1,60 @@
$NetBSD: patch-bm,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
DESTDIR support.
--- source/dist/util/setfileperm.sh.orig 2011-11-14 23:00:55.000000000 +0400
+++ source/dist/util/setfileperm.sh 2012-02-22 01:42:23.000000000 +0400
@@ -49,7 +49,7 @@
PATH=/bin:/usr/bin:/usr/sbin
FILELIST="3rd_party bin ckpt dtrace examples inst_sge install_execd install_qmaster \
- lib mpi pvm qmon util utilbin start_gui_installer"
+ lib mpi pvm qmon util utilbin"
OPTFILES="catman doc include man hadoop"
@@ -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
@@ -183,7 +183,7 @@
done
fi
-cd $1
+cd $DESTDIR$1
if [ $? != 0 ]; then
$ECHO "ERROR: can't change to directory \"$1\". Exiting."
exit 1

View file

View file

View file

View file

@ -0,0 +1,13 @@
$NetBSD: patch-daemons_common_procfs.c,v 1.1.1.1 2012/03/21 20:48:53 asau Exp $
--- source/daemons/common/procfs.c.orig 2006-03-10 06:03:19.000000000 +0000
+++ source/daemons/common/procfs.c
@@ -338,6 +338,8 @@ void procfs_kill_addgrpid(gid_t add_grp_
* uids[3], gids[3] => FSUID and FSGID
*/
groups = 0;
+ /* silence gcc's -Werror */
+ uids[0] = uids[1] = gids[0] = gids[1] = 0;
while (fgets(buffer, sizeof(buffer), fp)) {
char *label = NULL;
char *token = NULL;