Commit e613d75d authored by Mattias Ellert's avatar Mattias Ellert

Globus Toolkit 6.0

parent ebac5faf
globus-gram-job-manager (14.20-1) unstable; urgency=medium
* Update to Globus Toolkit 6.0
* Drop GPT build system and GPT packaging metadata
* Enable checks
* Remove documentation package (Closes: #630034)
-- Mattias Ellert <mattias.ellert@fysast.uu.se> Thu, 25 Sep 2014 10:34:36 +0200
globus-gram-job-manager (13.53-1) unstable; urgency=low
* Update to Globus Toolkit 5.2.5
......
Source: globus-gram-job-manager
Priority: optional
Maintainer: Mattias Ellert <mattias.ellert@fysast.uu.se>
Build-Depends: debhelper (>= 5), autotools-dev, grid-packaging-tools (>= 3.4), globus-core (>= 8.16), libglobus-callout-dev (>= 2.4), libglobus-gram-protocol-dev (>= 11.3-4~), libglobus-gssapi-gsi-dev (>= 10.10), libglobus-rsl-dev (>= 9.1-4~), libglobus-gsi-sysconfig-dev (>= 5.3-3~), libglobus-gram-job-manager-callout-error-dev (>= 2.1-4~), libglobus-usage-dev (>= 3.1-4~), libglobus-xio-dev (>= 3.6), libglobus-xio-popen-driver-dev (>= 2.3-3~), libglobus-scheduler-event-generator-dev (>= 4.7-3~), libglobus-gss-assist-dev (>= 9), libglobus-gsi-credential-dev (>= 6), libglobus-gass-transfer-dev (>= 7.2-3~), libglobus-common-dev (>= 14.10), libglobus-gass-cache-dev (>= 8.1-4~), libglobus-gram-protocol-doc (>= 11), libglobus-common-doc (>= 14), libssl-dev, libxml2-dev, doxygen-latex, texlive-fonts-recommended, graphviz, ghostscript
Standards-Version: 3.9.4
Build-Depends: debhelper (>= 5), dh-autoreconf, pkg-config, libglobus-common-dev (>= 15), libglobus-gsi-credential-dev (>= 5), libglobus-gass-cache-dev (>= 8), libglobus-gass-transfer-dev (>= 7), libglobus-gram-protocol-dev (>= 11), libglobus-gssapi-gsi-dev (>= 10), libglobus-gss-assist-dev (>= 8), libglobus-gsi-sysconfig-dev (>= 5), libglobus-callout-dev (>= 3), libglobus-xio-dev (>= 3), libglobus-xio-popen-driver-dev (>= 2), libglobus-rsl-dev (>= 9), libglobus-gram-job-manager-callout-error-dev (>= 2), libglobus-scheduler-event-generator-dev (>= 4), libglobus-usage-dev (>= 3), libssl-dev, libxml2-dev, libglobus-io-dev (>= 9), libglobus-gram-client-dev (>= 3), libglobus-gass-server-ez-dev (>= 2), globus-common-progs (>= 15), globus-gatekeeper (>= 9), globus-gram-client-tools (>= 10), globus-gass-copy-progs (>= 8), globus-gass-cache-program (>= 5), globus-gram-job-manager-scripts (>= 6), globus-proxy-utils (>= 5), globus-gsi-cert-utils-progs, globus-gram-job-manager-fork, openssl
Standards-Version: 3.9.6
Section: net
Vcs-Browser: http://svn.nordugrid.org/trac/packaging/browser/debian/globus-gram-job-manager
Vcs-Svn: http://svn.nordugrid.org/repos/packaging/debian/globus-gram-job-manager
......@@ -12,9 +12,9 @@ Package: globus-gram-job-manager
Section: net
Architecture: any
Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends}, libglobus-xio-popen-driver0 (>= 2), globus-gatekeeper (>= 9), globus-proxy-utils (>= 5), globus-gram-job-manager-scripts (>= 4), globus-gass-copy-progs (>= 8), libglobus-gram-protocol3 (>= 11), globus-gass-cache-program (>= 5), globus-seg-job-manager (= ${binary:Version})
Recommends: globus-gram-job-manager-doc (= ${source:Version})
Breaks: globus-gram-job-manager-doc (<< 10.59)
Replaces: globus-gram-job-manager-doc (<< 14)
Conflicts: globus-gram-job-manager-doc (<< 14)
Depends: ${shlibs:Depends}, ${misc:Depends}, libglobus-xio-popen-driver (>= 2) | libglobus-xio-popen-driver0 (>= 2), globus-common-progs (>= 15), globus-gatekeeper (>= 9), globus-gram-client-tools (>= 10), globus-gass-copy-progs (>= 8), globus-gass-cache-program (>= 5), globus-gram-job-manager-scripts (>= 6), globus-proxy-utils (>= 5), globus-gsi-cert-utils-progs, globus-seg-job-manager (= ${binary:Version})
Description: Globus Toolkit - GRAM Jobmanager
The Globus Toolkit is an open source software toolkit used for
building Grid systems and applications. It is being developed by the
......@@ -43,21 +43,6 @@ Description: Globus Toolkit - Scheduler Event Generator Job Manager
The globus-seg-job-manager package contains:
Scheduler Event Generator Job Manager
Package: globus-gram-job-manager-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Depends: globus-gram-job-manager (>= ${source:Version}), ${misc:Depends}, ${js:Depends}
Description: Globus Toolkit - GRAM Jobmanager Documentation Files
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-doc package contains:
GRAM Jobmanager Documentation Files
Package: globus-gram-job-manager-dbg
Section: debug
Priority: extra
......@@ -81,6 +66,7 @@ Architecture: any
Multi-Arch: same
Replaces: globus-gram-job-manager-dbg (<< 13.53)
Breaks: globus-gram-job-manager-dbg (<< 13.53)
Pre-Depends: ${misc:Pre-Depends}
Depends: globus-seg-job-manager (= ${binary:Version}), ${misc:Depends}
Description: Globus Toolkit - Scheduler Event Generator Job Manager Debug Symbols
The Globus Toolkit is an open source software toolkit used for
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: globus_gram_job_manager
Upstream-Contact: http://www.globus.org/
Source: http://www.globus.org/ftppub/gt5/5.2/5.2.5/packages/src/globus_gram_job_manager-13.53.tar.gz
Source: http://www.globus.org/ftppub/gt6/packages/globus_gram_job_manager-14.20.tar.gz
Files: *
Copyright:
1999-2013 University of Chicago
1999-2014 University of Chicago
License: Apache-2.0
Files: debian/*
Copyright:
2008-2013 Mattias Ellert <mattias.ellert@fysast.uu.se>
2008-2014 Mattias Ellert <mattias.ellert@fysast.uu.se>
2010-2013 Initiative for Globus in Europe (IGE), http://www.ige-project.eu/
License: Apache-2.0
......
Document: globus-gram-job-manager
Title: Debian globus-gram-job-manager Manual
Author: Globus Alliance
Abstract: The Globus toolkit, GRAM Jobmanager
Section: Programming
Format: HTML
Index: /usr/share/doc/globus-gram-job-manager/html/index.html
Files: /usr/share/doc/globus-gram-job-manager/html/*.html
debian/tmp/usr/bin/globus-personal-gatekeeper
debian/tmp/usr/sbin/globus-gram-streamer
debian/tmp/usr/sbin/globus-job-manager
debian/tmp/usr/sbin/globus-job-manager-lock-test
debian/tmp/usr/sbin/globus-rvf-check
debian/tmp/usr/sbin/globus-rvf-edit
debian/tmp/usr/share/man/man1/globus-personal-gatekeeper.1
debian/tmp/usr/share/man/man5/rsl.5
debian/tmp/usr/share/man/man8/globus-job-manager.8
debian/tmp/usr/share/man/man8/globus-rvf-check.8
debian/tmp/usr/share/man/man8/globus-rvf-edit.8
debian/tmp/usr/share/globus/globus_gram_job_manager/globus-gram-job-manager.rvf
debian/tmp/etc/logrotate.d/globus-job-manager
debian/tmp/etc/globus/globus-gram-job-manager.conf
debian/tmp/var/lib/globus/gram_job_state/
debian/tmp/var/log/globus/
debian/tmp/usr/lib/*/libglobus_seg_job_manager.so
# It doesn't make sense to name the package after a plugin
package-name-doesnt-match-sonames libglobus-seg-job-manager13
package-name-doesnt-match-sonames libglobus-seg-job-manager
# This is a loadable plugin - unversioned soname expected
shlib-without-versioned-soname */libglobus_seg_job_manager.so *
#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = "configure" ]; then
ldconfig
fi
#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = "remove" ]; then
ldconfig
fi
libglobus_seg_job_manager 13 globus-seg-job-manager (>= 13)
#!/usr/bin/make -f
# -*- makefile -*-
-include /usr/share/dpkg/buildflags.mk
name = globus-gram-job-manager
_name = globus_gram_job_manager
soname = 13
INSTALLDIR = $(CURDIR)/debian/tmp
GLOBUSPACKAGEDIR = $(INSTALLDIR)$(_datadir)/globus/packages
_prefix = /usr
_bindir = $(_prefix)/bin
......@@ -16,29 +16,32 @@ _datadir = $(_prefix)/share
_mandir = $(_datadir)/man
_docdir = $(_datadir)/doc/$(name)
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
# Avoid triggering regeneration
touch -r rvf/globus_i_rvf_scanner.h rvf/globus_i_rvf_scanner.c
aclocal_includes="-I ." /usr/share/globus/globus-bootstrap.sh
dh_autoreconf
CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
FFLAGS="$(FFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
LDFLAGS="$(LDFLAGS) -Wl,--as-needed -Wl,-z,defs" \
./configure \
--disable-static \
--with-flavor=$(flavor) \
--enable-doxygen \
--with-docdir=$(_docdir)
--prefix=$(_prefix) \
--libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)' \
--sysconfdir=/etc \
--localstatedir=/var \
--sharedstatedir=/var/lib \
--mandir='$${datadir}/man' \
--includedir='$${prefix}/include/globus' \
--libexecdir='$${datadir}/globus' \
--docdir=$(_docdir)
# Reduce overlinking
sed 's!CC -shared !CC \\$${wl}--as-needed -shared !g' -i libtool
......@@ -49,13 +52,11 @@ build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-indep:
build-stamp: configure-stamp
dh_testdir
$(MAKE) globus_gram_job_manager_rsl.dox
$(MAKE)
touch $@
......@@ -66,38 +67,11 @@ clean:
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
rm -rf doxygen/doc
find . -name Makefile.in -exec rm {} ';'
rm -f depcomp
dh_autoreconf_clean
rm -f build-stamp configure-stamp
dh_clean debian/*.install
dh_clean
install: build-stamp
dh_testdir
......@@ -106,107 +80,40 @@ install: build-stamp
$(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
# Move client and server man pages to main package
grep '.[18]$$' $(GLOBUSPACKAGEDIR)/$(_name)/noflavor_doc.filelist \
>> $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_pgm.filelist
sed '/.[18]$$/d' -i $(GLOBUSPACKAGEDIR)/$(_name)/noflavor_doc.filelist
# Remove libtool archives (.la files)
rm $(INSTALLDIR)$(_libdir)/*.la
# Remove installed license file
rm -f $(INSTALLDIR)$(_docdir)/GLOBUS_LICENSE
sed /GLOBUS_LICENSE/d \
-i $(GLOBUSPACKAGEDIR)/$(_name)/noflavor_doc.filelist
# Fix doxygen glitches
for f in globus_gram_job_manager_configuration.3 \
globus_gram_job_manager_job_execution_environment.3 \
globus_gram_job_manager_rsl_validation_file.3 \
globus_gram_job_manager_rsl.3 ; do \
sed 's/P\.RS/P\n.RS/' -i $(INSTALLDIR)$(_mandir)/man3/$$f ; \
done
# Use system jquery script
if [ -r $(INSTALLDIR)$(_docdir)/html/jquery.js ] ; then \
rm $(INSTALLDIR)$(_docdir)/html/jquery.js ; \
ln -s /usr/share/javascript/jquery/jquery.js \
$(INSTALLDIR)$(_docdir)/html/jquery.js ; \
echo js:Depends=libjs-jquery >> debian/$(name)-doc.substvars ; \
else \
echo js:Depends= >> debian/$(name)-doc.substvars ; \
fi
# Devel package is redundant
rm $(INSTALLDIR)$(_libdir)/libglobus_seg_job_manager.so
rm $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_dev.filelist
rm $(GLOBUSPACKAGEDIR)/$(_name)/pkg_data_$(flavor)_dev.gpt
# Generate package filelists
cat $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_rtl.filelist \
| sed s!^!debian/tmp$(_prefix)! \
> debian/globus-seg-job-manager.install
cat $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_pgm.filelist \
$(GLOBUSPACKAGEDIR)/$(_name)/noflavor_data.filelist \
| sed -e s!^!debian/tmp$(_prefix)! -e s!$(_prefix)/etc!/etc! \
> debian/$(name).install
cat $(GLOBUSPACKAGEDIR)/$(_name)/noflavor_doc.filelist \
| sed s!^!debian/tmp$(_prefix)! > debian/$(name)-doc.install
echo debian/tmp/etc/logrotate.d/globus-job-manager \
>> debian/$(name).install
echo debian/tmp/var/lib/globus \
>> debian/$(name).install
echo debian/tmp/var/log/globus \
>> debian/$(name).install
rm $(INSTALLDIR)$(_docdir)/GLOBUS_LICENSE
# Check
# The jobmanager user test fails when run in fakeroot
sed 's/^TESTS = .*/TESTS =/' -i test/jobmanager/user_test/Makefile
make check
binary: binary-arch binary-indep
binary-arch: install
dh_testdir
dh_testroot
dh_installdocs -a debian/README
dh_installchangelogs -a
dh_install -a --fail-missing
dh_installman -a
dh_lintian -a
dh_link -a
dh_strip -a -X/bin/ -X/sbin/ --dbg-package=globus-seg-job-manager-dbg
dh_strip -a -X/lib/ --dbg-package=$(name)-dbg
dh_compress -a
dh_fixperms -a -X /var/log/globus -X /var/lib/globus/gram_job_state
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 -p $(name)-doc --link-doc=$(name)
dh_installdocs -i
dh_installchangelogs -i
dh_install -i --fail-missing
dh_installman -i
dh_link -i
dh_compress -i -X .tag
dh_fixperms -i
dh_perl -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
dh_installdocs debian/README
dh_installchangelogs
dh_install --fail-missing
dh_installman
dh_lintian
dh_link
dh_strip -X/bin/ -X/sbin/ --dbg-package=globus-seg-job-manager-dbg
dh_strip -X/lib/ --dbg-package=$(name)-dbg
dh_compress
dh_fixperms -X /var/log/globus -X /var/lib/globus/gram_job_state
dh_perl
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary-indep:
.PHONY: binary binary-arch binary-indep build build-arch build-indep clean configure install
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment