debian/0000755000000000000000000000000012263763254007200 5ustar debian/globus-gram-job-manager-lsf-setup-seg.shlibs0000644000000000000000000000010112063417447017467 0ustar libglobus_seg_lsf 1 globus-gram-job-manager-lsf-setup-seg (>= 1) debian/control0000644000000000000000000000745612263733423010612 0ustar Source: globus-gram-job-manager-lsf Priority: optional Maintainer: Mattias Ellert Build-Depends: debhelper (>= 5), autotools-dev, grid-packaging-tools (>= 3.4), globus-core (>= 8.16), libglobus-common-dev (>= 14.10), libglobus-scheduler-event-generator-dev (>= 4.7-3~), libglobus-gram-protocol-dev (>= 11.3-4~), libglobus-xio-dev (>= 3.6) Standards-Version: 3.9.5 Section: net Vcs-Browser: http://svn.nordugrid.org/trac/packaging/browser/debian/globus-gram-job-manager-lsf Vcs-Svn: http://svn.nordugrid.org/repos/packaging/debian/globus-gram-job-manager-lsf Homepage: http://www.globus.org/ Package: globus-gram-job-manager-lsf Provides: globus-gram-job-manager-setup-lsf Replaces: globus-gram-job-manager-setup-lsf (<< 2.6), globus-gram-job-manager-setup-lsf-doc (<< 2.6) Conflicts: globus-gram-job-manager-setup-lsf (<< 2.6), globus-gram-job-manager-setup-lsf-doc (<< 2.6) 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-lsf-setup-poll | globus-gram-job-manager-lsf-setup-seg Description: Globus Toolkit - LSF 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-lsf package contains: LSF Job Manager Support Package: globus-gram-job-manager-lsf-setup-poll Section: net Architecture: all Multi-Arch: foreign Depends: globus-gram-job-manager-lsf (= ${source:Version}), globus-gram-job-manager-scripts (>= 4), ${misc:Depends} Description: Globus Toolkit - LSF 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-lsf-setup-poll package contains: LSF Job Manager Support using polling to monitor job state Package: globus-gram-job-manager-lsf-setup-seg Section: net Architecture: any Multi-Arch: same Depends: globus-gram-job-manager-lsf (= ${source:Version}), globus-gram-job-manager-scripts (>= 4), globus-scheduler-event-generator-progs (>= 4), ${misc:Depends}, ${shlibs:Depends} Description: Globus Toolkit - LSF 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-lsf-setup-seg package contains: LSF Job Manager Support using the scheduler event generator to monitor job state Package: globus-gram-job-manager-lsf-dbg Section: debug Priority: extra Architecture: any Multi-Arch: same Depends: globus-gram-job-manager-lsf-setup-seg (= ${binary:Version}), ${misc:Depends} Description: Globus Toolkit - LSF 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-lsf-dbg package contains: LSF Job Manager Support Debug Symbols debian/rules0000755000000000000000000001203712263734051010254 0ustar #!/usr/bin/make -f # -*- makefile -*- name = globus-gram-job-manager-lsf _name = globus_gram_job_manager_lsf 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 BSUB=/usr/bin/bsub \ BQUEUES=/usr/bin/bqueues \ BJOBS=/usr/bin/bjobs \ BKILL=/usr/bin/bkill \ BHIST=/usr/bin/bhist \ BACCT=/usr/bin/bacct \ MPIEXEC=no \ MPIRUN=no \ ./configure \ --disable-static \ --with-flavor=$(flavor) \ --with-docdir=$(_docdir) \ --with-globus-state-dir=/var/log/globus # 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-lsf from install dir - leave it for admin config rm $(INSTALLDIR)/etc/grid-services/jobmanager-lsf # 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_lsf.so rm $(INSTALLDIR)$(_libdir)/pkgconfig/globus-gram-job-manager-lsf.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 /lsf.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/lsf.rvf \ >> debian/$(name).install echo debian/tmp$(perl_vendorlib)/Globus >> debian/$(name).install echo debian/tmp/etc/globus/globus-lsf.conf >> debian/$(name).install echo debian/tmp/etc/grid-services/available/jobmanager-lsf-poll \ > debian/$(name)-setup-poll.install echo debian/tmp/etc/grid-services/available/jobmanager-lsf-seg \ >> debian/$(name)-setup-seg.install echo debian/tmp/etc/globus/scheduler-event-generator/available/lsf \ >> 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/copyright0000644000000000000000000000122212240230176011113 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: globus_gram_job_manager_lsf Upstream-Contact: http://www.globus.org/ Source: http://www.globus.org/ftppub/gt5/5.2/5.2.5/packages/src/globus_gram_job_manager_lsf-1.2.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/compat0000644000000000000000000000000211677561656010410 0ustar 5 debian/globus-gram-job-manager-lsf-setup-seg.lintian-overrides0000644000000000000000000000016012063417447021646 0ustar # It doesn't make sense to name the package after a plugin package-name-doesnt-match-sonames libglobus-seg-lsf1 debian/patches/0000755000000000000000000000000012263734442010624 5ustar debian/patches/series0000644000000000000000000000015512263733675012051 0ustar # Missing configure option # http://jira.globus.org/browse/GT-493 globus-gram-job-manager-lsf-statedir.patch debian/patches/globus-gram-job-manager-lsf-statedir.patch0000644000000000000000000000127412263540542020643 0ustar diff -ur globus_gram_job_manager_lsf-1.2.orig/configure.in globus_gram_job_manager_lsf-1.2/configure.in --- globus_gram_job_manager_lsf-1.2.orig/configure.in 2012-08-20 22:05:57.000000000 +0200 +++ globus_gram_job_manager_lsf-1.2/configure.in 2014-01-09 07:35:57.188899280 +0100 @@ -84,6 +84,15 @@ [LSF_LOG_PATH=${log_guess}]) AC_SUBST(LSF_LOG_PATH) +AC_ARG_WITH(globus-state-dir, + AC_HELP_STRING( + [--with-globus-state-dir=PATH], + [Path to Globus state files]), + globusstatedir="$withval", + globusstatedir=$localstatedir) + +# GRAM-333: SEG config in installer has variables that aren't resolved at +# runtime globusstatedir="`eval echo $globusstatedir`" AC_SUBST(globusstatedir) debian/globus-gram-job-manager-lsf-setup-poll.prerm0000755000000000000000000000025412063417447017534 0ustar #!/bin/bash set -e #DEBHELPER# if [ "$1" != "remove" -a "$1" != "purge" ]; then exit 0 fi globus-gatekeeper-admin -d jobmanager-lsf-poll > /dev/null 2>&1 || : exit 0 debian/changelog0000644000000000000000000000146612263733405011054 0ustar globus-gram-job-manager-lsf (1.2-2) unstable; urgency=medium * Fix logfile location -- Mattias Ellert Fri, 10 Jan 2014 10:01:23 +0100 globus-gram-job-manager-lsf (1.2-1) unstable; urgency=low * Update to Globus Toolkit 5.2.5 * Drop patch globus-gram-job-manager-desc.patch (fixed upstream) * Implement Multi-Arch support -- Mattias Ellert Mon, 11 Nov 2013 20:29:15 +0100 globus-gram-job-manager-lsf (1.1-2) unstable; urgency=low * Add arm64 to the list of 64 bit architectures -- Mattias Ellert Mon, 27 May 2013 06:27:09 +0200 globus-gram-job-manager-lsf (1.1-1) unstable; urgency=low * Initial release (Closes: #696104) -- Mattias Ellert Sun, 16 Dec 2012 20:22:57 +0100 debian/source/0000755000000000000000000000000011677524040010474 5ustar debian/source/format0000644000000000000000000000001411677524040011702 0ustar 3.0 (quilt) debian/globus-gram-job-manager-lsf-setup-seg.postinst0000755000000000000000000000043312063417447020101 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 lsf || : else /etc/init.d/globus-scheduler-event-generator start lsf || : fi fi #DEBHELPER# debian/globus-gram-job-manager-lsf-setup-seg.prerm0000755000000000000000000000074712063417447017353 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 lsf || : else /etc/init.d/globus-scheduler-event-generator stop lsf || : fi fi #DEBHELPER# if [ "$1" != "remove" -a "$1" != "purge" ]; then exit 0 fi globus-gatekeeper-admin -d jobmanager-lsf-seg > /dev/null 2>&1 || : globus-scheduler-event-generator-admin -d lsf > /dev/null 2>&1 || : exit 0