debian/0000755000000000000000000000000012263763524007200 5ustar debian/control0000644000000000000000000000735012263735263010607 0ustar Source: globus-gram-job-manager-pbs Priority: optional Maintainer: Mattias Ellert Build-Depends: debhelper (>= 5), autotools-dev, grid-packaging-tools (>= 3.4), globus-core (>= 8.16), libglobus-scheduler-event-generator-dev (>= 4.7-3~), libglobus-common-dev (>= 14.10) Standards-Version: 3.9.5 Section: net Vcs-Browser: http://svn.nordugrid.org/trac/packaging/browser/debian/globus-gram-job-manager-pbs Vcs-Svn: http://svn.nordugrid.org/repos/packaging/debian/globus-gram-job-manager-pbs Homepage: http://www.globus.org/ Package: globus-gram-job-manager-pbs Provides: globus-gram-job-manager-setup-pbs Replaces: globus-gram-job-manager-setup-pbs (<< 4.5), globus-gram-job-manager-setup-pbs-doc (<< 4.5) Conflicts: globus-gram-job-manager-setup-pbs (<< 4.5), globus-gram-job-manager-setup-pbs-doc (<< 4.5) Section: net Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, ${perl:Depends}, globus-gram-job-manager (>= 13), globus-gram-job-manager-scripts (>= 4), globus-gass-cache-program (>= 5), globus-common-progs (>= 14), globus-gatekeeper (>= 9) Recommends: globus-gram-job-manager-pbs-setup-poll | globus-gram-job-manager-pbs-setup-seg Description: Globus Toolkit - PBS Job Manager Support The Globus Toolkit is an open source software toolkit used for building Grid systems and applications. It is being developed by the Globus Alliance and many others all over the world. A growing number of projects and companies are using the Globus Toolkit to unlock the potential of grids for their cause. . The globus-gram-job-manager-pbs package contains: PBS Job Manager Support Package: globus-gram-job-manager-pbs-setup-poll Section: net Architecture: all Multi-Arch: foreign Depends: globus-gram-job-manager-pbs (= ${source:Version}), globus-gram-job-manager-scripts (>= 4), ${misc:Depends} Description: Globus Toolkit - PBS Job Manager Support using polling The Globus Toolkit is an open source software toolkit used for building Grid systems and applications. It is being developed by the Globus Alliance and many others all over the world. A growing number of projects and companies are using the Globus Toolkit to unlock the potential of grids for their cause. . The globus-gram-job-manager-pbs-setup-poll package contains: PBS Job Manager Support using polling to monitor job state Package: globus-gram-job-manager-pbs-setup-seg Section: net Architecture: any Multi-Arch: same Depends: globus-gram-job-manager-pbs (= ${source:Version}), globus-gram-job-manager-scripts (>= 4), globus-scheduler-event-generator-progs (>= 4), ${misc:Depends}, ${shlibs:Depends} Description: Globus Toolkit - PBS Job Manager Support using SEG The Globus Toolkit is an open source software toolkit used for building Grid systems and applications. It is being developed by the Globus Alliance and many others all over the world. A growing number of projects and companies are using the Globus Toolkit to unlock the potential of grids for their cause. . The globus-gram-job-manager-pbs-setup-seg package contains: PBS Job Manager Support using the scheduler event generator to monitor job state Package: globus-gram-job-manager-pbs-dbg Section: debug Priority: extra Architecture: any Multi-Arch: same Depends: globus-gram-job-manager-pbs-setup-seg (= ${binary:Version}), ${misc:Depends} Description: Globus Toolkit - PBS Job Manager Support Debug Symbols The Globus Toolkit is an open source software toolkit used for building Grid systems and applications. It is being developed by the Globus Alliance and many others all over the world. A growing number of projects and companies are using the Globus Toolkit to unlock the potential of grids for their cause. . The globus-gram-job-manager-pbs-dbg package contains: PBS Job Manager Support Debug Symbols debian/rules0000755000000000000000000001177112263735310010257 0ustar #!/usr/bin/make -f # -*- makefile -*- name = globus-gram-job-manager-pbs _name = globus_gram_job_manager_pbs INSTALLDIR = $(CURDIR)/debian/tmp GLOBUSPACKAGEDIR = $(INSTALLDIR)$(_datadir)/globus/packages _prefix = /usr _bindir = $(_prefix)/bin _sbindir = $(_prefix)/sbin _libdir = $(_prefix)/lib/$(DEB_HOST_MULTIARCH) _datadir = $(_prefix)/share _mandir = $(_datadir)/man _docdir = $(_datadir)/doc/$(name) perl_vendorlib = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib) DEB_HOST_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) ifeq ($(DEB_HOST_ARCH_BITS), 64) flavor = gcc64-$(DEB_HOST_MULTIARCH) else flavor = gcc32-$(DEB_HOST_MULTIARCH) endif configure: configure-stamp configure-stamp: dh_testdir dh_autotools-dev_updateconfig /usr/share/globus/globus-bootstrap.sh MPIEXEC=no \ MPIRUN=no \ QDEL=/usr/bin/qdel \ QSTAT=/usr/bin/qstat \ QSUB=/usr/bin/qsub \ ./configure \ --disable-static \ --with-flavor=$(flavor) \ --with-docdir=$(_docdir) \ --with-globus-state-dir=/var/log/globus \ --with-log-path=/var/spool/torque # Reduce overlinking sed 's!CC -shared !CC \\$${wl}--as-needed -shared !g' -i libtool touch $@ build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir $(MAKE) touch $@ clean: dh_testdir dh_testroot if [ -r Makefile ] ; then $(MAKE) distclean ; fi dh_autotools-dev_restoreconfig # Remove autogenerated files rm -f aclocal.m4 rm -f compile rm -f configure rm -f install-sh rm -f ltmain.sh rm -f missing rm -f mkinstalldirs rm -f doxygen/Doxyfile* rm -f doxygen/Makefile.am rm -f pkgdata/Makefile.am rm -f pkgdata/*.filelist rm -f pkgdata/*.gpt rm -f pkgdata/$(name).pc rm -f pkgdata/pkg_data_src.pc.in rm -f gptdata.sh rm -f globus_automake* rm -rf autom4te.cache find . -name Makefile.in -exec rm {} ';' rm -f build-stamp configure-stamp dh_clean debian/*.install install: build-stamp dh_testdir dh_testroot dh_prep $(MAKE) install DESTDIR=$(INSTALLDIR) # This library is opened using lt_dlopenext, so the libtool archive # (.la file) can not be removed - fix libdir and clear dependency_libs # ... and move it to the main package for lib in `find $(INSTALLDIR)$(_libdir) -name 'lib*.la'` ; do \ sed -e "s!^libdir=.*!libdir=\'$(_libdir)\'!" \ -e "s!^dependency_libs=.*!dependency_libs=\'\'!" -i $$lib ; \ done grep 'lib.*\.la$$' $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_dev.filelist \ >> $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_rtl.filelist sed '/lib.*\.la$$/d' \ -i $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_dev.filelist # Remove jobmanager-pbs from install dir - leave it for admin config rm $(INSTALLDIR)/etc/grid-services/jobmanager-pbs # Remove installed license file rm -f $(INSTALLDIR)$(_docdir)/GLOBUS_LICENSE sed /GLOBUS_LICENSE/d \ -i $(GLOBUSPACKAGEDIR)/$(_name)/noflavor_doc.filelist # Devel package is redundant rm $(INSTALLDIR)$(_libdir)/libglobus_seg_pbs.so rm $(INSTALLDIR)$(_libdir)/pkgconfig/globus-gram-job-manager-pbs.pc rm $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_dev.filelist rm $(GLOBUSPACKAGEDIR)/$(_name)/pkg_data_$(flavor)_dev.gpt # List config files in each package - drop the file list rm $(GLOBUSPACKAGEDIR)/$(_name)/noflavor_data.filelist rm $(GLOBUSPACKAGEDIR)/$(_name)/pkg_data_noflavor_data.gpt # Generate package filelists cat $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_rtl.filelist \ $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_pgm.filelist \ | sed -e s!^!debian/tmp$(_prefix)! -e /pbs.pm/d \ > debian/$(name)-setup-seg.install cat $(GLOBUSPACKAGEDIR)/$(_name)/noflavor_doc.filelist \ | sed s!^!debian/tmp$(_prefix)! > debian/$(name).install echo debian/tmp$(_datadir)/globus/globus_gram_job_manager/pbs.rvf \ >> debian/$(name).install echo debian/tmp$(perl_vendorlib)/Globus >> debian/$(name).install echo debian/tmp/etc/globus/globus-pbs.conf >> debian/$(name).install echo debian/tmp/etc/grid-services/available/jobmanager-pbs-poll \ > debian/$(name)-setup-poll.install echo debian/tmp/etc/grid-services/available/jobmanager-pbs-seg \ >> debian/$(name)-setup-seg.install echo debian/tmp/etc/globus/scheduler-event-generator/available/pbs \ >> debian/$(name)-setup-seg.install binary: binary-arch binary-indep binary-arch: install dh_testdir dh_testroot dh_installdocs -a dh_installchangelogs -a dh_install -a --fail-missing dh_installman -a dh_lintian -a dh_link -a dh_strip -a --dbg-package=$(name)-dbg dh_compress -a dh_fixperms -a dh_perl -a dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary-indep: install dh_testdir dh_testroot dh_installdocs -i debian/README dh_installchangelogs -i dh_install -i --fail-missing dh_installman -i dh_link -i dh_compress -i dh_fixperms -i dh_perl -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i .PHONY: binary binary-arch binary-indep build build-arch build-indep clean configure install debian/README0000644000000000000000000000145111705715431010053 0ustar This package is part of the GRAM5 component of the Globus Toolkit. For more information visit: http://www.globus.org/toolkit/docs/latest-stable/gram5/ Admin Guide: http://www.globus.org/toolkit/docs/latest-stable/gram5/admin/ User's Guide: http://www.globus.org/toolkit/docs/latest-stable/gram5/user/ Developer's Guide: http://www.globus.org/toolkit/docs/latest-stable/gram5/developer/ Release Notes: http://www.globus.org/toolkit/docs/latest-stable/gram5/rn/ Public Interface Guide: http://www.globus.org/toolkit/docs/latest-stable/gram5/pi/ Quality Profile: http://www.globus.org/toolkit/docs/latest-stable/gram5/qp/ Migrating Guide: http://www.globus.org/toolkit/docs/latest-stable/gram5/mig/ Globus debian packaging is supported by the Initiative for Globus in Europe: http://www.ige-project.eu/ debian/copyright0000644000000000000000000000122212240202256011111 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: globus_gram_job_manager_pbs Upstream-Contact: http://www.globus.org/ Source: http://www.globus.org/ftppub/gt5/5.2/5.2.3/packages/src/globus_gram_job_manager_pbs-1.6.tar.gz Files: * Copyright: 1999-2013 University of Chicago License: Apache-2.0 Files: debian/* Copyright: 2008-2013 Mattias Ellert 2010-2013 Initiative for Globus in Europe (IGE), http://www.ige-project.eu/ License: Apache-2.0 License: Apache-2.0 On Debian systems the full text of the Apache license version 2 can be found in /usr/share/common-licenses/Apache-2.0. debian/globus-gram-job-manager-pbs-setup-poll.prerm0000755000000000000000000000025411677561656017550 0ustar #!/bin/bash set -e #DEBHELPER# if [ "$1" != "remove" -a "$1" != "purge" ]; then exit 0 fi globus-gatekeeper-admin -d jobmanager-pbs-poll > /dev/null 2>&1 || : exit 0 debian/globus-gram-job-manager-pbs-setup-seg.shlibs0000644000000000000000000000010111677561656017503 0ustar libglobus_seg_pbs 1 globus-gram-job-manager-pbs-setup-seg (>= 1) debian/compat0000644000000000000000000000000211677561656010410 0ustar 5 debian/globus-gram-job-manager-pbs-setup-seg.postinst0000755000000000000000000000043311677561656020115 0ustar #!/bin/sh set -e if [ -x "/etc/init.d/globus-scheduler-event-generator" ]; then if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d globus-scheduler-event-generator start pbs || : else /etc/init.d/globus-scheduler-event-generator start pbs || : fi fi #DEBHELPER# debian/patches/0000755000000000000000000000000012263735507010627 5ustar debian/patches/series0000644000000000000000000000020112263735177012040 0ustar # The errno ENOSR is not defined on all platforms # http://jira.globus.org/browse/GT-345 globus-gram-job-manager-pbs-enosr.patch debian/patches/globus-gram-job-manager-pbs-enosr.patch0000644000000000000000000000144512065023414020144 0ustar diff -ur globus_gram_job_manager_pbs-1.6.orig/seg/seg_pbs_module.c globus_gram_job_manager_pbs-1.6/seg/seg_pbs_module.c --- globus_gram_job_manager_pbs-1.6.orig/seg/seg_pbs_module.c 2012-09-12 15:43:35.000000000 +0200 +++ globus_gram_job_manager_pbs-1.6/seg/seg_pbs_module.c 2012-12-21 10:07:22.706945169 +0100 @@ -504,7 +504,9 @@ case EIO: /* STREAMS-related */ case EISDIR: /* Can only happen when open for write to a dir */ +#ifdef ENOSR case ENOSR: /* STREAMS-related */ +#endif case ENOSPC: /* Can only happen when creating file */ case ENXIO: /* nonblocking write to a fifo with no reader */ case EROFS: /* write to readonly filesystem */ debian/globus-gram-job-manager-pbs-setup-seg.lintian-overrides0000644000000000000000000000016011677561656021662 0ustar # It doesn't make sense to name the package after a plugin package-name-doesnt-match-sonames libglobus-seg-pbs1 debian/changelog0000644000000000000000000000306512263735250011051 0ustar globus-gram-job-manager-pbs (1.6-5) unstable; urgency=medium * Fix logfile location -- Mattias Ellert Fri, 10 Jan 2014 10:16:59 +0100 globus-gram-job-manager-pbs (1.6-4) unstable; urgency=low * Implement Multi-Arch support -- Mattias Ellert Mon, 11 Nov 2013 17:24:48 +0100 globus-gram-job-manager-pbs (1.6-3) unstable; urgency=low * Add arm64 to the list of 64 bit architectures -- Mattias Ellert Mon, 27 May 2013 06:17:30 +0200 globus-gram-job-manager-pbs (1.6-2) unstable; urgency=low * Fix kfreebsd compatibility (ENOSR not defined) -- Mattias Ellert Fri, 21 Dec 2012 10:17:40 +0100 globus-gram-job-manager-pbs (1.6-1) unstable; urgency=low * Update to Globus Toolkit 5.2.3 -- Mattias Ellert Sun, 16 Dec 2012 19:56:33 +0100 globus-gram-job-manager-pbs (1.5-1) unstable; urgency=low * Update to Globus Toolkit 5.2.1 * Drop patch globus-gram-job-manager-pbs-desc.patch (fixed upstream) -- Mattias Ellert Mon, 30 Apr 2012 06:32:55 +0200 globus-gram-job-manager-pbs (1.1-2) unstable; urgency=low * Fix broken links in README file * Use Recommends instead of Depends to avoid circular dependencies -- Mattias Ellert Wed, 25 Jan 2012 00:30:14 +0100 globus-gram-job-manager-pbs (1.1-1) unstable; urgency=low * Initial release (Closes: #654378) -- Mattias Ellert Sat, 31 Dec 2011 07:13:52 +0100 debian/source/0000755000000000000000000000000011677524040010474 5ustar debian/source/format0000644000000000000000000000001411677524040011702 0ustar 3.0 (quilt) debian/globus-gram-job-manager-pbs-setup-seg.prerm0000755000000000000000000000074711677561656017367 0ustar #!/bin/sh set -e if [ -x "/etc/init.d/globus-scheduler-event-generator" ]; then if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d globus-scheduler-event-generator stop pbs || : else /etc/init.d/globus-scheduler-event-generator stop pbs || : fi fi #DEBHELPER# if [ "$1" != "remove" -a "$1" != "purge" ]; then exit 0 fi globus-gatekeeper-admin -d jobmanager-pbs-seg > /dev/null 2>&1 || : globus-scheduler-event-generator-admin -d pbs > /dev/null 2>&1 || : exit 0