--- globus-gsi-proxy-core-3.4.orig/debian/control +++ globus-gsi-proxy-core-3.4/debian/control @@ -0,0 +1,55 @@ +Source: globus-gsi-proxy-core +Priority: optional +Maintainer: Mattias Ellert +Build-Depends: debhelper (>= 5), autotools-dev, grid-packaging-tools, libglobus-gsi-proxy-ssl-dev (>= 1), libglobus-gsi-credential-dev (>= 1), libglobus-openssl-module-dev, libglobus-gsi-openssl-error-dev, libglobus-openssl-dev (>= 1), globus-core (>= 5.15-5), libglobus-gsi-cert-utils-dev (>= 1), libglobus-common-dev (>= 3), libglobus-gsi-sysconfig-dev (>= 1), doxygen, graphviz, texlive-latex-recommended | tetex-bin, texlive-latex-extra | tetex-extra, texlive-extra-utils | tetex-extra, texlive-fonts-recommended | tetex-extra, ghostscript | gs-gpl +Standards-Version: 3.8.1 +Section: net +DM-Upload-Allowed: yes +Vcs-Browser: http://svn.nordugrid.org/trac/workarea/browser/T5.2/debian-distribution/globus-gsi-proxy-core +Vcs-Svn: http://svn.nordugrid.org/repos/workarea/T5.2/debian-distribution/globus-gsi-proxy-core +Homepage: http://www.globus.org/api/c-globus-4.2.1/globus_gsi_proxy_core/html/index.html + +Package: libglobus-gsi-proxy-core0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, libglobus-openssl +Description: Globus Toolkit - Globus GSI Proxy Core Library + 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_gsi_proxy library is motivated by the desire to provide a + abstraction layer for the proxy creation and delegation process. For + background on this process please refer to the proxy certificate + profile draft. + +Package: libglobus-gsi-proxy-core-dev +Section: libdevel +Architecture: any +Depends: libglobus-gsi-proxy-core0 (= ${binary:Version}), libglobus-gsi-proxy-ssl-dev (>= 1), libglobus-gsi-credential-dev (>= 1), libglobus-openssl-module-dev, libglobus-gsi-openssl-error-dev, libglobus-openssl-dev (>= 1), globus-core (>= 4), libglobus-gsi-cert-utils-dev (>= 1), libglobus-common-dev (>= 3), libglobus-gsi-sysconfig-dev (>= 1) +Recommends: libglobus-gsi-proxy-core-doc (= ${binary:Version}) +Description: Globus Toolkit - Globus GSI Proxy Core Library Development 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. + . + This package provides development files for the + Globus GSI Proxy Core library. + +Package: libglobus-gsi-proxy-core-doc +Section: doc +Architecture: any +Depends: libglobus-gsi-proxy-core-dev (= ${binary:Version}) +Description: Globus Toolkit - Globus GSI Proxy Core Library 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. + . + This package provides documentation for the + Globus GSI Proxy Core library. --- globus-gsi-proxy-core-3.4.orig/debian/compat +++ globus-gsi-proxy-core-3.4/debian/compat @@ -0,0 +1 @@ +5 --- globus-gsi-proxy-core-3.4.orig/debian/libglobus-gsi-proxy-core-doc.doc-base +++ globus-gsi-proxy-core-3.4/debian/libglobus-gsi-proxy-core-doc.doc-base @@ -0,0 +1,9 @@ +Document: globus-gsi-proxy-core +Title: Debian globus-gsi-proxy-core Manual +Author: Globus Alliance +Abstract: The Globus toolkit, Globus GSI Proxy Core Library +Section: Programming + +Format: HTML +Index: /usr/share/doc/libglobus-gsi-proxy-core-dev/html/index.html +Files: /usr/share/doc/libglobus-gsi-proxy-core-dev/html/*.html --- globus-gsi-proxy-core-3.4.orig/debian/copyright.long +++ globus-gsi-proxy-core-3.4/debian/copyright.long @@ -0,0 +1,197 @@ +This package was debianized by Mattias Ellert on +Sat, 03 Jan 2009 09:52:11 +0100 + +It was extracted from +http://www-unix.globus.org/ftppub/gt4/4.2.1/installers/src/ +gt4.2.1-all-source-installer.tar.bz2 + +Upstream Authors: + + The Globus Alliance + http://www.globus.org/ + +Copyright: + + Copyright 1999-2008 University of Chicago + +License: + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + +The Debian packaging is © 2008, Mattias Ellert +and is licensed under the same licence. --- globus-gsi-proxy-core-3.4.orig/debian/copyright.short +++ globus-gsi-proxy-core-3.4/debian/copyright.short @@ -0,0 +1,17 @@ +Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=19 +Name: globus-gsi-proxy-core +Maintainer: Mattias Ellert +Source: http://www-unix.globus.org/ftppub/gt4/4.2.1/installers/src/gt4.2.1-all-source-installer.tar.bz2 +X-Upstream-Authors: The Globus Alliance - http://www.globus.org/ + +Files: * +Copyright: Copyright 1999-2008 University of Chicago +License: Apache-2.0 + +Files: debian/* +Copyright: © 2008-2009, Mattias Ellert +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems the full text of the Apache-2.0 license can be found in + the /usr/share/common-licenses/Apache-2.0 file. --- globus-gsi-proxy-core-3.4.orig/debian/changelog +++ globus-gsi-proxy-core-3.4/debian/changelog @@ -0,0 +1,26 @@ +globus-gsi-proxy-core (3.4-4) unstable; urgency=low + + * Fix rule dependencies in the debian/rules file. + + -- Mattias Ellert Wed, 13 May 2009 13:42:09 +0200 + +globus-gsi-proxy-core (3.4-3) unstable; urgency=low + + * Initial release (Closes: #514470). + * Rebuilt to correct libltdl dependency. + * Preparing for other 64bit platforms than amd64. + + -- Mattias Ellert Sat, 18 Apr 2009 20:17:32 +0200 + +globus-gsi-proxy-core (3.4-2) UNRELEASED; urgency=low + + * Only quote the Apache-2.0 license if necessary. + * Updated deprecated Source-Version in debian/control. + + -- Mattias Ellert Thu, 26 Mar 2009 09:21:25 +0100 + +globus-gsi-proxy-core (3.4-1) UNRELEASED; urgency=low + + * First build. + + -- Mattias Ellert Sat, 03 Jan 2009 09:52:11 +0100 --- globus-gsi-proxy-core-3.4.orig/debian/rules +++ globus-gsi-proxy-core-3.4/debian/rules @@ -0,0 +1,239 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +MAKEFLAGS += -j$(NUMJOBS) +endif + +name = globus-gsi-proxy-core +_name = globus_gsi_proxy_core +version = 3.4 +soname = 0 + +INSTALLDIR = $(CURDIR)/debian/tmp +GLOBUSPACKAGEDIR = $(INSTALLDIR)$(_datadir)/globus/packages + +_prefix = /usr +_bindir = $(_prefix)/bin +_sbindir = $(_prefix)/sbin +_libdir = $(_prefix)/lib +_datadir = $(_prefix)/share +_mandir = $(_datadir)/man +_docdir = $(_datadir)/doc + +DEB_BUILD_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU) + +ifneq (,$(filter $(DEB_HOST_ARCH_CPU), amd64 alpha ia64 s390x ppc64 sparc64)) +flavor = gcc64pthr +else +flavor = gcc32pthr +endif + +sed: sed-stamp + : + +sed-stamp: + dh_testdir + + for f in `find . ! -path */.pc/* -name Makefile.am` ; do \ + sed -e 's!^flavorinclude_HEADERS!include_HEADERS!' \ + -e 's!\(lib[a-zA-Z_]*\)_$$(GLOBUS_FLAVOR_NAME)\.la!\1.la!g' \ + -e 's!^\(lib[a-zA-Z_]*\)___GLOBUS_FLAVOR_NAME__la_!\1_la_!' \ + -i $$f ; \ + done + sed -e "s! Makefile.new + mv Makefile.new Makefile + + touch $@ + +build: build-stamp + : + +build-stamp: configure-stamp + dh_testdir + + $(MAKE) + + touch $@ + +clean: unsed + : + +cleanup: + dh_testdir + dh_testroot + + if [ -r Makefile ] ; then $(MAKE) distclean ; fi + + for f in config.sub config.guess ; do \ + if [ -e $$f.dist ] ; then \ + mv -f $$f.dist $$f ; \ + fi ; \ + done + + # Remove autogenerated files + + rm -f aclocal.m4 + rm -f configure + rm -f config.guess + rm -f config.sub + rm -f ltmain.sh + 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 globus_automake* + rm -rf autom4te.cache + + rm -rf doxygen/doc + + find . -name Makefile.in -exec rm {} ';' + + rm -f build-stamp configure-stamp + + dh_clean debian/*.install debian/copyright + +install: build-stamp + dh_testdir + dh_testroot + dh_clean -k + + $(MAKE) install DESTDIR=$(INSTALLDIR) + + # Remove libtool archives (.la files) + find $(INSTALLDIR)$(_libdir) -name 'lib*.la' -exec rm -v '{}' \; + sed '/lib.*\.la$$/d' \ + -i $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_rtl.filelist + + # Generate pkg-config file from GPT metadata + mkdir -p $(INSTALLDIR)$(_libdir)/pkgconfig + /usr/share/globus/globus-gpt2pkg-config \ + pkgdata/pkg_data_$(flavor)_dev.gpt > \ + $(INSTALLDIR)$(_libdir)/pkgconfig/$(name).pc + + # Move documentation to default debian location + mv $(INSTALLDIR)$(_docdir)/$(_name) \ + $(INSTALLDIR)$(_docdir)/lib$(name)-dev + sed s!doc/$(_name)!doc/lib$(name)-dev! \ + -i $(GLOBUSPACKAGEDIR)/$(_name)/noflavor_doc.filelist + + # Generate package filelists + cat $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_rtl.filelist \ + | sed s!^!debian/tmp$(_prefix)! > debian/lib$(name)$(soname).install + cat $(GLOBUSPACKAGEDIR)/$(_name)/$(flavor)_dev.filelist \ + | sed s!^!debian/tmp$(_prefix)! > debian/lib$(name)-dev.install + cat $(GLOBUSPACKAGEDIR)/$(_name)/noflavor_doc.filelist \ + | sed s!^!debian/tmp$(_prefix)! > debian/lib$(name)-doc.install + + echo debian/tmp$(_libdir)/pkgconfig/$(name).pc \ + >> debian/lib$(name)-dev.install + + if [ -r /usr/share/common-licenses/Apache-2.0 ] ; then \ + cp -p debian/copyright.short debian/copyright ; \ + else \ + cp -p debian/copyright.long debian/copyright ; \ + fi + +binary-indep: + : + +binary-arch: install + dh_testdir + dh_testroot + mkdir -p debian/lib$(name)-doc$(_docdir) + ln -s lib$(name)-dev debian/lib$(name)-doc$(_docdir)/lib$(name)-doc + dh_installchangelogs + dh_installdocs + dh_install --fail-missing + dh_installman + dh_link + dh_strip + dh_compress -X .tag + dh_fixperms + dh_perl + dh_makeshlibs + dh_installdeb + dh_shlibdeps -l debian/lib$(name)$(soname)/usr/lib + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + : + +get-orig-source: + if [ -r $(name)_$(version).orig.tar.gz ] ; then \ + echo "$(name)_$(version).orig.tar.gz already exists." ; \ + else \ + if [ ! -r gt4.2.1-all-source-installer.tar.bz2 ] ; then \ + echo "Downloading Globus Toolkit release." ; \ + echo "This should be necessary only once for all globus packages." ; \ + wget -N http://www-unix.globus.org/ftppub/gt4/4.2.1/installers/src/gt4.2.1-all-source-installer.tar.bz2 ; \ + fi ; \ + echo "Extracting relevant parts of the Globus Toolkit release." ; \ + tar -xjf gt4.2.1-all-source-installer.tar.bz2 \ + gt4.2.1-all-source-installer/source-trees/gsi/proxy/proxy_core/source ; \ + mv gt4.2.1-all-source-installer/source-trees/gsi/proxy/proxy_core/source \ + $(name)-$(version) ; \ + echo "Packing it up again." ; \ + GZIP=-9 tar --exclude=CVS -czf $(name)_$(version).orig.tar.gz \ + $(name)-$(version) ; \ + echo "Cleaning up." ; \ + rm -rf gt4.2.1-all-source-installer $(name)-$(version) ; \ + fi + +.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source