debian/0000775000000000000000000000000012254032535007171 5ustar debian/torque-server.init0000664000000000000000000000323312254032111012670 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: torque-server # Required-Start: $remote_fs $local_fs $named $network $time # Required-Stop: $remote_fs $local_fs $named $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop the PBS server # Description: PBS is a versatile batch system for SMPs and clusters. # This script controls the server process. ### END INIT INFO PATH=/usr/sbin:/usr/bin:/sbin:/bin DAEMON=/usr/sbin/pbs_server NAME=torque-server DESC="Torque batch queue server" PIDFILE=/var/spool/torque/server_priv/server.lock test -x $DAEMON || exit 0 # Include torque defaults if available if [ -f /etc/default/torque-server ]; then . /etc/default/torque-server elif [ -f /etc/default/torque ]; then . /etc/default/torque fi # Load lsb functions . /lib/lsb/init-functions case "$1" in start) log_daemon_msg "Starting $DESC" if [ ! -r /var/spool/torque/server_priv/serverdb ]; then DAEMON_SERVER_OPTS="-t create $DAEMON_SERVER_OPTS" fi log_progress_msg "$NAME" start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- $DAEMON_SERVER_OPTS log_end_msg $? ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" start-stop-daemon --stop --quiet --pidfile $PIDFILE \ --exec $DAEMON log_end_msg $? ;; reload|force-reload) log_daemon_msg "Reloading $DESC configuration files" "$NAME" start-stop-daemon --stop --signal 1 --quiet \ --pidfile $PIDFILE --exec $DAEMON log_end_msg $? ;; restart) $0 stop && sleep 2 && $0 start ;; *) N=/etc/init.d/`basename $0` echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 exit 1 ;; esac exit 0 debian/torque-mom.init0000664000000000000000000000313612254032111012154 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: torque-mom # Required-Start: $remote_fs $local_fs $named $network # Required-Stop: $remote_fs $local_fs $named $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop the PBS Mom # Description: PBS is a versatile batch system for SMPs and clusters. # This script controls the mom process. ### END INIT INFO PATH=/usr/sbin:/usr/bin:/sbin:/bin DAEMON=/usr/sbin/pbs_mom NAME=torque-mom DESC="Torque Mom" PIDFILE=/var/spool/torque/mom_priv/mom.lock test -x $DAEMON || exit 0 # Include defaults if available if [ -f /etc/default/$NAME ] ; then . /etc/default/$NAME fi # Load lsb functions . /lib/lsb/init-functions case "$1" in start) log_daemon_msg "Starting $DESC" "$NAME" start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- $DAEMON_OPTS log_end_msg $? ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" start-stop-daemon --stop --quiet --pidfile $PIDFILE \ --exec $DAEMON log_end_msg $? ;; reload|force-reload) log_daemon_msg "Reoading $DESC configuration files" "$NAME" start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE \ --exec $DAEMON log_end_msg $? ;; restart) log_daemon_msg "Restarting $DESC" "$NAME" start-stop-daemon --stop --quiet --pidfile $PIDFILE \ --exec $DAEMON sleep 1 start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- $DAEMON_OPTS log_end_msg $? ;; *) N=/etc/init.d/$NAME log_action_msg "Usage: /etc/init.d/torque-mom {start|stop|restart|reload|force-reload}" exit 2 ;; esac exit 0 debian/torque-scheduler.lintian-overrides0000664000000000000000000000047412254032111016037 0ustar torque-scheduler: file-in-unusual-dir var/spool/torque/sched_priv/dedicated_time torque-scheduler: file-in-unusual-dir var/spool/torque/sched_priv/holidays torque-scheduler: file-in-unusual-dir var/spool/torque/sched_priv/resource_group torque-scheduler: file-in-unusual-dir var/spool/torque/sched_priv/sched_config debian/torque-server.lintian-overrides0000664000000000000000000000011212254032111015354 0ustar torque-server: non-standard-dir-perm var/spool/torque/spool/ 1777 != 0755 debian/torque-common.docs0000664000000000000000000000020112254032111012627 0ustar README.torque README.configure torque.setup Release_Notes CHANGELOG #doc/admin_guide.ps src/pam/README.pam contrib/README.pbstop debian/control0000664000000000000000000001403112254032111010561 0ustar Source: torque Section: net Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Morten Kjeldgaard Uploaders: Dominique Belhachemi , Jordi Mallach , Steffen Moeller Build-Depends: autotools-dev (>= 20100122.1~), dh-autoreconf, chrpath, debhelper (>= 7), libpam0g-dev, libkvm-dev [kfreebsd-any], openssh-client, tcl8.5-dev, tk8.5-dev, libreadline-dev, dpkg-dev (>= 1.16.0) Standards-Version: 3.9.1 DM-Upload-Allowed: yes XS-Autobuild: yes Vcs-Browser: http://svn.debian.org/wsvn/pkg-escience/torque/trunk/?rev=0&sc=0 Vcs-Svn: svn://svn.debian.org/svn/pkg-escience/torque/trunk/ Homepage: http://www.clusterresources.com/pages/products/torque/ Package: torque-common Section: utils Architecture: any Depends: ${misc:Depends} Recommends: torque-client | torque-server | torque-mom, openssh-client Description: Torque Queueing System shared files TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource manager providing control over batch jobs and distributed compute nodes. Torque is based on OpenPBS version 2.3.12 and incorporates scalability, fault tolerance, and feature extension patches provided by USC, NCSA, OSC, the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many other leading edge HPC organizations. . This package contains a series of files and directories that are shared between client, server and mom, that can only be installed once. Package: torque-server Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-3), torque-common Recommends: torque-scheduler, torque-client | torque-client-x11 Suggests: torque-mom Conflicts: torque-client (<= 2.4) Description: PBS-derived batch processing server The TORQUE server dispatches jobs across physically separated machines. It may also be beneficial for single machines to organise the sequential execution of multiple jobs. . Torque stands for "Tera-scale Open-source Resource and QUEue manager". It is based on OpenPBS version 2.3.12 and incorporates scalability, fault tolerance, and feature extension patches provided by USC, NCSA, OSC, the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many other leading edge HPC organizations. Package: torque-pam Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, torque-common Recommends: torque-client | torque-client-x11 Description: PAM module for PBS MOM nodes The TORQUE server dispatches jobs across physically separated machines. It may also be beneficial for single machines to organise the sequential execution of multiple jobs. . A simple PAM module to authorize users on PBS MOM nodes with a running job. Package: torque-scheduler Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, torque-common Description: scheduler part of Torque The TORQUE server dispatches jobs across physically separated machines. It may also be beneficial for single machines to organise the sequential execution of multiple jobs. . This package contains the fifo C scheduler. Package: torque-client Section: utils Architecture: any Conflicts: qterm, gridengine-client Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}, libcurses-perl, gawk, torque-common Description: command line interface to Torque server The TORQUE server dispatches jobs across physically separated machines. It may also be beneficial for single machines to organise the sequential execution of multiple jobs. . This package contains the command-line client programs. These should be installed on all hosts that should be able to submit jobs, query for their status or cancel their execution. The client contacts the server directly. Package: torque-mom Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-3), torque-common Description: job execution engine for Torque batch system The TORQUE server dispatches jobs across physically separated machines. It may also be beneficial for single machines to organise the sequential execution of multiple jobs. . The pbs_mom daemon is executed on those machines that perform the computations. This package should be installed on all these execute hosts. The mom, the client and the server can all be installed on the same machine. Package: torque-client-x11 Provides: torque-client Conflicts: torque-client, qterm, gridengine-client Replaces: torque-gui Section: x11 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libcurses-perl, gawk, torque-common Description: GUI for torque clients The TORQUE server dispatches jobs across physically separated machines. It may also be beneficial for single machines to organise the sequential execution of multiple jobs. . These clients feature the same functionality as their regular counterparts and also allow for a graphical interaction. Package: libtorque2 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: shared library for Torque client and server The TORQUE server dispatches jobs across physically separated machines. It may also be beneficial for single machines to organise the sequential execution of multiple jobs. . Clients, mom and server all share a certain set of shared libraries that are combined in this library. Package: libtorque2-dev Section: libdevel Provides: libtorque-dev Conflicts: libtorque-dev Architecture: any Depends: libtorque2 (= ${binary:Version}), libkvm-dev [kfreebsd-any], ${shlibs:Depends}, ${misc:Depends} Description: header files for libtorque2 The TORQUE server dispatches jobs across physically separated machines. It may also be beneficial for single machines to organise the sequential execution of multiple jobs. . This package includes the header files and static libraries necessary for developing programs which will use torque. debian/torque-mom.lintian-overrides0000664000000000000000000000022412254032111014642 0ustar torque-mom: non-standard-dir-perm var/spool/torque/spool/ 1777 != 0755 torque-mom: non-standard-dir-perm var/spool/torque/undelivered/ 1777 != 0755 debian/watch0000664000000000000000000000016612254032111010213 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://www.clusterresources.com/downloads/torque/torque-([\d.b]*)\.tar\.gz debian/torque-server.manpages0000664000000000000000000000005312254032111013515 0ustar debian/tmp/usr/share/man/man8/pbs_server.8 debian/torque-client.lintian-overrides0000664000000000000000000000007512254032111015334 0ustar torque-client: setuid-binary usr/sbin/pbs_iff 4755 root/root debian/README.Debian0000664000000000000000000001210012254032111011212 0ustar Torque was package for many distributions already. And it happened, that slightly different approaches were taken for Ubuntu and Debian. This package is the result of a joint effort of Ubuntu developer Morten Kjeldgaard and Debian developer Steffen Moeller to come up with packaging strategy that both distributions can easily share. The Debian packaging was originally crafted by Daniel Bayer. The most recent changes are being introduced by Dominique Belhachemi, who uses Torque as the basis for his Google Summer of Code project over mid 2010. WIKI ==== Additional information can be found in our wiki: * http://wiki.debian.org/Torque * Short and incomplete pointers to setting up the torque batch system =================================================================== The default torque server name is "torqueserver". This name is defined in the file `/etc/torque/server_name`. You can either change this, add respective entries to /etc/hosts or, if you have access to the nameserver, add a torqueserver CNAME record pointing to the actual machine. To change that name later is some error-prone process that you might want to avoid, since all users need to update their SSH known hosts entries. This README will describe a simple setup with a single head node that does not itself act as a compute server. Submitted jobs will be executed on distinct compute nodes. In our setup, users have their home directories on NFS mounted shares that are accesible from all workstations and also the compute nodes (via autofs). For the system to work smoothly, it is important that you have set up passwordless ssh, so compute nodes can copy the batch queue log files back to the users' disk area. Changing the name of the server will impose the need to reperform that SSH setup. Head node --------- On the head node, you need to run the torque-server and torque-scheduler. The scheduler is a simple one, you can substitute it with a more sophisticated one like maui, also distributed from http://www.clusterresources.com/[clusterressources.org] (unfortunately, maui has a license too strict to distribute as packages.) Compute node ------------ On each of the compute nodes, you need to install at least torque-mom. Submit hosts ------------ You also need a number of submit hosts, that may or may not include the head and compute nodes. On these, you need to install the software in torque-client. In our case, users do their work on a desktop workstation in their offices or in the computing room. You can submit jobs from each of these, these jobs are forwarded to the head node (torque-server) and there scheduled for execution. Add to /etc/services -------------------- If you want to have names associated with the ports that are used by torque, you may want to patch /etc/services: if grep -q '^pbs' /etc/services; then echo "/etc/services already offers a pbs entry. Not touched: " grep ^pbs /etc/services else cat >>/etc/services < /var/lib/torque/server_priv/nodes hostname --long > /var/lib/torque/server_name hostname --long > /var/lib/torque/mom_priv/config ps aux | grep -v grep | grep -q pbs_server || pbs_server -t create qmgr -c "s s scheduling=true" qmgr -c "c q batch queue_type=execution" qmgr -c "s q batch started=true" qmgr -c "s q batch enabled=true" qmgr -c "s q batch resources_default.nodes=1" qmgr -c "s q batch resources_default.walltime=3600" qmgr -c "s s default_queue=batch" invoke-rc.d restart invoke-rc.d restart invoke-rc.d restart qmgr -c "s n `/bin/hostname --long` state=free" -e and enjoy your very own batch server! Morten Kjeldgaard January 2008 -- Morten Kjeldgaard , Sat, 9 Feb 2008 23:01:19 +0100 debian/source/0000775000000000000000000000000012254032534010470 5ustar debian/source/format0000664000000000000000000000001412254032111011665 0ustar 3.0 (quilt) debian/torque-common.lintian-overrides0000664000000000000000000000020412254032111015340 0ustar torque-common: file-in-unusual-dir var/spool/torque/pbs_environment torque-common: file-in-unusual-dir var/spool/torque/server_name debian/rules0000775000000000000000000002116212254032111010241 0ustar #!/usr/bin/make -f # # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) CFLAGS += -Wall ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif PAM_DIR=/lib/security OPTIONS = CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" \ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --disable-static \ --enable-syslog \ --enable-rpp --with-rcp=scp \ --with-default-server=torqueserver \ --with-pam=$(PAM_DIR) \ --with-sendmail=/usr/sbin/sendmail \ --with-server-name-file=/etc/torque/server_name \ --disable-gcc-warnings configure: configure-stamp configure-stamp: dh_testdir dh_autoreconf ln -sf $(CURDIR) /tmp/torque-src mkdir -p debian/build/with-x mkdir -p debian/build/without-x cd debian/build/with-x && /tmp/torque-src/configure $(OPTIONS) \ --srcdir /tmp/torque-src \ --with-tcl=/usr/lib/$(DEB_HOST_MULTIARCH)/tcl8.5 --with-tk=/usr/lib/$(DEB_HOST_MULTIARCH)/tk8.5 \ --disable-server --disable-mom cd debian/build/without-x && /tmp/torque-src/configure $(OPTIONS) \ --srcdir /tmp/torque-src \ --without-tcl --without-tclx --without-tk touch $@ #Architecture build: build-arch build-arch: build-arch-stamp build-arch-stamp: configure $(MAKE) -C debian/build/with-x $(MAKE) -C debian/build/without-x touch $@ clean: dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp configure-stamp rm -rf debian/build dh_autoreconf_clean dh_clean rm -f torque-2.4.16 install: build dh_testdir dh_testroot dh_prep dh_installdirs mkdir -p $(CURDIR)/debian/torque-common/var/spool/torque/ ln -s /etc/torque/server_name $(CURDIR)/debian/torque-common/var/spool/torque/server_name $(MAKE) -C debian/build/without-x install_lib DESTDIR=$(CURDIR)/debian/libtorque2 -mv $(CURDIR)/debian/libtorque2/$(PAM_DIR)/pam_pbssimpleauth.so $(CURDIR)/debian/torque-pam/$(PAM_DIR)/pam_pbssimpleauth.so rm -f $(CURDIR)/debian/libtorque2/usr/lib/libtorque.a rm -f $(CURDIR)/debian/libtorque2/usr/lib/libtorque.la rm -f $(CURDIR)/debian/libtorque2/usr/lib/libtorque.so $(MAKE) -C debian/build/without-x install_devel DESTDIR=$(CURDIR)/debian/libtorque2-dev rm -f $(CURDIR)/debian/libtorque2-dev/usr/lib/libtorque.so.* $(MAKE) -C debian/build/without-x install_server DESTDIR=$(CURDIR)/debian/torque-server chrpath --delete $(CURDIR)/debian/torque-server/usr/sbin/pbs_server [ -d $(CURDIR)/debian/torque-scheduler/var/spool/torque/sched_priv ] && \ rm -r $(CURDIR)/debian/torque-scheduler/var/spool/torque/sched_priv mv $(CURDIR)/debian/torque-server/usr/sbin/qschedd $(CURDIR)/debian/torque-server/usr/sbin/pbs_sched \ $(CURDIR)/debian/torque-scheduler/usr/sbin/ chrpath --delete $(CURDIR)/debian/torque-scheduler/usr/sbin/pbs_sched \ $(CURDIR)/debian/torque-scheduler/usr/sbin/qschedd mv $(CURDIR)/debian/torque-server/var/spool/torque/sched_priv \ $(CURDIR)/debian/torque-scheduler/var/spool/torque/ # redundant with server package -> mv to -common if [ -r $(CURDIR)/debian/torque-server/var/spool/torque/pbs_environment ]; then \ mv $(CURDIR)/debian/torque-server/var/spool/torque/pbs_environment \ $(CURDIR)/debian/torque-common/var/spool/torque/pbs_environment; \ fi echo "Removing the directory /usr/lib from server package, which contains the following files: " -find $(CURDIR)/debian/torque-server/usr/lib rm -rf $(CURDIR)/debian/torque-server/usr/lib $(MAKE) -C debian/build/without-x install_pam DESTDIR=$(CURDIR)/debian/torque-pam rm -rf $(CURDIR)/debian/torque-pam/$(PAM_DIR)/*.la $(MAKE) -C debian/build/without-x install_clients DESTDIR=$(CURDIR)/debian/torque-client rm -rf $(CURDIR)/debian/torque-client/usr/lib chrpath --delete `ls $(CURDIR)/debian/torque-client/usr/bin/* | egrep -v '/(nqs2pbs|xpbs)' ` chrpath --delete $(CURDIR)/debian/torque-client/usr/sbin/pbs_iff cp $(CURDIR)/contrib/pbstop $(CURDIR)/debian/torque-client/usr/bin chmod 755 $(CURDIR)/debian/torque-client/usr/bin/pbstop chrpath --delete $(CURDIR)/debian/torque-client/usr/sbin/momctl rm -f $(CURDIR)/debian/torque-client/var/spool/torque/server_name $(MAKE) -C debian/build/with-x install_clients DESTDIR=$(CURDIR)/debian/torque-client-x11 $(MAKE) -C debian/build/with-x install_gui DESTDIR=$(CURDIR)/debian/torque-client-x11 rm -rf $(CURDIR)/debian/torque-client-x11/usr/lib/libtorque.* rm -f $(CURDIR)/debian/torque-client-x11/var/spool/torque/server_name chrpath --delete `ls $(CURDIR)/debian/torque-client-x11/usr/bin/* | egrep -v '/(nqs2pbs|xpbs)'` chrpath --delete $(CURDIR)/debian/torque-client-x11/usr/lib/xpbs/bin/xpbs_datadump chrpath --delete $(CURDIR)/debian/torque-client-x11/usr/lib/xpbs/bin/xpbs_scriptload chrpath --delete $(CURDIR)/debian/torque-client-x11/usr/sbin/momctl chrpath --delete $(CURDIR)/debian/torque-client-x11/usr/sbin/pbs_iff cp $(CURDIR)/contrib/pbstop $(CURDIR)/debian/torque-client-x11/usr/bin chmod 755 $(CURDIR)/debian/torque-client/usr/bin/pbstop $(MAKE) -C debian/build/without-x install_mom DESTDIR=$(CURDIR)/debian/torque-mom rm -rf $(CURDIR)/debian/torque-mom/usr/lib $(CURDIR)/debian/torque-mom/var/spool/torque/server_name $(CURDIR)/debian/torque-mom/etc/torque/server_name rm -f $(CURDIR)/debian/torque-mom/usr/sbin/momctl chrpath --delete $(CURDIR)/debian/torque-mom/usr/sbin/pbs_demux chrpath --delete $(CURDIR)/debian/torque-mom/usr/sbin/pbs_mom # redundant with server package -> mv to -common if [ -r $(CURDIR)/debian/torque-mom/var/spool/torque/pbs_environment ]; then \ mv $(CURDIR)/debian/torque-mom/var/spool/torque/pbs_environment \ $(CURDIR)/debian/torque-common/var/spool/torque/pbs_environment; \ fi if [ ! -r $(CURDIR)/debian/torque-common/var/spool/torque/pbs_environment ]; then \ touch $(CURDIR)/debian/torque-common/var/spool/torque/pbs_environment; \ fi # mv /etc/torque/server_name to torque-common if [ -r $(CURDIR)/debian/torque-client-x11/etc/torque/server_name ]; then \ mkdir -p $(CURDIR)/debian/torque-common/etc/torque/; \ mv $(CURDIR)/debian/torque-client-x11/etc/torque/server_name \ $(CURDIR)/debian/torque-common/etc/torque/server_name; \ rm -rf $(CURDIR)/debian/torque-client-x11/etc/; \ fi if [ -r $(CURDIR)/debian/torque-client/etc/torque/server_name ]; then \ rm -f $(CURDIR)/debian/torque-client/etc/torque/server_name; \ rm -rf $(CURDIR)/debian/torque-client/etc/; \ fi $(MAKE) -C debian/build/without-x install_doc DESTDIR=$(CURDIR)/debian/tmp dh_install binary-arch: install dh_testdir dh_testroot dh_installchangelogs CHANGELOG dh_installdocs dh_installexamples # dh_installmenu # dh_installdebconf # dh_installlogrotate dh_installinit # dh_installcron # dh_installinfo dh_lintian dh_installman dh_link dh_strip dh_compress dh_fixperms -X pbs_iff -X /var/spool/torque/spool -X /var/spool/torque/undelivered dh_makeshlibs -p libtorque2 -V dh_installdeb dh_perl dh_shlibdeps -l$(CURDIR)/debian/libtorque2/usr/lib/ -L libtorque2 dh_gencontrol dh_md5sums dh_builddeb binary: binary-arch # Extract upstream version from the current Debian changelog UVERSION := $(shell dpkg-parsechangelog | mawk '/^Version:/ { sub("\+.*", "", $$2); print $$2 }') get-orig-source: dh_testdir #uscan --force-download wget http://www.clusterresources.com/downloads/torque/torque-$(UVERSION).tar.gz -O ../torque_$(UVERSION).orig.tar.gz gunzip -dc ../torque_$(UVERSION).orig.tar.gz > ../torque_$(UVERSION)+dfsg.orig.tar tar --delete -f ../torque_$(UVERSION)+dfsg.orig.tar torque-$(UVERSION)/doc/admin_guide.ps tar --delete -f ../torque_$(UVERSION)+dfsg.orig.tar torque-$(UVERSION)/doc/v2_2_ids.pdf torque-$(UVERSION)/doc/v2_2_ers.pdf gzip --best ../torque_$(UVERSION)+dfsg.orig.tar .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch get-orig-source debian/compat0000664000000000000000000000000212254032111010355 0ustar 7 debian/torque-client-x11.manpages0000664000000000000000000000422412254032111014100 0ustar debian/tmp/usr/share/man/man8/pbsnodes.8 debian/tmp/usr/share/man/man1/qalter.1 debian/tmp/usr/share/man/man1/qdel.1 debian/tmp/usr/share/man/man1/qhold.1 debian/tmp/usr/share/man/man1/qmove.1 debian/tmp/usr/share/man/man1/qmsg.1 debian/tmp/usr/share/man/man1/qorder.1 debian/tmp/usr/share/man/man1/qrerun.1 debian/tmp/usr/share/man/man1/qrls.1 debian/tmp/usr/share/man/man1/qselect.1 debian/tmp/usr/share/man/man1/qsig.1 debian/tmp/usr/share/man/man1/qstat.1 debian/tmp/usr/share/man/man1/qsub.1 debian/tmp/usr/share/man/man1/pbs.1 debian/tmp/usr/share/man/man1/pbsdsh.1 debian/tmp/usr/share/man/man1/nqs2pbs.1 debian/tmp/usr/share/man/man1/basl2c.1 debian/tmp/usr/share/man/man1/qmgr.1 debian/tmp/usr/share/man/man7/pbs_job_attributes.7 debian/tmp/usr/share/man/man7/pbs_queue_attributes.7 debian/tmp/usr/share/man/man7/pbs_server_attributes.7 debian/tmp/usr/share/man/man7/pbs_resources_aix4.7 debian/tmp/usr/share/man/man7/pbs_resources_digitalunix.7 debian/tmp/usr/share/man/man7/pbs_resources_aix5.7 debian/tmp/usr/share/man/man7/pbs_resources_darwin.7 debian/tmp/usr/share/man/man7/pbs_resources_freebsd.7 debian/tmp/usr/share/man/man7/pbs_resources_freebsd5.7 debian/tmp/usr/share/man/man7/pbs_resources_fujitsu.7 debian/tmp/usr/share/man/man7/pbs_resources_hpux10.7 debian/tmp/usr/share/man/man7/pbs_resources_irix5.7 debian/tmp/usr/share/man/man7/pbs_resources_hpux11.7 debian/tmp/usr/share/man/man7/pbs_resources_irix6.7 debian/tmp/usr/share/man/man7/pbs_resources_irix6array.7 debian/tmp/usr/share/man/man7/pbs_resources_linux.7 debian/tmp/usr/share/man/man7/pbs_resources_netbsd.7 debian/tmp/usr/share/man/man7/pbs_resources_solaris5.7 debian/tmp/usr/share/man/man7/pbs_resources_solaris7.7 debian/tmp/usr/share/man/man7/pbs_resources_sp2.7 debian/tmp/usr/share/man/man7/pbs_resources_sunos4.7 debian/tmp/usr/share/man/man7/pbs_resources_unicos8.7 debian/tmp/usr/share/man/man7/pbs_resources_unicosmk2.7 debian/tmp/usr/share/man/man7/pbs_resources.7 debian/tmp/usr/share/man/man8/qdisable.8 debian/tmp/usr/share/man/man8/qenable.8 debian/tmp/usr/share/man/man8/qrun.8 debian/tmp/usr/share/man/man8/qstart.8 debian/tmp/usr/share/man/man8/qstop.8 debian/tmp/usr/share/man/man8/qterm.8 debian/torque-scheduler.init0000664000000000000000000000372012254032111013341 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: torque-scheduler # Required-Start: $all # Required-Stop: $all # Should-Start: $all # Should-Stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop the Torque scheduler # Description: PBS is a versatile batch system for SMPs and clusters. # This script controls the scheduler. ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/pbs_sched NAME=torque-scheduler DESC="Torque scheduler" PIDFILE=/var/spool/torque/sched_priv/sched.lock test -x $DAEMON || exit 0 # Include defaults if available if [ -f /etc/default/$NAME ] ; then . /etc/default/$NAME elif [ -f /etc/default/torque ]; then . /etc/default/torque fi # set -e cannot work, otherwise the log_end_msg will not be shown # set -e # Load lsb functions . /lib/lsb/init-functions case "$1" in start) log_begin_msg "Starting $DESC: " start-stop-daemon --start --quiet \ --pidfile $PIDFILE \ --exec $DAEMON -- $DAEMON_OPTS log_end_msg $? ;; stop) log_begin_msg "Stopping $DESC: " start-stop-daemon --stop --quiet \ --pidfile $PIDFILE \ --exec $DAEMON log_end_msg $? ;; reload) # send a SIGHUP to force scheduler to reload config file log_begin_msg "Reloading $DESC configuration files" start-stop-daemon --stop --signal 1 --quiet \ --pidfile $PIDFILE \ --exec $DAEMON log_end_msg $? ;; force-reload) # check whether $DAEMON is running. If so, restart start-stop-daemon --stop --test --quiet \ --pidfile $PIDFILE \ --exec $DAEMON \ && $0 restart \ || exit 0 ;; restart) log_begin_msg "Restarting $DESC: " start-stop-daemon --stop --quiet \ --pidfile $PIDFILE \ --exec $DAEMON sleep 1 start-stop-daemon --start --quiet \ --pidfile $PIDFILE \ --exec $DAEMON -- $DAEMON_OPTS log_end_msg $? ;; *) N=/etc/init.d/`basename $0` log_success_msg "Usage: $N {start|stop|restart|force-reload}" exit 1 ;; esac exit 0 debian/torque-client.manpages0000664000000000000000000000422412254032111013471 0ustar debian/tmp/usr/share/man/man1/basl2c.1 debian/tmp/usr/share/man/man1/nqs2pbs.1 debian/tmp/usr/share/man/man1/pbs.1 debian/tmp/usr/share/man/man1/pbsdsh.1 debian/tmp/usr/share/man/man1/qalter.1 debian/tmp/usr/share/man/man1/qdel.1 debian/tmp/usr/share/man/man1/qhold.1 debian/tmp/usr/share/man/man1/qmgr.1 debian/tmp/usr/share/man/man1/qmove.1 debian/tmp/usr/share/man/man1/qmsg.1 debian/tmp/usr/share/man/man1/qorder.1 debian/tmp/usr/share/man/man1/qrerun.1 debian/tmp/usr/share/man/man1/qrls.1 debian/tmp/usr/share/man/man1/qselect.1 debian/tmp/usr/share/man/man1/qsig.1 debian/tmp/usr/share/man/man1/qstat.1 debian/tmp/usr/share/man/man1/qsub.1 debian/tmp/usr/share/man/man7/pbs_job_attributes.7 debian/tmp/usr/share/man/man7/pbs_queue_attributes.7 debian/tmp/usr/share/man/man7/pbs_resources.7 debian/tmp/usr/share/man/man7/pbs_resources_aix4.7 debian/tmp/usr/share/man/man7/pbs_resources_aix5.7 debian/tmp/usr/share/man/man7/pbs_resources_darwin.7 debian/tmp/usr/share/man/man7/pbs_resources_digitalunix.7 debian/tmp/usr/share/man/man7/pbs_resources_freebsd5.7 debian/tmp/usr/share/man/man7/pbs_resources_freebsd.7 debian/tmp/usr/share/man/man7/pbs_resources_fujitsu.7 debian/tmp/usr/share/man/man7/pbs_resources_hpux10.7 debian/tmp/usr/share/man/man7/pbs_resources_hpux11.7 debian/tmp/usr/share/man/man7/pbs_resources_irix5.7 debian/tmp/usr/share/man/man7/pbs_resources_irix6.7 debian/tmp/usr/share/man/man7/pbs_resources_irix6array.7 debian/tmp/usr/share/man/man7/pbs_resources_linux.7 debian/tmp/usr/share/man/man7/pbs_resources_netbsd.7 debian/tmp/usr/share/man/man7/pbs_resources_solaris5.7 debian/tmp/usr/share/man/man7/pbs_resources_solaris7.7 debian/tmp/usr/share/man/man7/pbs_resources_sp2.7 debian/tmp/usr/share/man/man7/pbs_resources_sunos4.7 debian/tmp/usr/share/man/man7/pbs_resources_unicos8.7 debian/tmp/usr/share/man/man7/pbs_resources_unicosmk2.7 debian/tmp/usr/share/man/man7/pbs_server_attributes.7 debian/tmp/usr/share/man/man8/pbsnodes.8 debian/tmp/usr/share/man/man8/qdisable.8 debian/tmp/usr/share/man/man8/qenable.8 debian/tmp/usr/share/man/man8/qrun.8 debian/tmp/usr/share/man/man8/qstart.8 debian/tmp/usr/share/man/man8/qstop.8 debian/tmp/usr/share/man/man8/qterm.8 debian/patches/0000775000000000000000000000000012254032534010617 5ustar debian/patches/c90string.patch0000664000000000000000000000334012254032111013451 0ustar Author: Dominique Belhachemi Origin: Debian Description: Work around a build failure caused by ISO C90 string lengths. This is a workaround for a compilation error caused by strings greater than the length '509' ISO C90 compilers are required to support. Forwarded: not-needed Index: torque-2.4.8+dfsg/src/server/pbsd_main.c =================================================================== --- torque-2.4.8+dfsg.orig/src/server/pbsd_main.c 2010-01-22 14:03:53.000000000 -0500 +++ torque-2.4.8+dfsg/src/server/pbsd_main.c 2010-06-10 22:27:47.000000000 -0400 @@ -602,7 +602,7 @@ { printf("package: %s\n", PACKAGE_STRING); printf("sourcedir: %s\n", PBS_SOURCE_DIR); - printf("configure: %s\n", PBS_CONFIG_ARGS); + printf("configure: %s\n", "Please have a look at the build logs."); printf("buildcflags: %s\n", PBS_CFLAGS); printf("buildhost: %s\n", PBS_BUILD_HOST); printf("builddate: %s\n", PBS_BUILD_DATE); Index: torque-2.4.8+dfsg/src/resmom/mom_main.c =================================================================== --- torque-2.4.8+dfsg.orig/src/resmom/mom_main.c 2010-06-10 22:30:03.000000000 -0400 +++ torque-2.4.8+dfsg/src/resmom/mom_main.c 2010-06-10 22:30:34.000000000 -0400 @@ -6561,7 +6561,7 @@ { printf("package: %s\n", PACKAGE_STRING); printf("sourcedir: %s\n", PBS_SOURCE_DIR); - printf("configure: %s\n", PBS_CONFIG_ARGS); + printf("configure: %s\n", "Please have a look at the build logs."); printf("buildcflags: %s\n", PBS_CFLAGS); printf("buildhost: %s\n", PBS_BUILD_HOST); printf("builddate: %s\n", PBS_BUILD_DATE); debian/patches/CVE-2013-4495.patch0000664000000000000000000002430612254032136013246 0ustar Description: Make sending e-mail more robust - Use pipes instead of temporary files to pass the content to sendmail - Use comma as a delimiter for 'To:' addresses per RFC2822 - exec-like functions expect the first argument to be the name of the program - Provide multiple addresses to sendmail in separate arguments . CVE-2013-4495: remote code execution when submitting jobs. Origin: backport, https://github.com/adaptivecomputing/torque/commit/2ef36580cf2c6feef1e5356f798b13fd564cd111 Bug: https://github.com/adaptivecomputing/torque/pull/199 Bug-Debian: http://bugs.debian.org/729333 Forwarded: not-needed Author: David Beer Last-Update: 2013-11-11 Applied-Upstream: 4.2.6 --- a/src/server/svr_mail.c +++ b/src/server/svr_mail.c @@ -91,6 +91,7 @@ #include #include #include +#include #include "list_link.h" #include "attribute.h" #include "server_limits.h" @@ -98,7 +99,7 @@ #include "log.h" #include "server.h" #include "rpp.h" - +#include "utils.h" /* External Functions Called */ @@ -111,21 +112,100 @@ extern int LOGLEVEL; + + + +/* + * write_email() + * + * In emailing, the mail body is written to a pipe connected to + * standard input for sendmail. This function supplies the body + * of the message. + * + */ +void write_email( + + FILE *outmail_input, + job *pjob, + char *mailto, + int mailpoint, + char *text) + + { + char *bodyfmt = NULL; + char bodyfmtbuf[1024]; + char *subjectfmt = NULL; + + /* Pipe in mail headers: To: and Subject: */ + fprintf(outmail_input, "To: %s\n", mailto); + + /* mail subject line formating statement */ + if ((server.sv_attr[SRV_ATR_MailSubjectFmt].at_flags & ATR_VFLAG_SET) && + (server.sv_attr[SRV_ATR_MailSubjectFmt].at_val.at_str != NULL)) + { + subjectfmt = server.sv_attr[SRV_ATR_MailSubjectFmt].at_val.at_str; + } + else + { + subjectfmt = "PBS JOB %i"; + } + + fprintf(outmail_input, "Subject: "); + svr_format_job(outmail_input, pjob, subjectfmt, mailpoint, text); + fprintf(outmail_input, "\n"); + + /* Set "Precedence: bulk" to avoid vacation messages, etc */ + fprintf(outmail_input, "Precedence: bulk\n\n"); + + /* mail body formating statement */ + if ((server.sv_attr[SRV_ATR_MailBodyFmt].at_flags & ATR_VFLAG_SET) && + (server.sv_attr[SRV_ATR_MailBodyFmt].at_val.at_str != NULL)) + { + bodyfmt = server.sv_attr[SRV_ATR_MailBodyFmt].at_val.at_str; + } + else + { + bodyfmt = strcpy(bodyfmtbuf, "PBS Job Id: %i\n" + "Job Name: %j\n"); + if (pjob->ji_wattr[JOB_ATR_exec_host].at_flags & ATR_VFLAG_SET) + { + strcat(bodyfmt, "Exec host: %h\n"); + } + + strcat(bodyfmt, "%m\n"); + + if (text != NULL) + { + strcat(bodyfmt, "%d\n"); + } + } + + /* Now pipe in the email body */ + svr_format_job(outmail_input, pjob, bodyfmt, mailpoint, text); + } /* write_email() */ + + + void svr_mailowner( job *pjob, /* I */ - int mailpoint, /* note, single character */ + int mailpoint, /* note, single character */ int force, /* if set to MAIL_FORCE, force mail delivery */ char *text) /* (optional) additional message text */ { - char *cmdbuf; - int i; - char *mailfrom; - char mailto[1024]; - char *bodyfmt, *subjectfmt; - char bodyfmtbuf[1024]; - FILE *outmail; + int status = 0; + int numargs = 0; + int pipes[2]; + int counter; + pid_t pid; + char *mailptr; + char *mailfrom = NULL; + char tmpBuf[LOG_BUF_SIZE]; + // We call sendmail with cmd_name + 2 arguments + # of mailto addresses + 1 for null + char *sendmail_args[100]; + char mailto[1024]; + FILE *stream; struct array_strings *pas; @@ -213,14 +293,10 @@ return; /* its all up to the child now */ } - /* - * From here on, we are a child process of the server. - * Fix up file descriptors and signal handlers. - */ - - rpp_terminate(); - - net_close(-1); + /* Close the rest of the open file descriptors */ + int numfds = sysconf(_SC_OPEN_MAX); + while (--numfds > 0) + close(numfds); /* Who is mail from, if SRV_ATR_mailfrom not set use default */ @@ -253,6 +329,7 @@ if (pas != NULL) { + int i; for (i = 0;i < pas->as_usedptr;i++) { if ((strlen(mailto) + strlen(pas->as_string[i]) + 2) < sizeof(mailto)) @@ -312,123 +389,122 @@ } } - /* mail subject line formating statement */ + sendmail_args[numargs++] = (char *)SENDMAIL_CMD; + sendmail_args[numargs++] = (char *)"-f"; + sendmail_args[numargs++] = (char *)mailfrom; - if ((server.sv_attr[(int)SRV_ATR_MailSubjectFmt].at_flags & ATR_VFLAG_SET) && - (server.sv_attr[(int)SRV_ATR_MailSubjectFmt].at_val.at_str != NULL)) - { - subjectfmt = server.sv_attr[(int)SRV_ATR_MailSubjectFmt].at_val.at_str; - } - else - { - subjectfmt = "PBS JOB %i"; - } + /* Add the e-mail addresses to the command line */ + mailptr = strdup(mailto); + sendmail_args[numargs++] = mailptr; - /* mail body formating statement */ - - if ((server.sv_attr[(int)SRV_ATR_MailBodyFmt].at_flags & ATR_VFLAG_SET) && - (server.sv_attr[(int)SRV_ATR_MailBodyFmt].at_val.at_str != NULL)) + for (counter=0; counter < (int)strlen(mailptr); counter++) { - bodyfmt = server.sv_attr[(int)SRV_ATR_MailBodyFmt].at_val.at_str; - } - else - { - bodyfmt = strcpy(bodyfmtbuf, "PBS Job Id: %i\n" - "Job Name: %j\n"); - if (pjob->ji_wattr[(int)JOB_ATR_exec_host].at_flags & ATR_VFLAG_SET) + if (mailptr[counter] == ',') { - strcat(bodyfmt, "Exec host: %h\n"); - } - - strcat(bodyfmt, "%m\n"); - - if (text != NULL) - { - strcat(bodyfmt, "%d\n"); + mailptr[counter] = '\0'; + sendmail_args[numargs++] = mailptr + counter + 1; + if (numargs >= 99) + break; } } - /* setup sendmail command line with -f from_whom */ - i = strlen(SENDMAIL_CMD) + strlen(mailfrom) + strlen(mailto) + 6; - - if ((cmdbuf = malloc(i)) == NULL) + sendmail_args[numargs] = NULL; + + /* Create a pipe to talk to the sendmail process we are about to fork */ + if (pipe(pipes) == -1) { - exit(1); - } - - sprintf(cmdbuf, "%s -f %s %s", - - SENDMAIL_CMD, - mailfrom, - mailto); + snprintf(tmpBuf, sizeof(tmpBuf), "Unable to pipes for sending e-mail\n"); + log_event(PBSEVENT_ERROR | PBSEVENT_ADMIN | PBSEVENT_JOB, + PBS_EVENTCLASS_JOB, + pjob->ji_qs.ji_jobid, + tmpBuf); - outmail = (FILE *)popen(cmdbuf, "w"); + free(mailptr); + exit(-1); + } - if (outmail == NULL) + if ((pid=fork()) == -1) { - char tmpBuf[LOG_BUF_SIZE]; - - snprintf(tmpBuf,sizeof(tmpBuf), - "Unable to popen() command '%s' for writing: '%s' (error %d)\n", - cmdbuf, - strerror(errno), - errno); + snprintf(tmpBuf, sizeof(tmpBuf), "Unable to fork for sending e-mail\n"); log_event(PBSEVENT_ERROR | PBSEVENT_ADMIN | PBSEVENT_JOB, PBS_EVENTCLASS_JOB, pjob->ji_qs.ji_jobid, tmpBuf); - exit(1); + free(mailptr); + close(pipes[0]); + close(pipes[1]); + exit(-1); } + else if (pid == 0) + { + /* CHILD */ - /* Pipe in mail headers: To: and Subject: */ + /* Make stdin the read end of the pipe */ + dup2(pipes[0], 0); - fprintf(outmail, "To: %s\n", - mailto); + /* Close the rest of the open file descriptors */ + int numfds = sysconf(_SC_OPEN_MAX); + while (--numfds > 0) + close(numfds); - fprintf(outmail, "Subject: "); - svr_format_job(outmail, pjob, subjectfmt, mailpoint, text); - fprintf(outmail, "\n"); + execv(SENDMAIL_CMD, sendmail_args); + /* This never returns, but if the execv fails the child should exit */ + exit(1); + } + else + { + /* This is the parent */ - /* Set "Precedence: bulk" to avoid vacation messages, etc */ + /* Close the read end of the pipe */ + close(pipes[0]); - fprintf(outmail, "Precedence: bulk\n\n"); + /* Write the body to the pipe */ + stream = fdopen(pipes[1], "w"); + write_email(stream, pjob, mailto, mailpoint, text); - /* Now pipe in the email body */ - svr_format_job(outmail, pjob, bodyfmt, mailpoint, text); + fflush(stream); - errno = 0; - if ((i = pclose(outmail)) != 0) - { - char tmpBuf[LOG_BUF_SIZE]; + /* Close and wait for the command to finish */ + if (fclose(stream) != 0) + { + snprintf(tmpBuf,sizeof(tmpBuf), + "Piping mail body to sendmail closed: errno %d:%s\n", + errno, strerror(errno)); - snprintf(tmpBuf,sizeof(tmpBuf), - "Email '%c' to %s failed: Child process '%s' %s %d (errno %d:%s)\n", - mailpoint, - mailto, - cmdbuf, - ((WIFEXITED(i)) ? ("returned") : ((WIFSIGNALED(i)) ? ("killed by signal") : ("croaked"))), - ((WIFEXITED(i)) ? (WEXITSTATUS(i)) : ((WIFSIGNALED(i)) ? (WTERMSIG(i)) : (i))), - errno, - strerror(errno)); - log_event(PBSEVENT_ERROR | PBSEVENT_ADMIN | PBSEVENT_JOB, - PBS_EVENTCLASS_JOB, - pjob->ji_qs.ji_jobid, - tmpBuf); - } - else if (LOGLEVEL >= 4) - { - log_event(PBSEVENT_ERROR | PBSEVENT_ADMIN | PBSEVENT_JOB, - PBS_EVENTCLASS_JOB, - pjob->ji_qs.ji_jobid, - "Email sent successfully\n"); - } + log_event(PBSEVENT_ERROR | PBSEVENT_ADMIN | PBSEVENT_JOB, + PBS_EVENTCLASS_JOB, + pjob->ji_qs.ji_jobid, + tmpBuf); + } - exit(0); + // we aren't going to block in order to find out whether or not sendmail worked + if ((waitpid(pid, &status, WNOHANG) != 0) && + (status != 0)) + { + snprintf(tmpBuf,sizeof(tmpBuf), + "Sendmail command returned %d. Mail may not have been sent\n", + status); - /*NOTREACHED*/ + log_event(PBSEVENT_ERROR | PBSEVENT_ADMIN | PBSEVENT_JOB, + PBS_EVENTCLASS_JOB, + pjob->ji_qs.ji_jobid, + tmpBuf); + } - return; + // don't leave zombies + while (waitpid(-1, &status, WNOHANG) != 0) + { + // zombie reaped, NO-OP + } + + free(mailptr); + exit(0); + } + + /* NOT REACHED */ + + exit(0); } /* END svr_mailowner() */ /* END svr_mail.c */ debian/patches/freebsd5_manpages.patch0000664000000000000000000000336612254032111015211 0ustar Author: Dominique Belhachemi Origin: Debian Description: Add pbs_resources_freebsd5.7 where missing This fixes the installation of manpages when building on a GNU/kFreeBSD target. Forwarded: no Index: torque-2.4.12/doc/Makefile.am =================================================================== --- torque-2.4.12.orig/doc/Makefile.am 2011-05-07 00:24:21.000000000 -0400 +++ torque-2.4.12/doc/Makefile.am 2011-05-07 00:26:22.000000000 -0400 @@ -80,7 +80,9 @@ man7/pbs_server_attributes.7 \ man7/pbs_resources_aix4.7 man7/pbs_resources_digitalunix.7 \ man7/pbs_resources_aix5.7 man7/pbs_resources_darwin.7 \ - man7/pbs_resources_freebsd.7 man7/pbs_resources_fujitsu.7 \ + man7/pbs_resources_freebsd.7 \ + man7/pbs_resources_freebsd5.7 \ + man7/pbs_resources_fujitsu.7 \ man7/pbs_resources_hpux10.7 man7/pbs_resources_irix5.7 \ man7/pbs_resources_hpux11.7 \ man7/pbs_resources_irix6.7 man7/pbs_resources_irix6array.7 \ Index: torque-2.4.12/doc/Makefile.in =================================================================== --- torque-2.4.12.orig/doc/Makefile.in 2011-05-07 00:24:26.000000000 -0400 +++ torque-2.4.12/doc/Makefile.in 2011-05-07 00:25:38.000000000 -0400 @@ -417,7 +417,9 @@ man7/pbs_server_attributes.7 \ man7/pbs_resources_aix4.7 man7/pbs_resources_digitalunix.7 \ man7/pbs_resources_aix5.7 man7/pbs_resources_darwin.7 \ - man7/pbs_resources_freebsd.7 man7/pbs_resources_fujitsu.7 \ + man7/pbs_resources_freebsd.7 \ + man7/pbs_resources_freebsd5.7 \ + man7/pbs_resources_fujitsu.7 \ man7/pbs_resources_hpux10.7 man7/pbs_resources_irix5.7 \ man7/pbs_resources_hpux11.7 \ man7/pbs_resources_irix6.7 man7/pbs_resources_irix6array.7 \ debian/patches/CVE-2013-4319.patch0000664000000000000000000000304612254032136013237 0ustar Description: CVE-2013-4319: remote arbitrary command execution as root on cluster CVE-2013-4319: A non-priviledged user who was able to run jobs or login to a node which ran pbs_server or pbs_mom, could submit arbitrary jobs to a pbs_mom daemon to queue and run the job, which would run as root. . - The user must be logged in on a node that is already legitimately able to contact pbs_mom daemons or submit jobs. . - If a user submits a job via this defect and pbs_server is running, pbs_server will kill the job unless job syncing is disabled. It may take up to 45 seconds for pbs_server to kill the job. Origin: upstream, http://www.adaptivecomputing.com/torquepatch/fix_mom_priv_2.5.patch Bug-Debian: http://bugs.debian.org/722306 Forwarded: not-needed Author: Salvatore Bonaccorso Last-Update: 2013-10-07 --- a/src/server/process_request.c +++ b/src/server/process_request.c @@ -640,6 +640,21 @@ log_buffer); } + if (svr_conn[sfds].cn_authen != PBS_NET_CONN_FROM_PRIVIL) + { + sprintf(log_buffer, "request type %s from host %s rejected (connection not privileged)", + reqtype_to_txt(request->rq_type), + request->rq_host); + + log_record(PBSEVENT_JOB, PBS_EVENTCLASS_JOB, id, log_buffer); + + req_reject(PBSE_BADHOST, 0, request, NULL, "request not authorized"); + + close_client(sfds); + + return; + } + if (!tfind(svr_conn[sfds].cn_addr, &okclients)) { sprintf(log_buffer, "request type %s from host %s rejected (host not authorized)", debian/patches/xpbs_xpbsmon_tclIndex.patch0000664000000000000000000000232312254032111016203 0ustar Author: Dominique Origin: Debian Description: Fix tclIndex generation According to http://www.gnu.org/prep/standards/html_node/DESTDIR.html, DESTDIR is a temporary location. "Also, specifying DESTDIR should not change the operation of the software in any way, so its value should not be included in any file contents." Bug-Debian: http://bugs.debian.org/587262 Forwarded: no Index: torque-2.4.12/src/gui/buildindex.src =================================================================== --- torque-2.4.12.orig/src/gui/buildindex.src 2009-10-29 17:01:18.000000000 -0400 +++ torque-2.4.12/src/gui/buildindex.src 2011-05-07 00:09:44.000000000 -0400 @@ -154,6 +154,7 @@ set f [open tclIndex w] puts $f $entry_ close $f + exec sed -i s/$destdir_//g tclIndex } } exit 0 Index: torque-2.4.12/src/tools/xpbsmon/buildindex.src =================================================================== --- torque-2.4.12.orig/src/tools/xpbsmon/buildindex.src 2009-10-29 17:01:20.000000000 -0400 +++ torque-2.4.12/src/tools/xpbsmon/buildindex.src 2011-05-07 00:09:44.000000000 -0400 @@ -154,6 +154,7 @@ set f [open tclIndex w] puts $f $entry_ close $f + exec sed -i s/$destdir_//g tclIndex } } exit 0 debian/patches/tcl85.patch0000664000000000000000000000067612254032111012577 0ustar Index: torque-2.4.12+dfsg/src/tools/xpbsmon/entry.tk =================================================================== --- torque-2.4.12+dfsg.orig/src/tools/xpbsmon/entry.tk 2011-05-12 23:54:29.000000000 -0400 +++ torque-2.4.12+dfsg/src/tools/xpbsmon/entry.tk 2011-05-12 23:54:44.000000000 -0400 @@ -321,7 +321,6 @@ } } - global [set [set menuName](textvariable)] set [set [set menuName](textvariable)] " " set f $frame_name debian/patches/series0000664000000000000000000000027612254032136012037 0ustar # Series of Quilt patches freebsd5_manpages.patch gnu_fixes.patch c90string.patch xpbs_xpbsmon_tclIndex.patch tcl85.patch CVE-2013-4319.patch fix-FTBFS-on-kfreebsd.patch CVE-2013-4495.patch debian/patches/gnu_fixes.patch0000664000000000000000000000633712254032111013627 0ustar --- torque-2.4.8+dfsg/src/gui/Ccode/xpbs_scriptload.c 2009-10-29 21:01:18.000000000 +0000 +++ torque-2.4.8+dfsg/src/gui/Ccode/xpbs_scriptload.c 2010-06-11 16:07:37.000000000 +0000 @@ -121,7 +121,7 @@ #include #endif /* HAVE_SYS_IOCTL_H */ -#if !defined(sgi) && !defined(_AIX) && !defined(linux) +#if !defined(sgi) && !defined(_AIX) && !defined(linux) && !defined(__GNU__) #include #endif /* ! sgi */ --- torque-2.4.8+dfsg/src/resmom/mom_inter.c 2009-10-29 21:01:24.000000000 +0000 +++ torque-2.4.8+dfsg/src/resmom/mom_inter.c 2010-06-11 16:07:17.000000000 +0000 @@ -97,7 +97,7 @@ #if defined(HAVE_SYS_IOCTL_H) #include #endif -#if !defined(sgi) && !defined(_AIX) && !defined(linux) +#if !defined(sgi) && !defined(_AIX) && !defined(linux) && !defined(__GNU__) #include #endif /* ! sgi */ --- torque-2.4.8+dfsg/src/pam/pam_pbssimpleauth.c 2009-10-29 21:01:27.000000000 +0000 +++ torque-2.4.8+dfsg/src/pam//pam_pbssimpleauth.c 2010-06-11 18:36:59.000000000 +0000 @@ -52,6 +52,13 @@ #define PAM_EXTERN #endif +/* + This isn't defined in the Hurd, although the correct fix + is to use a dynamic allocation + */ +#ifndef PATH_MAX +#define PATH_MAX 256 +#endif /* --- authentication management functions (only) --- */ --- torque-2.4.8+dfsg/src/resmom/linux/mom_mach.c 2010-02-11 23:47:16.000000000 +0100 +++ torque-2.4.8+dfsg/src/resmom/linux/mom_mach.c 2010-06-12 00:22:54.158340098 +0200 @@ -79,9 +79,51 @@ #include #include #include +#ifndef __GNU__ #include +#else +#include +#endif #include +#ifndef __GNU__ #include +#else +#define SUBCMDMASK 0x00ff +#define SUBCMDSHIFT 8 +#define QCMD(cmd, type) (((cmd) << SUBCMDSHIFT) | ((type) & SUBCMDMASK)) + +#define Q_GETQUOTA 0x800007 /* get user quota structure */ +#define USRQUOTA 0 /* element used for user quotas */ +#define SYS_quotactl 60 + +/* Flags that indicate which fields in dqblk structure are valid. */ +#define QIF_BLIMITS 1 +#define QIF_SPACE 2 +#define QIF_ILIMITS 4 +#define QIF_INODES 8 +#define QIF_BTIME 16 +#define QIF_ITIME 32 +#define QIF_LIMITS (QIF_BLIMITS | QIF_ILIMITS) +#define QIF_USAGE (QIF_SPACE | QIF_INODES) +#define QIF_TIMES (QIF_BTIME | QIF_ITIME) +#define QIF_ALL (QIF_LIMITS | QIF_USAGE | QIF_TIMES) + +struct dqblk + { + u_int64_t dqb_bhardlimit; /* absolute limit on disk quota blocks alloc */ + u_int64_t dqb_bsoftlimit; /* preferred limit on disk quota blocks */ + u_int64_t dqb_curspace; /* current quota block count */ + u_int64_t dqb_ihardlimit; /* maximum # allocated inodes */ + u_int64_t dqb_isoftlimit; /* preferred inode limit */ + u_int64_t dqb_curinodes; /* current # allocated inodes */ + u_int64_t dqb_btime; /* time limit for excessive disk use */ + u_int64_t dqb_itime; /* time limit for excessive files */ + u_int32_t dqb_valid; /* bitmask of QIF_* constants */ + }; + +extern int quotactl (int __cmd, const char *__special, int __id, + caddr_t __addr) __THROW; +#endif #include #include #include debian/patches/fix-FTBFS-on-kfreebsd.patch0000664000000000000000000000105512254032136015464 0ustar Description: Fix FTBFS on kfreebsd-{amd64,i386} Fix FTBFS on kfreebsd-{amd64,i386} due to use of deprecated header . Switch to use . Origin: vendor Bug-Debian: http://bugs.debian.org/725870 Forwarded: no Author: Salvatore Bonaccorso Last-Update: 2013-10-10 --- a/src/resmom/freebsd5/mom_mach.c +++ b/src/resmom/freebsd5/mom_mach.c @@ -109,7 +109,7 @@ #include #include #include -#include +#include #include #include #include debian/torque-scheduler.dirs0000664000000000000000000000010412254032111013330 0ustar /usr/sbin /var/spool/torque/sched_priv /var/spool/torque/sched_logs debian/torque-pam.dirs0000664000000000000000000000001612254032111012131 0ustar /lib/security debian/changelog0000664000000000000000000002301512254032531011040 0ustar torque (2.4.16+dfsg-1.3ubuntu1) trusty; urgency=medium * Merge from debian. Remaining changes: - Build using dh-autoreconf. - Specified multiarch Tcl and Tk locations during configure, fixing FTBFS. -- Jackson Doak Tue, 17 Dec 2013 07:39:52 +1100 torque (2.4.16+dfsg-1.3) unstable; urgency=high * Non-maintainer upload by the Security Team. * Add CVE-2013-4495.patch patch. CVE-2013-4495: the pbs_server daemon would pass some user-input data to popen() in order to send an email allowing remote privilege escalation. (Closes: #729333) -- Salvatore Bonaccorso Mon, 11 Nov 2013 23:00:35 +0100 torque (2.4.16+dfsg-1.2) unstable; urgency=low * Non-maintainer upload. * Add fix-FTBFS-on-kfreebsd.patch patch. Fix FTBFS on kfreebsd-{amd64,i386} due to use of deprecated header . Switch to use . (Closes: #725870) -- Salvatore Bonaccorso Thu, 10 Oct 2013 17:34:01 +0200 torque (2.4.16+dfsg-1.1) unstable; urgency=low * Non-maintainer upload. * Add CVE-2013-4319.patch. CVE-2013-4319: remote arbitrary command execution as root on cluster by a non-priviledged user who is able to run jobs or login to a node which runs pbs_server or pbs_mon. (Closes: #722306) -- Salvatore Bonaccorso Mon, 07 Oct 2013 07:09:57 +0200 torque (2.4.16+dfsg-1ubuntu2) trusty; urgency=medium * Build using dh-autoreocnf. -- Matthias Klose Sun, 15 Dec 2013 17:13:46 +0100 torque (2.4.16+dfsg-1ubuntu1) raring; urgency=low * Specified multiarch Tcl and Tk locations during configure, fixing FTBFS. -- Daniel T Chen Wed, 10 Apr 2013 17:36:58 -0400 torque (2.4.16+dfsg-1build1) precise; urgency=low * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. -- Adam Conrad Fri, 02 Dec 2011 21:28:30 -0700 torque (2.4.16+dfsg-1) unstable; urgency=low * New upstream release * This version of TORQUE fixes a problem with MOM's seg-faulting. -- Dominique Belhachemi Mon, 01 Aug 2011 20:05:47 -0400 torque (2.4.15+dfsg-1) unstable; urgency=low * New upstream release -- Dominique Belhachemi Mon, 25 Jul 2011 19:35:45 -0400 torque (2.4.12+dfsg-3) unstable; urgency=low * Upload to unstable * Added tcl85.patch: Fix xpbsmon issue (Closes: #626480) -- Dominique Belhachemi Thu, 12 May 2011 23:55:29 -0400 torque (2.4.12+dfsg-2) experimental; urgency=low * enable gnu_fixes.patch to fix build problems on GNU/Hurd (Closes: #622157) -- Dominique Belhachemi Sun, 08 May 2011 16:01:12 -0400 torque (2.4.12+dfsg-1) experimental; urgency=low * New upstream release * Bump Standards-Version: 3.9.1 * removed patches because applied upstream * gnu-kfreebsd_mach_type.patch * manpage_fixes.patch * spec_fhs_paths.patch * Upload to experimental -- Dominique Belhachemi Fri, 06 May 2011 22:35:44 -0400 torque (2.4.8+dfsg-10) unstable; urgency=low * debian/control: added build dependency libreadline-dev * debian/rules: added configure option --disable-gcc-warnings (Closes: #625408) -- Dominique Belhachemi Thu, 05 May 2011 19:05:08 -0400 torque (2.4.8+dfsg-9) unstable; urgency=low * Added binary dependency libkvm-dev to libtorque2-dev This is fixing a OpenMPI FTBFS (Closes: #595231) * Fixed bugnumber in debian/changelog -- Dominique Belhachemi Thu, 02 Sep 2010 14:27:25 -0400 torque (2.4.8+dfsg-8) unstable; urgency=low [ Jordi Mallach ] * Remove unneeded .la file from torque-pam. [ Dominique Belhachemi ] * Fix PID filename in /etc/init.d/torque-scheduler * Fix tclIndex generation (Closes: #587262) * Move /etc/torque/server_name to package torque-common * torque-server and torque-mom recommends: * torque-client | torque-client-x11 (Closes: #587259) -- Dominique Belhachemi Thu, 01 Jul 2010 01:08:41 -0400 torque (2.4.8+dfsg-7) unstable; urgency=low * Fix paths on "non-standard-dir-perm" overrides. * Make torque-server Conflict: torque-client (<= 2.4), and torque-client-x11 Replace: torque-gui, for smoother upgrade path from the Ubuntu packages. * Explicitly enable RPP. * Pass --with-rcp=scp so Torque uses scp as remote copy command. * Build-Depend on openssh-client. * Add gnu_fixes.patch, disabled for now, to fix builds on the Hurd. This patch is a temporary hack. As it is now, the package will build, but will most probably not work. The correct fix is to disable quota support on this platform. -- Jordi Mallach Tue, 15 Jun 2010 10:25:46 +0200 torque (2.4.8+dfsg-6) unstable; urgency=low [ Dominique Belhachemi ] * fixed manpage generation for GNU/kFreeBSD * debian/compat: bump to 7 * removed packages: libtorque2-doc and torque-doc * added symbolic link /var/spool/torque/server_name -> /etc/torque/server_name * package torque-common moved to arch-dependent [ Jordi Mallach ] * Add myself to Uploaders. * Minor fixes to package descriptions. * Correct uses of $DAEMON_SERVER in init scripts where $NAME should have been used instead. * Generate $VERSION (now $UVERSION) using dpkg-parsechangelog. * Remove linda overrides; linda is no longer in Debian or Ubuntu. * Pass --with-sendmail=/usr/sbin/sendmail to configure to get pbs_server actually send emails (closes: LP: #474727) * Use dh_autotools-dev_updateconfig & dh_autotools-dev-restoreconfig from autotools-dev in the build process to update config.{guess,sub}. * Bump autotools-dev requirement to >= 20100122.1~ to ensure the availability of the Debhelper programs. * Split patches and add DEP-3 headers to all of them: - Create freebsd5_manpages.patch, gnu-kfreebsd_mach_type.patch and spec_fhs_paths.patch. - Drop static config.{guess,sub} updating; this is now handled by dh_autotools-dev_updateconfig. * Add manpage_fixes.patch to fix several spelling errors and minus-sign-vs-hyphen issues. * Drop README.source and don't Build-Depend on quilt, as they are not necessary anymore with source format 3.0 (quilt). * Wrap Build-Depends. * Add lintian overrides for "non-standard-dir-perm", "file-in-unusual-dir" and "setuid-binary". * Add a call to dh_lintian. * Fix signatures in old, unreleased debian/changelog entries. -- Dominique Belhachemi Thu, 10 Jun 2010 19:40:26 +0200 torque (2.4.8+dfsg-5) unstable; urgency=low * install man pages together with their associated binaries (Closes: #581576) -- Dominique Belhachemi Mon, 17 May 2010 20:56:46 +0200 torque (2.4.8+dfsg-4) unstable; urgency=low * fixed compiler warning to support GNU/kFreeBSD * use linux resmom for GNU/Hurd * provide momctl in torque-client and torque-client-x11 (Closes: #581550) * added conflicts to qterm and gridengine-client (Closes: #581576) -- Dominique Belhachemi Thu, 13 May 2010 19:29:06 +0200 torque (2.4.8+dfsg-3) unstable; urgency=low * buildutils/config.guess: * buildutils/config.sub: Replace with current version from package autotools-dev. Closes: #581032. * debian/control: added dependencies for GNU/kFreeBSD -- Dominique Belhachemi Mon, 10 May 2010 18:12:20 +0200 torque (2.4.8+dfsg-2) unstable; urgency=low * torque-common: added missing directory -- Dominique Belhachemi Mon, 10 May 2010 07:24:38 +0200 torque (2.4.8+dfsg-1) unstable; urgency=low * New upstream release * removed conflicting files -- Dominique Belhachemi Sun, 09 May 2010 23:01:13 +0200 torque (2.4.7-1) unstable; urgency=low * Switch to dpkg-source 3.0 (quilt) format * bump standard version * Cleaned chrpath lintian error [debian/rules] (Steffen) -- Dominique Belhachemi Sun, 02 May 2010 00:40:34 +0200 torque (2.4.0b1-2) UNRELEASED; urgency=low * Started merge of Debian and Ubuntu packages - Updated description of packages - torque-pam package - torque-scheduler package (== preparation for MAUI) - split sched and server init scripts -- Steffen Moeller Wed, 31 Dec 2008 16:27:36 +0100 torque (2.4.0b1-1) UNRELEASED; urgency=low * New upstream version. -- Michael Dorr Mon, 22 Dec 2008 12:21:32 +0100 torque (2.3.0-1) UNRELEASED; urgency=low [ Daniel Bayer ] * New upstream release * moved to tcl8.5 and tk8.5 * include pbstop in the client packages * changed the name of library package * adjust from /usr/local to /usr (quilted by Steffen) [ Steffen Moeller] * supporting quilt for patches * debian/control: Added Vcs-Browser and Vcs-Svn entries -- Daniel Bayer Thu, 03 Apr 2008 14:36:42 +0200 torque (2.1.10-1) UNRELEASED; urgency=low * New upstream release * Changed init scripts to use lsb-base * Use localhost as default server -- Daniel Bayer Sat, 15 Mar 2008 16:51:09 +0100 torque (2.1.9-1) UNRELEASED; urgency=low * New upstream version -- Daniel Bayer Tue, 25 Sep 2007 17:08:21 +0200 torque (2.1.6-1) UNRELEASED; urgency=low * New upstream release -- Daniel Bayer Tue, 31 Oct 2006 11:12:48 +0100 torque (2.1.2-1) UNRELEASED; urgency=low * Initial preparation. -- Daniel Bayer Fri, 6 Oct 2006 09:44:39 +0000 debian/copyright0000664000000000000000000001522212254032111011114 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat Upstream-Name: TORQUE Upstream-Source: http://www.clusterresources.com/pages/products/torque-resource-manager.php Upstream-Maintainer: TORQUE (Terascale Open-source Resource and QUEue manger) is an open source project based on the original PBS* resource manager developed by NASA, LLNL, and MRJ. It possesses a large number of enhancements contributed by organizations such as OSC, NCSA, TeraGrid, the U.S Dept of Energy, USC, and many, many others. It continues to incorporate significant advancements in the areas of scalability, fault-tolerance, usability, functionality, and security development from the community and vendor supporters. It may be utilized, modified, and distributed subject to the constraints of the license located in the PBS_License.txt file. If you would like to contribute to this project or have patches, enhancements, or associated projects you would like to have included in this project, please send email to help@supercluster.org Files: * Copyright: © 1999-2000 Veridian Information Solutions, Inc. License: The torque sources are distributed accoding to the OpenPBS Software license v2.3 listed below. . * PLEASE NOTICE THAT PARAGRAPHS 1 AND 2 HAVE EXPIRED AS OF DECEMBER 31, 2001. . OpenPBS (Portable Batch System) v2.3 Software License . Copyright (c) 1999-2000 Veridian Information Solutions, Inc. All rights reserved. . --------------------------------------------------------------------------- For a license to use or redistribute the OpenPBS software under conditions other than those described below, or to purchase support for this software, please contact Veridian Systems, PBS Products Department ("Licensor") at: . www.OpenPBS.org +1 650 967-4675 sales@OpenPBS.org 877 902-4PBS (US toll-free) --------------------------------------------------------------------------- . This license covers use of the OpenPBS v2.3 software (the "Software") at your site or location, and, for certain users, redistribution of the Software to other sites and locations. Use and redistribution of OpenPBS v2.3 in source and binary forms, with or without modification, are permitted provided that all of the following conditions are met. After December 31, 2001, only conditions 3-6 must be met: . 1. Commercial and/or non-commercial use of the Software is permitted provided a current software registration is on file at www.OpenPBS.org. If use of this software contributes to a publication, product, or service, proper attribution must be given; see www.OpenPBS.org/credit.html . 2. Redistribution in any form is only permitted for non-commercial, non-profit purposes. There can be no charge for the Software or any software incorporating the Software. Further, there can be no expectation of revenue generated as a consequence of redistributing the Software. . 3. Any Redistribution of source code must retain the above copyright notice and the acknowledgment contained in paragraph 6, this list of conditions and the disclaimer contained in paragraph 7. . 4. Any Redistribution in binary form must reproduce the above copyright notice and the acknowledgment contained in paragraph 6, this list of conditions and the disclaimer contained in paragraph 7 in the documentation and/or other materials provided with the distribution. . 5. Redistributions in any form must be accompanied by information on how to obtain complete source code for the OpenPBS software and any modifications and/or additions to the OpenPBS software. The source code must either be included in the distribution or be available for no more than the cost of distribution plus a nominal fee, and all modifications and additions to the Software must be freely redistributable by any party (including Licensor) without restriction. . 6. All advertising materials mentioning features or use of the Software must display the following acknowledgment: "This product includes software developed by NASA Ames Research Center, Lawrence Livermore National Laboratory, and Veridian Information Solutions, Inc. Visit www.OpenPBS.org for OpenPBS software support, products, and information." . 7. DISCLAIMER OF WARRANTY THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT ARE EXPRESSLY DISCLAIMED. . IN NO EVENT SHALL VERIDIAN CORPORATION, ITS AFFILIATED COMPANIES, OR THE U.S. GOVERNMENT OR ANY OF ITS AGENCIES BE LIABLE FOR ANY DIRECT OR INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . This license will be governed by the laws of the Commonwealth of Virginia, without reference to its choice of law rules. . Addendum To obtain complete source code for OpenPBS and modifications/additions provided in torque visit www.openpbs.org and/or www.supercluster.org/downloads. Files: debian/* Copyright: © 2006, Daniel Bayer © 2010, Dominique Belhachemi © 2008-2009, Michael Dorr © 2007-2008, Morten Kjeldgaard © 2009-2010, Jordi Mallach © 2006-2010, Steffen Moeller License: GPL-3 The packaging of Torque is licensed as free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . X-Comment: On a Debian system, the full text of the GPL-3 license can be found in /usr/share/common-licenses/GPL-3. Upstream at supercluster.com supports the packaging and the redistribution of Torque. They consider it "community-maintained". debian/torque-scheduler.manpages0000664000000000000000000000026412254032111014171 0ustar debian/tmp/usr/share/man/man8/pbs_sched.8 debian/tmp/usr/share/man/man8/pbs_sched_basl.8 debian/tmp/usr/share/man/man8/pbs_sched_cc.8 debian/tmp/usr/share/man/man8/pbs_sched_tcl.8 debian/torque-mom.manpages0000664000000000000000000000005012254032111012774 0ustar debian/tmp/usr/share/man/man8/pbs_mom.8 debian/torque-client-x11.lintian-overrides0000664000000000000000000000010112254032111015731 0ustar torque-client-x11: setuid-binary usr/sbin/pbs_iff 4755 root/root debian/torque-common.dirs0000664000000000000000000000002112254032111012640 0ustar var/spool/torque debian/torque-pam.docs0000664000000000000000000000002312254032111012116 0ustar src/pam/README.pam